Øyvind Kolås [Fri, 7 Mar 2008 17:34:40 +0000 (17:34 +0000)]
Refactored the integer id->ClutterActor mapping code to be a self
contained data structure.
* clutter/clutter-id-pool.[ch]: new files.
* clutter/Makefile.am: added clutter-id-pool.[ch]
* clutter/clutter-private.h: use a ClutterIDPool instead of GArray and
GSList to keep track of the reusable ids.
* clutter/clutter-actor.c: moved id pool logic away.
* clutter/clutter-main.c: simplified id pool creation/finalization.
Robert Bragg [Fri, 7 Mar 2008 01:00:00 +0000 (01:00 +0000)]
2008-03-07 Robert Bragg <bob@o-hand.com>
* clutter/clutter-timeline.c:
Timeline changes to fix the issues identified in bugzilla #439
Notably, this includes some tweaks to timeline semantics. So e.g. for a
10 frame timeline here are some points about the new timeline code:
- When you create a timeline it starts with current_frame_num == 0
- After starting a timeline, the first timeout is for
current_frame_num == 1 (Notably it isn't 0 since there is a delay
before the first timeout signals so re-asserting the starting point
would give a longer than average first frame.)
- For a non looping timeline the last timeout would be for
current_frame_num == 10
- For a looping timeline the timeout for current_frame_num == 10 would
be followed by a timeout for current_frame_num == 1 and frame 0 is
considered == frame 10.
- Asking for a timeline of N frames might better be described as asking
for a timeline of _length_ N.
Warning: Although I tried to test things, I guess it's quite likely that
this breaks somthing depending on a specific quirk of the previous
timeline code.
Emmanuele Bassi [Thu, 6 Mar 2008 18:12:40 +0000 (18:12 +0000)]
2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c:
(clutter_actor_set_anchor_point_from_gravity): Fix a stupid
conversion from pixels to units that should I not have made.
Emmanuele Bassi [Thu, 6 Mar 2008 14:12:30 +0000 (14:12 +0000)]
2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
* README: Update the release notes.
Robert Bragg [Thu, 6 Mar 2008 13:47:06 +0000 (13:47 +0000)]
removes test-timeline-frame-count references
Emmanuele Bassi [Thu, 6 Mar 2008 13:39:56 +0000 (13:39 +0000)]
2008-02-28 Gwenole Beauchesne <gbeauchesne@splitted-desktop.org>
Signed off by: Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-group.c (clutter_group_real_lower): Fix to
actually lower the actor under the 'above' actor. (#822)
Emmanuele Bassi [Thu, 6 Mar 2008 12:39:24 +0000 (12:39 +0000)]
2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-entry.h:
* clutter/clutter-entry.c:
(clutter_entry_handle_key_event_internal),
(clutter_entry_key_press), (clutter_entry_class_init),
(clutter_entry_handle_key_event): Handle a default class handler
for the key-press-event, so that giving key focus to an entry will
automatically make it work. This deprecates the
clutter_entry_handle_key_event() function. (#824)
* tests/test-entry.c (main): Remove the handle_key_event()
machinery, and just give focus to the entry.
Chris Lord [Thu, 6 Mar 2008 11:44:37 +0000 (11:44 +0000)]
* clutter/clutter-model.c: (clutter_model_set_sorting_column):
Don't disable sorting on column 0
Emmanuele Bassi [Thu, 6 Mar 2008 04:37:00 +0000 (04:37 +0000)]
2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
Add support for the anchor point inside ClutterScript (#834,
David Stanczak)
* clutter/clutter-actor.c:
(clutter_actor_set_property),
(clutter_actor_get_property),
(clutter_actor_class_init): Add the :anchor-x and :anchor-y
properties to the ClutterActor class.
(clutter_actor_set_anchor_point),
(clutter_actor_set_anchor_pointu),
(clutter_actor_set_anchor_point_from_gravity): Reimplement
the pixel based and gravity based API using the units based
one. Emit the ::notify signal for the :anchor-x and :anchor-y
properties.
(parse_units),
(clutter_actor_parse_custom_node): Parse the :anchor-x and
:anchor-y properties using the custom units format (mm, px,
pt and %).
* tests/test-script.json: Test the newly added properties.
Robert Bragg [Wed, 5 Mar 2008 16:04:06 +0000 (16:04 +0000)]
Adds some new timeline unit-tests (#439) with actual timeline
fixes to follow.
Emmanuele Bassi [Wed, 5 Mar 2008 09:20:00 +0000 (09:20 +0000)]
2008-03-05 Emmanuele Bassi <ebassi@openedhand.com>
* configure.ac: Add "osx" the the AC_HELP_STRING of the flavour
selection. (#831, Peter Enzerink)
Emmanuele Bassi [Tue, 4 Mar 2008 16:23:13 +0000 (16:23 +0000)]
2008-03-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-main.c (clutter_do_event): Do not throttle the
motion events if the per-actor delivery has been disabled.
Øyvind Kolås [Tue, 4 Mar 2008 11:16:05 +0000 (11:16 +0000)]
* clutter/pango/pangoclutter-render.c: (draw_glyph): use g_slice_new0
instead of g_slice_new when allocating the glyph_info, avoiding a
branch based on uninitialized memory.
Emmanuele Bassi [Tue, 4 Mar 2008 06:08:07 +0000 (06:08 +0000)]
Update DOAP file
Emmanuele Bassi [Mon, 3 Mar 2008 18:04:16 +0000 (18:04 +0000)]
2008-03-03 Emmanuele Bassi <ebassi@openedhand.com>
* Makefile.am: Do not recurse into doc if we did not explicitly
enabled the documentation build; we just recurse into doc if we
are doing a dist or a distcheck.
Øyvind Kolås [Fri, 29 Feb 2008 14:54:28 +0000 (14:54 +0000)]
Reuse the numeric id's used for picking actors to avoid the potential
of overflowing the id numbers when continusly creating and destroying
actors on long running applications for 16bpp.
* clutter/clutter-private.h: replaced hashtable with GArray and a
GSList for available slots in the array.
* clutter/clutter-actor.c: (create_actor_id): function to create an
actor->id mapping, (release_actor_id): function to mark an existing id
as available for reuse.
* clutter/clutter-main.c: (clutter_context_free): added utility
function for cleaning up the context,
(clutter_get_actor_by_gid): use the GArray for looking up actors.
Emmanuele Bassi [Tue, 26 Feb 2008 13:57:53 +0000 (13:57 +0000)]
2008-02-26 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-alpha.c:
(clutter_exp_inc_func), (clutter_exp_dec_func): Clamp the value
of the alpha function between [0, MAX_ALPHA]. (#800)
Emmanuele Bassi [Mon, 25 Feb 2008 16:50:50 +0000 (16:50 +0000)]
2008-02-25 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-main.c (emit_event): Fix the last commit
which inverted a condition.
Emmanuele Bassi [Mon, 25 Feb 2008 12:24:56 +0000 (12:24 +0000)]
2008-02-25 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: Remove the usage of g_return_if_fail()
from static functions: either assert or use g_warning() to check
internal state, as g_return_if_fail() can be compiled out.
* clutter/clutter-main.c: Ditto as above.
Tomas Frydrych [Mon, 25 Feb 2008 11:34:51 +0000 (11:34 +0000)]
2008-02-25 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-texture.c:
(texture_update_data):
Set alignment based on actual data rowstride, not the texture
width.
Tomas Frydrych [Thu, 21 Feb 2008 15:18:14 +0000 (15:18 +0000)]
2008-02-21 Tomas Frydrych <tf@openedhand.com>
* clutter/x11/clutter-backend-x11.h:
* clutter/x11/clutter-event-x11.c:
* clutter/x11/clutter-x11.h:
(clutter_x11_handle_event):
(clutter_x11_disable_event_retrieval):
Functions to allow to hook into external XEvent retrieval (for
example when using clutter with gtk); NB: this API is tentative.
Emmanuele Bassi [Thu, 21 Feb 2008 12:45:48 +0000 (12:45 +0000)]
2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/x11/clutter-event-x11.c (event_translate): Ignore
PropertyNotify events if they don't match our window.
* clutter/x11/clutter-stage-x11.c:
(clutter_stage_x11_request_coords): Chain up to the parent's
request coords.
Emmanuele Bassi [Thu, 21 Feb 2008 12:17:01 +0000 (12:17 +0000)]
2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/x11/clutter-event-x11.c (event_translate): Ignore
ConfigureNotify events if we are painting on a foreign window.
* clutter/x11/clutter-stage-x11.c:
(clutter_stage_x11_request_coords): Reliquish control of the
window size, if we are painting on a foreign window. This fixes
the GtkClutterEmbed widget.
Emmanuele Bassi [Wed, 20 Feb 2008 17:20:36 +0000 (17:20 +0000)]
2008-02-20 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-timeline.c (clutter_timeline_set_delay): Relax
the condition to allow 0 msecs of delay (meaning: no delay).
Tomas Frydrych [Wed, 20 Feb 2008 16:00:33 +0000 (16:00 +0000)]
2008-02-20 Tomas Frydrych <tf@openedhand.com>
* clutter/Makefile.am:
Added libclutter_ ... _la_DEPENDENCIES to fix dependency tracking.
Tomas Frydrych [Wed, 20 Feb 2008 14:16:54 +0000 (14:16 +0000)]
2008-02-20 Tomas Frydrych <tf@openedhand.com>
* clutter/x11/clutter-x11.h:
* clutter/x11/clutter-backend-x11.c:
(clutter_x11_set_display):
Function to set X display connection prior to calling
clutter_init(); stripped loads of trailing space.
Tomas Frydrych [Wed, 20 Feb 2008 12:43:54 +0000 (12:43 +0000)]
2008-02-20 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-marshal.list:
* clutter/glx/Makefile.am:
* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-backend-glx.h:
* clutter/glx/clutter-glx.h:
* clutter/x11/Makefile.am:
ClutterX11TexturePixmap and ClutterGLXTexturePixmap actors (#713;
patch by Johan Bilien).
Emmanuele Bassi [Wed, 20 Feb 2008 10:59:47 +0000 (10:59 +0000)]
2008-02-20 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.h:
* clutter/clutter-actor.c:
(clutter_actor_get_abs_opacity): Add function that does what
get_opacity() does now...
(clutter_actor_get_opacity): ... and make get_opacity() do what
it's supposed to be doing. The original get_opacity() returned
a composited value, and there's no way to actually extract the
real opacity value set with set_opacity().
* clutter/clutter-clone-texture.c:
* clutter/clutter-rectangle.c:
* clutter/clutter-texture.c: Update to use get_abs_opacity().
* clutter/clutter-entry.c:
* clutter/clutter-label.c: Ditto. Also, never change the stored
alpha value. (#804)
* tests/Makefile.am:
* tests/test-opacity.c: Test suite for the get_opacity() and
get_abs_opacity() API, and correct opacity handling.
* README: Add note about the change in get_opacity().
Chris Lord [Tue, 19 Feb 2008 12:31:50 +0000 (12:31 +0000)]
* clutter/clutter-model.c: (clutter_model_resort):
Don't return when there's no sort function set, leave that to the
model sub-class
Emmanuele Bassi [Mon, 18 Feb 2008 17:42:00 +0000 (17:42 +0000)]
2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
* configure.ac:
* README: Post stable release bump to 0.7.1
Emmanuele Bassi [Mon, 18 Feb 2008 15:53:19 +0000 (15:53 +0000)]
Release 0.6.0
Emmanuele Bassi [Mon, 18 Feb 2008 14:32:57 +0000 (14:32 +0000)]
2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-list-model.c:
(clutter_list_model_iter_set_value): Fix a typo in the conversion
code.
Chris Lord [Mon, 18 Feb 2008 12:39:24 +0000 (12:39 +0000)]
* README:
Fix spelling mistake and a typo
Emmanuele Bassi [Mon, 18 Feb 2008 11:06:23 +0000 (11:06 +0000)]
2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-docs.sgml: Add building instructions for OSX
Emmanuele Bassi [Mon, 18 Feb 2008 09:56:37 +0000 (09:56 +0000)]
2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c:
(clutter_actor_get_box_from_vertices): Avoid a masking warning
caused by math.h utter braindamage.
Emmanuele Bassi [Mon, 18 Feb 2008 09:43:01 +0000 (09:43 +0000)]
2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: Document the fact that ancestor can
be NULL in the relative transformation API, and what are the
effects.
Emmanuele Bassi [Mon, 18 Feb 2008 09:40:52 +0000 (09:40 +0000)]
2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-animation.sgml: Fix warning
* creating-your-own-behaviours.sgml: Add a paragraph about
setting an initial state on the actors.
Matthew Allum [Fri, 15 Feb 2008 20:22:08 +0000 (20:22 +0000)]
2008-02-15 Matthew Allum <mallum@openedhand.com>
* clutter/pango/pangoclutter-render.c: (draw_glyph):
More safety checks (#796, Tero Saarni)
Matthew Allum [Fri, 15 Feb 2008 17:47:07 +0000 (17:47 +0000)]
2008-02-15 Matthew Allum <mallum@openedhand.com>
* clutter-docs.sgml:
Minor tweakery.
Emmanuele Bassi [Fri, 15 Feb 2008 17:16:38 +0000 (17:16 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-sections.txt: Fix ClutterMedia section.
Chris Lord [Fri, 15 Feb 2008 17:11:50 +0000 (17:11 +0000)]
* clutter/clutter-entry.c:
* clutter/clutter-group.c:
* clutter/clutter-label.c:
* clutter/clutter-rectangle.c:
* clutter/clutter-texture.c:
More documentation fixes
Chris Lord [Fri, 15 Feb 2008 16:40:26 +0000 (16:40 +0000)]
* clutter/clutter-entry.c: (clutter_entry_class_init):
More documentation fixes
Chris Lord [Fri, 15 Feb 2008 16:26:00 +0000 (16:26 +0000)]
* clutter/clutter-label.c: (clutter_label_class_init):
More documentation fixes
Emmanuele Bassi [Fri, 15 Feb 2008 16:20:28 +0000 (16:20 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-docs.sgml: Move ClutterStage from the base actors
to the container actors section.
Tomas Frydrych [Fri, 15 Feb 2008 16:17:31 +0000 (16:17 +0000)]
2008-02-15 Tomas Frydrych <tf@openedhand.com>
* clutter-docs.sgml:
Build instructions for Linux and Windows.
Emmanuele Bassi [Fri, 15 Feb 2008 15:50:21 +0000 (15:50 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-animation.sgml: Fix the animations documentation.
Chris Lord [Fri, 15 Feb 2008 15:49:44 +0000 (15:49 +0000)]
* clutter/clutter-clone-texture.c:
* clutter/clutter-texture.c: (clutter_texture_class_init):
More documentation fixes
Chris Lord [Fri, 15 Feb 2008 15:18:02 +0000 (15:18 +0000)]
* clutter/clutter-actor.c:
* clutter/clutter-container.c:
* clutter/clutter-media.c:
* clutter/clutter-rectangle.c:
* clutter/clutter-stage.c: (clutter_stage_class_init):
* clutter/clutter-stage.h:
* clutter/clutter-texture.c:
* doc/reference/clutter-docs.sgml:
Fix more documentation
Emmanuele Bassi [Fri, 15 Feb 2008 14:39:25 +0000 (14:39 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]:
* clutter/clutter-types.h:
* doc/reference/clutter-docs.sgml: Fix a lot of documentation.
2008-02-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 15 Feb 2008 14:30:45 +0000 (14:30 +0000)]
2008-02-15 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gles/cogl.c: (cogl_paint_init):
Remove depth test getting turned on by default (unlike GL backend)
Tomas Frydrych [Fri, 15 Feb 2008 13:04:33 +0000 (13:04 +0000)]
2008-02-15 Tomas Frydrych <tf@openedhand.com>
* configure.ac:
* clutter/clutter-version.h.in:
* build/msvc_2k5/clutter-version.h:
Removed unused --without-fpu configure option and CLUTTER_NO_FPU
macro
Tomas Frydrych [Fri, 15 Feb 2008 11:49:33 +0000 (11:49 +0000)]
2008-02-15 Tomas Frydrych <tf@openedhand.com>
* build/mingw/README:
* build/mingw/mingw-cross-compile.sh:
Script that automates cross compilation with mingw by Neil Roberts
<bpeeluk@yahoo.co.uk>
Matthew Allum [Fri, 15 Feb 2008 11:33:55 +0000 (11:33 +0000)]
2008-02-15 Matthew Allum <mallum@openedhand.com>
* clutter-docs.sgml:
Overhaul the overview.
Emmanuele Bassi [Fri, 15 Feb 2008 11:27:34 +0000 (11:27 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-animation.sgml: Fix some of the grammar; add a timeout-based
animation example.
* creating-your-own-behaviours.sgml: Fix some of the linking.
* subclassing-ClutterActor.sgml: Remove the FIXMEs; add the initial
structure of a section about containers.
Emmanuele Bassi [Fri, 15 Feb 2008 10:52:19 +0000 (10:52 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-docs.sgml: Fix varlistentry usage.
Emmanuele Bassi [Fri, 15 Feb 2008 10:46:38 +0000 (10:46 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Rename
clutter_actor_get_box_from_vertices() to
clutter_actor_box_get_from_vertices().
* clutter/clutter-group.c (clutter_group_query_coords): Fix the
query_coords() implementation.
Emmanuele Bassi [Fri, 15 Feb 2008 10:46:20 +0000 (10:46 +0000)]
2008-02-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-sections.txt: Add last-minute API additions.
* subclassing-ClutterActor.sgml: Fix some of the notes; the
Container implementation will need its own section.
Tomas Frydrych [Fri, 15 Feb 2008 09:40:41 +0000 (09:40 +0000)]
2008-02-15 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-actor.h:
(clutter_group_query_coords):
Added function to translate vertex array to a bounding box.
(clutter_actor_is_scaled):
(clutter_actor_is_rotated):
Fixed documentation.
Tomas Frydrych [Fri, 15 Feb 2008 09:13:58 +0000 (09:13 +0000)]
2008-02-15 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-group.c: (clutter_group_query_coords):
Disabled new code taking into account actor scale and rotation.
Tomas Frydrych [Fri, 15 Feb 2008 09:13:50 +0000 (09:13 +0000)]
2008-02-14 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-actor.h:
(clutter_actor_is_scaled):
(clutter_actor_is_rotated):
Convenience functions to test whether actor is scaled or rotated.
(clutter_actor_apply_relative_transform_to_point):
Removed unused variable.
* clutter/clutter-group.c:
(clutter_group_query_coords):
Use clutter_actor_get_relative_vertices() to calculate bounding
boxes of children that are scaled or rotated.
Tomas Frydrych [Thu, 14 Feb 2008 15:59:38 +0000 (15:59 +0000)]
2008-02-14 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-actor.h:
(clutter_actor_get_relative_vertices):
(clutter_actor_apply_relative_transform_to_point):
Functions to calculate actor vertices in the plane of a given
ancestor.
Matthew Allum [Thu, 14 Feb 2008 15:03:21 +0000 (15:03 +0000)]
2008-02-14 Matthew Allum <mallum@openedhand.com>
* clutter-animation.sgml:
Add new animation docs. Needs work.
Matthew Allum [Wed, 13 Feb 2008 16:46:07 +0000 (16:46 +0000)]
2008-02-13 Matthew Allum <mallum@openedhand.com>
* Makefile.am:
* clutter-docs.sgml:
Add new appendix + FIXME for building
* creating-your-own-behaviours.sgml:
Add new initial doc on custom behaviour creation.
* subclassing-ClutterActor.sgml:
Add FIXME notes.
Chris Lord [Tue, 12 Feb 2008 17:17:52 +0000 (17:17 +0000)]
* clutter/clutter-texture.c: (texture_get_tile_pixbuf),
(clutter_texture_get_pixbuf):
Fix copying textures to pixbufs for tiled textures and correct #ifndef
typo
* clutter/clutter-util.c:
Amend documentation
Matthew Allum [Tue, 12 Feb 2008 15:17:28 +0000 (15:17 +0000)]
2008-02-12 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: (texture_get_tile_pixbuf):
ifdef out 'leaked' GL only API call.
Tomas Frydrych [Tue, 12 Feb 2008 13:41:44 +0000 (13:41 +0000)]
2008-02-12 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-texture.c (texture_update_data):
Fixed incorrect calculation of offset into texture data (needs to
use width of the texture, not of the updated area).
Tomas Frydrych [Tue, 12 Feb 2008 13:12:31 +0000 (13:12 +0000)]
2008-02-12 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-texture.c (texture_update_data):
Fixed incorrect aligment of texture data.
Tomas Frydrych [Tue, 12 Feb 2008 12:39:22 +0000 (12:39 +0000)]
2008-02-12 Tomas Frydrych <tf@openedhand.com>
* clutter/x11/clutter-event-x11.c (event_translate):
Ignore events directed at the stage window once they have been
passed to the filter functions.
Matthew Allum [Mon, 11 Feb 2008 20:31:16 +0000 (20:31 +0000)]
2008-02-11 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c:
Minor documentation tweak to class description.
* clutter/clutter-behaviour-scale.c:
'Force' start + end vals of scale behaviour
(#779, Havoc Pennington)
Emmanuele Bassi [Mon, 11 Feb 2008 16:29:31 +0000 (16:29 +0000)]
2008-02-11 Emmanuele Bassi <ebassi@openedhand.com>
* README:
* NEWS: Release 0.5.6
* configure.ac: Post release bump to 0.5.7.
* clutter/clutter-behaviour-scale.c:
* tests/test-fbo.c: Fix compilation warnings.
Tomas Frydrych [Mon, 11 Feb 2008 10:56:57 +0000 (10:56 +0000)]
2008-02-11 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c (clutter_actor_transform_stage_point):
Moved part of the calculation to floating point to avoid overflow
of ClutterFixed range for large actors (bug 613).
Matthew Allum [Sun, 10 Feb 2008 13:05:51 +0000 (13:05 +0000)]
oops
Matthew Allum [Sun, 10 Feb 2008 13:05:08 +0000 (13:05 +0000)]
2008-20-10 Matthew Allum <mallum@o-hand.com>
* clutter/osx/clutter-stage-osx.c
Fix up a couple of typos breaking build.
Emmanuele Bassi [Fri, 8 Feb 2008 16:13:15 +0000 (16:13 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: Add actor box diagram and notes.
Emmanuele Bassi [Fri, 8 Feb 2008 16:12:58 +0000 (16:12 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* actor-box.png:
* Makefile.am: Add actor-box.png.
Emmanuele Bassi [Fri, 8 Feb 2008 15:39:41 +0000 (15:39 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-path.c: Move the nice graph and
description from the Path behaviour...
* clutter/clutter-behaviour.c: ... to the main Behaviour class.
Emmanuele Bassi [Fri, 8 Feb 2008 14:50:33 +0000 (14:50 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-docs.sgml: Add dependencies inside the overview.
Emmanuele Bassi [Fri, 8 Feb 2008 14:34:58 +0000 (14:34 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-path.c: Add a paragraph describing
the effects of different alpha functions on the path behaviour.
Emmanuele Bassi [Fri, 8 Feb 2008 13:52:11 +0000 (13:52 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: Reference the newly added event-flow.png
* clutter/clutter-alpha.c: Ditto, with alpha-func.png
* clutter/clutter-texture.c: Fix the XML.
Emmanuele Bassi [Fri, 8 Feb 2008 13:51:24 +0000 (13:51 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* Makefile.am:
* alpha-func.png:
* event-flow.png: More figures. alpha-func.png is a graph
showing the flow of some alpha functions; event-flow.png maps
the path of an event coming from the underlying windowing
system into Clutter and through the entire library.
Emmanuele Bassi [Fri, 8 Feb 2008 13:40:50 +0000 (13:40 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-path.c: Reference the newly
added image showing the effects of different alpha functions
on the same path behaviour.
* configure.ac: Find out the prefix of some of the libraries
we depend upon, so that gtk-doc can fix the references for us.
Emmanuele Bassi [Fri, 8 Feb 2008 13:39:35 +0000 (13:39 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* path-alpha-func.png: Image showing the effects of different
alpha functions on the same path behaviour.
* Makefile.am: Add fixxref options.
Emmanuele Bassi [Fri, 8 Feb 2008 12:37:26 +0000 (12:37 +0000)]
Initial update for 0.5.6
Matthew Allum [Fri, 8 Feb 2008 10:37:38 +0000 (10:37 +0000)]
2008-02-08 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c:
Tidy up offscreen code, adding into realize/unrealize.
Add more safety code.
Improve documentation.
Emmanuele Bassi [Fri, 8 Feb 2008 10:19:53 +0000 (10:19 +0000)]
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-script.c:
(resolve_alpha_func): Use a whitelist containing the alpha function
provided by Clutter, as a fallback in case g_module_open() does not
work.
(clutter_script_parse_alpha): Add an explicit warning in case we
cannot find the alpha function used inside a UI definition.
Tomas Frydrych [Thu, 7 Feb 2008 18:37:11 +0000 (18:37 +0000)]
2008-02-07 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-group.c:
(clutter_group_query_coords):
Take into account the anchor point when calculating the box size.
Tomas Frydrych [Thu, 7 Feb 2008 17:09:47 +0000 (17:09 +0000)]
updated changelog
Emmanuele Bassi [Thu, 7 Feb 2008 17:08:29 +0000 (17:08 +0000)]
2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: Add a note on clutter_actor_set_size()
reguarding groups.
* clutter/clutter-group.c: Clarify group sizing.
Tomas Frydrych [Thu, 7 Feb 2008 17:04:43 +0000 (17:04 +0000)]
2008-02-07 Tomas Frydrych <tf@openedhand.com>
* tests/test-actors.c:
Reverted previous change.
Øyvind Kolås [Thu, 7 Feb 2008 16:52:12 +0000 (16:52 +0000)]
* tests/test-shader.c: (button_release_cb): added simplified
implementation of a box-blur shader from Gwenole Beauchesne that
should work on GLSL implementing low-end IGPs not implementing
dynamic branching. The original code used crashed some of these
due to bugs in drivers or similar. Resolves bug #710.
Tomas Frydrych [Thu, 7 Feb 2008 15:06:31 +0000 (15:06 +0000)]
2008-02-07 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c:
(clutter_actor_set_property):
Fixed handling of PROP_ROTATE_CENTER_Y, ROTATE_CENTER_Z
* tests/test-actors.c:
Adjusted to use anchor point for both group and hands.
Neil J. Patel [Thu, 7 Feb 2008 15:01:03 +0000 (15:01 +0000)]
2008-02-07 Neil J. Patel <njp@o-hand.com>
* tests/test-actors.c: (frame_cb), (main):
Changed set_anchor to move_anchor.
Changed clutter_actor_rotate x & y values to 0,0.
Switched on scaling because it seems to work without drifting.
Emmanuele Bassi [Thu, 7 Feb 2008 14:17:53 +0000 (14:17 +0000)]
2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-script-parser.c:
(clutter_script_get_type_from_symbol),
(clutter_script_get_type_from_class): Use BIND_LAZY flag
when looking at the symbols, so we don't load them all up.
* clutter/clutter-script.c (resolve_alpha_func): Ditto as above.
Øyvind Kolås [Thu, 7 Feb 2008 13:05:18 +0000 (13:05 +0000)]
* clutter/clutter-actor.c:
(_clutter_actor_apply_modelview_transform): perform translation as
well as anchor point adjustment based on self not being stage (and
not by self not being an orphan).
Matthew Allum [Thu, 7 Feb 2008 12:55:51 +0000 (12:55 +0000)]
2008-02-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
* clutter/eglnative/clutter-stage-egl.c:
* clutter/eglx/clutter-stage-egl.c:
* clutter/osx/clutter-stage-osx.c:
* clutter/sdl/clutter-stage-sdl.c:
* clutter/x11/clutter-stage-x11.c:
Add at least somne basic offscreen handling into all backends.
Remove unused clutter_stage_set_offscreen vfunc. (#549)
* clutter/clutter-texture.c:
Minor API doc tweak, noting rowstride source in set_area
Emmanuele Bassi [Thu, 7 Feb 2008 11:53:52 +0000 (11:53 +0000)]
2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-score.c (traverse_children): Actually implement
clutter_score_list_timelines().
* tests/test-score.c (main): Test clutter_score_list_timelines().
Matthew Allum [Thu, 7 Feb 2008 10:42:22 +0000 (10:42 +0000)]
2008-02-07 Matthew Allum <mallum@openedhand.com>
* clutter/pango/pangoclutter-render.c:
Warn if requested glyph is too big for underlying texture cache.
(see #666)
Matthew Allum [Thu, 7 Feb 2008 10:19:20 +0000 (10:19 +0000)]
2008-02-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: (texture_upload_data):
Remove random appearing 'priv->filter_quality =1' (#643)
Matthew Allum [Wed, 6 Feb 2008 14:50:15 +0000 (14:50 +0000)]
2008-02-06 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c:
Minor clean up from last commit.
* tests/test-fbo.c:
Swall tweak (rotate offscreen, rather than resize
Matthew Allum [Wed, 6 Feb 2008 14:39:04 +0000 (14:39 +0000)]
2008-02-06 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c:
Initial attempt at handling resizing/tranformed source textures.
* clutter/pango/pangoclutter-render.c: (draw_glyph):
Guards against freetype returning NULL bitmaps and
thus causing device by zeros on NVIDIA drivers. (see ml)