1 2008-05-19 Tomas Frydrych <tf@openedhand.com>
3 * clutter-gtk/gtk-clutter-embed.c:
4 Fixed inclusion of clutter-x11.h following change in structure of
7 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
9 * clutter-gtk/gtk-clutter-embed.c:
10 (gtk_clutter_embed_init): Realize the stage before retrieving
13 2008-05-07 Matthew Allum <mallum@openedhand.com>
15 * clutter-gtk/gtk-clutter-embed.c:
16 Add motion event handling - fixes #907
18 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
20 * examples/gtk-clutter-test.c (main): Use the utility function
21 for creating a ClutterTexture using a GdkPixbuf.
23 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
25 Bug #876 - GtkClutterEmbed doesn't propagate events back down
28 * clutter-gtk/gtk-clutter-embed.c:
29 (gtk_clutter_embed_button_event),
30 (gtk_clutter_embed_key_event): Just return FALSE in the
33 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
35 * clutter-gtk/gtk-clutter-util.h:
36 * clutter-gtk/gtk-clutter-util.c:
37 (gtk_clutter_texture_new_from_pixbuf),
38 (gtk_clutter_texture_new_from_stock),
39 (gtk_clutter_texture_new_from_icon_name): Add utility functions
40 to create a ClutterTexture from a Pixbuf (to replace the
41 clutter_texture_from_pixbuf() call when it will be removed
42 from Clutter core); from a stock id; and from an icon name.
44 * examples/Makefile.am: Clean up.
46 * examples/gtk-clutter-events.c:
47 * examples/gtk-clutter-multistage.c: Use the new utility API.
49 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
51 * README: Update requirements
53 * clutter-gtk/gtk-clutter-embed.c:
54 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
56 (gtk_clutter_embed_realize),
57 (gtk_clutter_embed_init),
58 (gtk_clutter_init): Slight cleanup.
60 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
62 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
63 ClutterGtk to be able to retrieve the ClutterColor equivalent
64 of the various style color components of a GtkWidget.
66 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
68 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
71 * examples/gtk-clutter-events.c (create_colors): Test the newly
72 added color retrieval API.
74 2008-04-15 Neil Roberts <neil@o-hand.com>
76 * configure.ac: Added a --with-flavour option to select between
77 x11 and win32 versions. Defaults to x11.
79 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
80 and replace with Win32 equivalents.
81 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
82 the stage pointer when generating fake Clutter events otherwise
83 they just get ignored.
84 (gtk_clutter_embed_realize): Always request button and key events
85 in the window event mask. They aren't included by default on
88 * README (Requirements): Added a note about the minimum Clutter
89 version for the Win32 backend.
91 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
93 * clutter-gtk/gtk-clutter-embed.c:
94 (clutter_container_iface_init): Make GtkClutterEmbed implement
95 ClutterContainer, and proxy all virtual functions to the
98 * examples/gtk-clutter-test.c: (main): Add the group straight
99 to the GtkClutterEmbed widget to test the Container interface
102 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
104 * clutter-gtk/gtk-clutter-embed.c:
105 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
106 multiple calls to gtk_init() are safe.
108 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
111 * examples/gtk-clutter-events.c:
112 * examples/gtk-clutter-multistage.c:
113 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
114 out in case of failure.
116 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
118 * clutter-gtk/gtk-clutter-embed.c:
119 (gtk_clutter_embed_init): Update after upstream API change.
121 2008-04-01 Matthew Allum <mallum@openedhand.com>
123 * examples/Makefile.am:
124 * examples/gtk-clutter-multistage.c:
125 Add a *very* simple multiple stage example.
127 2008-04-01 Neil Roberts <neil@o-hand.com>
129 * examples/gtk-clutter-test.c (main): Moved the
130 clutter_actor_show_all call to after the parent widget is
131 shown. Otherwise all of the actors get unrealized when
132 clutter_x11_set_stage_foreign is called and nothing is displayed.
134 2008-04-01 Matthew Allum <mallum@openedhand.com>
136 * clutter-gtk/gtk-clutter-embed.c:
137 Update for latest trunk multistage.
138 Should now support multple widgets.
140 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
143 * clutter-gtk/Makefile.am:
144 * examples/Makefile.am: Post-release bump build fixes
146 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
148 2008-02-29 Matthew Allum <mallum@openedhand.com>
152 Bump up to unstable 0.7 version and clutter req.
154 * clutter-gtk/gtk-clutter-embed.c:
155 * clutter-gtk/gtk-clutter-embed.h:
156 Add clutter_gtk_init(), as to use new API to share DISPLAY and
157 turn off Clutter 'automatic' event collection.
159 expose - Queue a Clutter redraw.
160 map - set Actor mapped flag.
161 show/hide - Forward to stage also.
164 * examples/gtk-clutter-events.c:
165 Add some minor comments re when to call show_all().
167 * examples/gtk-clutter-test.c:
168 Fix event->actor mapping.
170 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
172 * clutter-gtk/gtk-clutter-embed.c:
173 (gtk_clutter_embed_send_configure): Emit a Configure event
174 with the coordinates for the widget area.
176 (gtk_clutter_embed_realize),
177 (gtk_clutter_embed_size_allocate): Send the configure event.
179 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
182 * NEWS: Release 0.6.0
184 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
186 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
187 never call clutter_actor_set_size() on the embedded stage, but
188 call gtk_widget_set_size_request() on the widget itself to
191 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
194 * NEWS: Release 0.5.2
196 * configure.ac: Post release bump to 0.5.3
198 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
200 * doc/reference/clutter-gtk-docs.sgml:
201 * doc/reference/clutter-gtk.types: Update with the widget name
204 * examples/gtk-clutter-test.c: Set a default size on the
205 widget to avoid the 0, 0 initial size.
207 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
209 * configure.ac: Fix srcdir detection.
211 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
213 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
216 * clutter-gtk.pc.in: Require clutter-x11-0.5.
218 * clutter-gtk/Makefile.am:
219 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
220 widget; this widget reverts back to the old, pre-XEMBED implementation
221 of an embeddable stage, by letting Clutter draw directly onto a
222 child GdkWindow, thanks to the fixes that went into Clutter
223 core. (#716, #717, #718, based on a patch by Havoc Pennington)
225 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
228 * examples/gtk-clutter-events.c:
229 * examples/gtk-clutter-test.c: Update the tests for the new API.
231 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
234 * README: Release 0.5.0
236 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
238 Update after the API changes in Clutter core
240 * clutter-gtk/clutter-gtk.c:
241 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
244 (gtk_clutter_map): Use the new X11 API for retrieving the
245 XID of the stage window.
247 (gtk_clutter_init): Set the widget as paintable and the stage
250 * examples/gtk-clutter-events.c:
251 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
252 clutter_actor_set_rotation() API.
254 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
256 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
258 * doc/reference/clutter-gtk-sections.txt:
259 * doc/reference/clutter-gtk-docs.sgml:
260 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
262 * examples/Makefile.am: Fix compilation of the examples
264 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
269 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
270 clutter-gtk-0.5 as well.
272 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
274 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
278 * clutter-gtk/Makefile.am: Update.
280 2007-08-03 Chris Lord,,, <chris@openedhand.com>
282 * doc/reference/Makefile.am:
283 Fix documentation building
285 2007-07-18 Neil J. Patel <njp@o-hand.com>
287 * examples/Makefile.am:
288 Point to new clutter-gtk library name.
290 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
292 * examples/gtk-clutter-events.c: Remove wrong casting around
293 the g_signal_connect() argument; this masked a weird memory
294 corruption bug happening when compiling outside the sources
297 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
299 * clutter-gtk/Makefile.am:
300 * clutter-gtk.pc.in: Install (and use) a versioned library, to
301 match the behaviour of clutter-core and the other integration
304 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
306 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
308 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
310 2007-07-06 Matthew Allum <mallum@openedhand.com>
315 Bump up version to 0.3.1
317 2007-07-06 Matthew Allum <mallum@openedhand.com>
320 Fix to require 0.3 clutter.
322 2007-06-11 Neil Jagdish Patel <njp@f7>
324 * examples/gtk-clutter-events.c: (create_colors):
325 Removed stray g_print
327 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
329 * examples/Makefile.am:
330 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
331 (on_x_changed), (on_y_changed), (on_z_changed),
332 (on_opacity_changed), (create_colors), (main):
333 Added another example whihc shows some interaction between gtk and
336 * examples/gtk-clutter-test.c: (main):
337 Updated to work with clutter-0.3
340 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
342 * configure.ac: Branch for development; bump to 0.3.0, to
343 match Clutter core version; require clutter-glx backend.
345 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
346 functions; add an "embedded" read-only property, which signals
347 whether the widget has successfully embedded the stage window;
348 use the new clutter_glx_get_stage_window() function.
350 * examples/gtk-clutter-test.c: Port to the new event API.
352 2007-03-23 Ross Burton <ross@openedhand.com>
355 Don't require any particular GTK+ version.
357 2007-03-23 Ross Burton <ross@openedhand.com>
359 * examples/Makefile.am:
362 ================= 2007-03-22 0.1 Release ========================
364 2007-03-22 Matthew Allum <mallum@openedhand.com>
367 Update for 0.1 Realease
369 2007-03-22 Matthew Allum <mallum@openedhand.com>
372 Update for 0.1 release
373 * doc/reference/clutter-gtk.types:
376 2007-03-22 Matthew Allum <mallum@openedhand.com>
378 * clutter-gtk/Makefile.am:
379 * clutter-gtk/clutter-gtk.c:
380 * clutter-gtk/gtk-clutter.c:
381 * clutter-gtk/gtk-clutter.h:
383 * examples/gtk-clutter-test.c:
384 Various naming fixups.
386 2007-03-21 Matthew Allum <mallum@openedhand.com>
389 * clutter-gtk/Makefile.am:
392 2007-03-21 Matthew Allum <mallum@openedhand.com>
394 * doc/reference/Makefile.am:
395 Fix lib path so docs build again.
397 2007-03-21 Matthew Allum <mallum@openedhand.com>
399 * clutter-gtk/gtk-clutter.c:
400 * clutter-gtk/gtk-clutter.h:
401 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
402 Needs at least clutter 0.2.2. Avoids previous issues with
403 white textures when painting onto a GtkWindow.
404 (Thanks to Iain for doing all the hardwork here)
406 * examples/gtk-clutter-test.c: (main):
411 Fixups to require clutter-0.2.2
413 2006-11-30 Matthew Allum <mallum@openedhand.com>
416 Update doap file a little.
418 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
420 * clutter-gtk/gtk-clutter.c:
421 (gtk_clutter_expose_event): Queue a redraw of the
422 stage instead of directly swapping the GL buffers.
424 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
426 * clutter-gtk/gtk-clutter.c:
427 (gtk_clutter_expose_event): Use the newly added
428 clutter_stage_swap_buffers() and fix the missing redraw
431 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
433 * examples/gtk-clutter-test.c: Add a "quit" button.
435 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
437 * clutter-gtk/gtk-clutter.c:
438 (gtk_clutter_destroy): Destroy the ClutterStage instead
441 (gtk_clutter_size_allocate): Queue a redraw if the stage
442 is marked as visible.
444 (gtk_clutter_realize): Remove the forced realize: the
445 stage is already realized by default.
447 * examples/gtk-clutter-test.c: Use gtk_main_quit().
449 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
451 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
453 * clutter-gtk/gtk-clutter.c:
454 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
455 the stage unref to the GtkObject::destroy method.
457 (gtk_clutter_size_allocate): Oblige to the size allocation
458 request from the container of the GtkClutter widget by
459 resizing the ClutterStage.
461 (gtk_clutter_size_request): Require the size of the stage.
463 (gtk_clutter_destroy), (gtk_clutter_size_request),
464 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
465 macro, which does a type check and a function call; use the
466 priv pointer we conveniently keep around.
468 * examples/gtk-clutter-test.c: Use the given constructor;
469 now window resizing works. The stage doesn't get refreshed
470 immediately (resize the window), though, and there's still
471 the X error when we close the window.
473 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
475 * *: Initial import out of the main tree.