1 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com>
3 * clutter-gtk/gtk-clutter-embed.c:
4 (gtk_clutter_embed_focus_in),
5 (gtk_clutter_embed_focus_out),
6 (gtk_clutter_embed_class_init): Emit the ::activate and
7 ::deactivate signals on the stage when we get a ::focus-in-event
8 and a ::focus-out-event on the ClutterEmbed widget, respectively.
11 2008-11-13 Emmanuele Bassi <ebassi@linux.intel.com>
13 * clutter-gtk/gtk-clutter-viewport.c:
14 (viewport_set_hadjustment_values),
15 (viewport_set_vadjustment_values): Pass the width and height
16 instead of getting it from the actor.
19 (gtk_clutter_viewport_allocate): Update.
21 (gtk_clutter_viewport_get_preferred_width),
22 (gtk_clutter_viewport_get_preferred_height): The Viewport
23 does not have a minimum size, by definition of scrollable
26 * examples/gtk-clutter-viewport.c: Fix the arguments count
29 2008-10-31 Emmanuele Bassi <ebassi@linux.intel.com>
32 * clutter-gtk.pc.in: Remove last bits of 0.8 usage.
34 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
36 * clutter-gtk/gtk-clutter-embed.c:
37 (gtk_clutter_embed_motion_notify_event): Copy the motion
38 event modifier state like we do for the rest of the events.
40 2008-10-20 Emmanuele Bassi <ebassi@linux.intel.com>
42 * clutter-gtk/Makefile.am:
43 * examples/Makefile.am: Update the build.
45 * clutter-gtk/clutter-gtk.h: Added a single include header, and
46 disabled the inclusion of specific headers; this keeps the
47 library clean and future-proof, now that we have more than one
50 * clutter-gtk/gtk-clutter-embed.h:
51 * clutter-gtk/gtk-clutter-util.h: Disabled the direct inclusion
52 of a single header file.
54 * clutter-gtk/gtk-clutter-scrollable.c:
55 * clutter-gtk/gtk-clutter-scrollable.h: Added a GtkClutterScrollable
56 interface for scrollable actors using GtkAdjustments.
58 * clutter-gtk/gtk-clutter-viewport.c:
59 * clutter-gtk/gtk-clutter-viewport.h: Added a scrollable actor
60 implementing GtkClutterScrollable.
62 * doc/reference/Makefile.am:
63 * doc/reference/clutter-gtk-docs.sgml:
64 * doc/reference/clutter-gtk-sections.txt:
65 * doc/reference/clutter-gtk.types: Update the documentation.
67 * examples/gtk-clutter-events.c:
68 * examples/gtk-clutter-multistage.c:
69 * examples/gtk-clutter-test.c: Update to include clutter-gtk.h.
71 * examples/gtk-clutter-viewport.c: Added an example of
72 the GtkClutterViewport usage.
74 2008-10-15 Emmanuele Bassi <ebassi@linux.intel.com>
76 * configure.ac: Bump up to 0.9 now that we've branched.
78 2008-10-2 Robert Bragg <robert@linux.intel.com>
80 * clutter-gtk/doc/reference/Makefile.am:
81 reverts previous change: It's Poky that needs changing.
83 2008-10-2 Robert Bragg <robert@linux.intel.com>
84 * clutter-gtk/doc/reference/Makefile.am:
85 Dont use += to set EXTRA_DIST since there isn't a preceding = which
86 automake gets upset about. This means we can remove the patches
89 2008-09-25 Emmanuele Bassi <ebassi@linux.intel.com>
91 * clutter-gtk/gtk-clutter-util.[ch]: Add API for retrieving
92 the various color components out of a GtkWidget style in form
95 * doc/reference/clutter-gtk-sections.txt: Include the newly
96 added API in the generated reference.
98 2008-09-15 Emmanuele Bassi <emmanuele.bassi@intel.com>
100 Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
102 * clutter-gtk/gtk-clutter-embed.c:
103 (gtk_clutter_embed_scroll_event),
104 (gtk_clutter_embed_class_init): Add relaying of the scroll
105 events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
107 2008-08-05 Emmanuele Bassi <ebassi@openedhand.com>
109 * clutter-gtk/gtk-clutter-embed.c:
110 (gtk_clutter_embed_size_allocate): Queue a relayout on the stage
111 when we have an allocation from the GtkWidget.
113 2008-08-01 Neil Roberts <neil@o-hand.com>
115 * clutter-gtk/gtk-clutter-util.c
116 (gtk_clutter_texture_set_from_pixbuf)
117 (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
118 wrong way around so these two functions always failed.
120 2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
122 * clutter-gtk/gtk-clutter-util.c:
123 (gtk_clutter_texture_new_from_pixbuf),
124 (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
125 an alpha before setting the BPP.
127 ======== Clutter-GTK 0.8.1 ====================================================
129 2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
131 * NEWS: Release 0.8.1
133 2008-07-18 Neil Roberts <neil@o-hand.com>
135 * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
136 name of mask for motion events.
138 2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
140 * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
143 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
145 * configure.ac: Post-release bump to 0.8.1.
147 ======== Clutter-GTK 0.8.0 ====================================================
149 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
153 * NEWS: Release 0.8.0
155 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
157 * clutter-gtk.pc.in: Fix the inclusion directory
159 * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
160 to handle focus. Also remove the ClutterContainer implementation.
162 * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
163 gtk_clutter_texture_set_from_icon_name() helper function.
165 * configure.ac: Whitespace
167 * examples/gtk-clutter-test.c: Update.
169 2008-05-19 Tomas Frydrych <tf@openedhand.com>
171 * clutter-gtk/gtk-clutter-embed.c:
172 Fixed inclusion of clutter-x11.h following change in structure of
175 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
177 * clutter-gtk/gtk-clutter-embed.c:
178 (gtk_clutter_embed_init): Realize the stage before retrieving
181 2008-05-07 Matthew Allum <mallum@openedhand.com>
183 * clutter-gtk/gtk-clutter-embed.c:
184 Add motion event handling - fixes #907
186 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
188 * examples/gtk-clutter-test.c (main): Use the utility function
189 for creating a ClutterTexture using a GdkPixbuf.
191 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
193 Bug #876 - GtkClutterEmbed doesn't propagate events back down
196 * clutter-gtk/gtk-clutter-embed.c:
197 (gtk_clutter_embed_button_event),
198 (gtk_clutter_embed_key_event): Just return FALSE in the
201 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
203 * clutter-gtk/gtk-clutter-util.h:
204 * clutter-gtk/gtk-clutter-util.c:
205 (gtk_clutter_texture_new_from_pixbuf),
206 (gtk_clutter_texture_new_from_stock),
207 (gtk_clutter_texture_new_from_icon_name): Add utility functions
208 to create a ClutterTexture from a Pixbuf (to replace the
209 clutter_texture_from_pixbuf() call when it will be removed
210 from Clutter core); from a stock id; and from an icon name.
212 * examples/Makefile.am: Clean up.
214 * examples/gtk-clutter-events.c:
215 * examples/gtk-clutter-multistage.c: Use the new utility API.
217 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
219 * README: Update requirements
221 * clutter-gtk/gtk-clutter-embed.c:
222 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
224 (gtk_clutter_embed_realize),
225 (gtk_clutter_embed_init),
226 (gtk_clutter_init): Slight cleanup.
228 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
230 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
231 ClutterGtk to be able to retrieve the ClutterColor equivalent
232 of the various style color components of a GtkWidget.
234 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
236 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
239 * examples/gtk-clutter-events.c (create_colors): Test the newly
240 added color retrieval API.
242 2008-04-15 Neil Roberts <neil@o-hand.com>
244 * configure.ac: Added a --with-flavour option to select between
245 x11 and win32 versions. Defaults to x11.
247 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
248 and replace with Win32 equivalents.
249 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
250 the stage pointer when generating fake Clutter events otherwise
251 they just get ignored.
252 (gtk_clutter_embed_realize): Always request button and key events
253 in the window event mask. They aren't included by default on
256 * README (Requirements): Added a note about the minimum Clutter
257 version for the Win32 backend.
259 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
261 * clutter-gtk/gtk-clutter-embed.c:
262 (clutter_container_iface_init): Make GtkClutterEmbed implement
263 ClutterContainer, and proxy all virtual functions to the
266 * examples/gtk-clutter-test.c: (main): Add the group straight
267 to the GtkClutterEmbed widget to test the Container interface
270 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
272 * clutter-gtk/gtk-clutter-embed.c:
273 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
274 multiple calls to gtk_init() are safe.
276 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
279 * examples/gtk-clutter-events.c:
280 * examples/gtk-clutter-multistage.c:
281 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
282 out in case of failure.
284 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
286 * clutter-gtk/gtk-clutter-embed.c:
287 (gtk_clutter_embed_init): Update after upstream API change.
289 2008-04-01 Matthew Allum <mallum@openedhand.com>
291 * examples/Makefile.am:
292 * examples/gtk-clutter-multistage.c:
293 Add a *very* simple multiple stage example.
295 2008-04-01 Neil Roberts <neil@o-hand.com>
297 * examples/gtk-clutter-test.c (main): Moved the
298 clutter_actor_show_all call to after the parent widget is
299 shown. Otherwise all of the actors get unrealized when
300 clutter_x11_set_stage_foreign is called and nothing is displayed.
302 2008-04-01 Matthew Allum <mallum@openedhand.com>
304 * clutter-gtk/gtk-clutter-embed.c:
305 Update for latest trunk multistage.
306 Should now support multple widgets.
308 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
311 * clutter-gtk/Makefile.am:
312 * examples/Makefile.am: Post-release bump build fixes
314 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
316 2008-02-29 Matthew Allum <mallum@openedhand.com>
320 Bump up to unstable 0.7 version and clutter req.
322 * clutter-gtk/gtk-clutter-embed.c:
323 * clutter-gtk/gtk-clutter-embed.h:
324 Add clutter_gtk_init(), as to use new API to share DISPLAY and
325 turn off Clutter 'automatic' event collection.
327 expose - Queue a Clutter redraw.
328 map - set Actor mapped flag.
329 show/hide - Forward to stage also.
332 * examples/gtk-clutter-events.c:
333 Add some minor comments re when to call show_all().
335 * examples/gtk-clutter-test.c:
336 Fix event->actor mapping.
338 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
340 * clutter-gtk/gtk-clutter-embed.c:
341 (gtk_clutter_embed_send_configure): Emit a Configure event
342 with the coordinates for the widget area.
344 (gtk_clutter_embed_realize),
345 (gtk_clutter_embed_size_allocate): Send the configure event.
347 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
350 * NEWS: Release 0.6.0
352 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
354 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
355 never call clutter_actor_set_size() on the embedded stage, but
356 call gtk_widget_set_size_request() on the widget itself to
359 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
362 * NEWS: Release 0.5.2
364 * configure.ac: Post release bump to 0.5.3
366 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
368 * doc/reference/clutter-gtk-docs.sgml:
369 * doc/reference/clutter-gtk.types: Update with the widget name
372 * examples/gtk-clutter-test.c: Set a default size on the
373 widget to avoid the 0, 0 initial size.
375 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
377 * configure.ac: Fix srcdir detection.
379 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
381 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
384 * clutter-gtk.pc.in: Require clutter-x11-0.5.
386 * clutter-gtk/Makefile.am:
387 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
388 widget; this widget reverts back to the old, pre-XEMBED implementation
389 of an embeddable stage, by letting Clutter draw directly onto a
390 child GdkWindow, thanks to the fixes that went into Clutter
391 core. (#716, #717, #718, based on a patch by Havoc Pennington)
393 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
396 * examples/gtk-clutter-events.c:
397 * examples/gtk-clutter-test.c: Update the tests for the new API.
399 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
402 * README: Release 0.5.0
404 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
406 Update after the API changes in Clutter core
408 * clutter-gtk/clutter-gtk.c:
409 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
412 (gtk_clutter_map): Use the new X11 API for retrieving the
413 XID of the stage window.
415 (gtk_clutter_init): Set the widget as paintable and the stage
418 * examples/gtk-clutter-events.c:
419 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
420 clutter_actor_set_rotation() API.
422 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
424 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
426 * doc/reference/clutter-gtk-sections.txt:
427 * doc/reference/clutter-gtk-docs.sgml:
428 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
430 * examples/Makefile.am: Fix compilation of the examples
432 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
437 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
438 clutter-gtk-0.5 as well.
440 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
442 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
446 * clutter-gtk/Makefile.am: Update.
448 2007-08-03 Chris Lord,,, <chris@openedhand.com>
450 * doc/reference/Makefile.am:
451 Fix documentation building
453 2007-07-18 Neil J. Patel <njp@o-hand.com>
455 * examples/Makefile.am:
456 Point to new clutter-gtk library name.
458 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
460 * examples/gtk-clutter-events.c: Remove wrong casting around
461 the g_signal_connect() argument; this masked a weird memory
462 corruption bug happening when compiling outside the sources
465 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
467 * clutter-gtk/Makefile.am:
468 * clutter-gtk.pc.in: Install (and use) a versioned library, to
469 match the behaviour of clutter-core and the other integration
472 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
474 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
476 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
478 2007-07-06 Matthew Allum <mallum@openedhand.com>
483 Bump up version to 0.3.1
485 2007-07-06 Matthew Allum <mallum@openedhand.com>
488 Fix to require 0.3 clutter.
490 2007-06-11 Neil Jagdish Patel <njp@f7>
492 * examples/gtk-clutter-events.c: (create_colors):
493 Removed stray g_print
495 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
497 * examples/Makefile.am:
498 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
499 (on_x_changed), (on_y_changed), (on_z_changed),
500 (on_opacity_changed), (create_colors), (main):
501 Added another example whihc shows some interaction between gtk and
504 * examples/gtk-clutter-test.c: (main):
505 Updated to work with clutter-0.3
508 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
510 * configure.ac: Branch for development; bump to 0.3.0, to
511 match Clutter core version; require clutter-glx backend.
513 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
514 functions; add an "embedded" read-only property, which signals
515 whether the widget has successfully embedded the stage window;
516 use the new clutter_glx_get_stage_window() function.
518 * examples/gtk-clutter-test.c: Port to the new event API.
520 2007-03-23 Ross Burton <ross@openedhand.com>
523 Don't require any particular GTK+ version.
525 2007-03-23 Ross Burton <ross@openedhand.com>
527 * examples/Makefile.am:
530 ================= 2007-03-22 0.1 Release ========================
532 2007-03-22 Matthew Allum <mallum@openedhand.com>
535 Update for 0.1 Realease
537 2007-03-22 Matthew Allum <mallum@openedhand.com>
540 Update for 0.1 release
541 * doc/reference/clutter-gtk.types:
544 2007-03-22 Matthew Allum <mallum@openedhand.com>
546 * clutter-gtk/Makefile.am:
547 * clutter-gtk/clutter-gtk.c:
548 * clutter-gtk/gtk-clutter.c:
549 * clutter-gtk/gtk-clutter.h:
551 * examples/gtk-clutter-test.c:
552 Various naming fixups.
554 2007-03-21 Matthew Allum <mallum@openedhand.com>
557 * clutter-gtk/Makefile.am:
560 2007-03-21 Matthew Allum <mallum@openedhand.com>
562 * doc/reference/Makefile.am:
563 Fix lib path so docs build again.
565 2007-03-21 Matthew Allum <mallum@openedhand.com>
567 * clutter-gtk/gtk-clutter.c:
568 * clutter-gtk/gtk-clutter.h:
569 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
570 Needs at least clutter 0.2.2. Avoids previous issues with
571 white textures when painting onto a GtkWindow.
572 (Thanks to Iain for doing all the hardwork here)
574 * examples/gtk-clutter-test.c: (main):
579 Fixups to require clutter-0.2.2
581 2006-11-30 Matthew Allum <mallum@openedhand.com>
584 Update doap file a little.
586 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
588 * clutter-gtk/gtk-clutter.c:
589 (gtk_clutter_expose_event): Queue a redraw of the
590 stage instead of directly swapping the GL buffers.
592 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
594 * clutter-gtk/gtk-clutter.c:
595 (gtk_clutter_expose_event): Use the newly added
596 clutter_stage_swap_buffers() and fix the missing redraw
599 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
601 * examples/gtk-clutter-test.c: Add a "quit" button.
603 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
605 * clutter-gtk/gtk-clutter.c:
606 (gtk_clutter_destroy): Destroy the ClutterStage instead
609 (gtk_clutter_size_allocate): Queue a redraw if the stage
610 is marked as visible.
612 (gtk_clutter_realize): Remove the forced realize: the
613 stage is already realized by default.
615 * examples/gtk-clutter-test.c: Use gtk_main_quit().
617 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
619 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
621 * clutter-gtk/gtk-clutter.c:
622 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
623 the stage unref to the GtkObject::destroy method.
625 (gtk_clutter_size_allocate): Oblige to the size allocation
626 request from the container of the GtkClutter widget by
627 resizing the ClutterStage.
629 (gtk_clutter_size_request): Require the size of the stage.
631 (gtk_clutter_destroy), (gtk_clutter_size_request),
632 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
633 macro, which does a type check and a function call; use the
634 priv pointer we conveniently keep around.
636 * examples/gtk-clutter-test.c: Use the given constructor;
637 now window resizing works. The stage doesn't get refreshed
638 immediately (resize the window), though, and there's still
639 the X error when we close the window.
641 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
643 * *: Initial import out of the main tree.