mutter/ChangeLog

2173 lines
69 KiB
Plaintext
Raw Normal View History

2006-08-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-video-texture.c: (lay_pipeline):
Set quality of service prop on fakesink to TRUE.
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.
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.
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.
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.
2006-07-17 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-stage.c (clutter_stage_get_default): Fix
api documentation.
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.
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.
2006-07-06 Emmanuele Bassi <ebassi@openedhand.com>
* configure.ac: Remove the python stuff, now that the bindings
are out of tree.
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.
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.
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().
2006-07-06 13:52:57 -04:00
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().
2006-06-23 Matthew Allum <mallum@openedhand.com>
* examples/super-oh.c:
Remove random stage unref fixing trails. Fixes #98
2006-06-23 Matthew Allum <mallum@openedhand.com>
* examples/video-player.c: (size_change):
cast stage height to gint avoiding wierdness for when
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().
2006-07-06 13:52:57 -04:00
video height greater than half display height. Fixed #99
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 #97
2006-06-23 14:18:56 -04:00
2006-06-23 Iain Holmes <iain@openedhand.com>
* clutter/clutter-texture.h: Add space :) Sorry.
2006-06-23 Iain Holmes <iain@openedhand.com>
* clutter/clutter-label.h:
* clutter/clutter-group.h:
* clutter/clutter-rectangle.h:
* clutter/clutter-video-texture.h:
* clutter/clutter-event.h:
* clutter/clutter-texture.h: Fix the header layout so that C# parser
can understand everything.
2006-06-23 Ross Burton <ross@openedhand.com>
* configure.ac:
* Makefile.am:
Remove references to bindings/, it's moved.
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.
2006-06-23 Ross Burton <ross@openedhand.com>
* examples/super-oh.c:
Fix build with trails enabled. Still crashes.
2006-06-23 Ross Burton <ross@openedhand.com>
* configure.ac:
Disable static libraries.
2006-06-22 Matthew Allum <mallum@openedhand.com>
* web/index.html:
Make OpeneHand link
2006-06-22 Matthew Allum <mallum@openedhand.com>
* web/index.html:
Add Pango ref, authors info.
========== 2006-06-22 0.1 Release =====================
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 !
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.
2006-06-22 10:36:05 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-main.c: Guess what...more docs
2006-06-22 10:31:19 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-event.c: Add docs
2006-06-22 10:14:58 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-media.c: Add docs
2006-06-22 09:56:04 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-texture.c: Fix typos.
* clutter/clutter-timeline.c: Fix typos.
2006-06-22 09:48:09 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-video-texture.c: Docs.
2006-06-22 09:44:47 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-group.c: More typo fixes
* clutter/clutter-event.c: Documentation
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.
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-actor.c: Fix some typos in the docs.
2006-06-22 05:25:01 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-util.c: And more
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:
* clutter/clutter-group.c:
Fix gtk-doc problems.
2006-06-22 05:12:40 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-main.c: More documentation
2006-06-22 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-main.h:
Remove bogus xvisual call.
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
2006-06-21 19:19:59 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-stage.c:
* gtk/gtk-clutter.c: More docs
2006-06-21 19:02:20 -04:00
2006-06-22 Iain Holmes <iain@openedhand.com>
* clutter/clutter-actor.c: Added some more docs.
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.
2006-06-22 Iain Holmes <iain@openedhand.com>
* gtk/gtk-clutter-test.c (main): Don't show the stage.
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!!!
2006-06-21 Emmanuele Bassi <ebassi@openedhand.com>
* examples/video-cube.c (main): Quit on key press.
2006-06-21 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/Makefile.am: Re-fix distcheck after last commit.
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.
2006-06-21 Ross Burton <ross@openedhand.com>
* Makefile.am:
* gtk/Makefile.am:
Add gtk widget to distcheck and fix.
2006-06-21 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/Makefile.am:
* bindings/python/Makefile.am:
* Makefile.am: Fix distcheck
2006-06-21 Ross Burton <ross@openedhand.com>
* clutter/Makefile.am:
* examples/Makefile.am:
Fix dist.
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.
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.
2006-06-14 Matthew Allum <mallum@openedhand.com>
* configure.ac:
Add checks for GL/gl.h and GL/glx.h
2006-06-14 Matthew Allum <mallum@openedhand.com>
* AUTHORS:
* README:
* TODO:
Update all.
2006-06-13 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-video-texture.c:
Add missing license.
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.
2006-06-12 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-media.c:
* clutter/clutter-media.h:
* clutter/clutter-video-texture.c:
* clutter/clutter-video-texture.h:
* clutter/clutter.h:
* examples/test-video.c: (main):
* examples/video-cube.c: (main):
Add new 'media' interface.
Drop Totem based video playback code replace with newly
rewritten supper Jorn based code. Clutter is now fully LGPL.
* clutter/clutter-texture.c: (tile_dimension):
Remove uneeded overlap code.
2006-06-08 Iain Holmes <iain@openedhand.com>
* clutter/clutter-texture.c:
Opps, undo change I didn't mean to commit
2006-06-08 Iain Holmes <iain@openedhand.com>
* configure.ac:
Add gdk-pixbuf-xlib cflags/libs to clutter libs
Build the gtk-clutter.pc file.
* clutter.pc.in:
Add the gdk-pixbuf-xlib depends.
* gtk/gtk-clutter.pc.in:
pkg-config stuff for gtk-clutter
* gtk/Makefile.am:
Install gtk-clutter.pc
2006-06-08 18:44:14 -04:00
2006-06-08 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-main.c:
* clutter/clutter-private.h:
* clutter/clutter-stage.c:
Rework and fix offscreen rendering, also rejig GLX
context handling, moving mostly into stage.
Require at least OpenGL 1.2 ( CLAMP_TO_EDGE )
* clutter/clutter-texture.c:
Explicity set props on _init() as to avoid nasty can_create
bug failing miserably in certain situations.
Switch to CLAMP_TO_EDGE for textures to avoid tile seams.
Add some more GL error checks.
* clutter/clutter-label.c:
Extra debug info
* configure.ac:
Require gdk-pixbuf-xlib-2.0
2006-06-06 Matthew Allum <mallum@openedhand.com>
* configure.ac:
Use pkg-config to check for X. Really Check for GL libs.
Make gtk binding optional. Cleanup a little.
* Makefile.am:
* gtk/Makefile.am:
Make gtk binding optional
* clutter/clutter-element.c:
Cleanup a little, notify on size change.
* clutter/clutter-texture.c:
Lots of cleanups. Add waste prop. Add filter quality prop.
* clutter/clutter-clone-texture.c:
Make object construction simpler to work better with bindings.
* clutter/clutter-stage.c:
* clutter/clutter-timeline.c:
Minor reformating, cleanups.
* examples/test-text.c: (main):
Random experimentation
2006-06-06 Iain Holmes <iain@openedhand.com>
* gtk/gtk-clutter.c (size_request): Take the size of the widget from
the ClutterStage.
(gtk_clutter_class_init): Hook up size-request
2006-06-06 Iain Holmes <iain@openedhand.com>
* gtk/: Add a gtk widget for clutter.
* configure.ac: Add GTK checks
* Makefile.am: Go into gtk/
2006-06-05 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-group.c: (clutter_group_remove):
Fix parent check.
2006-06-05 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-event.h:
Remove send_event field. Clutter shouldn't need it.
* clutter/clutter-main.c: (clutter_dispatch_x_event):
Dont malloc a new clutter event for each xevent.
* clutter/clutter-stage.h:
* clutter/clutter-stage.c: (clutter_stage_class_init),
(clutter_stage_get_default):
Dont ref stage from clutter_stage_get_default.
* examples/super-oh.c: (main):
Remove some now uneeded debug g_prints
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com> * clutter-color.h: * clutter-color.c: Reimplement ClutterColor as a boxed type; add convenience API for color handling, like: add, subtract, shade, HSL color-space conversion, packing and unpacking. * clutter-private.h: Update ClutterMainContext, and export the main context pointer here. * clutter-rectangle.h: * clutter-rectangle.c: Update the color-related code; make clutter_rectangle_new() and empty constructor and provide clutter_rectangle_new_with_color(); provide color setter and getter API. * clutter-label.h: * clutter-label.c: Rename the "font" property to "font-name"; update the color-related code to the new ClutterColor object; rename clutter_label_new() to clutter_label_new_with_text(), and add setters and getters for the properties. * clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers generators. * clutter-stage.h: * clutter-stage.c: Rework the API: provide a default constructor for a singleton object, named clutter_stage_get_default(), which supercedes the clutter_stage() function in clutter-main; provide new events: button-press-event, button-release-event, key-press-event and key-release-event; update the color-related code; (clutter_stage_snapshot): Allow negative width and height when taking a snapshot (meaning: use full width/height). (clutter_stage_get_element_at_pos): Rename clutter_stage_pick(). * clutter-element.c (clutter_element_paint): Clean up the stage and color related code. * clutter-event.h: * clutter-event.c: Add generic ClutterAnyEvent type; add clutter_event_new(), clutter_event_copy() and clutter_event_free(); make ClutterEvent a boxed type. * clutter-main.h: * clutter-main.c: Remove clutter_stage(); add clutter_main_quit(), for cleanly quitting from clutter_main(); add multiple mainloops support; allocate the ClutterCntx instead of adding it to the stack; re-work the ClutterEvent dispatching. * clutter-group.c (clutter_group_add), (clutter_group_remove): Keep a reference on the element when added to a ClutterGroup. * examples/rects.py * examples/test.c: * examples/test-text.c: * examples/video-cube.c: * examples/super-oh.c: * examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-04 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c:
* clutter/clutter-group.c:
* clutter/clutter-group.h:
Work more on depth ( Z ) setting with sorting.
* clutter/clutter-main.c: (clutter_redraw):
Experiment with glXWaitVideoSyncSGI. Currently disabled.
2006-06-02 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.h:
Add missing _depth() declarations
* clutter/clutter-main.c:
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com> * clutter-color.h: * clutter-color.c: Reimplement ClutterColor as a boxed type; add convenience API for color handling, like: add, subtract, shade, HSL color-space conversion, packing and unpacking. * clutter-private.h: Update ClutterMainContext, and export the main context pointer here. * clutter-rectangle.h: * clutter-rectangle.c: Update the color-related code; make clutter_rectangle_new() and empty constructor and provide clutter_rectangle_new_with_color(); provide color setter and getter API. * clutter-label.h: * clutter-label.c: Rename the "font" property to "font-name"; update the color-related code to the new ClutterColor object; rename clutter_label_new() to clutter_label_new_with_text(), and add setters and getters for the properties. * clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers generators. * clutter-stage.h: * clutter-stage.c: Rework the API: provide a default constructor for a singleton object, named clutter_stage_get_default(), which supercedes the clutter_stage() function in clutter-main; provide new events: button-press-event, button-release-event, key-press-event and key-release-event; update the color-related code; (clutter_stage_snapshot): Allow negative width and height when taking a snapshot (meaning: use full width/height). (clutter_stage_get_element_at_pos): Rename clutter_stage_pick(). * clutter-element.c (clutter_element_paint): Clean up the stage and color related code. * clutter-event.h: * clutter-event.c: Add generic ClutterAnyEvent type; add clutter_event_new(), clutter_event_copy() and clutter_event_free(); make ClutterEvent a boxed type. * clutter-main.h: * clutter-main.c: Remove clutter_stage(); add clutter_main_quit(), for cleanly quitting from clutter_main(); add multiple mainloops support; allocate the ClutterCntx instead of adding it to the stack; re-work the ClutterEvent dispatching. * clutter-group.c (clutter_group_add), (clutter_group_remove): Keep a reference on the element when added to a ClutterGroup. * examples/rects.py * examples/test.c: * examples/test-text.c: * examples/video-cube.c: * examples/super-oh.c: * examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
Rejig GL setup as for stage to support an offscreen property.
Offscreen support is however a little borked.
2006-06-01 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c:
Fix a snafu in clutter_element_raise ()
* clutter/clutter-timeline.c:
* clutter/clutter-timeline.h:
Add new clutter_timeline_is_playing() method
2006-05-29 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-color.c: (clutter_color_set):
Fix bit shifts in clutter color setters.
2006-05-29 04:59:36 -04:00
2006-05-29 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c:
* clutter/clutter-element.h:
Add initial new element depth() getter and setter.
* clutter/clutter-group.c:
* clutter/clutter-group.h:
Add 2 new methods for listing a groups children externally.
2006-05-27 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-clone-texture.c (set_parent_texture),
(clutter_clone_texture_set_property),
(clutter_clone_texture_get_property),
(clutter_clone_texture_class_init),
(clutter_clone_texture_new): Add a "parent-texture"
constructor-only property to simplify the constructor code.
* clutter/clutter-rectangle.c (clutter_rectangle_new):
* clutter/clutter-timeline.c (clutter_timeline_new): Simplify
the constructor code.
* examples/rect.py: Use the new method names for clutter.main()
and clutter.stage().
2006-05-26 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-element.c: Fix gtk-doc annotations for public
functions; add sanity checks for public API; factor out some
pointer dereferences.
2006-05-26 Emmanuele Bassi <ebassi@openedhand.com>
Big entry, small changes.
* clutter/clutter-rectangle.c:
* clutter/clutter-clone-texture.c:
* clutter/clutter-group.c:
* clutter/clutter-element.c:
* clutter/clutter-label.c: Use the GObject built-in definition
of a private data structure; it removes the need for managing
the allocation/de-allocation of a private structure ourselves.
* clutter/clutter-group.h:
* clutter/clutter-label.h: Add padding, for adding signals and
other class-wide definitions without breaking ABI.
* clutter/clutter-element.h:
* clutter/clutter-element.c (clutter_element_box_get_type),
(clutter_element_box_copy): Make ClutterElementBox a GBoxed
type; clean up declarations of the enums and flags.
* clutter/clutter-group.h:
* clutter/clutter-group.c (clutter_group_add_many_valist),
(clutter_group_add_many): Add a _valist version of
clutter_group_add_many() function, and re-implement the latter
as a proxy for the former; language bindings do not cope
well with variable argument functions.
* clutter/clutter-video-texture.h:
* clutter/clutter-video-texture.c: Use the right prefix for
the error and for the ratio enumerations.
* clutter/*.c:
* clutter/*.h:
* clutter/Makefile.am: Use the <clutter/...> include path
for parallel installations.
* clutter/Makefile.am:
* clutter/clutter-enum-types.h:
* clutter/clutter-enum-types.c: Register the enumeration types
inside the GObject type system in order to use them as properties
and bindings automagically pick them up.
* bindings/python/ChangeLog: Add a changelog for the bindings...
* doc/reference/ChangeLog: ... and a changelog for the reference.
* examples/test.c:
* examples/video-cube.c:
* examples/test-video.c: Use the <clutter/clutter.h> header.
2006-05-25 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-clone-texture.c:
(clone_texture_render_to_gl_quad):
Remove uneeded bogus warning. Fix a typo causing large
texture to get incorrectly rendered.
* clutter/clutter-texture.c: (init_tiles),
(texture_render_to_gl_quad), (clutter_texture_sync_pixbuf),
(clutter_texture_realize):
Add some new debug info.
* clutter/clutter-video-texture.c: (fakesink_handoff_cb):
Set the pixbuf from GST_BUFFER_DATA() a little safer.
2006-05-25 Matthew Allum <mallum@openedhand.com>
* clutter.pc.in:
Fix prefix snafu via Ross.
2006-05-24 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c: (clutter_element_paint),
(clutter_element_class_init):
* clutter/clutter-label.c: (clutter_label_make_pixbuf):
* clutter/clutter-main.c: (clutter_main):
* clutter/clutter-stage.c: (sync_fullscreen), (sync_gl_viewport):
* clutter/clutter-stage.h:
Various minor tweaks / fixes needed by o.p.t
* clutter/clutter-texture.c: (texture_render_to_gl_quad),
(clutter_texture_sync_pixbuf), (clutter_texture_set_property),
(clutter_texture_get_property), (clutter_texture_class_init):
Experiment adding currently borked repreating textures,
* clutter/clutter-timeline.c: (timeline_timeout_func),
(clutter_timeline_skip):
Fix timeline callback frame counting.
* examples/test-video.c: (main):
Experiment with repeated textures.
2006-05-23 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-clone-texture.h:
Fix Include.
* clutter/clutter-element.c: (clutter_element_set_parent):
Only unref if parent non NULL
* clutter/clutter-label.c: (clutter_label_class_init),
(clutter_label_set_text), (clutter_label_set_font):
* clutter/clutter-stage.h:
Add some utility defines
* clutter/clutter-texture.c: (init_tiles):
* clutter/clutter-timeline.c: (clutter_timeline_class_init),
(timeline_timeout_func), (clutter_timeline_get_current_frame):
* clutter/clutter-timeline.h:
Add a 'completed' signal
Dont free priv when g_type_class_private used.
* clutter/clutter.h:
Add missing clutter-rectangle.h
* examples/Makefile.am:
* examples/super-oh.c: (main):
* examples/test.c:
* examples/video-cube.c:
Fix includes
2006-05-22 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c:
* clutter/clutter-element.h:
* clutter/clutter-event.c:
* clutter/clutter-group.c: (clutter_group_remove_all):
* clutter/clutter-group.h:
* clutter/clutter-main.c: (translate_button_event),
(translate_motion_event):
Improve mouse event handling.
Add code to map arbituary ( i.e cursor ) position to
a clutter element using OpenGL 'picking'.
* clutter/clutter-texture.c:
* clutter/clutter-clone-texture.c:
re-realize parent texture if it gets hidden.
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
Make sure stage sets gl viewport up even if just default size.
(clutter_texture_hide), (clutter_texture_paint):
* doc/reference/Makefile.am:
* examples/super-oh.c: (input_cb), (frame_cb), (main):
Add test for mouse events, click to remove.
2006-05-21 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c:
* clutter/clutter-element.h:
Add new core sizing methods and more documentation.
* clutter/clutter-group.c:
* clutter/clutter-group.h:
Use the sizing bits and documentation.
* clutter/clutter-main.c:
* clutter/clutter-event.h:
Add FPS display when CLUTTER_SHOW_FPS env var set.
Add initial support for mouse events.
* clutter/clutter-stage.c:
Add 'snapshot' method.
* clutter/clutter-texture.c: (clutter_texture_new_from_pixbuf):
* clutter/clutter-texture.h:
Documentation.
* clutter/clutter-timeline.c:
Add support for changing FPS setting on the fly. Document.
* examples/super-oh.c: (frame_cb), (main):
Add an optional motion trails effect.
2006-05-17 Matthew Allum <mallum@openedhand.com>
* README:
Add a tiny bit of info
* TODO:
Sync up a little
* clutter/clutter-clone-texture.c:
(clone_texture_render_to_gl_quad):
* clutter/clutter-element.c: (clutter_element_show),
(clutter_element_realize), (clutter_element_unrealize),
(clutter_element_paint), (clutter_element_set_id),
(clutter_element_get_id):
* clutter/clutter-element.h:
Rename REALISE() to REALIZE()
* clutter/clutter-texture.c: (texture_render_to_gl_quad),
(clutter_texture_sync_pixbuf), (clutter_texture_set_pixbuf):
* clutter/clutter-video-texture.c: (query_timeout),
(got_video_size), (caps_set), (parse_stream_info),
(handle_element_message), (bus_message_cb),
(poll_for_state_change_full), (clutter_video_texture_get_property),
(clutter_video_texture_class_init), (clutter_video_texture_init),
(clutter_video_texture_open), (clutter_video_texture_seek_time),
(stop_play_pipeline):
* clutter/clutter-video-texture.h:
Move over using fakesink and handoff instead of custom element
Support 3 channel pixbufs as textures and thus increase efficiency
of video texture ( also avoids byte swapping. )
Clean up video texture code somemore.
Add some metadata support.
* Makefile.am:
* configure.ac:
Disable old custom clutter gst element from build.
* examples/test-video.c: (foo), (size_change), (tick), (main):
* examples/video-cube.c: (clutter_video_texture_cube_paint):
Sink with new API. Pause on key press.
2006-05-13 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c: (redraw_update_idle),
(clutter_element_show), (clutter_element_hide),
(clutter_element_realize), (clutter_element_unrealize),
(clutter_element_class_init), (clutter_element_init),
(clutter_element_queue_redraw), (clutter_element_set_geometry),
(clutter_element_get_geometry), (clutter_element_get_coords),
(clutter_element_set_position), (clutter_element_set_size),
(clutter_element_get_abs_position), (clutter_element_get_width),
(clutter_element_get_height), (clutter_element_get_x),
(clutter_element_get_y), (clutter_element_set_opacity):
* clutter/clutter-texture.c: (clutter_texture_get_base_size),
(clutter_texture_bind_tile), (clutter_texture_get_n_tiles),
(clutter_texture_get_x_tile_detail),
(clutter_texture_get_y_tile_detail):
* doc/reference/Makefile.am:
* doc/reference/clutter.types:
Documentation updates.
2006-05-13 Matthew Allum <mallum@openedhand.com>
* clutter.pc.in:
Add @MAJORMINOR@ to installed dirs.
* clutter/clutter-main.c: (clutter_xscreen), (clutter_init):
* clutter/clutter-main.h:
* clutter/clutter-private.h:
Quick fix for debug statements so now only appear
if CLUTTER_DBBUG env var set.
2006-05-12 Matthew Allum <mallum@openedhand.com>
* configure.ac:
* Makefile.am:
* clutter/Makefile.am:
* bindings/python/Makefile.am:
* examples/Makefile.am:
* gst/Makefile.am:
Clean up autofoo a bit fixing versioning.
* bootstrap-autotools.sh:
* clutter-1.0.pc.in:
Rename.
2006-05-12 Matthew Allum <mallum@openedhand.com>
* bindings/python/Makefile.am:
* bindings/python/clutter.override:
* clutter/Makefile.am:
* clutter/clutter-bin.c:
* clutter/clutter-bin.h:
* clutter/clutter-element.c: (clutter_element_dispose),
(clutter_element_raise), (clutter_element_lower):
* clutter/clutter-group.c:
* clutter/clutter-group.h:
* clutter/clutter-main.c: (clutter_threads_leave):
* clutter/clutter-main.h:
* clutter/clutter-stage.c: (clutter_stage_class_init):
* clutter/clutter-stage.h:
* clutter/clutter.h:
* examples/super-oh.c: (frame_cb), (main):
* examples/test-text.c: (main):
* examples/test-video.c: (main):
* examples/test.c: (main):
* examples/video-cube.c: (main):
Rename clutter-bin to clutter-group
2006-05-11 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-clone-texture.c:
(clone_texture_render_to_gl_quad), (clutter_clone_texture_paint),
(clutter_clone_texture_class_init), (clutter_clone_texture_new):
Fix cloning.
* clutter/clutter-element.c: (clutter_element_rotate_z),
(clutter_element_rotate_x), (clutter_element_rotate_y):
Minor tweaks
* examples/Makefile.am:
* examples/super-oh.c:
Add a new demo - unsing rotations and clones.
2006-05-11 Matthew Allum <mallum@openedhand.com>
* bindings/python/Makefile.am:
* bindings/python/clutter-base-types.defs:
* bindings/python/clutter-base.defs:
* bindings/python/clutter.override:
Python goodiness from ebassi.
- Element geometry handled nicely.
- get_coords(), get_abs_position() added.
* clutter/clutter-element.c: (clutter_element_rotate_x),
(clutter_element_rotate_y), (clutter_element_mirror),
* clutter/clutter-element.h:
Add initial rotation API. Make Geometry boxed ( ebassi )
* clutter/clutter-stage.c: (sync_gl_viewport):
Set depth in main world transform.
* clutter/clutter-timeline.h:
Add missing new() api call.
* examples/test.c: (timeout_text_cb), (frame_cb), (main):
Tou with some rotation
2006-05-11 Matthew Allum <mallum@openedhand.com>
reviewed by: <delete if not using a buddy>
* bindings/python/Makefile.am:
* bindings/python/clutter-base-types.defs:
* bindings/python/clutter-base.defs:
* bindings/python/clutter.override:
* clutter/clutter-bin.c: (clutter_bin_paint):
* clutter/clutter-element.c: (clutter_element_paint),
(clutter_element_get_height), (clutter_element_get_x),
(clutter_element_get_y), (clutter_element_set_opacity),
(clutter_element_get_opacity), (clutter_element_set_id),
(clutter_element_get_id), (clutter_element_rotate_x),
(clutter_element_rotate_y), (clutter_element_mirror),
(clutter_element_set_clip), (clutter_element_remove_clip),
(clutter_element_set_parent), (clutter_element_get_parent),
(clutter_element_raise), (clutter_element_lower),
(clutter_element_raise_top), (clutter_element_lower_bottom):
* clutter/clutter-element.h:
* clutter/clutter-main.c: (clutter_redraw):
* clutter/clutter-stage.c: (sync_gl_viewport):
* clutter/clutter-timeline.h:
* examples/test.c: (timeout_text_cb), (frame_cb), (main):
2006-05-09 Matthew Allum <mallum@openedhand.com>
* COPYING:
* clutter/clutter-bin.c:
* clutter/clutter-bin.h:
* clutter/clutter-clone-texture.c:
* clutter/clutter-clone-texture.h:
* clutter/clutter-color.c:
* clutter/clutter-color.h:
* clutter/clutter-element.c:
* clutter/clutter-element.h:
* clutter/clutter-event.c:
* clutter/clutter-event.h:
* clutter/clutter-keysyms.h:
* clutter/clutter-label.c:
* clutter/clutter-label.h:
* clutter/clutter-main.c:
* clutter/clutter-main.h:
* clutter/clutter-private.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-timeline.c:
* clutter/clutter-timeline.h:
* clutter/clutter-util.c:
* clutter/clutter-util.h:
Add license info.
2006-05-08 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-event.c:
* clutter/clutter-event.h:
* clutter/clutter-keysyms.h:
* clutter/clutter-main.c: (clutter_dispatch_x_event):
* clutter/clutter-stage.c: (clutter_stage_class_init):
* clutter/clutter-stage.h:
* clutter/clutter.h:
* bindings/python/Makefile.am:
* bindings/python/clutter.override:
Add basic input event handling. Keys only atm.
2006-05-08 Matthew Allum <mallum@openedhand.com>
* TODO:
Sync a little.
* bindings/python/Makefile.am:
* bindings/python/clutter.override:
Fix up so pixbufs now work ( thanks ebassi! )
Add some missing newer headers.
* clutter/clutter-main.h:
Remove unused clutter_queue_redraw();
2006-05-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c: (clutter_element_class_init),
(clutter_element_init), (clutter_element_queue_redraw),
(clutter_element_set_geometry), (clutter_element_get_geometry),
(clutter_element_get_coords), (clutter_element_set_position),
(clutter_element_set_size), (clutter_element_get_abs_position),
(clutter_element_get_width), (clutter_element_get_height),
(clutter_element_get_x), (clutter_element_get_y),
(clutter_element_set_opacity):
* clutter/clutter-main.c: (clutter_dispatch_x_event):
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter-stage.c: (clutter_stage_set_color):
* clutter/clutter-texture.c: (clutter_texture_set_pixbuf):
Rename clutter_queue_redraw -> clutter_element_queue_redraw
* clutter/clutter-label.c: (clutter_label_make_pixbuf),
(clutter_label_set_property), (clutter_label_set_text_extents):
* clutter/clutter-label.h:
Fixes to extents
* examples/Makefile.am:
* examples/test-text.c:
Add sime test text example.
2006-05-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-label.c: (clutter_label_make_pixbuf),
(clutter_label_get_property), (clutter_label_dispose),
(clutter_label_class_init), (clutter_label_init),
(clutter_label_new_with_text), (clutter_label_new),
(clutter_label_set_text), (clutter_label_set_font),
(clutter_label_set_text_extents), (clutter_label_set_fg_color):
* examples/test.c: (main):
Slight efficiency improvements. Add initial extents API.
2006-05-07 Matthew Allum <mallum@openedhand.com>
* TODO:
resync.
* clutter/Makefile.am:
* clutter/clutter-clone-texture.c:
* clutter/clutter-clone-texture.h:
Add new texture clone element.
* clutter/clutter-color.c:
* clutter/clutter-color.h:
Add simple color API.
* clutter/clutter-util.c:
* clutter/clutter-util.h:
Move shared texture funcs into shared util code.
* clutter/clutter-texture.c: (can_create), (tile_dimension),
(init_tiles), (texture_render_to_gl_quad),
(clutter_texture_unrealize), (clutter_texture_sync_pixbuf),
(clutter_texture_realize), (clutter_texture_show),
(clutter_texture_hide), (clutter_texture_paint),
(clutter_texture_finalize), (clutter_texture_set_property),
(clutter_texture_get_property), (clutter_texture_class_init),
(clutter_texture_init), (clutter_texture_set_pixbuf),
(clutter_texture_new_from_pixbuf), (clutter_texture_get_base_size),
(clutter_texture_bind_tile):
Changes for clones to work.
* clutter/clutter-element.c: (clutter_element_paint),
(clutter_element_set_property), (clutter_element_get_property),
(clutter_element_set_position), (clutter_element_set_size),
(clutter_element_get_abs_position), (clutter_element_get_width),
(clutter_element_get_height), (clutter_element_get_x),
(clutter_element_get_y), (clutter_element_set_opacity),
(clutter_element_get_opacity), (clutter_element_set_id),
(clutter_element_get_id), (clutter_element_set_clip):
* clutter/clutter-element.h:
Add clipping and other tweaks.
* clutter/clutter-stage.c: (sync_gl_viewport),
(clutter_stage_paint), (clutter_stage_init):
Add psuedo 3D desktop like GL setup.
* clutter/clutter-label.c: (clutter_label_make_pixbuf):
* clutter/clutter-label.h:
* clutter/clutter-main.c: (clutter_redraw):
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter-rectangle.c: (clutter_rectangle_paint):
* clutter/clutter-stage.h:
* clutter/clutter-texture.h:
* clutter/clutter-timeline.c: (clutter_timeline_class_init):
* clutter/clutter-video-texture.c:
* clutter/clutter.h:
* examples/test-video.c: (foo), (size_change), (tick), (main):
* examples/test.c: (main):
* examples/video-cube.c: (clutter_video_texture_cube_paint),
(clutter_video_texture_cube_class_init),
(clutter_video_texture_cube_init):
Various minor tweaks for API changes, new features etc.
2006-05-03 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-bin.c: (clutter_bin_paint):
* clutter/clutter-bin.h:
* clutter/clutter-element.c: (clutter_element_unrealize),
(clutter_element_paint), (clutter_element_set_property),
(clutter_element_get_property), (clutter_element_dispose),
(clutter_element_finalize), (clutter_element_class_init),
(clutter_element_init), (clutter_element_queue_redraw),
(clutter_element_set_geometry), (clutter_element_get_geometry),
(clutter_element_get_coords), (clutter_element_set_position),
(clutter_element_set_size), (clutter_element_get_abs_position),
(clutter_element_set_opacity), (clutter_element_get_opacity),
(clutter_element_set_clip), (clutter_element_remove_clip),
(clutter_element_set_parent), (clutter_element_get_parent),
(clutter_element_raise), (clutter_element_lower),
(clutter_element_raise_top), (clutter_element_lower_bottom):
* clutter/clutter-element.h:
* clutter/clutter-label.c: (clutter_label_set_fg_color):
* clutter/clutter-rectangle.c: (clutter_rectangle_paint),
(clutter_rectangle_set_property), (clutter_rectangle_init):
* clutter/clutter-stage.c: (sync_xwindow_size):
* clutter/clutter-texture.c: (clutter_texture_paint),
(clutter_texture_set_pixbuf):
Clean up ClutterElement, removing globals, improving sizing
and initial clipping code.
* clutter/clutter.h:
* clutter/clutter-timeline.c: (clutter_timeline_class_init),
(timeline_timeout_func), (clutter_timeline_start),
(clutter_timeline_pause), (clutter_timeline_rewind),
(clutter_timeline_skip), (clutter_timeline_advance),
(clutter_timeline_get_current_frame), (clutter_timeline_new):
* clutter/clutter-timeline.h:
Various fixes to timelines. Implement frame skipping.
* examples/test.c: (timeout_text_cb), (main):
Update to use timeline.
2006-05-02 Matthew Allum <mallum@openedhand.com>
* TODO:
Update
* clutter/clutter-element.h:
* clutter/clutter-rectangle.h:
Minor formatting cleanups
2006-05-02 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-timeline.c:
* clutter/clutter-timeline.h:
Add initial timeline implementation
2006-05-02 Matthew Allum <mallum@openedhand.com>
* bindings/python/Makefile.am:
* bindings/python/cluttermodule.c: (initclutter):
Fix python build with new -1.0 naming. Use of GdkPixbufs
still causing crashes.
2006-04-30 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-main.c: (events_init), (redraw_update_idle),
(clutter_queue_redraw), (clutter_redraw):
Fix repaint queueing, using idle handler now.
Clean up some minor compiler warnings.
* clutter/clutter-main.h:
* clutter/clutter-texture.c: (clutter_texture_unrealize),
(clutter_texture_set_pixbuf):
Rename gl_lock/unlock to threads_enter/leaver
2006-04-30 Matthew Allum <mallum@openedhand.com>
* Makefile.am:
* clutter-1.0.pc.in:
* clutter/Makefile.am:
* clutter/clutter-bin.h:
* clutter/clutter-label.h:
* clutter/clutter-rectangle.h:
* clutter/clutter-stage.h:
* clutter/clutter-texture.h:
* clutter/clutter-video-texture.h:
* clutter/clutter.h:
* configure.ac:
* examples/Makefile.am:
Add .pc file, tag -1.0 onto lib, includes dir naming.
2006-04-29 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-main.c: (clutter_dispatch_x_event),
(clutter_queue_redraw), (clutter_redraw):
Simplify paint event queueing. Does not actually queue
anymore (broken), needs wrong to reduce high number of
uneeded paints.
* clutter/clutter-texture.c: (clutter_texture_set_pixbuf):
Remove visible check which broke paints of resized texture pixmaps.
2006-04-19 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-bin.c: (clutter_bin_paint), (clutter_bin_add):
* clutter/clutter-element.c: (clutter_element_paint):
* clutter/clutter-element.h:
* clutter/clutter-label.c: (clutter_label_set_property),
(clutter_label_get_property), (clutter_label_class_init):
* clutter/clutter-marshal.list:
* clutter/clutter-rectangle.c: (clutter_rectangle_set_property),
(clutter_rectangle_get_property), (clutter_rectangle_class_init):
* clutter/clutter-stage.c: (clutter_stage_dispose),
(clutter_stage_get_property), (clutter_stage_class_init):
* clutter/clutter-texture.c: (clutter_texture_realize),
(clutter_texture_class_init), (clutter_texture_set_pixbuf):
* clutter/clutter-texture.h:
More object cleanups. Add signal to texture size changes.
Fix color props. Adjust element realise flags workings ( broken ).
* examples/test-video.c: (main):
Broken due to realize flag changes.
2006-04-18 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-bin.c: (clutter_bin_get_property),
(clutter_bin_finalize), (clutter_bin_class_init),
(clutter_bin_new), (clutter_bin_show_all), (clutter_bin_hide_all),
(clutter_bin_add):
* clutter/clutter-bin.h:
* clutter/clutter-element.c: (clutter_element_get_property),
(clutter_element_finalize), (clutter_element_class_init),
(clutter_element_set_parent), (clutter_element_get_parent),
(clutter_element_raise), (clutter_element_lower):
* clutter/clutter-element.h:
* clutter/clutter-label.c: (clutter_label_make_pixbuf),
(clutter_label_get_property), (clutter_label_dispose),
(clutter_label_finalize), (clutter_label_class_init),
(clutter_label_init), (clutter_label_new_with_text),
(clutter_label_new), (clutter_label_set_text),
(clutter_label_set_font), (clutter_label_set_fg_color):
* clutter/clutter-label.h:
* clutter/clutter-rectangle.c: (clutter_rectangle_paint),
(clutter_rectangle_set_property), (clutter_rectangle_get_property),
(clutter_rectangle_finalize), (clutter_rectangle_dispose),
(clutter_rectangle_class_init), (clutter_rectangle_init),
(clutter_rectangle_new):
* clutter/clutter-texture.c: (clutter_texture_paint),
(clutter_texture_dispose), (clutter_texture_finalize),
(clutter_texture_set_property), (clutter_texture_get_property),
(clutter_texture_class_init), (clutter_texture_init),
(clutter_texture_set_pixbuf), (clutter_texture_new_from_pixbuf):
Various GObject usages cleanups, adding properties and
finalize/dispose functions properly.
2006-04-18 Matthew Allum <mallum@openedhand.com>
* bindings/python/Makefile.am:
* bindings/python/clutter.override:
* bindings/python/cluttermodule.c: (initclutter):
* clutter/clutter-label.h:
* clutter/clutter-rectangle.h:
* clutter/clutter-video-texture.h:
More fixups to now less broken python bindings
* examples/rects.py:
A simple python script using bindings
2006-04-18 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-marshal.list:
Add missing.
2006-04-17 Matthew Allum <mallum@openedhand.com>
* Makefile.am:
* bindings/Makefile.am:
* bindings/python/Makefile.am:
* bindings/python/clutter.override:
* bindings/python/cluttermodule.c:
* configure.ac:
First shot at some python bindings ( broken atm )
* clutter/clutter-bin.h:
* clutter/clutter-element.h:
* clutter/clutter-stage.h:
* clutter/clutter-texture.h:
* clutter/clutter.h:
Rejig headers a little so h2def.py happier
2006-04-17 Matthew Allum <mallum@openedhand.com>
* TODO:
* doc/clutter.types:
* doc/reference/Makefile.am:
Move gtk-doc gubbins to doc/reference
2006-04-16 Matthew Allum <mallum@openedhand.com>
* TODO:
More updates
* clutter/clutter-bin.c: (clutter_bin_paint):
Add translate call
* clutter/clutter-texture.c: (clutter_texture_dispose),
(clutter_texture_class_init), (clutter_texture_set_pixbuf):
Fixup object finalization a little.
* bootstrap-autotools.sh:
* configure.ac:
* doc/Makefile.am:
* doc/clutter.types:
Add gtk-doc infrastructure
2006-04-15 Matthew Allum <mallum@openedhand.com>
* TODO:
More ideas.
* clutter/Makefile.am:
* clutter/clutter-rectangle.c: (clutter_rectangle_new):
Sync passed color alpha chan to element opacity,
* clutter/clutter-video-texture.c:
(clutter_video_texture_error_quark), (signal_eos_delayed),
(query_timeout), (got_video_size), (caps_set), (parse_stream_info),
(handle_element_message)
* clutter/clutter-video-texture.h:
Port more of bacon video widget API.
* examples/test-video.c: (foo), (tick), (main):
Add a simple overlay displaying playback time.
2006-04-15 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c:
* clutter/clutter-label.c: (clutter_label_init),
(clutter_label_new_with_text):
* clutter/clutter-label.h:
* clutter/clutter-main.c: (clutter_redraw), (clutter_gl_unlock):
* clutter/clutter-main.h:
* clutter/clutter-rectangle.c: (clutter_rectangle_init),
(clutter_rectangle_new):
* clutter/clutter-rectangle.h:
* clutter/clutter-texture.c: (clutter_texture_class_init),
(clutter_texture_set_pixbuf), (clutter_texture_new_from_pixbuf):
* clutter/clutter-texture.h:
* clutter/clutter-video-texture.c: (clutter_video_texture_init):
* clutter/clutter-video-texture.h:
* examples/test-video.c: (main):
* examples/test.c: (main):
* examples/video-cube.c: (clutter_video_texture_cube_init), (main):
Make xxx_new() return there type as ClutterElement*
2006-04-15 Matthew Allum <mallum@openedhand.com>
* TODO:
Update
* clutter/clutter-main.c:
* clutter/clutter-stage.c:
* clutter/clutter-texture.c:
* clutter/clutter-texture.h:
* gst/clutterimagesink.c: (gst_clutterimagesink_clutterimage_put),
(gst_clutterimagesink_context_get):
Various experiments with textures and 3D views.
* clutter/clutter-video-texture.c:
(clutter_video_texture_class_init), (clutter_video_texture_init):
* examples/Makefile.am:
* examples/test-video.c: (main):
* examples/video-cube.c:
Add video-cube example
2006-04-13 Matthew Allum <mallum@openedhand.com>
* TODO:
Update
* clutter/clutter-bin.c:
* clutter/clutter-bin.h:
New container element
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
Make stage a proper element
* clutter/Makefile.am:
* clutter/clutter.h:
* clutter/clutter-element.c: (clutter_element_show),
(clutter_element_set_opacity):
* clutter/clutter-element.h:
* clutter/clutter-label.c: (clutter_label_make_pixbuf),
(clutter_label_set_text), (clutter_label_set_font):
* clutter/clutter-private.h:
Various tweaks new api calls.
* clutter/clutter-main.c: (events_init):
* clutter/clutter-main.h:
Make ClutterContex Private to main
* clutter/clutter-texture.c:
* clutter/clutter-texture.h:
* clutter/clutter-video-texture.c:
(clutter_video_texture_finalize):
Fix video crash
* examples/test-video.c: (main):
* examples/test.c: (main):
Fix for API changes.
2006-04-11 Matthew Allum <mallum@openedhand.com>
* TODO:
Add
* clutter/clutter-video-texture.c:
(clutter_video_texture_finalize):
* clutter/clutter-video-texture.h:
Remove bogus pixbuf attribute
2006-04-10 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-main.c: (clutter_dispatch_x_event),
(clutter_queue_redraw), (clutter_main), (clutter_set_stage_params),
(clutter_init):
* clutter/clutter-main.h:
* clutter/clutter-private.h:
Make Stage non fullscreen ( for now ). Change event loop to
work better with video.
* clutter/Makefile.am:
* clutter/clutter-label.c: (clutter_label_make_pixbuf),
(clutter_label_class_init), (clutter_label_new_with_text),
(clutter_label_set_text), (clutter_label_set_font):
* clutter/clutter-texture.c: (texture_render_to_gl_quad),
(clutter_texture_unrealize), (clutter_texture_sync_pixbuf),
(clutter_texture_realize), (clutter_texture_show),
(clutter_texture_hide), (clutter_texture_paint),
(clutter_texture_finalize), (clutter_texture_set_property),
(clutter_texture_get_property), (clutter_texture_class_init),
(clutter_texture_init), (clutter_texture_get_pixbuf),
(clutter_texture_set_pixbuf), (clutter_texture_new_from_pixbuf):
* clutter/clutter-texture.h:
* clutter/clutter.h:
Fix leakage. Improve performance. Add support for non tiled
textures.
* examples/Makefile.am:
* examples/test.c: (timeout_text_cb), (main):
Experiments
* examples/test-video.c:
* configure.ac:
* gst/Makefile.am:
* gst/clutterimagesink.c:
* gst/clutterimagesink.h:
* clutter/clutter-video-texture.c:
* clutter/clutter-video-texture.h:
Add initial support for video textures with gst-0.10
* gst/cltrimagesink.c:
* gst/cltrimagesink.h:
Remove old gst-0.8 sink
2006-04-05 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-element.c: (clutter_element_show),
(clutter_element_hide), (clutter_element_realize),
(clutter_element_unrealize), (clutter_element_paint),
(clutter_element_finalize), (clutter_element_class_init),
(clutter_element_init), (clutter_element_new):
* clutter/clutter-element.h:
* clutter/clutter.h:
* clutter/clutter-main.c: (clutter_dispatch_x_event),
(events_init), (clutter_redraw), (clutter_main), (clutter_init),
(clutter_show_stage):
* clutter/clutter-main.h:
Various minor tweaks.
* clutter/clutter-private.h:
* clutter/clutter-texture.c: (can_create), (init_tiles),
(clutter_texture_unrealize), (clutter_texture_realize),
(clutter_texture_finalize), (clutter_texture_class_init),
(clutter_texture_init):
* clutter/clutter-texture.h:
Much improve texture class.
* clutter/clutter-label.c:
* clutter/clutter-label.h:
Add new text rendering class
* clutter/clutter-rectangle.c:
* clutter/clutter-rectangle.h:
Add basic rectangle drawing class
* examples/test.c:
Add text rendering and animation to test.
2006-04-04 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-element.c: (clutter_element_realize):
* clutter/clutter-element.h:
* clutter/clutter-image.c:
* clutter/clutter-image.h:
* clutter/clutter-main.c: (clutter_dispatch_x_event),
(clutter_main), (clutter_set_stage_params), (clutter_init):
* clutter/clutter-texture.c: (next_p2), (can_create),
(tile_dimension), (init_tiles), (texture_render_to_gl_quad),
(clutter_texture_unrealize), (clutter_texture_realize),
(clutter_texture_get_pixbuf), (clutter_texture_paint),
(clutter_texture_finalize), (clutter_texture_class_init):
* clutter/clutter-texture.h:
* clutter/clutter.h:
* configure.ac:
* examples/test.c:
Implement basic tiled texture painting.
2006-04-03 Matthew Allum <mallum@openedhand.com>
reviewed by: <delete if not using a buddy>
* clutter/Makefile.am:
* clutter/clutter-element.c:
* clutter/clutter-element.h:
* clutter/clutter-image.c:
* clutter/clutter-image.h:
* clutter/clutter-main.c: (events_init), (stage_realize),
(clutter_queue_redraw), (clutter_redraw), (clutter_add_to_stage),
(clutter_remove_from_stage), (clutter_main),
(clutter_set_stage_params), (clutter_init):
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter.h:
* examples/test.c:
2006-04-02 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/cltr-animator.c:
* clutter/cltr-animator.h:
* clutter/cltr-button.c:
* clutter/cltr-button.h:
* clutter/cltr-core.c:
* clutter/cltr-core.h:
* clutter/cltr-events.c:
* clutter/cltr-events.h:
* clutter/cltr-glu.c:
* clutter/cltr-glu.h:
* clutter/cltr-label.c:
* clutter/cltr-label.h:
* clutter/cltr-list.c:
* clutter/cltr-list.h:
* clutter/cltr-overlay.c:
* clutter/cltr-overlay.h:
* clutter/cltr-photo-grid.c:
* clutter/cltr-photo-grid.h:
* clutter/cltr-private.h:
* clutter/cltr-scratch.c:
* clutter/cltr-scratch.h:
* clutter/cltr-texture.c:
* clutter/cltr-texture.h:
* clutter/cltr-video.c:
* clutter/cltr-video.h:
* clutter/cltr-widget.c:
* clutter/cltr-widget.h:
* clutter/cltr-window.c:
* clutter/cltr-window.h:
* clutter/cltr.h:
* clutter/clutter-main.c:
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter.h:
* clutter/fonts.c:
* clutter/fonts.h:
* clutter/pixbuf.c:
* clutter/pixbuf.h:
* clutter/util.c:
* clutter/util.h:
* configure.ac:
* examples/Makefile.am:
* examples/photos.c:
* examples/player.c:
* examples/scratch.c:
* examples/select.c:
* examples/test.c:
Remove old cltr files replacing with beginnings of
rejigged 'clutter' ones.
2005-05-27 10:02:39 -04:00
2005-05-27 mallum,,, <mallum@openedhand.com>
* clutter/cltr-animator.c: (cltr_animator_zoom_new),
(cltr_animator_move_new), (cltr_animator_fullzoom_new),
(cltr_animator_new), (cltr_animator_set_args),
(cltr_animator_wrapped_zoom_paint), (cltr_animator_reset),
(cltr_animator_timeout_cb), (cltr_animator_run):
* clutter/cltr-animator.h:
* clutter/cltr-button.c: (cltr_button_set_label),
(cltr_button_paint):
* clutter/cltr-label.c: (cltr_label_new), (cltr_label_set_text),
(cltr_label_get_text), (cltr_label_show),
(cltr_label_handle_xevent), (cltr_label_paint):
* clutter/cltr-label.h:
* clutter/cltr-list.c: (cltr_list_paint):
* clutter/cltr-widget.c:
* examples/select.c: (usage), (video_ctrl_hide),
(video_ctrl_stop_cb), (video_ctrl_play_cb),
(video_ctrl_seek_begin_cb), (init_video_ctrl), (show_video_ctrl),
(populate), (cell_to_item), (zoom_video_out), (init_show_controls),
(handle_xevent), (zoom_out_complete), (zoom_in_complete):
More select hacking ...
2005-05-23 17:21:50 -04:00
2005-05-23 mallum,,, <mallum@openedhand.com>
* clutter/cltr-button.c: (cltr_button_new_with_label),
(cltr_button_handle_xevent), (cltr_button_paint):
* clutter/cltr-button.h:
* clutter/cltr-events.c: (cltr_main_loop):
* clutter/cltr-list.c: (cltr_list_cell_new),
(cltr_list_append_cell), (cltr_list_update_layout),
(cltr_list_paint):
* clutter/cltr-list.h:
* clutter/cltr-overlay.c: (cltr_overlay_paint):
* clutter/cltr-private.h:
* clutter/cltr-widget.c: (cltr_widget_show),
(cltr_widget_show_all), (cltr_widget_add_child):
* clutter/cltr-widget.h:
* clutter/cltr-window.c: (cltr_window_show), (cltr_window_paint),
(cltr_window_handle_xevent), (cltr_window_post_paint),
(cltr_window_set_paint_funcs), (cltr_window_xwin),
(cltr_window_hide_cursor), (cltr_window_set_fullscreen):
* clutter/cltr-window.h:
* examples/select.c: (usage), (init_video_ctrl), (show_video_ctrl),
(populate), (cell_to_item), (handle_xevent), (zoom_out_complete),
(zoom_in_complete), (cell_activated), (main):
Much Select hacking
2005-05-17 06:12:10 -04:00
2005-05-17 mallum,,, <mallum@openedhand.com>
* clutter/cltr-video.c: (cltr_video_get_pixbuf):
* gst/cltrimagesink.c: (gst_cltrimagesink_change_state),
(gst_cltrimagesink_chain):
Fix thread related segv's on grabbing video image.
Also pop any unplayed data from sink on stop
2005-05-16 18:38:57 -04:00
2005-05-16 mallum,,, <mallum@openedhand.com>
* clutter/cltr-animator.c: (cltr_animator_zoom_new),
(cltr_animator_fullzoom_new), (cltr_animator_new),
(cltr_animator_set_args), (cltr_animator_wrapped_paint):
* clutter/cltr-animator.h:
* clutter/cltr-list.c: (cltr_list_cell_new),
(cltr_list_get_active_cell_co_ords), (cltr_list_show),
(cltr_list_on_activate_cell), (cltr_list_update_layout),
(cltr_list_paint):
* clutter/cltr-list.h:
* clutter/cltr-texture.c: (cltr_texture_realize),
(cltr_texture_unref), (cltr_texture_sync_pixbuf),
(cltr_texture_force_rgb_data):
* clutter/cltr-video.c: (got_stream_length), (got_time_tick),
(got_state_change), (parse_stream_info), (cb_iterate),
(cltr_video_play), (cltr_video_set_volume),
(cltr_video_get_volume), (cltr_video_get_pixbuf),
(cltr_video_idler), (cltr_video_set_source),
(cltr_video_handle_xevent), (cltr_video_paint):
* clutter/cltr-video.h:
* clutter/cltr-widget.c:
* clutter/pixbuf.c: (pixbuf_write_png), (load_png_file),
(pixbuf_copy), (pixbuf_fill_rect), (pixbuf_scale_down),
(pixbuf_clone):
* examples/select.c: (usage), (populate), (cell_to_item),
(handle_xevent), (zoom_out_complete), (zoom_in_complete),
(cell_activated), (main):
* gst/cltrimagesink.c: (gst_cltrimagesink_getcaps),
(gst_cltrimagesink_chain):
Far too much hacking. Fix many endian image issues.
Greatly improve select demo
2005-05-15 19:16:19 -04:00
2005-05-16 mallum,,, <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/cltr-animator.c:
* clutter/cltr-animator.h:
* clutter/cltr-list.c: (distfunc), (cltr_list_new),
(cltr_list_get_active_cell_co_ords), (cltr_list_show),
(cltr_list_on_activate_cell), (cltr_list_handle_xevent),
(cltr_list_animate), (cltr_list_timeout_cb),
(cltr_list_update_layout), (cltr_list_paint):
* clutter/cltr-list.h:
* clutter/cltr-private.h:
* clutter/cltr.h:
* clutter/pixbuf.c: (load_png_file):
* examples/player.c:
* examples/select.c: (usage), (populate), (cell_activated), (main):
Work on animator zooming. Also build up select.c much
2005-05-14 06:19:39 -04:00
2005-05-14 mallum,,, <mallum@openedhand.com>
* clutter/cltr-animator.c:
Add initial outline
* clutter/cltr-button.c: (cltr_button_new_with_pixbuf),
(cltr_button_handle_xkeyevent), (cltr_button_handle_xevent),
(cltr_button_paint):
various tweaks/experimentation
* clutter/cltr-core.c: (cltr_init), (cltr_display_height):
* clutter/cltr-glu.c: (cltr_glu_set_color):
* clutter/cltr-glu.h:
Add unfilled rect call.
* clutter/cltr-label.c: (cltr_label_new), (cltr_label_paint):
* clutter/cltr-list.c: (distfunc), (cltr_list_cell_new),
(cltr_list_show), (cltr_list_animate), (cltr_list_paint):
update list a little.
* clutter/cltr-overlay.c: (cltr_overlay_handle_xevent),
(cltr_overlay_paint):
* clutter/cltr-private.h:
* clutter/cltr-texture.c: (cltr_texture_realize):
* clutter/cltr-video.c: (cltr_video_paint):
* clutter/cltr.h:
* clutter/fonts.c: (draw_layout_on_pixbuf):
Fix font alpha blending
* examples/Makefile.am:
* examples/player.c: (main):
* examples/scratch.c: (main):
tweaks.
* examples/select.c:
new example
2005-05-11 08:52:01 -04:00
2005-05-11 mallum,,, <mallum@openedhand.com>
* clutter/cltr-video.c: (got_buffering), (cltr_video_new),
(cltr_video_play), (cltr_video_idler):
* examples/photos.c: (main):
* examples/player.c: (handle_xevent), (main):
* gst/cltrimagesink.c: (gst_cltrimagesink_chain):
Fix Gl thread related crash on video playback
Make examples less bound to my laptop ;)
2005-05-06 13:41:15 -04:00
2005-05-06 mallum,,, <mallum@openedhand.com>
* clutter/cltr-button.c: (cltr_button_new_with_label):
* clutter/cltr-overlay.c:
* clutter/cltr-photo-grid.c: (cltr_photo_grid_cell_new),
(cltr_photo_grid_paint), (cltr_photo_grid_new):
* clutter/cltr-video.c: (cltr_video_print_tag), (got_buffering),
(got_error), (caps_set), (parse_stream_info), (cb_iterate),
(cltr_video_new), (cltr_video_play), (cltr_video_seek),
(cltr_video_seek_time), (cltr_video_stop), (cltr_video_close),
(cltr_video_pause), (cltr_video_can_set_volume),
(cltr_video_set_volume), (cltr_video_get_volume),
(cltr_video_idler), (cltr_video_set_source), (cltr_video_show),
(cltr_video_hide), (cltr_video_handle_xevent), (cltr_video_paint):
* clutter/cltr-video.h:
* clutter/cltr-widget.h:
* clutter/cltr-window.c: (cltr_window_show), (cltr_window_paint),
(cltr_window_handle_xevent), (cltr_window_set_fullscreen),
(cltr_window_focus_widget):
* clutter/cltr-window.h:
* clutter/cltr.h:
* clutter/fonts.c: (get_layout_bitmap), (font_draw),
(font_get_pixel_size):
* configure.ac:
* examples/photos.c: (photo_grid_populate):
* examples/player.c: (handle_xevent), (main):
* examples/scratch.c: (main):
Lots more tweaks, mainly updating video widget.
2005-04-29 12:44:17 -04:00
2005-04-29 mallum,,, <mallum@openedhand.com>
* clutter/cltr-button.c: (cltr_button_new),
(cltr_button_on_activate), (cltr_button_new_with_label),
(cltr_button_show):
* clutter/cltr-button.h:
* clutter/cltr-label.c: (cltr_label_new), (cltr_label_paint):
* clutter/cltr-private.h:
* clutter/cltr-video.c: (cltr_video_play):
* clutter/cltr-widget.c: (cltr_widget_new), (cltr_widget_abs_x),
(cltr_widget_abs_y), (cltr_widget_abs_x2), (cltr_widget_abs_y2),
(cltr_widget_width), (cltr_widget_height), (cltr_widget_show),
(cltr_widget_focus), (cltr_widget_unfocus),
(cltr_widget_set_focus_next), (cltr_widget_get_focus_next),
(cltr_widget_show_all):
* clutter/cltr-widget.h:
* clutter/cltr-window.c: (cltr_window_new),
(cltr_window_focus_widget):
* clutter/cltr.h:
* clutter/fonts.c: (draw_layout_on_pixbuf), (font_get_pixel_size):
* examples/scratch.c: (main):
Hack buttons some more
2005-04-27 18:17:45 -04:00
2005-04-27 mallum,,, <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/cltr-button.c: (cltr_button_new):
* clutter/cltr-label.c:
* clutter/cltr-label.h:
* clutter/cltr-photo-grid.c: (cltr_photo_grid_paint):
* clutter/cltr-texture.c: (cltr_texture_realize),
(cltr_texture_new), (cltr_texture_unref),
(cltr_texture_no_tile_new):
* clutter/cltr-texture.h:
* clutter/cltr-video.c: (cltr_video_got_time_tick), (caps_set),
(cltr_video_new), (cltr_video_idler), (cltr_video_set_source),
(cltr_video_play), (cltr_video_pause), (cltr_video_show),
(cltr_video_hide), (cltr_video_handle_xevent), (cltr_video_paint):
* clutter/cltr.h:
* clutter/fonts.c: (font_new), (draw_layout_on_pixbuf),
(font_draw):
* clutter/fonts.h:
* clutter/pixbuf.c: (pixbuf_set_pixel), (pixbuf_get_pixel):
* examples/photos.c: (photo_grid_populate), (main):
* examples/player.c: (main):
Improve video widget, use playbin rather than gst_play
Lots of misc tweaks.
2005-04-26 04:56:53 -04:00
2005-04-26 mallum,,, <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/cltr-core.c: (cltr_init):
* clutter/cltr-events.c: (cltr_events_init), (cltr_main_loop):
* clutter/cltr-photo-grid.c:
* clutter/cltr-private.h:
* clutter/cltr-scratch.c: (cltr_scratch_handle_xevent),
(cltr_scratch_paint):
* clutter/cltr-texture.c: (cltr_texture_render_to_gl_quad),
(init_tiles), (cltr_texture_unrealize), (cltr_texture_realize),
(cltr_texture_new), (cltr_texture_no_tile_new),
(cltr_texture_get_pixbuf):
* clutter/cltr-texture.h:
* clutter/cltr-video.c:
* clutter/cltr-video.h:
* clutter/cltr-widget.c: (cltr_widget_queue_paint):
* clutter/cltr.h:
* examples/Makefile.am:
* examples/player.c:
* gst/cltrimagesink.c: (gst_cltrimagesink_fixate),
(gst_cltrimagesink_getcaps), (gst_cltrimagesink_sink_link),
(gst_cltrimagesink_change_state), (gst_cltrimagesink_chain),
(gst_cltrimagesink_set_property), (gst_cltrimagesink_get_property),
(gst_cltrimagesink_finalize), (gst_cltrimagesink_class_init):
* gst/cltrimagesink.h:
Initial go at very hacky gst video widget
2005-04-22 14:03:55 -04:00
2005-04-22 mallum,,, <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/cltr-button.c:
* clutter/cltr-button.h:
* clutter/cltr-core.c: (cltr_init):
* clutter/cltr-overlay.c:
* clutter/cltr-overlay.h:
* clutter/cltr-photo-grid.c: (cltr_photo_grid_handle_xevent),
(cltr_photo_grid_cell_new), (ctrl_photo_grid_get_zoomed_coords),
(cell_is_offscreen), (cltr_photo_grid_idle_cb),
(cltr_photo_grid_navigate), (cltr_photo_grid_activate_cell),
(cltr_photo_grid_populate), (cltr_photo_grid_update_visual_state),
(cltr_photo_grid_paint), (cltr_photo_grid_show),
(cltr_photo_grid_set_fps), (cltr_photo_grid_get_fps),
(cltr_photo_grid_set_anim_steps), (cltr_photo_grid_get_anim_steps),
(cltr_photo_grid_new):
Fix up grid so external prog can load images.
* clutter/cltr-photo-grid.h:
* clutter/cltr-texture.c: (cltr_texture_realize),
(cltr_texture_new):
* clutter/cltr-texture.h:
* clutter/cltr-window.c: (cltr_window_set_fullscreen):
* clutter/cltr.h:
* clutter/pixbuf.c: (pixbuf_scale_down), (ConvolveImage),
(GaussianBlurImage):
* clutter/pixbuf.h:
New experimental Methods
* configure.ac:
* examples/Makefile.am:
* examples/photos.c:
* examples/player.c:
Add new examples
* gst/Makefile.am:
* gst/cltrimagesink.c:
* gst/cltrimagesink.h:
Add initial crusty ( broken ) gst stuff
2005-04-13 15:49:56 -04:00
2005-04-13 mallum,,, <mallum@openedhand.com>
* bootstrap-autotools.sh:
* clutter/Makefile.am:
* clutter/cltr.c:
* configure.ac:
* examples/Makefile.am:
* examples/scratch.c:
Initial autotooling of everything.
2005-04-07 18:46:43 -04:00
2005-04-07 mallum,,, <mallum@openedhand.com>
* Makefile:
* cltr-events.c: (cltr_main_loop):
* cltr-list.c:
* cltr-list.h:
Add list widget
* cltr-photo-grid.c: (cltr_photo_grid_cell_new),
(cltr_photo_grid_append_cell), (ctrl_photo_grid_cell_to_coords),
(ctrl_photo_grid_get_zoomed_coords), (cltr_photo_grid_idle_cb),
(cltr_photo_grid_navigate), (cltr_photo_grid_activate_cell),
(cltr_photo_grid_update_visual_state), (cltr_photo_grid_paint),
(cltr_photo_grid_show), (cltr_photo_grid_new):
* cltr-texture.c:
* cltr-widget.c:
* cltr-window.c: (cltr_window_new), (cltr_window_show),
(cltr_window_handle_xevent):
* cltr-window.h:
* cltr.c: (main):
* cltr.h:
* pixbuf.c: (pixbuf_copy):
* pixbuf.h:
Cleanups
2005-04-03 12:13:08 -04:00
2005-04-03 mallum,,, <mallum@openedhand.com>
* Makefile:
* cltr-core.c:
* cltr-core.h:
* cltr-events.c:
* cltr-events.h:
* cltr-photo-grid.c: (cltr_photo_grid_handle_xkeyevent),
(cltr_photo_grid_handle_xevent), (cltr_photo_grid_cell_new),
(cltr_photo_grid_append_cell), (ctrl_photo_grid_cell_to_coords),
(ctrl_photo_grid_get_zoomed_coords), (cell_is_offscreen),
(cltr_photo_grid_idle_cb), (cltr_photo_grid_navigate),
(cltr_photo_grid_activate_cell), (cltr_photo_grid_populate),
(cltr_photo_grid_paint), (cltr_photo_grid_show),
(cltr_photo_grid_new):
* cltr-photo-grid.h:
* cltr-private.h:
* cltr-texture.c:
* cltr-texture.h:
* cltr-widget.c:
* cltr-widget.h:
* cltr-window.c:
* cltr-window.h:
* cltr.c:
* cltr.h:
Add very basic initial toolkit infrastructure
2005-03-31 13:19:25 -05:00
2005-03-31 mallum,,, <mallum@openedhand.com>
* cltr-photo-grid.c: (cltr_photo_grid_append_cell),
(ctrl_photo_grid_cell_to_coords),
(ctrl_photo_grid_get_zoomed_coords), (cell_is_offscreen),
(cltr_photo_grid_idle_cb), (cltr_photo_grid_navigate),
(cltr_photo_grid_activate_cell), (cltr_photo_grid_populate),
(cltr_photo_grid_redraw), (cltr_photo_grid_new):
* cltr-photo-grid.h:
* cltr-texture.c: (cltr_texture_render_to_gl_quad), (init_tiles),
(cltr_texture_realize):
* cltr-texture.h:
* cltr.c: (main):
Implemented scrolling. Very rough around the edges, needs tidying.
2005-03-30 11:55:06 -05:00
2005-03-30 mallum,,, <mallum@openedhand.com>
* Makefile:
* cltr-photo-grid.c: (cltr_photo_grid_redraw),
(cltr_photo_grid_new):
* cltr-tex.c:
* cltr-tex.h:
* cltr-texture.c: (cltr_texture_new):
More renaming
2005-03-30 11:52:02 -05:00
2005-03-30 mallum,,, <mallum@openedhand.com>
* cltr-photo-grid.c: (cltr_photo_grid_populate),
(cltr_photo_grid_redraw), (cltr_photo_grid_new):
* cltr-photo-grid.h:
* cltr-tex.c: (next_p2), (cltr_texture_render_to_gl_quad),
(tile_dimension), (init_tiles), (cltr_texture_new):
* cltr-tex.h:
* cltr.h:
Rename CltrImage -> CltrTexture
2005-03-29 18:26:36 -05:00
2005-03-30 mallum,,, <mallum@openedhand.com>
* Makefile:
* cltr-photo-grid.c: (cltr_photo_grid_populate),
(cltr_photo_grid_redraw):
* cltr-photo-grid.h:
* cltr-tex.c:
* cltr-tex.h:
* cltr.c: (main):
* cltr.h:
* pixbuf.c: (pixbuf_unref), (pixbuf_copy):
* pixbuf.h:
Add intial new texture tiling code.
2005-03-27 15:12:19 -05:00
2005-03-27 mallum,,, <mallum@openedhand.com>
* Makefile:
* cltr-photo-grid.c: (cltr_photo_grid_cell_new),
(ctrl_photo_grid_get_zoomed_coords), (cltr_photo_grid_navigate),
(cltr_photo_grid_activate_cell), (cltr_photo_grid_populate),
(cltr_photo_grid_redraw), (cltr_photo_grid_new):
* cltr-photo-grid.h:
* cltr.c: (cltr_dispatch_x_event), (cltr_init), (test_idle_cb),
(main):
* cltr.h:
Add a very hacky threaded image loader.
2005-03-29 18:26:36 -05:00
Make event handling a little more efficient, though still hacky
2005-03-27 15:12:19 -05:00
* pixbuf.c: (pixel_set_vals), pixbuf.h:
Add copy func ( unused as yet )
2005-03-25 12:22:10 -05:00
2005-03-25 mallum,,, <mallum@openedhand.com>
* cltr-photo-grid.c: (cltr_photo_grid_cell_new),
(ctrl_photo_grid_get_zoomed_coords), (cltr_photo_grid_redraw),
(cltr_photo_grid_new):
* cltr-photo-grid.h:
* cltr.c: (cltr_window_new), (idle_cb), (main):
Use GL matrices in a saner way.
Add random rotation to picts
Random minor tweaks
2005-03-24 11:46:49 -05:00
2005-03-24 mallum,,, <mallum@openedhand.com>
* Makefile:
* cltr-photo-grid.c:
* cltr-photo-grid.h:
* cltr.c: (cltr_window_new), (cltr_main_loop):
* cltr.h:
Split up cltr.c a bit. start refactoring a bit.
2005-03-23 16:09:57 -05:00
2005-03-23 mallum,,, <mallum@openedhand.com>
* cltr.c: (cltr_photo_grid_populate), (cltr_photo_grid_redraw),
(cltr_photo_grid_new), (main):
* cltr.h:
Various minor tweaks
* pixbuf.c: (pixbuf_set_pixel), (pixbuf_get_pixel):
Fix RGBA ordering in set/get pixel
2005-03-23 13:48:27 -05:00
2005-03-23 mallum,,, <mallum@openedhand.com>
* cltr.c: (ctrl_photo_grid_get_trans_coords),
Fix grid co-ords -> translation vals converter
(cltr_photo_grid_navigate), (cltr_photo_grid_redraw),
(cltr_photo_grid_new), (idle_cb):
Fix moving between pictures when zoomed
2005-03-23 12:33:37 -05:00
2005-03-23 mallum,,, <mallum@openedhand.com>
* cltr.c: (cltr_dispatch_x_event), (cltr_window_new),
(cltr_main_loop), (cltr_photo_grid_navigate),
(cltr_photo_grid_activate_cell), (cltr_photo_grid_populate),
(cltr_photo_grid_redraw), (cltr_photo_grid_new), (idle_cb), (main):
* cltr.h:
Lots, make the grid roughly work.
* fonts.c: (get_layout_bitmap), (font_draw):
remove debug printfs
2005-03-22 12:25:52 -05:00
2005-03-22 mallum,,, <mallum@openedhand.com>
* cltr.c: (x_event_prepare), (x_event_check), (x_event_dispatch),
(cltr_dispatch_x_event), (cltr_init), (cltr_window_new),
(cltr_photo_grid_append_cell), (cltr_photo_grid_populate),
(cltr_photo_grid_redraw), (cltr_photo_grid_new),
(idle_cb), (main):
* cltr.h:
Add glib event loop