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().
This commit is contained in:
Emmanuele Bassi 2008-02-07 11:53:52 +00:00
parent b1615f01a4
commit c8499a7619
3 changed files with 25 additions and 12 deletions

View File

@ -1,39 +1,46 @@
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().
2008-02-07 Matthew Allum <mallum@openedhand.com> 2008-02-07 Matthew Allum <mallum@openedhand.com>
* clutter/pango/pangoclutter-render.c: * clutter/pango/pangoclutter-render.c:
Warn if requested glyph is too big for underlying texture cache. Warn if requested glyph is too big for underlying texture cache.
(see #666) (see #666)
2008-02-07 Matthew Allum <mallum@openedhand.com> 2008-02-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: (texture_upload_data): * clutter/clutter-texture.c: (texture_upload_data):
Remove random appearing 'priv->filter_quality =1' (#643) Remove random appearing 'priv->filter_quality =1' (#643)
2008-02-06 Matthew Allum <mallum@openedhand.com> 2008-02-06 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: * clutter/clutter-texture.c:
Minor clean up from last commit. Minor clean up from last commit.
* tests/test-fbo.c: * tests/test-fbo.c:
Swall tweak (rotate offscreen, rather than resize) Small tweak (rotate offscreen, rather than resize)
2008-02-06 Matthew Allum <mallum@openedhand.com> 2008-02-06 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: * clutter/clutter-texture.c:
Initial attempt at handling resizing/tranformed source textures. Initial attempt at handling resizing/tranformed source textures.
* clutter/pango/pangoclutter-render.c: (draw_glyph): * clutter/pango/pangoclutter-render.c: (draw_glyph):
Guards against freetype returning NULL bitmaps and Guards against freetype returning NULL bitmaps and
thus causing device by zeros on NVIDIA drivers. (see ml) thus causing device by zeros on NVIDIA drivers. (see ml)
2008-02-05 Matthew Allum <mallum@openedhand.com> 2008-02-05 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c: (clutter_actor_get_vertices): * clutter/clutter-actor.c: (clutter_actor_get_vertices):
Make sure GL related Matrices are initialised. Fixes #756 Make sure GL related Matrices are initialised. Fixes #756
* clutter/clutter-texture.c: * clutter/clutter-texture.c:
Fix up code from Norways answer to Jean-Michel Basquiat. Fix up code from Norways answer to Jean-Michel Basquiat.
(warning on tile_get_pixbuf) (warning on tile_get_pixbuf)
2008-02-05 Øyvind Kolås <pippin@o-hand.com> 2008-02-05 Øyvind Kolås <pippin@o-hand.com>

View File

@ -729,7 +729,8 @@ traverse_children (GNode *node,
break; break;
case LIST_TIMELINES: case LIST_TIMELINES:
retval = TRUE; closure->result = g_slist_prepend (closure->result, entry->timeline);
retval = FALSE;
break; break;
} }

View File

@ -42,6 +42,7 @@ main (int argc, char **argv)
ClutterTimeline *timeline_2; ClutterTimeline *timeline_2;
ClutterTimeline *timeline_3; ClutterTimeline *timeline_3;
ClutterTimeline *timeline_4; ClutterTimeline *timeline_4;
GSList *timelines;
guint t1, t2, t3, t4; guint t1, t2, t3, t4;
clutter_init (&argc, &argv); clutter_init (&argc, &argv);
@ -83,6 +84,10 @@ main (int argc, char **argv)
t3 = clutter_score_append (score, timeline_1, timeline_3); t3 = clutter_score_append (score, timeline_1, timeline_3);
t4 = clutter_score_append (score, timeline_3, timeline_4); t4 = clutter_score_append (score, timeline_3, timeline_4);
timelines = clutter_score_list_timelines (score);
g_assert (4 == g_slist_length (timelines));
g_slist_free (timelines);
clutter_score_start (score); clutter_score_start (score);
clutter_main (); clutter_main ();