1 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
3 * examples/gtk-clutter-test.c (main): Use the utility function
4 for creating a ClutterTexture using a GdkPixbuf.
6 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
8 Bug #876 - GtkClutterEmbed doesn't propagate events back down
11 * clutter-gtk/gtk-clutter-embed.c:
12 (gtk_clutter_embed_button_event),
13 (gtk_clutter_embed_key_event): Just return FALSE in the
16 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
18 * clutter-gtk/gtk-clutter-util.h:
19 * clutter-gtk/gtk-clutter-util.c:
20 (gtk_clutter_texture_new_from_pixbuf),
21 (gtk_clutter_texture_new_from_stock),
22 (gtk_clutter_texture_new_from_icon_name): Add utility functions
23 to create a ClutterTexture from a Pixbuf (to replace the
24 clutter_texture_from_pixbuf() call when it will be removed
25 from Clutter core); from a stock id; and from an icon name.
27 * examples/Makefile.am: Clean up.
29 * examples/gtk-clutter-events.c:
30 * examples/gtk-clutter-multistage.c: Use the new utility API.
32 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
34 * README: Update requirements
36 * clutter-gtk/gtk-clutter-embed.c:
37 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
39 (gtk_clutter_embed_realize),
40 (gtk_clutter_embed_init),
41 (gtk_clutter_init): Slight cleanup.
43 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
45 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
46 ClutterGtk to be able to retrieve the ClutterColor equivalent
47 of the various style color components of a GtkWidget.
49 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
51 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
54 * examples/gtk-clutter-events.c (create_colors): Test the newly
55 added color retrieval API.
57 2008-04-15 Neil Roberts <neil@o-hand.com>
59 * configure.ac: Added a --with-flavour option to select between
60 x11 and win32 versions. Defaults to x11.
62 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
63 and replace with Win32 equivalents.
64 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
65 the stage pointer when generating fake Clutter events otherwise
66 they just get ignored.
67 (gtk_clutter_embed_realize): Always request button and key events
68 in the window event mask. They aren't included by default on
71 * README (Requirements): Added a note about the minimum Clutter
72 version for the Win32 backend.
74 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
76 * clutter-gtk/gtk-clutter-embed.c:
77 (clutter_container_iface_init): Make GtkClutterEmbed implement
78 ClutterContainer, and proxy all virtual functions to the
81 * examples/gtk-clutter-test.c: (main): Add the group straight
82 to the GtkClutterEmbed widget to test the Container interface
85 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
87 * clutter-gtk/gtk-clutter-embed.c:
88 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
89 multiple calls to gtk_init() are safe.
91 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
94 * examples/gtk-clutter-events.c:
95 * examples/gtk-clutter-multistage.c:
96 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
97 out in case of failure.
99 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
101 * clutter-gtk/gtk-clutter-embed.c:
102 (gtk_clutter_embed_init): Update after upstream API change.
104 2008-04-01 Matthew Allum <mallum@openedhand.com>
106 * examples/Makefile.am:
107 * examples/gtk-clutter-multistage.c:
108 Add a *very* simple multiple stage example.
110 2008-04-01 Neil Roberts <neil@o-hand.com>
112 * examples/gtk-clutter-test.c (main): Moved the
113 clutter_actor_show_all call to after the parent widget is
114 shown. Otherwise all of the actors get unrealized when
115 clutter_x11_set_stage_foreign is called and nothing is displayed.
117 2008-04-01 Matthew Allum <mallum@openedhand.com>
119 * clutter-gtk/gtk-clutter-embed.c:
120 Update for latest trunk multistage.
121 Should now support multple widgets.
123 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
126 * clutter-gtk/Makefile.am:
127 * examples/Makefile.am: Post-release bump build fixes
129 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
131 2008-02-29 Matthew Allum <mallum@openedhand.com>
135 Bump up to unstable 0.7 version and clutter req.
137 * clutter-gtk/gtk-clutter-embed.c:
138 * clutter-gtk/gtk-clutter-embed.h:
139 Add clutter_gtk_init(), as to use new API to share DISPLAY and
140 turn off Clutter 'automatic' event collection.
142 expose - Queue a Clutter redraw.
143 map - set Actor mapped flag.
144 show/hide - Forward to stage also.
147 * examples/gtk-clutter-events.c:
148 Add some minor comments re when to call show_all().
150 * examples/gtk-clutter-test.c:
151 Fix event->actor mapping.
153 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
155 * clutter-gtk/gtk-clutter-embed.c:
156 (gtk_clutter_embed_send_configure): Emit a Configure event
157 with the coordinates for the widget area.
159 (gtk_clutter_embed_realize),
160 (gtk_clutter_embed_size_allocate): Send the configure event.
162 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
165 * NEWS: Release 0.6.0
167 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
169 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
170 never call clutter_actor_set_size() on the embedded stage, but
171 call gtk_widget_set_size_request() on the widget itself to
174 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
177 * NEWS: Release 0.5.2
179 * configure.ac: Post release bump to 0.5.3
181 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
183 * doc/reference/clutter-gtk-docs.sgml:
184 * doc/reference/clutter-gtk.types: Update with the widget name
187 * examples/gtk-clutter-test.c: Set a default size on the
188 widget to avoid the 0, 0 initial size.
190 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
192 * configure.ac: Fix srcdir detection.
194 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
196 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
199 * clutter-gtk.pc.in: Require clutter-x11-0.5.
201 * clutter-gtk/Makefile.am:
202 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
203 widget; this widget reverts back to the old, pre-XEMBED implementation
204 of an embeddable stage, by letting Clutter draw directly onto a
205 child GdkWindow, thanks to the fixes that went into Clutter
206 core. (#716, #717, #718, based on a patch by Havoc Pennington)
208 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
211 * examples/gtk-clutter-events.c:
212 * examples/gtk-clutter-test.c: Update the tests for the new API.
214 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
217 * README: Release 0.5.0
219 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
221 Update after the API changes in Clutter core
223 * clutter-gtk/clutter-gtk.c:
224 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
227 (gtk_clutter_map): Use the new X11 API for retrieving the
228 XID of the stage window.
230 (gtk_clutter_init): Set the widget as paintable and the stage
233 * examples/gtk-clutter-events.c:
234 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
235 clutter_actor_set_rotation() API.
237 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
239 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
241 * doc/reference/clutter-gtk-sections.txt:
242 * doc/reference/clutter-gtk-docs.sgml:
243 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
245 * examples/Makefile.am: Fix compilation of the examples
247 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
252 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
253 clutter-gtk-0.5 as well.
255 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
257 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
261 * clutter-gtk/Makefile.am: Update.
263 2007-08-03 Chris Lord,,, <chris@openedhand.com>
265 * doc/reference/Makefile.am:
266 Fix documentation building
268 2007-07-18 Neil J. Patel <njp@o-hand.com>
270 * examples/Makefile.am:
271 Point to new clutter-gtk library name.
273 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
275 * examples/gtk-clutter-events.c: Remove wrong casting around
276 the g_signal_connect() argument; this masked a weird memory
277 corruption bug happening when compiling outside the sources
280 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
282 * clutter-gtk/Makefile.am:
283 * clutter-gtk.pc.in: Install (and use) a versioned library, to
284 match the behaviour of clutter-core and the other integration
287 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
289 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
291 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
293 2007-07-06 Matthew Allum <mallum@openedhand.com>
298 Bump up version to 0.3.1
300 2007-07-06 Matthew Allum <mallum@openedhand.com>
303 Fix to require 0.3 clutter.
305 2007-06-11 Neil Jagdish Patel <njp@f7>
307 * examples/gtk-clutter-events.c: (create_colors):
308 Removed stray g_print
310 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
312 * examples/Makefile.am:
313 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
314 (on_x_changed), (on_y_changed), (on_z_changed),
315 (on_opacity_changed), (create_colors), (main):
316 Added another example whihc shows some interaction between gtk and
319 * examples/gtk-clutter-test.c: (main):
320 Updated to work with clutter-0.3
323 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
325 * configure.ac: Branch for development; bump to 0.3.0, to
326 match Clutter core version; require clutter-glx backend.
328 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
329 functions; add an "embedded" read-only property, which signals
330 whether the widget has successfully embedded the stage window;
331 use the new clutter_glx_get_stage_window() function.
333 * examples/gtk-clutter-test.c: Port to the new event API.
335 2007-03-23 Ross Burton <ross@openedhand.com>
338 Don't require any particular GTK+ version.
340 2007-03-23 Ross Burton <ross@openedhand.com>
342 * examples/Makefile.am:
345 ================= 2007-03-22 0.1 Release ========================
347 2007-03-22 Matthew Allum <mallum@openedhand.com>
350 Update for 0.1 Realease
352 2007-03-22 Matthew Allum <mallum@openedhand.com>
355 Update for 0.1 release
356 * doc/reference/clutter-gtk.types:
359 2007-03-22 Matthew Allum <mallum@openedhand.com>
361 * clutter-gtk/Makefile.am:
362 * clutter-gtk/clutter-gtk.c:
363 * clutter-gtk/gtk-clutter.c:
364 * clutter-gtk/gtk-clutter.h:
366 * examples/gtk-clutter-test.c:
367 Various naming fixups.
369 2007-03-21 Matthew Allum <mallum@openedhand.com>
372 * clutter-gtk/Makefile.am:
375 2007-03-21 Matthew Allum <mallum@openedhand.com>
377 * doc/reference/Makefile.am:
378 Fix lib path so docs build again.
380 2007-03-21 Matthew Allum <mallum@openedhand.com>
382 * clutter-gtk/gtk-clutter.c:
383 * clutter-gtk/gtk-clutter.h:
384 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
385 Needs at least clutter 0.2.2. Avoids previous issues with
386 white textures when painting onto a GtkWindow.
387 (Thanks to Iain for doing all the hardwork here)
389 * examples/gtk-clutter-test.c: (main):
394 Fixups to require clutter-0.2.2
396 2006-11-30 Matthew Allum <mallum@openedhand.com>
399 Update doap file a little.
401 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
403 * clutter-gtk/gtk-clutter.c:
404 (gtk_clutter_expose_event): Queue a redraw of the
405 stage instead of directly swapping the GL buffers.
407 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
409 * clutter-gtk/gtk-clutter.c:
410 (gtk_clutter_expose_event): Use the newly added
411 clutter_stage_swap_buffers() and fix the missing redraw
414 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
416 * examples/gtk-clutter-test.c: Add a "quit" button.
418 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
420 * clutter-gtk/gtk-clutter.c:
421 (gtk_clutter_destroy): Destroy the ClutterStage instead
424 (gtk_clutter_size_allocate): Queue a redraw if the stage
425 is marked as visible.
427 (gtk_clutter_realize): Remove the forced realize: the
428 stage is already realized by default.
430 * examples/gtk-clutter-test.c: Use gtk_main_quit().
432 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
434 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
436 * clutter-gtk/gtk-clutter.c:
437 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
438 the stage unref to the GtkObject::destroy method.
440 (gtk_clutter_size_allocate): Oblige to the size allocation
441 request from the container of the GtkClutter widget by
442 resizing the ClutterStage.
444 (gtk_clutter_size_request): Require the size of the stage.
446 (gtk_clutter_destroy), (gtk_clutter_size_request),
447 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
448 macro, which does a type check and a function call; use the
449 priv pointer we conveniently keep around.
451 * examples/gtk-clutter-test.c: Use the given constructor;
452 now window resizing works. The stage doesn't get refreshed
453 immediately (resize the window), though, and there's still
454 the X error when we close the window.
456 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
458 * *: Initial import out of the main tree.