profile/ivi/clutter.git
16 years ago2008-04-28 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 28 Apr 2008 15:22:54 +0000 (15:22 +0000)]
2008-04-28  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-docs.sgml: Add index for the 0.8 symbols.

* clutter/Makefile.am:
* cogl/Makefile.am: Revert back, as EXTRA_DIST has been defined
by gtk-doc.make and automake-1.9 complains loudly about a
redefinition of EXTRA_DIST.

16 years ago* clutter/cogl/cogl.h.in: moved the documentation of the cogl
Øyvind Kolås [Mon, 28 Apr 2008 14:18:29 +0000 (14:18 +0000)]
* clutter/cogl/cogl.h.in: moved the documentation of the cogl
primitives to the main public header.
* clutter/cogl/gl/cogl-primitives.c: from here ..
* clutter/cogl/gles/cogl-primitives.c: .. _and_ here.

16 years agoRemove old comment
Emmanuele Bassi [Mon, 28 Apr 2008 14:04:58 +0000 (14:04 +0000)]
Remove old comment

16 years ago* clutter/cogl/cogl.h.in: added documentation.
Øyvind Kolås [Mon, 28 Apr 2008 14:00:46 +0000 (14:00 +0000)]
* clutter/cogl/cogl.h.in: added documentation.

16 years ago2008-04-28 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 28 Apr 2008 13:37:28 +0000 (13:37 +0000)]
2008-04-28  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-units.c (param_unit_init): Use the right
macros to set the default minimum and maximum values.

* clutter/clutter-fixed.c (param_fixed_init): Ditto as above.

16 years ago2008-04-28 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 28 Apr 2008 13:18:16 +0000 (13:18 +0000)]
2008-04-28  Matthew Allum  <mallum@openedhand.com>

        * autogen.sh:
        Dont display 'make' if configure fails.
        * configure.ac:
        Add new --with-gles version option for eventual GLES2 support
        Also minor tidyups.

16 years ago * tests/test-cogl-tex-polygon.c: Added buttons to toggle whether
Neil Roberts [Mon, 28 Apr 2008 11:23:27 +0000 (11:23 +0000)]
* tests/test-cogl-tex-polygon.c: Added buttons to toggle whether
slicing and linear filtering is enabled. By default slicing is
disabled to help test on GL ES.

16 years ago * tests/Makefile.am (INCLUDES): Added $(top_srcdir)/clutter to the
Neil Roberts [Mon, 28 Apr 2008 10:11:14 +0000 (10:11 +0000)]
* tests/Makefile.am (INCLUDES): Added $(top_srcdir)/clutter to the
include path. Otherwise the tests will fail to build trying to
include "json/json-types.h" when building out-of-tree.

16 years ago2008-04-28 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 28 Apr 2008 09:33:38 +0000 (09:33 +0000)]
2008-04-28  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/eglnative/clutter-backend-egl.c:
(clutter_backend_egl_redraw): Whitespace fixes.

* clutter/eglnative/clutter-stage-egl.c:
(clutter_stage_egl_hide): Indentation fixes.

(clutter_stage_egl_realize): Use g_critical() to report failure,
unset the flags and bail out instead of continuing the realization
of the stage.

16 years agoUpdated the ChangeLog with a note about the clutter-ivan merge.
Neil Roberts [Fri, 25 Apr 2008 15:03:24 +0000 (15:03 +0000)]
Updated the ChangeLog with a note about the clutter-ivan merge.

16 years ago- Update .gitignore
Neil Roberts [Fri, 25 Apr 2008 14:24:25 +0000 (14:24 +0000)]
- Update .gitignore
- Remove dangling conflict marker in ChangeLog-ivan

16 years agoMerged clutter-ivan branch into trunk.
Neil Roberts [Fri, 25 Apr 2008 13:37:36 +0000 (13:37 +0000)]
Merged clutter-ivan branch into trunk.

svn merge \
 https://svn.o-hand.com/repos/clutter/trunk/clutter@2509 \
 https://svn.o-hand.com/repos/clutter/branches/clutter-ivan@HEAD

16 years ago2008-04-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 25 Apr 2008 12:17:01 +0000 (12:17 +0000)]
2008-04-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/sdl/clutter-stage-sdl.[ch]: Port the SDL stage to
the new stage implementation API.

* clutter/sdl/clutter-backend-sdl.[ch]: Port the SDL backend
to the new backend API.

* clutter/sdl/clutter-event-sdl.c:
(clutter_event_dispatch): Assign the default stage as the
origin of the event.

16 years ago2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 24 Apr 2008 18:53:43 +0000 (18:53 +0000)]
2008-04-24  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Add the --with-json configure switch to
allow building Clutter with the external dependency on
the system JSON-GLib; the default is to use the internal
copy unless explicitly asked to check.

16 years ago2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 24 Apr 2008 17:43:26 +0000 (17:43 +0000)]
2008-04-24  Emmanuele Bassi  <ebassi@openedhand.com>

* Makefile.am: Add HACKING.backends to the EXTRA_DIST.

16 years agoFix typos
Emmanuele Bassi [Thu, 24 Apr 2008 17:32:32 +0000 (17:32 +0000)]
Fix typos

16 years ago2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 24 Apr 2008 17:31:38 +0000 (17:31 +0000)]
2008-04-24  Emmanuele Bassi  <ebassi@openedhand.com>

* HACKING.backends: Add documentation on how to write a
backend for Clutter.

16 years ago2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 24 Apr 2008 13:10:45 +0000 (13:10 +0000)]
2008-04-24  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/eglnative/clutter-backend-egl.c:
(clutter_backend_egl_create_stage): Fix checks using a
non assigned member of the ClutterBackendEGL structure.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 17:20:59 +0000 (17:20 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/eglnative/clutter-backend-egl.[ch]:
* clutter/eglnative/clutter-stage-egl.[ch]:
* clutter/eglnative/clutter-event-egl.c: Port to the new stage
and backend APIs. *WARNING* untested and not compiled.

* clutter/eglx/clutter-backend-egl.c:
(clutter_backend_egl_init): Set some defaults.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 14:01:09 +0000 (14:01 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

* tests/test-script.json: Remove the explicit "visible"
member to test that the visibility of actors is TRUE
by default.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 13:58:58 +0000 (13:58 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac:
* clutter/Makefile.am: Do not build the internal JSON-GLib
copy if there is a system installed one.

* clutter/clutter-json.h: Remove.

* clutter/clutter-json.h.in: Template for the clutter-json.h
header file, used to opaquely include the JSON-GLib types.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 13:54:13 +0000 (13:54 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c: Document :show-on-set-parent and
the fact that calling clutter_actor_show() and hide() on an
unparented actor will change that property as well as a side
effect.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 13:21:33 +0000 (13:21 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c (clutter_actor_set_property): Use the
internal setter for the rotation center.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 12:53:25 +0000 (12:53 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.[ch]: Add units based variant of the
rotation accessors.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 12:39:50 +0000 (12:39 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

Bug 892 - Incorrect results using rotation-[center|angle] properties

* clutter/clutter-actor.c:
(clutter_actor_set_rotation_internal): Inline function for setting
the rotation using fixed point for the angle and units for the
center of rotation.

(clutter_actor_set_property),
(clutter_actor_set_rotationx): Use the internal setter to avoid
loss of precision and too many conversions to and from units.

16 years ago2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Apr 2008 09:46:16 +0000 (09:46 +0000)]
2008-04-23  Emmanuele Bassi  <ebassi@openedhand.com>

Bug 891 - assertion failed when test-behave exits

* clutter/clutter-behaviour.c:
(remove_actor_on_destroy),
(clutter_behaviour_apply),
(clutter_behaviour_remove): Remove the actor if it gets
destroyed before the behaviour.

16 years ago2008-04-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 18 Apr 2008 15:03:30 +0000 (15:03 +0000)]
2008-04-18  Emmanuele Bassi  <ebassi@openedhand.com>

Bug #884 - Add clutter_alpha_set_closure

* clutter/clutter-alpha.[ch]: Add clutter_alpha_set_closure(),
a GClosure variant of clutter_alpha_set_func(), and reimplement
the latter as a special case of the former. (#884, Xan López)

16 years ago * clutter/clutter-timeline.c (clutter_timeline_get_progressx):
Neil Roberts [Fri, 18 Apr 2008 13:51:16 +0000 (13:51 +0000)]
* clutter/clutter-timeline.c (clutter_timeline_get_progressx):
Changed to use clutter_qdiv instead of CLUTTER_FIXED_DIV otherwise
it can't cope with timelines with more than 255 frames.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 20:53:37 +0000 (20:53 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-frame-source.c: Small coding style fixes.

16 years agoAdd clutter-frame-source to the repository to fix the build
Emmanuele Bassi [Thu, 17 Apr 2008 20:50:49 +0000 (20:50 +0000)]
Add clutter-frame-source to the repository to fix the build

16 years ago Applied patch from bug #881
Neil Roberts [Thu, 17 Apr 2008 16:50:23 +0000 (16:50 +0000)]
Applied patch from bug #881

* clutter/clutter-frame-source.h:
* clutter/clutter-frame-source.c:
New files that contain a replacement for g_timeout that try to
cope with system delays.

* clutter/Makefile.am: Added clutter-frame-source.{c,h}

* clutter/clutter-timeline.c (timeout_add): Use a frame source
instead of a g_timeout.

* clutter/clutter-main.c (clutter_threads_add_frame_source_full)
(clutter_threads_add_frame_source): New public functions to wrap a
frame source and grab the Clutter mutex.

* clutter/clutter-timeout-pool.c: Now calculates the timeout
expiration times in the same way as a frame source does so that it
counts time in frame intervals instead of setting the next
expiration time as an offset from the current time.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 14:08:26 +0000 (14:08 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-fixed.c:
(clutter_value_transform_fixed_int),
(clutter_value_transform_fixed_double),
(clutter_value_transform_fixed_float),
(clutter_fixed_get_type): Add GValue transformation functions
for ClutterFixed; copying a CLUTTER_TYPE_FIXED GValue into
a G_TYPE_FLOAT/G_TYPE_DOUBLE one will automatically transform
the fixed point representation into a floating point one. Also
add the G_TYPE_INT transformation function to do a plain
fixed->int copy.

* clutter/clutter-units.c:
(clutter_value_transform_unit_int),
(clutter_unit_get_type): Add a unit->int transformation function.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 11:42:08 +0000 (11:42 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-fixed.c (clutter_value_get_fixed): Fix typo
in the function name.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 11:40:46 +0000 (11:40 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-units.c (clutter_value_get_unit): Fix typo
in the function name.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 11:10:32 +0000 (11:10 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* HACKING: Amend coding style and tenets, as it is now possible
to install and use unit based properties in a safe way.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 11:09:27 +0000 (11:09 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-units.h:
* clutter/clutter-fixed.h: Add boundaries for fixed point
and units values.

* doc/reference/clutter-sections.txt: Update the documentation.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 10:41:03 +0000 (10:41 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* autogen.sh: Try to continue even if we don't have gtk-doc
installed; this will obviously won't work if you don't pass
--disable-docs --disable-gtk-doc to autogen.sh as well.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 10:08:17 +0000 (10:08 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-fixed.[ch]: Add a ClutterFixed fundamental
type, and wrappers for storing it into GValues; also add a
GParamSpec subclass for defining parameters holding
ClutterFixed values. This allows creating GObject properties
using fixed point values.

* doc/reference/clutter-sections.txt: Document the newly
added API.

16 years ago2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 17 Apr 2008 09:13:12 +0000 (09:13 +0000)]
2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/Makefile.am: Add clutter-units.c

* clutter/clutter-units.[ch]: Add a ClutterUnit fundamental
type, and wrappers for storing it into GValues; also add a
GParamSpec subclass for defining parameters holding ClutterUnit
values. This allows creating GObject properties using units.

* doc/reference/clutter-sections.txt: Document the newly
added API.

16 years ago2008-04-15 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 15 Apr 2008 21:18:13 +0000 (21:18 +0000)]
2008-04-15  Matthew Allum  <mallum@openedhand.com>

        Work related to #873;

        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-backend-glx.h:
        * clutter/x11/clutter-x11-texture-pixmap.c:
        * clutter/x11/clutter-x11-texture-pixmap.h:
        General cleanup of texture pixmap code, adding;
          - Pixmap dimentions and depth now auto probed, read only props.
          - More X safety traps
          - Add support for optionally tracking damage and automatically
            updating texture.

        * clutter/glx/clutter-glx-texture-pixmap.c:
        * clutter/glx/clutter-glx-texture-pixmap.h:
        General cleanup and some safety additions. Needs more work so
        'proper' subclass - dependent on new COGL.

        * clutter/x11/clutter-backend-x11.c: (clutter_x11_remove_filter):
        Invert g_return_if check.

        * configure.ac:
        Pull in XComposite and XDamage (at least for now)

        * tests/Makefile.am:
        * tests/test-pixmap.c:
        Add a modified test from Johan for above.

16 years ago Added support for foreign windows to the Win32 backend.
Neil Roberts [Tue, 15 Apr 2008 16:12:37 +0000 (16:12 +0000)]
Added support for foreign windows to the Win32 backend.

* clutter/win32/clutter-stage-win32.c
(clutter_stage_win32_request_coords): Don't resize foreign
windows.
(clutter_stage_win32_unrealize): Don't destroy foreign windows.
(clutter_stage_win32_init): Added initialiser for is_foreign_win.
(clutter_win32_get_stage_from_window): Resort to looking in the
stage list if the window isn't the right window class so that it
can still find stages with foreign windows.
(clutter_win32_set_stage_foreign): New public function to set a
foreign window for a stage.

* clutter/win32/clutter-event-win32.c
(clutter_win32_disable_event_retrieval): New public function to
disable event retrieval.
(message_translate): Don't handle WM_SIZE or WM_MOVE for foreign
windows.

* clutter/win32/clutter-backend-win32.h (struct
_ClutterBackendWin32): Added a flag to disable event retrieval

* clutter/win32/clutter-backend-win32.c
(clutter_backend_win32_ensure_context): Update debug note to
include whether the stage is foreign or not.

16 years ago* clutter/clutter-actor.c: (clutter_actor_set_shader_param): queue a
Øyvind Kolås [Tue, 15 Apr 2008 13:55:36 +0000 (13:55 +0000)]
* clutter/clutter-actor.c: (clutter_actor_set_shader_param): queue a
redraw when a shader_param is set. Normalized some gtk-doc syntax in
some of the api documentation.

16 years ago* clutter/clutter-group.c: fixed typo in docs.
Øyvind Kolås [Tue, 15 Apr 2008 11:31:53 +0000 (11:31 +0000)]
* clutter/clutter-group.c: fixed typo in docs.

16 years ago2008-04-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 14 Apr 2008 17:01:14 +0000 (17:01 +0000)]
2008-04-14  Matthew Allum  <mallum@openedhand.com>

        * clutter/eglx/clutter-stage-egl.c:
        Actually set wm protocols on eglx stage windows. Fixes issues with
        cloising stages and cleanup.

16 years ago2008-04-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 14 Apr 2008 15:10:22 +0000 (15:10 +0000)]
2008-04-14  Matthew Allum  <mallum@openedhand.com>

        * clutter/cogl/gles/cogl.c: (cogl_color):
        Disable use of color4ub, issues with latest MBX SDL (#857)

        * clutter/eglx/clutter-backend-egl.c:
        * clutter/eglx/clutter-stage-egl.c:
        * configure.ac:
        Fixup for the eglx backend to work with new backend/multistage code.
        Some issues remain in destroying stages.

16 years ago Bug #853
Neil Roberts [Mon, 14 Apr 2008 11:07:34 +0000 (11:07 +0000)]
Bug #853

* clutter/clutter-timeline.c (clutter_timeline_get_progressx): Fix
arithmetic for calculating the reverse progress when the timeline
is backward. (Should subtract from one instead of taking the
reciprocal).

16 years ago Upgraded the Win32 backend to work with the multi-stage
Neil Roberts [Sun, 13 Apr 2008 08:43:32 +0000 (08:43 +0000)]
Upgraded the Win32 backend to work with the multi-stage
subclassing code.

* clutter/win32/clutter-stage-win32.h:
* clutter/win32/clutter-stage-win32.c: Now inherits from
ClutterGroup and implements ClutterStageWindow instead of
inheriting directly from ClutterStage.

* clutter/win32/clutter-event-win32.c (message_translate): Now
takes an extra parameter to return whether DefWindowProc should be
called. This is needed to prevent the default WM_CLOSE handler
from destroying the window.

* clutter/win32/clutter-backend-win32.c
(clutter_backend_win32_dispose): Destroy all of the stages using
g_slist_foreach as per bug #871. Now also destroys the GL context.
(clutter_backend_win32_get_features): Added assertions to ensure
there is a valid GL context.
(clutter_backend_win32_ensure_context): Accepts NULL stage. Gets
implementation pointer from the stage.

16 years ago2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 11 Apr 2008 15:40:08 +0000 (15:40 +0000)]
2008-04-11  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-container.c:
(clutter_container_get_type): Relax the precondition on the
implementations of ClutterContainer from ClutterActor to
GObject.

16 years ago2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 11 Apr 2008 12:00:50 +0000 (12:00 +0000)]
2008-04-11  Emmanuele Bassi  <ebassi@openedhand.com>

* README: Add a note about the Shader API changes.

* clutter/clutter-deprecated.h: Add deprecation symbols.

* clutter/clutter-shader.[ch]: Rename the :bound read-only
property to :compiled. Also rename clutter_shader_bind()
and clutter_shader_is_bound() to clutter_shader_compil() and
clutter_shader_is_compiled(), respectively.

* clutter/glx/clutter-stage-glx.c:
(clutter_stage_glx_unrealize): Update after
clutter_shader_release_all() rename.

* tests/test-shader.c (button_release_cb), (main): Update.

16 years ago2008-04-10 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 10 Apr 2008 19:58:47 +0000 (19:58 +0000)]
2008-04-10  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/eglx/clutter-backend-egl.c:
(clutter_backend_egl_ensure_context): Sync up with the GLX
backend.

(clutter_backend_egl_create_stage): Dumb compilation fix.

* clutter/glx/clutter-backend-glx.c:
(clutter_backend_glx_create_stage): Unref the stage if we are
erroring out.

16 years ago2008-04-10 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 10 Apr 2008 19:54:08 +0000 (19:54 +0000)]
2008-04-10  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/eglx/clutter-stage-egl.c:
(clutter_stage_egl_realize): Sync up with the GLX backend.

16 years ago2008-04-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 9 Apr 2008 14:18:42 +0000 (14:18 +0000)]
2008-04-09  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/Makefile.am: Update the regular expression to match
all the namespaces we actually use. Thanks to Neil Roberts for
spotting this. A make distclean is needed.

* clutter/cogl/gl/Makefile.am:
* clutter/cogl/gles/Makefile.am:
* clutter/json/Makefile.am:
* clutter/pango/Makefile.am: Revert previous commit.

16 years ago2008-04-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 9 Apr 2008 13:27:00 +0000 (13:27 +0000)]
2008-04-09  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/cogl/Makefile.am:
* clutter/cogl/gl/Makefile.am:
* clutter/cogl/gles/Makefile.am:
* clutter/json/Makefile.am:
* clutter/pango/Makefile.am: Fix the visibility of all the
symbols, for the main library and the statically linked ones.

16 years ago2008-04-09 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 9 Apr 2008 10:51:15 +0000 (10:51 +0000)]
2008-04-09  Emmanuele Bassi  <ebassi@openedhand.com>

* autogen.sh: Clean up a bit

* clutter/clutter-fixed.[ch]:
(clutter_double_to_fixed),
(clutter_double_to_int),
(clutter_double_to_uint): Make these functions public, as they
are expanded by their respective macros. This fixes the errors
from the linker trying to resolve their name.

16 years ago Applied patch from bug #871
Neil Roberts [Wed, 9 Apr 2008 09:33:32 +0000 (09:33 +0000)]
Applied patch from bug #871

* clutter/x11/clutter-backend-x11.c (clutter_backend_x11_dispose):
Call g_slist_foreach instead of iterating over the stage_manager
list manually when deleting stages. Otherwise the 'next' pointer
of the list node can get corrupted when the actor removes itself
from the list.

* clutter/clutter-stage.c (clutter_stage_dispose): Call
clutter_actor_unrealize in the dispose handler. This fixes
problems where the dispose handler for the ClutterStageWrapper
can't deselect the GL context until the stage is unrealized.

16 years agoUpdate release notes for the new proxy stage
Emmanuele Bassi [Fri, 4 Apr 2008 19:55:05 +0000 (19:55 +0000)]
Update release notes for the new proxy stage

16 years ago2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 4 Apr 2008 17:26:26 +0000 (17:26 +0000)]
2008-04-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-backend.c: Add more debug messages

* clutter/clutter-stage.h:
* clutter/clutter-stage.c:
(clutter_stage_is_default): Add a function to check if the
stage is the default one.

* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-stage-glx.c:
* clutter/x11/clutter-stage-x11.c: Keep the stage wrapper
and implementation flags in sync, to ensure that the GL
context is always set.

16 years ago2008-04-04 Neil Roberts <neil@o-hand.com>
Neil Roberts [Fri, 4 Apr 2008 17:05:34 +0000 (17:05 +0000)]
2008-04-04  Neil Roberts  <neil@o-hand.com>

* README: Fixed typo

16 years ago2008-04-04 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 4 Apr 2008 16:26:45 +0000 (16:26 +0000)]
2008-04-04  Matthew Allum  <mallum@openedhand.com>

        * README:
        Add a note on new show-on-set-parent prop and stage subclassing.

16 years ago2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 4 Apr 2008 15:02:11 +0000 (15:02 +0000)]
2008-04-04  Emmanuele Bassi  <ebassi@openedhand.com>

Bug #864 - Allow instantiating and subclassing of ClutterStage

* clutter/Makefile.am: Add clutter-stage-window.[ch]

* clutter/clutter-stage-manager.c:
(_clutter_stage_manager_remove_stage): Do not warn if removing
a stage we don't manage, as we might be invoked multiple times
during a ClutterState dispose sequence.

* clutter/clutter-actor.c:
* clutter/clutter-backend.[ch]:
* clutter/clutter-main.c:
* clutter/clutter-private.h:
* clutter/clutter-stage.[ch]: Make ClutterStage a proxy actor,
with a private actor implementing the ClutterStageWindow
interface for handling the per-backend realization, painting
and unrealization, plus all the windowing system abstraction.

* clutter/x11/clutter-event-x11.c:
* clutter/x11/clutter-stage-x11.[ch]: Port the X11 backend
to the new backend and stage API and semantics.

* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-stage-glx.c: Port the GLX backend to
the new backend and stage API and semantics.

* clutter/eglx/clutter-backend-egl.[ch]:
* clutter/eglx/clutter-stage-egl.[ch]: Port the EGLX backend
to the new backend and stage API and semantics (untested).

* tests/test-multistage.c (on_button_press): Rename
clutter_stage_create_new() to clutter_stage_new().

16 years agoAdd git ignore file, for people using git-svn
Emmanuele Bassi [Fri, 4 Apr 2008 15:01:47 +0000 (15:01 +0000)]
Add git ignore file, for people using git-svn

16 years agoFix ChangeLog - oops
Matthew Allum [Fri, 4 Apr 2008 14:22:14 +0000 (14:22 +0000)]
Fix ChangeLog - oops

16 years ago2008-04-04 Neil Roberts <neil@o-hand.com>
Neil Roberts [Fri, 4 Apr 2008 13:46:50 +0000 (13:46 +0000)]
2008-04-04  Neil Roberts  <neil@o-hand.com>

Applied patch from bug #810.

* clutter/x11/clutter-event-x11.c (event_translate): Set a flag
when resizing the stage from a ConfigureNotify event.

* clutter/x11/clutter-stage-x11.c
(clutter_stage_x11_request_coords): Don't try to resize the window
again if the flag is set.
(clutter_stage_x11_init): Added initialiser for the flag.

* clutter/x11/clutter-stage-x11.h (struct _ClutterStageX11): Added
the flag.

16 years ago2008-04-04 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 4 Apr 2008 13:20:02 +0000 (13:20 +0000)]
2008-04-04  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        Remove uneeded stage private member.
        Add show-on-set-parent prop and make so by default Actors are
        now automatically shown when reparented (#791)

        * clutter/eglx/clutter-backend-egl.c:
        * clutter/cogl/gles/cogl.c:
        A couple of minor comments.

        * clutter/eglnative/Makefile.am:
        Add missing clutter-egl.h header (back port from trunk)

        * tests/test-actors.c:
        Modify to take advantage of new show-on-set-parent functionality.

16 years agoUpdate HACKING rules and release process
Emmanuele Bassi [Thu, 3 Apr 2008 07:21:15 +0000 (07:21 +0000)]
Update HACKING rules and release process

16 years ago2008-04-03 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 3 Apr 2008 03:26:00 +0000 (03:26 +0000)]
2008-04-03  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/Makefile.am: Only export symbols matching "^clutter.*",
to avoid exposing the library-private symbols starting with
an underscore.

16 years ago2008-04-03 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 3 Apr 2008 03:09:28 +0000 (03:09 +0000)]
2008-04-03  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-alpha.c: ClutterAlpha is an InitiallyUnowned
subclass. This should fix a lot of leakage. (#860, Neil Roberts)

16 years ago2008-04-03 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 3 Apr 2008 03:04:41 +0000 (03:04 +0000)]
2008-04-03  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/glx/clutter-backend-glx.c:
(clutter_backend_glx_get_features): Assert if we don't have a
GL context here or if it's not matched to a drawable. Asserting
might seem too drastic, but if we don't have a valid GL context
here then Clutter will segfault anyway, and I'll take an assert()
over a hard to read, deep in GLX guts backtrace any day (and
twice on a monday).

* clutter/x11/clutter-backend-x11.c:
(clutter_backend_x11_get_features): No need for a variable here.

16 years ago2008-04-01 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Tue, 1 Apr 2008 14:04:46 +0000 (14:04 +0000)]
2008-04-01  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-backend.c:
        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-stage-glx.c:
        Allow NULL to be passed to _clutter_backend_ensure_context
        which essentially clears GL context. This is hooked into stage
        unrealisation.  Isn't yet quite bulletproof.
        Fixes issues with gtk-embed crasher (thanks to Neil).

16 years ago2008-04-1 Robert Bragg <bob@o-hand.com>
Robert Bragg [Tue, 1 Apr 2008 13:36:19 +0000 (13:36 +0000)]
2008-04-1  Robert Bragg  <bob@o-hand.com>

* clutter/glx/clutter-glx-texture-pixmap.c:
In clutter_glx_texture_pixmap_dispose; trap X errors around
glXDestroyGLXPixmap so we can't die due to BadDrawable errors.

16 years ago2008-03-31 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 31 Mar 2008 17:15:02 +0000 (17:15 +0000)]
2008-03-31  Matthew Allum  <mallum@openedhand.com>

        * README:
        Add notes on new multistage feature.

        * clutter/clutter-stage-manager.c:
        Dont ref contained stages.

        * clutter/clutter-stage.c:
        Automatically remove stage from stage manager on finalisation.
        Cleans up warnings when a stage is destroyed.

        * clutter/clutter-backend.h:
        * clutter/glx/clutter-backend-glx.c:
        Minor formatting cleanups.

        * clutter/glx/clutter-stage-glx.c:
        * configure.ac:
        * clutter/clutter-version.h.in:
        Add a general CLUTTER_STAGE_TYPE define, should be useful for
        evntual stage subclassing and creating with g_object_new()

16 years ago2008-03-30 Neil Roberts <neil@o-hand.com>
Neil Roberts [Sun, 30 Mar 2008 22:27:27 +0000 (22:27 +0000)]
2008-03-30  Neil Roberts  <neil@o-hand.com>

* clutter/win32/clutter-backend-win32.c
(clutter_backend_win32_init): Added a call to
timeBeginPeriod. Without this the frame rates are terrible because
the glib timeouts are not accurate enough. However this requires
Glib >= 2.16.0 to take any effect because of a change in the way
g_poll is implemented. See revision 6597 of glib.
(clutter_backend_win32_finalize): Added a call to timeEndPeriod.

* configure.ac: Added -lwinmm to the library dependencies for the
Win32 backend.

16 years ago2008-03-30 Neil Roberts <neil@o-hand.com>
Neil Roberts [Sun, 30 Mar 2008 16:51:01 +0000 (16:51 +0000)]
2008-03-30  Neil Roberts  <neil@o-hand.com>

* clutter/win32/clutter-win32.h:
* clutter/win32/clutter-stage-win32.h:
* clutter/win32/clutter-stage-win32.c:
* clutter/win32/clutter-event-win32.c:
* clutter/win32/clutter-backend-win32.h:
* clutter/win32/clutter-backend-win32.c:
Upgraded for multi-stage support.

* clutter/win32/clutter-stage-win32.c
(clutter_stage_win32_request_coords): Fixed so that it doesn't set
the position or size if it hasn't changed. This was causing
problems when the window was resized using the top left corner. In
that case the window receives resize and move messages separately
which caused the window to flash at a different size or position
while one message was handled before the other.
(clutter_stage_win32_realize): Added PFD_GENERIC_ACCELERATED to
the list of pixel format flags to force it to use hardware
acceleration.

2008-03-30  Neil Roberts  <neil@o-hand.com>

* clutter-sections.txt: Added clutter_win32_get_stage_from_window

16 years ago2008-03-28 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 28 Mar 2008 22:50:55 +0000 (22:50 +0000)]
2008-03-28  Matthew Allum  <mallum@openedhand.com>

        * clutter/Makefile.am:
        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        * clutter/clutter-backend.c:
        * clutter/clutter-backend.h:
        * clutter/clutter-debug.h:
        * clutter/clutter-event.c:
        * clutter/clutter-event.h:
        * clutter/clutter-feature.h:
        * clutter/clutter-group.h:
        * clutter/clutter-main.c:
        * clutter/clutter-main.h:
        * clutter/clutter-private.h:
        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        * clutter/clutter-stage-manager.c
        * clutter/clutter-stage-manager.h
        * clutter/clutter-types.h:
        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-backend-glx.h:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/glx/clutter-stage-glx.h:
        * clutter/x11/clutter-backend-x11.c:
        * clutter/x11/clutter-backend-x11.h:
        * clutter/x11/clutter-event-x11.c:
        * clutter/x11/clutter-stage-x11.c:
        * clutter/x11/clutter-x11.h:
        * tests/Makefile.am:
        * tests/test-multistage.c:
        Initial commit of multi stage support (mostly a merge from the
        clutter-multistage branch).
        Note, this commit will break all backends except glx.

16 years ago2008-03-26 Neil Roberts <neil@o-hand.com>
Neil Roberts [Wed, 26 Mar 2008 22:22:32 +0000 (22:22 +0000)]
2008-03-26  Neil Roberts  <neil@o-hand.com>

* clutter/win32/clutter-win32.h: Added gtk-doc documentation for
the Win32 backend section.

* clutter/win32/clutter-stage-win32.c
(clutter_win32_get_stage_window): Fixed punctuation in the
documentation.

* README: Added notes about the Win32 backend.

2008-03-26  Neil Roberts  <neil@o-hand.com>

* clutter-sections.txt: Added a section for the Win32 specific
API.

* clutter-docs.sgml: Added comments about the Win32 backend.

* Makefile.am: Added bits to ignore the headers for the Win32
backend.

16 years ago2008-03-26 Neil Roberts <neil@o-hand.com>
Neil Roberts [Wed, 26 Mar 2008 10:58:12 +0000 (10:58 +0000)]
2008-03-26  Neil Roberts  <neil@o-hand.com>

* clutter/win32/clutter-event-win32.c (clutter_event_check):
Removed the pointless parameter in the call to check_msg_pending.
(check_msg_pending): Fixed to use PeekMessageW instead of
PeekMessage.

16 years ago2008-03-25 Neil Roberts <neil@o-hand.com>
Neil Roberts [Tue, 25 Mar 2008 15:42:50 +0000 (15:42 +0000)]
2008-03-25  Neil Roberts  <neil@o-hand.com>

Added a native Win32 WGL backend.

* configure.ac: Added the 'win32' flavour.

* clutter/cogl/gl/cogl.c (cogl_get_proc_address): Added an ifdef
to use wglGetProcAddress with the Win32 backend.

* clutter/Makefile.am (DIST_SUBDIRS): Added the win32 directory.

* clutter/win32/clutter-win32.pc.in:
* clutter/win32/clutter-win32.h:
* clutter/win32/clutter-stage-win32.h:
* clutter/win32/clutter-stage-win32.c:
* clutter/win32/clutter-event-win32.c:
* clutter/win32/clutter-backend-win32.h:
* clutter/win32/Makefile.am:
* clutter/win32/clutter-backend-win32.c: New files.

16 years ago2008-03-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 19 Mar 2008 18:33:33 +0000 (18:33 +0000)]
2008-03-19  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-model.[ch]: Add a ::copy() virtual function
for copying iterators.

* clutter/clutter-list-model.c:
(clutter_list_model_iter_copy),
(clutter_list_model_iter_class_init): Implement the ::copy()
function inside the ListModel iterator subclass.

16 years ago2008-03-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 19 Mar 2008 15:05:16 +0000 (15:05 +0000)]
2008-03-19  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-group.c:
* clutter/clutter-texture.c: Use CLUTTER_ACTOR_IS_VISIBLE()
and not CLUTTER_ACTOR_IS_MAPPED().

16 years agoAdd ClutterScore API enhancements bug reference
Emmanuele Bassi [Wed, 19 Mar 2008 12:24:19 +0000 (12:24 +0000)]
Add ClutterScore API enhancements bug reference

16 years ago2008-03-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 19 Mar 2008 11:46:57 +0000 (11:46 +0000)]
2008-03-19  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-score.[ch]: Small clean ups and refactoring.
Use gulong instead of guint, so we have a bigger id space for
the timelines inside a Score.

16 years ago * clutter/clutter-actor.c:
Chris Lord [Wed, 19 Mar 2008 11:38:53 +0000 (11:38 +0000)]
    * clutter/clutter-actor.c:
        (_clutter_actor_apply_modelview_transform), (clutter_actor_paint):
        Apply clip inside paint function instead of transform function

16 years ago2008-03-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 18 Mar 2008 22:10:05 +0000 (22:10 +0000)]
2008-03-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-score.c: Update documentation.

16 years ago2008-03-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 18 Mar 2008 22:07:17 +0000 (22:07 +0000)]
2008-03-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-score.[ch]: Remove all the API changes, and
just add a clutter_score_append_at_marker(); the implementation
remains the same, but the marker must be explicitly created by
the developer. The ids are no longer used to create implicit
markers, so they can return to be unsigned integers.

* clutter/clutter-timeline.[ch]:
(clutter_timeline_has_marker): Add a function to query a timeline
for a marker being set.

* tests/test-score.c (main): Update with the API changes.

* clutter.symbols: Update exported symbols.

16 years ago2008-03-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 18 Mar 2008 17:56:50 +0000 (17:56 +0000)]
2008-03-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-texture.c: Small clean ups in the coding style.

16 years ago2008-03-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 18 Mar 2008 17:55:33 +0000 (17:55 +0000)]
2008-03-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-section.txt: Add new score API.

16 years ago2008-03-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 18 Mar 2008 17:54:40 +0000 (17:54 +0000)]
2008-03-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter.symbols: Add new symbols

* clutter/clutter-score.[ch]: Use the newly added marker API
on the timelines to implement attaching timelines at specific
points, using either milliseconds or frames.

* tests/test-score.c (main): Test the new API.

16 years ago2008-03-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 18 Mar 2008 17:51:08 +0000 (17:51 +0000)]
2008-03-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-section.txt: Add timeline-marker API.

16 years ago2008-03-18 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 18 Mar 2008 17:50:45 +0000 (17:50 +0000)]
2008-03-18  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-marshal.list: Add signature for the
::marker-reached signal marshaller.

* clutter/clutter-timeline.[ch]: Add timeline marker API;
using markers it is possible to add a unique identifier to
a particular frame of the timeline, and receive a signal
notification when reaching that particular marker while
playing the timeline. (#641)

* tests/test-timeline.c: Update the test case to check for
the marker-reached signal emission.

* clutter.symbols: Add new symbols.

16 years agorearrange to be less than 80col
Øyvind Kolås [Mon, 10 Mar 2008 23:09:28 +0000 (23:09 +0000)]
rearrange to be less than 80col

16 years ago* tests/test-shader.c: improved readability of fragment shader
Øyvind Kolås [Mon, 10 Mar 2008 23:07:22 +0000 (23:07 +0000)]
* tests/test-shader.c: improved readability of fragment shader
examples by factoring out common bits into FRAGMENT_SHADER_BEGIN and
FRAGMENT_SHADER_END macros.

16 years ago2008-03-09 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Sun, 9 Mar 2008 19:07:17 +0000 (19:07 +0000)]
2008-03-09  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-id-pool.c: (clutter_id_pool_free):
        Use g_slice_free not g_free.
        * clutter/clutter-main.c: (_clutter_do_pick):
        Dont 'over read' the framebuffer when picking (#839, Neil Roberts)

16 years ago* Makefile.am: Ignore clutter-id-pool.h to avoid picking up private symbols.
Øyvind Kolås [Fri, 7 Mar 2008 17:37:43 +0000 (17:37 +0000)]
* Makefile.am: Ignore clutter-id-pool.h to avoid picking up private symbols.

16 years agoRefactored the integer id->ClutterActor mapping code to be a self
Øyvind Kolås [Fri, 7 Mar 2008 17:34:40 +0000 (17:34 +0000)]
Refactored the integer id->ClutterActor mapping code to be a self
contained data structure.
* clutter/clutter-id-pool.[ch]: new files.
* clutter/Makefile.am: added clutter-id-pool.[ch]
* clutter/clutter-private.h: use a ClutterIDPool instead of GArray and
GSList to keep track of the reusable ids.
* clutter/clutter-actor.c: moved id pool logic away.
* clutter/clutter-main.c: simplified id pool creation/finalization.

16 years ago2008-03-07 Robert Bragg <bob@o-hand.com>
Robert Bragg [Fri, 7 Mar 2008 01:00:00 +0000 (01:00 +0000)]
2008-03-07  Robert Bragg  <bob@o-hand.com>

* clutter/clutter-timeline.c:
Timeline changes to fix the issues identified in bugzilla #439

Notably, this includes some tweaks to timeline semantics. So e.g. for a
10 frame timeline here are some points about the new timeline code:
- When you create a timeline it starts with current_frame_num == 0
- After starting a timeline, the first timeout is for
  current_frame_num == 1 (Notably it isn't 0 since there is a delay
  before the first timeout signals so re-asserting the starting point
  would give a longer than average first frame.)
- For a non looping timeline the last timeout would be for
  current_frame_num == 10
- For a looping timeline the timeout for current_frame_num == 10 would
  be followed by a timeout for current_frame_num == 1 and frame 0 is
  considered == frame 10.
- Asking for a timeline of N frames might better be described as asking
  for a timeline of _length_ N.

Warning: Although I tried to test things, I guess it's quite likely that
this breaks somthing depending on a specific quirk of the previous
timeline code.

16 years ago2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Mar 2008 18:12:40 +0000 (18:12 +0000)]
2008-03-06  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c:
(clutter_actor_set_anchor_point_from_gravity): Fix a stupid
conversion from pixels to units that should I not have made.

16 years ago2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Mar 2008 14:12:30 +0000 (14:12 +0000)]
2008-03-06  Emmanuele Bassi  <ebassi@openedhand.com>

* README: Update the release notes.

16 years agoremoves test-timeline-frame-count references
Robert Bragg [Thu, 6 Mar 2008 13:47:06 +0000 (13:47 +0000)]
removes test-timeline-frame-count references

16 years ago2008-02-28 Gwenole Beauchesne <gbeauchesne@splitted-desktop.org>
Emmanuele Bassi [Thu, 6 Mar 2008 13:39:56 +0000 (13:39 +0000)]
2008-02-28  Gwenole Beauchesne  <gbeauchesne@splitted-desktop.org>

Signed off by: Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-group.c (clutter_group_real_lower): Fix to
actually lower the actor under the 'above' actor. (#822)

16 years ago2008-03-06 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 6 Mar 2008 12:39:24 +0000 (12:39 +0000)]
2008-03-06  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-entry.h:
* clutter/clutter-entry.c:
(clutter_entry_handle_key_event_internal),
(clutter_entry_key_press), (clutter_entry_class_init),
(clutter_entry_handle_key_event): Handle a default class handler
for the key-press-event, so that giving key focus to an entry will
automatically make it work. This deprecates the
clutter_entry_handle_key_event() function. (#824)

* tests/test-entry.c (main): Remove the handle_key_event()
machinery, and just give focus to the entry.