1 2008-05-07 Matthew Allum <mallum@openedhand.com>
3 * clutter-gtk/gtk-clutter-embed.c:
4 Add motion event handling - fixes #907
6 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
8 * examples/gtk-clutter-test.c (main): Use the utility function
9 for creating a ClutterTexture using a GdkPixbuf.
11 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
13 Bug #876 - GtkClutterEmbed doesn't propagate events back down
16 * clutter-gtk/gtk-clutter-embed.c:
17 (gtk_clutter_embed_button_event),
18 (gtk_clutter_embed_key_event): Just return FALSE in the
21 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
23 * clutter-gtk/gtk-clutter-util.h:
24 * clutter-gtk/gtk-clutter-util.c:
25 (gtk_clutter_texture_new_from_pixbuf),
26 (gtk_clutter_texture_new_from_stock),
27 (gtk_clutter_texture_new_from_icon_name): Add utility functions
28 to create a ClutterTexture from a Pixbuf (to replace the
29 clutter_texture_from_pixbuf() call when it will be removed
30 from Clutter core); from a stock id; and from an icon name.
32 * examples/Makefile.am: Clean up.
34 * examples/gtk-clutter-events.c:
35 * examples/gtk-clutter-multistage.c: Use the new utility API.
37 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
39 * README: Update requirements
41 * clutter-gtk/gtk-clutter-embed.c:
42 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
44 (gtk_clutter_embed_realize),
45 (gtk_clutter_embed_init),
46 (gtk_clutter_init): Slight cleanup.
48 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
50 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
51 ClutterGtk to be able to retrieve the ClutterColor equivalent
52 of the various style color components of a GtkWidget.
54 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
56 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
59 * examples/gtk-clutter-events.c (create_colors): Test the newly
60 added color retrieval API.
62 2008-04-15 Neil Roberts <neil@o-hand.com>
64 * configure.ac: Added a --with-flavour option to select between
65 x11 and win32 versions. Defaults to x11.
67 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
68 and replace with Win32 equivalents.
69 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
70 the stage pointer when generating fake Clutter events otherwise
71 they just get ignored.
72 (gtk_clutter_embed_realize): Always request button and key events
73 in the window event mask. They aren't included by default on
76 * README (Requirements): Added a note about the minimum Clutter
77 version for the Win32 backend.
79 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
81 * clutter-gtk/gtk-clutter-embed.c:
82 (clutter_container_iface_init): Make GtkClutterEmbed implement
83 ClutterContainer, and proxy all virtual functions to the
86 * examples/gtk-clutter-test.c: (main): Add the group straight
87 to the GtkClutterEmbed widget to test the Container interface
90 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
92 * clutter-gtk/gtk-clutter-embed.c:
93 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
94 multiple calls to gtk_init() are safe.
96 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
99 * examples/gtk-clutter-events.c:
100 * examples/gtk-clutter-multistage.c:
101 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
102 out in case of failure.
104 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
106 * clutter-gtk/gtk-clutter-embed.c:
107 (gtk_clutter_embed_init): Update after upstream API change.
109 2008-04-01 Matthew Allum <mallum@openedhand.com>
111 * examples/Makefile.am:
112 * examples/gtk-clutter-multistage.c:
113 Add a *very* simple multiple stage example.
115 2008-04-01 Neil Roberts <neil@o-hand.com>
117 * examples/gtk-clutter-test.c (main): Moved the
118 clutter_actor_show_all call to after the parent widget is
119 shown. Otherwise all of the actors get unrealized when
120 clutter_x11_set_stage_foreign is called and nothing is displayed.
122 2008-04-01 Matthew Allum <mallum@openedhand.com>
124 * clutter-gtk/gtk-clutter-embed.c:
125 Update for latest trunk multistage.
126 Should now support multple widgets.
128 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
131 * clutter-gtk/Makefile.am:
132 * examples/Makefile.am: Post-release bump build fixes
134 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
136 2008-02-29 Matthew Allum <mallum@openedhand.com>
140 Bump up to unstable 0.7 version and clutter req.
142 * clutter-gtk/gtk-clutter-embed.c:
143 * clutter-gtk/gtk-clutter-embed.h:
144 Add clutter_gtk_init(), as to use new API to share DISPLAY and
145 turn off Clutter 'automatic' event collection.
147 expose - Queue a Clutter redraw.
148 map - set Actor mapped flag.
149 show/hide - Forward to stage also.
152 * examples/gtk-clutter-events.c:
153 Add some minor comments re when to call show_all().
155 * examples/gtk-clutter-test.c:
156 Fix event->actor mapping.
158 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
160 * clutter-gtk/gtk-clutter-embed.c:
161 (gtk_clutter_embed_send_configure): Emit a Configure event
162 with the coordinates for the widget area.
164 (gtk_clutter_embed_realize),
165 (gtk_clutter_embed_size_allocate): Send the configure event.
167 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
170 * NEWS: Release 0.6.0
172 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
174 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
175 never call clutter_actor_set_size() on the embedded stage, but
176 call gtk_widget_set_size_request() on the widget itself to
179 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
182 * NEWS: Release 0.5.2
184 * configure.ac: Post release bump to 0.5.3
186 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
188 * doc/reference/clutter-gtk-docs.sgml:
189 * doc/reference/clutter-gtk.types: Update with the widget name
192 * examples/gtk-clutter-test.c: Set a default size on the
193 widget to avoid the 0, 0 initial size.
195 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
197 * configure.ac: Fix srcdir detection.
199 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
201 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
204 * clutter-gtk.pc.in: Require clutter-x11-0.5.
206 * clutter-gtk/Makefile.am:
207 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
208 widget; this widget reverts back to the old, pre-XEMBED implementation
209 of an embeddable stage, by letting Clutter draw directly onto a
210 child GdkWindow, thanks to the fixes that went into Clutter
211 core. (#716, #717, #718, based on a patch by Havoc Pennington)
213 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
216 * examples/gtk-clutter-events.c:
217 * examples/gtk-clutter-test.c: Update the tests for the new API.
219 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
222 * README: Release 0.5.0
224 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
226 Update after the API changes in Clutter core
228 * clutter-gtk/clutter-gtk.c:
229 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
232 (gtk_clutter_map): Use the new X11 API for retrieving the
233 XID of the stage window.
235 (gtk_clutter_init): Set the widget as paintable and the stage
238 * examples/gtk-clutter-events.c:
239 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
240 clutter_actor_set_rotation() API.
242 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
244 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
246 * doc/reference/clutter-gtk-sections.txt:
247 * doc/reference/clutter-gtk-docs.sgml:
248 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
250 * examples/Makefile.am: Fix compilation of the examples
252 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
257 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
258 clutter-gtk-0.5 as well.
260 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
262 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
266 * clutter-gtk/Makefile.am: Update.
268 2007-08-03 Chris Lord,,, <chris@openedhand.com>
270 * doc/reference/Makefile.am:
271 Fix documentation building
273 2007-07-18 Neil J. Patel <njp@o-hand.com>
275 * examples/Makefile.am:
276 Point to new clutter-gtk library name.
278 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
280 * examples/gtk-clutter-events.c: Remove wrong casting around
281 the g_signal_connect() argument; this masked a weird memory
282 corruption bug happening when compiling outside the sources
285 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
287 * clutter-gtk/Makefile.am:
288 * clutter-gtk.pc.in: Install (and use) a versioned library, to
289 match the behaviour of clutter-core and the other integration
292 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
294 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
296 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
298 2007-07-06 Matthew Allum <mallum@openedhand.com>
303 Bump up version to 0.3.1
305 2007-07-06 Matthew Allum <mallum@openedhand.com>
308 Fix to require 0.3 clutter.
310 2007-06-11 Neil Jagdish Patel <njp@f7>
312 * examples/gtk-clutter-events.c: (create_colors):
313 Removed stray g_print
315 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
317 * examples/Makefile.am:
318 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
319 (on_x_changed), (on_y_changed), (on_z_changed),
320 (on_opacity_changed), (create_colors), (main):
321 Added another example whihc shows some interaction between gtk and
324 * examples/gtk-clutter-test.c: (main):
325 Updated to work with clutter-0.3
328 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
330 * configure.ac: Branch for development; bump to 0.3.0, to
331 match Clutter core version; require clutter-glx backend.
333 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
334 functions; add an "embedded" read-only property, which signals
335 whether the widget has successfully embedded the stage window;
336 use the new clutter_glx_get_stage_window() function.
338 * examples/gtk-clutter-test.c: Port to the new event API.
340 2007-03-23 Ross Burton <ross@openedhand.com>
343 Don't require any particular GTK+ version.
345 2007-03-23 Ross Burton <ross@openedhand.com>
347 * examples/Makefile.am:
350 ================= 2007-03-22 0.1 Release ========================
352 2007-03-22 Matthew Allum <mallum@openedhand.com>
355 Update for 0.1 Realease
357 2007-03-22 Matthew Allum <mallum@openedhand.com>
360 Update for 0.1 release
361 * doc/reference/clutter-gtk.types:
364 2007-03-22 Matthew Allum <mallum@openedhand.com>
366 * clutter-gtk/Makefile.am:
367 * clutter-gtk/clutter-gtk.c:
368 * clutter-gtk/gtk-clutter.c:
369 * clutter-gtk/gtk-clutter.h:
371 * examples/gtk-clutter-test.c:
372 Various naming fixups.
374 2007-03-21 Matthew Allum <mallum@openedhand.com>
377 * clutter-gtk/Makefile.am:
380 2007-03-21 Matthew Allum <mallum@openedhand.com>
382 * doc/reference/Makefile.am:
383 Fix lib path so docs build again.
385 2007-03-21 Matthew Allum <mallum@openedhand.com>
387 * clutter-gtk/gtk-clutter.c:
388 * clutter-gtk/gtk-clutter.h:
389 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
390 Needs at least clutter 0.2.2. Avoids previous issues with
391 white textures when painting onto a GtkWindow.
392 (Thanks to Iain for doing all the hardwork here)
394 * examples/gtk-clutter-test.c: (main):
399 Fixups to require clutter-0.2.2
401 2006-11-30 Matthew Allum <mallum@openedhand.com>
404 Update doap file a little.
406 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
408 * clutter-gtk/gtk-clutter.c:
409 (gtk_clutter_expose_event): Queue a redraw of the
410 stage instead of directly swapping the GL buffers.
412 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
414 * clutter-gtk/gtk-clutter.c:
415 (gtk_clutter_expose_event): Use the newly added
416 clutter_stage_swap_buffers() and fix the missing redraw
419 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
421 * examples/gtk-clutter-test.c: Add a "quit" button.
423 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
425 * clutter-gtk/gtk-clutter.c:
426 (gtk_clutter_destroy): Destroy the ClutterStage instead
429 (gtk_clutter_size_allocate): Queue a redraw if the stage
430 is marked as visible.
432 (gtk_clutter_realize): Remove the forced realize: the
433 stage is already realized by default.
435 * examples/gtk-clutter-test.c: Use gtk_main_quit().
437 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
439 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
441 * clutter-gtk/gtk-clutter.c:
442 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
443 the stage unref to the GtkObject::destroy method.
445 (gtk_clutter_size_allocate): Oblige to the size allocation
446 request from the container of the GtkClutter widget by
447 resizing the ClutterStage.
449 (gtk_clutter_size_request): Require the size of the stage.
451 (gtk_clutter_destroy), (gtk_clutter_size_request),
452 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
453 macro, which does a type check and a function call; use the
454 priv pointer we conveniently keep around.
456 * examples/gtk-clutter-test.c: Use the given constructor;
457 now window resizing works. The stage doesn't get refreshed
458 immediately (resize the window), though, and there's still
459 the X error when we close the window.
461 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
463 * *: Initial import out of the main tree.