profile/ivi/clutter.git
17 years agoadded --path command line argument to examples/behave; removed bspline example
Tomas Frydrych [Mon, 30 Apr 2007 08:39:31 +0000 (08:39 +0000)]
added --path command line argument to examples/behave; removed bspline example

17 years agocleaned up ClutterBehaviourEllipse api, added documentation
Tomas Frydrych [Mon, 30 Apr 2007 08:39:20 +0000 (08:39 +0000)]
cleaned up ClutterBehaviourEllipse api, added documentation

17 years agoclutter_sini(): fixed reduction to 0,2pi
Tomas Frydrych [Mon, 30 Apr 2007 08:39:15 +0000 (08:39 +0000)]
clutter_sini(): fixed reduction to 0,2pi

17 years agoinitial stab at elliptic path behaviour
Tomas Frydrych [Mon, 30 Apr 2007 08:39:11 +0000 (08:39 +0000)]
initial stab at elliptic path behaviour

17 years ago2007-04-28 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sat, 28 Apr 2007 00:37:11 +0000 (00:37 +0000)]
2007-04-28  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-debug.h:
        * clutter/clutter-fixed.h:
        * clutter/clutter-main.c:
        * clutter/cogl/gles/Makefile.am:
        * clutter/cogl/gles/cogl-defines.h:
        * clutter/cogl/gles/cogl.c:
        * clutter/egl/clutter-backend-egl.c:
        * clutter/egl/clutter-backend-egl.h:
        * clutter/egl/clutter-stage-egl.c:
        * configure.ac:
        Populate most stubs for cogl GL/ES implementation.
        (against vincent - see http://svn.o-hand.com/repos/misc/ogles)
        Add various fixups to EGL backend.
        Code builds and runs (on 16bpp) but yet displays much (is close!)

        * clutter/pango/pangoclutter-render.c:
        comment out some rouge glBegin/end calls.

17 years ago2007-04-27 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 27 Apr 2007 21:13:06 +0000 (21:13 +0000)]
2007-04-27  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-actor.c:
        * clutter/clutter-clone-texture.c:
        * clutter/clutter-rectangle.c:
        * clutter/clutter-stage.c:
        * clutter/clutter-texture.c:
        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/Makefile.am:
        * clutter/cogl/gl/cogl-defines.h:
        * clutter/cogl/gl/cogl.c:
        * clutter/cogl/gles/Makefile.am:
        * clutter/cogl/gles/cogl-defines.h:
        * clutter/cogl/gles/cogl.c:
        * clutter/glx/Makefile.am:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/pango/Makefile.am:
        * clutter/pango/pangoclutter-render.c:
        * configure.ac:
        Add initial 'cogl' implementation. 'cogl' is a simple abstration
        layer over GL and GL/ES used by clutter internally. It should
        eventually allow clutter applications to be run on both GL and GL/ES
        with just a recompile as well as provide more debugging and potentially
        profiling information for GL and GL/ES usage.

        This commit contains the initial GL implementation.

17 years ago2007-04-26 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 26 Apr 2007 19:11:24 +0000 (19:11 +0000)]
2007-04-26  Emmanuele Bassi  <ebassi@openedhand.com>

Merge from clutter-0-2

* clutter/clutter-label.c: Unbreak the "use-markup" property
by actually passing the markup to pango_layout_set_markup().

17 years ago2007-04-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 25 Apr 2007 14:22:24 +0000 (14:22 +0000)]
2007-04-25  Emmanuele Bassi  <ebassi@openedhand.com>

Merge from clutter.git/master

* clutter/glx/clutter-event-glx.c:
* clutter/glx/clutter-stage-glx.c: Implement the _NET_WM_PING
protocol handling on the main stage window.

* clutter/clutter-stage.h:
* clutter/clutter-stage.c:
* clutter/clutter-main.c: Handle CLUTTER_DELETE events internally,
by calling clutter_main_quit(), and remove the ::delete-event
signal from ClutterStage; clean up the signal emission sequence
for the events: emit the ::event signal before emitting any signal
and the ::event-after signal after the signal has been emitted; move
the signal emission calls inside ClutterStage so we can call
g_signal_emit() instead of g_signal_emit_by_name(), thus sparing us
a lookup for each event.

* examples/test.c: Remove ::delete-event signal handling.

17 years agoUpdating ChangeLog for SVN users
Emmanuele Bassi [Thu, 19 Apr 2007 15:28:17 +0000 (15:28 +0000)]
Updating ChangeLog for SVN users

17 years agoChange clutter_glx_get_default_screen() to return a Screen pointer
Emmanuele Bassi [Thu, 19 Apr 2007 15:28:04 +0000 (15:28 +0000)]
Change clutter_glx_get_default_screen() to return a Screen pointer

Now that we have clutter_backend_get_screen_number(), we can directly
return the Screen pointer inside the GLX backend API.

17 years agoFix delete-event signal handler
Emmanuele Bassi [Thu, 19 Apr 2007 15:27:46 +0000 (15:27 +0000)]
Fix delete-event signal handler

Use the right marshaller signature (boolean:boxed) for the delete-event
signal handlers. Add a debug note in clutter_main_do_event() to track the
signal return. Test the delete-event handler inside test.c.

17 years agoAdd support for WM_PROTOCOLS to the ClutterStage window
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:54 +0000 (15:26 +0000)]
Add support for WM_PROTOCOLS to the ClutterStage window

Supporting WM_PROTOCOLS allows handling the WM_DELETE_WINDOW ClientMessage,
which is then relayed to the ClutterStage actor in form of the "delete-event"
signal. Returning TRUE will block the propagation and won't close the
stage window.

17 years agoAdd clutter_backend_get_n_screens()
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:28 +0000 (15:26 +0000)]
Add clutter_backend_get_n_screens()

Add clutter_backend_get_n_screens(), which returns the number of screens
manager by the ClutterBackend, and change clutter_backend_get_screen_number()
to return the screen number of the currently used screen; this is semantically
equivalent to clutter_glx_get_default_screen(), but leaves the door open for
a "screen" abstraction in Clutter, handled by the backend. Update the GLX
and EGL backends to retrieve and set the screen_num and n_screens members of
ClutterBackend using Xlib calls.

17 years agoAdd new ClutterBackend functions to the API documentation
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:17 +0000 (15:26 +0000)]
Add new ClutterBackend functions to the API documentation

Update the clutter-sections.txt to pick up the newly added functions.

17 years agoUpdate the EGL backend code
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:06 +0000 (15:26 +0000)]
Update the EGL backend code

Initialise the ClutterBackend object members when creating the
ClutterBackendEgl instance.

17 years agoAdd documentation to the new ClutterBackend API
Emmanuele Bassi [Thu, 19 Apr 2007 15:25:53 +0000 (15:25 +0000)]
Add documentation to the new ClutterBackend API

Add API documentation for the new functions in ClutterBackend. Fixes
the resolution computation.

17 years agoAdd API for getting properties of the ClutterBackend
Emmanuele Bassi [Thu, 19 Apr 2007 15:25:34 +0000 (15:25 +0000)]
Add API for getting properties of the ClutterBackend

Add functions to retrieve some of the properties of the screen used by
the backend, like its dimensions (also physical, in millimeters); the
number of screens. Also add setters and getters for the double click
time (in milliseconds) and distance.

17 years agoUpdate ChangeLog for SVN merge
Emmanuele Bassi [Thu, 19 Apr 2007 15:25:19 +0000 (15:25 +0000)]
Update ChangeLog for SVN merge

17 years agoMerge from stable: add XEMBED support
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:57 +0000 (15:24 +0000)]
Merge from stable: add XEMBED support

Add the XEMBED protocol support in the GLX backend, for embedding the
stage window into another X window. This allows cross-toolkit inclusion
and makes clutter-gtk possible.

17 years agoMerge from stable: implement gravity in scale behaviour
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:35 +0000 (15:24 +0000)]
Merge from stable: implement gravity in scale behaviour

Implement every ClutterGravity value inside the scale behaviour and make
the actors anchor to a gravity when scaling up and down.

17 years agoMerge from stable: fix texture tiling
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:20 +0000 (15:24 +0000)]
Merge from stable: fix texture tiling

Revert to copying GdkPixbuf areas to correctly implement the texture
tiling. This fixes segmentation faults occurring with cards with a
small texture memory area.

17 years agoFreeze notification queue when changing multiple properties.
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:04 +0000 (15:24 +0000)]
Freeze notification queue when changing multiple properties.

Call g_object_freeze_notify() (and take a reference on the actor) inside
clutter_actor_request_size() so that the notifications get unqueued at the
end of the size request.

17 years agoAdd missing template files.
Emmanuele Bassi [Thu, 19 Apr 2007 15:22:49 +0000 (15:22 +0000)]
Add missing template files.

17 years agoUpdate ChangeLog for SVN merge
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:51 +0000 (16:50 +0000)]
Update ChangeLog for SVN merge

17 years agoMerge from stable: add XEMBED support
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:40 +0000 (16:50 +0000)]
Merge from stable: add XEMBED support

Add the XEMBED protocol support in the GLX backend, for embedding the
stage window into another X window. This allows cross-toolkit inclusion
and makes clutter-gtk possible.

17 years agoMerge from stable: implement gravity in scale behaviour
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:34 +0000 (16:50 +0000)]
Merge from stable: implement gravity in scale behaviour

Implement every ClutterGravity value inside the scale behaviour and make
the actors anchor to a gravity when scaling up and down.

17 years agoMerge from stable: fix texture tiling
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:29 +0000 (16:50 +0000)]
Merge from stable: fix texture tiling

Revert to copying GdkPixbuf areas to correctly implement the texture
tiling. This fixes segmentation faults occurring with cards with a
small texture memory area.

17 years agoFreeze notification queue when changing multiple properties.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:23 +0000 (16:50 +0000)]
Freeze notification queue when changing multiple properties.

Call g_object_freeze_notify() (and take a reference on the actor) inside
clutter_actor_request_size() so that the notifications get unqueued at the
end of the size request.

17 years agoAdd missing template files.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:15 +0000 (16:50 +0000)]
Add missing template files.

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