1 2008-09-25 Emmanuele Bassi <ebassi@linux.intel.com>
3 * clutter-gtk/gtk-clutter-util.[ch]: Add API for retrieving
4 the various color components out of a GtkWidget style in form
7 * doc/reference/clutter-gtk-sections.txt: Include the newly
8 added API in the generated reference.
10 2008-09-15 Emmanuele Bassi <emmanuele.bassi@intel.com>
12 Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
14 * clutter-gtk/gtk-clutter-embed.c:
15 (gtk_clutter_embed_scroll_event),
16 (gtk_clutter_embed_class_init): Add relaying of the scroll
17 events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
19 2008-08-05 Emmanuele Bassi <ebassi@openedhand.com>
21 * clutter-gtk/gtk-clutter-embed.c:
22 (gtk_clutter_embed_size_allocate): Queue a relayout on the stage
23 when we have an allocation from the GtkWidget.
25 2008-08-01 Neil Roberts <neil@o-hand.com>
27 * clutter-gtk/gtk-clutter-util.c
28 (gtk_clutter_texture_set_from_pixbuf)
29 (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
30 wrong way around so these two functions always failed.
32 2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
34 * clutter-gtk/gtk-clutter-util.c:
35 (gtk_clutter_texture_new_from_pixbuf),
36 (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
37 an alpha before setting the BPP.
39 ======== Clutter-GTK 0.8.1 ====================================================
41 2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
45 2008-07-18 Neil Roberts <neil@o-hand.com>
47 * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
48 name of mask for motion events.
50 2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
52 * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
55 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
57 * configure.ac: Post-release bump to 0.8.1.
59 ======== Clutter-GTK 0.8.0 ====================================================
61 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
67 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
69 * clutter-gtk.pc.in: Fix the inclusion directory
71 * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
72 to handle focus. Also remove the ClutterContainer implementation.
74 * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
75 gtk_clutter_texture_set_from_icon_name() helper function.
77 * configure.ac: Whitespace
79 * examples/gtk-clutter-test.c: Update.
81 2008-05-19 Tomas Frydrych <tf@openedhand.com>
83 * clutter-gtk/gtk-clutter-embed.c:
84 Fixed inclusion of clutter-x11.h following change in structure of
87 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
89 * clutter-gtk/gtk-clutter-embed.c:
90 (gtk_clutter_embed_init): Realize the stage before retrieving
93 2008-05-07 Matthew Allum <mallum@openedhand.com>
95 * clutter-gtk/gtk-clutter-embed.c:
96 Add motion event handling - fixes #907
98 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
100 * examples/gtk-clutter-test.c (main): Use the utility function
101 for creating a ClutterTexture using a GdkPixbuf.
103 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
105 Bug #876 - GtkClutterEmbed doesn't propagate events back down
108 * clutter-gtk/gtk-clutter-embed.c:
109 (gtk_clutter_embed_button_event),
110 (gtk_clutter_embed_key_event): Just return FALSE in the
113 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
115 * clutter-gtk/gtk-clutter-util.h:
116 * clutter-gtk/gtk-clutter-util.c:
117 (gtk_clutter_texture_new_from_pixbuf),
118 (gtk_clutter_texture_new_from_stock),
119 (gtk_clutter_texture_new_from_icon_name): Add utility functions
120 to create a ClutterTexture from a Pixbuf (to replace the
121 clutter_texture_from_pixbuf() call when it will be removed
122 from Clutter core); from a stock id; and from an icon name.
124 * examples/Makefile.am: Clean up.
126 * examples/gtk-clutter-events.c:
127 * examples/gtk-clutter-multistage.c: Use the new utility API.
129 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
131 * README: Update requirements
133 * clutter-gtk/gtk-clutter-embed.c:
134 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
136 (gtk_clutter_embed_realize),
137 (gtk_clutter_embed_init),
138 (gtk_clutter_init): Slight cleanup.
140 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
142 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
143 ClutterGtk to be able to retrieve the ClutterColor equivalent
144 of the various style color components of a GtkWidget.
146 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
148 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
151 * examples/gtk-clutter-events.c (create_colors): Test the newly
152 added color retrieval API.
154 2008-04-15 Neil Roberts <neil@o-hand.com>
156 * configure.ac: Added a --with-flavour option to select between
157 x11 and win32 versions. Defaults to x11.
159 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
160 and replace with Win32 equivalents.
161 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
162 the stage pointer when generating fake Clutter events otherwise
163 they just get ignored.
164 (gtk_clutter_embed_realize): Always request button and key events
165 in the window event mask. They aren't included by default on
168 * README (Requirements): Added a note about the minimum Clutter
169 version for the Win32 backend.
171 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
173 * clutter-gtk/gtk-clutter-embed.c:
174 (clutter_container_iface_init): Make GtkClutterEmbed implement
175 ClutterContainer, and proxy all virtual functions to the
178 * examples/gtk-clutter-test.c: (main): Add the group straight
179 to the GtkClutterEmbed widget to test the Container interface
182 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
184 * clutter-gtk/gtk-clutter-embed.c:
185 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
186 multiple calls to gtk_init() are safe.
188 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
191 * examples/gtk-clutter-events.c:
192 * examples/gtk-clutter-multistage.c:
193 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
194 out in case of failure.
196 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
198 * clutter-gtk/gtk-clutter-embed.c:
199 (gtk_clutter_embed_init): Update after upstream API change.
201 2008-04-01 Matthew Allum <mallum@openedhand.com>
203 * examples/Makefile.am:
204 * examples/gtk-clutter-multistage.c:
205 Add a *very* simple multiple stage example.
207 2008-04-01 Neil Roberts <neil@o-hand.com>
209 * examples/gtk-clutter-test.c (main): Moved the
210 clutter_actor_show_all call to after the parent widget is
211 shown. Otherwise all of the actors get unrealized when
212 clutter_x11_set_stage_foreign is called and nothing is displayed.
214 2008-04-01 Matthew Allum <mallum@openedhand.com>
216 * clutter-gtk/gtk-clutter-embed.c:
217 Update for latest trunk multistage.
218 Should now support multple widgets.
220 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
223 * clutter-gtk/Makefile.am:
224 * examples/Makefile.am: Post-release bump build fixes
226 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
228 2008-02-29 Matthew Allum <mallum@openedhand.com>
232 Bump up to unstable 0.7 version and clutter req.
234 * clutter-gtk/gtk-clutter-embed.c:
235 * clutter-gtk/gtk-clutter-embed.h:
236 Add clutter_gtk_init(), as to use new API to share DISPLAY and
237 turn off Clutter 'automatic' event collection.
239 expose - Queue a Clutter redraw.
240 map - set Actor mapped flag.
241 show/hide - Forward to stage also.
244 * examples/gtk-clutter-events.c:
245 Add some minor comments re when to call show_all().
247 * examples/gtk-clutter-test.c:
248 Fix event->actor mapping.
250 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
252 * clutter-gtk/gtk-clutter-embed.c:
253 (gtk_clutter_embed_send_configure): Emit a Configure event
254 with the coordinates for the widget area.
256 (gtk_clutter_embed_realize),
257 (gtk_clutter_embed_size_allocate): Send the configure event.
259 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
262 * NEWS: Release 0.6.0
264 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
266 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
267 never call clutter_actor_set_size() on the embedded stage, but
268 call gtk_widget_set_size_request() on the widget itself to
271 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
274 * NEWS: Release 0.5.2
276 * configure.ac: Post release bump to 0.5.3
278 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
280 * doc/reference/clutter-gtk-docs.sgml:
281 * doc/reference/clutter-gtk.types: Update with the widget name
284 * examples/gtk-clutter-test.c: Set a default size on the
285 widget to avoid the 0, 0 initial size.
287 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
289 * configure.ac: Fix srcdir detection.
291 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
293 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
296 * clutter-gtk.pc.in: Require clutter-x11-0.5.
298 * clutter-gtk/Makefile.am:
299 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
300 widget; this widget reverts back to the old, pre-XEMBED implementation
301 of an embeddable stage, by letting Clutter draw directly onto a
302 child GdkWindow, thanks to the fixes that went into Clutter
303 core. (#716, #717, #718, based on a patch by Havoc Pennington)
305 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
308 * examples/gtk-clutter-events.c:
309 * examples/gtk-clutter-test.c: Update the tests for the new API.
311 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
314 * README: Release 0.5.0
316 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
318 Update after the API changes in Clutter core
320 * clutter-gtk/clutter-gtk.c:
321 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
324 (gtk_clutter_map): Use the new X11 API for retrieving the
325 XID of the stage window.
327 (gtk_clutter_init): Set the widget as paintable and the stage
330 * examples/gtk-clutter-events.c:
331 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
332 clutter_actor_set_rotation() API.
334 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
336 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
338 * doc/reference/clutter-gtk-sections.txt:
339 * doc/reference/clutter-gtk-docs.sgml:
340 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
342 * examples/Makefile.am: Fix compilation of the examples
344 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
349 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
350 clutter-gtk-0.5 as well.
352 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
354 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
358 * clutter-gtk/Makefile.am: Update.
360 2007-08-03 Chris Lord,,, <chris@openedhand.com>
362 * doc/reference/Makefile.am:
363 Fix documentation building
365 2007-07-18 Neil J. Patel <njp@o-hand.com>
367 * examples/Makefile.am:
368 Point to new clutter-gtk library name.
370 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
372 * examples/gtk-clutter-events.c: Remove wrong casting around
373 the g_signal_connect() argument; this masked a weird memory
374 corruption bug happening when compiling outside the sources
377 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
379 * clutter-gtk/Makefile.am:
380 * clutter-gtk.pc.in: Install (and use) a versioned library, to
381 match the behaviour of clutter-core and the other integration
384 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
386 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
388 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
390 2007-07-06 Matthew Allum <mallum@openedhand.com>
395 Bump up version to 0.3.1
397 2007-07-06 Matthew Allum <mallum@openedhand.com>
400 Fix to require 0.3 clutter.
402 2007-06-11 Neil Jagdish Patel <njp@f7>
404 * examples/gtk-clutter-events.c: (create_colors):
405 Removed stray g_print
407 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
409 * examples/Makefile.am:
410 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
411 (on_x_changed), (on_y_changed), (on_z_changed),
412 (on_opacity_changed), (create_colors), (main):
413 Added another example whihc shows some interaction between gtk and
416 * examples/gtk-clutter-test.c: (main):
417 Updated to work with clutter-0.3
420 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
422 * configure.ac: Branch for development; bump to 0.3.0, to
423 match Clutter core version; require clutter-glx backend.
425 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
426 functions; add an "embedded" read-only property, which signals
427 whether the widget has successfully embedded the stage window;
428 use the new clutter_glx_get_stage_window() function.
430 * examples/gtk-clutter-test.c: Port to the new event API.
432 2007-03-23 Ross Burton <ross@openedhand.com>
435 Don't require any particular GTK+ version.
437 2007-03-23 Ross Burton <ross@openedhand.com>
439 * examples/Makefile.am:
442 ================= 2007-03-22 0.1 Release ========================
444 2007-03-22 Matthew Allum <mallum@openedhand.com>
447 Update for 0.1 Realease
449 2007-03-22 Matthew Allum <mallum@openedhand.com>
452 Update for 0.1 release
453 * doc/reference/clutter-gtk.types:
456 2007-03-22 Matthew Allum <mallum@openedhand.com>
458 * clutter-gtk/Makefile.am:
459 * clutter-gtk/clutter-gtk.c:
460 * clutter-gtk/gtk-clutter.c:
461 * clutter-gtk/gtk-clutter.h:
463 * examples/gtk-clutter-test.c:
464 Various naming fixups.
466 2007-03-21 Matthew Allum <mallum@openedhand.com>
469 * clutter-gtk/Makefile.am:
472 2007-03-21 Matthew Allum <mallum@openedhand.com>
474 * doc/reference/Makefile.am:
475 Fix lib path so docs build again.
477 2007-03-21 Matthew Allum <mallum@openedhand.com>
479 * clutter-gtk/gtk-clutter.c:
480 * clutter-gtk/gtk-clutter.h:
481 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
482 Needs at least clutter 0.2.2. Avoids previous issues with
483 white textures when painting onto a GtkWindow.
484 (Thanks to Iain for doing all the hardwork here)
486 * examples/gtk-clutter-test.c: (main):
491 Fixups to require clutter-0.2.2
493 2006-11-30 Matthew Allum <mallum@openedhand.com>
496 Update doap file a little.
498 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
500 * clutter-gtk/gtk-clutter.c:
501 (gtk_clutter_expose_event): Queue a redraw of the
502 stage instead of directly swapping the GL buffers.
504 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
506 * clutter-gtk/gtk-clutter.c:
507 (gtk_clutter_expose_event): Use the newly added
508 clutter_stage_swap_buffers() and fix the missing redraw
511 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
513 * examples/gtk-clutter-test.c: Add a "quit" button.
515 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
517 * clutter-gtk/gtk-clutter.c:
518 (gtk_clutter_destroy): Destroy the ClutterStage instead
521 (gtk_clutter_size_allocate): Queue a redraw if the stage
522 is marked as visible.
524 (gtk_clutter_realize): Remove the forced realize: the
525 stage is already realized by default.
527 * examples/gtk-clutter-test.c: Use gtk_main_quit().
529 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
531 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
533 * clutter-gtk/gtk-clutter.c:
534 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
535 the stage unref to the GtkObject::destroy method.
537 (gtk_clutter_size_allocate): Oblige to the size allocation
538 request from the container of the GtkClutter widget by
539 resizing the ClutterStage.
541 (gtk_clutter_size_request): Require the size of the stage.
543 (gtk_clutter_destroy), (gtk_clutter_size_request),
544 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
545 macro, which does a type check and a function call; use the
546 priv pointer we conveniently keep around.
548 * examples/gtk-clutter-test.c: Use the given constructor;
549 now window resizing works. The stage doesn't get refreshed
550 immediately (resize the window), though, and there's still
551 the X error when we close the window.
553 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
555 * *: Initial import out of the main tree.