profile/ivi/clutter.git
16 years ago2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 8 Feb 2008 14:34:58 +0000 (14:34 +0000)]
2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-path.c: Add a paragraph describing
the effects of different alpha functions on the path behaviour.

16 years ago2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 8 Feb 2008 13:52:11 +0000 (13:52 +0000)]
2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c: Reference the newly added event-flow.png

* clutter/clutter-alpha.c: Ditto, with alpha-func.png

* clutter/clutter-texture.c: Fix the XML.

16 years ago2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 8 Feb 2008 13:51:24 +0000 (13:51 +0000)]
2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>

* Makefile.am:
* alpha-func.png:
* event-flow.png: More figures. alpha-func.png is a graph
showing the flow of some alpha functions; event-flow.png maps
the path of an event coming from the underlying windowing
system into Clutter and through the entire library.

16 years ago2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 8 Feb 2008 13:40:50 +0000 (13:40 +0000)]
2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-path.c: Reference the newly
added image showing the effects of different alpha functions
on the same path behaviour.

* configure.ac: Find out the prefix of some of the libraries
we depend upon, so that gtk-doc can fix the references for us.

16 years ago2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 8 Feb 2008 13:39:35 +0000 (13:39 +0000)]
2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>

* path-alpha-func.png: Image showing the effects of different
alpha functions on the same path behaviour.

* Makefile.am: Add fixxref options.

16 years agoInitial update for 0.5.6
Emmanuele Bassi [Fri, 8 Feb 2008 12:37:26 +0000 (12:37 +0000)]
Initial update for 0.5.6

16 years ago2008-02-08 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 8 Feb 2008 10:37:38 +0000 (10:37 +0000)]
2008-02-08  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c:
        Tidy up offscreen code, adding into realize/unrealize.
        Add more safety code.
        Improve documentation.

16 years ago2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 8 Feb 2008 10:19:53 +0000 (10:19 +0000)]
2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-script.c:
(resolve_alpha_func): Use a whitelist containing the alpha function
provided by Clutter, as a fallback in case g_module_open() does not
work.

(clutter_script_parse_alpha): Add an explicit warning in case we
cannot find the alpha function used inside a UI definition.

16 years ago2008-02-07 Tomas Frydrych <tf@openedhand.com>
Tomas Frydrych [Thu, 7 Feb 2008 18:37:11 +0000 (18:37 +0000)]
2008-02-07  Tomas Frydrych  <tf@openedhand.com>

        * clutter/clutter-group.c:
(clutter_group_query_coords):
Take into account the anchor point when calculating the box size.

16 years agoupdated changelog
Tomas Frydrych [Thu, 7 Feb 2008 17:09:47 +0000 (17:09 +0000)]
updated changelog

16 years ago2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 7 Feb 2008 17:08:29 +0000 (17:08 +0000)]
2008-02-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c: Add a note on clutter_actor_set_size()
reguarding groups.

* clutter/clutter-group.c: Clarify group sizing.

16 years ago2008-02-07 Tomas Frydrych <tf@openedhand.com>
Tomas Frydrych [Thu, 7 Feb 2008 17:04:43 +0000 (17:04 +0000)]
2008-02-07  Tomas Frydrych  <tf@openedhand.com>

* tests/test-actors.c:
Reverted previous change.

16 years ago* tests/test-shader.c: (button_release_cb): added simplified
Øyvind Kolås [Thu, 7 Feb 2008 16:52:12 +0000 (16:52 +0000)]
* tests/test-shader.c: (button_release_cb): added simplified
implementation of a box-blur shader from Gwenole Beauchesne that
should work on GLSL implementing low-end IGPs not implementing
dynamic branching. The original code used crashed some of these
due to bugs in drivers or similar. Resolves bug #710.

16 years ago2008-02-07 Tomas Frydrych <tf@openedhand.com>
Tomas Frydrych [Thu, 7 Feb 2008 15:06:31 +0000 (15:06 +0000)]
2008-02-07 Tomas Frydrych <tf@openedhand.com>

        * clutter/clutter-actor.c:
(clutter_actor_set_property):
Fixed handling of PROP_ROTATE_CENTER_Y, ROTATE_CENTER_Z

* tests/test-actors.c:
Adjusted to use anchor point for both group and hands.

16 years ago2008-02-07 Neil J. Patel <njp@o-hand.com>
Neil J. Patel [Thu, 7 Feb 2008 15:01:03 +0000 (15:01 +0000)]
2008-02-07  Neil J. Patel  <njp@o-hand.com>

* tests/test-actors.c: (frame_cb), (main):
Changed set_anchor to move_anchor.
Changed clutter_actor_rotate x & y values to 0,0.
Switched on scaling because it seems to work without drifting.

16 years ago2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 7 Feb 2008 14:17:53 +0000 (14:17 +0000)]
2008-02-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-script-parser.c:
(clutter_script_get_type_from_symbol),
(clutter_script_get_type_from_class): Use BIND_LAZY flag
when looking at the symbols, so we don't load them all up.

* clutter/clutter-script.c (resolve_alpha_func): Ditto as above.

16 years ago* clutter/clutter-actor.c:
Øyvind Kolås [Thu, 7 Feb 2008 13:05:18 +0000 (13:05 +0000)]
* clutter/clutter-actor.c:
(_clutter_actor_apply_modelview_transform): perform translation as
well as anchor point adjustment based on self not being stage (and
not by self not being an orphan).

16 years ago2008-02-07 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 7 Feb 2008 12:55:51 +0000 (12:55 +0000)]
2008-02-07  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        * clutter/eglnative/clutter-stage-egl.c:
        * clutter/eglx/clutter-stage-egl.c:
        * clutter/osx/clutter-stage-osx.c:
        * clutter/sdl/clutter-stage-sdl.c:
        * clutter/x11/clutter-stage-x11.c:
        Add at least somne basic offscreen handling into all backends.
        Remove unused clutter_stage_set_offscreen vfunc. (#549)

        * clutter/clutter-texture.c:
        Minor API doc tweak, noting rowstride source in set_area

16 years ago2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 7 Feb 2008 11:53:52 +0000 (11:53 +0000)]
2008-02-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-score.c (traverse_children): Actually implement
clutter_score_list_timelines().

* tests/test-score.c (main): Test clutter_score_list_timelines().

16 years ago2008-02-07 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 7 Feb 2008 10:42:22 +0000 (10:42 +0000)]
2008-02-07  Matthew Allum  <mallum@openedhand.com>

        * clutter/pango/pangoclutter-render.c:
        Warn if requested glyph is too big for underlying texture cache.
        (see #666)

16 years ago2008-02-07 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 7 Feb 2008 10:19:20 +0000 (10:19 +0000)]
2008-02-07  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c: (texture_upload_data):
        Remove random appearing 'priv->filter_quality =1' (#643)

16 years ago2008-02-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 6 Feb 2008 14:50:15 +0000 (14:50 +0000)]
2008-02-06  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c:
        Minor clean up from last commit.

        * tests/test-fbo.c:
        Swall tweak (rotate offscreen, rather than resize

16 years ago2008-02-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 6 Feb 2008 14:39:04 +0000 (14:39 +0000)]
2008-02-06  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c:
        Initial attempt at handling resizing/tranformed source textures.

        * clutter/pango/pangoclutter-render.c: (draw_glyph):
        Guards against freetype returning NULL bitmaps and
        thus causing device by zeros on NVIDIA drivers. (see ml)

16 years ago2008-02-05 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 5 Feb 2008 16:40:46 +0000 (16:40 +0000)]
2008-02-05  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_get_vertices):
        Make sure GL related Matrices are initialised. Fixes #756

        * clutter/clutter-texture.c:
        Fix up code from Norways answer to Jean-Michel Basquiat.
        (warning on tile_get_pixbuf)

16 years ago* clutter/clutter-texture.c: removed spurious left over debug printf.
Øyvind Kolås [Tue, 5 Feb 2008 15:37:52 +0000 (15:37 +0000)]
* clutter/clutter-texture.c: removed spurious left over debug printf.

16 years ago* clutter/clutter-texture.c: applied modified patch from Gwenole
Øyvind Kolås [Tue, 5 Feb 2008 14:49:29 +0000 (14:49 +0000)]
* clutter/clutter-texture.c: applied modified patch from Gwenole
Beuchesne adressing bug #635. Adressing a buffer overflow in
clutter_texture_get_pixbuf() when tiling is forced.

16 years ago2008-02-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 4 Feb 2008 22:38:27 +0000 (22:38 +0000)]
2008-02-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-shader.c (clutter_shader_constructor): Keep the
constructor line under the 80 columns using a variable.

16 years ago2008-02-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 4 Feb 2008 22:35:38 +0000 (22:35 +0000)]
2008-02-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c:
* clutter/clutter-shader.c: Small documentation and style fixes

* tests/test-scale.c: Constify the gravities array.

16 years ago2008-02-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 4 Feb 2008 22:35:10 +0000 (22:35 +0000)]
2008-02-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Add:

  clutter_actor_move_anchor_point
  clutter_actor_move_anchor_point_from_gravity
  clutter_actor_set_shader
  clutter_actor_get_shader
  clutter_actor_move_anchor_pointu
  clutter_texture_new_from_actor
  clutter_entry_set_cursor_position
  clutter_entry_get_cursor_position

Remove:

  clutter_actor_apply_shader
  clutter_behaviour_scale_set_gravity
  clutter_behaviour_scale_get_gravity
  clutter_entry_set_position
  clutter_entry_get_position

16 years ago * clutter/clutter-actor.c: (clutter_actor_transform_stage_point):
Chris Lord [Mon, 4 Feb 2008 15:11:29 +0000 (15:11 +0000)]
    * clutter/clutter-actor.c: (clutter_actor_transform_stage_point):
        Check that x_out and y_out != NULL before setting their contents

16 years ago* clutter/clutter-timeline.c: (clutter_timeline_rewind): updated
Øyvind Kolås [Mon, 4 Feb 2008 14:35:47 +0000 (14:35 +0000)]
* clutter/clutter-timeline.c: (clutter_timeline_rewind): updated
documentation to take direction into account.

16 years ago* tests/test-fbo.c: (make_shader):
Øyvind Kolås [Mon, 4 Feb 2008 13:05:16 +0000 (13:05 +0000)]
* tests/test-fbo.c: (make_shader):
* tests/test-shader.c: (main): multiply the resulting gl_FragColor
with gl_Color before being done to take opacity into account in the
GLSL fragments.

16 years ago* clutter/clutter-actor.[ch]: added clutter_actor_get_shader and
Øyvind Kolås [Mon, 4 Feb 2008 11:45:12 +0000 (11:45 +0000)]
* clutter/clutter-actor.[ch]: added clutter_actor_get_shader and
renamed clutter_actor_apply_shader to be clutter_actor_set_shader.
Reindented/aligned header.
* clutter/clutter-texture.c: (clutter_texture_paint): temporarily
disable the shader on top of the clutter context's shader stack while
rendering into the FBO.
* tests/test-fbo.c: (main): s/apply_shader/set_shader/
* tests/test-shader.c: (button_release_cb), (main):
s/apply_shader/set_shader/

16 years ago2008-02-03 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sun, 3 Feb 2008 23:25:12 +0000 (23:25 +0000)]
2008-02-03  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_set_rotationx):
        Add notify signal for set_rotate

        * clutter/clutter-texture.c:
        Add basic cleanup code for fbo's

        * tests/test-fbo.c: (main):
        Minor notes.

        * clutter/osx/clutter-stage-osx.c: (clutter_stage_osx_realize):
        Turn on vblanking.

16 years ago2008-02-03 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sun, 3 Feb 2008 01:53:10 +0000 (01:53 +0000)]
2008-02-03  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-shader.c:
        Minor formatting cleanups to fit in 80 cols.

        * clutter/clutter-texture.c:
        More safety checks, clean ups in clutter_texture_new_from_actor()

        * clutter/cogl/gl/cogl.c:
        Always clear the FBO initially when rendering

        * tests/test-fbo.c:
        Overhall the test as to be more useful (and show current issues)

16 years ago2008-02-02 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sat, 2 Feb 2008 23:39:53 +0000 (23:39 +0000)]
2008-02-02  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-timeline.c:
        Document frame number limits in new-frame signal.

        * clutter/x11/clutter-event-x11.c:
        Remove uneeded error trap (#751)

16 years ago2008-02-01 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 1 Feb 2008 18:14:54 +0000 (18:14 +0000)]
2008-02-01  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/cogl.c:
        * clutter/cogl/gles/cogl.c:
       Disable the depth test and buffer as has some strange side
       effects, mainly on x/y axis rotation with multiple layers at
       same depth (eg rotating text on a bg has very strange
       effect). Seems no clean 100% effective way to fix without other
       odd issues.. So for now move to application to handle and add
       cogl_enable_depth_test() as for custom actors (i.e groups) to
       enable if need be.

16 years ago2008-02-01 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 1 Feb 2008 16:54:48 +0000 (16:54 +0000)]
2008-02-01  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c: (clutter_texture_new_from_actor):
        Fix typo breaking FBO rendering on anything other than a cloned
        texture.

16 years ago2008-02-01 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 1 Feb 2008 15:29:00 +0000 (15:29 +0000)]
2008-02-01  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-feature.h:
        * clutter/clutter-texture.c:
        * clutter/clutter-texture.h:
        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/cogl.c:
        * clutter/cogl/gles/cogl.c:
        * tests/Makefile.am:
        * tests/test.fbo.c:
        Add initial support for FBO's in Clutter (OpenGL only so far).
        See new clutter_texture_new_from_actor()
        Initial implementation, needs work.

        * clutter/x11/clutter-stage-x11.c:
        (clutter_stage_x11_set_cursor_visible):
        Fall back to again not relying on xfixes to hide cursor. *sigh*

        * clutter/clutter-deprecated.h:
        Add clutter_group_find_child_by_id

16 years ago* clutter/cogl/gles/cogl.c: (cogl_rectangle_internal): increase size
Øyvind Kolås [Fri, 1 Feb 2008 12:07:23 +0000 (12:07 +0000)]
* clutter/cogl/gles/cogl.c: (cogl_rectangle_internal): increase size
of GLfixed[] array to make contents fit.

16 years ago2008-02-01 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 1 Feb 2008 11:53:10 +0000 (11:53 +0000)]
2008-02-01  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.h: Clean up a bit the flag-related macros.

16 years ago2008-02-01 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 1 Feb 2008 11:22:59 +0000 (11:22 +0000)]
2008-02-01  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c:
(clutter_actor_get_property): Use clutter_actor_get_reactive()
instead of the IS_REACTIVE() macro.

(clutter_actor_set_reactive): Emit the notify signal for the
reactive property.

* clutter/clutter-timeline.c:
(timeline_timeout_func),
(clutter_timeline_get_delta): Coding style fixes.

16 years ago2008-01-31 Rob Bradford <rob@openedhand.com>
Robert Bradford [Thu, 31 Jan 2008 23:10:30 +0000 (23:10 +0000)]
2008-01-31  Rob Bradford  <rob@openedhand.com>

* clutter/glx/clutter-stage-glx.c:
* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-backend-glx.h:
Fix formatting.

16 years ago2008-01-31 Emmanuele Bassi <ebassi@sprite>
Emmanuele Bassi [Thu, 31 Jan 2008 21:15:54 +0000 (21:15 +0000)]
2008-01-31  Emmanuele Bassi  <ebassi@sprite>

* clutter/clutter-timeline.c (clutter_timeline_skip): Don't
add the frames outside the direction check. (thanks to benoar
on clutter-list for spotting it)

16 years ago2007-01-31 Tomas Frydrych <tf@openedhand.com>
Tomas Frydrych [Thu, 31 Jan 2008 17:30:46 +0000 (17:30 +0000)]
2007-01-31 Tomas Frydrych <tf@openedhand.com>

        * clutter/clutter-actor.c:
(clutter_actor_transform_vertices):
Call clutter_actor_query_coords() instead of accessing the actor
box, so that actors that calculate their bounding box on the fly
(like ClutterGroup) work.

* (_clutter_actor_apply_modelview_transform_recursive):
Made to work for parentless actors.

16 years ago* tests/test-depth.c: added a box of cloned hands to further expand
Øyvind Kolås [Thu, 31 Jan 2008 16:55:34 +0000 (16:55 +0000)]
* tests/test-depth.c: added a box of cloned hands to further expand
the scope of depth testing scenarios exercised by test-depth.

16 years ago* tests/test-depth.c: (timeline_completed): make use of
Øyvind Kolås [Thu, 31 Jan 2008 14:42:49 +0000 (14:42 +0000)]
* tests/test-depth.c: (timeline_completed): make use of
clutter_timeline_set_direction instead of static state.
(raise_top): made rectangle remain at fixed depth and raise
above each other.
(janus_group): added a rectangle with two faces, one red and
one green, that spins around.

16 years agoUpdate README
Emmanuele Bassi [Thu, 31 Jan 2008 14:40:49 +0000 (14:40 +0000)]
Update README

16 years ago2008-01-31 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 31 Jan 2008 14:24:04 +0000 (14:24 +0000)]
2008-01-31  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-entry.h:
* clutter/clutter-entry.c:
(clutter_entry_set_cursor_position),
(clutter_entry_get_cursor_position): Rename [gs]et_position()
to [gs]set_cursor_position(), and avoid method name collisions
with bindings for high-level languages.

* clutter/clutter-deprecated.h: Add replacement warnings for the
renamed methods.

16 years ago2008-01-31 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 31 Jan 2008 14:21:36 +0000 (14:21 +0000)]
2008-01-31  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c (clutter_actor_init): Explicitly
memset() to 0 the clip container, so if you get the clip without
having set it, you won't get garbage.

2008-01-31  Rob Bradford  <rob@openedhand.com>

16 years ago2008-01-31 Rob Bradford <rob@openedhand.com>
Robert Bradford [Thu, 31 Jan 2008 11:24:11 +0000 (11:24 +0000)]
2008-01-31  Rob Bradford  <rob@openedhand.com>

* clutter/x11/clutter-backend-x11-private.h:
Add missing start to comment

* clutter/x11/clutter-backend-x11.c:
* clutter/x11/clutter-event-x11.c:
* clutter/x11/clutter-stage-x11.c:
* clutter/x11/clutter-x11.h:
Remove tabs.

16 years ago2008-01-30 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 30 Jan 2008 13:10:06 +0000 (13:10 +0000)]
2008-01-30  Emmanuele Bassi  <ebassi@openedhand.com>

* README: Add the osx flavour, and mark it experimental,
along with the sdl backend. EGL-based backends should not be
considered experimental anymore, even though they might require
tweaking.

16 years ago2008-01-30 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 30 Jan 2008 13:05:10 +0000 (13:05 +0000)]
2008-01-30  Emmanuele Bassi  <ebassi@openedhand.com>

* HACKING: Expand the "document API" point, and the release
process.

* README: Update the release notes regarding the scale behaviour,
now that the gravity has been removed.

16 years ago2007-01-30 Tomas Frydrych <tf@openedhand.com>
Tomas Frydrych [Wed, 30 Jan 2008 12:13:26 +0000 (12:13 +0000)]
2007-01-30  Tomas Frydrych  <tf@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
Added new clutter_actor_move_anchor_point_ API.

        * clutter/clutter-behaviour-scale.c:
        * clutter/clutter-behaviour-scale.h:
        * clutter/clutter-effect.c:
        * clutter/clutter-effect.h:
        * tests/test-actors.c:
        * tests/test-effects.c:
        * tests/test-scale.c:
Removed gravity from ClutterBehaviourScale.

16 years ago2008-01-27 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sun, 27 Jan 2008 23:39:23 +0000 (23:39 +0000)]
2008-01-27  Emmanuele Bassi  <ebassi@openedhand.com>

* tests/test-depth.c (main): Use a group instead of pushing
the actors on the stage.

16 years agoBump to 0.5.5
Emmanuele Bassi [Sun, 27 Jan 2008 21:39:07 +0000 (21:39 +0000)]
Bump to 0.5.5

16 years ago2008-01-25 Emmanuele Bassi <ebassi@sprite>
Emmanuele Bassi [Fri, 25 Jan 2008 21:48:20 +0000 (21:48 +0000)]
2008-01-25  Emmanuele Bassi  <ebassi@sprite>

* clutter/clutter-group.c (sort_z_order): Invert condition to
return to the same as in revision 1976.

16 years ago2008-01-25 Emmanuele Bassi <ebassi@sprite>
Emmanuele Bassi [Fri, 25 Jan 2008 21:41:50 +0000 (21:41 +0000)]
2008-01-25  Emmanuele Bassi  <ebassi@sprite>

* clutter/clutter-label.c (clutter_label_query_coords): Check
if the layout logical rectangle size is bigger than the bounding
box; this usually means that the bounding box changed in one
point and the label private allocation needs to be
updated. (#724)

16 years ago2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 25 Jan 2008 19:48:26 +0000 (19:48 +0000)]
2008-01-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/x11/Makefile.am: Add the generated clutter-x11 pkg-config
file to CLEANFILES, to pass distcheck.

* Makefile.am:
* clutter/Makefile.am: Tweak up the Makefiles.

* README:
* NEWS: Release 0.5.4

* configure.ac: Post-release bump to 0.5.5

16 years ago2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 25 Jan 2008 18:06:11 +0000 (18:06 +0000)]
2008-01-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-group.c: Use a shorter Z order sorting function,
avoiding the checks.

16 years ago* clutter/clutter-shader.c: added documentation strings for
Øyvind Kolås [Fri, 25 Jan 2008 17:20:33 +0000 (17:20 +0000)]
* clutter/clutter-shader.c: added documentation strings for
ClutterShader.

16 years ago2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Jan 2008 11:08:39 +0000 (11:08 +0000)]
2008-01-23  Emmanuele Bassi  <ebassi@openedhand.com>

* Makefile.am: Use variables, instead of substitutions.

* clutter/clutter-private.h:
* clutter/clutter-main.h: Make clutter_do_event() public again,
as we need it in clutter-gtk.

* configure.ac:
* clutter/x11/Makefile.am:
* clutter/x11/clutter-x11.pc.in: Add a clutter-x11 pkg-config
file for clutter-gtk, as it depends on the X11 backend API, as
implemented by the GLX and EGLX backends.

* clutter/x11/clutter-event-x11.c (event_translate): Do not
propagate DestroyNotify events if the stage doesn't own the
window.

* tests/test-scale.c (main): Set values different from the default.

16 years agoFix ChangeLog
Emmanuele Bassi [Mon, 21 Jan 2008 22:02:22 +0000 (22:02 +0000)]
Fix ChangeLog

16 years ago2008-01-21 Emmanuele Bassi,,, <ebassi@sprite>
Emmanuele Bassi [Mon, 21 Jan 2008 21:54:37 +0000 (21:54 +0000)]
2008-01-21  Emmanuele Bassi,,,  <ebassi@sprite>

* clutter/clutter-behaviour-scale.c:
(clutter_behaviour_scale_set_property),
(clutter_behaviour_scale_class_init): Fix stupid typo in the
y-scale-end property declaration. (#720)

16 years ago2008-01-21 Emmanuele Bassi,,, <ebassi@sprite>
Emmanuele Bassi [Mon, 21 Jan 2008 16:07:28 +0000 (16:07 +0000)]
2008-01-21  Emmanuele Bassi,,,  <ebassi@sprite>

* clutter/clutter-behaviour-depth.h:
* clutter/clutter-behaviour-depth.c:
(clutter_behaviour_depth_set_bounds),
(clutter_behaviour_depth_get_bounds): Add the depth-start and
depth-end accessors.

* tests/test-depth.c (timeline_completed): Use set_bounds()
instead of g_object_set().

* clutter.symbols: Add clutter_behaviour_depth_set_bounds()
and clutter_behaviour_opacity_get_bounds() to the list of
public symbols.

16 years ago2008-01-21 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 21 Jan 2008 15:06:12 +0000 (15:06 +0000)]
2008-01-21  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-scale.c: Use separate variables for
storing the scale boundaries; apparently, using arrays broke
the python bindings. (#720)

16 years ago2008-01-21 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 21 Jan 2008 11:39:23 +0000 (11:39 +0000)]
2008-01-21  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-group.c:
        Make sure unrealizing a group also unrealizes children.

        * clutter/glx/clutter-stage-glx.c:
        Chain up to group unrealize to make sure textures get unrealized
        when changing context (see #718)

        * clutter/clutter-texture.c:
        Formatting cleanups

16 years ago* tests/test-shader.c: fix incompatible types in shader programs
Øyvind Kolås [Mon, 21 Jan 2008 11:27:53 +0000 (11:27 +0000)]
* tests/test-shader.c: fix incompatible types in shader programs
Apparently floats can't be multiplied or divided with ints without
explicit type casts. Use 2.0 or float(var) where appropriate. Patch
from Tommi Komulainen (#715).

16 years ago2008-01-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 19 Jan 2008 10:33:31 +0000 (10:33 +0000)]
2008-01-19  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-main.c (generate_enter_leave_events): Do not
take the explicit reference, and let clutter_event_copy() do it
for us. (#714, Neil Roberts)

16 years ago2008-01-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 19 Jan 2008 10:30:29 +0000 (10:30 +0000)]
2008-01-19  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-event.c (clutter_event_copy): Take an extra
reference on the related actor in ClutterEventCrossing that we
explicitly unref in clutter_event_free(). (#714, Neil Roberts)

16 years ago2008-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 18 Jan 2008 18:11:33 +0000 (18:11 +0000)]
2008-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* tests/test-actors.c (input_cb): Fix the callback signature;
hide the clicked actor only if it's a hand.

16 years ago2008-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 18 Jan 2008 18:08:37 +0000 (18:08 +0000)]
2008-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-main.c (clutter_do_event): Check the
return value of the ::event signal for the CLUTTER_DELETE
event type.

* clutter/clutter-stage.c (clutter_stage_event): Emit the
::event signal when receiving the CLUTTER_DELETE event; this
allows to intercept the user's closing of the stage window.

16 years ago2007-01-18 Tomas Frydrych <tf@openedhand.com>
Tomas Frydrych [Fri, 18 Jan 2008 12:21:40 +0000 (12:21 +0000)]
2007-01-18  Tomas Frydrych  <tf@openedhand.com>

* clutter/clutter-fixed.h:
Added missing proto for clutter_fixed_qdivx().

16 years ago2007-01-18 Tomas Frydrych <tf@openedhand.com>
Tomas Frydrych [Fri, 18 Jan 2008 12:17:41 +0000 (12:17 +0000)]
2007-01-18  Tomas Frydrych  <tf@openedhand.com>

* clutter/clutter-fixed.h:
* clutter/clutter-fixed.c:
Added CLUTTER_QDIV() for 64-bit division (bug 564, patch by
Gwenole Beauchesne).

16 years ago2008-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 18 Jan 2008 11:58:16 +0000 (11:58 +0000)]
2008-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-event.h: Add a gunichar field for the Unicode
representation of the key. (#555)

16 years ago2008-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 18 Jan 2008 11:45:12 +0000 (11:45 +0000)]
2008-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* subclassing-ClutterActor.sgml: Fix up the wording and the
examples a bit; add a paragraph about the ClutterActor::pick()
virtual method.

16 years ago2008-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 18 Jan 2008 11:25:47 +0000 (11:25 +0000)]
2008-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.h:
* clutter/clutter-script.h:
* clutter/clutter-stage.h:
* clutter/clutter-units.h: Documentation fixes and additions.

16 years ago2008-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 18 Jan 2008 11:02:34 +0000 (11:02 +0000)]
2008-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter.symbols: Add ClutterBehaviourOpacity accessors.

* clutter/clutter-behaviour-opacity.h:
* clutter/clutter-behaviour-opacity.c:
(clutter_behaviour_opacity_set_bounds),
(clutter_behaviour_opacity_get_bounds): Add accessors for the
opacity-start and opacity-end properties.

* clutter/clutter-behaviour-scale.h: Fix the argument name to
avoid complaints by gtk-doc.

16 years agoUpdate README
Emmanuele Bassi [Thu, 17 Jan 2008 15:01:04 +0000 (15:01 +0000)]
Update README

16 years ago2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Jan 2008 14:44:43 +0000 (14:44 +0000)]
2008-01-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-scale.c:
(clutter_behaviour_scale_set_gravity): Notify on the right property
name.

16 years ago2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Jan 2008 14:31:14 +0000 (14:31 +0000)]
2008-01-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter.symbols: Add new ClutterBehaviourScale setters.

* clutter/clutter-behaviour-scale.[ch]: Split the scaling factors
on both axis. Add setters for all the behaviour properties.

* clutter/clutter-effect.h:
* clutter/clutter-effect.c (clutter_effect_scale): Split the
final scale factor to match the ClutterBehaviourScale changes. (#709)

* tests/test-actors.c:
* tests/test-effects.c:
* tests/test-rotate.c:
* tests/test-scale.c: Update after API change.

16 years ago2008-01-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 16 Jan 2008 10:38:05 +0000 (10:38 +0000)]
2008-01-16  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/cogl/cogl.h: Rename COGLhandleARB to COGLhandle.

* clutter/cogl/gl/cogl-defines.h.in:
* clutter/cogl/gl/cogl.c: Update GL implementation of COGL.

* clutter/cogl/gles/cogl-defines.h:
* clutter/cogl/gles/cogl.c: Update GLES implementation of COGL.

* clutter/clutter-shader.c: Fix ClutterShader to use the new
COGLhandle type instead of COGLhandlerARB.

16 years ago2008-01-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 16 Jan 2008 10:02:56 +0000 (10:02 +0000)]
2008-01-16  Emmanuele Bassi  <ebassi@openedhand.com>

Define COGLhandleARB. (patch by Johan Bilien)

* clutter/cogl/gles/cogl-defines.h: Define COGLhandleARB on
GLES as well (using GLuint)

* clutter/cogl/gles/cogl.c: Use COGLhandleARB.

16 years ago2008-01-14 Tommi Komulainen <tommi.komulainen@iki.fi>
Emmanuele Bassi [Mon, 14 Jan 2008 13:59:27 +0000 (13:59 +0000)]
2008-01-14  Tommi Komulainen  <tommi.komulainen@iki.fi>

reviewed by: Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/osx/clutter-event-osx.c (_clutter_event_osx_put):
Initialize ClutterEvent structure with zeroes (#672)

The 'source' member was uninitialized and being referenced in
clutter_do_event leading to crash.

16 years ago2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 14 Jan 2008 13:13:23 +0000 (13:13 +0000)]
2008-01-14  Emmanuele Bassi  <ebassi@openedhand.com>

* tests/test-scale.c: Improve test case for scaling (#684,
Jaap A. Haitsma)

16 years ago2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 14 Jan 2008 12:02:28 +0000 (12:02 +0000)]
2008-01-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-timeline.c (timeline_timeout_func): Fix
check if the last frame was reached by skipping a frame (#654,
Johan Bilien)

16 years ago2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 14 Jan 2008 11:56:35 +0000 (11:56 +0000)]
2008-01-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-shader.c: Use correct format string for
gssize. (#695, Tommi Komulainen)

16 years ago2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 14 Jan 2008 11:52:04 +0000 (11:52 +0000)]
2008-01-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/cogl/gl/cogl.c (cogl_get_proc_address): Implement non-GLX
version using GModule and looking up the symbol from the running
process. It should work when linked to library providing the
requested function. (#696, Tommi Komulainen)

16 years ago2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 14 Jan 2008 10:39:41 +0000 (10:39 +0000)]
2008-01-14  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Post-release bump to 0.5.3

* README:
* NEWS: Release 0.5.2

16 years ago2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 14 Jan 2008 10:13:35 +0000 (10:13 +0000)]
2008-01-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter.symbols: Add clutter_model_insertv()

* clutter/clutter-model.[ch] (clutter_model_insertv): Add a vector
based insertion API, for language bindings

16 years ago2008-01-12 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 12 Jan 2008 11:05:05 +0000 (11:05 +0000)]
2008-01-12  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-effect.c (clutter_effect_rotate): Make the
rotate effect work on the passed axis, instead of hardcoding
the X axis. (#700, Neil Roberts)

16 years agoAdded COGLhandleARB since the underlying type on OSX is void*,
Øyvind Kolås [Thu, 10 Jan 2008 09:55:44 +0000 (09:55 +0000)]
Added COGLhandleARB since the underlying type on OSX is void*,
patch from Tommi Komulainen <tommi.komulainen@iki.fi>, (#694)
* clutter/cogl/gl/cogl-defines.h.in: Added COGLhandleARB typedef.
* clutter/cogl/cogl.h:
* clutter/cogl/gl/cogl.c:
* clutter/clutter-shader.c: Use COGLhandleARB instead of COGLint when
referring to program or shader handles.

16 years ago2008-01-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 9 Jan 2008 14:40:31 +0000 (14:40 +0000)]
2008-01-09  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/Makefile.am:
* clutter/clutter.h:
* clutter/clutter-list-model.[ch]: Complete the ClutterModelDefault
to ClutterListModel rename by renaming the source files

16 years ago2008-01-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 9 Jan 2008 14:34:24 +0000 (14:34 +0000)]
2008-01-09  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-model-default.[ch]: Rename ClutterModelDefault
into ClutterListModel, to make it clear that the default
ClutterModel implementation is list-based

* tests/test-model.c: Update call

16 years ago2008-01-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 9 Jan 2008 14:18:53 +0000 (14:18 +0000)]
2008-01-09  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-model-default.c:
(clutter_model_default_new),
(clutter_model_default_newv): Move the constructors in the
right file

* clutter/clutter-model-private.h: Add a private header for
the ClutterModel implementations

* clutter/clutter-model.c:
(clutter_model_check_type),
(clutter_model_set_n_columns),
(clutter_model_set_column_type): Mark as private to Clutter,
not static to ClutterModel

* clutter/Makefile.am: Add clutter-model-private.h

16 years ago2008-01-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 9 Jan 2008 11:00:54 +0000 (11:00 +0000)]
2008-01-09  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-label.c:
(clutter_label_ensure_layout): Fix the ClutterUnits to Pango
scale conversion.

16 years ago2008-01-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 8 Jan 2008 14:12:11 +0000 (14:12 +0000)]
2008-01-08  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-model.c:
(clutter_model_appendv),
(clutter_model_prependv): Fix the columns length pre-condition

16 years ago2008-01-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 7 Jan 2008 17:35:07 +0000 (17:35 +0000)]
2008-01-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-model-default.[ch]: Remove the ClutterModelDefault
iterator symbols from the public API; the iterator implementation
is a detail of the default ClutterModel class

* clutter.symbols: Update

16 years ago2008-01-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 7 Jan 2008 17:17:43 +0000 (17:17 +0000)]
2008-01-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-model.h:
* clutter/clutter-model.c:
(clutter_model_appendv),
(clutter_model_prependv): Add vector based API for bindings.

(clutter_model_get_column_name),
(clutter_model_get_column_type),
(clutter_model_set_sorting_column): Fix the check in the condition
on the column index.

* tests/test-scale.c (on_timeline_completed), (main): Fix spelling

* clutter.symbols: Update public symbols

16 years ago2008-01-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 4 Jan 2008 18:30:25 +0000 (18:30 +0000)]
2008-01-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter.symbols: Add clutter_actor_move_byu()

* clutter/clutter-actor.h:
* clutter/clutter-actor.c:
(clutter_actor_move_by),
(clutter_actor_move_byu): Add a units-based variant of the
clutter_actor_move_by() function