commit 79f21a9b50b4d2bd86fe604e3a400aa1d32904ab Author: Emmanuele Bassi Date: Mon Jul 4 18:31:02 2011 +0100 Release Clutter 1.7.4 (snapshot) NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 63 insertions(+), 1 deletions(-) commit 2fc8fa82f07fd6f927c58f02af8f8a5b545b57b8 Author: Emmanuele Bassi Date: Mon Jul 4 22:12:51 2011 +0100 build: Fix up the tarball target used when releasing build/autotools/Makefile.am.release | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c1e113c89a50d7f8e6ff3527ceb86592d4b2f4a2 Author: Emmanuele Bassi Date: Mon Jul 4 17:19:24 2011 +0100 build: Clean up the cally test Makefile.am Use global target variables to avoid copy/pasting the same values in every single binary target. tests/accessibility/Makefile.am | 90 ++++++++++++-------------------------- 1 files changed, 29 insertions(+), 61 deletions(-) commit aa05b66a018b7b7bc9349aed30d24e7cf012b34b Author: Øyvind Kolås Date: Wed Jan 19 11:38:25 2011 +0000 tests: Add performance tracking framework This adds a performance tracking framework that can run a set of tests over specified git revisions. The ruby script for generating the reports comes from similar performance tracking in GEGL. The framework permits evaluating new tests against older version of clutter. The tests themselves go through a few hoops for disabling framerate limiting in both mesa and clutter. When running make check the tests will be run and lines of the form: @ test-state: 40.51 fps will be left in the output, a script can scrape these lines out of a build log on a buildbot to in other ways track performance. Makefile.am | 5 +- configure.ac | 1 + tests/Makefile.am | 4 +- tests/README | 18 ++-- tests/performance/Makefile-retrospect | 66 ++++++++++ tests/performance/Makefile-tests | 15 ++ tests/performance/Makefile.am | 42 ++++++ tests/performance/create-report.rb | 179 +++++++++++++++++++++++++ tests/performance/joblist | 27 ++++ tests/performance/makejobs.rb | 24 ++++ tests/performance/test-common.h | 130 +++++++++++++++++++ tests/performance/test-picking.c | 133 +++++++++++++++++++ tests/performance/test-state-hidden.c | 149 +++++++++++++++++++++ tests/performance/test-state-interactive.c | 194 ++++++++++++++++++++++++++++ tests/performance/test-state-mini.c | 152 ++++++++++++++++++++++ tests/performance/test-state-pick.c | 158 ++++++++++++++++++++++ tests/performance/test-state.c | 157 ++++++++++++++++++++++ tests/performance/test-text-perf.c | 164 +++++++++++++++++++++++ 18 files changed, 1606 insertions(+), 12 deletions(-) commit fa1350b8f36d2c1719c83d03fb282286a6e59e87 Author: Emmanuele Bassi Date: Mon Jul 4 16:18:46 2011 +0100 po: Fix the name of the translatable file I will check before pushing. I will check before pushing. I will check before pushing. I will check before pushing. I will check before pushing. I will check before pushing. I will check before pushing. I will check before pushing. I will check before pushing. I will check before pushing. po/POTFILES.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 29dc9bdb730da681b7186a2ec3a8a90bf35d1e5c Author: Emmanuele Bassi Date: Mon Jul 4 16:16:56 2011 +0100 po: Fix the location of a translatable file There is no glx/, only cogl/. po/POTFILES.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 87f35a3434040f5e80d37218fe86efa547ac4ae5 Author: Emmanuele Bassi Date: Mon Jul 4 16:09:41 2011 +0100 build: Fix the path to the tslib event source clutter/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2544e878697f116b21b5aa88e2b4378dae807897 Author: Samuel Degrande Date: Fri May 20 15:57:51 2011 +0200 clutter-media: mention the asynchronous behavior of set_playing() in the doc. Depending on the ClutterMedia implementation, the set_playing() call can be asynchronous, the playing state's change being not immediate. https://bugzilla.gnome.org/show_bug.cgi?id=650675 clutter/clutter-media.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit 037138d3bf0be118a7e3559fef0a93667e6d1fe4 Author: Jasper St. Pierre Date: Sun Jul 3 16:43:17 2011 -0400 clutter-text: Always update cursor positions when painting The cursor's on-screen rectangle is defined in terms of the text length, the current index, and text_x and text_y, which hold the text offset in overflowing text fields. When deleting large amounts of text, text_x is set to 0. In some edge case branch paths, the cursor rectangle could be calculated after the current index and text length were updated, but before the text_x offset could be. This left a negative x position, which consequently blew up Cogl and the widget. https://bugzilla.gnome.org/show_bug.cgi?id=651079 clutter/clutter-text.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit e9a42f23fe6325a95861d51f2c1152b438ea705e Author: Emmanuele Bassi Date: Sun Jul 3 19:31:15 2011 +0100 Deprecate mallum's add() macros for Group and Stage I think we're way past overdue. clutter/clutter-group.h | 6 +++++- clutter/clutter-stage.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletions(-) commit d65161a7fd38859a0e2db3362f9822b0956c4a62 Author: Robert Bragg Date: Mon Jul 4 15:16:50 2011 +0100 build: fix Makefile.am to build glx tfp code on x11 platforms It was already the intention that the ClutterGLXTexturePixmap API should be built and made available on any X11 based platforms since there was nothing specific about the API and it is useful to have for compatibility. There was a mistake in the Makefile.am though which meant only the header was getting installed but the code wasn't being built. Signed-off-by: Emmanuele Bassi clutter/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5ab10e0f7a44b90f0ef10cae1aa374c0859ebc69 Author: Robert Bragg Date: Mon Jul 4 15:14:52 2011 +0100 glx-tfp: Don't include glx.h Since the implementation of ClutterGLXTexturePixmap has nothing GLX specific about it (it is simply layered on top of ClutterX11TexturePixmap) we don't need to include glx.h. Removing this include also means that the code can be built for compatibility against GLES drivers. Signed-off-by: Emmanuele Bassi clutter/cogl/clutter-glx-texture-pixmap.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 8e3805136ca633a6bebc701a2cf49c8f07e1268a Author: Robert Bragg Date: Mon Jul 4 15:09:42 2011 +0100 build: check COGL_HAS_GLES2 to check for gles2 support We were checking HAVE_COGL_GLES2 but this is not publicly defined by Cogl so since splitting Cogl from Clutter test-cogl-materials.c would not have built against gles2 since it would end up enabling the GL specific code path which would reference an undefined symbol. Signed-off-by: Emmanuele Bassi tests/conform/test-cogl-materials.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit dbf2ccfd59294a0b5a98cbc8f67965809c965df8 Author: Emmanuele Bassi Date: Fri Jul 1 17:26:10 2011 +0100 Bump up the Cogl dependency We need 1.7.2 at least. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c94e8d1292aeaff63051148b805a223723ecbbea Author: Peter Ward Date: Wed Jun 29 13:01:20 2011 +1000 Arrays in parameters were not correctly annotated. https://bugzilla.gnome.org/show_bug.cgi?id=653607 clutter/clutter-stage.c | 2 +- clutter/clutter-texture.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 8bc265d22c5451ba5d523e667a53ff4d671918f1 Author: Robert Bragg Date: Wed Jun 22 19:54:19 2011 +0100 paint-volume: remove more is_axis_aligned assertions This removes the is_axis_aligned assertions for the width/height/depth getters and setters, since for example it is legitimate to query the width, height or depth of a container's child actors which aren't necessarily axis aligned. Signed-off-by: Emmanuele Bassi clutter/clutter-paint-volume.c | 131 ++++++++++++++++++++++++++++++++++----- 1 files changed, 114 insertions(+), 17 deletions(-) commit cc5808387ef9e427b1813c0aa8869946d640d3cd Author: Robert Bragg Date: Tue Jun 28 14:47:35 2011 +0100 backend-cogl: update in line with Cogl API change cogl_renderer_xlib_set_foreign_display was renamed to cogl_xlib_renderer_set_foriegn_display so this is the corresponding change to clutter. Signed-off-by: Emmanuele Bassi clutter/cogl/clutter-backend-cogl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit aacdbb4a5580f2ca77330be4b7c42bf9e48ef81e Author: Robert Bragg Date: Tue Jun 28 14:01:22 2011 +0100 win32: use typesafe cogl_win32_renderer_handle_event The generic cogl_renderer_handle_native_event API was removed from the Cogl public API in favour of typesafe functions, so this updates the win32 backend in line with that change. Signed-off-by: Emmanuele Bassi clutter/win32/clutter-event-win32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 0a83e03afbc97508d135519e6ef60e73f56ba89c Author: Neil Roberts Date: Wed Jun 29 16:16:25 2011 +0100 doc/RELEASING: Fix the check for diffs from origin/master The recommended command to check for differences from master to the remote master was using git log with a range from the local master to the remote master but this wouldn't work if the local master is ahead of the remote master because the range is backwards. This patch changes it to recommend git diff --stat instead because then the command would work even if the two branches have diverged. doc/RELEASING | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2dc8e2f866b3c1c352a00358109ac858a9f40eec Author: Peter Ward Date: Fri Jun 24 14:31:31 2011 +1000 Annotate ClutterTexture::load-finished with the correct type for error. https://bugzilla.gnome.org/show_bug.cgi?id=653307 clutter/clutter-texture.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 478014041b14ecaa4e9f0d4302d26ccc31a66131 Author: Emmanuele Bassi Date: Fri Jun 24 19:22:22 2011 +0100 build: Create and install clutter-glx pkg-config file For backward compatibility. clutter/Makefile.am | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 2528ad8cb8daf56f63f72ff8f413b5b8d3aea094 Author: Peter Ward Date: Tue Jun 21 23:17:51 2011 +1000 Support multiple pointers in ClutterDragAction. https://bugzilla.gnome.org/show_bug.cgi?id=653066 clutter/clutter-drag-action.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 0788c85df1cccb5d3db1ed51ded96a1ce9afac5c Author: Emmanuele Bassi Date: Tue Jun 21 10:52:44 2011 +0100 docs: Remove the in-tree cogl fixxref option Cogl has been moved out of tree. doc/reference/clutter/Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 459e1e7fc9d2a608ee7e404b0f9f98eea648fea4 Author: Emmanuele Bassi Date: Mon Jun 20 19:45:14 2011 +0100 docs: Fix the GLX section The whole thing should just go away. clutter/cogl/clutter-glx-texture-pixmap.c | 4 +++- clutter/cogl/clutter-glx.h | 10 ---------- doc/reference/clutter/clutter-docs.xml.in | 1 - doc/reference/clutter/clutter-sections.txt | 5 ----- 4 files changed, 3 insertions(+), 17 deletions(-) commit f3f1c87d8c3379536967b1273e2a33b146ced455 Author: Emmanuele Bassi Date: Mon Jun 20 19:44:55 2011 +0100 docs: Fix deprecation notice for ClutterBehaviour clutter/clutter-behaviour.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) commit 34cbc0e94cfc385ae780818d8b6239c0ed68e6a5 Author: Emmanuele Bassi Date: Mon Jun 20 19:44:33 2011 +0100 docs: Fix up labels in the constraint example image doc/reference/clutter/constraints-example.png | Bin 5985 -> 6199 bytes 1 files changed, 0 insertions(+), 0 deletions(-) commit f971c2cb11d2f03fd182990c5e71f419448cbf32 Author: Emmanuele Bassi Date: Mon Jun 20 18:46:56 2011 +0100 docs: Add the (now deprecated) GLX texture-pixmap It was missing from the API reference. doc/reference/clutter/clutter-docs.xml.in | 1 + doc/reference/clutter/clutter-sections.txt | 42 ++++++++++++++++------------ 2 files changed, 25 insertions(+), 18 deletions(-) commit 513f218c389ed0b8e47e7cc1442c4f641c685b4b Author: Emmanuele Bassi Date: Mon Jun 20 18:42:08 2011 +0100 docs: Add the Deprecate tag to Behaviours And link the migration guide. clutter/clutter-behaviour-depth.c | 4 ++++ clutter/clutter-behaviour-ellipse.c | 3 +++ clutter/clutter-behaviour-opacity.c | 4 ++++ clutter/clutter-behaviour-path.c | 3 +++ clutter/clutter-behaviour-rotate.c | 4 ++++ clutter/clutter-behaviour-scale.c | 4 ++++ clutter/clutter-behaviour.c | 5 ++++- 7 files changed, 26 insertions(+), 1 deletions(-) commit 948461b8f28b567e98ad9ebca4650b68300393a0 Author: Emmanuele Bassi Date: Mon Jun 20 18:40:31 2011 +0100 docs: Fix duplicate symbol in the sections list doc/reference/clutter/clutter-sections.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7b064a0bda10897a38396aa6d7cb3c19b0179ebd Author: Emmanuele Bassi Date: Mon Jun 20 18:26:34 2011 +0100 build: Build the GLX symbols The change from the GLX backend to the Cogl backend left out the GLX source code from the list of source files to be built. clutter/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 71b655417696f49cd41f33e2388af75b9c156ec2 Author: Emmanuele Bassi Date: Mon Jun 20 18:22:06 2011 +0100 Fix the deprecation guard for ClutterGLXTexturePixmap It's CLUTTER_DISABLE_DEPRECATED. clutter/cogl/clutter-glx-texture-pixmap.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e5641dabf86f765ff5b4e67aa761db52f2a45f16 Author: Emmanuele Bassi Date: Fri Jun 17 17:22:01 2011 +0100 docs: Document ClutterDropAction And add it to the API reference. https://bugzilla.gnome.org/show_bug.cgi?id=652842 clutter/clutter-drop-action.c | 115 +++++++++++++++++++++++++++- clutter/clutter-drop-action.h | 28 +++++++ doc/reference/clutter/clutter-docs.xml.in | 1 + doc/reference/clutter/clutter-sections.txt | 17 ++++ doc/reference/clutter/clutter.types | 1 + 5 files changed, 160 insertions(+), 2 deletions(-) commit 1238e0ddf92c7fc7a3ec49dcbeeb934a696b9800 Author: Emmanuele Bassi Date: Fri Jun 17 16:54:31 2011 +0100 Add ClutterDropAction ClutterDropAction is an Action sub-class that allows writing actors that react to dragged actors being dropped on them. https://bugzilla.gnome.org/show_bug.cgi?id=652842 clutter/Makefile.am | 2 + clutter/clutter-drop-action.c | 358 +++++++++++++++++++++++++++++++++++++++++ clutter/clutter-drop-action.h | 85 ++++++++++ clutter/clutter-marshal.list | 1 + clutter/clutter.h | 1 + tests/interactive/Makefile.am | 3 +- tests/interactive/test-drop.c | 245 ++++++++++++++++++++++++++++ 7 files changed, 694 insertions(+), 1 deletions(-) commit a6a57d79677b8a498622c83c915c981779963460 Author: Emmanuele Bassi Date: Fri Jun 17 16:53:22 2011 +0100 drag-action: Remove the drag handle on destruction When the drag handle actor is destroyed we should unset the field inside the DragAction, to avoid having stale pointers lying around. https://bugzilla.gnome.org/show_bug.cgi?id=652842 clutter/clutter-drag-action.c | 25 ++++++++++++++++++++++--- 1 files changed, 22 insertions(+), 3 deletions(-) commit 0dea846096d9fbf38d83946003a2d6f29542d276 Author: Emmanuele Bassi Date: Fri Jun 17 16:52:25 2011 +0100 drag-action: Use the dragged actor private API Use the newly added private API on ClutterStage to track the currently dragged actor. https://bugzilla.gnome.org/show_bug.cgi?id=652842 clutter/clutter-drag-action.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit 530a13f02f710710607732ed21b1493f04931615 Author: Emmanuele Bassi Date: Fri Jun 17 16:51:05 2011 +0100 stage: Allow tracking dragged actors We should be able to internally attach the actor currently being dragged to the device that is dragging it. https://bugzilla.gnome.org/show_bug.cgi?id=652842 clutter/clutter-stage-private.h | 8 ++++++ clutter/clutter-stage.c | 48 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 0 deletions(-) commit e4756fd7641136009272251457884c4249a37295 Author: Emmanuele Bassi Date: Mon Jun 20 14:26:57 2011 +0100 docs: Fix up the API reference clutter/clutter-effect.h | 3 ++- clutter/clutter-gesture-action.c | 2 +- clutter/clutter-types.h | 4 ++++ doc/reference/clutter/clutter-sections.txt | 6 ++++-- 4 files changed, 11 insertions(+), 4 deletions(-) commit 675da6ed864de53e4035b33a213ab5dc0094a03b Author: Emmanuele Bassi Date: Mon Jun 20 13:59:14 2011 +0100 build: Use tar-ustar and dist-xz to dist tarballs configure.ac | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 3861a1c3bac6080d17d586af6171352bbc18f388 Author: Emmanuele Bassi Date: Mon Jun 20 13:56:46 2011 +0100 build: Update the API reference build Add the Cogl prefix to the fix-cross-references script options, and update the location of the extra headers. configure.ac | 31 ++++++++++++++++--------------- doc/reference/clutter/Makefile.am | 29 +++++++++++++++-------------- 2 files changed, 31 insertions(+), 29 deletions(-) commit d5ea422c8fcf0fb3422f42f79b9d278b14d6dec5 Author: Emmanuele Bassi Date: Mon Jun 20 13:53:09 2011 +0100 stage: Maintain the motion event delivery invariants It is possible, by calling clutter_set_motion_events_enabled() prior to the creation of any stage, to control the per-actor motion event delivery flag on each newly created stage. Since we deprecated the global accessor functions in favour of the per-Stage ones, we need to remove the call to clutter_get_motion_events_enabled() inside the ClutterStage instance initialization, and replace it with an internal function. This code will go away when we can finally break API and remove the deprecated functions. clutter/clutter-main.c | 12 +++++++++--- clutter/clutter-private.h | 21 +++++++++++---------- clutter/clutter-stage.c | 9 ++++++++- 3 files changed, 28 insertions(+), 14 deletions(-) commit b6eb5728e101f5a6c0d76cf03c2dfc4c7fa39ca7 Author: Emmanuele Bassi Date: Mon Jun 20 11:41:28 2011 +0100 stage: Make per-actor motion event delivery accessors public Complete the quest of commit bc548dc86271d38918d310c26c9c59de76218d16 by making the ClutterStage methods for controlling the per-actor motion and crossing event delivery public, and deprecating the global ones. clutter/clutter-device-manager.c | 2 +- clutter/clutter-drag-action.c | 8 ++-- clutter/clutter-main.c | 12 +++++-- clutter/clutter-main.h | 3 +- clutter/clutter-stage-private.h | 4 -- clutter/clutter-stage.c | 60 +++++++++++++++++++++++++++++++++---- clutter/clutter-stage.h | 5 +++ tests/interactive/test-events.c | 11 ++++-- tests/interactive/test-grab.c | 10 +++++- 9 files changed, 88 insertions(+), 27 deletions(-) commit 5002ff7a965f983c3e8391b3f3b97edcee6562a8 Author: Daniel Mustieles Date: Sun Jun 19 12:14:35 2011 +0200 Updated Spanish translation po/es.po | 1103 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 555 insertions(+), 548 deletions(-) commit b66c22ac1c793a06492364399e6a948294a90465 Author: Robert Bragg Date: Fri Jun 17 18:27:45 2011 +0100 actor: documents _get/apply_relative_transform_matrix Although this patch doesn't make them public, it documents the _clutter_actor_get/apply_relative_transform_matrix functions so they could easily be made public if desired. I think these API could be useful to have publicly, and I originally documented them because I thought they would be needed in the MX toolkit. clutter/clutter-actor-private.h | 6 +- clutter/clutter-actor.c | 92 +++++++++++++++++++++++++++++---------- clutter/clutter-paint-volume.c | 8 ++-- clutter/clutter-texture.c | 6 +- 4 files changed, 79 insertions(+), 33 deletions(-) commit 87d55ffcfaf79f16f864564f65b05339750fa6f7 Author: Neil Roberts Date: Fri Jun 17 17:27:09 2011 +0100 actor: Don't use propagated_one_redraw to determine effect dirty state Previously ClutterActor was using priv->propagated_one_redraw to determine whether to pass CLUTTER_EFFECT_PAINT_ACTOR_DIRTY to the paint method of the effect. This isn't a good idea because the propagated_one_redraw flag is cleared whenever clutter_actor_paint is called, even if the actor isn't actually painted because of the zero opacity shortcut. Instead of this, ClutterActor now has a separate flag called is_dirty that gets set whenever queue_redraw_full is called or whenever the queue redraw signal is bubbled up from a child actor. The flag is only cleared in clutter_actor_paint if the effects are actually run. Therefore it will stay set even if the opacity is zero or if the parent actor decides not to paint the child. Previously there were two places set propagated_one_redraw to FALSE - once if the opacity is zero and once just before we emit the paint signal. Now that propagated_one_redraw is only used to determine whether to pass on the queue redraw signal it seems to make sense to just clear it in one place right at the start of clutter_actor_paint. https://bugzilla.gnome.org/show_bug.cgi?id=651784 clutter/clutter-actor.c | 53 ++++++++++++++++++++++++++-------------------- 1 files changed, 30 insertions(+), 23 deletions(-) commit 1720b77d29b474aeff156633138baf7244db1567 Author: Robert Bragg Date: Fri Jun 17 17:44:16 2011 +0100 actor: review use of _apply_modelview_transform_recursive On reviewing the clutter-actor.c code using _apply_modelview_transform_recursive I noticed various comments stating that it will never call the stage's ->apply_transform vfunc to transform into eye coordinates, but actually looking at the implementation that's not true. The comments probably got out of sync with an earlier implementation that had that constraint. This removes the miss-leading comments and also updates various uses of the api where we were manually applying the stage->apply_transform. clutter/clutter-actor.c | 30 +++++------------------------- clutter/clutter-paint-volume.c | 32 ++------------------------------ clutter/clutter-texture.c | 8 -------- 3 files changed, 7 insertions(+), 63 deletions(-) commit ddc9eb5fa5326904852951a3fa00159bed75fde1 Author: Robert Bragg Date: Fri Jun 17 16:23:35 2011 +0100 group: Handle list modification while destroying children This makes the dispose code that destroys children resilient against priv->children being modified during child destruction. clutter/clutter-group.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) commit 1741c805be7f403f2995b3037059879ba29d3d2a Author: Robert Bragg Date: Thu Jun 16 17:50:50 2011 +0100 debug: Use cogl_primitive api for paint-volume visualization Instead of using the cogl_vertex_buffer API this uses the more concise cogl_primitive API instead. The aim is to get rid of the cogl_vertex_buffer API eventually so we should be trying out the replacement API wherever possible. clutter/clutter-actor.c | 17 +++++------------ 1 files changed, 5 insertions(+), 12 deletions(-) commit 7f64772984e07101eb54075eb7c802bf63c5d263 Author: Robert Bragg Date: Thu Jun 16 17:24:26 2011 +0100 debug: disable culling with CLUTTER_PAINT=paint-volumes When using CLUTTER_PAINT=paint-volumes to visualize the paint-volumes of actors we were already disabling clipped-redraws because we are drawing extra geometry that the actors don't know about but we didn't disable culling. This was resulting in actors disappearing while using this debug option. clutter/clutter-main.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit d7bf2143973529626ef8781dfa18c7dec8902031 Author: Robert Bragg Date: Thu Jun 16 17:22:30 2011 +0100 debug: avoid visualization code during picking This makes sure we don't try and draw paint-volumes or culling results during a pick cycle since that results in us reading back invalid ids from the pick-buffer. clutter/clutter-actor.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 1e2e0f21b86857354450beb7da78eb0fbbc95c06 Author: Neil Roberts Date: Mon Jun 6 18:22:20 2011 +0100 clutter-actor: Add a debug flag for disabling offscreen redirect This adds CLUTTER_PAINT=disable-offscreen-redirect to help diagnose problems with the correct opacity changes. This just makes it so that it never installs the flatten effect so it will never automatically redirect an actor offscreen. clutter/clutter-actor.c | 4 ++++ clutter/clutter-debug.h | 3 ++- clutter/clutter-main.c | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) commit 78fbac71f2f10477a302c970edd5b404d16251e7 Author: Emmanuele Bassi Date: Fri Jun 17 12:14:15 2011 +0100 keysyms: Update the key symbols Re-sync with the X.org headers. clutter/clutter-keysyms-compat.h | 106 +++++++++++++++++++++++++++++++++----- clutter/clutter-keysyms.h | 106 +++++++++++++++++++++++++++++++++----- 2 files changed, 186 insertions(+), 26 deletions(-) commit c79f613c2597b4ea8d338a76b20befa5d6e8ce60 Author: Emmanuele Bassi Date: Fri Jun 17 12:03:21 2011 +0100 Remove an unused variable And the compiler warning that comes with it. clutter/cogl/clutter-stage-cogl.c | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) commit daaa4c5b969b43ee66d99c6a0aaa9f2e8256d780 Author: Emmanuele Bassi Date: Thu Jun 16 17:11:39 2011 +0100 tests/cally: Remove last uses of clutter_group_add() tests/accessibility/cally-atkcomponent-example.c | 12 ++++++------ .../accessibility/cally-atkeditabletext-example.c | 18 +++++++++--------- tests/accessibility/cally-atkevents-example.c | 6 +++--- tests/accessibility/cally-atktext-example.c | 10 +++++----- tests/accessibility/cally-clone-example.c | 10 +++++----- 5 files changed, 28 insertions(+), 28 deletions(-) commit cb3999744f3bd879bbf0739489b479e23364d35c Author: Emmanuele Bassi Date: Thu Jun 16 17:07:32 2011 +0100 Remove usage of clutter_group_add() The macro is there for mallum eyes only. tests/conform/test-actor-invariants.c | 8 ++++---- tests/interactive/test-fbo.c | 10 +++++----- tests/interactive/test-scale.c | 6 +++--- tests/interactive/test-unproject.c | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) commit e936b9591a92de4e227057abf9346511e215212e Author: Robert Bragg Date: Thu Jun 16 15:22:03 2011 +0100 paint-volumes: remove is_axis_aligned assert for _union This removes the pv->is_xis_aligned assertion in _clutter_paint_volume_union. We were already considering the case where the second volume may not be axis aligned and aligning it into a temporary variable in that case, but we now also consider that the first pv may also not be aligned. clutter/clutter-paint-volume.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) commit 4dc30c255fa9570853eae8c576c3403e5d3b1a2e Author: Robert Bragg Date: Thu Jun 16 15:18:46 2011 +0100 paint-volumes: avoid is_complete assert in _axis_align The removes the pv->is_complete assertion from _clutter_paint_volume_axis_align() and instead if the volume isn't complete it calls _clutter_paint_volume_complete(). clutter/clutter-paint-volume.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit e6c58b7fb3b12ec4fc5faae621c2bad800bc3f51 Author: Emmanuele Bassi Date: Thu Jun 16 13:35:22 2011 +0100 build: Replace AC_HELP_STRING with AS_HELP_STRING The latter is the new version of the former. configure.ac | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit 923b1657d9e5437de862a397a12495d6f75293f9 Author: Robert Bragg Date: Thu Jun 16 12:33:25 2011 +0100 paint-volumes: fix unioning with empty volumes When calculating the union of a volume with an empty volume we aim to simply take the contents of the non-empty volume, but we were not copying the flags across. We now use _clutter_paint_volume_set_from_volume which copies all the flags except the is_static flag. clutter/clutter-paint-volume.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) commit 394512b274cadec2d7baa78671de41a27ef8bbc3 Author: Robert Bragg Date: Thu Jun 16 12:31:50 2011 +0100 paint-volumes: remove alignment constraint for _set_origin The implementation for clutter_paint_volume_set_origin can cope with volumes that are not axis aligned so this remove the is_axis_aligned assertion. clutter/clutter-paint-volume.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 30eb3be781475699389fba7b690649a85ba1aea4 Author: Robert Bragg Date: Thu Jun 16 12:28:37 2011 +0100 paint-volumes: avoid trashing is_static state In _clutter_paint_volume_set_from_volume we were using memcpy to simply copy everything from one volume to another, but that meant we were trashing the is_static flag which determines if the destination paint-volume was slice allocated or not. clutter/clutter-paint-volume.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit a9789616b9705e7c24b5591a1790dfc2fdda51dc Author: Robert Bragg Date: Thu Jun 16 12:19:49 2011 +0100 paint-volumes: remove alignment constraint for completion This removes the constraint that a paint-volume must be axis aligned before _clutter_paint_volume_complete can be called. NB: A paint volume is represented by one origin vertex and then three axis vertices to define the width, height and depth of the volume. It's straightforward to use the vectors from the origin to the axis vertices to deduce the other 4 vertices so we can remove the is_axis_aligned assertion. clutter/clutter-paint-volume.c | 42 +++++++++++++++++++++++++-------------- 1 files changed, 27 insertions(+), 15 deletions(-) commit 34600949edbb650e810fbb98fe96c7858211b244 Author: Robert Bragg Date: Mon Jun 6 17:40:57 2011 +0100 clutter-stage: Allow a wider range of visible z values Since eef9078f the translation of the camera away from the z=zero plane was hardcoded at 50 which is approximately half way between the default z_near and z_far values. This ended up with quite a small distance in user-space coordinates to the far plane with the default stage size and this was causing test-texture-quality to clip the actor early. This patch makes it try to calculate a reasonable value for the position of the z=0 plane as well as a value for z_far so we maximize the space in between the z=0 plane and the near plane and we have a predictable amount of space behind the stage before hitting the far clipping plane, while considering the trade off of loosing depth precision by pushing the far plane too far back relative to the near plane. With the default fov of 60° it's not possible to use the stage size to define the gap in-front of the stage plane; only ~87% of the stage size is possible as an upper limit. We make 85% of the stage_height available assuming you have a fov of 60°. We consistently provide 10 times the stage height of space behind the stage regardless of the fov. It seems worth noting here that we went around in circles a few times over how to calculate the gaps since there are a number of trade offs to consider and they also affect the complexity of the solution. In the end we went for simplicity but commented the issues well enough hopefully so we can develop a more elaborate solution if we ever have a use-case. http://bugzilla.clutter-project.org/show_bug.cgi?id=2625 clutter/clutter-stage.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 139 insertions(+), 3 deletions(-) commit 2022e4c100d8d8e635ea38d990d6023f7306020f Author: Neil Roberts Date: Mon Apr 4 18:42:52 2011 +0100 clutter-stage: Don't override the user's perspective matrix Since eef9078f ClutterStage updates the aspect ratio of the perspective matrix whenever the size of the stage changes. This meant that if an application tries to set its own perspective matrix then part of it would get overridden. It's not really clear what the use-case of setting the perspective on the stage should be but it seems like the safest bet is to always try to preserve the application's request. The documentation for the function has been tweaked to discourage its use. http://bugzilla.clutter-project.org/show_bug.cgi?id=2625 clutter/clutter-stage.c | 62 ++++++++++++++++++++++++++++++++-------------- 1 files changed, 43 insertions(+), 19 deletions(-) commit d90c849e80b88c3dd00fa03b9b71b940001505b9 Author: Robert Bragg Date: Wed May 11 19:59:52 2011 +0100 make some parts of the stage-window interface optional Some parts of the StageWindow interface aren't meaningful for all window systems. This makes stage_window_set_title/fullscreen/cursor_visible optional instead of requiring those window systems to implement empty stubs. Notably the empty stubs we had in the Cogl backend (previously the EGL backend) used g_warning to report the feature as unsupported and that was causing conformance test failures. clutter/clutter-stage-window.c | 17 ++++++++++++----- clutter/cogl/clutter-stage-cogl.c | 29 ----------------------------- 2 files changed, 12 insertions(+), 34 deletions(-) commit dd6392ba2060e853009627dd7ffbacaa579e040c Author: Emmanuele Bassi Date: Wed Jun 15 13:07:04 2011 +0100 Update the location of the cex100 header in the ignore file .gitignore | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fa8e6d368a27222f959fa08a5680e801e221f680 Author: Emmanuele Bassi Date: Wed Jun 15 13:05:18 2011 +0100 Do not include clutter-egl.h unconditionally clutter/cogl/clutter-backend-cogl.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 6a73cece713b7e35fa2145c28f2cd47d47de1ae7 Author: Robert Bragg Date: Wed Jun 15 12:43:47 2011 +0100 backend-cogl: fix s/egl/cogl/ naming left-over clutter/cogl/clutter-backend-cogl.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b3c93bca20a6c8a7397ad149016331308150ed56 Author: Robert Bragg Date: Wed Jun 15 12:41:08 2011 +0100 build: Adds missing clutter-glx.h clutter/cogl/clutter-glx.h | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) commit dd02c56bdb7a8ff110af5e957899834ce387b65d Author: Robert Bragg Date: Wed Jun 15 12:28:44 2011 +0100 build: Adds missing clutter-egl-headers.h clutter/cogl/clutter-egl-headers.h | 46 ++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) commit 2d8083bab8b9ec0b353d08d66265bd0ae38d6822 Author: Robert Bragg Date: Mon May 9 00:27:10 2011 +0100 unify egl and glx backends as "cogl" backend Since GLX and EGL are abstracted by Cogl the two backends are both implementing everything using the Cogl API and they are almost identical. This updates the egl backend to support everything that the glx backend supports. Now that EGL and GLX are abstracted by Cogl, the plan is that we will squash the clutter-egl/glx backends into one. Since the EGL backend in clutter can conditionally not depend on X11 we will use the EGL backend as the starting point of our common backend. https://bugzilla.gnome.org/show_bug.cgi?id=649826 clutter/Makefile.am | 82 ++-- clutter/cogl/clutter-backend-cogl.c | 533 ++++++++++++++++++++++++ clutter/cogl/clutter-backend-cogl.h | 105 +++++ clutter/cogl/clutter-cex100.h.in | 91 +++++ clutter/cogl/clutter-egl.h | 92 +++++ clutter/cogl/clutter-event-tslib.c | 294 ++++++++++++++ clutter/cogl/clutter-glx-texture-pixmap.c | 158 ++++++++ clutter/cogl/clutter-glx-texture-pixmap.h | 92 +++++ clutter/cogl/clutter-stage-cogl.c | 629 +++++++++++++++++++++++++++++ clutter/cogl/clutter-stage-cogl.h | 78 ++++ clutter/egl/clutter-backend-egl.c | 523 ------------------------ clutter/egl/clutter-backend-egl.h | 105 ----- clutter/egl/clutter-cex100.h.in | 91 ----- clutter/egl/clutter-egl-headers.h | 46 --- clutter/egl/clutter-egl.h | 92 ----- clutter/egl/clutter-event-tslib.c | 294 -------------- clutter/egl/clutter-stage-egl.c | 531 ------------------------ clutter/egl/clutter-stage-egl.h | 75 ---- clutter/glx/clutter-backend-glx.c | 380 ----------------- clutter/glx/clutter-backend-glx.h | 75 ---- clutter/glx/clutter-glx-texture-pixmap.c | 158 -------- clutter/glx/clutter-glx-texture-pixmap.h | 92 ----- clutter/glx/clutter-glx.h | 46 --- clutter/glx/clutter-stage-glx.c | 541 ------------------------- clutter/glx/clutter-stage-glx.h | 77 ---- configure.ac | 12 +- 26 files changed, 2115 insertions(+), 3177 deletions(-) commit 951cb82ec5e76a6e67b0cb7c2050d6ea5703d4ba Author: Robert Bragg Date: Mon May 9 01:09:39 2011 +0100 egl: fix args to cogl_onscreen_x11_set_foreign_window_xid We hadn't updated the egl backend inline with a change to the arguments that cogl_onscreen_x11_set_foreign_window_xid would expect and that was causing a compilation error. clutter/egl/clutter-stage-egl.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 05bcd40729fe807af1dfa1148495e7f072548d77 Author: Emmanuele Bassi Date: Tue Jun 14 16:11:54 2011 +0100 stage: Ignore do_update() on unrealized stages An unrealized stage has no resources set yet, so we might as well skip it during the master clock spin. https://bugzilla.gnome.org/show_bug.cgi?id=652566 clutter/clutter-stage.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 81e9bf6127e96ae20c5add1ee7b6aaf603c72e4e Author: Emmanuele Bassi Date: Tue Jun 14 15:50:42 2011 +0100 backend: Do not call ensure_context() with NULL stage Always call ensure_context() if we have a valid Stage. https://bugzilla.gnome.org/show_bug.cgi?id=652566 clutter/clutter-backend.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit 0b2073923206e3abfe328ed724328fa962c556ee Author: Emmanuele Bassi Date: Tue Jun 14 15:50:21 2011 +0100 glx: Ignore ensuring context on NULL stages https://bugzilla.gnome.org/show_bug.cgi?id=652566 clutter/glx/clutter-backend-glx.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit a7fc76a1c506aca9494c5f1d6bfad970d5a70179 Author: Emmanuele Bassi Date: Tue Jun 14 14:47:14 2011 +0100 build: Disable deprecated symbols during development cycles And add a configure switch to toggle them. clutter/Makefile.am | 5 +---- configure.ac | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) commit 4382e6588c0ebebe46bbc9b077c5fb42593ef5b7 Author: Emmanuele Bassi Date: Tue Jun 14 11:36:01 2011 +0100 glx: Remove unused Atom members from ClutterBackendGLX The atoms were moved to the shared X11 backend structure ages ago. clutter/glx/clutter-backend-glx.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 5ded02cd08fa315e95cd75b5906371893d2ad367 Author: Emmanuele Bassi Date: Tue Jun 14 01:02:09 2011 +0100 docs: Add symbols index for 1.8 doc/reference/clutter/clutter-docs.xml.in | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit b046bc354c64dd2f6271778beec7d2bc70e45d18 Author: Colin Walters Date: Mon May 16 12:41:10 2011 -0400 ClutterModifierType: Port fix from GDK to clutter's GDK copy See https://bugzilla.gnome.org/show_bug.cgi?id=634994 where GDK was modified to include all flag values, which helps bindings. Port this fix to Clutter's copy of GDK. https://bugzilla.gnome.org/show_bug.cgi?id=650329 clutter/clutter-types.h | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) commit 5e1fa714988db6a76adf6d64fb870c76c7883129 Author: Emmanuele Bassi Date: Mon Jun 13 23:46:21 2011 +0100 Post-release version bump to 1.7.3 configure.ac | 2 +- po/clutter-1.0.pot | 1109 ++++++++++++++++++++++++----------------------- po/cs.po | 1091 +++++++++++++++++++++++----------------------- po/de.po | 1146 +++++++++++++++++++++++++------------------------ po/eo.po | 1102 ++++++++++++++++++++++++----------------------- po/es.po | 1112 ++++++++++++++++++++++++----------------------- po/fr.po | 703 ++++++++++++++++--------------- po/gl.po | 1113 ++++++++++++++++++++++++----------------------- po/id.po | 726 ++++++++++++++++--------------- po/it.po | 730 +++++++++++++++++--------------- po/nb.po | 1093 +++++++++++++++++++++++----------------------- po/nl.po | 731 +++++++++++++++++--------------- po/pa.po | 698 +++++++++++++++-------------- po/pl.po | 723 ++++++++++++++++--------------- po/sl.po | 1227 ++++++++++++++++++++++++++-------------------------- po/sv.po | 708 ++++++++++++++++--------------- po/te.po | 703 ++++++++++++++++--------------- po/uk.po | 731 +++++++++++++++++--------------- po/zh_CN.po | 729 +++++++++++++++++--------------- po/zh_TW.po | 731 +++++++++++++++++--------------- 20 files changed, 8730 insertions(+), 8178 deletions(-)