1 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
3 Bug #876 - GtkClutterEmbed doesn't propagate events back down
6 * clutter-gtk/gtk-clutter-embed.c:
7 (gtk_clutter_embed_button_event),
8 (gtk_clutter_embed_key_event): Just return FALSE in the
11 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
13 * clutter-gtk/gtk-clutter-util.h:
14 * clutter-gtk/gtk-clutter-util.c:
15 (gtk_clutter_texture_new_from_pixbuf),
16 (gtk_clutter_texture_new_from_stock),
17 (gtk_clutter_texture_new_from_icon_name): Add utility functions
18 to create a ClutterTexture from a Pixbuf (to replace the
19 clutter_texture_from_pixbuf() call when it will be removed
20 from Clutter core); from a stock id; and from an icon name.
22 * examples/Makefile.am: Clean up.
24 * examples/gtk-clutter-events.c:
25 * examples/gtk-clutter-multistage.c: Use the new utility API.
27 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
29 * README: Update requirements
31 * clutter-gtk/gtk-clutter-embed.c:
32 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
34 (gtk_clutter_embed_realize),
35 (gtk_clutter_embed_init),
36 (gtk_clutter_init): Slight cleanup.
38 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
40 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
41 ClutterGtk to be able to retrieve the ClutterColor equivalent
42 of the various style color components of a GtkWidget.
44 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
46 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
49 * examples/gtk-clutter-events.c (create_colors): Test the newly
50 added color retrieval API.
52 2008-04-15 Neil Roberts <neil@o-hand.com>
54 * configure.ac: Added a --with-flavour option to select between
55 x11 and win32 versions. Defaults to x11.
57 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
58 and replace with Win32 equivalents.
59 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
60 the stage pointer when generating fake Clutter events otherwise
61 they just get ignored.
62 (gtk_clutter_embed_realize): Always request button and key events
63 in the window event mask. They aren't included by default on
66 * README (Requirements): Added a note about the minimum Clutter
67 version for the Win32 backend.
69 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
71 * clutter-gtk/gtk-clutter-embed.c:
72 (clutter_container_iface_init): Make GtkClutterEmbed implement
73 ClutterContainer, and proxy all virtual functions to the
76 * examples/gtk-clutter-test.c: (main): Add the group straight
77 to the GtkClutterEmbed widget to test the Container interface
80 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
82 * clutter-gtk/gtk-clutter-embed.c:
83 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
84 multiple calls to gtk_init() are safe.
86 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
89 * examples/gtk-clutter-events.c:
90 * examples/gtk-clutter-multistage.c:
91 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
92 out in case of failure.
94 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
96 * clutter-gtk/gtk-clutter-embed.c:
97 (gtk_clutter_embed_init): Update after upstream API change.
99 2008-04-01 Matthew Allum <mallum@openedhand.com>
101 * examples/Makefile.am:
102 * examples/gtk-clutter-multistage.c:
103 Add a *very* simple multiple stage example.
105 2008-04-01 Neil Roberts <neil@o-hand.com>
107 * examples/gtk-clutter-test.c (main): Moved the
108 clutter_actor_show_all call to after the parent widget is
109 shown. Otherwise all of the actors get unrealized when
110 clutter_x11_set_stage_foreign is called and nothing is displayed.
112 2008-04-01 Matthew Allum <mallum@openedhand.com>
114 * clutter-gtk/gtk-clutter-embed.c:
115 Update for latest trunk multistage.
116 Should now support multple widgets.
118 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
121 * clutter-gtk/Makefile.am:
122 * examples/Makefile.am: Post-release bump build fixes
124 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
126 2008-02-29 Matthew Allum <mallum@openedhand.com>
130 Bump up to unstable 0.7 version and clutter req.
132 * clutter-gtk/gtk-clutter-embed.c:
133 * clutter-gtk/gtk-clutter-embed.h:
134 Add clutter_gtk_init(), as to use new API to share DISPLAY and
135 turn off Clutter 'automatic' event collection.
137 expose - Queue a Clutter redraw.
138 map - set Actor mapped flag.
139 show/hide - Forward to stage also.
142 * examples/gtk-clutter-events.c:
143 Add some minor comments re when to call show_all().
145 * examples/gtk-clutter-test.c:
146 Fix event->actor mapping.
148 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
150 * clutter-gtk/gtk-clutter-embed.c:
151 (gtk_clutter_embed_send_configure): Emit a Configure event
152 with the coordinates for the widget area.
154 (gtk_clutter_embed_realize),
155 (gtk_clutter_embed_size_allocate): Send the configure event.
157 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
160 * NEWS: Release 0.6.0
162 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
164 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
165 never call clutter_actor_set_size() on the embedded stage, but
166 call gtk_widget_set_size_request() on the widget itself to
169 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
172 * NEWS: Release 0.5.2
174 * configure.ac: Post release bump to 0.5.3
176 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
178 * doc/reference/clutter-gtk-docs.sgml:
179 * doc/reference/clutter-gtk.types: Update with the widget name
182 * examples/gtk-clutter-test.c: Set a default size on the
183 widget to avoid the 0, 0 initial size.
185 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
187 * configure.ac: Fix srcdir detection.
189 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
191 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
194 * clutter-gtk.pc.in: Require clutter-x11-0.5.
196 * clutter-gtk/Makefile.am:
197 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
198 widget; this widget reverts back to the old, pre-XEMBED implementation
199 of an embeddable stage, by letting Clutter draw directly onto a
200 child GdkWindow, thanks to the fixes that went into Clutter
201 core. (#716, #717, #718, based on a patch by Havoc Pennington)
203 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
206 * examples/gtk-clutter-events.c:
207 * examples/gtk-clutter-test.c: Update the tests for the new API.
209 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
212 * README: Release 0.5.0
214 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
216 Update after the API changes in Clutter core
218 * clutter-gtk/clutter-gtk.c:
219 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
222 (gtk_clutter_map): Use the new X11 API for retrieving the
223 XID of the stage window.
225 (gtk_clutter_init): Set the widget as paintable and the stage
228 * examples/gtk-clutter-events.c:
229 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
230 clutter_actor_set_rotation() API.
232 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
234 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
236 * doc/reference/clutter-gtk-sections.txt:
237 * doc/reference/clutter-gtk-docs.sgml:
238 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
240 * examples/Makefile.am: Fix compilation of the examples
242 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
247 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
248 clutter-gtk-0.5 as well.
250 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
252 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
256 * clutter-gtk/Makefile.am: Update.
258 2007-08-03 Chris Lord,,, <chris@openedhand.com>
260 * doc/reference/Makefile.am:
261 Fix documentation building
263 2007-07-18 Neil J. Patel <njp@o-hand.com>
265 * examples/Makefile.am:
266 Point to new clutter-gtk library name.
268 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
270 * examples/gtk-clutter-events.c: Remove wrong casting around
271 the g_signal_connect() argument; this masked a weird memory
272 corruption bug happening when compiling outside the sources
275 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
277 * clutter-gtk/Makefile.am:
278 * clutter-gtk.pc.in: Install (and use) a versioned library, to
279 match the behaviour of clutter-core and the other integration
282 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
284 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
286 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
288 2007-07-06 Matthew Allum <mallum@openedhand.com>
293 Bump up version to 0.3.1
295 2007-07-06 Matthew Allum <mallum@openedhand.com>
298 Fix to require 0.3 clutter.
300 2007-06-11 Neil Jagdish Patel <njp@f7>
302 * examples/gtk-clutter-events.c: (create_colors):
303 Removed stray g_print
305 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
307 * examples/Makefile.am:
308 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
309 (on_x_changed), (on_y_changed), (on_z_changed),
310 (on_opacity_changed), (create_colors), (main):
311 Added another example whihc shows some interaction between gtk and
314 * examples/gtk-clutter-test.c: (main):
315 Updated to work with clutter-0.3
318 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
320 * configure.ac: Branch for development; bump to 0.3.0, to
321 match Clutter core version; require clutter-glx backend.
323 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
324 functions; add an "embedded" read-only property, which signals
325 whether the widget has successfully embedded the stage window;
326 use the new clutter_glx_get_stage_window() function.
328 * examples/gtk-clutter-test.c: Port to the new event API.
330 2007-03-23 Ross Burton <ross@openedhand.com>
333 Don't require any particular GTK+ version.
335 2007-03-23 Ross Burton <ross@openedhand.com>
337 * examples/Makefile.am:
340 ================= 2007-03-22 0.1 Release ========================
342 2007-03-22 Matthew Allum <mallum@openedhand.com>
345 Update for 0.1 Realease
347 2007-03-22 Matthew Allum <mallum@openedhand.com>
350 Update for 0.1 release
351 * doc/reference/clutter-gtk.types:
354 2007-03-22 Matthew Allum <mallum@openedhand.com>
356 * clutter-gtk/Makefile.am:
357 * clutter-gtk/clutter-gtk.c:
358 * clutter-gtk/gtk-clutter.c:
359 * clutter-gtk/gtk-clutter.h:
361 * examples/gtk-clutter-test.c:
362 Various naming fixups.
364 2007-03-21 Matthew Allum <mallum@openedhand.com>
367 * clutter-gtk/Makefile.am:
370 2007-03-21 Matthew Allum <mallum@openedhand.com>
372 * doc/reference/Makefile.am:
373 Fix lib path so docs build again.
375 2007-03-21 Matthew Allum <mallum@openedhand.com>
377 * clutter-gtk/gtk-clutter.c:
378 * clutter-gtk/gtk-clutter.h:
379 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
380 Needs at least clutter 0.2.2. Avoids previous issues with
381 white textures when painting onto a GtkWindow.
382 (Thanks to Iain for doing all the hardwork here)
384 * examples/gtk-clutter-test.c: (main):
389 Fixups to require clutter-0.2.2
391 2006-11-30 Matthew Allum <mallum@openedhand.com>
394 Update doap file a little.
396 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
398 * clutter-gtk/gtk-clutter.c:
399 (gtk_clutter_expose_event): Queue a redraw of the
400 stage instead of directly swapping the GL buffers.
402 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
404 * clutter-gtk/gtk-clutter.c:
405 (gtk_clutter_expose_event): Use the newly added
406 clutter_stage_swap_buffers() and fix the missing redraw
409 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
411 * examples/gtk-clutter-test.c: Add a "quit" button.
413 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
415 * clutter-gtk/gtk-clutter.c:
416 (gtk_clutter_destroy): Destroy the ClutterStage instead
419 (gtk_clutter_size_allocate): Queue a redraw if the stage
420 is marked as visible.
422 (gtk_clutter_realize): Remove the forced realize: the
423 stage is already realized by default.
425 * examples/gtk-clutter-test.c: Use gtk_main_quit().
427 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
429 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
431 * clutter-gtk/gtk-clutter.c:
432 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
433 the stage unref to the GtkObject::destroy method.
435 (gtk_clutter_size_allocate): Oblige to the size allocation
436 request from the container of the GtkClutter widget by
437 resizing the ClutterStage.
439 (gtk_clutter_size_request): Require the size of the stage.
441 (gtk_clutter_destroy), (gtk_clutter_size_request),
442 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
443 macro, which does a type check and a function call; use the
444 priv pointer we conveniently keep around.
446 * examples/gtk-clutter-test.c: Use the given constructor;
447 now window resizing works. The stage doesn't get refreshed
448 immediately (resize the window), though, and there's still
449 the X error when we close the window.
451 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
453 * *: Initial import out of the main tree.