1 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
3 * clutter-gtk/gtk-clutter-embed.c:
4 (gtk_clutter_embed_motion_notify_event): Copy the motion
5 event modifier state like we do for the rest of the events.
7 2008-10-20 Emmanuele Bassi <ebassi@linux.intel.com>
9 * clutter-gtk/Makefile.am:
10 * examples/Makefile.am: Update the build.
12 * clutter-gtk/clutter-gtk.h: Added a single include header, and
13 disabled the inclusion of specific headers; this keeps the
14 library clean and future-proof, now that we have more than one
17 * clutter-gtk/gtk-clutter-embed.h:
18 * clutter-gtk/gtk-clutter-util.h: Disabled the direct inclusion
19 of a single header file.
21 * clutter-gtk/gtk-clutter-scrollable.c:
22 * clutter-gtk/gtk-clutter-scrollable.h: Added a GtkClutterScrollable
23 interface for scrollable actors using GtkAdjustments.
25 * clutter-gtk/gtk-clutter-viewport.c:
26 * clutter-gtk/gtk-clutter-viewport.h: Added a scrollable actor
27 implementing GtkClutterScrollable.
29 * doc/reference/Makefile.am:
30 * doc/reference/clutter-gtk-docs.sgml:
31 * doc/reference/clutter-gtk-sections.txt:
32 * doc/reference/clutter-gtk.types: Update the documentation.
34 * examples/gtk-clutter-events.c:
35 * examples/gtk-clutter-multistage.c:
36 * examples/gtk-clutter-test.c: Update to include clutter-gtk.h.
38 * examples/gtk-clutter-viewport.c: Added an example of
39 the GtkClutterViewport usage.
41 2008-10-15 Emmanuele Bassi <ebassi@linux.intel.com>
43 * configure.ac: Bump up to 0.9 now that we've branched.
45 2008-10-2 Robert Bragg <robert@linux.intel.com>
47 * clutter-gtk/doc/reference/Makefile.am:
48 reverts previous change: It's Poky that needs changing.
50 2008-10-2 Robert Bragg <robert@linux.intel.com>
51 * clutter-gtk/doc/reference/Makefile.am:
52 Dont use += to set EXTRA_DIST since there isn't a preceding = which
53 automake gets upset about. This means we can remove the patches
56 2008-09-25 Emmanuele Bassi <ebassi@linux.intel.com>
58 * clutter-gtk/gtk-clutter-util.[ch]: Add API for retrieving
59 the various color components out of a GtkWidget style in form
62 * doc/reference/clutter-gtk-sections.txt: Include the newly
63 added API in the generated reference.
65 2008-09-15 Emmanuele Bassi <emmanuele.bassi@intel.com>
67 Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
69 * clutter-gtk/gtk-clutter-embed.c:
70 (gtk_clutter_embed_scroll_event),
71 (gtk_clutter_embed_class_init): Add relaying of the scroll
72 events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
74 2008-08-05 Emmanuele Bassi <ebassi@openedhand.com>
76 * clutter-gtk/gtk-clutter-embed.c:
77 (gtk_clutter_embed_size_allocate): Queue a relayout on the stage
78 when we have an allocation from the GtkWidget.
80 2008-08-01 Neil Roberts <neil@o-hand.com>
82 * clutter-gtk/gtk-clutter-util.c
83 (gtk_clutter_texture_set_from_pixbuf)
84 (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
85 wrong way around so these two functions always failed.
87 2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
89 * clutter-gtk/gtk-clutter-util.c:
90 (gtk_clutter_texture_new_from_pixbuf),
91 (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
92 an alpha before setting the BPP.
94 ======== Clutter-GTK 0.8.1 ====================================================
96 2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
100 2008-07-18 Neil Roberts <neil@o-hand.com>
102 * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
103 name of mask for motion events.
105 2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
107 * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
110 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
112 * configure.ac: Post-release bump to 0.8.1.
114 ======== Clutter-GTK 0.8.0 ====================================================
116 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
120 * NEWS: Release 0.8.0
122 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
124 * clutter-gtk.pc.in: Fix the inclusion directory
126 * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
127 to handle focus. Also remove the ClutterContainer implementation.
129 * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
130 gtk_clutter_texture_set_from_icon_name() helper function.
132 * configure.ac: Whitespace
134 * examples/gtk-clutter-test.c: Update.
136 2008-05-19 Tomas Frydrych <tf@openedhand.com>
138 * clutter-gtk/gtk-clutter-embed.c:
139 Fixed inclusion of clutter-x11.h following change in structure of
142 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
144 * clutter-gtk/gtk-clutter-embed.c:
145 (gtk_clutter_embed_init): Realize the stage before retrieving
148 2008-05-07 Matthew Allum <mallum@openedhand.com>
150 * clutter-gtk/gtk-clutter-embed.c:
151 Add motion event handling - fixes #907
153 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
155 * examples/gtk-clutter-test.c (main): Use the utility function
156 for creating a ClutterTexture using a GdkPixbuf.
158 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
160 Bug #876 - GtkClutterEmbed doesn't propagate events back down
163 * clutter-gtk/gtk-clutter-embed.c:
164 (gtk_clutter_embed_button_event),
165 (gtk_clutter_embed_key_event): Just return FALSE in the
168 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
170 * clutter-gtk/gtk-clutter-util.h:
171 * clutter-gtk/gtk-clutter-util.c:
172 (gtk_clutter_texture_new_from_pixbuf),
173 (gtk_clutter_texture_new_from_stock),
174 (gtk_clutter_texture_new_from_icon_name): Add utility functions
175 to create a ClutterTexture from a Pixbuf (to replace the
176 clutter_texture_from_pixbuf() call when it will be removed
177 from Clutter core); from a stock id; and from an icon name.
179 * examples/Makefile.am: Clean up.
181 * examples/gtk-clutter-events.c:
182 * examples/gtk-clutter-multistage.c: Use the new utility API.
184 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
186 * README: Update requirements
188 * clutter-gtk/gtk-clutter-embed.c:
189 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
191 (gtk_clutter_embed_realize),
192 (gtk_clutter_embed_init),
193 (gtk_clutter_init): Slight cleanup.
195 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
197 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
198 ClutterGtk to be able to retrieve the ClutterColor equivalent
199 of the various style color components of a GtkWidget.
201 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
203 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
206 * examples/gtk-clutter-events.c (create_colors): Test the newly
207 added color retrieval API.
209 2008-04-15 Neil Roberts <neil@o-hand.com>
211 * configure.ac: Added a --with-flavour option to select between
212 x11 and win32 versions. Defaults to x11.
214 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
215 and replace with Win32 equivalents.
216 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
217 the stage pointer when generating fake Clutter events otherwise
218 they just get ignored.
219 (gtk_clutter_embed_realize): Always request button and key events
220 in the window event mask. They aren't included by default on
223 * README (Requirements): Added a note about the minimum Clutter
224 version for the Win32 backend.
226 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
228 * clutter-gtk/gtk-clutter-embed.c:
229 (clutter_container_iface_init): Make GtkClutterEmbed implement
230 ClutterContainer, and proxy all virtual functions to the
233 * examples/gtk-clutter-test.c: (main): Add the group straight
234 to the GtkClutterEmbed widget to test the Container interface
237 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
239 * clutter-gtk/gtk-clutter-embed.c:
240 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
241 multiple calls to gtk_init() are safe.
243 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
246 * examples/gtk-clutter-events.c:
247 * examples/gtk-clutter-multistage.c:
248 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
249 out in case of failure.
251 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
253 * clutter-gtk/gtk-clutter-embed.c:
254 (gtk_clutter_embed_init): Update after upstream API change.
256 2008-04-01 Matthew Allum <mallum@openedhand.com>
258 * examples/Makefile.am:
259 * examples/gtk-clutter-multistage.c:
260 Add a *very* simple multiple stage example.
262 2008-04-01 Neil Roberts <neil@o-hand.com>
264 * examples/gtk-clutter-test.c (main): Moved the
265 clutter_actor_show_all call to after the parent widget is
266 shown. Otherwise all of the actors get unrealized when
267 clutter_x11_set_stage_foreign is called and nothing is displayed.
269 2008-04-01 Matthew Allum <mallum@openedhand.com>
271 * clutter-gtk/gtk-clutter-embed.c:
272 Update for latest trunk multistage.
273 Should now support multple widgets.
275 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
278 * clutter-gtk/Makefile.am:
279 * examples/Makefile.am: Post-release bump build fixes
281 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
283 2008-02-29 Matthew Allum <mallum@openedhand.com>
287 Bump up to unstable 0.7 version and clutter req.
289 * clutter-gtk/gtk-clutter-embed.c:
290 * clutter-gtk/gtk-clutter-embed.h:
291 Add clutter_gtk_init(), as to use new API to share DISPLAY and
292 turn off Clutter 'automatic' event collection.
294 expose - Queue a Clutter redraw.
295 map - set Actor mapped flag.
296 show/hide - Forward to stage also.
299 * examples/gtk-clutter-events.c:
300 Add some minor comments re when to call show_all().
302 * examples/gtk-clutter-test.c:
303 Fix event->actor mapping.
305 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
307 * clutter-gtk/gtk-clutter-embed.c:
308 (gtk_clutter_embed_send_configure): Emit a Configure event
309 with the coordinates for the widget area.
311 (gtk_clutter_embed_realize),
312 (gtk_clutter_embed_size_allocate): Send the configure event.
314 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
317 * NEWS: Release 0.6.0
319 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
321 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
322 never call clutter_actor_set_size() on the embedded stage, but
323 call gtk_widget_set_size_request() on the widget itself to
326 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
329 * NEWS: Release 0.5.2
331 * configure.ac: Post release bump to 0.5.3
333 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
335 * doc/reference/clutter-gtk-docs.sgml:
336 * doc/reference/clutter-gtk.types: Update with the widget name
339 * examples/gtk-clutter-test.c: Set a default size on the
340 widget to avoid the 0, 0 initial size.
342 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
344 * configure.ac: Fix srcdir detection.
346 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
348 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
351 * clutter-gtk.pc.in: Require clutter-x11-0.5.
353 * clutter-gtk/Makefile.am:
354 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
355 widget; this widget reverts back to the old, pre-XEMBED implementation
356 of an embeddable stage, by letting Clutter draw directly onto a
357 child GdkWindow, thanks to the fixes that went into Clutter
358 core. (#716, #717, #718, based on a patch by Havoc Pennington)
360 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
363 * examples/gtk-clutter-events.c:
364 * examples/gtk-clutter-test.c: Update the tests for the new API.
366 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
369 * README: Release 0.5.0
371 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
373 Update after the API changes in Clutter core
375 * clutter-gtk/clutter-gtk.c:
376 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
379 (gtk_clutter_map): Use the new X11 API for retrieving the
380 XID of the stage window.
382 (gtk_clutter_init): Set the widget as paintable and the stage
385 * examples/gtk-clutter-events.c:
386 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
387 clutter_actor_set_rotation() API.
389 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
391 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
393 * doc/reference/clutter-gtk-sections.txt:
394 * doc/reference/clutter-gtk-docs.sgml:
395 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
397 * examples/Makefile.am: Fix compilation of the examples
399 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
404 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
405 clutter-gtk-0.5 as well.
407 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
409 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
413 * clutter-gtk/Makefile.am: Update.
415 2007-08-03 Chris Lord,,, <chris@openedhand.com>
417 * doc/reference/Makefile.am:
418 Fix documentation building
420 2007-07-18 Neil J. Patel <njp@o-hand.com>
422 * examples/Makefile.am:
423 Point to new clutter-gtk library name.
425 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
427 * examples/gtk-clutter-events.c: Remove wrong casting around
428 the g_signal_connect() argument; this masked a weird memory
429 corruption bug happening when compiling outside the sources
432 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
434 * clutter-gtk/Makefile.am:
435 * clutter-gtk.pc.in: Install (and use) a versioned library, to
436 match the behaviour of clutter-core and the other integration
439 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
441 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
443 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
445 2007-07-06 Matthew Allum <mallum@openedhand.com>
450 Bump up version to 0.3.1
452 2007-07-06 Matthew Allum <mallum@openedhand.com>
455 Fix to require 0.3 clutter.
457 2007-06-11 Neil Jagdish Patel <njp@f7>
459 * examples/gtk-clutter-events.c: (create_colors):
460 Removed stray g_print
462 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
464 * examples/Makefile.am:
465 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
466 (on_x_changed), (on_y_changed), (on_z_changed),
467 (on_opacity_changed), (create_colors), (main):
468 Added another example whihc shows some interaction between gtk and
471 * examples/gtk-clutter-test.c: (main):
472 Updated to work with clutter-0.3
475 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
477 * configure.ac: Branch for development; bump to 0.3.0, to
478 match Clutter core version; require clutter-glx backend.
480 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
481 functions; add an "embedded" read-only property, which signals
482 whether the widget has successfully embedded the stage window;
483 use the new clutter_glx_get_stage_window() function.
485 * examples/gtk-clutter-test.c: Port to the new event API.
487 2007-03-23 Ross Burton <ross@openedhand.com>
490 Don't require any particular GTK+ version.
492 2007-03-23 Ross Burton <ross@openedhand.com>
494 * examples/Makefile.am:
497 ================= 2007-03-22 0.1 Release ========================
499 2007-03-22 Matthew Allum <mallum@openedhand.com>
502 Update for 0.1 Realease
504 2007-03-22 Matthew Allum <mallum@openedhand.com>
507 Update for 0.1 release
508 * doc/reference/clutter-gtk.types:
511 2007-03-22 Matthew Allum <mallum@openedhand.com>
513 * clutter-gtk/Makefile.am:
514 * clutter-gtk/clutter-gtk.c:
515 * clutter-gtk/gtk-clutter.c:
516 * clutter-gtk/gtk-clutter.h:
518 * examples/gtk-clutter-test.c:
519 Various naming fixups.
521 2007-03-21 Matthew Allum <mallum@openedhand.com>
524 * clutter-gtk/Makefile.am:
527 2007-03-21 Matthew Allum <mallum@openedhand.com>
529 * doc/reference/Makefile.am:
530 Fix lib path so docs build again.
532 2007-03-21 Matthew Allum <mallum@openedhand.com>
534 * clutter-gtk/gtk-clutter.c:
535 * clutter-gtk/gtk-clutter.h:
536 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
537 Needs at least clutter 0.2.2. Avoids previous issues with
538 white textures when painting onto a GtkWindow.
539 (Thanks to Iain for doing all the hardwork here)
541 * examples/gtk-clutter-test.c: (main):
546 Fixups to require clutter-0.2.2
548 2006-11-30 Matthew Allum <mallum@openedhand.com>
551 Update doap file a little.
553 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
555 * clutter-gtk/gtk-clutter.c:
556 (gtk_clutter_expose_event): Queue a redraw of the
557 stage instead of directly swapping the GL buffers.
559 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
561 * clutter-gtk/gtk-clutter.c:
562 (gtk_clutter_expose_event): Use the newly added
563 clutter_stage_swap_buffers() and fix the missing redraw
566 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
568 * examples/gtk-clutter-test.c: Add a "quit" button.
570 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
572 * clutter-gtk/gtk-clutter.c:
573 (gtk_clutter_destroy): Destroy the ClutterStage instead
576 (gtk_clutter_size_allocate): Queue a redraw if the stage
577 is marked as visible.
579 (gtk_clutter_realize): Remove the forced realize: the
580 stage is already realized by default.
582 * examples/gtk-clutter-test.c: Use gtk_main_quit().
584 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
586 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
588 * clutter-gtk/gtk-clutter.c:
589 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
590 the stage unref to the GtkObject::destroy method.
592 (gtk_clutter_size_allocate): Oblige to the size allocation
593 request from the container of the GtkClutter widget by
594 resizing the ClutterStage.
596 (gtk_clutter_size_request): Require the size of the stage.
598 (gtk_clutter_destroy), (gtk_clutter_size_request),
599 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
600 macro, which does a type check and a function call; use the
601 priv pointer we conveniently keep around.
603 * examples/gtk-clutter-test.c: Use the given constructor;
604 now window resizing works. The stage doesn't get refreshed
605 immediately (resize the window), though, and there's still
606 the X error when we close the window.
608 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
610 * *: Initial import out of the main tree.