profile/ivi/clutter.git
17 years ago2006-11-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 17 Nov 2006 19:17:40 +0000 (19:17 +0000)]
2006-11-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-path.h:
* clutter/clutter-behaviour-path.c: Add "since" strings; add
a "knot" property which can be used to append a knot to the path;
fix apidoc.

* clutter/clutter-alpha.c: Add "since" strings.

* clutter/clutter-feature.c: Add apidoc.

* clutter/clutter-behaviour-opacity.c: Add the "opacity-start"
and "opacity-end" properties; rewrite constructor to use them.

17 years ago2006-11-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 17 Nov 2006 18:45:31 +0000 (18:45 +0000)]
2006-11-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-path.h:
* clutter/clutter-behaviour-path.c: Add a "knot-reached" signal,
which is emitted when the path reaches a node in the nodes list;
flesh out the documentation a bit; sync the parameters names
so that gtk-doc doesn't complain about missing stuff.

* clutter/clutter-behaviour.h:
* clutter/clutter-behaviour.c: Add the alpha value to the
ClutterBehaviour::alpha_notify vfunc, so you don't have to
get the value from the alpha inside the behaviour implementations;
add more documentation.

* clutter/clutter-alpha.c: Flesh out the description.

* clutter/clutter-actor.h: Update the header.

* clutter/clutter-behaviour-opacity.c:
* clutter/clutter-behaviour-scale.c: Update docs.

17 years ago2006-11-17 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 17 Nov 2006 18:24:28 +0000 (18:24 +0000)]
2006-11-17  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-alpha.c:
        * clutter/clutter-behaviour-opacity.c:
        More docs.

        * clutter/clutter-behaviour-path.h:
        * clutter/clutter-behaviour-path.c:
        More docs, add clutter_behaviour_path_insert_knot(),
        clutter_behaviour_path_remove_knot()

        * clutter/clutter-behaviour-scale.h:
        * clutter/clutter-behaviour-scale.c:
        More docs, add clutter_behaviour_scale_newx() taking fixed values.

        * clutter/Makefile.am:
        * clutter/pango/Makefile.am:
        Fix linking warning.

17 years ago2006-11-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 16 Nov 2006 00:24:23 +0000 (00:24 +0000)]
2006-11-16  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-private.h:
* clutter/clutter-actor.c: Implement the defined
clutter_actor_reparent() method; call unrealize
when unparenting an actor.

17 years ago2006-11-15 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 15 Nov 2006 23:37:53 +0000 (23:37 +0000)]
2006-11-15  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-alpha.h:
* clutter/clutter-alpha.c: Add a data parameter to
the ClutterAlphaFunc; add a data+destroy parameter
to clutter_alpha_set_func() and to clutter_alpha_new(),
and turned the latter into clutter_alpha_new_full();
add a simple, empty constructor clutter_alpha_new().

These changes makes writing bindings a tad more easy,
as bindings require passing their own functions in
order to call the real alpha function.

* clutter/clutter-behaviour.h: Clean up the header.

* clutter/clutter-behaviours.[ch]:
* clutter/clutter-behaviour-opacity.[ch]:
* clutter/clutter-behaviour-path.[ch]:
* clutter/clutter-behaviour-scale.[ch]: Split the
ClutterBehaviourPath, ClutterBehaviourOpacity and
ClutterBehaviourScale into their own files as they
have been growing a bit. Fix ClutterBehaviourPath
API.

* clutter/clutter-media.h: Remove the commented
"metadata_available" signal: gtk-doc chokes up on that.

* clutter/clutter-timeline.h:
* clutter/clutter-timeline.c: Remove the useless
ClutterTimelineAlphaFunc signature; add missing accessor
methods for the properties; clean up a bit.

* clutter/clutter-util.h:
* clutter/clutter-util.c: Remove unneeded function
clutter_util_can_create_texture().

* clutter/clutter-feature.h: Sync the name of
clutter_feature_get_all() with the name declared
in clutter-feature.h.

* clutter/Makefile.am:
* clutter/clutter.h: Update.

* examples/behave.c: Update to the new ClutterAlpha
constructor.

* examples/super-oh.c: Use the right pointer and avoid
the compiler making a fuss about it.

17 years ago2006-11-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 15 Nov 2006 21:19:01 +0000 (21:19 +0000)]
2006-11-15  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.h:
        * clutter/clutter-actor.c:
        Add new API clutter_actor_move_by(), clutter_actor_get_size()

        * clutter/clutter-alpha.c:
        * clutter/clutter-alpha.h:
        Add clutter alpha sine func

        * clutter/clutter-behaviours.h:
        * clutter/clutter-behaviours.c:
        Add a basic scale behaviour (needs work)

        * examples/behave.c: (main):
        More playing with new behaviour functionality

        * clutter/clutter-feature.c:
        * clutter/clutter-feature.h:
        * clutter/clutter-main.c:
        Add new experimental sync to vblank code
        Set env CLUTTER_VBLANK=none to disable.

17 years ago2006-11-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 14 Nov 2006 14:12:56 +0000 (14:12 +0000)]
2006-11-16  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-alpha.h:
* clutter/clutter-alpha.c: ClutterAlpha is an initially
floating object, as it makes sense only when bound to
a ClutterBehaviour; add checks for public API.

* clutter/clutter-behaviour.h:
* clutter/clutter-behaviour.c: Remove the ClutterBehaviour
constructor: ClutterBehaviour is an abstract class which
must be implemented by subclassing; add checks for public
API; unref the actors on finalize; sink the ClutterAlpha
object.

* clutter/clutter-behaviours.h: ClutterKnot is a boxed
type: add the _get_type() function declaration and the
type macro.

17 years ago2006-10-23 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sun, 22 Oct 2006 23:33:14 +0000 (23:33 +0000)]
2006-10-23  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-alpha.h:
        * clutter/clutter-behaviour.c:
        * clutter/clutter-behaviour.h:
        * clutter/clutter-behaviours.c:
        * clutter/clutter-behaviours.h:
        * examples/behave.c:
        Behaviours now only 'driven' by ClutterAlpha, not any object/prop.
        Add simple Clutter path behaviour.

17 years ago2006-10-03 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 3 Oct 2006 21:59:30 +0000 (21:59 +0000)]
2006-10-03  Matthew Allum  <mallum@openedhand.com>

        * configure.ac:
        * clutter/Makefile.am:
        * clutter/clutter-actor.c:
        * clutter/clutter-label.c:
        * clutter/clutter-label.h:
        * clutter/pango/Makefile.am:
        * clutter/pango/pangoclutter-font.c:
        * clutter/pango/pangoclutter-fontmap.c:
        * clutter/pango/pangoclutter-private.h:
        * clutter/pango/pangoclutter-render.c:
        * clutter/pango/pangoclutter.h:
        Add initial rough new pango renderer and clutter-label.

        * examples/super-oh.c:
        * examples/test.c:
        Minor fixups

17 years ago2006-09-20 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 20 Sep 2006 18:38:08 +0000 (18:38 +0000)]
2006-09-20  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_paint):
        * clutter/clutter-clone-texture.c: (clutter_clone_texture_paint):
        * clutter/clutter-group.c: (clutter_group_paint):
        * clutter/clutter-rectangle.c: (clutter_rectangle_paint):
        * clutter/clutter-texture.c: (clutter_texture_paint):
        Fix for #156.
        clutter_actor_paint() now translates to actor position as
        to not fix scaled groups positioning. Sub classes now paint
        at 0,0.

17 years ago2006-09-19 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 19 Sep 2006 19:27:16 +0000 (19:27 +0000)]
2006-09-19  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (redraw_update_idle),
        (clutter_actor_queue_redraw):
        * clutter/clutter-main.c: (clutter_redraw):
        Remove now uneeded locks
        ( new gst and texture code makes redundant )

        * clutter/clutter-texture.c:
        * clutter/clutter-texture.h:
        Redo clutter texture as to not keep a reference
        to underlying texture.

17 years ago2006-09-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 15 Sep 2006 12:30:15 +0000 (12:30 +0000)]
2006-09-15  Matthew Allum  <mallum@openedhand.com>

        More fixes from Bastien Nocera (#155):

        * clutter/clutter-main.c: (clutter_init):
        * clutter/clutter-main.h:
        Add an enum for clutter init to return an error code.
        * configure.ac:
        Dont check for XInitThreads, there is no need, its part of xlib.

17 years ago2006-09-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 14 Sep 2006 17:34:59 +0000 (17:34 +0000)]
2006-09-14  Emmanuele Bassi  <ebassi@openedhand.com>

D tmpl/clutter-video-texture.sgml

* clutter-sections.txt:
* clutter.types: Remove ClutterVideoTexture.

17 years ago2006-09-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 14 Sep 2006 17:18:54 +0000 (17:18 +0000)]
2006-09-14  Matthew Allum  <mallum@openedhand.com>

        Various fixes from Bastien Nocera:

        * clutter/clutter-event.h:
        * clutter/clutter-stage.c: (clutter_stage_unrealize),
        (clutter_stage_realize), (clutter_stage_request_coords),
        (clutter_stage_dispose), (clutter_stage_init):
        * clutter/clutter-stage.h:
        * gtk/gtk-clutter-test.c: (input_cb), (frame_cb), (main):
        * gtk/gtk-clutter.c: (realize):
        Misc fixes (#152)

        * clutter/clutter-group.c: (clutter_group_remove):
        Remove uneeded ref count (#143)

        * examples/super-oh.c: (input_cb):
        Handle key release rather than presses (#154)

        * configure.ac:
        Add old style X libs check when x11.pc unavailable (#101)

17 years agorevert changes
Emmanuele Bassi [Fri, 8 Sep 2006 20:57:31 +0000 (20:57 +0000)]
revert changes

17 years agocreating a branch for experimenting with the behaviour API
Emmanuele Bassi [Fri, 8 Sep 2006 20:52:38 +0000 (20:52 +0000)]
creating a branch for experimenting with the behaviour API

17 years ago2006-09-01 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 1 Sep 2006 17:26:47 +0000 (17:26 +0000)]
2006-09-01  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-media.c:
        * clutter/clutter-media.h:
        * clutter/clutter.h:
        Re-add clutter media.

17 years ago2006-08-31 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 31 Aug 2006 18:54:51 +0000 (18:54 +0000)]
2006-08-31  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-group.c: (clutter_group_paint),
        (clutter_group_request_coords), (clutter_group_allocate_coords),
        (clutter_group_add):
        Fix some group sizing/positioning issues.

17 years ago2006-08-30 Jorn Baayen <jorn@openedhand.com>
Jorn Baayen [Wed, 30 Aug 2006 13:57:03 +0000 (13:57 +0000)]
2006-08-30  Jorn Baayen  <jorn@openedhand.com>

* clutter.pc.in:

Remove gstreamer deps.

17 years ago2006-08-30 Jorn Baayen <jorn@openedhand.com>
Jorn Baayen [Wed, 30 Aug 2006 13:48:48 +0000 (13:48 +0000)]
2006-08-30  Jorn Baayen  <jorn@openedhand.com>

* README:
* clutter/Makefile.am:
* clutter/clutter-audio.c:
* clutter/clutter-audio.h:
* clutter/clutter-main.c: (clutter_init):
* clutter/clutter-media.c:
* clutter/clutter-media.h:
* clutter/clutter-video-texture.c:
* clutter/clutter-video-texture.h:
* clutter/clutter.h:
* configure.ac:
* examples/Makefile.am:
* examples/README:
* examples/video-cube.c:
* examples/video-player.c:
* gst/Makefile.am:
* gst/clutterimagesink.:
* gst/clutterimagesink.c:
* gst/clutterimagesink.h:
* gtk/Makefile.am:

Remove gstreamer bits. There live in clutter-gst now.

17 years ago2006-08-30 Jorn Baayen <jorn@openedhand.com>
Jorn Baayen [Wed, 30 Aug 2006 09:06:35 +0000 (09:06 +0000)]
2006-08-30  Jorn Baayen  <jorn@openedhand.com>

* clutter/Makefile.am:
* clutter/clutter-audio.c:
* clutter/clutter-audio.h:
* clutter/clutter.h:

Added ClutterAudio audio playback object.

17 years ago2006-08-29 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 29 Aug 2006 19:09:43 +0000 (19:09 +0000)]
2006-08-29  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-fixed.h:
        Add basic fixed point utility defines and type.

        * clutter/Makefile.am:
        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        * clutter/clutter-group.c:
        * clutter/clutter-stage.c:
        * examples/super-oh.c: (main):
        Add scale API and functionality.
        Rework group sizing. Now group size requests have no effect
        but can be scaled.

17 years ago2006-08-29 Jorn Baayen <jorn@openedhand.com>
Jorn Baayen [Tue, 29 Aug 2006 13:20:29 +0000 (13:20 +0000)]
2006-08-29  Jorn Baayen  <jorn@openedhand.com>

* clutter/clutter-behaviour.c: (_clutter_behaviour_finalize),
(_clutter_behaviour_set_property),
(_clutter_behaviour_get_property), (clutter_behaviour_class_init),
(clutter_behaviour_init), (clutter_behaviour_apply),
(clutter_behaviour_remove), (clutter_behaviour_remove_all),
(clutter_behaviour_actors_foreach):
* clutter/clutter-behaviour.h:
* clutter/clutter-behaviours.c:
(clutter_behaviour_property_change),
(clutter_behaviour_opacity_dispose),
(clutter_behaviour_opacity_finalize),
(clutter_behaviour_opacity_class_init),
(clutter_behaviour_opacity_init):
* clutter/clutter-behaviours.h:
* clutter/clutter-marshal.list:
* examples/behave.c: (main):

Behaviours track generic GObject properties.

* clutter/clutter-video-texture.h:

Remove signal prototypes - they are already specified in
clutter-media.h.

17 years ago2006-08-28 Jorn Baayen <jorn@openedhand.com>
Jorn Baayen [Mon, 28 Aug 2006 17:11:15 +0000 (17:11 +0000)]
2006-08-28  Jorn Baayen  <jorn@openedhand.com>

* clutter/Makefile.am:
* clutter/clutter-alpha.c:
* clutter/clutter-alpha.h:
* clutter/clutter-behaviours.c:
(clutter_behaviour_opacity_dispose),
(clutter_behaviour_opacity_init),
(clutter_behaviour_opacity_frame_foreach),
(clutter_behaviour_opacity_frame):
* clutter/clutter-behaviours.h:
* clutter/clutter-timeline.c: (clutter_timeline_class_init):
* clutter/clutter-timeline.h:
* clutter/clutter.h:
* examples/behave.c: (main):

Separate alpha calculation into its own class.

* clutter/clutter-behaviour.c: (clutter_behaviour_set_timelime):

Correct NULL check.

17 years ago2006-08-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 15 Aug 2006 20:38:25 +0000 (20:38 +0000)]
2006-08-15  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-behaviour.h:
        Behaviours shouldn't subclass timelines.

17 years ago2006-08-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 15 Aug 2006 20:28:41 +0000 (20:28 +0000)]
2006-08-15  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-behaviour.c:
        * clutter/clutter-behaviour.h:
        * clutter/clutter-behaviours.c:
        * clutter/clutter-timeline.c:
        * clutter/clutter-timeline.h:
        * clutter/clutter.h:
        Make basic behaviour infrastructure actually work.

        * examples/Makefile.am:
        * examples/behave.c:
        Add a simple behaviour demo/test

        * clutter/clutter-media.c: (clutter_media_set_volume):
        Actuall set volume rather than position..   (Fixes #141)

17 years ago2006-08-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sun, 13 Aug 2006 23:55:52 +0000 (23:55 +0000)]
2006-08-14  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-behaviour.c:
        * clutter/clutter-behaviour.h:
        * clutter/clutter-behaviours.c:
        * clutter/clutter-behaviours.h:
        * clutter/clutter-timeline.c:
        * clutter/clutter-timeline.h:
        Add very initial new behaviour functionality.

        * clutter/clutter-stage.c:
        * clutter/clutter-main.c:
        * clutter/clutter-actor.c:
        Improve clipping using stencil test rather than scissor check.
        ( Should now handle rotated clips etc ).

        * clutter/clutter-group.c: (clutter_group_paint):
        Fix typo on position check.

17 years ago2006-08-07 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 7 Aug 2006 22:04:29 +0000 (22:04 +0000)]
2006-08-07  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-video-texture.c: (lay_pipeline):
        Set quality of service prop on fakesink to TRUE.

17 years ago2006-08-07 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 7 Aug 2006 21:27:11 +0000 (21:27 +0000)]
2006-08-07  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_paint):
        Remove relic from old stage behaviour - dont unref
        it during a clip.

17 years ago2006-07-27 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 27 Jul 2006 17:10:33 +0000 (17:10 +0000)]
2006-07-27  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-feature.c: No need to call clutter_feature_init()
each time: it's private and should never be seen from the outside;
add a warning, just in case something screws up and calls it more
than once.

17 years ago2006-07-27 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 27 Jul 2006 16:09:25 +0000 (16:09 +0000)]
2006-07-27  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-private.h: Move clutter_feature_init()
declaration here: you shouldn't even need to initialise
features yourself.

* clutter/clutter-feature.c: call clutter_feature_init()
each time you try to access the feature list; add a static
lock around the feature flags container; add api documentation.

* clutter/clutter-feature.h: Add a type for the feature flags
to make bindings happy.

17 years ago2006-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 24 Jul 2006 21:15:19 +0000 (21:15 +0000)]
2006-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-feature.c:
        * clutter/clutter-feature.h:

        Add new funcs for checking for available runtime GL
        extensions.

        * clutter/clutter-clone-texture.c:
        * clutter/clutter-texture.c:

        Add support for non power of two textures
       if GL_TEXTURE_RECTANGLE_ARB extension available ( at runtime ).
       Should lower texture memory needs a little.

18 years ago2006-07-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 17 Jul 2006 09:10:08 +0000 (09:10 +0000)]
2006-07-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-stage.c (clutter_stage_get_default): Fix
api documentation.

18 years ago2006-07-15 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 15 Jul 2006 22:47:37 +0000 (22:47 +0000)]
2006-07-15  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-main.c:

(clutter_main): Destroy the main stage, instead of unreffing it.

(clutter_init): Ref and sink the main stage, as it is a top
level actor.

* clutter/clutter-stage.c (clutter_stage_unrealize): Access
the Window private member directly, instead of calling the
get_xwindow method.

* examples/test.c (main): Quit on button press.

18 years ago2006-07-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 10 Jul 2006 10:52:04 +0000 (10:52 +0000)]
2006-07-09  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-event.h: Change the name of the
ClutterEvent union members to something a little shorter.

18 years ago2006-07-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Jul 2006 22:28:35 +0000 (22:28 +0000)]
2006-07-06  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Remove the python stuff, now that the bindings
are out of tree.

18 years ago2006-07-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Jul 2006 18:55:46 +0000 (18:55 +0000)]
2006-07-06  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Mark this as 0.1.1, and change the version info
of the library.

* clutter/clutter-actor.c:
* clutter/clutter-group.c: Fix documentation.

18 years ago2006-07-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Jul 2006 18:55:25 +0000 (18:55 +0000)]
2006-07-06  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Add clutter_actor_has_clip() and
clutter_actor_unparent().

18 years ago2006-07-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Jul 2006 18:12:19 +0000 (18:12 +0000)]
2006-07-06  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.h:
* clutter/clutter-actor.c:

(clutter_actor_class_init), (clutter_actor_set_property),
(clutter_actor_get_property): Add the "clip" and "has-clip"
properties.

(clutter_actor_set_clip), (clutter_actor_remove_clip): Emit
the notification for the changed properties.

(clutter_actor_has_clip): Simple accessor to the "has-clip"
property.

18 years ago2006-07-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Jul 2006 17:52:57 +0000 (17:52 +0000)]
2006-07-06  Emmanuele Bassi  <ebassi@openedhand.com>

Big rework of the actor management semantics: now ClutterActor
objects behave like GtkObjects - that is they have an initial
"floating" reference that gets "sunk" when they are added to
a ClutterGroup.  This makes a group responsible of de-allocating
each actor inside it, so you just have to destroy the group to
get every child actor destroyed.  Also, now you can do:

  clutter_group_add (group, clutter_video_texture_new ());

without having to care about reference counting and explicit
unreffing.

* clutter/clutter-private.h: Add private flags setter and
getter macros.

* clutter/clutter-actor.h:
* clutter/clutter-actor.c: Clean up; inherit from GInitiallyUnowned;
add a "visible" property; add the "destroy", "show" and "hide"
signals to ClutterActorClass.

(clutter_actor_show), (clutter_actor_hide): Refactor a bit; emit
the "show" and "hide" signals.

(clutter_actor_set_property), (clutter_actor_get_property),
(clutter_actor_class_init): Implement the "visible" property; add
signals.

(clutter_actor_finalize): Do not leak the actor's name, if it is
set.

(clutter_actor_dispose): Emit the "destroy" signal here.

(clutter_actor_init): Sink the initial floating flag if needed.

(clutter_actor_destroy): Add a function to explicitely destroy
a ClutterActor.

(clutter_actor_set_parent), (clutter_actor_get_parent),
(clutter_actor_unparent): Make set_parent require a valid parent;
add unparent; check on get_parent; ref_sink the actor when
setting its parent and unref it when unsetting it.  Probably we'll
need a function that does reparenting as unparent+set_parent in
a single shot.

* clutter/clutter-group.h:
* clutter/clutter-group.c (clutter_group_dispose),
(clutter_group_finalize), (clutter_group_add),
(clutter_group_remove): Make the group destroy its children when
disposing it; clean up, and use the newly-available
clutter_actor_unparent().

* clutter/clutter-stage.h:
* clutter/clutter-stage.c (clutter_stage_init): ClutterStage is
a top-level actor; clean up.

* clutter/clutter-video-texture.h:
* clutter/clutter-video-texture.c: Clean up.

* examples/super-oh.c:
* examples/test.c:
* examples/video-player.c:
* examples/test-text.c:
* examples/video-cube.c: Remove the g_object_unref() call, as the
ClutterStage object is destroyed on clutter_main_quit().

18 years agoFix typo
Iain Holmes [Fri, 23 Jun 2006 18:18:56 +0000 (18:18 +0000)]
Fix typo

18 years ago2006-06-23 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 23 Jun 2006 16:29:11 +0000 (16:29 +0000)]
2006-06-23  Matthew Allum  <mallum@openedhand.com>

        * examples/super-oh.c:
        Remove random stage unref fixing trails. Fixes #98

18 years ago2006-06-23 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 23 Jun 2006 16:21:13 +0000 (16:21 +0000)]
2006-06-23  Matthew Allum  <mallum@openedhand.com>

        * examples/video-player.c: (size_change):
        cast stage height to gint avoiding wierdness for when
        video height greater than half display height. Fixed #99

18 years ago2006-06-23 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 23 Jun 2006 15:26:43 +0000 (15:26 +0000)]
2006-06-23  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-video-texture.c: (clutter_video_texture_new):
        Small fix for video playback on Big Endian. See #99

18 years agoShuffle some layout so that gapi2-parser can understand everything
Iain Holmes [Fri, 23 Jun 2006 15:13:11 +0000 (15:13 +0000)]
Shuffle some layout so that gapi2-parser can understand everything

18 years ago2006-06-23 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 23 Jun 2006 11:36:54 +0000 (11:36 +0000)]
2006-06-23  Ross Burton  <ross@openedhand.com>

* configure.ac:
* Makefile.am:
Remove references to bindings/, it's moved.

18 years agoAnd finish the move
Ross Burton [Fri, 23 Jun 2006 10:42:29 +0000 (10:42 +0000)]
And finish the move

18 years agoFirst stage of the mass move
Ross Burton [Fri, 23 Jun 2006 10:42:11 +0000 (10:42 +0000)]
First stage of the mass move

18 years ago2006-06-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Jun 2006 10:32:42 +0000 (10:32 +0000)]
2006-06-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-group.c
(clutter_group_get_children): Mention that you must free
the returned list otherwise you'll leak stuff all around.

18 years ago2006-06-23 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 23 Jun 2006 09:29:54 +0000 (09:29 +0000)]
2006-06-23  Ross Burton  <ross@openedhand.com>

* examples/super-oh.c:
Fix build with trails enabled. Still crashes.

18 years ago2006-06-23 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 23 Jun 2006 09:20:04 +0000 (09:20 +0000)]
2006-06-23  Ross Burton  <ross@openedhand.com>

* configure.ac:
Disable static libraries.

18 years ago2006-06-23 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 23 Jun 2006 08:28:04 +0000 (08:28 +0000)]
2006-06-23  Ross Burton  <ross@openedhand.com>

* python/Makefile.am:
Fix -avoid-version so we don't install clutter.so.0.0.0.

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Jun 2006 15:37:00 +0000 (15:37 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * web/index.html:
        Make OpeneHand link

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Jun 2006 15:27:42 +0000 (15:27 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * web/index.html:
        Add Pango ref, authors info.

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Jun 2006 15:01:22 +0000 (15:01 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * configure.ac:
        * web/index.html:
        Correct Bugzilla link. Add debs link
        Bump up version to 0.1 !

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Jun 2006 14:57:25 +0000 (14:57 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * NEWS:
        Add an entry for 0.1 release
        * web/index.html:
        * web/style.css:
        Add basic website.

18 years ago80% coverage
Iain Holmes [Thu, 22 Jun 2006 14:36:05 +0000 (14:36 +0000)]
80% coverage

18 years agoAdd more docs...80% coverage
Iain Holmes [Thu, 22 Jun 2006 14:31:19 +0000 (14:31 +0000)]
Add more docs...80% coverage

18 years agoForgot this bit
Iain Holmes [Thu, 22 Jun 2006 14:16:41 +0000 (14:16 +0000)]
Forgot this bit

18 years agoAdd docs for clutter-media
Iain Holmes [Thu, 22 Jun 2006 14:14:58 +0000 (14:14 +0000)]
Add docs for clutter-media

18 years agoFix typos...74%
Iain Holmes [Thu, 22 Jun 2006 13:56:04 +0000 (13:56 +0000)]
Fix typos...74%

18 years agoFix typo
Ross Burton [Thu, 22 Jun 2006 13:50:39 +0000 (13:50 +0000)]
Fix typo

18 years agoiRemove clutter_util_can_create_texture
Iain Holmes [Thu, 22 Jun 2006 13:49:42 +0000 (13:49 +0000)]
iRemove clutter_util_can_create_texture

18 years agoDocs
Iain Holmes [Thu, 22 Jun 2006 13:48:09 +0000 (13:48 +0000)]
Docs

18 years agoMore docs
Iain Holmes [Thu, 22 Jun 2006 13:44:47 +0000 (13:44 +0000)]
More docs

18 years ago2006-06-22 Ross Burton <ross@openedhand.com>
Ross Burton [Thu, 22 Jun 2006 13:39:34 +0000 (13:39 +0000)]
2006-06-22  Ross Burton  <ross@openedhand.com>

* tmp/*.sgml:
Add lots of "no public members" and document some signals.

18 years agoFix typos and move *_get_type t private sections
Iain Holmes [Thu, 22 Jun 2006 13:05:45 +0000 (13:05 +0000)]
Fix typos and move *_get_type t private sections

--his line, and those below, will be ignored--

M    clutter/clutter-actor.c
M    ChangeLog
M    doc/reference/clutter-sections.txt
M    doc/reference/ChangeLog
M    doc/reference/tmpl/clutter-enum-types.sgml
M    doc/reference/tmpl/clutter-color.sgml
M    doc/reference/tmpl/clutter-event.sgml
M    doc/reference/tmpl/clutter-group.sgml

18 years ago2006-06-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Jun 2006 12:05:51 +0000 (12:05 +0000)]
2006-06-22  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-timeline.h:
* clutter/clutter-timeline.c: Add a "started" and a "paused"
signals; add more sanity checks on the public functions.

(clutter_timeline_get_loop): Add a getter function for the
loop property.

* clutter/clutter-marshal.list: Add marshallers.

* clutter/clutter-timeline.h:
* clutter/clutter-actor.h: Add padding for future expansion
without breaking ABI.

18 years agoNo, I did not commit that yet
Emmanuele Bassi [Thu, 22 Jun 2006 10:59:09 +0000 (10:59 +0000)]
No, I did not commit that yet

18 years agoFix my stupid but inevitable lack of memory
Emmanuele Bassi [Thu, 22 Jun 2006 10:58:09 +0000 (10:58 +0000)]
Fix my stupid but inevitable lack of memory

18 years ago2006-06-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Jun 2006 09:29:35 +0000 (09:29 +0000)]
2006-06-22  Emmanuele Bassi <ebassi@openedhand.com>

* clutter-docs.sgml: Fix typos.

18 years ago2006-06-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Jun 2006 09:25:58 +0000 (09:25 +0000)]
2006-06-22  Emmanuele Bassi  <ebassi@openedhand.com>

* python/Makefile.am:
* python/pyclutter.pc.in: Add a pkgconfig file in order to
check for bindings existence.

18 years ago2006-06-22 Ross Burton <ross@openedhand.com>
Ross Burton [Thu, 22 Jun 2006 09:25:12 +0000 (09:25 +0000)]
2006-06-22  Ross Burton  <ross@openedhand.com>

* tmpl/clutter-group.sgml:
Fix braindead source parser.

18 years agoMore docustuff
Iain Holmes [Thu, 22 Jun 2006 09:25:01 +0000 (09:25 +0000)]
More docustuff

18 years agoMore gtk-doc fixes
Ross Burton [Thu, 22 Jun 2006 09:24:15 +0000 (09:24 +0000)]
More gtk-doc fixes

18 years ago * clutter/clutter-group.c:
Ross Burton [Thu, 22 Jun 2006 09:19:32 +0000 (09:19 +0000)]
* clutter/clutter-group.c:
Fix gtk-doc problems.

18 years ago2006-06-22 Ross Burton <ross@openedhand.com>
Ross Burton [Thu, 22 Jun 2006 09:19:11 +0000 (09:19 +0000)]
2006-06-22  Ross Burton  <ross@openedhand.com>

* clutter.sections.txt:
* clutter-sections.txt:
Rename . to -, and add missing class members.

* tmpl/*:
Resync

18 years ago2006-06-22 Ross Burton <ross@openedhand.com>
Ross Burton [Thu, 22 Jun 2006 09:14:35 +0000 (09:14 +0000)]
2006-06-22  Ross Burton  <ross@openedhand.com>

* clutter/clutter-label.c:
* clutter/clutter-video-texture.c:
* clutter/clutter-texture.c:
* clutter/clutter-timeline.c:
Fix gtk-doc problems.

18 years agoMore documentation
Iain Holmes [Thu, 22 Jun 2006 09:12:40 +0000 (09:12 +0000)]
More documentation

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Jun 2006 09:06:24 +0000 (09:06 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * clutter-docs.sgml:
        Add copyright info.

18 years ago2006-06-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Jun 2006 08:53:12 +0000 (08:53 +0000)]
2006-06-22  Emmanuele Bassi  <ebassi@openedhand.com>

* python/clutter-base-types.defs: Remove ClutterActorTransform.

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Jun 2006 08:40:37 +0000 (08:40 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-main.h:
        Remove bogus xvisual call.

18 years agoSome more docs
Iain Holmes [Wed, 21 Jun 2006 23:19:59 +0000 (23:19 +0000)]
Some more docs

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 21 Jun 2006 23:06:55 +0000 (23:06 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        Remove mirroring related calls ( unimplemented )
        * gtk/gtk-clutter-test.c: 0 -> NULL

18 years agoSome more docs
Iain Holmes [Wed, 21 Jun 2006 23:02:20 +0000 (23:02 +0000)]
Some more docs

18 years ago2006-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 21 Jun 2006 22:34:25 +0000 (22:34 +0000)]
2006-06-22  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-clone-texture.c:
        * clutter/clutter-color.c:
        * clutter/clutter-event.c:
        * clutter/clutter-group.c:
        * clutter/clutter-label.c:
        * clutter/clutter-main.c:
        * clutter/clutter-media.c:
        * clutter/clutter-rectangle.c:
        * clutter/clutter-stage.c:
        * clutter/clutter-texture.c:
        * clutter/clutter-timeline.c:
        * clutter/clutter-util.c:
        * clutter/clutter-video-texture.c:
        * configure.ac:
        Documentation updates - add section headers.

18 years agoDon't show the stage before its embedded.
Iain Holmes [Wed, 21 Jun 2006 22:32:38 +0000 (22:32 +0000)]
Don't show the stage before its embedded.

18 years ago2006-06-22 Iain Holmes <iain@openedhand.com>
Iain Holmes [Wed, 21 Jun 2006 22:29:28 +0000 (22:29 +0000)]
2006-06-22  Iain Holmes  <iain@openedhand.com>

        * gtk/gtk-clutter.[ch]: Rewrite to use
        clutter_stage_set_xwindow_foreign rather than GtkSocket.

        * gtk/gtk-clutter-test.c: Add fading!1!!!!11! OMGWTFBBQ!!!

18 years ago2006-06-21 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 21 Jun 2006 17:25:14 +0000 (17:25 +0000)]
2006-06-21  Emmanuele Bassi  <ebassi@openedhand.com>

* examples/video-cube.c (main): Quit on key press.

18 years ago2006-06-21 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 21 Jun 2006 17:21:19 +0000 (17:21 +0000)]
2006-06-21  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/Makefile.am: Re-fix distcheck after last commit.

18 years ago2006-06-21 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 21 Jun 2006 16:29:28 +0000 (16:29 +0000)]
2006-06-21  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        Make sure clutter.h included.
        * clutter/clutter-stage.c: (clutter_stage_realize),
        (clutter_stage_get_actor_at_pos):
        Select for motion events on X window.
        Return highest rather than lowest found actor for actor_at_pos.
        * examples/Makefile.am:
        Remove test-text, remane test video.
        * examples/README:
        Add info about the included examples.
        * examples/test-video.c:
        * examples/video-player.c:
        Redo test-video a little nicer and rename.
        * examples/video-cube.c:
        Fix so it at least 'works' again.
        * examples/test.c:
        Clean up a little.

18 years ago2006-06-21 Ross Burton <ross@openedhand.com>
Ross Burton [Wed, 21 Jun 2006 16:14:43 +0000 (16:14 +0000)]
2006-06-21  Ross Burton  <ross@openedhand.com>

* Makefile.am:
* gtk/Makefile.am:
Add gtk widget to distcheck and fix.

18 years ago2006-06-21 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 21 Jun 2006 15:54:46 +0000 (15:54 +0000)]
2006-06-21  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/Makefile.am:
* bindings/python/Makefile.am:
* Makefile.am: Fix distcheck

18 years ago2006-06-21 Ross Burton <ross@openedhand.com>
Ross Burton [Wed, 21 Jun 2006 14:40:36 +0000 (14:40 +0000)]
2006-06-21  Ross Burton  <ross@openedhand.com>

* clutter/Makefile.am:
* examples/Makefile.am:
Fix dist.

18 years ago2006-06-20 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 20 Jun 2006 20:29:45 +0000 (20:29 +0000)]
2006-06-20  Matthew Allum  <mallum@openedhand.com>

        * TODO:
        Update.
        * clutter/clutter-group.c:
        Attempt better group sizing code.
        * clutter/clutter-label.c:
        Minor tweaks.
        * clutter/clutter-texture.c:
        More debug info, make sure texture is realised for base_size()
        * clutter/clutter-video-texture.c:
        Seeking fixes
        * examples/test.c: (main):
        Populate with more randomness.

18 years ago2006-06-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 15 Jun 2006 22:04:19 +0000 (22:04 +0000)]
2006-06-15  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        Add clutter_stage_set_xwindow_foreign() call
        * clutter/clutter-util.c:
        * clutter/clutter-util.h:
        Add some X error traps
        * examples/super-oh.c:
        Toy with us of new clutter_stage_set_xwindow_foreign() for
        optional screensaver functionality.

18 years ago2006-06-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 14 Jun 2006 13:04:26 +0000 (13:04 +0000)]
2006-06-14  Matthew Allum  <mallum@openedhand.com>

        * configure.ac:
        Add checks for GL/gl.h and GL/glx.h

18 years ago2006-06-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 13 Jun 2006 22:29:51 +0000 (22:29 +0000)]
2006-06-14  Matthew Allum  <mallum@openedhand.com>

        * AUTHORS:
        * README:
        * TODO:
        Update all.

18 years ago2006-06-13 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 13 Jun 2006 16:18:24 +0000 (16:18 +0000)]
2006-06-13  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-video-texture.c:
        Add missing license.

18 years ago2006-06-13 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 13 Jun 2006 13:17:45 +0000 (13:17 +0000)]
2006-06-13  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        * clutter/clutter-clone-texture.c:
        * clutter/clutter-clone-texture.h:
        * clutter/clutter-element.c:
        * clutter/clutter-element.h:
        * clutter/clutter-group.c:
        * clutter/clutter-group.h:
        * clutter/clutter-label.c:
        * clutter/clutter-label.h:
        * clutter/clutter-main.c:
        * clutter/clutter-main.h:
        * clutter/clutter-rectangle.c:
        * clutter/clutter-rectangle.h:
        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        * clutter/clutter-texture.c:
        * clutter/clutter-texture.h:
        * clutter/clutter-video-texture.c:
        * clutter/clutter-video-texture.h:
        * clutter/clutter.h:
        * examples/super-oh.c:
        * examples/test-text.c:
        * examples/test-video.c:
        * examples/test.c:
        * examples/video-cube.c:
        * gtk/gtk-clutter-test.c:
        * gtk/gtk-clutter.c:
        * gtk/gtk-clutter.h:
        Element to Actor Renaming.