1 2008-08-01 Neil Roberts <neil@o-hand.com>
3 * clutter-gtk/gtk-clutter-util.c
4 (gtk_clutter_texture_set_from_pixbuf)
5 (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
6 wrong way around so these two functions always failed.
8 2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
10 * clutter-gtk/gtk-clutter-util.c:
11 (gtk_clutter_texture_new_from_pixbuf),
12 (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
13 an alpha before setting the BPP.
15 ======== Clutter-GTK 0.8.1 ====================================================
17 2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
21 2008-07-18 Neil Roberts <neil@o-hand.com>
23 * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
24 name of mask for motion events.
26 2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
28 * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
31 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
33 * configure.ac: Post-release bump to 0.8.1.
35 ======== Clutter-GTK 0.8.0 ====================================================
37 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
43 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
45 * clutter-gtk.pc.in: Fix the inclusion directory
47 * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
48 to handle focus. Also remove the ClutterContainer implementation.
50 * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
51 gtk_clutter_texture_set_from_icon_name() helper function.
53 * configure.ac: Whitespace
55 * examples/gtk-clutter-test.c: Update.
57 2008-05-19 Tomas Frydrych <tf@openedhand.com>
59 * clutter-gtk/gtk-clutter-embed.c:
60 Fixed inclusion of clutter-x11.h following change in structure of
63 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
65 * clutter-gtk/gtk-clutter-embed.c:
66 (gtk_clutter_embed_init): Realize the stage before retrieving
69 2008-05-07 Matthew Allum <mallum@openedhand.com>
71 * clutter-gtk/gtk-clutter-embed.c:
72 Add motion event handling - fixes #907
74 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
76 * examples/gtk-clutter-test.c (main): Use the utility function
77 for creating a ClutterTexture using a GdkPixbuf.
79 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
81 Bug #876 - GtkClutterEmbed doesn't propagate events back down
84 * clutter-gtk/gtk-clutter-embed.c:
85 (gtk_clutter_embed_button_event),
86 (gtk_clutter_embed_key_event): Just return FALSE in the
89 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
91 * clutter-gtk/gtk-clutter-util.h:
92 * clutter-gtk/gtk-clutter-util.c:
93 (gtk_clutter_texture_new_from_pixbuf),
94 (gtk_clutter_texture_new_from_stock),
95 (gtk_clutter_texture_new_from_icon_name): Add utility functions
96 to create a ClutterTexture from a Pixbuf (to replace the
97 clutter_texture_from_pixbuf() call when it will be removed
98 from Clutter core); from a stock id; and from an icon name.
100 * examples/Makefile.am: Clean up.
102 * examples/gtk-clutter-events.c:
103 * examples/gtk-clutter-multistage.c: Use the new utility API.
105 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
107 * README: Update requirements
109 * clutter-gtk/gtk-clutter-embed.c:
110 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
112 (gtk_clutter_embed_realize),
113 (gtk_clutter_embed_init),
114 (gtk_clutter_init): Slight cleanup.
116 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
118 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
119 ClutterGtk to be able to retrieve the ClutterColor equivalent
120 of the various style color components of a GtkWidget.
122 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
124 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
127 * examples/gtk-clutter-events.c (create_colors): Test the newly
128 added color retrieval API.
130 2008-04-15 Neil Roberts <neil@o-hand.com>
132 * configure.ac: Added a --with-flavour option to select between
133 x11 and win32 versions. Defaults to x11.
135 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
136 and replace with Win32 equivalents.
137 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
138 the stage pointer when generating fake Clutter events otherwise
139 they just get ignored.
140 (gtk_clutter_embed_realize): Always request button and key events
141 in the window event mask. They aren't included by default on
144 * README (Requirements): Added a note about the minimum Clutter
145 version for the Win32 backend.
147 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
149 * clutter-gtk/gtk-clutter-embed.c:
150 (clutter_container_iface_init): Make GtkClutterEmbed implement
151 ClutterContainer, and proxy all virtual functions to the
154 * examples/gtk-clutter-test.c: (main): Add the group straight
155 to the GtkClutterEmbed widget to test the Container interface
158 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
160 * clutter-gtk/gtk-clutter-embed.c:
161 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
162 multiple calls to gtk_init() are safe.
164 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
167 * examples/gtk-clutter-events.c:
168 * examples/gtk-clutter-multistage.c:
169 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
170 out in case of failure.
172 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
174 * clutter-gtk/gtk-clutter-embed.c:
175 (gtk_clutter_embed_init): Update after upstream API change.
177 2008-04-01 Matthew Allum <mallum@openedhand.com>
179 * examples/Makefile.am:
180 * examples/gtk-clutter-multistage.c:
181 Add a *very* simple multiple stage example.
183 2008-04-01 Neil Roberts <neil@o-hand.com>
185 * examples/gtk-clutter-test.c (main): Moved the
186 clutter_actor_show_all call to after the parent widget is
187 shown. Otherwise all of the actors get unrealized when
188 clutter_x11_set_stage_foreign is called and nothing is displayed.
190 2008-04-01 Matthew Allum <mallum@openedhand.com>
192 * clutter-gtk/gtk-clutter-embed.c:
193 Update for latest trunk multistage.
194 Should now support multple widgets.
196 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
199 * clutter-gtk/Makefile.am:
200 * examples/Makefile.am: Post-release bump build fixes
202 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
204 2008-02-29 Matthew Allum <mallum@openedhand.com>
208 Bump up to unstable 0.7 version and clutter req.
210 * clutter-gtk/gtk-clutter-embed.c:
211 * clutter-gtk/gtk-clutter-embed.h:
212 Add clutter_gtk_init(), as to use new API to share DISPLAY and
213 turn off Clutter 'automatic' event collection.
215 expose - Queue a Clutter redraw.
216 map - set Actor mapped flag.
217 show/hide - Forward to stage also.
220 * examples/gtk-clutter-events.c:
221 Add some minor comments re when to call show_all().
223 * examples/gtk-clutter-test.c:
224 Fix event->actor mapping.
226 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
228 * clutter-gtk/gtk-clutter-embed.c:
229 (gtk_clutter_embed_send_configure): Emit a Configure event
230 with the coordinates for the widget area.
232 (gtk_clutter_embed_realize),
233 (gtk_clutter_embed_size_allocate): Send the configure event.
235 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
238 * NEWS: Release 0.6.0
240 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
242 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
243 never call clutter_actor_set_size() on the embedded stage, but
244 call gtk_widget_set_size_request() on the widget itself to
247 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
250 * NEWS: Release 0.5.2
252 * configure.ac: Post release bump to 0.5.3
254 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
256 * doc/reference/clutter-gtk-docs.sgml:
257 * doc/reference/clutter-gtk.types: Update with the widget name
260 * examples/gtk-clutter-test.c: Set a default size on the
261 widget to avoid the 0, 0 initial size.
263 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
265 * configure.ac: Fix srcdir detection.
267 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
269 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
272 * clutter-gtk.pc.in: Require clutter-x11-0.5.
274 * clutter-gtk/Makefile.am:
275 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
276 widget; this widget reverts back to the old, pre-XEMBED implementation
277 of an embeddable stage, by letting Clutter draw directly onto a
278 child GdkWindow, thanks to the fixes that went into Clutter
279 core. (#716, #717, #718, based on a patch by Havoc Pennington)
281 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
284 * examples/gtk-clutter-events.c:
285 * examples/gtk-clutter-test.c: Update the tests for the new API.
287 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
290 * README: Release 0.5.0
292 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
294 Update after the API changes in Clutter core
296 * clutter-gtk/clutter-gtk.c:
297 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
300 (gtk_clutter_map): Use the new X11 API for retrieving the
301 XID of the stage window.
303 (gtk_clutter_init): Set the widget as paintable and the stage
306 * examples/gtk-clutter-events.c:
307 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
308 clutter_actor_set_rotation() API.
310 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
312 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
314 * doc/reference/clutter-gtk-sections.txt:
315 * doc/reference/clutter-gtk-docs.sgml:
316 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
318 * examples/Makefile.am: Fix compilation of the examples
320 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
325 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
326 clutter-gtk-0.5 as well.
328 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
330 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
334 * clutter-gtk/Makefile.am: Update.
336 2007-08-03 Chris Lord,,, <chris@openedhand.com>
338 * doc/reference/Makefile.am:
339 Fix documentation building
341 2007-07-18 Neil J. Patel <njp@o-hand.com>
343 * examples/Makefile.am:
344 Point to new clutter-gtk library name.
346 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
348 * examples/gtk-clutter-events.c: Remove wrong casting around
349 the g_signal_connect() argument; this masked a weird memory
350 corruption bug happening when compiling outside the sources
353 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
355 * clutter-gtk/Makefile.am:
356 * clutter-gtk.pc.in: Install (and use) a versioned library, to
357 match the behaviour of clutter-core and the other integration
360 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
362 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
364 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
366 2007-07-06 Matthew Allum <mallum@openedhand.com>
371 Bump up version to 0.3.1
373 2007-07-06 Matthew Allum <mallum@openedhand.com>
376 Fix to require 0.3 clutter.
378 2007-06-11 Neil Jagdish Patel <njp@f7>
380 * examples/gtk-clutter-events.c: (create_colors):
381 Removed stray g_print
383 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
385 * examples/Makefile.am:
386 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
387 (on_x_changed), (on_y_changed), (on_z_changed),
388 (on_opacity_changed), (create_colors), (main):
389 Added another example whihc shows some interaction between gtk and
392 * examples/gtk-clutter-test.c: (main):
393 Updated to work with clutter-0.3
396 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
398 * configure.ac: Branch for development; bump to 0.3.0, to
399 match Clutter core version; require clutter-glx backend.
401 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
402 functions; add an "embedded" read-only property, which signals
403 whether the widget has successfully embedded the stage window;
404 use the new clutter_glx_get_stage_window() function.
406 * examples/gtk-clutter-test.c: Port to the new event API.
408 2007-03-23 Ross Burton <ross@openedhand.com>
411 Don't require any particular GTK+ version.
413 2007-03-23 Ross Burton <ross@openedhand.com>
415 * examples/Makefile.am:
418 ================= 2007-03-22 0.1 Release ========================
420 2007-03-22 Matthew Allum <mallum@openedhand.com>
423 Update for 0.1 Realease
425 2007-03-22 Matthew Allum <mallum@openedhand.com>
428 Update for 0.1 release
429 * doc/reference/clutter-gtk.types:
432 2007-03-22 Matthew Allum <mallum@openedhand.com>
434 * clutter-gtk/Makefile.am:
435 * clutter-gtk/clutter-gtk.c:
436 * clutter-gtk/gtk-clutter.c:
437 * clutter-gtk/gtk-clutter.h:
439 * examples/gtk-clutter-test.c:
440 Various naming fixups.
442 2007-03-21 Matthew Allum <mallum@openedhand.com>
445 * clutter-gtk/Makefile.am:
448 2007-03-21 Matthew Allum <mallum@openedhand.com>
450 * doc/reference/Makefile.am:
451 Fix lib path so docs build again.
453 2007-03-21 Matthew Allum <mallum@openedhand.com>
455 * clutter-gtk/gtk-clutter.c:
456 * clutter-gtk/gtk-clutter.h:
457 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
458 Needs at least clutter 0.2.2. Avoids previous issues with
459 white textures when painting onto a GtkWindow.
460 (Thanks to Iain for doing all the hardwork here)
462 * examples/gtk-clutter-test.c: (main):
467 Fixups to require clutter-0.2.2
469 2006-11-30 Matthew Allum <mallum@openedhand.com>
472 Update doap file a little.
474 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
476 * clutter-gtk/gtk-clutter.c:
477 (gtk_clutter_expose_event): Queue a redraw of the
478 stage instead of directly swapping the GL buffers.
480 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
482 * clutter-gtk/gtk-clutter.c:
483 (gtk_clutter_expose_event): Use the newly added
484 clutter_stage_swap_buffers() and fix the missing redraw
487 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
489 * examples/gtk-clutter-test.c: Add a "quit" button.
491 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
493 * clutter-gtk/gtk-clutter.c:
494 (gtk_clutter_destroy): Destroy the ClutterStage instead
497 (gtk_clutter_size_allocate): Queue a redraw if the stage
498 is marked as visible.
500 (gtk_clutter_realize): Remove the forced realize: the
501 stage is already realized by default.
503 * examples/gtk-clutter-test.c: Use gtk_main_quit().
505 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
507 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
509 * clutter-gtk/gtk-clutter.c:
510 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
511 the stage unref to the GtkObject::destroy method.
513 (gtk_clutter_size_allocate): Oblige to the size allocation
514 request from the container of the GtkClutter widget by
515 resizing the ClutterStage.
517 (gtk_clutter_size_request): Require the size of the stage.
519 (gtk_clutter_destroy), (gtk_clutter_size_request),
520 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
521 macro, which does a type check and a function call; use the
522 priv pointer we conveniently keep around.
524 * examples/gtk-clutter-test.c: Use the given constructor;
525 now window resizing works. The stage doesn't get refreshed
526 immediately (resize the window), though, and there's still
527 the X error when we close the window.
529 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
531 * *: Initial import out of the main tree.