1 2008-10-31 Emmanuele Bassi <ebassi@linux.intel.com>
4 * clutter-gtk.pc.in: Remove last bits of 0.8 usage.
6 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
8 * clutter-gtk/gtk-clutter-embed.c:
9 (gtk_clutter_embed_motion_notify_event): Copy the motion
10 event modifier state like we do for the rest of the events.
12 2008-10-20 Emmanuele Bassi <ebassi@linux.intel.com>
14 * clutter-gtk/Makefile.am:
15 * examples/Makefile.am: Update the build.
17 * clutter-gtk/clutter-gtk.h: Added a single include header, and
18 disabled the inclusion of specific headers; this keeps the
19 library clean and future-proof, now that we have more than one
22 * clutter-gtk/gtk-clutter-embed.h:
23 * clutter-gtk/gtk-clutter-util.h: Disabled the direct inclusion
24 of a single header file.
26 * clutter-gtk/gtk-clutter-scrollable.c:
27 * clutter-gtk/gtk-clutter-scrollable.h: Added a GtkClutterScrollable
28 interface for scrollable actors using GtkAdjustments.
30 * clutter-gtk/gtk-clutter-viewport.c:
31 * clutter-gtk/gtk-clutter-viewport.h: Added a scrollable actor
32 implementing GtkClutterScrollable.
34 * doc/reference/Makefile.am:
35 * doc/reference/clutter-gtk-docs.sgml:
36 * doc/reference/clutter-gtk-sections.txt:
37 * doc/reference/clutter-gtk.types: Update the documentation.
39 * examples/gtk-clutter-events.c:
40 * examples/gtk-clutter-multistage.c:
41 * examples/gtk-clutter-test.c: Update to include clutter-gtk.h.
43 * examples/gtk-clutter-viewport.c: Added an example of
44 the GtkClutterViewport usage.
46 2008-10-15 Emmanuele Bassi <ebassi@linux.intel.com>
48 * configure.ac: Bump up to 0.9 now that we've branched.
50 2008-10-2 Robert Bragg <robert@linux.intel.com>
52 * clutter-gtk/doc/reference/Makefile.am:
53 reverts previous change: It's Poky that needs changing.
55 2008-10-2 Robert Bragg <robert@linux.intel.com>
56 * clutter-gtk/doc/reference/Makefile.am:
57 Dont use += to set EXTRA_DIST since there isn't a preceding = which
58 automake gets upset about. This means we can remove the patches
61 2008-09-25 Emmanuele Bassi <ebassi@linux.intel.com>
63 * clutter-gtk/gtk-clutter-util.[ch]: Add API for retrieving
64 the various color components out of a GtkWidget style in form
67 * doc/reference/clutter-gtk-sections.txt: Include the newly
68 added API in the generated reference.
70 2008-09-15 Emmanuele Bassi <emmanuele.bassi@intel.com>
72 Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
74 * clutter-gtk/gtk-clutter-embed.c:
75 (gtk_clutter_embed_scroll_event),
76 (gtk_clutter_embed_class_init): Add relaying of the scroll
77 events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
79 2008-08-05 Emmanuele Bassi <ebassi@openedhand.com>
81 * clutter-gtk/gtk-clutter-embed.c:
82 (gtk_clutter_embed_size_allocate): Queue a relayout on the stage
83 when we have an allocation from the GtkWidget.
85 2008-08-01 Neil Roberts <neil@o-hand.com>
87 * clutter-gtk/gtk-clutter-util.c
88 (gtk_clutter_texture_set_from_pixbuf)
89 (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
90 wrong way around so these two functions always failed.
92 2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
94 * clutter-gtk/gtk-clutter-util.c:
95 (gtk_clutter_texture_new_from_pixbuf),
96 (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
97 an alpha before setting the BPP.
99 ======== Clutter-GTK 0.8.1 ====================================================
101 2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
103 * NEWS: Release 0.8.1
105 2008-07-18 Neil Roberts <neil@o-hand.com>
107 * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
108 name of mask for motion events.
110 2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
112 * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
115 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
117 * configure.ac: Post-release bump to 0.8.1.
119 ======== Clutter-GTK 0.8.0 ====================================================
121 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
125 * NEWS: Release 0.8.0
127 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
129 * clutter-gtk.pc.in: Fix the inclusion directory
131 * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
132 to handle focus. Also remove the ClutterContainer implementation.
134 * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
135 gtk_clutter_texture_set_from_icon_name() helper function.
137 * configure.ac: Whitespace
139 * examples/gtk-clutter-test.c: Update.
141 2008-05-19 Tomas Frydrych <tf@openedhand.com>
143 * clutter-gtk/gtk-clutter-embed.c:
144 Fixed inclusion of clutter-x11.h following change in structure of
147 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
149 * clutter-gtk/gtk-clutter-embed.c:
150 (gtk_clutter_embed_init): Realize the stage before retrieving
153 2008-05-07 Matthew Allum <mallum@openedhand.com>
155 * clutter-gtk/gtk-clutter-embed.c:
156 Add motion event handling - fixes #907
158 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
160 * examples/gtk-clutter-test.c (main): Use the utility function
161 for creating a ClutterTexture using a GdkPixbuf.
163 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
165 Bug #876 - GtkClutterEmbed doesn't propagate events back down
168 * clutter-gtk/gtk-clutter-embed.c:
169 (gtk_clutter_embed_button_event),
170 (gtk_clutter_embed_key_event): Just return FALSE in the
173 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
175 * clutter-gtk/gtk-clutter-util.h:
176 * clutter-gtk/gtk-clutter-util.c:
177 (gtk_clutter_texture_new_from_pixbuf),
178 (gtk_clutter_texture_new_from_stock),
179 (gtk_clutter_texture_new_from_icon_name): Add utility functions
180 to create a ClutterTexture from a Pixbuf (to replace the
181 clutter_texture_from_pixbuf() call when it will be removed
182 from Clutter core); from a stock id; and from an icon name.
184 * examples/Makefile.am: Clean up.
186 * examples/gtk-clutter-events.c:
187 * examples/gtk-clutter-multistage.c: Use the new utility API.
189 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
191 * README: Update requirements
193 * clutter-gtk/gtk-clutter-embed.c:
194 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
196 (gtk_clutter_embed_realize),
197 (gtk_clutter_embed_init),
198 (gtk_clutter_init): Slight cleanup.
200 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
202 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
203 ClutterGtk to be able to retrieve the ClutterColor equivalent
204 of the various style color components of a GtkWidget.
206 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
208 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
211 * examples/gtk-clutter-events.c (create_colors): Test the newly
212 added color retrieval API.
214 2008-04-15 Neil Roberts <neil@o-hand.com>
216 * configure.ac: Added a --with-flavour option to select between
217 x11 and win32 versions. Defaults to x11.
219 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
220 and replace with Win32 equivalents.
221 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
222 the stage pointer when generating fake Clutter events otherwise
223 they just get ignored.
224 (gtk_clutter_embed_realize): Always request button and key events
225 in the window event mask. They aren't included by default on
228 * README (Requirements): Added a note about the minimum Clutter
229 version for the Win32 backend.
231 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
233 * clutter-gtk/gtk-clutter-embed.c:
234 (clutter_container_iface_init): Make GtkClutterEmbed implement
235 ClutterContainer, and proxy all virtual functions to the
238 * examples/gtk-clutter-test.c: (main): Add the group straight
239 to the GtkClutterEmbed widget to test the Container interface
242 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
244 * clutter-gtk/gtk-clutter-embed.c:
245 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
246 multiple calls to gtk_init() are safe.
248 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
251 * examples/gtk-clutter-events.c:
252 * examples/gtk-clutter-multistage.c:
253 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
254 out in case of failure.
256 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
258 * clutter-gtk/gtk-clutter-embed.c:
259 (gtk_clutter_embed_init): Update after upstream API change.
261 2008-04-01 Matthew Allum <mallum@openedhand.com>
263 * examples/Makefile.am:
264 * examples/gtk-clutter-multistage.c:
265 Add a *very* simple multiple stage example.
267 2008-04-01 Neil Roberts <neil@o-hand.com>
269 * examples/gtk-clutter-test.c (main): Moved the
270 clutter_actor_show_all call to after the parent widget is
271 shown. Otherwise all of the actors get unrealized when
272 clutter_x11_set_stage_foreign is called and nothing is displayed.
274 2008-04-01 Matthew Allum <mallum@openedhand.com>
276 * clutter-gtk/gtk-clutter-embed.c:
277 Update for latest trunk multistage.
278 Should now support multple widgets.
280 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
283 * clutter-gtk/Makefile.am:
284 * examples/Makefile.am: Post-release bump build fixes
286 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
288 2008-02-29 Matthew Allum <mallum@openedhand.com>
292 Bump up to unstable 0.7 version and clutter req.
294 * clutter-gtk/gtk-clutter-embed.c:
295 * clutter-gtk/gtk-clutter-embed.h:
296 Add clutter_gtk_init(), as to use new API to share DISPLAY and
297 turn off Clutter 'automatic' event collection.
299 expose - Queue a Clutter redraw.
300 map - set Actor mapped flag.
301 show/hide - Forward to stage also.
304 * examples/gtk-clutter-events.c:
305 Add some minor comments re when to call show_all().
307 * examples/gtk-clutter-test.c:
308 Fix event->actor mapping.
310 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
312 * clutter-gtk/gtk-clutter-embed.c:
313 (gtk_clutter_embed_send_configure): Emit a Configure event
314 with the coordinates for the widget area.
316 (gtk_clutter_embed_realize),
317 (gtk_clutter_embed_size_allocate): Send the configure event.
319 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
322 * NEWS: Release 0.6.0
324 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
326 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
327 never call clutter_actor_set_size() on the embedded stage, but
328 call gtk_widget_set_size_request() on the widget itself to
331 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
334 * NEWS: Release 0.5.2
336 * configure.ac: Post release bump to 0.5.3
338 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
340 * doc/reference/clutter-gtk-docs.sgml:
341 * doc/reference/clutter-gtk.types: Update with the widget name
344 * examples/gtk-clutter-test.c: Set a default size on the
345 widget to avoid the 0, 0 initial size.
347 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
349 * configure.ac: Fix srcdir detection.
351 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
353 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
356 * clutter-gtk.pc.in: Require clutter-x11-0.5.
358 * clutter-gtk/Makefile.am:
359 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
360 widget; this widget reverts back to the old, pre-XEMBED implementation
361 of an embeddable stage, by letting Clutter draw directly onto a
362 child GdkWindow, thanks to the fixes that went into Clutter
363 core. (#716, #717, #718, based on a patch by Havoc Pennington)
365 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
368 * examples/gtk-clutter-events.c:
369 * examples/gtk-clutter-test.c: Update the tests for the new API.
371 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
374 * README: Release 0.5.0
376 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
378 Update after the API changes in Clutter core
380 * clutter-gtk/clutter-gtk.c:
381 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
384 (gtk_clutter_map): Use the new X11 API for retrieving the
385 XID of the stage window.
387 (gtk_clutter_init): Set the widget as paintable and the stage
390 * examples/gtk-clutter-events.c:
391 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
392 clutter_actor_set_rotation() API.
394 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
396 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
398 * doc/reference/clutter-gtk-sections.txt:
399 * doc/reference/clutter-gtk-docs.sgml:
400 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
402 * examples/Makefile.am: Fix compilation of the examples
404 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
409 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
410 clutter-gtk-0.5 as well.
412 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
414 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
418 * clutter-gtk/Makefile.am: Update.
420 2007-08-03 Chris Lord,,, <chris@openedhand.com>
422 * doc/reference/Makefile.am:
423 Fix documentation building
425 2007-07-18 Neil J. Patel <njp@o-hand.com>
427 * examples/Makefile.am:
428 Point to new clutter-gtk library name.
430 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
432 * examples/gtk-clutter-events.c: Remove wrong casting around
433 the g_signal_connect() argument; this masked a weird memory
434 corruption bug happening when compiling outside the sources
437 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
439 * clutter-gtk/Makefile.am:
440 * clutter-gtk.pc.in: Install (and use) a versioned library, to
441 match the behaviour of clutter-core and the other integration
444 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
446 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
448 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
450 2007-07-06 Matthew Allum <mallum@openedhand.com>
455 Bump up version to 0.3.1
457 2007-07-06 Matthew Allum <mallum@openedhand.com>
460 Fix to require 0.3 clutter.
462 2007-06-11 Neil Jagdish Patel <njp@f7>
464 * examples/gtk-clutter-events.c: (create_colors):
465 Removed stray g_print
467 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
469 * examples/Makefile.am:
470 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
471 (on_x_changed), (on_y_changed), (on_z_changed),
472 (on_opacity_changed), (create_colors), (main):
473 Added another example whihc shows some interaction between gtk and
476 * examples/gtk-clutter-test.c: (main):
477 Updated to work with clutter-0.3
480 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
482 * configure.ac: Branch for development; bump to 0.3.0, to
483 match Clutter core version; require clutter-glx backend.
485 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
486 functions; add an "embedded" read-only property, which signals
487 whether the widget has successfully embedded the stage window;
488 use the new clutter_glx_get_stage_window() function.
490 * examples/gtk-clutter-test.c: Port to the new event API.
492 2007-03-23 Ross Burton <ross@openedhand.com>
495 Don't require any particular GTK+ version.
497 2007-03-23 Ross Burton <ross@openedhand.com>
499 * examples/Makefile.am:
502 ================= 2007-03-22 0.1 Release ========================
504 2007-03-22 Matthew Allum <mallum@openedhand.com>
507 Update for 0.1 Realease
509 2007-03-22 Matthew Allum <mallum@openedhand.com>
512 Update for 0.1 release
513 * doc/reference/clutter-gtk.types:
516 2007-03-22 Matthew Allum <mallum@openedhand.com>
518 * clutter-gtk/Makefile.am:
519 * clutter-gtk/clutter-gtk.c:
520 * clutter-gtk/gtk-clutter.c:
521 * clutter-gtk/gtk-clutter.h:
523 * examples/gtk-clutter-test.c:
524 Various naming fixups.
526 2007-03-21 Matthew Allum <mallum@openedhand.com>
529 * clutter-gtk/Makefile.am:
532 2007-03-21 Matthew Allum <mallum@openedhand.com>
534 * doc/reference/Makefile.am:
535 Fix lib path so docs build again.
537 2007-03-21 Matthew Allum <mallum@openedhand.com>
539 * clutter-gtk/gtk-clutter.c:
540 * clutter-gtk/gtk-clutter.h:
541 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
542 Needs at least clutter 0.2.2. Avoids previous issues with
543 white textures when painting onto a GtkWindow.
544 (Thanks to Iain for doing all the hardwork here)
546 * examples/gtk-clutter-test.c: (main):
551 Fixups to require clutter-0.2.2
553 2006-11-30 Matthew Allum <mallum@openedhand.com>
556 Update doap file a little.
558 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
560 * clutter-gtk/gtk-clutter.c:
561 (gtk_clutter_expose_event): Queue a redraw of the
562 stage instead of directly swapping the GL buffers.
564 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
566 * clutter-gtk/gtk-clutter.c:
567 (gtk_clutter_expose_event): Use the newly added
568 clutter_stage_swap_buffers() and fix the missing redraw
571 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
573 * examples/gtk-clutter-test.c: Add a "quit" button.
575 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
577 * clutter-gtk/gtk-clutter.c:
578 (gtk_clutter_destroy): Destroy the ClutterStage instead
581 (gtk_clutter_size_allocate): Queue a redraw if the stage
582 is marked as visible.
584 (gtk_clutter_realize): Remove the forced realize: the
585 stage is already realized by default.
587 * examples/gtk-clutter-test.c: Use gtk_main_quit().
589 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
591 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
593 * clutter-gtk/gtk-clutter.c:
594 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
595 the stage unref to the GtkObject::destroy method.
597 (gtk_clutter_size_allocate): Oblige to the size allocation
598 request from the container of the GtkClutter widget by
599 resizing the ClutterStage.
601 (gtk_clutter_size_request): Require the size of the stage.
603 (gtk_clutter_destroy), (gtk_clutter_size_request),
604 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
605 macro, which does a type check and a function call; use the
606 priv pointer we conveniently keep around.
608 * examples/gtk-clutter-test.c: Use the given constructor;
609 now window resizing works. The stage doesn't get refreshed
610 immediately (resize the window), though, and there's still
611 the X error when we close the window.
613 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
615 * *: Initial import out of the main tree.