Matthew Allum [Wed, 29 Aug 2007 19:11:18 +0000 (19:11 +0000)]
2007-08-29 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-main.c: (_clutter_do_pick):
Call glFinish before reading pixels
* clutter/eglx/clutter-stage-egl.c: (clutter_stage_egl_realize):
Add missing read surface in making context current.
Above fixes via Kate Alhola.
* clutter/glx/clutter-glx.h:
Add missing filter funcs so there actually exported
Matthew Allum [Fri, 24 Aug 2007 15:12:52 +0000 (15:12 +0000)]
2007-08-24 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-event.h:
* clutter/clutter-main.c:
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-backend-glx.h:
* clutter/glx/clutter-event-glx.c:
* clutter/glx/clutter-stage-glx.c:
* clutter/glx/clutter-stage-glx.h:
Add initial support for stage state events.
Fix fullscreening for an already mapped stage.
* tests/test-events.c:
Print out info from the above. Blue button now toggles
fullscreen.
* clutter/clutter-effect.c:
* clutter/clutter-effect.h:
Add a setting for templates to ref or clone underlying
timelines. (As to improve sync issues like those in foofone)
* tests/test-timeline.c:
Also add completed signals.
* clutter/cogl/gles/cogl.c: (cogl_texture_image_2d):
* configure.ac:
Forward port from stable branch. RGB Image fixes gles
and check for lower case libgles_cm.
Tomas Frydrych [Fri, 24 Aug 2007 06:19:06 +0000 (06:19 +0000)]
Fixed rotation around x axis (bug 486).
* clutter/clutter-actor.c:
(_clutter_actor_apply_modelview_transform):
Emmanuele Bassi [Thu, 23 Aug 2007 12:47:25 +0000 (12:47 +0000)]
2007-08-23 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-private.h:
* clutter/clutter-event.c: Revert the event queue ordering
commit.
* clutter/eglx/clutter-event-egl.c:
* clutter/glx/clutter-event-glx.c:
* clutter/sdl/clutter-event-sdl.c: Update backends.
Tomas Frydrych [Wed, 22 Aug 2007 10:33:26 +0000 (10:33 +0000)]
Fixed CCW rotation in rotate behaviour (bug 483); fixed overall path length calculation for angles > 360 in rotate and ellipse.
Emmanuele Bassi [Wed, 22 Aug 2007 10:12:20 +0000 (10:12 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Wed, 22 Aug 2007 10:12:15 +0000 (10:12 +0000)]
Remove the threads locking in the dispatchers destruction notification
The GLib main loop allows destroying sources while still in the dispatcher
function, so whether the Clutter threading lock is being held or not is
actually unpredictable by the library. This might be fixed in GLib, so we
just do what GTK+ does for the time being and wait.
See bug: http://bugzilla.gnome.org/show_bug.cgi?id=459555
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:57 +0000 (15:48 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:51 +0000 (15:48 +0000)]
Return event coordinates for 3BUTTON_PRESS events
The switch() in clutter_event_get_coords() wasn't returning the coordinates
for the 3 button press events, thus those events never reached the actors.
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:44 +0000 (15:48 +0000)]
Correctly initialise the multiple clicks variables
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:37 +0000 (15:48 +0000)]
Check for pending events from the tail of the events queue
When checking for pending events we need to look from the tail of the
list backwards.
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:30 +0000 (15:48 +0000)]
Fix previous ChangeLog message
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:24 +0000 (15:48 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:13 +0000 (15:48 +0000)]
Preserve ordering when placing synthetic events in the queue
When we are in the the event translation function sometimes we need to
synthesise events: the double and triple click events are synthetic events
placed on the queue after a sequence of events has been received, for
instance.
Until now, the events were placed on the queue after the translation from
the native events was successful. This led to a loss of ordering because
we put the synthesised event on the queue before the last event that
triggered it.
This patch puts the events on the queue before translating them, with a
"pending" flag set; if the translation sequence is completed then the flag
is removed - otherwise the event is removed from the queue altogether. The
queue manipulation functions have been modified to ignore the "pending"
flag when looking for events.
This patch also adds a private structure overlayed on the ClutterEvent
struct so that we can extend the events with private data without exposing
it in the public API.
Emmanuele Bassi [Tue, 21 Aug 2007 15:48:03 +0000 (15:48 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Tue, 21 Aug 2007 15:47:51 +0000 (15:47 +0000)]
Document ClutterStage properties
Add missing documentation for the ClutterStage properties and enable the
properties and signals in the gtk-doc API reference.
Tomas Frydrych [Tue, 21 Aug 2007 09:25:09 +0000 (09:25 +0000)]
Fixes for 64-bit platforms; use of SSE builtin when available (patches by Gwenole Beauchesne).
Emmanuele Bassi [Mon, 20 Aug 2007 20:16:15 +0000 (20:16 +0000)]
2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-enum-types.h.in:
* clutter/clutter-enum-types.c.in: Use template files for
glib-mkenums; this makes the Makefile template a bit more
clean and the enum types generation more customisable (e.g.
when GLib 2.14 has been released, we can use g_once_init_enter()
and g_once_init_leave() to have thread-safe GType functions
for the enum types as well).
Emmanuele Bassi [Mon, 20 Aug 2007 11:54:28 +0000 (11:54 +0000)]
Relax the CLUTTER_CHECK_VERSION() macro check
The macro should check for a micro version greater or equal to the specified
micro version parameter. Fixes bug 477, patch by Neil Roberts.
Emmanuele Bassi [Mon, 20 Aug 2007 11:22:11 +0000 (11:22 +0000)]
Fix compiler warnings in test-timeline
Emmanuele Bassi [Mon, 20 Aug 2007 09:17:23 +0000 (09:17 +0000)]
Make gtk-doc produce the ClutterTimeline signals
Emmanuele Bassi [Sun, 19 Aug 2007 19:09:26 +0000 (19:09 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Sun, 19 Aug 2007 19:09:20 +0000 (19:09 +0000)]
Various fixes to ClutterTimeline
Emit the ClutterTimeline::new-frame signal only if we arrive there with an
active timeout source. Also, make sure to take a reference on the timeout
when emitting signals.
If the timeline is advancing of zero frames, bump it up to one frame. (bug
471, Rob Bradford)
If the user called clutter_timeline_pause() while in the ::new-frame handler
the timeout is removed and the timeline is reset, while the correct behaviour
should be to simply return. (#371, Johan Bilien)
If we skipped the last frames and we ended up over the frame number, emit
the ::new-frame signal with the last frame before emitting the ::completed
signal.
Remove the call to clutter_timeline_stop() when reaching the end of the
timeline: it was used just to remove the timeout source and it emitted the
::paused signal, which doesn't make any sense. Also rewind the timeline
after emitting the ::completed signal, so that calling get_current_frame()
in the ::completed signal handlers still work.
Emmanuele Bassi [Sun, 19 Aug 2007 17:06:54 +0000 (17:06 +0000)]
No need to unref the ClutterAlpha in the effect closure
The ownership of the ClutterAlpha object is transferred to the ClutterBehaviour
used by the effect; we just need to unref the behaviour to make the alpha
object disappear.
Emmanuele Bassi [Sun, 19 Aug 2007 17:06:41 +0000 (17:06 +0000)]
Protect the version components
Emmanuele Bassi [Sun, 19 Aug 2007 17:06:37 +0000 (17:06 +0000)]
Replace the note in clutter_do_event()
Use an EVENT note and not a SCHEDULER one.
Emmanuele Bassi [Sun, 19 Aug 2007 17:06:22 +0000 (17:06 +0000)]
Use g_list_insert_sorted() instead of our custom function
The clutter_timeout_pool_insert_sorted() function caused an inversion of
the timeout sources in the pool; this led to a wrong behaviour in the
execution of the timeout functions. See bug 471.
This patch drops clutter_timeout_pool_insert_sorted() in favour of the
standard g_list_insert_sorted(), which produces identical behaviours with
and without the pool.
A new test, written by Rob Bradford, has been added to the regression test
suite in order to identify sorting issues with the timeout pools.
Matthew Allum [Sun, 19 Aug 2007 00:03:01 +0000 (00:03 +0000)]
2007-08-19 Matthew Allum <mallum@openedhand.com>
* clutter/eglx/clutter-event-egl.c: (clutter_event_dispatch):
Fix clutter_thread typo (Kate Alhola)
Emmanuele Bassi [Sat, 18 Aug 2007 12:39:40 +0000 (12:39 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Sat, 18 Aug 2007 12:39:36 +0000 (12:39 +0000)]
Fix clutter_behaviour_rotate_get_center()
Apply a patch from Neil Roberts (bug 468) that makes the get_center() method
of ClutterBehaviourRotate return the correct tuple of coordinates.
Also, fix some coding style issues and make sure to freeze and thaw the
GObject notification queue when emitting the notify signal on multiple
properties in one method.
Emmanuele Bassi [Sat, 18 Aug 2007 12:39:30 +0000 (12:39 +0000)]
Update the Since version in the API that has been backported
Some of the API landed in trunk has been backported to the stable branch
after testing. This patch updates the Since: tag in the API reference to
reflect the time when the API was first added to a release.
Emmanuele Bassi [Wed, 15 Aug 2007 19:50:36 +0000 (19:50 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Wed, 15 Aug 2007 19:50:31 +0000 (19:50 +0000)]
Add checks on the reactive accessors
Check for the parameter in the various "reactive" flag accessors.
Emmanuele Bassi [Wed, 15 Aug 2007 19:50:24 +0000 (19:50 +0000)]
Update ChangeLogs for SVN users
Emmanuele Bassi [Wed, 15 Aug 2007 19:50:16 +0000 (19:50 +0000)]
Add clutter_effect_depth(), simple wrapper around the depth behaviour
This patch adds a new effect function, wrapping ClutterBehaviourDepth into
clutter_effect_depth().
Emmanuele Bassi [Wed, 15 Aug 2007 13:29:43 +0000 (13:29 +0000)]
Fix for the smoothstep alpha function
When computing the increasing smoothstep alpha value use the right type
for the results, to avoid overflowing the [0, 0xffff] range of the alpha
value.
Also use the right format when printing out the opacity and alpha values
in the opacity behaviour.
Emmanuele Bassi [Tue, 14 Aug 2007 08:01:43 +0000 (08:01 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Tue, 14 Aug 2007 08:01:33 +0000 (08:01 +0000)]
Rename ClutterContainer raise() and lower() methods to avoid clashes
Language bindings will have problems with raise() and lower() bein in both
ClutterContainer and ClutterActor; hence, this patch renames
clutter_container_raise() and clutter_container_lower() to
clutter_container_raise_child() and clutter_container_lower_child(),
respectively.
Matthew Allum [Mon, 13 Aug 2007 20:48:01 +0000 (20:48 +0000)]
2007-08-13 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-actor.h:
* clutter/clutter-event.c:
* clutter/clutter-event.h:
* clutter/clutter-main.c:
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
* clutter/clutter-types.h:
Initial implementation of actors emmitting event signals (423);
- Actors set_reactive() to receive mouse events.
(call clutter_enable_motion_events() for per action motion events)
- clutter_stage_set_key_focus () to direct key events.
- Events bubble up to parents (ending at stage)
(original source identified by clutter_event_get_source())
TODO:
- enter/leave notifys for actors.
- stage specific events - fullscreen
- grabs
* tests/test-events.c:
Extend a little to use new API
* clutter/cogl/gl/cogl.c:
* clutter/glx/clutter-backend-glx.c:
Move get_proc_address into cogl and out of backend.
(shaders will need it)
* clutter/clutter-group.c: (clutter_group_real_lower):
Fix a minor compile warning.
* TODO:
Sync up.
Emmanuele Bassi [Mon, 13 Aug 2007 17:01:35 +0000 (17:01 +0000)]
Update ChangeLogs for SVN users
Emmanuele Bassi [Mon, 13 Aug 2007 17:01:30 +0000 (17:01 +0000)]
Implement ::raise(), ::lower() and ::sort_depth_order() in ClutterBox
Provide the implementations of the newly added ClutterContainer virtual
functions inside ClutterBox.
Emmanuele Bassi [Mon, 13 Aug 2007 17:01:25 +0000 (17:01 +0000)]
Use the sibling to reinsert the actor at the right position
Fix a bug where we used the actor to reposition itself in the group. This
was probably masked by the sort_depth_order() call.
Emmanuele Bassi [Mon, 13 Aug 2007 17:01:12 +0000 (17:01 +0000)]
Add more checks to ClutterContainer::raise() and ::lower()
Check that the actors passed are actually children of the container,
as the implementations assume this.
Emmanuele Bassi [Mon, 13 Aug 2007 17:01:07 +0000 (17:01 +0000)]
Make ClutterActor use ClutterContainer methods
Every direct reference to ClutterGroup has been removed, in favour of
ClutterContainer - which is the official way of creating container
actors as of 0.4.
Emmanuele Bassi [Mon, 13 Aug 2007 17:00:58 +0000 (17:00 +0000)]
Move depth ordering methods from ClutterGroup to ClutterContainer
Since ClutterActor directly calls ClutterGroup methods we need ClutterContainer
to provide them, so that every container actor behaves the same way.
This patch makes ::raise, ::lower and ::sort_depth_order virtual functions
of the ClutterContainer interface, implemented by ClutterGroup.
The documentation has been added and deprecation warnings have been added
as well.
Emmanuele Bassi [Mon, 13 Aug 2007 17:00:52 +0000 (17:00 +0000)]
Use clutter_container_find_child_by_id() when picking
ClutterStage now uses the newly added clutter_container_find_child_by_id()
function to find the right child in the scenegraph, using the picking id.
This fixes the test-boxes test case.
Emmanuele Bassi [Mon, 13 Aug 2007 17:00:47 +0000 (17:00 +0000)]
Implement ClutterContainer::find_child_by_id() in ClutterBox
Iterate (recursively) on the children of a box to find the one with the
given unique id.
Emmanuele Bassi [Mon, 13 Aug 2007 17:00:37 +0000 (17:00 +0000)]
Make ::find_child_by_id() a method of ClutterContainer
Finding a child by its ID is a method that should be used by every container
and not only by ClutterGroup. This is needed to actually fix the picking in
ClutterStage.
Matthew Allum [Sun, 12 Aug 2007 21:30:14 +0000 (21:30 +0000)]
2007-08-12 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: (texture_upload_data):
Align texture data correctly for edge tiles.
(#422 - Neil Roberts)
Emmanuele Bassi [Sun, 12 Aug 2007 13:19:31 +0000 (13:19 +0000)]
2007-08-12 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-timeout-pool.c: Fix removing and adding timeouts
to the timeout pool during a dispatch of a timeout source already
inside the pool. (#456, based on a patch by Neil Roberts)
(clutter_timeout_dispatch), (clutter_timeout_pool_dispatch): Hold
the main Clutter lock in the pool dispatch function, instead of
the per-timeout dispatch; this guarantees that the ref+unref of
the single timeouts are done under the main lock.
Emmanuele Bassi [Sun, 12 Aug 2007 12:41:05 +0000 (12:41 +0000)]
Update ChangeLog
Matthew Allum [Sat, 11 Aug 2007 19:28:05 +0000 (19:28 +0000)]
2007-08-11 Matthew Allum <mallum@openedhand.com>
Ported from 0.4 branch.
* clutter/clutter-texture.c:
Fix typo in clutter_texture_get_pixbuf (#458, #442?, Neil Roberts).
Use take_object when getting pixbuf prop to avoid ref leak
Emmanuele Bassi [Thu, 9 Aug 2007 13:24:42 +0000 (13:24 +0000)]
2007-08-09 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-box.c: Rename a variable to fix a compiler
warning.
Emmanuele Bassi [Wed, 8 Aug 2007 23:23:18 +0000 (23:23 +0000)]
2007-08-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-ellipse:
(clutter_behaviour_ellipse_get_tiltx): Remove useless
"Return" in the API documentation.
Emmanuele Bassi [Wed, 8 Aug 2007 21:36:16 +0000 (21:36 +0000)]
2007-08-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-timeout-pool.c: Fix sorting of the pool
when inserting and removing timeout sources. (#449, Neil
Roberts)
Emmanuele Bassi [Wed, 8 Aug 2007 13:24:43 +0000 (13:24 +0000)]
2007-08-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-main.c (clutter_get_timestamp): Remove
the microseconds remainder, which is mostly useless. (#447)
Emmanuele Bassi [Wed, 8 Aug 2007 11:22:45 +0000 (11:22 +0000)]
2007-08-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-main.c (clutter_get_timestamp): Return the
correct number of microseconds (#447, Neil Roberts)
Emmanuele Bassi [Wed, 8 Aug 2007 10:37:10 +0000 (10:37 +0000)]
Update DOAP file
Emmanuele Bassi [Wed, 8 Aug 2007 10:22:00 +0000 (10:22 +0000)]
Don't forge to add test cases
Emmanuele Bassi [Wed, 8 Aug 2007 10:20:14 +0000 (10:20 +0000)]
Merge clutter.git/threading branch
Emmanuele Bassi [Tue, 7 Aug 2007 14:24:39 +0000 (14:24 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Tue, 7 Aug 2007 14:24:09 +0000 (14:24 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Tue, 7 Aug 2007 14:21:34 +0000 (14:21 +0000)]
Bump up revision to 0.4.0
Emmanuele Bassi [Tue, 7 Aug 2007 14:21:10 +0000 (14:21 +0000)]
Protect the G_DISABLE_CAST_CHECKS define
When compiling with cast checks already disabled there's no need to
redefine this symbol.
Emmanuele Bassi [Tue, 7 Aug 2007 14:12:58 +0000 (14:12 +0000)]
Do not mask the y1 symbol exported by math.h
Do you ever wonder what would happen if glibc were a serious library
and not the joke it actually is?
Emmanuele Bassi [Tue, 7 Aug 2007 14:07:39 +0000 (14:07 +0000)]
Do not mask index in ClutterEntry
Emmanuele Bassi [Tue, 7 Aug 2007 14:04:41 +0000 (14:04 +0000)]
Update ChangeLogs for SVN users
Emmanuele Bassi [Tue, 7 Aug 2007 14:03:58 +0000 (14:03 +0000)]
Even more documentation fixes
Emmanuele Bassi [Tue, 7 Aug 2007 14:03:30 +0000 (14:03 +0000)]
More documentation fixes
Emmanuele Bassi [Tue, 7 Aug 2007 14:03:08 +0000 (14:03 +0000)]
Documentation fixes
Matthew Allum [Tue, 7 Aug 2007 12:17:15 +0000 (12:17 +0000)]
2007-08-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-behaviour-ellipse.c:
Add a documentation note regarding ellipse setting
the applied actors position.
Matthew Allum [Tue, 7 Aug 2007 12:06:27 +0000 (12:06 +0000)]
2007-08-07 Matthew Allum <mallum@openedhand.com>
* NEWS:
* README:
More updates ready for 0.4.0
Matthew Allum [Tue, 7 Aug 2007 11:35:22 +0000 (11:35 +0000)]
2007-08-07 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-fixed.c:
* clutter/clutter-fixed.h:
Add documentation.
* clutter/cogl/gl/cogl.c: (cogl_perspective):
Remove CFX_* shortened macros
Emmanuele Bassi [Mon, 6 Aug 2007 20:46:54 +0000 (20:46 +0000)]
Remove unused clutter_threads_enter() and clutter_threads_leave()
The threads_enter() and threads_leave() functions are no-ops because Clutter
is not thread-aware nor thread-safe. Leaving them in is a source of confusion
so we just remove them.
Update the NEWS and the README files with the release notes.
Emmanuele Bassi [Mon, 6 Aug 2007 19:38:02 +0000 (19:38 +0000)]
Update ChangeLogs for SVN users
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:55 +0000 (19:37 +0000)]
Add descriptions to ClutterBox and subclasses
Final touches to the ClutterBox implementation.
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:50 +0000 (19:37 +0000)]
Whitespace fix to the test-boxes debug printouts
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:46 +0000 (19:37 +0000)]
Match arguments, to make gtk-doc happy
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:41 +0000 (19:37 +0000)]
Update ClutterBox API reference generation
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:26 +0000 (19:37 +0000)]
Add NULL-check on the padding in clutter_box_pack()
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:22 +0000 (19:37 +0000)]
Test the default padding of a ClutterBox
Exercise the clutter_box_set_default_padding() API.
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:15 +0000 (19:37 +0000)]
Add default padding to ClutterBox
To avoid using a ClutterPadding each time you add an actor to a ClutterBox
when you want the same padding around each child, you can now set the
default padding. The API is pixel-based, since it's a commodity function,
and will affect only clutter_box_pack_defaults().
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:10 +0000 (19:37 +0000)]
Update API reference for ClutterBox
Remove old methods and add new methods and data structures for ClutterBox.
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:06 +0000 (19:37 +0000)]
Update the boxes test
Use ClutterMargin and ClutterPadding when creating the boxes and
packing children into them.
Emmanuele Bassi [Mon, 6 Aug 2007 19:37:00 +0000 (19:37 +0000)]
Port ClutterVBox to the new ClutterBox implementation
Like ClutterHBox, ClutterVBox now takes into account the per-child
padding and the per-box margin.
Emmanuele Bassi [Mon, 6 Aug 2007 19:36:43 +0000 (19:36 +0000)]
Port ClutterHBox to the new ClutterBox implementation
ClutterHBox now uses the padding associated to each packed child and uses
the margin associated to the box.
Emmanuele Bassi [Mon, 6 Aug 2007 19:36:39 +0000 (19:36 +0000)]
Initialise the box allocation
We need the allocation to be < 0 for the subclasses to compute it
correctly the first time.
Emmanuele Bassi [Mon, 6 Aug 2007 19:36:27 +0000 (19:36 +0000)]
Update the ClutterBox API and structure
ClutterBox is meant to work like the HTML boxing model: it has a margin and
a backgrdound color, and every child actor is added with a pack type and a
padding. The ClutterBoxChild structure holds the child actor, the padding,
the packing type and the allocated coordinates for the actor.
Matthew Allum [Mon, 6 Aug 2007 12:48:13 +0000 (12:48 +0000)]
2007-08-06 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c:
Correct set pixbuf property as GDK_TYPE_PIXBUF
(fix via Neil Roberts)
Matthew Allum [Sun, 5 Aug 2007 23:13:27 +0000 (23:13 +0000)]
2007-08-06 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-behaviour-depth.c:
Modify to work like all other behvaiours in not forcing
increasing order in behaviour 'limits'. (#436)
Rename limit min/max props to start/end.
* tests/test-depth.c:
Simplify test-case to work with above change and
without multiple ramps
* clutter/clutter-behaviour-rotate.c:
Handle CW rotation when end > start and similar for CCW just
like ellipse behaviour.
Matthew Allum [Sun, 5 Aug 2007 13:37:49 +0000 (13:37 +0000)]
2007-08-05 Matthew Allum <mallum@openedhand.com>
* README:
* clutter/clutter-actor.c:
Document show/hide_all behaviour correctly.
Emmanuele Bassi [Sun, 5 Aug 2007 09:46:01 +0000 (09:46 +0000)]
2007-08-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-depth.c: Fix typo in the description.
Emmanuele Bassi [Sat, 4 Aug 2007 09:52:51 +0000 (09:52 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-docs.sgml: Add autogeneration of the per-version
indexes of symbols, plus the index of deprecated symbols.
Emmanuele Bassi [Sat, 4 Aug 2007 09:42:01 +0000 (09:42 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-depth.c: Clarify the depth behaviour
even more in the description used by the API reference.
Emmanuele Bassi [Sat, 4 Aug 2007 08:59:18 +0000 (08:59 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-depth.c: Clarify that what drives
the movement along the Z axis is the ClutterAlpha object (we
don't have the luxury of a rollover like the opacity does);
so, if you want to go from 0 to -100 you have to use a
decreasing function, just as well if you want to go from 100
to 0. Using a min-depth of 100 and a max-depth of 0 and an
increasing function is undefined behaviour.
* tests/Makefile.am:
* tests/test-depth.c: Add a test case for the depth behaviour.
Emmanuele Bassi [Sat, 4 Aug 2007 07:55:55 +0000 (07:55 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c (clutter_actor_set_opacity): Queue
a redraw when setting the opacity of an actor.
Emmanuele Bassi [Fri, 3 Aug 2007 15:40:11 +0000 (15:40 +0000)]
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-ellipse.c:
(clutter_behaviour_ellipse_get_angle_tilt): Avoid recursion
by fixing a typo.
(clutter_behaviour_ellipse_get_angle_begin),
(clutter_behaviour_ellipse_get_angle_end): Correct the angles
here too.
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 3 Aug 2007 15:18:43 +0000 (15:18 +0000)]
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-ellipse.c:
(clutter_behaviour_ellipse_get_property): Do not forget to
correct the angles when returning them.
Tomas Frydrych [Fri, 3 Aug 2007 09:52:52 +0000 (09:52 +0000)]
added direction paramenter to clutter_behaviour_ellipse_new (), made direction to be respected, unclamped angle values
Matthew Allum [Thu, 2 Aug 2007 15:09:00 +0000 (15:09 +0000)]
2007-08-02 Matthew Allum <mallum@openedhand.com>
* NEWS:
* README:
Initial updating ready for release.