profile/ivi/clutter.git
17 years agoUpdate changelogs for SVN merge.
Emmanuele Bassi [Mon, 16 Apr 2007 10:26:11 +0000 (10:26 +0000)]
Update changelogs for SVN merge.

17 years agoReturn a ClutterBehaviour when splicing the b-spline behaviour.
Emmanuele Bassi [Mon, 16 Apr 2007 10:26:05 +0000 (10:26 +0000)]
Return a ClutterBehaviour when splicing the b-spline behaviour.

17 years agoAdd missing types and sections in the API documentation.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:53 +0000 (10:25 +0000)]
Add missing types and sections in the API documentation.

Fix the ClutterBehaviourBspline header file. Fix typos in
ClutterBehaviourRotate API documentation.

17 years agoAdd ClutterBehaviourRotate section to the documentation.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:47 +0000 (10:25 +0000)]
Add ClutterBehaviourRotate section to the documentation.

17 years agoAdd API documentation to ClutterBehaviourRotate. Also add properties
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:41 +0000 (10:25 +0000)]
Add API documentation to ClutterBehaviourRotate. Also add properties
handling.

17 years agoAdd ClutterBehaviourRotate
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:30 +0000 (10:25 +0000)]
Add ClutterBehaviourRotate

Add initial implementation of a rotate behaviour; this behaviour rotates
actors along a chosen axis, with a chosen direction, between two angles.
Missing: API documentation and the implementation for the angle boundaries
setters (double and fixed API).

17 years agoHush compiler warning in ClutterBehaviourBspline.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:25 +0000 (10:25 +0000)]
Hush compiler warning in ClutterBehaviourBspline.

Cast the knots to const ClutterKnot **; add type checks and use a variable
to hold the private pointer in order to kill off some of the indirections.

17 years agoUse g_return_val_if_fail() in clutter_behaviour_is_applied().
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:19 +0000 (10:25 +0000)]
Use g_return_val_if_fail() in clutter_behaviour_is_applied().

Return FALSE if the parameters fail the ISA check, instead of returning void.

17 years agobezier spline behaviours
Tomas Frydrych [Thu, 12 Apr 2007 12:42:07 +0000 (12:42 +0000)]
bezier spline behaviours

17 years ago2007-04-07 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sat, 7 Apr 2007 21:01:49 +0000 (21:01 +0000)]
2007-04-07  Matthew Allum  <mallum@openedhand.com>

        * clutter/glx/clutter-backend-glx.c:
        Fix version check.

17 years agofixed bug in fovy angle degree -> rad conversion, added glMultMatrixx() code
Tomas Frydrych [Thu, 29 Mar 2007 11:30:30 +0000 (11:30 +0000)]
fixed bug in fovy angle degree -> rad conversion, added glMultMatrixx() code

17 years agofixed typo in configure.ac; fixed point perspective()
Tomas Frydrych [Thu, 29 Mar 2007 10:41:23 +0000 (10:41 +0000)]
fixed typo in configure.ac; fixed point perspective()

17 years ago2007-03-27 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 27 Mar 2007 21:09:11 +0000 (21:09 +0000)]
2007-03-27  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/Makefile.am:
        * clutter/cogl/cogl.h:
        * clutter/cogl/gles/Makefile.am:
        * clutter/cogl/gles/cogl.c:
        Begin poplulating cogl GLES code.

        * configure.ac:
        * clutter/egl/clutter-event-egl.c:
        * clutter/egl/clutter-stage-egl.c:
        * clutter/egl/clutter-stage-egl.h:
        * clutter/egl/clutter-backend-egl.c:
        * clutter/egl/clutter-backend-egl.h:
        * clutter/egl/clutter-egl.h:
        Add initial EGL/X backend work mostly ported from backend branch.
        Builds but untested as yet.

        * clutter/glx/clutter-stage-glx.c:
        Only include XFixes Header if we have have it.

        * clutter/clutter-behaviour.c: (clutter_behaviour_apply):
        * clutter/clutter-behaviour.h:
        Add clutter_behaviour_is_applied()

17 years agoRemove the unused clutter_stage_flush() declaration, now that we
Emmanuele Bassi [Tue, 27 Mar 2007 11:20:59 +0000 (11:20 +0000)]
Remove the unused clutter_stage_flush() declaration, now that we
don't have the ClutterStage::flush vfunc anymore.

17 years agoFix 'Since' apidoc
Emmanuele Bassi [Tue, 27 Mar 2007 10:46:40 +0000 (10:46 +0000)]
Fix 'Since' apidoc

17 years agoIgnore the clutter/cogl directory when building documentation, as it
Emmanuele Bassi [Tue, 27 Mar 2007 09:39:00 +0000 (09:39 +0000)]
Ignore the clutter/cogl directory when building documentation, as it
is private API; remove the now private ClutterBackend API; add the
ClutterPerspective API to the documentation.

17 years agoReimplement the clutter_glx_set_stage_foreign() function, used to
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:50 +0000 (09:38 +0000)]
Reimplement the clutter_glx_set_stage_foreign() function, used to
set an existing X window as the window for the main stage.

17 years agoDeclare clutter_perspective_get_type() in the stage header.
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:43 +0000 (09:38 +0000)]
Declare clutter_perspective_get_type() in the stage header.

17 years agoAdd header and compiler guards.
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:35 +0000 (09:38 +0000)]
Add header and compiler guards.

17 years agoDo not check if the ClutterStageGlx parent paint vfunc is set: we
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:27 +0000 (09:38 +0000)]
Do not check if the ClutterStageGlx parent paint vfunc is set: we
set it ourselves.

17 years ago2007-03-27 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 26 Mar 2007 23:18:39 +0000 (23:18 +0000)]
2007-03-27  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-feature.c:
        Rejig ifdef's a little. Make drm vblanking Linux only.

        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        Add a perspective boxed type.

        * clutter/glx/clutter-stage-glx.c:
        Add some FIXMEs

        * clutter/Makefile.am:
        * clutter/cogl/Makefile.am:
        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/Makefile.am:
        * clutter/cogl/gl/cogl.c:
        * configure.ac:
        Very initial work on 'cogl' GL/GLES abstraction/utility code.

17 years agoAdd API for getting the scale bounds from a scale behaviour instance.
Emmanuele Bassi [Sun, 25 Mar 2007 22:37:28 +0000 (22:37 +0000)]
Add API for getting the scale bounds from a scale behaviour instance.

17 years agoFix a dumb typo in last commit.
Emmanuele Bassi [Sun, 25 Mar 2007 22:37:21 +0000 (22:37 +0000)]
Fix a dumb typo in last commit.

17 years agoLower the priority of the ClutterTimeline timeout function; this should
Emmanuele Bassi [Sun, 25 Mar 2007 22:37:14 +0000 (22:37 +0000)]
Lower the priority of the ClutterTimeline timeout function; this should
give the events queue processing a better slice of the main event loop.

17 years agoUpdate ChangeLog for the last commit
Emmanuele Bassi [Sun, 25 Mar 2007 11:50:29 +0000 (11:50 +0000)]
Update ChangeLog for the last commit

17 years agoRemove the unused ClutterEventFlags enum and the flags member of
Emmanuele Bassi [Sun, 25 Mar 2007 11:48:02 +0000 (11:48 +0000)]
Remove the unused ClutterEventFlags enum and the flags member of
the ClutterEvent structure. ClutterEvent objects are not added until
translated so they do not need a 'pending' state.

17 years agoAdd clutter_get_default_backend() to the documentation
Emmanuele Bassi [Sun, 25 Mar 2007 11:47:53 +0000 (11:47 +0000)]
Add clutter_get_default_backend() to the documentation

17 years agoUpdate ChangeLog for SVN users
Emmanuele Bassi [Sun, 25 Mar 2007 11:47:48 +0000 (11:47 +0000)]
Update ChangeLog for SVN users

17 years agoReally remove the flush vfunc from ClutterStagetClass
Emmanuele Bassi [Sun, 25 Mar 2007 11:47:43 +0000 (11:47 +0000)]
Really remove the flush vfunc from ClutterStagetClass

17 years agoMove the get_actor_at_pos() inside ClutterStage, as it is pure
Emmanuele Bassi [Sun, 25 Mar 2007 11:47:30 +0000 (11:47 +0000)]
Move the get_actor_at_pos() inside ClutterStage, as it is pure
GL and not GLX. Removed the get_actor_at_pos() and flush() vfuncs
from ClutterStageClass: clutter_stage_flush() becomes the private
_clutter_stage_sync_viewport() function, which should only be used
internally.

17 years ago2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Mar 2007 23:57:24 +0000 (23:57 +0000)]
2007-03-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-backend.c: Clear the event queue when
disposing the backend object; remove the initialisation
of the backend structure members...

* clutter/glx/clutter-backend-glx.c: ... and keep it here
in the backends where it belongs.

17 years ago2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Mar 2007 17:55:13 +0000 (17:55 +0000)]
2007-03-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-private.h:
* clutter/clutter-backend.h: Move the backend functions
into the private header.

* clutter/glx/clutter-stage-glx.c:
* clutter/glx/clutter-event-glx.c:
* clutter/clutter-main.c:
* clutter/clutter-stage.c: Update the calls to the private
backend functions.

* clutter/clutter-backend.[ch]: Add an ::init_features
vfunc to ClutterBackend.

17 years agofix changelog for the last commit
Emmanuele Bassi [Fri, 23 Mar 2007 16:39:00 +0000 (16:39 +0000)]
fix changelog for the last commit

17 years ago2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Mar 2007 16:37:56 +0000 (16:37 +0000)]
2007-03-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/glx/clutter-stage-glx.c:
(clutter_stage_glx_allocate_coords): Make sure the top-left
corner of the box is our origin.

17 years ago2007-03-23 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 23 Mar 2007 16:35:18 +0000 (16:35 +0000)]
2007-03-23  Matthew Allum  <mallum@openedhand.com>

        * clutter/glx/clutter-stage-glx.c:
        (clutter_stage_glx_allocate_coords):
        Make new stage return correct width & height.

17 years ago2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Mar 2007 15:20:35 +0000 (15:20 +0000)]
2007-03-23  Emmanuele Bassi  <ebassi@openedhand.com>

Assorted build fixes to pass distcheck.

* clutter/glx/Makefile.am: Install the clutter-glx.h header.

* clutter/Makefile.am: Actually apply linker flags.

* configure.ac: Use a more readable CLUTTER_API_VERSION instead
of CLUTTER_MAJORMINOR; require gobject-2.0 with glib-2.0 >= 2.10,
as we are using GObject and the slice allocator from glib 2.10.

* clutter.pc.in: Add the apiversion variable.

17 years ago2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Mar 2007 15:20:19 +0000 (15:20 +0000)]
2007-03-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Remove duplicae symbol.

17 years agoalways check changes in the build with a fresh checkout, you dolt
Emmanuele Bassi [Fri, 23 Mar 2007 11:37:39 +0000 (11:37 +0000)]
always check changes in the build with a fresh checkout, you dolt

17 years agofix return value of the delete_event signal class handler
Emmanuele Bassi [Fri, 23 Mar 2007 10:00:47 +0000 (10:00 +0000)]
fix return value of the delete_event signal class handler

17 years ago2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Mar 2007 09:59:02 +0000 (09:59 +0000)]
2007-03-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-event.c: Pop and peek the event queue
from the tail - it's a queue, not a stack.

* clutter/clutter-private.h:
* clutter/clutter-main.c: Add a boolean signal accumulator.

* clutter/clutter-stage.[ch]: Add an event argument to
the 'delete-event' signal; rename the 'input-event' signal
to 'event'; add the static scope flag to all the stage
events.

17 years ago2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 23 Mar 2007 09:44:21 +0000 (09:44 +0000)]
2007-03-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-event.c: Pop and peek the event queue
from the tail - it's a queue, not a stack.

17 years ago2007-03-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Mar 2007 20:31:53 +0000 (20:31 +0000)]
2007-03-22  Emmanuele Bassi  <ebassi@openedhand.com>

* Makefile.am: Include the clutter-glx backend API.

17 years ago2007-03-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Mar 2007 20:23:29 +0000 (20:23 +0000)]
2007-03-22  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Update with the backend and API
changes

* Makefile.am: Don't check into the backend subdirs.

17 years ago2007-03-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Mar 2007 20:04:28 +0000 (20:04 +0000)]
2007-03-22  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter.pc.in: Require gobject-2.0 too.

* ChangeLog: Fix the previous commit log.

17 years ago2007-03-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 22 Mar 2007 18:21:59 +0000 (18:21 +0000)]
2007-03-22  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-private.h: Remove inclusion of backend-specific
headers; update the main context object; add the declarations for
the event queue functions.

* clutter/clutter-backend.[ch]: Add the abstract ClutterBackend
object, which holds backend-specific settings, the main stage,
and the event queue. Every backend must implement a subclass of
ClutterBackend and ClutterStage.

* clutter/clutter-feature.c: Protect the GLX specific calls
behing #ifdef HAVE_CLUTTER_GLX.

* clutter/clutter-actor.c:
* clutter/clutter-group.c:
* clutter/clutter-clone-texture.c: Include GL/gl.h

* clutter/clutter-event.[ch]: Update public API and implement the
event queue private API; hold a reference on the event objects;
move out the keysym-to-unicode table; add the new event types.

* clutter/clutter-color.h: Include clutter-fixed.h

* clutter/clutter-main.c: Update API; get the main stage
from the backend object; process the event received from the
queue; lock/unlock the main mutex if we have one; move the
initialisation process sooner in the init sequence, in order to
have the backend object when we check for options; call the
backed vfuncs in the pre/post parse hooks.

* clutter/clutter-stage.c: Make ClutterStage and abstract class,
implemented by the backends.

* clutter/clutter/glx/clutter-glx.h:
* clutter/clutter/glx/clutter-backend-glx.[ch]:
* clutter/clutter/glx/clutter-event-glx.c:
* clutter/clutter/glx/clutter-stage-glx.[ch]:
* clutter/clutter/glx/Makefile.am: Add the GLX backend.

* clutter/clutter/egl/clutter-backend-egl.[ch]:
* clutter/clutter/egl/clutter-event-egl.c:
* clutter/clutter/egl/clutter-stage-egl.[ch]:
* clutter/clutter/egl/Makefile.am: Add the stub for a EGL backend.

* examples/*.c: Update for the new API.

17 years ago2007-03-19 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 19 Mar 2007 17:02:48 +0000 (17:02 +0000)]
2007-03-19  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-label.c:
        Simple doc fix.
        * clutter/clutter-texture.c: (clutter_texture_get_pixbuf):
        Backport of fix to get_pixbuf on non alpha textures from 0_2 branch.

17 years ago2007-03-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 19 Mar 2007 10:00:38 +0000 (10:00 +0000)]
2007-03-19  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-texture.c: Clean up code; add checks
in public API.

17 years ago2007-02-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sun, 18 Feb 2007 00:14:19 +0000 (00:14 +0000)]
2007-02-18  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_reparent):
        Add a FIXME re calling clutter_group here.
        * clutter/clutter-group.c:
        Fix clutter_group_remove_all

17 years ago2007-02-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 15 Feb 2007 23:23:32 +0000 (23:23 +0000)]
2007-02-15  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-group.h:
        Add missing clutter_group_remove_all declaration.

17 years ago2007-02-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 13 Feb 2007 23:31:57 +0000 (23:31 +0000)]
2007-02-14  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-main.c:
        * clutter/clutter-stage.c:
        * clutter/clutter-version.h.in:
        * configure.ac:
        * examples/super-oh.c:
        Add CLUTTER_FLAVOUR define.

17 years ago2007-02-13 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 13 Feb 2007 21:09:30 +0000 (21:09 +0000)]
2007-02-13  Matthew Allum  <mallum@openedhand.com>

        * examples/super-oh.c: (screensaver_setup):
        Fix example to build with new glx api

17 years ago2007-02-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 7 Feb 2007 11:03:54 +0000 (11:03 +0000)]
2007-02-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-debug.h: Define the CLUTTER_MARK()
macro even when CLUTTER_ENABLE_DEBUG is not
defined. (#215)

17 years agofixed fixed point clutter_sine_func
Tomas Frydrych [Tue, 30 Jan 2007 19:35:19 +0000 (19:35 +0000)]
fixed fixed point clutter_sine_func

17 years ago2007-01-30 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 30 Jan 2007 16:51:49 +0000 (16:51 +0000)]
2007-01-30  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-alpha.h:
* clutter/clutter-alpha.c: Add the square waveform
function clutter_square_func() to the precooked
alpha functions.

17 years ago2007-01-23 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 23 Jan 2007 20:29:11 +0000 (20:29 +0000)]
2007-01-23  Matthew Allum  <mallum@openedhand.com>

        * Makefile.am:
        * clutter.pc.in:
        * clutter/Makefile.am:
        * clutter/clutter-backend-glx.c:
        * clutter/clutter-backend-glx.h:
        * clutter/clutter-event.c:
        * clutter/clutter-feature.c:
        * clutter/clutter-group.c:
        * clutter/clutter-main.c:
        * clutter/clutter-main.h:
        * clutter/clutter-private.h:
        * clutter/clutter-stage-glx.c:
        * clutter/clutter-stage-glx.h:
        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        * clutter/clutter-util.c:
        * clutter/clutter-util.h:
        * clutter/pango/pangoclutter-render.c:
        * configure.ac:
        * examples/Makefile.am:
        Initial work in supporting different GL backends (ie. GLX/EGL/DirectFB etc).
        Currently just GLX supported and now mostly self contained.

        * TODO:
        Add a note about caching glenables

17 years agomore fixed point work
Tomas Frydrych [Tue, 23 Jan 2007 11:48:04 +0000 (11:48 +0000)]
more fixed point work

17 years agowork around punned-pointer problem
Tomas Frydrych [Fri, 19 Jan 2007 20:00:41 +0000 (20:00 +0000)]
work around punned-pointer problem

17 years ago2007-01-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 19 Jan 2007 17:56:35 +0000 (17:56 +0000)]
2007-01-19  Emmanuele Bassi  <ebassi@openedhand.com>

Allow the ClutterGroup subclasses to override the add and
remove operations.

* clutter/clutter-group.c: Move the add and remove code from
clutter_group_add() and clutter_group_remove() to the signal
class closures; make the "add" and "remove" signals as
RUN_FIRST.

17 years agomore fixed point work
Tomas Frydrych [Fri, 19 Jan 2007 16:04:06 +0000 (16:04 +0000)]
more fixed point work

17 years ago2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 18 Jan 2007 14:13:56 +0000 (14:13 +0000)]
2007-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Post release bump to 0.3.0.

17 years ago2007-01-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 18 Jan 2007 13:37:37 +0000 (13:37 +0000)]
2007-01-18  Matthew Allum  <mallum@openedhand.com>

        * clutter.doap:
        Update for 0.2 release

17 years ago2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 18 Jan 2007 12:36:43 +0000 (12:36 +0000)]
2007-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Add forgotten ClutterGroup API.

17 years ago2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 18 Jan 2007 12:33:15 +0000 (12:33 +0000)]
2007-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-group.h: Add public functions
clutter_group_get_n_children() and clutter_group_get_nth_child().

* clutter/clutter-behaviour.h:
* clutter/clutter-behaviour.c: Fix header alignment; fix argument
name for apidoc.

17 years ago2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 18 Jan 2007 11:25:26 +0000 (11:25 +0000)]
2007-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/Makefile.am: Use the build dir when linking to the
internal pango clutter renderer.

17 years agoWhoops fill in correct Changelog
Matthew Allum [Thu, 18 Jan 2007 11:12:31 +0000 (11:12 +0000)]
Whoops fill in correct Changelog

17 years ago2007-01-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 18 Jan 2007 11:11:18 +0000 (11:11 +0000)]
2007-01-18  Matthew Allum <mallum@openedhand.com>

        * doc/reference/clutter-docs.sgml
        Update.

17 years agodocumentation fixed for clutter-fixed
Tomas Frydrych [Thu, 18 Jan 2007 10:33:24 +0000 (10:33 +0000)]
documentation fixed for clutter-fixed

17 years ago2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 18 Jan 2007 08:54:10 +0000 (08:54 +0000)]
2007-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-fixed.h: Remove some inline documentation to
make the header more readable.

* clutter/clutter-behaviour.c: The actors are store inside a
GSList and not in a GList, so change the list operations to
use the right API.

17 years ago2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 18 Jan 2007 08:53:50 +0000 (08:53 +0000)]
2007-01-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Remove old cruft.

* clutter-docs.sgml: Add index of symbols.

* tmpl/clutter-fixed.sgml: Fix doc template.

17 years agofixed bug in clutter_color_darken/lighten()
Tomas Frydrych [Thu, 18 Jan 2007 07:21:41 +0000 (07:21 +0000)]
fixed bug in clutter_color_darken/lighten()

17 years ago2007-01-17 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 17 Jan 2007 19:16:52 +0000 (19:16 +0000)]
2007-01-17  Matthew Allum  <mallum@openedhand.com>

        * configure.ac:
        Bump up version to 0.2.0

17 years agodocumentation for fixed point API
Tomas Frydrych [Wed, 17 Jan 2007 16:00:00 +0000 (16:00 +0000)]
documentation for fixed point API

17 years ago2007-01-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 17 Jan 2007 13:51:14 +0000 (13:51 +0000)]
2007-01-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-feature.h:
* clutter/clutter-feature.c: Move the GL headers from the
header file to the body.

* clutter/clutter-fixed.h:
* clutter/clutter-fixed.c: Fix apidoc.

* clutter/clutter-color.h:
* clutter/clutter-color.c: Ditto.

17 years agofloat -> fixed point
Tomas Frydrych [Wed, 17 Jan 2007 13:25:51 +0000 (13:25 +0000)]
float -> fixed point

17 years agofixed point sqrt
Tomas Frydrych [Wed, 17 Jan 2007 13:03:52 +0000 (13:03 +0000)]
fixed point sqrt

17 years ago2007-01-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 16 Jan 2007 18:13:57 +0000 (18:13 +0000)]
2007-01-16  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Remove clutter_vblank_method(): it's
private.

17 years agoupdate NEWS with latest bug fixed
Emmanuele Bassi [Tue, 16 Jan 2007 15:03:29 +0000 (15:03 +0000)]
update NEWS with latest bug fixed

17 years ago2007-01-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 16 Jan 2007 14:37:54 +0000 (14:37 +0000)]
2007-01-16  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-feature.c: Use clutter_vblank_method() to
get the VBlank method name from the environment variable OR
the command line switch.

(clutter_feature_do_init): Move the check on the features
state here, to avoid an expensive function call, and inline
the function.

* clutter/clutter-fixed.c: Fix gtk-doc.

* clutter/clutter-main.c: Add a --clutter-vblank command line
switch controlling the VBlank method to be used: it overrides
the CLUTTER_VBLANK environment variable.

(pre_parse_hook), (clutter_init),
(clutter_init_with_args): Move thread initialisation before
type init, to avoid the warning that comes with newer GLib
versions.

* clutter/clutter-group.h:
* clutter/clutter-group.c: Mark clutter_group_show_all() and
clutter_group_hide_all() as deprecated.

17 years ago2007-01-16 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 16 Jan 2007 14:19:39 +0000 (14:19 +0000)]
2007-01-16  Matthew Allum  <mallum@openedhand.com>

        * NEWS:
        Minor tweaks

        * TODO:
        Sync up, mainly with 0.3 todo items

        * clutter/clutter-behaviour.c:
        * clutter/clutter-behaviour.h:
        clutter_behaviour_get_n_actors() / clutter_behaviour_get_nth_actor()
        Additions.

        * clutter/clutter-stage.c: (clutter_stage_realize):
        Experimental (disabled) visual setting code.

        * clutter/clutter-feature.c:
        Check for GL_EXT_texture_rectangle (#198  - Frederick Riss)

        * clutter/clutter-group.c: (clutter_group_allocate_coords):
        Fix for group size allocation (#199 -  Frederick Riss)

        * clutter/clutter-texture.c: (texture_upload_data):
        Fix texture unpacking row length (#197 Frederick Riss)

        * examples/Makefile.am:
        Fix LDADD in build (#196 - Frederick Riss)

17 years agoreplacement of floating point ops with fixed point
Tomas Frydrych [Tue, 16 Jan 2007 10:39:18 +0000 (10:39 +0000)]
replacement of floating point ops with fixed point

17 years agoadded ClutterAngle type and fast clutter_angle_sin() function; fixed clutter_fixed...
Tomas Frydrych [Tue, 16 Jan 2007 08:14:53 +0000 (08:14 +0000)]
added ClutterAngle type and fast clutter_angle_sin() function; fixed clutter_fixed to work for negative angles; added convenience macros clutter_fixex_cos and clutter_angle_cos

17 years agopluged clutter_fixed_sin into clutter-alpha; updated change log
Tomas Frydrych [Mon, 15 Jan 2007 19:43:09 +0000 (19:43 +0000)]
pluged clutter_fixed_sin into clutter-alpha; updated change log

17 years agoimplemented fixed point sin(); fixed CLUTTER_FIXED_TO_FLOAT/DOUBLE macros
Tomas Frydrych [Mon, 15 Jan 2007 18:37:12 +0000 (18:37 +0000)]
implemented fixed point sin(); fixed CLUTTER_FIXED_TO_FLOAT/DOUBLE macros

17 years ago2007-01-07 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sun, 7 Jan 2007 00:36:41 +0000 (00:36 +0000)]
2007-01-07  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_allocate_coords):
        Fix an amazingly not noticed until now typo.
        Minor doc tweaks.

        * clutter/clutter-behaviour-opacity.c:
        (clutter_behaviour_alpha_notify):
        Take into account initial opacity value when calculating from alpha.

        * clutter/clutter-group.c:
        Add new get_nth_child() and get_n_children() api calls.

17 years ago2007-01-04 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 4 Jan 2007 19:56:01 +0000 (19:56 +0000)]
2007-01-04  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        Add new set_width/height API calls.
        Tweak scaling by reseting matrix.
        Make set_opactiy() take parent opacity into account.
        Fix clipping.

        * clutter/clutter-alpha.c:
        Add more sine functionality.

        * clutter/clutter-behaviour-opacity.c:
        Dont make a copy of all applied actors but use a foreach()

        * clutter/clutter-behaviour-scale.c:
        Give correct limits to propertys.
        Tweak gravity a little more.
        Update docs.
:
        * clutter/clutter-behaviour.c: (clutter_behaviour_remove):
        Minor warning text change.

        * clutter/clutter-feature.c: (clutter_feature_wait_for_vblank):
        Minor dri ioctl tweak.

        * clutter/clutter-label.c:
        * clutter/clutter-label.h:
        Add new label_full api call.

17 years agoupdate NEWS
Emmanuele Bassi [Wed, 27 Dec 2006 18:42:31 +0000 (18:42 +0000)]
update NEWS

17 years ago2006-12-27 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 27 Dec 2006 18:25:43 +0000 (18:25 +0000)]
2006-12-27  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-stage.[ch]:
* clutter/clutter-event.[ch]: Revert changes; this is what
happens when you keep old tree around.

17 years ago2006-12-27 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 27 Dec 2006 18:19:34 +0000 (18:19 +0000)]
2006-12-27  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-color.h:
* clutter/clutter-color.c: Add clutter_color_to_string(),
which creates a hex-encoded color string from a ClutterColor.

17 years ago2006-12-20 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 20 Dec 2006 00:59:07 +0000 (00:59 +0000)]
2006-12-20  Matthew Allum  <mallum@openedhand.com>

        * NEWS:
        Add some missing improvements.

17 years ago2006-12-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sun, 17 Dec 2006 16:52:40 +0000 (16:52 +0000)]
2006-12-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-label.c: Remove some gtk-isms; always take
a reference before calling g_object_notify(), as the object
might get disposed while calling the closures inside the
notify queue; notify the changes of the ellipsize property.

17 years agoupdate TODO list
Emmanuele Bassi [Sun, 17 Dec 2006 16:01:42 +0000 (16:01 +0000)]
update TODO list

17 years agoupdate TODO list
Emmanuele Bassi [Sun, 17 Dec 2006 15:18:58 +0000 (15:18 +0000)]
update TODO list

17 years ago2006-12-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 14 Dec 2006 22:19:08 +0000 (22:19 +0000)]
2006-12-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-color.h:
* clutter/clutter-color.c: Expose clutter_color_copy()
and clutter_color_free() for the python bindings, so that
they can manager the conversion automatically; use the
slice allocator when copying/freeing a ClutterColor.

17 years ago2006-12-13 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 13 Dec 2006 18:12:09 +0000 (18:12 +0000)]
2006-12-13  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c:
* clutter/clutter-clone-texture.c:
* clutter/clutter-event.h:
* clutter/clutter-stage.c:
* clutter/clutter-texture.c:
* clutter/clutter-timeline.c: Update the inline apidoc.

17 years ago2006-12-13 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 13 Dec 2006 18:11:50 +0000 (18:11 +0000)]
2006-12-13  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Update.

* tmpl/*.sgml: Update the templates.

17 years ago2006-12-13 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 13 Dec 2006 09:44:05 +0000 (09:44 +0000)]
2006-12-13  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_class_init):
        Allow actor x,y props to be negative.

17 years ago2006-12-12 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 12 Dec 2006 20:20:04 +0000 (20:20 +0000)]
2006-12-12  Emmanuele Bassi  <ebassi@openedhand.com>

Rework part of the show/hide machinery.  Allow groups sub-classes
and composite actors to override show_all/hide_all in order to
decide which children they wish to show/hide.  This means that
if an actor overrides the default show/hide virtual methods, it'll
have to chain up to the parent class show/hide.  While we're at it,
provide the fully recursive clutter_actor_show_all() and
clutter_actor_hide_all() methods.

* clutter/clutter-behaviour-path.c: Add apidoc for the ClutterKnot
functions; add pathological equality case for clutter_knot_equal().

* clutter/clutter-event.h:
* clutter/clutter-feature.h:
* clutter/clutter-behaviour.c:
* clutter/clutter-behaviour-scale.c:Fix parameters name so that
gtk-doc doesn't complain.

* clutter/clutter-actor.c:
* clutter/clutter-event.c: Add apidoc

* clutter/clutter-actor.h:
* clutter/clutter-actor.c: Add a clutter_actor_show_all() and a
clutter_actor_hide_all() functions; provide a mechanism for
groups and composited actors to programmatically select what to
show/hide when clutter_actor_show_all() and clutter_actor_hide_all()
are called.  If you are overriding the ClutterActor::show or
the ClutterActor::hide virtual methods you should chain up with
the parent class.

* clutter/clutter-group.c: Override show_all and hide_all and
recursively show/hide every child inside the group;
clutter_group_show_all() and clutter_group_hide_all() remain as non
recursive versions of clutter_actor_show_all() and
clutter_actor_hide_all() (maybe we should rename them in order
to avoid name clashes with the bindings).

* clutter/clutter-stage.c:
* clutter/clutter-texture.c: Chain up with parent class show
and hide vfuncs.

* clutter/clutter-clone-texture.h:
* clutter/clutter-clone-texture.c: Provide API for changing the
parent texture of a clone texture actor.

* examples/behave.c:
* examples/super-oh.c:
* examples/test.c: Use clutter_actor_show_all() instead of
clutter_group_show_all().

17 years ago2006-12-08 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 8 Dec 2006 16:47:20 +0000 (16:47 +0000)]
2006-12-08  Matthew Allum  <mallum@openedhand.com>

        * clutter.doap:
        Put release date in correct format.

17 years ago2006-12-08 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 8 Dec 2006 16:12:52 +0000 (16:12 +0000)]
2006-12-08  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour.h: Add a function prototype
for the foreach function: we need something more specific
than GFunc; add clutter_behaviour_get_actors(), used to
get a list of the actors.

* clutter/clutter-behaviour.c: Add debugging notes; add
a warning for behaviour implementations missing the
alpha_notify vfunc; add api documentation

* clutter/clutter-behaviour-opacity.c:
* clutter/clutter-behaviour-path.c:
* clutter/clutter-behaviour-scale.c: Reimplement the
alpha_notify functions using the new foreach function
and, where possible, by directly iterating on the
actors: this shaves off the number of recalculations
of the property/alpha values, and the number of
functions.

17 years ago2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 5 Dec 2006 13:15:25 +0000 (13:15 +0000)]
2006-12-05  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-rectangle.c: Forgot to set the
pencil color.