profile/ivi/clutter.git
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.

17 years agoupdated change log
Tomas Frydrych [Mon, 25 Jun 2007 13:43:21 +0000 (13:43 +0000)]
updated change log

17 years agochanged ClutterPerspective.fovy from ClutterAngle to degrees
Tomas Frydrych [Mon, 25 Jun 2007 13:43:13 +0000 (13:43 +0000)]
changed ClutterPerspective.fovy from ClutterAngle to degrees

17 years ago2007-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 22 Jun 2007 15:18:28 +0000 (15:18 +0000)]
2007-06-22  Matthew Allum  <mallum@openedhand.com>

        * README:
        * README.in:
        * autogen.sh:
        * configure.ac:
        Move back to regular README naming at least for now.

17 years ago2007-06-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 22 Jun 2007 15:16:40 +0000 (15:16 +0000)]
2007-06-22  Matthew Allum  <mallum@openedhand.com>

        * NEWS:
        * README.in:
        * TODO:
        Update for 0.3 release.

        * clutter/clutter-actor.c:
        Minor doc fixups

        * clutter/clutter-texture.c:
        Various minor additions for handling non RGBA data.
        Fix a typo breaking clutter_texture_get_pixbuf() on tiled textures.

        * tests/test-actors.c:
        Disable scaling to avoid drifting (temporary till API is fixed)

17 years agoUpdate README template
Emmanuele Bassi [Thu, 21 Jun 2007 14:52:18 +0000 (14:52 +0000)]
Update README template

17 years agoUpdate ChangeLog
Emmanuele Bassi [Thu, 21 Jun 2007 14:20:03 +0000 (14:20 +0000)]
Update ChangeLog

17 years agoAllow disabling the timeline pool via environment variables
Emmanuele Bassi [Thu, 21 Jun 2007 14:19:56 +0000 (14:19 +0000)]
Allow disabling the timeline pool via environment variables

All the ClutterTimeline share a ClutterTimeoutPool by default. This might
cause problems if an application is using a heavily threaded library that
does not play nicely with the main loop (like libneon). If this is the
case, using the CLUTTER_TIMELINE environment variable set to "no-pool"
makes the ClutterTimeline objects discard the pool and allocate a slice
of the main loop.

17 years ago2007-06-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 19 Jun 2007 14:52:19 +0000 (14:52 +0000)]
2007-06-19  Emmanuele Bassi  <ebassi@openedhand.com>

* README.in: Update release notes.

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

        * clutter/clutter-main.c: (clutter_init_with_args), (clutter_init):
        Safer checks for setting progname if NULL is passed in init.

17 years ago2007-06-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 19 Jun 2007 14:15:42 +0000 (14:15 +0000)]
2007-06-19  Emmanuele Bassi  <ebassi@openedhand.com>

* autogen.sh: autoreconf needs a README.

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

        * TODO:
        Sync up a little.
        * clutter/clutter-main.c:
        Set a default window title based on g_prgname().

        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        * clutter/egl/clutter-stage-egl.c:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/sdl/clutter-stage-sdl.c:
        Alter draw_to_pixbuf to return a pixbuf

        * configure.ac:
        Only full in gdk-pixbuf-xlib as a GLX backend dep.

        * tests/test-entry.c:
        Fix a couple of warnings.

17 years ago2007-06-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 19 Jun 2007 13:04:50 +0000 (13:04 +0000)]
2007-06-19  Emmanuele Bassi  <ebassi@openedhand.com>

* Makefile.am: Add README.in to the EXTRA_DIST.

17 years ago2007-06-19 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 19 Jun 2007 13:03:39 +0000 (13:03 +0000)]
2007-06-19  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac:
* README.in: Use a template for the README file, so that
it gets the right version number.

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

        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/sdl/clutter-stage-sdl.c:
        Add window title setting/getting functionality.

        * clutter/clutter-event.c: (clutter_key_event_unicode):
        Remove uneeded convert case call.

        * clutter/cogl/gl/cogl.c: (cogl_rectangle)
        Use parameters correctly for underlying GL rect call.

        * tests/test-entry.c:
        Add a window title.

17 years ago2007-06-18 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Mon, 18 Jun 2007 09:15:00 +0000 (09:15 +0000)]
2007-06-18  Matthew Allum  <mallum@openedhand.com>

        * clutter/sdl/clutter-event-sdl.c:
        Seemingly fix SDL Event source.
        Add some very basic SDL keysym translation.
        (Thanks to Thomas Van Machelen for initial translation code)

        * tests/test-events.c:
        Dump some info on keysyms pressed.

17 years ago2007-06-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 16 Jun 2007 21:15:31 +0000 (21:15 +0000)]
2007-06-16  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.h:
* clutter/clutter-stage.h: Add 32 padding slots; when we
reach 1.0 it'll be a long road until the following ABI
break.

* tests/test-behave.c: Don't forget to include headers.

17 years ago2007-06-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 16 Jun 2007 21:07:13 +0000 (21:07 +0000)]
2007-06-16  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-container.h:
* clutter/clutter-layout.h: Interfaces are not checked
at compile-time, so there's not need to add padding to
avoid ABI breaks.

17 years ago2007-06-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 16 Jun 2007 20:58:00 +0000 (20:58 +0000)]
2007-06-16  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Partially revert last commit, and fail
with AC_MSG_ERROR() instead of disabling the manual build
if no jw and xmlto were found.

17 years ago2007-06-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 16 Jun 2007 20:56:40 +0000 (20:56 +0000)]
2007-06-16  Emmanuele Bassi  <ebassi@openedhand.com>

* subclassing-ClutterActor.sgml: Add a chapter about how to
correctly subclass the actor base class.

* clutter-docs.sgml: Include the new chapter about subclassing
ClutterActor; add a description for some of the API reference
parts.

17 years ago2007-06-16 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Sat, 16 Jun 2007 09:06:03 +0000 (09:06 +0000)]
2007-06-16  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: If the programs required to build the manual
are not found and --enable-manual was passed, then just print
a warning and disable the manual build instead of aborting the
configure.

* doc/manual/Makefile.am: Use the full path gathered by the
configure script when invoking jw and xmlto.

17 years ago2007-06-16 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 15 Jun 2007 23:15:34 +0000 (23:15 +0000)]
2007-06-16  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        Fix typo in x rotation transform (Thanks to Johan Billen #138)

        * configure.ac:
        * doc/manual/Makefile.am:
        Fix manual build and required program check.

        * tests/Makefile.am:
        Another typo fix.

17 years agoremoval of debug stuff, addition of comments
Tomas Frydrych [Fri, 15 Jun 2007 09:53:07 +0000 (09:53 +0000)]
removal of debug stuff, addition of comments

17 years agoRemove locking from ClutterTimeoutPool
Emmanuele Bassi [Thu, 14 Jun 2007 19:57:36 +0000 (19:57 +0000)]
Remove locking from ClutterTimeoutPool

The mutex protection for the timeout pool was causing deadlocks, so it has been
removed for the time being, until I figure out a way to make it work properly.
A timeout pool should not be considered thread-safe (or thread-aware) until further
notice.

17 years agoOverride ClutterActor::pick
Emmanuele Bassi [Thu, 14 Jun 2007 19:57:29 +0000 (19:57 +0000)]
Override ClutterActor::pick

Override the default ClutterActor::pick method, by calling a full paint of the box actor
like ClutterGroup does.

17 years agofixed vbox and hbox pack functions
Tomas Frydrych [Thu, 14 Jun 2007 15:56:22 +0000 (15:56 +0000)]
fixed vbox and hbox pack functions

17 years agoAnd the test
Emmanuele Bassi [Thu, 14 Jun 2007 15:31:00 +0000 (15:31 +0000)]
And the test

17 years agoDon't forget to add the boxes
Emmanuele Bassi [Thu, 14 Jun 2007 15:30:27 +0000 (15:30 +0000)]
Don't forget to add the boxes

17 years ago2007-06-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 14 Jun 2007 15:29:52 +0000 (15:29 +0000)]
2007-06-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-box.[ch]: Base class for layout containers.

* clutter/clutter-hbox.[ch]: Horizontal box actor.

* clutter/clutter-vbox.[ch]: Vertical box actor.

* clutter/clutter.h:
* clutter/Makefile.am: Build glue

* tests/Makefile.am:
* tests/test-boxes.c: Test suite for ClutterBox API and
implementations.

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

        * clutter/cogl/gl/cogl.c: (cogl_check_extension):
        Actually populate this func and remove the static alternate
        named one. Means GLX actually checks for available extensions.
        Other minor tidy ups.

        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-backend-glx.h:
        Add support for GLX_SGI_swap_control to do vblanking prefering
        over glXGetVideoSyncSGI. Should fix issues on Intel chips with
        very slow frame rates due to vblank problems.
        Thanks to  Michel Danzer for tips, see;
        http://bugs.freedesktop.org/show_bug.cgi?id=10542

        * test/test-actors.c:
        Change FPS to 60.

17 years ago2007-06-14 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 14 Jun 2007 12:00:31 +0000 (12:00 +0000)]
2007-06-14  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-timeout-pool.c: Make ClutterTimeoutPool
more thread-safe, using a static lock.

(clutter_timeout_pool_dispatch), (clutter_timeout_pool_remove): Fix
a race condition-turned-in-memory corruption bug, triggered by
removing a timeout from the pool while still spinning the pool
source.

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

* configure.ac:
* doc/manual/Makefile.am: Find xmlto and jw in the path and
use the symbolic names when building the manual.

17 years agouse clutter_actor_project_point/vertices in clutter_actor_get_abs_position/size
Tomas Frydrych [Thu, 14 Jun 2007 08:17:13 +0000 (08:17 +0000)]
use clutter_actor_project_point/vertices in clutter_actor_get_abs_position/size

17 years ago2007-06-14 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 13 Jun 2007 23:24:59 +0000 (23:24 +0000)]
2007-06-14  Matthew Allum  <mallum@openedhand.com>

        * clutter/clutter-actor.c:
        * clutter/clutter-actor.h:
        * clutter/clutter-group.c:
        * clutter/clutter-label.c:
        * clutter/egl/clutter-stage-egl.c:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/sdl/clutter-stage-sdl.c:
        Rename clutter_actor_allocate_coords -> clutter_actor_query_coords

        Change repaints to G_PRIORITY_DEFAULT + 10.
        (timelines are G_PRIORITY_DEFAULT + 30, events G_PRIORITY_DEFAULT)

        * clutter/glx/clutter-event-glx.c:
        Handle shift modifier in keycode -> keysym translation.

        * tests/test-actors.c:
        Remove (broken) screen saver code.
        Add scaling behaviour, clean code a little

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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