1. 20 Nov, 2006 1 commit
    • Emmanuele Bassi's avatar
      2006-11-20 Emmanuele Bassi <ebassi@openedhand.com> · 5cc29888
      Emmanuele Bassi authored
      	* clutter/Makefile.am:
      	* clutter/clutter.h:
      	* clutter/clutter-version.h.in: Auto-generated versioning macros.
      
      	* clutter/clutter-actor.h:
      	* clutter/clutter-actor.c: Add a ClutterActor::parent-set signal,
      	for notificating changes of an actor's parent; add api-doc for
      	the actor's properties; add the ClutterActor "name" property; clean
      	up a bit some functions; emit the "parent-set" signal when setting
      	te parent and when unparenting; better warnings when lowering
      	and raising an actor.
      
      	* configure.ac:
      	* clutter/Makefile.am: Add a --enable-debug configure option,
      	with three levels of debugging: no, minimum and yes; default
      	for development releases (odd minor version) is "yes"; update
      	the version m4 defines; update the libtool macros: now just
      	changed the clutter_interface_age when releasing will update
      	everything else.
      5cc29888
  2. 17 Nov, 2006 1 commit
    • Emmanuele Bassi's avatar
      2006-11-17 Emmanuele Bassi <ebassi@openedhand.com> · 237496fa
      Emmanuele Bassi authored
      	* 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.
      237496fa
  3. 15 Nov, 2006 1 commit
    • Matthew Allum's avatar
      2006-11-15 Matthew Allum <mallum@openedhand.com> · 5ca4d371
      Matthew Allum authored
              * 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.
      5ca4d371
  4. 29 Aug, 2006 1 commit
    • Matthew Allum's avatar
      2006-08-29 Matthew Allum <mallum@openedhand.com> · 3afb377c
      Matthew Allum authored
              * 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.
      3afb377c
  5. 06 Jul, 2006 2 commits
    • Emmanuele Bassi's avatar
      2006-07-06 Emmanuele Bassi <ebassi@openedhand.com> · 5fa9fc16
      Emmanuele Bassi authored
      	* 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.
      5fa9fc16
    • Emmanuele Bassi's avatar
      2006-07-06 Emmanuele Bassi <ebassi@openedhand.com> · 212c4a0e
      Emmanuele Bassi authored
      	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().
      212c4a0e
  6. 22 Jun, 2006 1 commit
    • Emmanuele Bassi's avatar
      2006-06-22 Emmanuele Bassi <ebassi@openedhand.com> · 33d0c989
      Emmanuele Bassi authored
      	* 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.
      33d0c989
  7. 21 Jun, 2006 1 commit
  8. 15 Jun, 2006 1 commit
    • Matthew Allum's avatar
      2006-06-15 Matthew Allum <mallum@openedhand.com> · 13ce0e37
      Matthew Allum authored
              * 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.
      13ce0e37
  9. 13 Jun, 2006 1 commit
    • Matthew Allum's avatar
      2006-06-13 Matthew Allum <mallum@openedhand.com> · df92202c
      Matthew Allum authored
              * 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.
      df92202c