clutter-gtk
16 years ago2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 21 Apr 2008 15:06:30 +0000 (15:06 +0000)]
2008-04-21  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-gtk/gtk-clutter-util.h:
* clutter-gtk/gtk-clutter-util.c:
(gtk_clutter_texture_new_from_pixbuf),
(gtk_clutter_texture_new_from_stock),
(gtk_clutter_texture_new_from_icon_name): Add utility functions
to create a ClutterTexture from a Pixbuf (to replace the
clutter_texture_from_pixbuf() call when it will be removed
from Clutter core); from a stock id; and from an icon name.

* examples/Makefile.am: Clean up.

* examples/gtk-clutter-events.c:
* examples/gtk-clutter-multistage.c: Use the new utility API.

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

* README: Update requirements

* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_dispose): Destroy the ClutterStage we create.

(gtk_clutter_embed_realize),
(gtk_clutter_embed_init),
(gtk_clutter_init): Slight cleanup.

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

* clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
ClutterGtk to be able to retrieve the ClutterColor equivalent
of the various style color components of a GtkWidget.

* clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.

* doc/reference/clutter-gtk-docs.sgml: Add the new section in
the documentation.

* examples/gtk-clutter-events.c (create_colors): Test the newly
added color retrieval API.

16 years ago * configure.ac: Added a --with-flavour option to select between
Neil Roberts [Tue, 15 Apr 2008 16:24:08 +0000 (16:24 +0000)]
* configure.ac: Added a --with-flavour option to select between
x11 and win32 versions. Defaults to x11.

* clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
and replace with Win32 equivalents.
(gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
the stage pointer when generating fake Clutter events otherwise
they just get ignored.
(gtk_clutter_embed_realize): Always request button and key events
in the window event mask. They aren't included by default on
Windows.

* README (Requirements): Added a note about the minimum Clutter
version for the Win32 backend.

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

* clutter-gtk/gtk-clutter-embed.c:
(clutter_container_iface_init): Make GtkClutterEmbed implement
ClutterContainer, and proxy all virtual functions to the
embedded Stage.

* examples/gtk-clutter-test.c: (main): Add the group straight
to the GtkClutterEmbed widget to test the Container interface
implementation.

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

* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_init): Call gtk_init_check(); this is safe, because
multiple calls to gtk_init() are safe.

* clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
enumeration.

* examples/gtk-clutter-events.c:
* examples/gtk-clutter-multistage.c:
* examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
out in case of failure.

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

* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_init): Update after upstream API change.

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

        * examples/Makefile.am:
        * examples/gtk-clutter-multistage.c:
        Add a *very* simple multiple stage example.

16 years ago2008-04-01 Neil Roberts <neil@o-hand.com>
Neil Roberts [Tue, 1 Apr 2008 16:01:16 +0000 (16:01 +0000)]
2008-04-01  Neil Roberts  <neil@o-hand.com>

* examples/gtk-clutter-test.c (main): Moved the
clutter_actor_show_all call to after the parent widget is
shown. Otherwise all of the actors get unrealized when
clutter_x11_set_stage_foreign is called and nothing is displayed.

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

        * clutter-gtk/gtk-clutter-embed.c:
        Update for latest trunk multistage.
        Should now support multple widgets

16 years ago2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 29 Feb 2008 00:31:21 +0000 (00:31 +0000)]
2008-02-29  Emmanuele Bassi  <ebassi@openedhand.com>

* Makefile.am:
* clutter-gtk/Makefile.am:
* examples/Makefile.am: Post-release bump build fixes

* clutter-gtk/gtk-clutter-embed.c: Extend documentation.

16 years ago2008-02-29 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Fri, 29 Feb 2008 00:18:29 +0000 (00:18 +0000)]
2008-02-29  Matthew Allum  <mallum@openedhand.com>

        * clutter-gtk.pc.in:
        * configure.ac:
        Bump up to unstable 0.7 version and clutter req.

        * clutter-gtk/gtk-clutter-embed.c:
        * clutter-gtk/gtk-clutter-embed.h:
        Add clutter_gtk_init(), as to use new API to share DISPLAY and
        turn off Clutter 'automatic' event collection.
        Add methods for;
          expose    - Queue a Clutter redraw.
          map       - set Actor mapped flag.
          show/hide - Forward to stage also.
        Minor doc additions.

        * examples/gtk-clutter-events.c:
        Add some minor comments re when to call show_all().

        * examples/gtk-clutter-test.c:
        Fix event->actor mapping.

16 years ago2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 21 Feb 2008 11:40:23 +0000 (11:40 +0000)]
2008-02-21  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_send_configure): Emit a Configure event
with the coordinates for the widget area.

(gtk_clutter_embed_realize),
(gtk_clutter_embed_size_allocate): Send the configure event.

16 years agoRelease 0.6.0
Emmanuele Bassi [Mon, 18 Feb 2008 15:54:29 +0000 (15:54 +0000)]
Release 0.6.0

16 years ago2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 7 Feb 2008 16:53:46 +0000 (16:53 +0000)]
2008-02-07  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
never call clutter_actor_set_size() on the embedded stage, but
call gtk_widget_set_size_request() on the widget itself to
resize the stage.

16 years ago2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Fri, 25 Jan 2008 19:58:21 +0000 (19:58 +0000)]
2008-01-25  Emmanuele Bassi  <ebassi@openedhand.com>

* README:
* NEWS: Release 0.5.2

* configure.ac: Post release bump to 0.5.3

16 years ago2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 24 Jan 2008 12:32:01 +0000 (12:32 +0000)]
2008-01-24  Emmanuele Bassi  <ebassi@openedhand.com>

* doc/reference/clutter-gtk-docs.sgml:
* doc/reference/clutter-gtk.types: Update with the widget name
change.

* examples/gtk-clutter-test.c: Set a default size on the
widget to avoid the 0, 0 initial size.

16 years ago2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 23 Jan 2008 15:17:28 +0000 (15:17 +0000)]
2008-01-23  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Fix srcdir detection.

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

* configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
using clutter-x11.

* clutter-gtk.pc.in: Require clutter-x11-0.5.

* clutter-gtk/Makefile.am:
* clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
widget; this widget reverts back to the old, pre-XEMBED implementation
of an embeddable stage, by letting Clutter draw directly onto a
child GdkWindow, thanks to the fixes that went into Clutter
core. (#716, #717, #718, based on a patch by Havoc Pennington)

* clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
widget.

* examples/gtk-clutter-events.c:
* examples/gtk-clutter-test.c: Update the tests for the new API.

16 years agoRelease 0.5.0
Emmanuele Bassi [Thu, 17 Jan 2008 10:48:18 +0000 (10:48 +0000)]
Release 0.5.0

16 years ago2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 4 Dec 2007 10:32:15 +0000 (10:32 +0000)]
2007-12-04  Emmanuele Bassi  <ebassi@openedhand.com>

Update after the API changes in Clutter core

* clutter-gtk/clutter-gtk.c:
(gtk_clutter_destroy): Do not call clutter_actor_destroy()
on the stage.

(gtk_clutter_map): Use the new X11 API for retrieving the
XID of the stage window.

(gtk_clutter_init): Set the widget as paintable and the stage
as resizable.

* examples/gtk-clutter-events.c:
(on_x_changed), (on_y_changed), (on_z_changed): Use the new
clutter_actor_set_rotation() API.

* examples/gtk-clutter-test.c (frame_cb): Ditto as above.

16 years ago2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Mon, 20 Aug 2007 15:34:02 +0000 (15:34 +0000)]
2007-08-20  Emmanuele Bassi  <ebassi@openedhand.com>

* doc/reference/clutter-gtk-sections.txt:
* doc/reference/clutter-gtk-docs.sgml:
* clutter-gtk/clutter-gtk.[ch]: Fix API reference.

* examples/Makefile.am: Fix compilation of the examples

16 years ago2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 15 Aug 2007 08:48:42 +0000 (08:48 +0000)]
2007-08-15  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac:
* clutter-gtk.pc.in:
* Makefile.am:
* clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
clutter-gtk-0.5 as well.

16 years agoUpdate Makefile templates and pass --enable-gtk-doc when distchecking
Emmanuele Bassi [Tue, 7 Aug 2007 15:04:15 +0000 (15:04 +0000)]
Update Makefile templates and pass --enable-gtk-doc when distchecking

16 years agoFix dependency for the examples
Emmanuele Bassi [Tue, 7 Aug 2007 14:58:18 +0000 (14:58 +0000)]
Fix dependency for the examples

16 years ago2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 7 Aug 2007 14:54:31 +0000 (14:54 +0000)]
2007-08-07  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.

* clutter-gtk.pc.in:
* Makefile.am:
* clutter-gtk/Makefile.am: Update.

16 years agoFix documentation building
Chris Lord [Fri, 3 Aug 2007 09:14:34 +0000 (09:14 +0000)]
Fix documentation building

16 years ago2007-07-18 Neil J. Patel <njp@o-hand.com>
Neil J. Patel [Wed, 18 Jul 2007 13:20:54 +0000 (13:20 +0000)]
2007-07-18  Neil J. Patel  <njp@o-hand.com>

* examples/Makefile.am:
Point to new clutter-gtk library name.

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

* examples/gtk-clutter-events.c: Remove wrong casting around
the g_signal_connect() argument; this masked a weird memory
corruption bug happening when compiling outside the sources
directory.

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

* clutter-gtk/Makefile.am:
* clutter-gtk.pc.in: Install (and use) a versioned library, to
match the behaviour of clutter-core and the other integration
libraries.

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

* clutter-gtk.pc.in: Depend on the right clutter pkgconfig file

* Makefile.am: Install a versioned clutter-gtk pkgconfig file

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

        * NEWS:
        Update.
        * configure.ac:
        Bump up version to 0.3.1

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

        * clutter-gtk.pc.in:
        Fix to require 0.3 clutter.

16 years agoRemoved stray g_print
Neil J. Patel [Mon, 11 Jun 2007 16:40:38 +0000 (16:40 +0000)]
Removed stray g_print

16 years ago2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
Neil J. Patel [Mon, 11 Jun 2007 16:04:37 +0000 (16:04 +0000)]
2007-06-11  Neil Jagdish Patel  <njp@o-hand.com>

* examples/Makefile.am:
* examples/gtk-clutter-events.c: (on_gtk_entry_changed),
(on_x_changed), (on_y_changed), (on_z_changed),
(on_opacity_changed), (create_colors), (main):
Added another example whihc shows some interaction between gtk and
the stage.

* examples/gtk-clutter-test.c: (main):
Updated to work with clutter-0.3

17 years ago2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Tue, 17 Apr 2007 00:19:21 +0000 (00:19 +0000)]
2007-04-17  Emmanuele Bassi  <ebassi@openedhand.com>

* configure.ac: Branch for development; bump to 0.3.0, to
match Clutter core version; require clutter-glx backend.

* clutter-gtk/clutter-gtk.c: Include the GLX backend specific
functions; add an "embedded" read-only property, which signals
whether the widget has successfully embedded the stage window;
use the new clutter_glx_get_stage_window() function.

* examples/gtk-clutter-test.c: Port to the new event API.

17 years ago2007-03-23 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 23 Mar 2007 16:11:27 +0000 (16:11 +0000)]
2007-03-23  Ross Burton  <ross@openedhand.com>

* configure.ac:
Don't require any particular GTK+ version.

17 years ago2007-03-23 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 23 Mar 2007 15:05:14 +0000 (15:05 +0000)]
2007-03-23  Ross Burton  <ross@openedhand.com>

* examples/Makefile.am:
Dist the PNG.

17 years ago2007-03-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Mar 2007 22:48:56 +0000 (22:48 +0000)]
2007-03-22  Matthew Allum  <mallum@openedhand.com>

        * clutter-gtk.doap:
        Update for 0.1 Realease

17 years ago2007-03-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Mar 2007 15:39:40 +0000 (15:39 +0000)]
2007-03-22  Matthew Allum  <mallum@openedhand.com>

        * NEWS:
        Update for 0.1 release
        * doc/reference/clutter-gtk.types:
        Rename fix.

17 years ago2007-03-22 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 22 Mar 2007 15:32:46 +0000 (15:32 +0000)]
2007-03-22  Matthew Allum  <mallum@openedhand.com>

        * clutter-gtk/Makefile.am:
        * clutter-gtk/clutter-gtk.c:
        * clutter-gtk/gtk-clutter.c:
        * clutter-gtk/gtk-clutter.h:
        * configure.ac:
        * examples/gtk-clutter-test.c:
        Various naming fixups.

17 years ago2007-03-21 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 21 Mar 2007 21:47:31 +0000 (21:47 +0000)]
2007-03-21  Matthew Allum  <mallum@openedhand.com>

        * clutter-gtk.pc.in:
        * clutter-gtk/Makefile.am:
        More version fixes.

17 years ago2007-03-21 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 21 Mar 2007 21:45:38 +0000 (21:45 +0000)]
2007-03-21  Matthew Allum  <mallum@openedhand.com>

        * doc/reference/Makefile.am:
        Fix lib path so docs build again.

17 years agocredit where credit is due
Matthew Allum [Wed, 21 Mar 2007 21:42:44 +0000 (21:42 +0000)]
credit where credit is due

17 years ago2007-03-21 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Wed, 21 Mar 2007 21:39:10 +0000 (21:39 +0000)]
2007-03-21  Matthew Allum  <mallum@openedhand.com>

        * clutter-gtk/gtk-clutter.c:
        * clutter-gtk/gtk-clutter.h:
        Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
        Needs at least clutter 0.2.2. Avoids previous issues with
        white textures when painting onto a GtkWindow.

        * examples/gtk-clutter-test.c: (main):
        Update.

        * configure.ac:
        * clutter-gtk.pc.in:
        Fixups to require clutter-0.2.2

17 years ago2006-11-30 Matthew Allum <mallum@openedhand.com>
Matthew Allum [Thu, 30 Nov 2006 15:23:05 +0000 (15:23 +0000)]
2006-11-30  Matthew Allum  <mallum@openedhand.com>

        * clutter-gtk.doap:
        Update doap file a little.

17 years ago2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 30 Nov 2006 14:46:39 +0000 (14:46 +0000)]
2006-11-30  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-gtk/gtk-clutter.c:
(gtk_clutter_expose_event): Queue a redraw of the
stage instead of directly swapping the GL buffers.

17 years ago2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Thu, 30 Nov 2006 11:11:42 +0000 (11:11 +0000)]
2006-11-30  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-gtk/gtk-clutter.c:
(gtk_clutter_expose_event): Use the newly added
clutter_stage_swap_buffers() and fix the missing redraw
on expose bug.

17 years ago2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 29 Nov 2006 23:03:12 +0000 (23:03 +0000)]
2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>

* examples/gtk-clutter-test.c: Add a "quit" button.

17 years ago2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 29 Nov 2006 22:51:01 +0000 (22:51 +0000)]
2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-gtk/gtk-clutter.c:
(gtk_clutter_destroy): Destroy the ClutterStage instead
of unreffing it.

(gtk_clutter_size_allocate): Queue a redraw if the stage
is marked as visible.

(gtk_clutter_realize): Remove the forced realize: the
stage is already realized by default.

* examples/gtk-clutter-test.c: Use gtk_main_quit().

17 years ago2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
Emmanuele Bassi [Wed, 29 Nov 2006 22:39:46 +0000 (22:39 +0000)]
2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter-gtk/gtk-clutter.h: Add constructor; clean up.

* clutter-gtk/gtk-clutter.c:
(gtk_clutter_destroy), (gtk_clutter_class_init): Move
the stage unref to the GtkObject::destroy method.

(gtk_clutter_size_allocate): Oblige to the size allocation
request from the container of the GtkClutter widget by
resizing the ClutterStage.

(gtk_clutter_size_request): Require the size of the stage.

(gtk_clutter_destroy), (gtk_clutter_size_request),
(gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
macro, which does a type check and a function call; use the
priv pointer we conveniently keep around.

* examples/gtk-clutter-test.c: Use the given constructor;
now window resizing works.  The stage doesn't get refreshed
immediately (resize the window), though, and there's still
the X error when we close the window.

17 years agoadd clutter-gtk
Emmanuele Bassi [Wed, 29 Nov 2006 22:09:13 +0000 (22:09 +0000)]
add clutter-gtk

17 years agomoving clutter-gtk out of the main tree
Emmanuele Bassi [Wed, 29 Nov 2006 22:06:16 +0000 (22:06 +0000)]
moving clutter-gtk out of the main tree