1 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
3 * clutter-gtk/gtk-clutter-embed.c:
4 (gtk_clutter_embed_init): Realize the stage before retrieving
7 2008-05-07 Matthew Allum <mallum@openedhand.com>
9 * clutter-gtk/gtk-clutter-embed.c:
10 Add motion event handling - fixes #907
12 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
14 * examples/gtk-clutter-test.c (main): Use the utility function
15 for creating a ClutterTexture using a GdkPixbuf.
17 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
19 Bug #876 - GtkClutterEmbed doesn't propagate events back down
22 * clutter-gtk/gtk-clutter-embed.c:
23 (gtk_clutter_embed_button_event),
24 (gtk_clutter_embed_key_event): Just return FALSE in the
27 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
29 * clutter-gtk/gtk-clutter-util.h:
30 * clutter-gtk/gtk-clutter-util.c:
31 (gtk_clutter_texture_new_from_pixbuf),
32 (gtk_clutter_texture_new_from_stock),
33 (gtk_clutter_texture_new_from_icon_name): Add utility functions
34 to create a ClutterTexture from a Pixbuf (to replace the
35 clutter_texture_from_pixbuf() call when it will be removed
36 from Clutter core); from a stock id; and from an icon name.
38 * examples/Makefile.am: Clean up.
40 * examples/gtk-clutter-events.c:
41 * examples/gtk-clutter-multistage.c: Use the new utility API.
43 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
45 * README: Update requirements
47 * clutter-gtk/gtk-clutter-embed.c:
48 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
50 (gtk_clutter_embed_realize),
51 (gtk_clutter_embed_init),
52 (gtk_clutter_init): Slight cleanup.
54 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
56 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
57 ClutterGtk to be able to retrieve the ClutterColor equivalent
58 of the various style color components of a GtkWidget.
60 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
62 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
65 * examples/gtk-clutter-events.c (create_colors): Test the newly
66 added color retrieval API.
68 2008-04-15 Neil Roberts <neil@o-hand.com>
70 * configure.ac: Added a --with-flavour option to select between
71 x11 and win32 versions. Defaults to x11.
73 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
74 and replace with Win32 equivalents.
75 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
76 the stage pointer when generating fake Clutter events otherwise
77 they just get ignored.
78 (gtk_clutter_embed_realize): Always request button and key events
79 in the window event mask. They aren't included by default on
82 * README (Requirements): Added a note about the minimum Clutter
83 version for the Win32 backend.
85 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
87 * clutter-gtk/gtk-clutter-embed.c:
88 (clutter_container_iface_init): Make GtkClutterEmbed implement
89 ClutterContainer, and proxy all virtual functions to the
92 * examples/gtk-clutter-test.c: (main): Add the group straight
93 to the GtkClutterEmbed widget to test the Container interface
96 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
98 * clutter-gtk/gtk-clutter-embed.c:
99 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
100 multiple calls to gtk_init() are safe.
102 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
105 * examples/gtk-clutter-events.c:
106 * examples/gtk-clutter-multistage.c:
107 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
108 out in case of failure.
110 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
112 * clutter-gtk/gtk-clutter-embed.c:
113 (gtk_clutter_embed_init): Update after upstream API change.
115 2008-04-01 Matthew Allum <mallum@openedhand.com>
117 * examples/Makefile.am:
118 * examples/gtk-clutter-multistage.c:
119 Add a *very* simple multiple stage example.
121 2008-04-01 Neil Roberts <neil@o-hand.com>
123 * examples/gtk-clutter-test.c (main): Moved the
124 clutter_actor_show_all call to after the parent widget is
125 shown. Otherwise all of the actors get unrealized when
126 clutter_x11_set_stage_foreign is called and nothing is displayed.
128 2008-04-01 Matthew Allum <mallum@openedhand.com>
130 * clutter-gtk/gtk-clutter-embed.c:
131 Update for latest trunk multistage.
132 Should now support multple widgets.
134 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
137 * clutter-gtk/Makefile.am:
138 * examples/Makefile.am: Post-release bump build fixes
140 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
142 2008-02-29 Matthew Allum <mallum@openedhand.com>
146 Bump up to unstable 0.7 version and clutter req.
148 * clutter-gtk/gtk-clutter-embed.c:
149 * clutter-gtk/gtk-clutter-embed.h:
150 Add clutter_gtk_init(), as to use new API to share DISPLAY and
151 turn off Clutter 'automatic' event collection.
153 expose - Queue a Clutter redraw.
154 map - set Actor mapped flag.
155 show/hide - Forward to stage also.
158 * examples/gtk-clutter-events.c:
159 Add some minor comments re when to call show_all().
161 * examples/gtk-clutter-test.c:
162 Fix event->actor mapping.
164 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
166 * clutter-gtk/gtk-clutter-embed.c:
167 (gtk_clutter_embed_send_configure): Emit a Configure event
168 with the coordinates for the widget area.
170 (gtk_clutter_embed_realize),
171 (gtk_clutter_embed_size_allocate): Send the configure event.
173 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
176 * NEWS: Release 0.6.0
178 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
180 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
181 never call clutter_actor_set_size() on the embedded stage, but
182 call gtk_widget_set_size_request() on the widget itself to
185 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
188 * NEWS: Release 0.5.2
190 * configure.ac: Post release bump to 0.5.3
192 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
194 * doc/reference/clutter-gtk-docs.sgml:
195 * doc/reference/clutter-gtk.types: Update with the widget name
198 * examples/gtk-clutter-test.c: Set a default size on the
199 widget to avoid the 0, 0 initial size.
201 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
203 * configure.ac: Fix srcdir detection.
205 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
207 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
210 * clutter-gtk.pc.in: Require clutter-x11-0.5.
212 * clutter-gtk/Makefile.am:
213 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
214 widget; this widget reverts back to the old, pre-XEMBED implementation
215 of an embeddable stage, by letting Clutter draw directly onto a
216 child GdkWindow, thanks to the fixes that went into Clutter
217 core. (#716, #717, #718, based on a patch by Havoc Pennington)
219 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
222 * examples/gtk-clutter-events.c:
223 * examples/gtk-clutter-test.c: Update the tests for the new API.
225 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
228 * README: Release 0.5.0
230 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
232 Update after the API changes in Clutter core
234 * clutter-gtk/clutter-gtk.c:
235 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
238 (gtk_clutter_map): Use the new X11 API for retrieving the
239 XID of the stage window.
241 (gtk_clutter_init): Set the widget as paintable and the stage
244 * examples/gtk-clutter-events.c:
245 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
246 clutter_actor_set_rotation() API.
248 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
250 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
252 * doc/reference/clutter-gtk-sections.txt:
253 * doc/reference/clutter-gtk-docs.sgml:
254 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
256 * examples/Makefile.am: Fix compilation of the examples
258 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
263 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
264 clutter-gtk-0.5 as well.
266 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
268 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
272 * clutter-gtk/Makefile.am: Update.
274 2007-08-03 Chris Lord,,, <chris@openedhand.com>
276 * doc/reference/Makefile.am:
277 Fix documentation building
279 2007-07-18 Neil J. Patel <njp@o-hand.com>
281 * examples/Makefile.am:
282 Point to new clutter-gtk library name.
284 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
286 * examples/gtk-clutter-events.c: Remove wrong casting around
287 the g_signal_connect() argument; this masked a weird memory
288 corruption bug happening when compiling outside the sources
291 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
293 * clutter-gtk/Makefile.am:
294 * clutter-gtk.pc.in: Install (and use) a versioned library, to
295 match the behaviour of clutter-core and the other integration
298 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
300 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
302 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
304 2007-07-06 Matthew Allum <mallum@openedhand.com>
309 Bump up version to 0.3.1
311 2007-07-06 Matthew Allum <mallum@openedhand.com>
314 Fix to require 0.3 clutter.
316 2007-06-11 Neil Jagdish Patel <njp@f7>
318 * examples/gtk-clutter-events.c: (create_colors):
319 Removed stray g_print
321 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
323 * examples/Makefile.am:
324 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
325 (on_x_changed), (on_y_changed), (on_z_changed),
326 (on_opacity_changed), (create_colors), (main):
327 Added another example whihc shows some interaction between gtk and
330 * examples/gtk-clutter-test.c: (main):
331 Updated to work with clutter-0.3
334 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
336 * configure.ac: Branch for development; bump to 0.3.0, to
337 match Clutter core version; require clutter-glx backend.
339 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
340 functions; add an "embedded" read-only property, which signals
341 whether the widget has successfully embedded the stage window;
342 use the new clutter_glx_get_stage_window() function.
344 * examples/gtk-clutter-test.c: Port to the new event API.
346 2007-03-23 Ross Burton <ross@openedhand.com>
349 Don't require any particular GTK+ version.
351 2007-03-23 Ross Burton <ross@openedhand.com>
353 * examples/Makefile.am:
356 ================= 2007-03-22 0.1 Release ========================
358 2007-03-22 Matthew Allum <mallum@openedhand.com>
361 Update for 0.1 Realease
363 2007-03-22 Matthew Allum <mallum@openedhand.com>
366 Update for 0.1 release
367 * doc/reference/clutter-gtk.types:
370 2007-03-22 Matthew Allum <mallum@openedhand.com>
372 * clutter-gtk/Makefile.am:
373 * clutter-gtk/clutter-gtk.c:
374 * clutter-gtk/gtk-clutter.c:
375 * clutter-gtk/gtk-clutter.h:
377 * examples/gtk-clutter-test.c:
378 Various naming fixups.
380 2007-03-21 Matthew Allum <mallum@openedhand.com>
383 * clutter-gtk/Makefile.am:
386 2007-03-21 Matthew Allum <mallum@openedhand.com>
388 * doc/reference/Makefile.am:
389 Fix lib path so docs build again.
391 2007-03-21 Matthew Allum <mallum@openedhand.com>
393 * clutter-gtk/gtk-clutter.c:
394 * clutter-gtk/gtk-clutter.h:
395 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
396 Needs at least clutter 0.2.2. Avoids previous issues with
397 white textures when painting onto a GtkWindow.
398 (Thanks to Iain for doing all the hardwork here)
400 * examples/gtk-clutter-test.c: (main):
405 Fixups to require clutter-0.2.2
407 2006-11-30 Matthew Allum <mallum@openedhand.com>
410 Update doap file a little.
412 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
414 * clutter-gtk/gtk-clutter.c:
415 (gtk_clutter_expose_event): Queue a redraw of the
416 stage instead of directly swapping the GL buffers.
418 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
420 * clutter-gtk/gtk-clutter.c:
421 (gtk_clutter_expose_event): Use the newly added
422 clutter_stage_swap_buffers() and fix the missing redraw
425 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
427 * examples/gtk-clutter-test.c: Add a "quit" button.
429 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
431 * clutter-gtk/gtk-clutter.c:
432 (gtk_clutter_destroy): Destroy the ClutterStage instead
435 (gtk_clutter_size_allocate): Queue a redraw if the stage
436 is marked as visible.
438 (gtk_clutter_realize): Remove the forced realize: the
439 stage is already realized by default.
441 * examples/gtk-clutter-test.c: Use gtk_main_quit().
443 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
445 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
447 * clutter-gtk/gtk-clutter.c:
448 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
449 the stage unref to the GtkObject::destroy method.
451 (gtk_clutter_size_allocate): Oblige to the size allocation
452 request from the container of the GtkClutter widget by
453 resizing the ClutterStage.
455 (gtk_clutter_size_request): Require the size of the stage.
457 (gtk_clutter_destroy), (gtk_clutter_size_request),
458 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
459 macro, which does a type check and a function call; use the
460 priv pointer we conveniently keep around.
462 * examples/gtk-clutter-test.c: Use the given constructor;
463 now window resizing works. The stage doesn't get refreshed
464 immediately (resize the window), though, and there's still
465 the X error when we close the window.
467 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
469 * *: Initial import out of the main tree.