Emmanuele Bassi [Sat, 4 Aug 2007 09:52:51 +0000 (09:52 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-docs.sgml: Add autogeneration of the per-version
indexes of symbols, plus the index of deprecated symbols.
Emmanuele Bassi [Sat, 4 Aug 2007 09:42:01 +0000 (09:42 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-depth.c: Clarify the depth behaviour
even more in the description used by the API reference.
Emmanuele Bassi [Sat, 4 Aug 2007 08:59:18 +0000 (08:59 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-depth.c: Clarify that what drives
the movement along the Z axis is the ClutterAlpha object (we
don't have the luxury of a rollover like the opacity does);
so, if you want to go from 0 to -100 you have to use a
decreasing function, just as well if you want to go from 100
to 0. Using a min-depth of 100 and a max-depth of 0 and an
increasing function is undefined behaviour.
* tests/Makefile.am:
* tests/test-depth.c: Add a test case for the depth behaviour.
Emmanuele Bassi [Sat, 4 Aug 2007 07:55:55 +0000 (07:55 +0000)]
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c (clutter_actor_set_opacity): Queue
a redraw when setting the opacity of an actor.
Emmanuele Bassi [Fri, 3 Aug 2007 15:40:11 +0000 (15:40 +0000)]
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-ellipse.c:
(clutter_behaviour_ellipse_get_angle_tilt): Avoid recursion
by fixing a typo.
(clutter_behaviour_ellipse_get_angle_begin),
(clutter_behaviour_ellipse_get_angle_end): Correct the angles
here too.
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 3 Aug 2007 15:18:43 +0000 (15:18 +0000)]
2007-08-03 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-ellipse.c:
(clutter_behaviour_ellipse_get_property): Do not forget to
correct the angles when returning them.
Tomas Frydrych [Fri, 3 Aug 2007 09:52:52 +0000 (09:52 +0000)]
added direction paramenter to clutter_behaviour_ellipse_new (), made direction to be respected, unclamped angle values
Matthew Allum [Thu, 2 Aug 2007 15:09:00 +0000 (15:09 +0000)]
2007-08-02 Matthew Allum <mallum@openedhand.com>
* NEWS:
* README:
Initial updating ready for release.
Emmanuele Bassi [Thu, 2 Aug 2007 09:58:18 +0000 (09:58 +0000)]
2007-08-02 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/eglnative/clutter-backend-egl.c:
* clutter/eglx/clutter-backend-egl.c:
* clutter/sdl/clutter-backend-sdl.c: Set the default resolution
as 96.0 dpi for every backend (we already were under this
assumption anyway, and this makes it easier to change this
setting per-backend).
* clutter/pango/pangoclutter-fontmap.c:
* clutter/pango/pangoclutter.h: Allow setting the resolution
for the PangoClutterFontMap object and provide the implementation
for the PangoFcFontMap::get_resolution() virtual function. This
allows to set the resolution of the PangoContext when retrieving
it.
* clutter/clutter-label.c (clutter_label_init): Set the
resolution of the font map with the one the backend gives us.
* clutter/clutter-entry.c (clutter_entry_init): Ditto.
Emmanuele Bassi [Thu, 2 Aug 2007 07:42:28 +0000 (07:42 +0000)]
Fix ChangeLog
Emmanuele Bassi [Thu, 2 Aug 2007 07:40:58 +0000 (07:40 +0000)]
2007-08-02 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-color.c (clutter_color_subtract): Invert the
operands and match what the function says it does.
Matthew Allum [Wed, 1 Aug 2007 22:09:33 +0000 (22:09 +0000)]
2007-08-01 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-color.c: (clutter_color_from_pixel):
Fix typo in alpha channel extraction (#434)
Emmanuele Bassi [Wed, 1 Aug 2007 13:11:43 +0000 (13:11 +0000)]
2007-08-01 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Add floating-point variant of the
clutter_actor_get_r[xyz]angx() functions.
Emmanuele Bassi [Tue, 31 Jul 2007 17:01:52 +0000 (17:01 +0000)]
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-stage.[ch]: Fix clutter_stage_set_user_resizable()
name, and add a getter for the property.
* clutter/glx/clutter-stage-glx.c: Use the accessor, not
g_object_get() to retrieve the value of the resizable property.
Emmanuele Bassi [Tue, 31 Jul 2007 16:53:17 +0000 (16:53 +0000)]
Fix previous commit
Emmanuele Bassi [Tue, 31 Jul 2007 10:38:48 +0000 (10:38 +0000)]
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-sections.txt: Update ClutterBackend API.
Emmanuele Bassi [Tue, 31 Jul 2007 10:38:23 +0000 (10:38 +0000)]
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-backend.[ch]: Add clutter_backend_set_resolution()
and clutter_backend_get_resolution(); backends should use the former
to set the resolution of the display when initialising, while actors
should use the latter when sizing themselves depending on the
resolution or the font size.
* clutter/glx/clutter-backend-glx.c: Set the resolution as 96 dpi
as a default and query the X server when opening the display.
* clutter/clutter-entry.c: Drop the hardcoded dpi value and use
clutter_backend_get_resolution() to compute the default size.
Emmanuele Bassi [Tue, 31 Jul 2007 08:28:17 +0000 (08:28 +0000)]
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-entry.c (clutter_entry_init): Set the default
size of the entry based on the size of the default font. (#414).
Emmanuele Bassi [Tue, 31 Jul 2007 07:58:35 +0000 (07:58 +0000)]
2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/sdl/clutter-backend-sdl.c: Fix a typo in
clutter_backend_sdl_get_features() (#426, Pan Bohui)
Matthew Allum [Mon, 30 Jul 2007 16:28:53 +0000 (16:28 +0000)]
2007-07-30 Matthew Allum <mallum@openedhand.com>
* AUTHORS:
* HACKING:
* README:
Various updates and improvements.
* configure.ac:
Remove --disable-fast-fp-conversions
Tomas Frydrych [Mon, 30 Jul 2007 16:09:40 +0000 (16:09 +0000)]
Fixed invalid assumption about z cooordiance in calculation of
tilt in y axis.
Tomas Frydrych [Mon, 30 Jul 2007 07:27:14 +0000 (07:27 +0000)]
Fixed incorrect order of modelview matrix stacking while calculating actor vertices.
Matthew Allum [Sun, 29 Jul 2007 23:24:13 +0000 (23:24 +0000)]
2007-07-30 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-backend.h:
Remove #if 0's old backend_api
(generating uneeded documentation)
Matthew Allum [Sun, 29 Jul 2007 22:55:04 +0000 (22:55 +0000)]
2007-07-30 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c:
Fix re-relisation for large tiled textures.
* tests/test-textures.c: (main):
Add a show/hide to trigger above (see #442)
Emmanuele Bassi [Sun, 29 Jul 2007 09:19:37 +0000 (09:19 +0000)]
2007-07-29 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-types.h: Document ClutterGravity enumeration
and remove the only incomplete symbol of the api reference. Now
we are up to 79% documented symbols.
Emmanuele Bassi [Sun, 29 Jul 2007 09:11:57 +0000 (09:11 +0000)]
2007-07-29 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-media.c: Document ClutterMedia signals;
replace the implementation of clutter_media_set_filename() with
something a wee bit more robust (and portable) than a sprintf().
Emmanuele Bassi [Sun, 29 Jul 2007 08:54:24 +0000 (08:54 +0000)]
2007-07-29 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-ellipse.c: Documentation
fixes; kill some indirections; freeze the notification
queue when (potentially) emitting multiple notify
signals.
* clutter/clutter-alpha.h: Remove the unused macro
CLUTTER_TYPE_SMOOTHSTEP.
Emmanuele Bassi [Sat, 28 Jul 2007 17:11:39 +0000 (17:11 +0000)]
2007-07-28 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Use GInitiallyUnowned
as the parent structure in the ClutterActor structure
definition; somehow, this has escaped everyone attention
in one year and a half. Luckily, GInitiallyUnowned is
as big as GObject.
(clutter_actor_get_abs_position_units),
(clutter_actor_get_abs_position): Check parameters.
* clutter/clutter-texture.h: Unmangle the flags enum
type declaration, so that dumb parsers like h2defs.py
are not fooled.
* clutter/clutter-behaviour-ellipse.[ch]:
* clutter/clutter-effect.c: Fix some documentation
issues and make gtk-doc happy.
Emmanuele Bassi [Sat, 28 Jul 2007 17:10:40 +0000 (17:10 +0000)]
2007-07-28 Emmanuele Bassi <ebasso@openedhand.com>
* clutter-sections.txt: Add new ClutterBehaviourEllipse
and ClutterStage API.
Tomas Frydrych [Fri, 27 Jul 2007 13:44:42 +0000 (13:44 +0000)]
pruned ClutterBehaviourEllipse api
Tomas Frydrych [Fri, 27 Jul 2007 08:18:41 +0000 (08:18 +0000)]
ClutterBehaviourEllipse: allow tilt in all three axis
Matthew Allum [Thu, 26 Jul 2007 20:09:29 +0000 (20:09 +0000)]
minor Changelog justification fix
Matthew Allum [Thu, 26 Jul 2007 20:08:09 +0000 (20:08 +0000)]
2007-07-26 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-feature.h:
Add new stage feature flags and document.
* clutter/eglnative/clutter-backend-egl.c:
* clutter/eglx/clutter-backend-egl.c:
* clutter/sdl/clutter-backend-sdl.c:
Set new feature flags.
* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-stage-glx.c:
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
Add a 'user_resizeable' setting to the backend and implement
for glx backend.
Emmanuele Bassi [Thu, 26 Jul 2007 15:20:11 +0000 (15:20 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Thu, 26 Jul 2007 15:14:45 +0000 (15:14 +0000)]
Miscellaneous fixes to make gtk-doc scanner happy
Emmanuele Bassi [Thu, 26 Jul 2007 15:05:45 +0000 (15:05 +0000)]
Add missing symbols to the API reference
Emmanuele Bassi [Thu, 26 Jul 2007 15:05:41 +0000 (15:05 +0000)]
Add missing documentation
Document ClutterGravity, ClutterRotateAxis and ClutterRotateDirection.
Matthew Allum [Thu, 26 Jul 2007 14:00:20 +0000 (14:00 +0000)]
2007-07-26 Matthew Allum <mallum@openedhand.com>
* Makefile.am:
* clutter-animation.sgml:
* clutter-docs.sgml:
An initial shot at some general animation documentation.
Needs some love.
Tomas Frydrych [Thu, 26 Jul 2007 13:48:58 +0000 (13:48 +0000)]
cleanup some trailing whitespace
Tomas Frydrych [Thu, 26 Jul 2007 13:48:50 +0000 (13:48 +0000)]
fixed ClutterBehaviourEllipse angle setters; updated ChangeLog
Tomas Frydrych [Thu, 26 Jul 2007 13:48:44 +0000 (13:48 +0000)]
added direction property to ClutterBehaviourEllipse
Emmanuele Bassi [Thu, 26 Jul 2007 13:13:31 +0000 (13:13 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Thu, 26 Jul 2007 13:13:23 +0000 (13:13 +0000)]
Add a header for common types to avoid inclusion hell
This patch adds clutter-types.h, a header file containing some common
structures and enums, shared by different objects.
Emmanuele Bassi [Thu, 26 Jul 2007 13:13:19 +0000 (13:13 +0000)]
Do not forget to initialise the priv pointer
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).
Emmanuele Bassi [Thu, 26 Jul 2007 11:28:34 +0000 (11:28 +0000)]
Update ChangeLog for SVN users
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.
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.
Emmanuele Bassi [Thu, 26 Jul 2007 11:04:29 +0000 (11:04 +0000)]
Update ChangeLog for SVN users
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.
Emmanuele Bassi [Thu, 26 Jul 2007 10:00:16 +0000 (10:00 +0000)]
Update ChangeLog for SVN users
Emmanuele Bassi [Thu, 26 Jul 2007 10:00:13 +0000 (10:00 +0000)]
Fix fallout from SVN merge
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.
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.
Tomas Frydrych [Wed, 25 Jul 2007 18:34:05 +0000 (18:34 +0000)]
fixed endianness issue in fast fp conversions
Tomas Frydrych [Wed, 25 Jul 2007 18:17:13 +0000 (18:17 +0000)]
added --disable-fast-fp-converions configure option
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.
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.
Tomas Frydrych [Wed, 25 Jul 2007 13:08:12 +0000 (13:08 +0000)]
added test-rotate
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.
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.
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
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.
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.
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.
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.
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
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.
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.
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.
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)
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)
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)
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.
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
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.
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)
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).
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)
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).
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)
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.
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.
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.
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.
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.
Emmanuele Bassi [Wed, 11 Jul 2007 12:01:03 +0000 (12:01 +0000)]
Fully revert opacity checks
Emmanuele Bassi [Wed, 11 Jul 2007 11:43:02 +0000 (11:43 +0000)]
Revert last fix
Emmanuele Bassi [Wed, 11 Jul 2007 11:41:01 +0000 (11:41 +0000)]
Further fix
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.
Tomas Frydrych [Wed, 11 Jul 2007 07:16:21 +0000 (07:16 +0000)]
improvements to ClutterBehaviourEllipse
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.
Richard Purdie [Mon, 9 Jul 2007 22:25:26 +0000 (22:25 +0000)]
Add tslib support to eglnative backend.
Richard Purdie [Mon, 9 Jul 2007 21:59:01 +0000 (21:59 +0000)]
Tweaks to the eglnative backend.
Richard Purdie [Mon, 9 Jul 2007 21:56:06 +0000 (21:56 +0000)]
Make the backend add_option function optional.
Emmanuele Bassi [Mon, 9 Jul 2007 21:39:09 +0000 (21:39 +0000)]
Add ChangeLog for SVN users
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.
Emmanuele Bassi [Mon, 9 Jul 2007 21:38:54 +0000 (21:38 +0000)]
Add ClutterBehaviourDepth to the API reference
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.
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