1 2008-11-13 Emmanuele Bassi <ebassi@linux.intel.com>
3 * clutter-gtk/gtk-clutter-viewport.c:
4 (viewport_set_hadjustment_values),
5 (viewport_set_vadjustment_values): Pass the width and height
6 instead of getting it from the actor.
9 (gtk_clutter_viewport_allocate): Update.
11 (gtk_clutter_viewport_get_preferred_width),
12 (gtk_clutter_viewport_get_preferred_height): The Viewport
13 does not have a minimum size, by definition of scrollable
16 * examples/gtk-clutter-viewport.c: Fix the arguments count
19 2008-10-31 Emmanuele Bassi <ebassi@linux.intel.com>
22 * clutter-gtk.pc.in: Remove last bits of 0.8 usage.
24 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
26 * clutter-gtk/gtk-clutter-embed.c:
27 (gtk_clutter_embed_motion_notify_event): Copy the motion
28 event modifier state like we do for the rest of the events.
30 2008-10-20 Emmanuele Bassi <ebassi@linux.intel.com>
32 * clutter-gtk/Makefile.am:
33 * examples/Makefile.am: Update the build.
35 * clutter-gtk/clutter-gtk.h: Added a single include header, and
36 disabled the inclusion of specific headers; this keeps the
37 library clean and future-proof, now that we have more than one
40 * clutter-gtk/gtk-clutter-embed.h:
41 * clutter-gtk/gtk-clutter-util.h: Disabled the direct inclusion
42 of a single header file.
44 * clutter-gtk/gtk-clutter-scrollable.c:
45 * clutter-gtk/gtk-clutter-scrollable.h: Added a GtkClutterScrollable
46 interface for scrollable actors using GtkAdjustments.
48 * clutter-gtk/gtk-clutter-viewport.c:
49 * clutter-gtk/gtk-clutter-viewport.h: Added a scrollable actor
50 implementing GtkClutterScrollable.
52 * doc/reference/Makefile.am:
53 * doc/reference/clutter-gtk-docs.sgml:
54 * doc/reference/clutter-gtk-sections.txt:
55 * doc/reference/clutter-gtk.types: Update the documentation.
57 * examples/gtk-clutter-events.c:
58 * examples/gtk-clutter-multistage.c:
59 * examples/gtk-clutter-test.c: Update to include clutter-gtk.h.
61 * examples/gtk-clutter-viewport.c: Added an example of
62 the GtkClutterViewport usage.
64 2008-10-15 Emmanuele Bassi <ebassi@linux.intel.com>
66 * configure.ac: Bump up to 0.9 now that we've branched.
68 2008-10-2 Robert Bragg <robert@linux.intel.com>
70 * clutter-gtk/doc/reference/Makefile.am:
71 reverts previous change: It's Poky that needs changing.
73 2008-10-2 Robert Bragg <robert@linux.intel.com>
74 * clutter-gtk/doc/reference/Makefile.am:
75 Dont use += to set EXTRA_DIST since there isn't a preceding = which
76 automake gets upset about. This means we can remove the patches
79 2008-09-25 Emmanuele Bassi <ebassi@linux.intel.com>
81 * clutter-gtk/gtk-clutter-util.[ch]: Add API for retrieving
82 the various color components out of a GtkWidget style in form
85 * doc/reference/clutter-gtk-sections.txt: Include the newly
86 added API in the generated reference.
88 2008-09-15 Emmanuele Bassi <emmanuele.bassi@intel.com>
90 Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
92 * clutter-gtk/gtk-clutter-embed.c:
93 (gtk_clutter_embed_scroll_event),
94 (gtk_clutter_embed_class_init): Add relaying of the scroll
95 events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
97 2008-08-05 Emmanuele Bassi <ebassi@openedhand.com>
99 * clutter-gtk/gtk-clutter-embed.c:
100 (gtk_clutter_embed_size_allocate): Queue a relayout on the stage
101 when we have an allocation from the GtkWidget.
103 2008-08-01 Neil Roberts <neil@o-hand.com>
105 * clutter-gtk/gtk-clutter-util.c
106 (gtk_clutter_texture_set_from_pixbuf)
107 (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
108 wrong way around so these two functions always failed.
110 2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
112 * clutter-gtk/gtk-clutter-util.c:
113 (gtk_clutter_texture_new_from_pixbuf),
114 (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
115 an alpha before setting the BPP.
117 ======== Clutter-GTK 0.8.1 ====================================================
119 2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
121 * NEWS: Release 0.8.1
123 2008-07-18 Neil Roberts <neil@o-hand.com>
125 * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
126 name of mask for motion events.
128 2008-07-16 Emmanuele Bassi <ebassi@openedhand.com>
130 * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
133 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
135 * configure.ac: Post-release bump to 0.8.1.
137 ======== Clutter-GTK 0.8.0 ====================================================
139 2008-07-15 Emmanuele Bassi <ebassi@openedhand.com>
143 * NEWS: Release 0.8.0
145 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
147 * clutter-gtk.pc.in: Fix the inclusion directory
149 * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
150 to handle focus. Also remove the ClutterContainer implementation.
152 * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
153 gtk_clutter_texture_set_from_icon_name() helper function.
155 * configure.ac: Whitespace
157 * examples/gtk-clutter-test.c: Update.
159 2008-05-19 Tomas Frydrych <tf@openedhand.com>
161 * clutter-gtk/gtk-clutter-embed.c:
162 Fixed inclusion of clutter-x11.h following change in structure of
165 2008-05-15 Emmanuele Bassi <ebassi@openedhand.com>
167 * clutter-gtk/gtk-clutter-embed.c:
168 (gtk_clutter_embed_init): Realize the stage before retrieving
171 2008-05-07 Matthew Allum <mallum@openedhand.com>
173 * clutter-gtk/gtk-clutter-embed.c:
174 Add motion event handling - fixes #907
176 2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
178 * examples/gtk-clutter-test.c (main): Use the utility function
179 for creating a ClutterTexture using a GdkPixbuf.
181 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
183 Bug #876 - GtkClutterEmbed doesn't propagate events back down
186 * clutter-gtk/gtk-clutter-embed.c:
187 (gtk_clutter_embed_button_event),
188 (gtk_clutter_embed_key_event): Just return FALSE in the
191 2008-04-21 Emmanuele Bassi <ebassi@openedhand.com>
193 * clutter-gtk/gtk-clutter-util.h:
194 * clutter-gtk/gtk-clutter-util.c:
195 (gtk_clutter_texture_new_from_pixbuf),
196 (gtk_clutter_texture_new_from_stock),
197 (gtk_clutter_texture_new_from_icon_name): Add utility functions
198 to create a ClutterTexture from a Pixbuf (to replace the
199 clutter_texture_from_pixbuf() call when it will be removed
200 from Clutter core); from a stock id; and from an icon name.
202 * examples/Makefile.am: Clean up.
204 * examples/gtk-clutter-events.c:
205 * examples/gtk-clutter-multistage.c: Use the new utility API.
207 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
209 * README: Update requirements
211 * clutter-gtk/gtk-clutter-embed.c:
212 (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
214 (gtk_clutter_embed_realize),
215 (gtk_clutter_embed_init),
216 (gtk_clutter_init): Slight cleanup.
218 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
220 * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
221 ClutterGtk to be able to retrieve the ClutterColor equivalent
222 of the various style color components of a GtkWidget.
224 * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
226 * doc/reference/clutter-gtk-docs.sgml: Add the new section in
229 * examples/gtk-clutter-events.c (create_colors): Test the newly
230 added color retrieval API.
232 2008-04-15 Neil Roberts <neil@o-hand.com>
234 * configure.ac: Added a --with-flavour option to select between
235 x11 and win32 versions. Defaults to x11.
237 * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
238 and replace with Win32 equivalents.
239 (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
240 the stage pointer when generating fake Clutter events otherwise
241 they just get ignored.
242 (gtk_clutter_embed_realize): Always request button and key events
243 in the window event mask. They aren't included by default on
246 * README (Requirements): Added a note about the minimum Clutter
247 version for the Win32 backend.
249 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
251 * clutter-gtk/gtk-clutter-embed.c:
252 (clutter_container_iface_init): Make GtkClutterEmbed implement
253 ClutterContainer, and proxy all virtual functions to the
256 * examples/gtk-clutter-test.c: (main): Add the group straight
257 to the GtkClutterEmbed widget to test the Container interface
260 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
262 * clutter-gtk/gtk-clutter-embed.c:
263 (gtk_clutter_init): Call gtk_init_check(); this is safe, because
264 multiple calls to gtk_init() are safe.
266 * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
269 * examples/gtk-clutter-events.c:
270 * examples/gtk-clutter-multistage.c:
271 * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
272 out in case of failure.
274 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com>
276 * clutter-gtk/gtk-clutter-embed.c:
277 (gtk_clutter_embed_init): Update after upstream API change.
279 2008-04-01 Matthew Allum <mallum@openedhand.com>
281 * examples/Makefile.am:
282 * examples/gtk-clutter-multistage.c:
283 Add a *very* simple multiple stage example.
285 2008-04-01 Neil Roberts <neil@o-hand.com>
287 * examples/gtk-clutter-test.c (main): Moved the
288 clutter_actor_show_all call to after the parent widget is
289 shown. Otherwise all of the actors get unrealized when
290 clutter_x11_set_stage_foreign is called and nothing is displayed.
292 2008-04-01 Matthew Allum <mallum@openedhand.com>
294 * clutter-gtk/gtk-clutter-embed.c:
295 Update for latest trunk multistage.
296 Should now support multple widgets.
298 2008-02-29 Emmanuele Bassi <ebassi@openedhand.com>
301 * clutter-gtk/Makefile.am:
302 * examples/Makefile.am: Post-release bump build fixes
304 * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
306 2008-02-29 Matthew Allum <mallum@openedhand.com>
310 Bump up to unstable 0.7 version and clutter req.
312 * clutter-gtk/gtk-clutter-embed.c:
313 * clutter-gtk/gtk-clutter-embed.h:
314 Add clutter_gtk_init(), as to use new API to share DISPLAY and
315 turn off Clutter 'automatic' event collection.
317 expose - Queue a Clutter redraw.
318 map - set Actor mapped flag.
319 show/hide - Forward to stage also.
322 * examples/gtk-clutter-events.c:
323 Add some minor comments re when to call show_all().
325 * examples/gtk-clutter-test.c:
326 Fix event->actor mapping.
328 2008-02-21 Emmanuele Bassi <ebassi@openedhand.com>
330 * clutter-gtk/gtk-clutter-embed.c:
331 (gtk_clutter_embed_send_configure): Emit a Configure event
332 with the coordinates for the widget area.
334 (gtk_clutter_embed_realize),
335 (gtk_clutter_embed_size_allocate): Send the configure event.
337 2008-02-18 Emmanuele Bassi <ebassi@openedhand.com>
340 * NEWS: Release 0.6.0
342 2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
344 * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
345 never call clutter_actor_set_size() on the embedded stage, but
346 call gtk_widget_set_size_request() on the widget itself to
349 2008-01-25 Emmanuele Bassi <ebassi@openedhand.com>
352 * NEWS: Release 0.5.2
354 * configure.ac: Post release bump to 0.5.3
356 2008-01-24 Emmanuele Bassi <ebassi@openedhand.com>
358 * doc/reference/clutter-gtk-docs.sgml:
359 * doc/reference/clutter-gtk.types: Update with the widget name
362 * examples/gtk-clutter-test.c: Set a default size on the
363 widget to avoid the 0, 0 initial size.
365 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
367 * configure.ac: Fix srcdir detection.
369 2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
371 * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
374 * clutter-gtk.pc.in: Require clutter-x11-0.5.
376 * clutter-gtk/Makefile.am:
377 * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
378 widget; this widget reverts back to the old, pre-XEMBED implementation
379 of an embeddable stage, by letting Clutter draw directly onto a
380 child GdkWindow, thanks to the fixes that went into Clutter
381 core. (#716, #717, #718, based on a patch by Havoc Pennington)
383 * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
386 * examples/gtk-clutter-events.c:
387 * examples/gtk-clutter-test.c: Update the tests for the new API.
389 2008-01-17 Emmanuele Bassi <ebassi@openedhand.com>
392 * README: Release 0.5.0
394 2007-12-04 Emmanuele Bassi <ebassi@openedhand.com>
396 Update after the API changes in Clutter core
398 * clutter-gtk/clutter-gtk.c:
399 (gtk_clutter_destroy): Do not call clutter_actor_destroy()
402 (gtk_clutter_map): Use the new X11 API for retrieving the
403 XID of the stage window.
405 (gtk_clutter_init): Set the widget as paintable and the stage
408 * examples/gtk-clutter-events.c:
409 (on_x_changed), (on_y_changed), (on_z_changed): Use the new
410 clutter_actor_set_rotation() API.
412 * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
414 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
416 * doc/reference/clutter-gtk-sections.txt:
417 * doc/reference/clutter-gtk-docs.sgml:
418 * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
420 * examples/Makefile.am: Fix compilation of the examples
422 2007-08-15 Emmanuele Bassi <ebassi@openedhand.com>
427 * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
428 clutter-gtk-0.5 as well.
430 2007-08-07 Emmanuele Bassi <ebassi@openedhand.com>
432 * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
436 * clutter-gtk/Makefile.am: Update.
438 2007-08-03 Chris Lord,,, <chris@openedhand.com>
440 * doc/reference/Makefile.am:
441 Fix documentation building
443 2007-07-18 Neil J. Patel <njp@o-hand.com>
445 * examples/Makefile.am:
446 Point to new clutter-gtk library name.
448 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
450 * examples/gtk-clutter-events.c: Remove wrong casting around
451 the g_signal_connect() argument; this masked a weird memory
452 corruption bug happening when compiling outside the sources
455 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
457 * clutter-gtk/Makefile.am:
458 * clutter-gtk.pc.in: Install (and use) a versioned library, to
459 match the behaviour of clutter-core and the other integration
462 2007-07-17 Emmanuele Bassi <ebassi@openedhand.com>
464 * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
466 * Makefile.am: Install a versioned clutter-gtk pkgconfig file
468 2007-07-06 Matthew Allum <mallum@openedhand.com>
473 Bump up version to 0.3.1
475 2007-07-06 Matthew Allum <mallum@openedhand.com>
478 Fix to require 0.3 clutter.
480 2007-06-11 Neil Jagdish Patel <njp@f7>
482 * examples/gtk-clutter-events.c: (create_colors):
483 Removed stray g_print
485 2007-06-11 Neil Jagdish Patel <njp@o-hand.com>
487 * examples/Makefile.am:
488 * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
489 (on_x_changed), (on_y_changed), (on_z_changed),
490 (on_opacity_changed), (create_colors), (main):
491 Added another example whihc shows some interaction between gtk and
494 * examples/gtk-clutter-test.c: (main):
495 Updated to work with clutter-0.3
498 2007-04-17 Emmanuele Bassi <ebassi@openedhand.com>
500 * configure.ac: Branch for development; bump to 0.3.0, to
501 match Clutter core version; require clutter-glx backend.
503 * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
504 functions; add an "embedded" read-only property, which signals
505 whether the widget has successfully embedded the stage window;
506 use the new clutter_glx_get_stage_window() function.
508 * examples/gtk-clutter-test.c: Port to the new event API.
510 2007-03-23 Ross Burton <ross@openedhand.com>
513 Don't require any particular GTK+ version.
515 2007-03-23 Ross Burton <ross@openedhand.com>
517 * examples/Makefile.am:
520 ================= 2007-03-22 0.1 Release ========================
522 2007-03-22 Matthew Allum <mallum@openedhand.com>
525 Update for 0.1 Realease
527 2007-03-22 Matthew Allum <mallum@openedhand.com>
530 Update for 0.1 release
531 * doc/reference/clutter-gtk.types:
534 2007-03-22 Matthew Allum <mallum@openedhand.com>
536 * clutter-gtk/Makefile.am:
537 * clutter-gtk/clutter-gtk.c:
538 * clutter-gtk/gtk-clutter.c:
539 * clutter-gtk/gtk-clutter.h:
541 * examples/gtk-clutter-test.c:
542 Various naming fixups.
544 2007-03-21 Matthew Allum <mallum@openedhand.com>
547 * clutter-gtk/Makefile.am:
550 2007-03-21 Matthew Allum <mallum@openedhand.com>
552 * doc/reference/Makefile.am:
553 Fix lib path so docs build again.
555 2007-03-21 Matthew Allum <mallum@openedhand.com>
557 * clutter-gtk/gtk-clutter.c:
558 * clutter-gtk/gtk-clutter.h:
559 Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
560 Needs at least clutter 0.2.2. Avoids previous issues with
561 white textures when painting onto a GtkWindow.
562 (Thanks to Iain for doing all the hardwork here)
564 * examples/gtk-clutter-test.c: (main):
569 Fixups to require clutter-0.2.2
571 2006-11-30 Matthew Allum <mallum@openedhand.com>
574 Update doap file a little.
576 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
578 * clutter-gtk/gtk-clutter.c:
579 (gtk_clutter_expose_event): Queue a redraw of the
580 stage instead of directly swapping the GL buffers.
582 2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
584 * clutter-gtk/gtk-clutter.c:
585 (gtk_clutter_expose_event): Use the newly added
586 clutter_stage_swap_buffers() and fix the missing redraw
589 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
591 * examples/gtk-clutter-test.c: Add a "quit" button.
593 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
595 * clutter-gtk/gtk-clutter.c:
596 (gtk_clutter_destroy): Destroy the ClutterStage instead
599 (gtk_clutter_size_allocate): Queue a redraw if the stage
600 is marked as visible.
602 (gtk_clutter_realize): Remove the forced realize: the
603 stage is already realized by default.
605 * examples/gtk-clutter-test.c: Use gtk_main_quit().
607 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
609 * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
611 * clutter-gtk/gtk-clutter.c:
612 (gtk_clutter_destroy), (gtk_clutter_class_init): Move
613 the stage unref to the GtkObject::destroy method.
615 (gtk_clutter_size_allocate): Oblige to the size allocation
616 request from the container of the GtkClutter widget by
617 resizing the ClutterStage.
619 (gtk_clutter_size_request): Require the size of the stage.
621 (gtk_clutter_destroy), (gtk_clutter_size_request),
622 (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
623 macro, which does a type check and a function call; use the
624 priv pointer we conveniently keep around.
626 * examples/gtk-clutter-test.c: Use the given constructor;
627 now window resizing works. The stage doesn't get refreshed
628 immediately (resize the window), though, and there's still
629 the X error when we close the window.
631 2006-11-29 Emmanuele Bassi <ebassi@openedhand.com>
633 * *: Initial import out of the main tree.