Emmanuele Bassi [Sat, 18 Jul 2009 19:50:06 +0000 (20:50 +0100)]
Bump up the required Clutter version
Chris Lord [Thu, 16 Jul 2009 16:26:04 +0000 (17:26 +0100)]
[util] Add error arguments to texture functions
Add boolean returns and GError arguments to gtk_clutter_texture_set_*
This lets you discover if the call was successful more easily. Also
remove the fallback situation of setting missing-icon, this can now be
handled by the application.
Reviewed by Emmanuele Bassi <ebassi@linux.intel.com>
Alexander Larsson [Thu, 25 Jun 2009 10:11:17 +0000 (12:11 +0200)]
Make GtkClutterEmbed derive from GtkContainer
This is required to later add child widgets when embedding Gtk+ widgets in
clutter.
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Mon, 22 Jun 2009 17:19:57 +0000 (18:19 +0100)]
Post-release bump to 0.9.3
Emmanuele Bassi [Mon, 22 Jun 2009 17:00:16 +0000 (18:00 +0100)]
[release] 0.9.2
Emmanuele Bassi [Mon, 22 Jun 2009 16:54:42 +0000 (17:54 +0100)]
[release] Update the NEWS
Emmanuele Bassi [Mon, 22 Jun 2009 17:15:17 +0000 (18:15 +0100)]
[build] Use AS_COMPILER_FLAGS
We should use the AS_COMPILER_FLAGS m4 macro to allow for graceful
handling of compiler flags on different versions of GCC and on
different compilers.
Emmanuele Bassi [Mon, 22 Jun 2009 17:08:24 +0000 (18:08 +0100)]
[build] Fixes for distcheck
Use variables to define the paths for header and source files.
Emmanuele Bassi [Mon, 22 Jun 2009 17:02:45 +0000 (18:02 +0100)]
[build] Depend on the latest stable release of Clutter
Emmanuele Bassi [Mon, 22 Jun 2009 16:59:04 +0000 (17:59 +0100)]
[build] Remove the reference to introspection.m4
The introspection.m4 file is inside build/autotools.
Emmanuele Bassi [Mon, 22 Jun 2009 16:54:16 +0000 (17:54 +0100)]
[doap] Update description and maintainer
Emmanuele Bassi [Mon, 22 Jun 2009 11:23:12 +0000 (12:23 +0100)]
Use variables for the include path and linker flags
Instead of hardcoding the Clutter API version, we should be using
variables.
Robert Bragg [Tue, 16 Jun 2009 14:09:24 +0000 (15:09 +0100)]
guard against hiding priv->stage when already destroyed during dispose
Before chaining up to gtk in gtk_clutter_embed_dispose we destroy
priv->stage, but gtk will emit a hide signal during it's dispose so we
need to guard against calling clutter_actor_hide (priv->stage) if
the stage has been destroyed.
Emmanuele Bassi [Wed, 10 Jun 2009 16:22:06 +0000 (17:22 +0100)]
[build] Use the right inclusion path in the pc file
The inclusion path for Clutter-GTK is:
$(includedir)/clutter-$(clutter_api_version)
So that:
#include <clutter-gtk/clutter-gtk.h>
Will work as expected.
Emmanuele Bassi [Mon, 8 Jun 2009 16:06:14 +0000 (17:06 +0100)]
Use clutter_event_get_key_symbol()
The clutter_key_event_symbol() function was renamed upstream.
Emmanuele Bassi [Fri, 5 Jun 2009 13:17:16 +0000 (14:17 +0100)]
Merge branch '1.0-integration'
* 1.0-integration:
[gtk-clutter-test] Update for the clutter timeline changes
[examples] Use different sized stages
Updates for 1.0 API changes in Clutter
Update for Clutter 1.0 API changes
Conflicts:
examples/gtk-clutter-multistage.c
Neil Roberts [Fri, 5 Jun 2009 13:06:41 +0000 (14:06 +0100)]
[gtk-clutter-test] Update for the clutter timeline changes
ClutterTimeline no longer has a frame number so we need to calculate
the rotation using clutter_timeline_get_progress.
Emmanuele Bassi [Thu, 4 Jun 2009 16:48:44 +0000 (17:48 +0100)]
[examples] Use different sized stages
The multi-stage example should use two stages with different stages.
Also, we should show the ::allocation-changed signal.
Emmanuele Bassi [Thu, 4 Jun 2009 15:52:07 +0000 (16:52 +0100)]
Updates for 1.0 API changes in Clutter
All the Unit-related symbols have been removed.
Aaron Bockover [Tue, 26 May 2009 01:12:03 +0000 (21:12 -0400)]
[embed] Fix on_stage_queue_redraw signature
The second argument for the queue-redraw signal is a
ClutterActor*, not a gboolean. This caused the stack to
be corrupt on 64 bit.
Fixes bug:
http://bugzilla.openedhand.com/show_bug.cgi?id=1614
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Wed, 20 May 2009 15:45:49 +0000 (16:45 +0100)]
Update for Clutter 1.0 API changes
* Move everything to float
* Rework the map/unmap handling
Colin Walters [Mon, 11 May 2009 17:04:36 +0000 (18:04 +0100)]
Build GObject introspection data for clutter-gtk
Generate the GIR and the typelib for Clutter-GTK using the
GObject-Introspection scanner and compiler, respectively.
Original patch by: Colin Walters <walters@verbum.org>
Patch updated by: Brian Cameron <brian.cameron@sun.com>
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Mon, 11 May 2009 14:06:56 +0000 (15:06 +0100)]
Post-release bump to 0.9.1
Emmanuele Bassi [Mon, 11 May 2009 14:04:54 +0000 (15:04 +0100)]
[release] 0.9.0
Emmanuele Bassi [Mon, 11 May 2009 14:01:28 +0000 (15:01 +0100)]
[build] Generate ChangeLog starting from the git import
Instead of using the SVN entries to generate the ChangeLog we
should use the git-import tag and only start from the point in
the history when we switched to Git.
Emmanuele Bassi [Mon, 11 May 2009 14:00:25 +0000 (15:00 +0100)]
[examples] Tweak multistage example
* Use different sizes for the two stages
* Keep the texture centered on the second stage using the
notify::allocation signal
Neil Roberts [Mon, 11 May 2009 13:27:36 +0000 (14:27 +0100)]
[gtk-clutter-embed] Fill in the unicode_value field of ClutterKeyEvent
The unicode value is translated from the keyval by
gdk_keyval_to_unicode. We can't easily use the 'string' field of
GdkEventKey because it is in the current locale (not UTF-8).
Emmanuele Bassi [Tue, 14 Apr 2009 22:54:57 +0000 (23:54 +0100)]
[gitignore] Add more gtk-doc files
Emmanuele Bassi [Tue, 14 Apr 2009 22:53:45 +0000 (23:53 +0100)]
[build] Add a ChangeLog generation rule
Just like Clutter, we need to generate a proper ChangeLog when
distchecking so that users of the tarball will still have a
detailed list of changes.
Emmanuele Bassi [Tue, 14 Apr 2009 22:53:03 +0000 (23:53 +0100)]
[build] Recurse under build/
We need to dist the shave script templates and macros, so we need
to recurse under build/ as well.
Emmanuele Bassi [Tue, 14 Apr 2009 22:52:32 +0000 (23:52 +0100)]
[readme] Update the dependencies
We don't depend on Clutter 0.8.
Emmanuele Bassi [Tue, 14 Apr 2009 22:52:20 +0000 (23:52 +0100)]
[authors] Update my email address
Emmanuele Bassi [Tue, 14 Apr 2009 22:51:04 +0000 (23:51 +0100)]
Rename the svn ChangeLog and add dummy one
The old ChangeLog we used under Subversion should be renamed. We
still need a dummy ChangeLog, though.
Emmanuele Bassi [Tue, 14 Apr 2009 16:20:32 +0000 (17:20 +0100)]
[gitignore] Create the ignore list
Emmanuele Bassi [Tue, 14 Apr 2009 16:19:04 +0000 (17:19 +0100)]
[docs] Improve the documentation
Add missing symbols to the sections file, and describe the
Clutter-Gtk library.
Emmanuele Bassi [Tue, 14 Apr 2009 16:16:41 +0000 (17:16 +0100)]
[build] Improve build environment
* De-crustify the configure.ac file by using AS_IF(), AS_CASE()
and other useful macros
* Update all the variables
* Fix the pkg-config file Requires:, and expose the flavour
and API version as variables
* Fix the autogen.sh script
* Use Shave to clean up the libtool and gcc incantations and
make the output useful again
Emmanuele Bassi [Tue, 14 Apr 2009 16:13:02 +0000 (17:13 +0100)]
[tests] Remove compiler warnings
The tests have some unused variables that will make gcc whine.
Emmanuele Bassi [Tue, 14 Apr 2009 13:52:34 +0000 (14:52 +0100)]
Move init functions out of Embed source
The gtk_clutter_init* family of functions should live in the
utilities code, and not inside the GtkClutterEmbed header and
source files.
Christian Persch [Mon, 30 Mar 2009 18:27:48 +0000 (20:27 +0200)]
Add gtk_clutter_init_with_args()
This function allows calling gtk_init_with_args() and
clutter_init_with_args(), supplying the command line entries,
a translation domain and getting a run-time error back.
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Christian Persch [Mon, 30 Mar 2009 18:19:45 +0000 (20:19 +0200)]
[embed] Do NOT realize from GtkWidgetClass::show
Fixes bug:
http://bugzilla.openedhand.com/show_bug.cgi?id=1185
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Tue, 14 Apr 2009 13:07:29 +0000 (14:07 +0100)]
Change the GtkClutter macro namespace
The namespace for the object provided by clutter-gtk should be
GtkClutter and not Gtk, to avoid potential collisions with
symbols provided by gtk+.
This also fixes http://bugzilla.openedhand.com/show_bug.cgi?id=1187
and other parsers assuming that the namespace is GtkClutter.
Rob Bradford [Wed, 8 Apr 2009 23:08:00 +0000 (00:08 +0100)]
[embed] Update "queue-redraw" signal handler prototype
The prototype for the queue-redraw signal has changed to include a new boolean
flag; this change updates the prototype of the handler in the widget.
Emmanuele Bassi [Thu, 26 Feb 2009 15:34:52 +0000 (15:34 +0000)]
[embed] Use GTK+ settings
When the style of GtkClutterEmbed changes we need to retrieve all
the settings and screen options used by GTK+.
This is needed because:
- Clutter does not have any internal code to handle changes
in the platform settings
- GtkClutterEmbed "enslaves" Clutter to GTK+ already
By default, we reuse:
- the screen resolution
- the screen font options
- the default font name
- the double click distance and time
This way, a Clutter scene embedded into a GtkClutterEmbed will
look more integrated.
Emmanuele Bassi [Mon, 9 Feb 2009 00:15:32 +0000 (00:15 +0000)]
[docs] Remove the get_originu() method
The gtk_clutter_viewport_get_originu() method was removed from
the public API, hence we should remove it from the API reference
as well.
Emmanuele Bassi [Mon, 9 Feb 2009 00:14:22 +0000 (00:14 +0000)]
[viewport] Remove units-based API
The units-based API is redundant and confusing; instead of returning
a ClutterVertex we can simply return pixels with a fractionary part.
Emmanuele Bassi [Mon, 9 Feb 2009 00:13:09 +0000 (00:13 +0000)]
[docs] Remove newline in the version
The newline at the end of the version.xml.in file added a newline
to the version entity we use in the API reference text and title.
Emmanuele Bassi [Mon, 9 Feb 2009 00:12:19 +0000 (00:12 +0000)]
[docs] Rename SGML to XML
The main documentation file is DocBook XML, not SGML.
Emmanuele Bassi [Sun, 8 Feb 2009 23:57:05 +0000 (23:57 +0000)]
Make the Stage redraw cycle part of GTK+
Right now, the Stage is redrawn every time it requires, in parallel
to the GTK+ paint cycle. This generates a certain degree of collision,
as the embedding widget might request a redraw while a Stage redraw
is in progress, thus leading to a skipped frame.
The embedding toolkit should "drive" the Clutter paint cycle, instead.
The ClutterStage::queue-redraw signal was added exactly for this use
case. The GtkClutterEmbed widget should intercept every queued redraw
of the embedded stage, stop it and queue a redraw on the widget itself,
thus making it play along with the rest of the GTK+ paint cycle
machinery. The stage is only painted after the widget receives an
expose event, ensuring that the Clutter scenegraph is repainted only
when needed.
Emmanuele Bassi [Fri, 30 Jan 2009 14:59:39 +0000 (14:59 +0000)]
Load the image asynchronously
The ClutterTexture:load-async property allows ClutterTexture to
spawn off a worker thread to load an image from disk -- provided
that we initialize the threading support in GLib, GTK+ and Clutter
first.
Emmanuele Bassi [Fri, 30 Jan 2009 14:58:18 +0000 (14:58 +0000)]
Move to ClutterClone
ClutterClone has been introduced in Clutter as a generic actor
capable of cloning other actors. ClutterCloneTexture has thus
been removed from the API.
Emmanuele Bassi [Fri, 30 Jan 2009 14:57:23 +0000 (14:57 +0000)]
Rename cogl_translatex() to cogl_translate()
The cogl_translatex() call was removed from the COGL API with
the switch to floats entry points.
Emmanuele Bassi [Mon, 12 Jan 2009 11:22:15 +0000 (11:22 +0000)]
Ensure that the viewport is updated when resizing
When we resize the embedded stage we need to make sure that the
GL viewport is updated as well.
Emmanuele Bassi [Thu, 8 Jan 2009 16:49:13 +0000 (16:49 +0000)]
Use ClutterText in the events example
Instead of using ClutterEntry, which has been deprecated in
Clutter's master branch, use the newly available ClutterText
actor.
Emmanuele Bassi [Tue, 18 Nov 2008 14:06:33 +0000 (14:06 +0000)]
2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_focus_in),
(gtk_clutter_embed_focus_out),
(gtk_clutter_embed_class_init): Emit the ::activate and
::deactivate signals on the stage when we get a ::focus-in-event
and a ::focus-out-event on the ClutterEmbed widget, respectively.
Thanks to Jerry Yu.
Emmanuele Bassi [Thu, 13 Nov 2008 12:12:07 +0000 (12:12 +0000)]
2008-11-13 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter-gtk/gtk-clutter-viewport.c:
(viewport_set_hadjustment_values),
(viewport_set_vadjustment_values): Pass the width and height
instead of getting it from the actor.
(connect_adjustment),
(gtk_clutter_viewport_allocate): Update.
(gtk_clutter_viewport_get_preferred_width),
(gtk_clutter_viewport_get_preferred_height): The Viewport
does not have a minimum size, by definition of scrollable
actor.
* examples/gtk-clutter-viewport.c: Fix the arguments count
check.
Emmanuele Bassi [Fri, 31 Oct 2008 17:27:05 +0000 (17:27 +0000)]
2008-10-31 Emmanuele Bassi <ebassi@linux.intel.com>
* Makefile.am:
* clutter-gtk.pc.in: Remove last bits of 0.8 usage.
Emmanuele Bassi [Thu, 30 Oct 2008 17:33:37 +0000 (17:33 +0000)]
2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_motion_notify_event): Copy the motion
event modifier state like we do for the rest of the events.
Emmanuele Bassi [Mon, 20 Oct 2008 15:29:40 +0000 (15:29 +0000)]
2008-10-20 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter-gtk/Makefile.am:
* examples/Makefile.am: Update the build.
* clutter-gtk/clutter-gtk.h: Added a single include header, and
disabled the inclusion of specific headers; this keeps the
library clean and future-proof, now that we have more than one
header file.
* clutter-gtk/gtk-clutter-embed.h:
* clutter-gtk/gtk-clutter-util.h: Disabled the direct inclusion
of a single header file.
* clutter-gtk/gtk-clutter-scrollable.c:
* clutter-gtk/gtk-clutter-scrollable.h: Added a GtkClutterScrollable
interface for scrollable actors using GtkAdjustments.
* clutter-gtk/gtk-clutter-viewport.c:
* clutter-gtk/gtk-clutter-viewport.h: Added a scrollable actor
implementing GtkClutterScrollable.
* doc/reference/Makefile.am:
* doc/reference/clutter-gtk-docs.sgml:
* doc/reference/clutter-gtk-sections.txt:
* doc/reference/clutter-gtk.types: Update the documentation.
* examples/gtk-clutter-events.c:
* examples/gtk-clutter-multistage.c:
* examples/gtk-clutter-test.c: Update to include clutter-gtk.h.
* examples/gtk-clutter-viewport.c: Added an example of
the GtkClutterViewport usage.
Emmanuele Bassi [Wed, 15 Oct 2008 14:58:01 +0000 (14:58 +0000)]
2008-10-15 Emmanuele Bassi <ebassi@linux.intel.com>
* configure.ac: Bump up to 0.9 now that we've branched.
Robert Bragg [Thu, 2 Oct 2008 15:20:35 +0000 (15:20 +0000)]
2008-10-2 Robert Bragg <robert@linux.intel.com>
* clutter-gst/doc/reference/Makefile.am:
* clutter-gtk/doc/reference/Makefile.am:
reverts previous change: It's Poky that needs changing.
Robert Bragg [Thu, 2 Oct 2008 15:01:03 +0000 (15:01 +0000)]
2008-10-2 Robert Bragg <robert@linux.intel.com>
* clutter-gst/doc/reference/Makefile.am:
* clutter-gtk/doc/reference/Makefile.am:
Dont use += to set EXTRA_DIST since there isn't a preceding = which
automake gets upset about. This means we can remove the patches
fixing this in Poky.
Emmanuele Bassi [Thu, 25 Sep 2008 13:28:20 +0000 (13:28 +0000)]
Forgot the sections file for gtk-doc
Emmanuele Bassi [Thu, 25 Sep 2008 13:27:32 +0000 (13:27 +0000)]
2008-09-25 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter-gtk/gtk-clutter-util.[ch]: Add API for retrieving
the various color components out of a GtkWidget style in form
of a ClutterColor.
* doc/reference/clutter-gtk-sections.txt: Include the newly
added API in the generated reference.
Emmanuele Bassi [Mon, 15 Sep 2008 11:37:12 +0000 (11:37 +0000)]
2008-09-15 Emmanuele Bassi <emmanuele.bassi@intel.com>
Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_scroll_event),
(gtk_clutter_embed_class_init): Add relaying of the scroll
events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
Emmanuele Bassi [Tue, 5 Aug 2008 18:45:35 +0000 (18:45 +0000)]
2008-08-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_size_allocate): Queue a relayout on the stage
when we have an allocation from the GtkWidget.
Neil Roberts [Fri, 1 Aug 2008 15:53:14 +0000 (15:53 +0000)]
* clutter-gtk/gtk-clutter-util.c
(gtk_clutter_texture_set_from_pixbuf)
(gtk_clutter_texture_new_from_pixbuf): The bpp values were the
wrong way around so these two functions always failed.
Emmanuele Bassi [Thu, 31 Jul 2008 11:32:10 +0000 (11:32 +0000)]
2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-gtk/gtk-clutter-util.c:
(gtk_clutter_texture_new_from_pixbuf),
(gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
an alpha before setting the BPP.
Emmanuele Bassi [Fri, 18 Jul 2008 14:36:55 +0000 (14:36 +0000)]
======== Clutter-GTK 0.8.1 ====================================================
2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
* NEWS: Release 0.8.1
Neil Roberts [Fri, 18 Jul 2008 12:35:02 +0000 (12:35 +0000)]
* clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
name of mask for motion events.
Emmanuele Bassi [Wed, 16 Jul 2008 10:59:55 +0000 (10:59 +0000)]
2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
Quinteiro)
Emmanuele Bassi [Tue, 15 Jul 2008 12:20:51 +0000 (12:20 +0000)]
2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
* configure.ac: Post-release bump to 0.8.1.
Emmanuele Bassi [Fri, 4 Jul 2008 10:49:14 +0000 (10:49 +0000)]
2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-gtk.pc.in: Fix the inclusion directory
* clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
to handle focus. Also remove the ClutterContainer implementation.
* clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
gtk_clutter_texture_set_from_icon_name() helper function.
* configure.ac: Whitespace
* examples/gtk-clutter-test.c: Update.
Tomas Frydrych [Mon, 19 May 2008 12:31:18 +0000 (12:31 +0000)]
2008-05-19 Tomas Frydrych <tf@openedhand.com>
* clutter-gtk/gtk-clutter-embed.c:
Fixed inclusion of clutter-x11.h following change in structure of
clutter includes.
Emmanuele Bassi [Thu, 15 May 2008 10:05:35 +0000 (10:05 +0000)]
2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_init): Realize the stage before retrieving
the visual from it.
Matthew Allum [Wed, 7 May 2008 20:56:32 +0000 (20:56 +0000)]
2008-05-07 Matthew Allum <mallum@openedhand.com>
* clutter-gtk/gtk-clutter-embed.c:
Add motion event handling - fixes #907
Emmanuele Bassi [Thu, 24 Apr 2008 14:59:41 +0000 (14:59 +0000)]
2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
* examples/gtk-clutter-test.c (main): Use the utility function
for creating a ClutterTexture using a GdkPixbuf.
Emmanuele Bassi [Mon, 21 Apr 2008 15:11:47 +0000 (15:11 +0000)]
2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
Bug #876 - GtkClutterEmbed doesn't propagate events back down
to the GtkWindow
* clutter-gtk/gtk-clutter-embed.c:
(gtk_clutter_embed_button_event),
(gtk_clutter_embed_key_event): Just return FALSE in the
event handlers.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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.
Emmanuele Bassi [Mon, 18 Feb 2008 15:54:29 +0000 (15:54 +0000)]
Release 0.6.0
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.
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
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.
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.
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.
Emmanuele Bassi [Thu, 17 Jan 2008 10:48:18 +0000 (10:48 +0000)]
Release 0.5.0
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.
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
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.