profile/ivi/clutter.git
17 years agoadded missing test-project.c
Tomas Frydrych [Wed, 13 Jun 2007 13:31:56 +0000 (13:31 +0000)]
added missing test-project.c

17 years agomore of projection work
Tomas Frydrych [Wed, 13 Jun 2007 11:20:10 +0000 (11:20 +0000)]
more of projection work

17 years agoclear CLUTTER_ACTOR_SYNC_MATRICES after setting up viewport
Tomas Frydrych [Tue, 12 Jun 2007 17:39:08 +0000 (17:39 +0000)]
clear CLUTTER_ACTOR_SYNC_MATRICES after setting up viewport

17 years ago2007-06-12 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 12 Jun 2007 14:02:51 +0000 (14:02 +0000)]
2007-06-12  Matthew Allum  <mallum@openedhand.com>

        * doc/manual/Makefile.am:
        Fix typo in Makefile so PDF's actually get built.

        * doc/manual/clutter-manual.xml.in:
        Add an FAQ section with initial entry.

17 years agoclutter_actor_project_point/vertices
Tomas Frydrych [Tue, 12 Jun 2007 11:42:29 +0000 (11:42 +0000)]
clutter_actor_project_point/vertices

17 years ago2007-06-12 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 12 Jun 2007 10:36:28 +0000 (10:36 +0000)]
2007-06-12  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-alpha.c:
        Remove stray g_debug.

        * clutter/clutter-behaviour-rotate.c:
        Register private class member.

        * clutter/clutter-behaviour.c:
        * clutter/clutter-behaviour.h:
        Add applied and removed signals.

        * Makefile.am:
        * configure.ac:
        * examples/Makefile.am:
        * examples/README:
        * examples/behave.c:
        * examples/slider.c:
        * examples/super-oh.c:
        * examples/test-entry.c:
        * examples/test-text.c:
        * examples/test.c:
        * tests/Makefile.am:
        Remove examples, moving applicable code into tests.

17 years agoFixed unsigned overflow in sine alpha functions
Tomas Frydrych [Mon, 11 Jun 2007 15:47:26 +0000 (15:47 +0000)]
Fixed unsigned overflow in sine alpha functions

17 years agoUpdate Clutter event structures to use the ModifierType enum
Emmanuele Bassi [Mon, 11 Jun 2007 09:02:40 +0000 (09:02 +0000)]
Update Clutter event structures to use the ModifierType enum

17 years agoUpdate ChangeLog
Emmanuele Bassi [Mon, 11 Jun 2007 09:02:35 +0000 (09:02 +0000)]
Update ChangeLog

17 years agoUse a full enum for the modifier masks
Emmanuele Bassi [Mon, 11 Jun 2007 09:02:28 +0000 (09:02 +0000)]
Use a full enum for the modifier masks

17 years agoUpdate ChangeLog for SVN repo
Emmanuele Bassi [Sat, 9 Jun 2007 13:25:59 +0000 (13:25 +0000)]
Update ChangeLog for SVN repo

17 years agoCompilation fixes
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:22 +0000 (13:20 +0000)]
Compilation fixes

17 years agoDocument ClutterTimeoutPool
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:13 +0000 (13:20 +0000)]
Document ClutterTimeoutPool

Add ClutterTimeoutPool API documentation to the source and to the
gtk-doc sections.

17 years agoAdd copyright license and make ClutterTimeoutPool public
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:06 +0000 (13:20 +0000)]
Add copyright license and make ClutterTimeoutPool public

ClutterTimeoutPool can be useful for manually animating without using
timelines or behaviours.

17 years agoUse ClutterTimeoutPool in ClutterTimeline
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:00 +0000 (13:20 +0000)]
Use ClutterTimeoutPool in ClutterTimeline

Use a per-class timeout pool into ClutterTimeline so that every timeline
instance will use a pooled timeout function to execute the tick. This
should make multiple timelines not starve the main loop.

17 years agoAdd timeout pool source
Emmanuele Bassi [Sat, 9 Jun 2007 13:19:52 +0000 (13:19 +0000)]
Add timeout pool source

A ClutterTimeoutPool is a source for the GLib main loop which pools
multiple timeout functions. The pool is always sorted so that the first
timeout to expire is also the first element of the pool; hence, extraction
is a constant time operation. This also makes the usage of multiple
timeouts at the same priority not compete for a timeslice of the main
loop, leading to starvation.

17 years ago2007-06-08 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 7 Jun 2007 23:55:25 +0000 (23:55 +0000)]
2007-06-08  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c: (clutter_texture_get_pixbuf):
        Remove stray printf.

17 years ago2007-06-08 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 7 Jun 2007 23:51:53 +0000 (23:51 +0000)]
2007-06-08  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-debug.h:
        * clutter/clutter-main.c:
        * clutter/clutter-main.h:
        * clutter/clutter-private.h:
        * clutter/clutter-timeline.c:
        Add 'schedule' debug flag and new CLUTTER_TIMESTAMP macro.

        * clutter/clutter-texture.c:
        * clutter/clutter-texture.h:
        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/cogl-defines.h:
        * clutter/cogl/gles/cogl-defines.h:
        * clutter/cogl/gl/cogl.c:
        * clutter/cogl/gles/cogl.c:
        Add initial experiemental YUV texture support.
        Move texture rect size checks into cogl.
        Better handle moving texture data from video -> system memory
        (if support available).

17 years agoAdded a 'activate' signal, which is emitted when the 'Enter' key is pressed
Neil J. Patel [Thu, 7 Jun 2007 21:23:07 +0000 (21:23 +0000)]
Added a 'activate' signal, which is emitted when the 'Enter' key is pressed

17 years agoDon't forget files when committing, stoopeed
Emmanuele Bassi [Thu, 7 Jun 2007 19:23:04 +0000 (19:23 +0000)]
Don't forget files when committing, stoopeed

17 years ago2007-06-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 7 Jun 2007 15:28:59 +0000 (15:28 +0000)]
2007-06-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/*: Move documentation from the templates into the
source code.

17 years ago2007-06-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 7 Jun 2007 14:41:35 +0000 (14:41 +0000)]
2007-06-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-container.[ch]: Add a generic actor container
interface, for actors to implement without subclassing ClutterGroup.

* clutter/clutter-group.[ch]: Make ClutterGroup implement the
ClutterContainer interface, and deprecate the colliding methods.

* clutter/clutter-layout.[ch]: Add extended layout interface.
Actors and containers requiring or honouring complex layout
management should implement this interface and provide at least
one of the available layout types: width for height, height for
width, natural size, iterative size request.

* clutter/clutter-label.c: A ClutterLabel requires height for
width layout management, so it implements the ClutterLayout
interface.

* clutter/Makefile.am: Add new files to the build.

* tests/*.c:
* examples/*.c: Update tests and examples code to use the
new ClutterContainer API instead of ClutterGroup.

17 years agoUpdate ChangeLogs
Emmanuele Bassi [Thu, 7 Jun 2007 10:26:29 +0000 (10:26 +0000)]
Update ChangeLogs

17 years agoAdd delay property to ClutterTimeline
Emmanuele Bassi [Thu, 7 Jun 2007 10:26:18 +0000 (10:26 +0000)]
Add delay property to ClutterTimeline

This patch adds a "delay" property to the timeline object. If set,
it will delay the start of the timeline of a number of milliseconds.
If the timeline is looping, the delay will be applied just the first
time and not for every loop.

17 years agoRename clutter_timeline_copy to clutter_timeline_clone
Emmanuele Bassi [Thu, 7 Jun 2007 10:26:07 +0000 (10:26 +0000)]
Rename clutter_timeline_copy to clutter_timeline_clone

Usually, in OOP objects are cloned, while boxed types are copied; this
holds true in GObject, where GBoxed types have copy functions.

17 years ago2007-06-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 6 Jun 2007 14:27:52 +0000 (14:27 +0000)]
2007-06-06  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c:
        * clutter/clutter-texture.h:
        Fix GError Args.

17 years ago2007-06-01 Neil J. Patel <njp@o-hand.com>
Neil J. Patel [Fri, 1 Jun 2007 17:18:21 +0000 (17:18 +0000)]
2007-06-01  Neil J. Patel  <njp@o-hand.com>

        * clutter/clutter-entry.c: (clutter_entry_set_property),
        (clutter_entry_get_property), (clutter_entry_class_init),
        (clutter_entry_init), (clutter_entry_set_text),
        (clutter_entry_set_max_length):
        * clutter/clutter-entry.h:
        * examples/test-entry.c: (main):
        Added a max-length property whihc limits the length of the text in the
        entry.

17 years ago Clipping within the entry class to stop it over-slipping its
Neil J. Patel [Fri, 1 Jun 2007 16:50:35 +0000 (16:50 +0000)]
    Clipping within the entry class to stop it over-slipping its
        boundries.
        Text will move within the clip region to keep the cursor always
        visible.
        Added some padding to the left and right to make sure cursor is
        always show.

17 years agoremoved perspective matrix caching from ClutterStage
Tomas Frydrych [Fri, 1 Jun 2007 16:20:57 +0000 (16:20 +0000)]
removed perspective matrix caching from ClutterStage

17 years agoAdded text-visibility, which will allow you to show all entered text
Neil J. Patel [Fri, 1 Jun 2007 15:58:17 +0000 (15:58 +0000)]
Added text-visibility, which will allow you to show all entered text
as a nominated charaecter ('*' is default).

17 years agoAdded signal to track cursor movements\nMoved the curor painting function into the...
Neil J. Patel [Fri, 1 Jun 2007 15:18:05 +0000 (15:18 +0000)]
Added signal to track cursor movements\nMoved the curor painting function into the class functions so it can be sub-classed

17 years agomake clutter_actor_get_transformed_point input relative to actor; feed actor depth...
Tomas Frydrych [Fri, 1 Jun 2007 15:15:13 +0000 (15:15 +0000)]
make clutter_actor_get_transformed_point input relative to actor; feed actor depth into transform

17 years agoAdd a text-changed signal to the entry
Neil J. Patel [Fri, 1 Jun 2007 11:50:18 +0000 (11:50 +0000)]
Add a text-changed signal to the entry

17 years agowhen calculating vertices, apply perspective before all other tranforms
Tomas Frydrych [Fri, 1 Jun 2007 11:43:53 +0000 (11:43 +0000)]
when calculating vertices, apply perspective before all other tranforms

17 years agoMissed some info in Changelog
Neil J. Patel [Fri, 1 Jun 2007 11:35:56 +0000 (11:35 +0000)]
Missed some info in Changelog

17 years agoAdded a function to deal with ClutterKeyEvents. Handles the majority
Neil J. Patel [Fri, 1 Jun 2007 11:34:40 +0000 (11:34 +0000)]
Added a function to deal with ClutterKeyEvents. Handles the majority
        of entry-related keyboard keys. However modifiers still need to be
        implemented.

17 years agoIniticalize stage perspective matrix for defaults
Tomas Frydrych [Fri, 1 Jun 2007 11:30:52 +0000 (11:30 +0000)]
Initicalize stage perspective matrix for defaults

17 years agoDocumentation updates
Tomas Frydrych [Fri, 1 Jun 2007 10:00:35 +0000 (10:00 +0000)]
Documentation updates

17 years agofix up ChangeLog after merge
Tomas Frydrych [Thu, 31 May 2007 19:14:37 +0000 (19:14 +0000)]
fix up ChangeLog after merge

17 years agoinclude perspective transfore in calculation of vertices
Tomas Frydrych [Thu, 31 May 2007 19:14:28 +0000 (19:14 +0000)]
include perspective transfore in calculation of vertices

17 years agoInitial import of ClutterEntry, a text-entry actor
Neil J. Patel [Thu, 31 May 2007 18:33:42 +0000 (18:33 +0000)]
Initial import of ClutterEntry, a text-entry actor

17 years agofixed coordinance translation in clutter_actor_get_transformed_point
Tomas Frydrych [Thu, 31 May 2007 18:22:41 +0000 (18:22 +0000)]
fixed coordinance translation in clutter_actor_get_transformed_point

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 31 May 2007 17:11:09 +0000 (17:11 +0000)]
2007-05-31  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        Add clutter_actor_get_transformed_point()

        * clutter/clutter-main.c:
        Plug in perspective setup to redraw

        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        Remove audience code for now.

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 31 May 2007 12:35:36 +0000 (12:35 +0000)]
2007-05-31  Matthew Allum  <mallum@openedhand.com>

        * clutter/egl/clutter-backend-egl.c:
        * clutter/egl/clutter-backend-egl.h:
        * clutter/egl/clutter-event-egl.c:
        * clutter/egl/clutter-stage-egl.c:
        * clutter/egl/clutter-stage-egl.h:
        Rename Egl -> EGL

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 31 May 2007 11:13:43 +0000 (11:13 +0000)]
2007-05-31  Matthew Allum  <mallum@openedhand.com>

        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-backend-glx.h:
        * clutter/glx/clutter-event-glx.c:
        * clutter/glx/clutter-glx.h:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/glx/clutter-stage-glx.h:
        Change type nameing from Glx -> GLX.
        Add basic event filtering functionality

17 years agoChanged behaviour so that a beginning angle of 0 would correspond to 12 o'clock
Tomas Frydrych [Thu, 31 May 2007 10:11:06 +0000 (10:11 +0000)]
Changed behaviour so that a beginning angle of 0 would correspond to 12 o'clock

17 years agoadded missing clutter_actor_get_transformed_vertices prototype; removed related debug...
Tomas Frydrych [Thu, 31 May 2007 09:38:57 +0000 (09:38 +0000)]
added missing clutter_actor_get_transformed_vertices prototype; removed related debug code

17 years agoFixed ellipse behaviour for negative angles; fixed double to int conversion for negat...
Tomas Frydrych [Thu, 31 May 2007 09:29:12 +0000 (09:29 +0000)]
Fixed ellipse behaviour for negative angles; fixed double to int conversion for negative numbers; fixed CLUTTER_ANGLE_FROM_DEGX; added ClutterVertices and clutter_actor_get_transformed_vertices()

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 30 May 2007 23:43:13 +0000 (23:43 +0000)]
2007-05-31  Matthew Allum  <mallum@openedhand.com>

        * TODO:
        Sync up for whats left for 0.4 release (and 0.6 ideas)

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 30 May 2007 23:16:58 +0000 (23:16 +0000)]
2007-05-31  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-behaviour-ellipse.c:
        Remove uneeded knot signal

        * clutter/clutter-behaviour-path.c:
        Fix so knot signal is emitted only when a knot is reached.

        * clutter/clutter-effect.c:
        * clutter/clutter-effect.h:
        Add a scale effect.

        * configure.ac:
        * doc/manual/Makefile.am:
        * doc/manual/clutter-manual.xml.in:
        * doc/manual/manual.xsl:
        * doc/manual/style.css:
        Add various bits for application developers manual.

17 years agoremoved ClutterSmoothstep type; renamed clutter_smoothstep_func to clutter_smoothstep...
Tomas Frydrych [Wed, 30 May 2007 10:52:06 +0000 (10:52 +0000)]
removed ClutterSmoothstep type; renamed clutter_smoothstep_func to clutter_smoothstep_inc_func; added clutter_smoothstep_dec_func

17 years agofixed clutter cos functions; fixed tilt calculations in elliptic path
Tomas Frydrych [Tue, 29 May 2007 09:21:18 +0000 (09:21 +0000)]
fixed clutter cos functions; fixed tilt calculations in elliptic path

17 years agofix z_camera calcualtion in gles/cogl
Tomas Frydrych [Tue, 29 May 2007 07:26:32 +0000 (07:26 +0000)]
fix z_camera calcualtion in gles/cogl

17 years ago2007-05-28 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 28 May 2007 20:09:19 +0000 (20:09 +0000)]
2007-05-28  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c: (clutter_texture_unrealize):
        Dont even try to move texture pixels from video -> system
        ram on unrealisation for GL/ES

17 years ago2007-05-28 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 28 May 2007 19:14:40 +0000 (19:14 +0000)]
2007-05-28  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-stage.c: (clutter_stage_get_actor_at_pos):
        Fix for GL/ES. Barring texture reads this means all clutter
        functionality now works on GL/ES! (no doubt with a few yet to
        be discovered bugs)

17 years ago2007-05-28 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 28 May 2007 18:49:34 +0000 (18:49 +0000)]
2007-05-28  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-backend.c:
        * clutter/clutter-backend.h:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/glx/clutter-backend-glx.c:
        Fix up rendering pipeline removing clutter_backend_XXX_stage_paint
        and adding clutter_backend_XXX_redraw instead. Duplicates less
        code in backends, avoids clutter_actor_paint() getting called
        before stage is set up (viewport wise) and unbreaks things like
        picking.

        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        * clutter/clutter-main.c:
        * clutter/clutter-private.h:
        * clutter/clutter-stage.c: (clutter_stage_get_actor_at_pos):
        Redo picking functionality a different way (via color indexing)
        as to provide more flexibility, possibly speed and more likely
        work with GL/ES (doesn't currently however - not sure why).

        * clutter/clutter-group.c:
        Add groups own 'pick' method.

        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/cogl.c:
        * clutter/cogl/gles/cogl.c:
        Move clipping funtionality into cogl.

        * clutter/cogl/gles/cogl-defines.h:
        Hack around missing BGR format in GL/ES.

        * clutter/egl/clutter-backend-egl.c:
        * clutter/egl/clutter-backend-egl.h:
        * clutter/egl/clutter-stage-egl.c:
        * clutter/sdl/clutter-backend-sdl.c:
        * clutter/sdl/clutter-backend-sdl.h:
        * clutter/sdl/clutter-event-sdl.c:
        * clutter/sdl/clutter-stage-sdl.c:
        Update backends to newer API.
        Add basic mouse event translation to SDL.

17 years ago2007-05-25 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 25 May 2007 16:35:57 +0000 (16:35 +0000)]
2007-05-25  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-color.c: (clutter_color_parse):
        Handle #rrggbbaa color setting strings (i.e with alpha).
        Set alpha to 0xff if it is not specified.

        * clutter/clutter-stage.c: (clutter_stage_get_actor_at_pos)
        Increase select buffer.

        * examples/super-oh.c:
        Fix up use of clutter_group_show_all()

17 years agoClutterBehaviourEllipse api changes; z_camera calculation
Tomas Frydrych [Fri, 25 May 2007 12:07:24 +0000 (12:07 +0000)]
ClutterBehaviourEllipse api changes; z_camera calculation

17 years ago2007-05-25 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 25 May 2007 10:56:09 +0000 (10:56 +0000)]
2007-05-25  Matthew Allum  <mallum@openedhand.com>

        * Makefile.am:
        Install a default flavour .pc file.

        * clutter/clutter-actor.c:
        Translate units correctly for translate()

        * clutter/clutter-feature.h:
        Add new texture features.

        * clutter/clutter-fixed.h:
        Add clutter angle conversion defines.

        * clutter/clutter-group.c:
        Use cogl not GL. Dont recurse on show all.

        * clutter/clutter-private.h:
        Remove sync_viewport.

        * clutter/clutter-rectangle.c:
        Fix cogl typo.

        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        Add perspective settings. Remove viewport_sync.
        Add audience stubs. Fix up actor_at_pos a little (still broken)

        * clutter/clutter-texture.h:
        * clutter/clutter-texture.c:
        Redo pixel uploading. Add initial (disabled) YUV support.

        * clutter/clutter-timeline.c:
        Fire 'completed' signal when looping.

        * clutter/cogl/gl/cogl.c:
        Move some backend checks here.

        * clutter/glx/clutter-backend-glx.c:
        Actually check target display has GLX ext.

        * clutter/glx/clutter-stage-glx.c:
        Handle offscreen failing more gracefully.

        * examples/Makefile.am:
        Use AM_LDFLAGS.

        * clutter/clutter-main.c:
        * clutter/clutter-feature.c:
        * clutter/clutter-backend.c:
        * clutter/clutter-alpha.c:
        Fix a compile warnings.

        * tests/Makefile.am:
        * tests/test-offscreen.c:
        * tests/test-scale.c:
        More tests.

17 years agoremoved clutter_actor_get_abs_position_units() and clutter_actor_get_abs_size_units...
Tomas Frydrych [Wed, 23 May 2007 10:47:35 +0000 (10:47 +0000)]
removed clutter_actor_get_abs_position_units() and clutter_actor_get_abs_size_units() from public api

17 years agoupdated clutter-behaviour-ellipse.sgml template
Tomas Frydrych [Tue, 22 May 2007 09:32:09 +0000 (09:32 +0000)]
updated clutter-behaviour-ellipse.sgml template

17 years agoremoved ClutterReal; added clutter-units
Tomas Frydrych [Tue, 22 May 2007 09:31:40 +0000 (09:31 +0000)]
removed ClutterReal; added clutter-units

17 years agoadd missing clutter-real.h
Tomas Frydrych [Fri, 18 May 2007 07:32:41 +0000 (07:32 +0000)]
add missing clutter-real.h

17 years agoClutterReal type
Tomas Frydrych [Fri, 18 May 2007 07:30:06 +0000 (07:30 +0000)]
ClutterReal type

17 years agoUpdate ChangeLog (and fix last commit)
Emmanuele Bassi [Thu, 17 May 2007 12:07:17 +0000 (12:07 +0000)]
Update ChangeLog (and fix last commit)

17 years agoRemove ClutterLayout from the main branch
Emmanuele Bassi [Thu, 17 May 2007 12:03:43 +0000 (12:03 +0000)]
Remove ClutterLayout from the main branch

17 years agoUse clutter_base_init() in the init process
Emmanuele Bassi [Thu, 17 May 2007 12:03:38 +0000 (12:03 +0000)]
Use clutter_base_init() in the init process

Use clutter_base_init() instead of g_type_init(), as it calls the type
function for ClutterActor and allows the compiler to use a constant value
instead of the computed result.

17 years agoHush compiler warning
Emmanuele Bassi [Thu, 17 May 2007 12:03:31 +0000 (12:03 +0000)]
Hush compiler warning

When forcing a call to clutter_actor_get_type() to cache the result, ignore
the returned value and hush a compiler warning.

17 years ago2007-05-17 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 17 May 2007 09:08:50 +0000 (09:08 +0000)]
2007-05-17  Matthew Allum  <mallum@openedhand.com>

        * configure.ac:
        Fix CLUTTER_NO_FPU typo.

17 years agoadded clutter_exp_inc_func() and clutter_exp_dec_func()
Tomas Frydrych [Thu, 17 May 2007 07:09:24 +0000 (07:09 +0000)]
added clutter_exp_inc_func() and clutter_exp_dec_func()

17 years agoadded clutter_pow2x() and clutter_log2x()
Tomas Frydrych [Thu, 17 May 2007 07:09:18 +0000 (07:09 +0000)]
added clutter_pow2x() and clutter_log2x()

17 years agoAdd base initialisation function
Emmanuele Bassi [Wed, 16 May 2007 15:00:41 +0000 (15:00 +0000)]
Add base initialisation function

Add a semi-private function, called clutter_base_init(), which initialises
the basic Clutter functionalities (at the moment, just the GLib type system)
without calling in the backend-specific code. This function is only useful
for gtk-doc, to introspect the library when generating documentation for
signals, properties and class hierarchy.

Also, change the documentation build system to use clutter_base_init() when
launching the scanner program.

17 years agoadded clutter_sine_half_func()
Tomas Frydrych [Wed, 16 May 2007 13:53:39 +0000 (13:53 +0000)]
added clutter_sine_half_func()

17 years agoFixed clutter_sine_inc_func(); added clutter_sine_dec_func()
Tomas Frydrych [Wed, 16 May 2007 13:46:54 +0000 (13:46 +0000)]
Fixed clutter_sine_inc_func(); added clutter_sine_dec_func()

17 years agoimplemented smoothstep alpha function
Tomas Frydrych [Wed, 16 May 2007 11:32:50 +0000 (11:32 +0000)]
implemented smoothstep alpha function

17 years ago2007-05-16 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 16 May 2007 09:08:30 +0000 (09:08 +0000)]
2007-05-16  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-backend.c:
        * clutter/clutter-backend.h:
        * clutter/clutter-feature.c:
        * clutter/clutter-feature.h:
        * clutter/clutter-main.c:
        * clutter/clutter-main.h:
        * clutter/clutter-private.h:
        * clutter/clutter-stage.c:
        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/cogl.c:
        * clutter/cogl/gles/cogl.c:
        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-backend-glx.h:
        * clutter/glx/clutter-glx.h:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/glx/clutter-stage-glx.h:
        Rejig the features() foo, moving mostly into backends/cogl.

17 years agoremoved unnecessary CFX_MUL from clutter_actor_get_abs_position
Tomas Frydrych [Tue, 15 May 2007 15:41:30 +0000 (15:41 +0000)]
removed unnecessary CFX_MUL from clutter_actor_get_abs_position

17 years agoadded tilt parameter to clutter_behaviour_ellipse_new()
Tomas Frydrych [Tue, 15 May 2007 11:51:14 +0000 (11:51 +0000)]
added tilt parameter to clutter_behaviour_ellipse_new()

17 years ago2007-05-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 14 May 2007 09:11:23 +0000 (09:11 +0000)]
2007-05-14  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-behaviour-path.c:
        Fix bug where last knot position wouldn't get reached.

        * clutter/clutter-group.c:
        Add some docs

        * clutter/clutter-timeline.h:
        * clutter/clutter-timeline.c:
        Add clutter_timeline_copy (needed for ClutterEffect)

        * clutter/clutter-version.h.in:
        Export windowing system / GL backend etc defines.

        * clutter/Makefile.am:
        * clutter/clutter-effect.c:
        * clutter/clutter-effect.h:
        * clutter/clutter.h:

        * clutter/glx/clutter-backend-glx.c:
        Minor clean ups.

        * clutter/clutter-alpha.h:
        Add a fixme.

        * configure.ac:
        Add FPU define.

        * examples/Makefile.am:
        * examples/slider.c:
        Add Robs slider game.

17 years ago2007-05-10 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 10 May 2007 12:49:34 +0000 (12:49 +0000)]
2007-05-10  Matthew Allum  <mallum@openedhand.com>

        * clutter/egl/clutter-backend-egl.c:
        * clutter/egl/clutter-event-egl.c:
        * clutter/sdl/clutter-backend-sdl.c:
        * clutter/sdl/clutter-event-sdl.c:
        Fix SDL & EGL backends to work with newer backend code.

17 years agofixed gtkdoc comments for hls functions
Tomas Frydrych [Thu, 10 May 2007 11:50:07 +0000 (11:50 +0000)]
fixed gtkdoc comments for hls functions

17 years agoadded clutter_color_to/from_hlsx(); clobbered hue to 0..255 in clutter_colour_to...
Tomas Frydrych [Thu, 10 May 2007 11:37:45 +0000 (11:37 +0000)]
added clutter_color_to/from_hlsx(); clobbered hue to 0..255 in clutter_colour_to/from_hls()

17 years ago2007-05-10 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 9 May 2007 23:31:08 +0000 (23:31 +0000)]
2007-05-10  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-backend.c:
        * clutter/clutter-backend.h:
        * clutter/clutter-event.c:
        * clutter/clutter-main.c:
        * clutter/clutter-private.h:
        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-backend-glx.h:
        * clutter/glx/clutter-event-glx.c:
        Rejig backend event code as to simplify a little.
        NOTE: This breaks non glx backends.

        * tests/Makefile.am:
        * tests/test-events.c:
        Add a very simple event test.

        * tests/test-textures.c: (main):
        Add some more sizes to the test.

17 years ago2007-05-05 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 4 May 2007 23:53:49 +0000 (23:53 +0000)]
2007-05-05  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c:
        Fix typos with new cogl using texture code. Fixes tiled textures.
        Add a check for max npots size.

        * configure.ac:
        * Makefile.am:
        * tests/Makefile.am:
        * tests/test-textures.c:
        Add a simple texture test.

17 years ago2007-05-02 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 2 May 2007 20:05:29 +0000 (20:05 +0000)]
2007-05-02  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-stage.c:
        * clutter/sdl/Makefile.am:
        * clutter/sdl/clutter-backend-sdl.c:
        * clutter/sdl/clutter-backend-sdl.h:
        * clutter/sdl/clutter-event-sdl.c:
        * clutter/sdl/clutter-sdl.h:
        * clutter/sdl/clutter-stage-sdl.c:
        * clutter/sdl/clutter-stage-sdl.h:
        * configure.ac:
        Add a basic SDL based backend. Lacks real input event handling
        (translation) as yet.
        Also allows for clutter to be built against dgles.

17 years ago2007-05-02 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 2 May 2007 09:01:11 +0000 (09:01 +0000)]
2007-05-02  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/cogl/gles/cogl.c:
        Fix rotation + other fixed point cleanups.

        * clutter/clutter-texture.h:
        Sketch out an updated API.

17 years agofixed sign problem in cogl_setup_vieport
Tomas Frydrych [Tue, 1 May 2007 20:13:15 +0000 (20:13 +0000)]
fixed sign problem in cogl_setup_vieport

17 years ago2007-05-01 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 1 May 2007 15:26:12 +0000 (15:26 +0000)]
2007-05-01  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-rectangle.c:
        Comment out color match check for now as appears to be causing
        borders to always get pained.

        * clutter/clutter-texture.h:
        Add some format defines (unused as yet)

        * clutter/cogl/gles/cogl.c:
        * clutter/egl/clutter-stage-egl.c:
        * configure.ac:
        Various OpenGL ES backend related fixes and tweaks.

17 years agoUpdated changelog
Tomas Frydrych [Mon, 30 Apr 2007 08:39:38 +0000 (08:39 +0000)]
Updated changelog

17 years agoremoved debugging messages
Tomas Frydrych [Mon, 30 Apr 2007 08:39:35 +0000 (08:39 +0000)]
removed debugging messages

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.