1 2008-09-15 Emmanuele Bassi <emmanuele.bassi@intel.com>
3 Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
5 * clutter-gtk/gtk-clutter-embed.c:
6 (gtk_clutter_embed_scroll_event),
7 (gtk_clutter_embed_class_init): Add relaying of the scroll
8 events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
10 2008-08-05 Emmanuele Bassi <ebassi@openedhand.com>
12 * clutter-gtk/gtk-clutter-embed.c:
13 (gtk_clutter_embed_size_allocate): Queue a relayout on the stage
14 when we have an allocation from the GtkWidget.
16 2008-08-01 Neil Roberts <neil@o-hand.com>
18 * clutter-gtk/gtk-clutter-util.c
19 (gtk_clutter_texture_set_from_pixbuf)
20 (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
21 wrong way around so these two functions always failed.
23 2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
25 * clutter-gtk/gtk-clutter-util.c:
26 (gtk_clutter_texture_new_from_pixbuf),
27 (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
28 an alpha before setting the BPP.
30 ======== Clutter-GTK 0.8.1 ====================================================
32 2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
36 2008-07-18 Neil Roberts <neil@o-hand.com>
38 * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
39 name of mask for motion events.
41 2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
43 * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
46 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
48 * configure.ac: Post-release bump to 0.8.1.
50 ======== Clutter-GTK 0.8.0 ====================================================
52 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
58 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
60 * clutter-gtk.pc.in: Fix the inclusion directory
62 * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
63 to handle focus. Also remove the ClutterContainer implementation.
65 * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
66 gtk_clutter_texture_set_from_icon_name() helper function.
68 * configure.ac: Whitespace
70 * examples/gtk-clutter-test.c: Update.
72 2008-05-19 Tomas Frydrych <tf@openedhand.com>
74 * clutter-gtk/gtk-clutter-embed.c:
75 Fixed inclusion of clutter-x11.h following change in structure of
78 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
80 * clutter-gtk/gtk-clutter-embed.c:
81 (gtk_clutter_embed_init): Realize the stage before retrieving
84 2008-05-07 Matthew Allum <mallum@openedhand.com>
86 * clutter-gtk/gtk-clutter-embed.c:
87 Add motion event handling - fixes #907
89 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
91 * examples/gtk-clutter-test.c (main): Use the utility function
92 for creating a ClutterTexture using a GdkPixbuf.
94 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
96 Bug #876 - GtkClutterEmbed doesn't propagate events back down
99 * clutter-gtk/gtk-clutter-embed.c:
100 (gtk_clutter_embed_button_event),
101 (gtk_clutter_embed_key_event): Just return FALSE in the
104 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
106 * clutter-gtk/gtk-clutter-util.h:
107 * clutter-gtk/gtk-clutter-util.c:
108 (gtk_clutter_texture_new_from_pixbuf),
109 (gtk_clutter_texture_new_from_stock),
110 (gtk_clutter_texture_new_from_icon_name): Add utility functions
111 to create a ClutterTexture from a Pixbuf (to replace the
112 clutter_texture_from_pixbuf() call when it will be removed
113 from Clutter core); from a stock id; and from an icon name.
115 * examples/Makefile.am: Clean up.
117 * examples/gtk-clutter-events.c:
118 * examples/gtk-clutter-multistage.c: Use the new utility API.
120 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
122 * README: Update requirements
124 * clutter-gtk/gtk-clutter-embed.c:
125 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
127 (gtk_clutter_embed_realize),
128 (gtk_clutter_embed_init),
129 (gtk_clutter_init): Slight cleanup.
131 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
133 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
134 ClutterGtk to be able to retrieve the ClutterColor equivalent
135 of the various style color components of a GtkWidget.
137 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
139 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
142 * examples/gtk-clutter-events.c (create_colors): Test the newly
143 added color retrieval API.
145 2008-04-15 Neil Roberts <neil@o-hand.com>
147 * configure.ac: Added a --with-flavour option to select between
148 x11 and win32 versions. Defaults to x11.
150 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
151 and replace with Win32 equivalents.
152 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
153 the stage pointer when generating fake Clutter events otherwise
154 they just get ignored.
155 (gtk_clutter_embed_realize): Always request button and key events
156 in the window event mask. They aren't included by default on
159 * README (Requirements): Added a note about the minimum Clutter
160 version for the Win32 backend.
162 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
164 * clutter-gtk/gtk-clutter-embed.c:
165 (clutter_container_iface_init): Make GtkClutterEmbed implement
166 ClutterContainer, and proxy all virtual functions to the
169 * examples/gtk-clutter-test.c: (main): Add the group straight
170 to the GtkClutterEmbed widget to test the Container interface
173 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
175 * clutter-gtk/gtk-clutter-embed.c:
176 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
177 multiple calls to gtk_init() are safe.
179 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
182 * examples/gtk-clutter-events.c:
183 * examples/gtk-clutter-multistage.c:
184 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
185 out in case of failure.
187 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
189 * clutter-gtk/gtk-clutter-embed.c:
190 (gtk_clutter_embed_init): Update after upstream API change.
192 2008-04-01 Matthew Allum <mallum@openedhand.com>
194 * examples/Makefile.am:
195 * examples/gtk-clutter-multistage.c:
196 Add a *very* simple multiple stage example.
198 2008-04-01 Neil Roberts <neil@o-hand.com>
200 * examples/gtk-clutter-test.c (main): Moved the
201 clutter_actor_show_all call to after the parent widget is
202 shown. Otherwise all of the actors get unrealized when
203 clutter_x11_set_stage_foreign is called and nothing is displayed.
205 2008-04-01 Matthew Allum <mallum@openedhand.com>
207 * clutter-gtk/gtk-clutter-embed.c:
208 Update for latest trunk multistage.
209 Should now support multple widgets.
211 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
214 * clutter-gtk/Makefile.am:
215 * examples/Makefile.am: Post-release bump build fixes
217 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
219 2008-02-29 Matthew Allum <mallum@openedhand.com>
223 Bump up to unstable 0.7 version and clutter req.
225 * clutter-gtk/gtk-clutter-embed.c:
226 * clutter-gtk/gtk-clutter-embed.h:
227 Add clutter_gtk_init(), as to use new API to share DISPLAY and
228 turn off Clutter 'automatic' event collection.
230 expose - Queue a Clutter redraw.
231 map - set Actor mapped flag.
232 show/hide - Forward to stage also.
235 * examples/gtk-clutter-events.c:
236 Add some minor comments re when to call show_all().
238 * examples/gtk-clutter-test.c:
239 Fix event->actor mapping.
241 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
243 * clutter-gtk/gtk-clutter-embed.c:
244 (gtk_clutter_embed_send_configure): Emit a Configure event
245 with the coordinates for the widget area.
247 (gtk_clutter_embed_realize),
248 (gtk_clutter_embed_size_allocate): Send the configure event.
250 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
253 * NEWS: Release 0.6.0
255 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
257 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
258 never call clutter_actor_set_size() on the embedded stage, but
259 call gtk_widget_set_size_request() on the widget itself to
262 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
265 * NEWS: Release 0.5.2
267 * configure.ac: Post release bump to 0.5.3
269 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
271 * doc/reference/clutter-gtk-docs.sgml:
272 * doc/reference/clutter-gtk.types: Update with the widget name
275 * examples/gtk-clutter-test.c: Set a default size on the
276 widget to avoid the 0, 0 initial size.
278 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
280 * configure.ac: Fix srcdir detection.
282 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
284 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
287 * clutter-gtk.pc.in: Require clutter-x11-0.5.
289 * clutter-gtk/Makefile.am:
290 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
291 widget; this widget reverts back to the old, pre-XEMBED implementation
292 of an embeddable stage, by letting Clutter draw directly onto a
293 child GdkWindow, thanks to the fixes that went into Clutter
294 core. (#716, #717, #718, based on a patch by Havoc Pennington)
296 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
299 * examples/gtk-clutter-events.c:
300 * examples/gtk-clutter-test.c: Update the tests for the new API.
302 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
305 * README: Release 0.5.0
307 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
309 Update after the API changes in Clutter core
311 * clutter-gtk/clutter-gtk.c:
312 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
315 (gtk_clutter_map): Use the new X11 API for retrieving the
316 XID of the stage window.
318 (gtk_clutter_init): Set the widget as paintable and the stage
321 * examples/gtk-clutter-events.c:
322 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
323 clutter_actor_set_rotation() API.
325 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
327 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
329 * doc/reference/clutter-gtk-sections.txt:
330 * doc/reference/clutter-gtk-docs.sgml:
331 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
333 * examples/Makefile.am: Fix compilation of the examples
335 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
340 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
341 clutter-gtk-0.5 as well.
343 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
345 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
349 * clutter-gtk/Makefile.am: Update.
351 2007-08-03 Chris Lord,,, <chris@openedhand.com>
353 * doc/reference/Makefile.am:
354 Fix documentation building
356 2007-07-18 Neil J. Patel <njp@o-hand.com>
358 * examples/Makefile.am:
359 Point to new clutter-gtk library name.
361 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
363 * examples/gtk-clutter-events.c: Remove wrong casting around
364 the g_signal_connect() argument; this masked a weird memory
365 corruption bug happening when compiling outside the sources
368 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
370 * clutter-gtk/Makefile.am:
371 * clutter-gtk.pc.in: Install (and use) a versioned library, to
372 match the behaviour of clutter-core and the other integration
375 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
377 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
379 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
381 2007-07-06 Matthew Allum <mallum@openedhand.com>
386 Bump up version to 0.3.1
388 2007-07-06 Matthew Allum <mallum@openedhand.com>
391 Fix to require 0.3 clutter.
393 2007-06-11 Neil Jagdish Patel <njp@f7>
395 * examples/gtk-clutter-events.c: (create_colors):
396 Removed stray g_print
398 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
400 * examples/Makefile.am:
401 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
402 (on_x_changed), (on_y_changed), (on_z_changed),
403 (on_opacity_changed), (create_colors), (main):
404 Added another example whihc shows some interaction between gtk and
407 * examples/gtk-clutter-test.c: (main):
408 Updated to work with clutter-0.3
411 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
413 * configure.ac: Branch for development; bump to 0.3.0, to
414 match Clutter core version; require clutter-glx backend.
416 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
417 functions; add an "embedded" read-only property, which signals
418 whether the widget has successfully embedded the stage window;
419 use the new clutter_glx_get_stage_window() function.
421 * examples/gtk-clutter-test.c: Port to the new event API.
423 2007-03-23 Ross Burton <ross@openedhand.com>
426 Don't require any particular GTK+ version.
428 2007-03-23 Ross Burton <ross@openedhand.com>
430 * examples/Makefile.am:
433 ================= 2007-03-22 0.1 Release ========================
435 2007-03-22 Matthew Allum <mallum@openedhand.com>
438 Update for 0.1 Realease
440 2007-03-22 Matthew Allum <mallum@openedhand.com>
443 Update for 0.1 release
444 * doc/reference/clutter-gtk.types:
447 2007-03-22 Matthew Allum <mallum@openedhand.com>
449 * clutter-gtk/Makefile.am:
450 * clutter-gtk/clutter-gtk.c:
451 * clutter-gtk/gtk-clutter.c:
452 * clutter-gtk/gtk-clutter.h:
454 * examples/gtk-clutter-test.c:
455 Various naming fixups.
457 2007-03-21 Matthew Allum <mallum@openedhand.com>
460 * clutter-gtk/Makefile.am:
463 2007-03-21 Matthew Allum <mallum@openedhand.com>
465 * doc/reference/Makefile.am:
466 Fix lib path so docs build again.
468 2007-03-21 Matthew Allum <mallum@openedhand.com>
470 * clutter-gtk/gtk-clutter.c:
471 * clutter-gtk/gtk-clutter.h:
472 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
473 Needs at least clutter 0.2.2. Avoids previous issues with
474 white textures when painting onto a GtkWindow.
475 (Thanks to Iain for doing all the hardwork here)
477 * examples/gtk-clutter-test.c: (main):
482 Fixups to require clutter-0.2.2
484 2006-11-30 Matthew Allum <mallum@openedhand.com>
487 Update doap file a little.
489 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
491 * clutter-gtk/gtk-clutter.c:
492 (gtk_clutter_expose_event): Queue a redraw of the
493 stage instead of directly swapping the GL buffers.
495 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
497 * clutter-gtk/gtk-clutter.c:
498 (gtk_clutter_expose_event): Use the newly added
499 clutter_stage_swap_buffers() and fix the missing redraw
502 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
504 * examples/gtk-clutter-test.c: Add a "quit" button.
506 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
508 * clutter-gtk/gtk-clutter.c:
509 (gtk_clutter_destroy): Destroy the ClutterStage instead
512 (gtk_clutter_size_allocate): Queue a redraw if the stage
513 is marked as visible.
515 (gtk_clutter_realize): Remove the forced realize: the
516 stage is already realized by default.
518 * examples/gtk-clutter-test.c: Use gtk_main_quit().
520 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
522 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
524 * clutter-gtk/gtk-clutter.c:
525 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
526 the stage unref to the GtkObject::destroy method.
528 (gtk_clutter_size_allocate): Oblige to the size allocation
529 request from the container of the GtkClutter widget by
530 resizing the ClutterStage.
532 (gtk_clutter_size_request): Require the size of the stage.
534 (gtk_clutter_destroy), (gtk_clutter_size_request),
535 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
536 macro, which does a type check and a function call; use the
537 priv pointer we conveniently keep around.
539 * examples/gtk-clutter-test.c: Use the given constructor;
540 now window resizing works. The stage doesn't get refreshed
541 immediately (resize the window), though, and there's still
542 the X error when we close the window.
544 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
546 * *: Initial import out of the main tree.