profile/ivi/clutter.git
16 years ago2007-07-26 Neil J. Patel <njp@o-hand.com>
Neil J. Patel [Thu, 26 Jul 2007 11:31:50 +0000 (11:31 +0000)]
2007-07-26  Neil J. Patel  <njp@o-hand.com>

* clutter/clutter-entry.c: (offset_to_bytes),
(clutter_entry_ensure_cursor_position),
(clutter_entry_new_with_text), (clutter_entry_new),
(clutter_entry_insert_unichar), (clutter_entry_delete_chars):
Fixed utf8 support so it actually works now, for both inserting and deleting
chars.
Fixed positioning of cursor for utf8 chars. Both GString and Pnago need
bytes (not documented!) for string manipulation, so making sure all values
were bytes and not char positions fixed the issue.
Set a default size of 50x50 for the entry, otherwise no chars can be seen
if the size is not set after creation (which confuses the developer).

16 years agoUpdate ChangeLog for SVN users
Emmanuele Bassi [Thu, 26 Jul 2007 11:28:34 +0000 (11:28 +0000)]
Update ChangeLog for SVN users

16 years agoCheck for 0 frames per seconds
Emmanuele Bassi [Thu, 26 Jul 2007 11:28:30 +0000 (11:28 +0000)]
Check for 0 frames per seconds

ClutterTimeline with zero frames per seconds are not allowed as well.

16 years agoDo not allow zero as number of frames in ClutterTimeline
Emmanuele Bassi [Thu, 26 Jul 2007 11:28:25 +0000 (11:28 +0000)]
Do not allow zero as number of frames in ClutterTimeline

A timeline with no frames is not valid, so we simply disallow setting
ClutterTimeline:num-frames to 0.

16 years agoUpdate ChangeLog for SVN users
Emmanuele Bassi [Thu, 26 Jul 2007 11:04:29 +0000 (11:04 +0000)]
Update ChangeLog for SVN users

16 years agoFix various compiler warnings
Emmanuele Bassi [Thu, 26 Jul 2007 11:04:04 +0000 (11:04 +0000)]
Fix various compiler warnings

Most of these fixes are simple symbol shadowing issues, like index and the
braindead y0 and y1 extern symbols exported by math.h on GNU libc systems.

There is a masking issue in ClutterTexture which should be checked; I ran
the tests and everything looked fine.

The rest are just unused variables.

16 years agoUpdate ChangeLog for SVN users
Emmanuele Bassi [Thu, 26 Jul 2007 10:00:16 +0000 (10:00 +0000)]
Update ChangeLog for SVN users

16 years agoFix fallout from SVN merge
Emmanuele Bassi [Thu, 26 Jul 2007 10:00:13 +0000 (10:00 +0000)]
Fix fallout from SVN merge

16 years agoEnable strict compiler flags with a configure flag
Emmanuele Bassi [Thu, 26 Jul 2007 10:00:09 +0000 (10:00 +0000)]
Enable strict compiler flags with a configure flag

When making a distcheck it's usually a good idea to enable very strict
compiler flags, like -Werror, to catch stuff that slipped through the
development phase.

This patch adds a --enable-maintainer-flags command line switch to the
configure script, which enables a set of strict compiler flags. The default
is not to use them unless explicitly activated.

In case of distcheck, this switch is activated when launching the configure
script from within the distcheck build directory.

16 years ago2007-07-25 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 25 Jul 2007 22:09:53 +0000 (22:09 +0000)]
2007-07-25  Matthew Allum  <mallum@openedhand.com>

        * Makefile.am:
        * HACKING:
        Add with initial notes on coding bits and bobs.

        * clutter/clutter-behaviour-scale.c:
        Doc fixes.

        * clutter/clutter-event.c: (clutter_event_put):
        Doc fixes.

        * clutter/glx/clutter-stage-glx.c:
        Disable wm user resizing of stage (At least for now)
        Doc fixes.

16 years agofixed endianness issue in fast fp conversions
Tomas Frydrych [Wed, 25 Jul 2007 18:34:05 +0000 (18:34 +0000)]
fixed endianness issue in fast fp conversions

16 years agoadded --disable-fast-fp-converions configure option
Tomas Frydrych [Wed, 25 Jul 2007 18:17:13 +0000 (18:17 +0000)]
added --disable-fast-fp-converions configure option

16 years ago2007-07-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 25 Jul 2007 14:25:01 +0000 (14:25 +0000)]
2007-07-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-label.[ch]: Ouch, clutter_label_get_alignment()
returns a PangoAlignment, not a boolean.

16 years ago2007-07-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 25 Jul 2007 13:12:24 +0000 (13:12 +0000)]
2007-07-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour.h:
* clutter/clutter-behaviour.c: Rename clutter_behaviour_clear()
to clutter_behaviour_remove_all() to avoid method clashes in
bindings.

16 years agoadded test-rotate
Tomas Frydrych [Wed, 25 Jul 2007 13:08:12 +0000 (13:08 +0000)]
added test-rotate

16 years ago2007-07-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 25 Jul 2007 12:54:30 +0000 (12:54 +0000)]
2007-07-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-bspline.c: Kill off some deep pointer
indirections; use CLUTTER_NOTE() instead of ifdeffed out g_debug();
add checks in every public entry point; move some initialisations
of private data structures out of the constructor and into the
init function, where they belong.

16 years ago2007-07-25 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 25 Jul 2007 12:17:44 +0000 (12:17 +0000)]
2007-07-25  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-behaviour-rotate.c:
        * clutter/clutter-behaviour-rotate.h:
        Split 'center' prop into 3 seperate props for each axis.
        Use clutter_behaviour_actors_foreach() rather than
        clutter_behaviour_get_actors() to avoid copying list.
        Call fixed point rotation funcs internally.

        * clutter/clutter-effect.c:
        * clutter/clutter-effect.h:
        Add new simple rotation based effect funcs.

16 years ago2007-07-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 25 Jul 2007 10:36:19 +0000 (10:36 +0000)]
2007-07-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter.h: Include clutter-behaviour-depth.h

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 22:33:30 +0000 (22:33 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Add new rotate behaviour methods.

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 22:32:37 +0000 (22:32 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-rotate.[ch]: Add a center property
for the center or rotation; implement the set_bounds() methods.

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 19:03:04 +0000 (19:03 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/eglx/clutter-backend-egl.c:
* clutter/eglnative/clutter-backend-egl.c:
* clutter/sdl/clutter-backend-sdl.c: Destroy the stage in every
backend.

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 18:59:25 +0000 (18:59 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/glx/clutter-backend-glx.c: Destroy the stage, don't
just unref it.

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 17:39:58 +0000 (17:39 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-sections.txt: Add undocumented symbols

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 17:39:40 +0000 (17:39 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-main.c: Add debug markers.

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 17:38:35 +0000 (17:38 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-texture.[ch]: Add a ClutterTextureError
to be returned by the loader functions; use the GObject API
to allocate the private data structure instead of managing it
ourselves; add documentation.

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 17:34:06 +0000 (17:34 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c:
* clutter/clutter-box.h:
* clutter/clutter-stage.c: Documentation fixes.

16 years ago2007-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 24 Jul 2007 16:50:34 +0000 (16:50 +0000)]
2007-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/gl/cogl-defines.h:
        Add  CGL_UNSIGNED_INT_8_8_8_8_REV (for big endian machines)

16 years ago2007-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 24 Jul 2007 16:42:50 +0000 (16:42 +0000)]
2007-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/gl/cogl-defines.h:
        Another GL_TEXTURE_RECTANGLE_ARB related fix (#404)

16 years ago2007-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 24 Jul 2007 16:22:29 +0000 (16:22 +0000)]
2007-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-backend.c:
        Minor build fixes (#413)

16 years ago2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 24 Jul 2007 16:18:52 +0000 (16:18 +0000)]
2007-07-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-effect.h:
* clutter/clutter-effect.c: Add a secondary constructor for
ClutterEffectTemplate, for use of the bindings.

16 years ago2007-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 24 Jul 2007 12:17:42 +0000 (12:17 +0000)]
2007-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/gles/cogl.c: (cogl_get_bitmasks):
        Fix typo calling glGetIntegerv rather than glGetInteger

16 years ago2007-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 24 Jul 2007 12:06:52 +0000 (12:06 +0000)]
2007-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/gl/cogl.c: (cogl_get_features):
        learn to use cpp properly.

16 years ago2007-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 24 Jul 2007 12:04:24 +0000 (12:04 +0000)]
2007-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-media.c: (clutter_media_base_init):
        Remove #if 0! signal - assume causing issues with binding generation.
        (#407)

        * clutter/cogl/gl/cogl.c:
        Check GL_TEXTURE_RECTANGLE_ARB and GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB
        are defined in gl.h (#404)

16 years ago2007-07-24 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 24 Jul 2007 09:56:07 +0000 (09:56 +0000)]
2007-07-24  Matthew Allum  <mallum@openedhand.com>

        * clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_realize):
        Create stage window with correct depth/visual. Via patch from
        Robert Bragg (#409).

17 years ago2007-07-23 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 23 Jul 2007 17:02:52 +0000 (17:02 +0000)]
2007-07-23  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c: (texture_render_to_gl_quad),
        (clutter_texture_paint):
        Dont be over aggressive in throwing criticals for unrealized
        textures. Doesn't make sense for sub classes. (#403)

17 years ago2007-07-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sun, 22 Jul 2007 22:40:18 +0000 (22:40 +0000)]
2007-07-22  Emmanuele Bassi  <ebassi@openedhand.com>

Two small fixes for correctly debugging the deinitialisation
phase of the backend:

* clutter/glx/clutter-backend-glx.c: Remove the event source
after we unref the main stage.

* clutter/glx/clutter-stage-glx.c: Add a mark at the end of the
unrealize call (the perl bindings seem to crash before we reach
this point).

17 years ago2007-07-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sun, 22 Jul 2007 22:35:45 +0000 (22:35 +0000)]
2007-07-22  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-ellipse.c: Remove pointer indirections;
add sanity checks on the public entry points; make all the public
properties floating point (where needed) andconvert them to fixed
point internally. (Partial fix for #389)

17 years ago2007-07-22 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sun, 22 Jul 2007 22:30:47 +0000 (22:30 +0000)]
2007-07-22  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour.[ch]: Rename ClutterBehaviour::apply
and ClutterBehaviour::remove to ClutterBehaviour::applied and
ClutterBehaviour::removed respectively, and emit them when the
behaviour has been applied (or does no longer apply) to an actor.

(clutter_behaviour_dispose), (clutter_behaviour_finalize),
(clutter_behaviour_class_init): Move the actor removal to the
::dispose virtual function, and remove the ::finalize one;
document the missing properties and signals.

(clutter_behaviour_clear): Add function to clear a behaviour:
every actor will be unreffed and the ClutterBehaviour::removed
signal will be emitted.

17 years ago2007-07-21 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sat, 21 Jul 2007 16:48:11 +0000 (16:48 +0000)]
2007-07-21  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-event.c:
        Correct  clutter_event_get_state () return type. Fixes #398

        * clutter/glx/clutter-stage-glx.c:
        Disable use XFixes cursor visibility funcs. Appears to have issues
        on feisty X Server at least. Fallback should work generally better.

        Fix non offscreen clutter_stage_snapshot to also rotate read pixel
        data to correct orientation.

17 years agoRename minimum and maximum depth properties of the depth behaviour
Emmanuele Bassi [Fri, 13 Jul 2007 14:11:49 +0000 (14:11 +0000)]
Rename minimum and maximum depth properties of the depth behaviour

To follow the other simple behaviours, the ClutterBehaviourDepth:min-depth
and ClutterBehaviourDepth:max-depth properties have been renamed to
ClutterBehaviourDepth:depth-start and ClutterBehaviourDepth:depth-end
respectively.

17 years ago2007-07-12 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 12 Jul 2007 11:30:56 +0000 (11:30 +0000)]
2007-07-12  Matthew Allum  <mallum@openedhand.com>

        * clutter/eglnative/clutter-event-egl.c: (clutter_event_dispatch):
        Avoid sending too many events which are just pressure changes.

17 years ago2007-07-12 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 12 Jul 2007 10:15:19 +0000 (10:15 +0000)]
2007-07-12  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c: (clutter_actor_paint):
        * clutter/clutter-stage.c: (clutter_stage_get_actor_at_pos):
        * clutter/cogl/cogl.h:
        * clutter/cogl/gl/cogl.c: (cogl_get_viewport):
        * clutter/cogl/gles/cogl.c: (cogl_get_viewport):
        Based on patch from Pan Bohui, See;
        http://bugzilla.openedhand.com/show_bug.cgi?id=390

        * TODO:
        More misc updates.

17 years agoFully revert opacity checks
Emmanuele Bassi [Wed, 11 Jul 2007 12:01:03 +0000 (12:01 +0000)]
Fully revert opacity checks

17 years agoRevert last fix
Emmanuele Bassi [Wed, 11 Jul 2007 11:43:02 +0000 (11:43 +0000)]
Revert last fix

17 years agoFurther fix
Emmanuele Bassi [Wed, 11 Jul 2007 11:41:01 +0000 (11:41 +0000)]
Further fix

17 years ago2007-07-11 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 11 Jul 2007 11:37:32 +0000 (11:37 +0000)]
2007-07-11  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-opacity.c:
Don't check direction in opacity.

17 years agoimprovements to ClutterBehaviourEllipse
Tomas Frydrych [Wed, 11 Jul 2007 07:16:21 +0000 (07:16 +0000)]
improvements to ClutterBehaviourEllipse

17 years ago2007-07-09 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 9 Jul 2007 22:59:52 +0000 (22:59 +0000)]
2007-07-09  Matthew Allum  <mallum@openedhand.com>

        * TODO:
        Updates.
        * clutter/clutter-stage.c:
        * clutter/glx/clutter-stage-glx.c:
        Fix cursor visibility property.
        Force a repaint before mapping to attempt to avoid flicker.

17 years agoAdd tslib support to eglnative backend.
Richard Purdie [Mon, 9 Jul 2007 22:25:26 +0000 (22:25 +0000)]
Add tslib support to eglnative backend.

17 years agoTweaks to the eglnative backend.
Richard Purdie [Mon, 9 Jul 2007 21:59:01 +0000 (21:59 +0000)]
Tweaks to the eglnative backend.

17 years agoMake the backend add_option function optional.
Richard Purdie [Mon, 9 Jul 2007 21:56:06 +0000 (21:56 +0000)]
Make the backend add_option function optional.

17 years agoAdd ChangeLog for SVN users
Emmanuele Bassi [Mon, 9 Jul 2007 21:39:09 +0000 (21:39 +0000)]
Add ChangeLog for SVN users

17 years agoHandle opacity inversion in ClutterBehaviourOpacity
Emmanuele Bassi [Mon, 9 Jul 2007 21:39:03 +0000 (21:39 +0000)]
Handle opacity inversion in ClutterBehaviourOpacity

Always make sure that the opacity is a positive integer, even if the
start and end opacities are inverted.

Also, use the correct integer-to-pointer casts, as the opacity is an
unsigned integer.

17 years agoAdd ClutterBehaviourDepth to the API reference
Emmanuele Bassi [Mon, 9 Jul 2007 21:38:54 +0000 (21:38 +0000)]
Add ClutterBehaviourDepth to the API reference

17 years agoAdd ClutterBehaviourDepth
Emmanuele Bassi [Mon, 9 Jul 2007 21:38:43 +0000 (21:38 +0000)]
Add ClutterBehaviourDepth

ClutterBehaviourDepth is a simple behaviour that controls the depth
property of a set of actors.

17 years ago2007-07-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 6 Jul 2007 15:19:26 +0000 (15:19 +0000)]
2007-07-06  Matthew Allum  <mallum@openedhand.com>

        * NEWS:
        * configure.ac:
        Update for 0.3.1

17 years ago2007-07-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 6 Jul 2007 14:08:03 +0000 (14:08 +0000)]
2007-07-06  Matthew Allum  <mallum@openedhand.com>

        * clutter/eglx/Makefile.am:
        * clutter/eglx/clutter-egl.h:
        * clutter/eglx/clutter-event-egl.c:
        * clutter/eglx/clutter-stage-egl.c:
        Rename clutter-egl.h -> clutter-eglx.h

        * NEWS:
        * README:
        Add info re EGL split.

17 years ago2007-07-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 6 Jul 2007 13:56:01 +0000 (13:56 +0000)]
2007-07-06  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/eglnative/Makefile.am:
        * clutter/eglnative/clutter-backend-egl.c:
        * clutter/eglnative/clutter-backend-egl.h:
        * clutter/eglnative/clutter-egl.h:
        * clutter/eglnative/clutter-event-egl.c:
        * clutter/eglnative/clutter-stage-egl.c:
        * clutter/eglnative/clutter-stage-egl.h:
        * clutter/eglx/Makefile.am:
        * clutter/eglx/clutter-backend-egl.c:
        * clutter/eglx/clutter-egl.h:
        * clutter/eglx/clutter-event-egl.c:
        * clutter/eglx/clutter-stage-egl.c:
        * configure.ac:
        Add a new 'native' EGL backend for non X based EGL's
        (i.e on framebuffer).
        Rename old backend to 'eglx' and namespace public funcs with this.

        * clutter/pango/pangoclutter-private.h:
        Add extra checks for expected defines.

17 years ago2007-07-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 6 Jul 2007 11:40:59 +0000 (11:40 +0000)]
2007-07-06  Matthew Allum  <mallum@openedhand.com>

        * NEWS:
        * README:
        Updates for upcoming 0.3.1 release.
        * clutter/egl/Makefile.am:
        * clutter/egl/clutter-backend-egl.c:
        * clutter/egl/clutter-backend-egl.h:
        * clutter/egl/clutter-egl.h:
        * clutter/egl/clutter-event-egl.c:
        * clutter/egl/clutter-stage-egl.c:
        * clutter/egl/clutter-stage-egl.h:
        * configure.ac:
        Move egl -> eglx

17 years ago2007-07-06 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 6 Jul 2007 09:22:43 +0000 (09:22 +0000)]
2007-07-06  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-box.c: (clutter_box_pick):
        Call clutter_box_paint rather than actor paint method avoiding
        infinte loop (Fixes test-boxes crasher).

        * clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_unrealize):
        Trap the X calls to avoid potential X errors.

17 years ago2007-07-06 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 6 Jul 2007 07:35:32 +0000 (07:35 +0000)]
2007-07-06  Ross Burton  <ross@openedhand.com>

* tests/Makefile.am:
Dist redhand.png.

17 years agoupdated changelog
Tomas Frydrych [Thu, 5 Jul 2007 13:52:23 +0000 (13:52 +0000)]
updated changelog

17 years agofixed clutter_goup_query_coords() to shrink if appropriate
Tomas Frydrych [Thu, 5 Jul 2007 13:52:19 +0000 (13:52 +0000)]
fixed clutter_goup_query_coords() to shrink if appropriate

17 years agoAdd synchronise support to the GLX backend
Emmanuele Bassi [Thu, 5 Jul 2007 11:05:46 +0000 (11:05 +0000)]
Add synchronise support to the GLX backend

This patch adds a command line switch to make every X call synchronous.
It's only useful for debugging purposes, so it will not be displayed when
calling a Clutter application with --help.

17 years ago2007-07-05 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 5 Jul 2007 10:06:08 +0000 (10:06 +0000)]
2007-07-05  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-rectangle.c: Fix off-by-border-width bug
in the border creation of a ClutterRectangle.

17 years agoupdate ChangeLog
Tomas Frydrych [Wed, 4 Jul 2007 15:30:49 +0000 (15:30 +0000)]
update ChangeLog

17 years agoadded CLUTTER_FLOAT_TO_UINT
Tomas Frydrych [Wed, 4 Jul 2007 15:30:44 +0000 (15:30 +0000)]
added CLUTTER_FLOAT_TO_UINT

17 years ago2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 4 Jul 2007 14:00:41 +0000 (14:00 +0000)]
2007-07-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/*: Loads of fixes for the API reference.

17 years ago2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 4 Jul 2007 13:59:44 +0000 (13:59 +0000)]
2007-07-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-docs.sgml: Remove partintro, as it messes up with
devhelp books.

* clutter-sections.txt: Update functions.

17 years agoUpdate ChangeLog for SVN users
Emmanuele Bassi [Wed, 4 Jul 2007 12:34:21 +0000 (12:34 +0000)]
Update ChangeLog for SVN users

17 years agoFix the iteration in clutter_group_remove_all()
Emmanuele Bassi [Wed, 4 Jul 2007 12:29:50 +0000 (12:29 +0000)]
Fix the iteration in clutter_group_remove_all()

When iterating on a list while changing it, it's a good idea to keep
pointers around to avoid dirty access bugs.

17 years agoUse the right argument naming for alpha functions
Emmanuele Bassi [Wed, 4 Jul 2007 12:29:44 +0000 (12:29 +0000)]
Use the right argument naming for alpha functions

The name of the argument in the header must match the name in the
function implementation, for gtk-doc to work properly.

17 years agoInclude the correct file for the effect section
Emmanuele Bassi [Wed, 4 Jul 2007 11:16:04 +0000 (11:16 +0000)]
Include the correct file for the effect section

17 years ago2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 4 Jul 2007 09:36:44 +0000 (09:36 +0000)]
2007-07-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-main.c (clutter_redraw): Move the stage
paint init call from the main redraw function...

* clutter/clutter-stage.c (clutter_stage_paint): ... to the
ClutterActor::paint() overridden method in ClutterStage.

17 years ago2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 4 Jul 2007 09:34:24 +0000 (09:34 +0000)]
2007-07-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter.h:
* clutter/Makefile.am: ClutterBackend is marked as public API,
so install the clutter-backend.h header and include it when
including clutter.h.

17 years ago2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 4 Jul 2007 09:33:04 +0000 (09:33 +0000)]
2007-07-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-entry.[ch]: Various fixes to ClutterEntry:
fix code style issues; add documentation for the various
properties; add ClutterEntry:entry-padding property, for controlling
the text padding (until we have style properties separated from
the object properties); notify property changes; free resources
in the ::finalize method; rename clutter_entry_add() to
clutter_entry_insert_unichar(), and clutter_entry_remove() to
clutter_entry_delete_chars() - for bindings and for matching the
insert_text() and delete_text() existing methods; add a getter
method for the max-length property.

17 years ago2007-07-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 4 Jul 2007 09:17:10 +0000 (09:17 +0000)]
2007-07-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.[ch]: Use the right get_type() function
name for ClutterVertex, and add the CLUTTER_TYPE_VERTEX macro.

17 years ago2007-07-03 Ross Burton <ross@openedhand.com>
Ross Burton [Tue, 3 Jul 2007 15:06:40 +0000 (15:06 +0000)]
2007-07-03  Ross Burton  <ross@openedhand.com>

* configure.ac:
Check for XFixes 4 and above.

17 years agouse ClutterVertex to pass parameters into clutter_actor_apply_transform_to_point()
Tomas Frydrych [Mon, 2 Jul 2007 09:21:58 +0000 (09:21 +0000)]
use ClutterVertex to pass parameters into clutter_actor_apply_transform_to_point()

17 years agoUpdate ChangeLog for SVN users.
Emmanuele Bassi [Sun, 1 Jul 2007 17:00:13 +0000 (17:00 +0000)]
Update ChangeLog for SVN users.

17 years agoRemove stray debug message
Emmanuele Bassi [Sun, 1 Jul 2007 16:46:07 +0000 (16:46 +0000)]
Remove stray debug message

This patch removes a stray g_print() added for debugging purposes, which
also produces a compiler warning.

17 years agoDocumentation fixes
Emmanuele Bassi [Sun, 1 Jul 2007 16:44:24 +0000 (16:44 +0000)]
Documentation fixes

Various fixes in the API reference build and text.

17 years agoClean up ClutterEffect
Emmanuele Bassi [Sun, 1 Jul 2007 10:29:34 +0000 (10:29 +0000)]
Clean up ClutterEffect

Make ClutterEffectTemplate use a pointer to the private data to avoid
a type check each time it dereferences the ClutterEffectTemplatePrivate
structure pointer.

Clean up the header file for parsing purposes.

Add a description for the gtk-doc reference.

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

* clutter/clutter-entry.c: (clutter_entry_handle_key_event),
(clutter_entry_add), (clutter_entry_remove):
Check if unichar == 0, and if so, return, as it will cause a delete in
the GString.

17 years agoUpdate release notes
Emmanuele Bassi [Fri, 29 Jun 2007 14:16:47 +0000 (14:16 +0000)]
Update release notes

17 years agoUpdate NEWS
Emmanuele Bassi [Fri, 29 Jun 2007 14:10:54 +0000 (14:10 +0000)]
Update NEWS

17 years ago2007-06-29 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 29 Jun 2007 11:54:31 +0000 (11:54 +0000)]
2007-06-29  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-texture.c: (texture_upload_data):
        Fix a SEGV for GL ES textures.

        * clutter/cogl/gles/cogl.c: (cogl_setup_viewport):
        Tweak default z_camera for 60 degrees like GL.

        * clutter/egl/clutter-backend-egl.c::
        * clutter/egl/clutter-stage-egl.c:
        Fix edpy usage (thanks to Kaj Gronholm).

17 years agoFixed box calculation in clutter_group_query_coords()
Tomas Frydrych [Fri, 29 Jun 2007 10:46:12 +0000 (10:46 +0000)]
Fixed box calculation in clutter_group_query_coords()

17 years agofixed crash in clutter_group_raise / _lower()
Tomas Frydrych [Thu, 28 Jun 2007 15:18:20 +0000 (15:18 +0000)]
fixed crash in clutter_group_raise / _lower()

17 years ago2007-06-28 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 28 Jun 2007 09:38:42 +0000 (09:38 +0000)]
2007-06-28  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/gl/cogl.c: (cogl_setup_viewport):
        Improve fixed z_camera value for defualt perspective.
        Appears pixel perfect on ATI and Intel at least

17 years agoMoved dots in test-perspective to 1px off each corner.
Tomas Frydrych [Thu, 28 Jun 2007 08:24:45 +0000 (08:24 +0000)]
Moved dots in test-perspective to 1px off each corner.

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

        * tests/Makefile.am:
        * tests/test-perspective.c:
        Add simple perspective test

17 years agorenamed clutter_actor_project_* functions
Tomas Frydrych [Wed, 27 Jun 2007 15:10:52 +0000 (15:10 +0000)]
renamed clutter_actor_project_* functions

17 years agoclutter_actor_project_point(): separated input from output parameters
Tomas Frydrych [Wed, 27 Jun 2007 15:10:42 +0000 (15:10 +0000)]
clutter_actor_project_point(): separated input from output parameters

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

        * Makefile.am:
        Dont remove README on make clean

17 years agoFixed incorrect order of scaling and rotation in _clutter_actor_apply_modelview_trans...
Tomas Frydrych [Wed, 27 Jun 2007 11:34:43 +0000 (11:34 +0000)]
Fixed incorrect order of scaling and rotation in _clutter_actor_apply_modelview_transform()

17 years agofixed clutter_actor_scale_with_gravityx()
Tomas Frydrych [Wed, 27 Jun 2007 09:41:49 +0000 (09:41 +0000)]
fixed clutter_actor_scale_with_gravityx()

17 years agotweaked z_camera constant for default 60 deg perspective angle
Tomas Frydrych [Tue, 26 Jun 2007 16:07:14 +0000 (16:07 +0000)]
tweaked z_camera constant for default 60 deg perspective angle

17 years agoadded fixed version of clutter_actor_rotate_*() functions and accessors for rotation...
Tomas Frydrych [Tue, 26 Jun 2007 11:35:33 +0000 (11:35 +0000)]
added fixed version of clutter_actor_rotate_*() functions and accessors for rotation angles

17 years ago2007-06-25 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 25 Jun 2007 13:44:32 +0000 (13:44 +0000)]
2007-06-25  Matthew Allum  <mallum@openedhand.com>

        * README:
        Update a little more.
        * clutter/clutter-effect.c:
        Add missing func documentation
        * clutter/clutter-rectangle.c:
        Fix border drawing.