2008-10-15 Emmanuele Bassi <ebassi@linux.intel.com>
[clutter-gtk] / ChangeLog
1 2008-10-15  Emmanuele Bassi  <ebassi@linux.intel.com>
2
3         * configure.ac: Bump up to 0.9 now that we've branched.
4
5 2008-10-2  Robert Bragg  <robert@linux.intel.com>
6         
7         * clutter-gtk/doc/reference/Makefile.am:
8         reverts previous change: It's Poky that needs changing.
9
10 2008-10-2  Robert Bragg  <robert@linux.intel.com>
11         * clutter-gtk/doc/reference/Makefile.am:
12         Dont use += to set EXTRA_DIST since there isn't a preceding = which
13         automake gets upset about. This means we can remove the patches
14         fixing this in Poky.
15
16 2008-09-25  Emmanuele Bassi  <ebassi@linux.intel.com>
17
18         * clutter-gtk/gtk-clutter-util.[ch]: Add API for retrieving
19         the various color components out of a GtkWidget style in form
20         of a ClutterColor.
21
22         * doc/reference/clutter-gtk-sections.txt: Include the newly
23         added API in the generated reference.
24
25 2008-09-15  Emmanuele Bassi  <emmanuele.bassi@intel.com>
26
27         Bug 1114 - Mouse wheel events ignored in GtkClutterEmbed
28
29         * clutter-gtk/gtk-clutter-embed.c:
30         (gtk_clutter_embed_scroll_event),
31         (gtk_clutter_embed_class_init): Add relaying of the scroll
32         events from GTK+ to Clutter. (Pierre-Luc Beaudoin)
33
34 2008-08-05  Emmanuele Bassi  <ebassi@openedhand.com>
35
36         * clutter-gtk/gtk-clutter-embed.c:
37         (gtk_clutter_embed_size_allocate): Queue a relayout on the stage
38         when we have an allocation from the GtkWidget.
39
40 2008-08-01  Neil Roberts  <neil@o-hand.com>
41
42         * clutter-gtk/gtk-clutter-util.c
43         (gtk_clutter_texture_set_from_pixbuf)
44         (gtk_clutter_texture_new_from_pixbuf): The bpp values were the
45         wrong way around so these two functions always failed.
46
47 2008-07-31  Emmanuele Bassi  <ebassi@openedhand.com>
48
49         * clutter-gtk/gtk-clutter-util.c:
50         (gtk_clutter_texture_new_from_pixbuf),
51         (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
52         an alpha before setting the BPP.
53
54 ======== Clutter-GTK 0.8.1 ====================================================
55
56 2008-07-18  Emmanuele Bassi  <ebassi@openedhand.com>
57
58         * NEWS: Release 0.8.1
59
60 2008-07-18  Neil Roberts  <neil@o-hand.com>
61
62         * clutter-gtk/gtk-clutter-embed.c (gtk_clutter_embed_realize): Fix
63         name of mask for motion events.
64
65 2008-07-16  Emmanuele Bassi  <ebassi@openedhand.com>
66
67         * clutter-gtk.pc.in: Fix the pkg-config file. (Ignacio Casal
68         Quinteiro)
69
70 2008-07-15  Emmanuele Bassi  <ebassi@openedhand.com>
71
72         * configure.ac: Post-release bump to 0.8.1.
73
74 ======== Clutter-GTK 0.8.0 ====================================================
75
76 2008-07-15  Emmanuele Bassi  <ebassi@openedhand.com>
77
78         * configure.ac:
79         * README:
80         * NEWS: Release 0.8.0
81
82 2008-07-04  Emmanuele Bassi  <ebassi@openedhand.com>
83
84         * clutter-gtk.pc.in: Fix the inclusion directory
85
86         * clutter-gtk/gtk-clutter-embed.c: Synch up with the stable branch
87         to handle focus. Also remove the ClutterContainer implementation.
88
89         * clutter-gtk/gtk-clutter-util.[ch]: Fully document and add the
90         gtk_clutter_texture_set_from_icon_name() helper function.
91
92         * configure.ac: Whitespace
93
94         * examples/gtk-clutter-test.c: Update.
95
96 2008-05-19  Tomas Frydrych  <tf@openedhand.com>
97
98         * clutter-gtk/gtk-clutter-embed.c:
99         Fixed inclusion of clutter-x11.h following change in structure of
100         clutter includes.
101
102 2008-05-15  Emmanuele Bassi  <ebassi@openedhand.com>
103
104         * clutter-gtk/gtk-clutter-embed.c:
105         (gtk_clutter_embed_init): Realize the stage before retrieving
106         the visual from it.
107
108 2008-05-07  Matthew Allum  <mallum@openedhand.com>
109
110         * clutter-gtk/gtk-clutter-embed.c:
111         Add motion event handling - fixes #907
112
113 2008-04-24  Emmanuele Bassi  <ebassi@openedhand.com>
114
115         * examples/gtk-clutter-test.c (main): Use the utility function
116         for creating a ClutterTexture using a GdkPixbuf.
117
118 2008-04-21  Emmanuele Bassi  <ebassi@openedhand.com>
119
120         Bug #876 - GtkClutterEmbed doesn't propagate events back down
121         to the GtkWindow
122
123         * clutter-gtk/gtk-clutter-embed.c:
124         (gtk_clutter_embed_button_event),
125         (gtk_clutter_embed_key_event): Just return FALSE in the
126         event handlers.
127
128 2008-04-21  Emmanuele Bassi  <ebassi@openedhand.com>
129
130         * clutter-gtk/gtk-clutter-util.h:
131         * clutter-gtk/gtk-clutter-util.c:
132         (gtk_clutter_texture_new_from_pixbuf),
133         (gtk_clutter_texture_new_from_stock),
134         (gtk_clutter_texture_new_from_icon_name): Add utility functions
135         to create a ClutterTexture from a Pixbuf (to replace the
136         clutter_texture_from_pixbuf() call when it will be removed
137         from Clutter core); from a stock id; and from an icon name.
138
139         * examples/Makefile.am: Clean up.
140
141         * examples/gtk-clutter-events.c:
142         * examples/gtk-clutter-multistage.c: Use the new utility API.
143
144 2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>
145
146         * README: Update requirements
147
148         * clutter-gtk/gtk-clutter-embed.c:
149         (gtk_clutter_embed_dispose): Destroy the ClutterStage we create.
150
151         (gtk_clutter_embed_realize),
152         (gtk_clutter_embed_init),
153         (gtk_clutter_init): Slight cleanup.
154
155 2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>
156
157         * clutter-gtk/gtk-clutter-util.[ch]: Add utility functions to
158         ClutterGtk to be able to retrieve the ClutterColor equivalent
159         of the various style color components of a GtkWidget.
160
161         * clutter-gtk/Makefile.am: Add gtk-clutter-util.[ch] to the build.
162
163         * doc/reference/clutter-gtk-docs.sgml: Add the new section in
164         the documentation.
165
166         * examples/gtk-clutter-events.c (create_colors): Test the newly
167         added color retrieval API.
168
169 2008-04-15  Neil Roberts  <neil@o-hand.com>
170
171         * configure.ac: Added a --with-flavour option to select between
172         x11 and win32 versions. Defaults to x11.
173
174         * clutter-gtk/gtk-clutter-embed.c: ifdef out X11 specific calls
175         and replace with Win32 equivalents.
176         (gtk_clutter_embed_key_event, gtk_clutter_embed_button_event): Set
177         the stage pointer when generating fake Clutter events otherwise
178         they just get ignored.
179         (gtk_clutter_embed_realize): Always request button and key events
180         in the window event mask. They aren't included by default on
181         Windows.
182
183         * README (Requirements): Added a note about the minimum Clutter
184         version for the Win32 backend.
185
186 2008-04-11  Emmanuele Bassi  <ebassi@openedhand.com>
187
188         * clutter-gtk/gtk-clutter-embed.c:
189         (clutter_container_iface_init): Make GtkClutterEmbed implement
190         ClutterContainer, and proxy all virtual functions to the
191         embedded Stage.
192
193         * examples/gtk-clutter-test.c: (main): Add the group straight
194         to the GtkClutterEmbed widget to test the Container interface
195         implementation.
196
197 2008-04-11  Emmanuele Bassi  <ebassi@openedhand.com>
198
199         * clutter-gtk/gtk-clutter-embed.c:
200         (gtk_clutter_init): Call gtk_init_check(); this is safe, because
201         multiple calls to gtk_init() are safe.
202
203         * clutter-gtk/gtk-clutter-embed.h: Extend the ClutterInitError
204         enumeration.
205
206         * examples/gtk-clutter-events.c:
207         * examples/gtk-clutter-multistage.c:
208         * examples/gtk-clutter-test.c: Call gtk_clutter_init() and error
209         out in case of failure.
210
211 2008-04-04  Emmanuele Bassi  <ebassi@openedhand.com>
212
213         * clutter-gtk/gtk-clutter-embed.c:
214         (gtk_clutter_embed_init): Update after upstream API change.
215
216 2008-04-01  Matthew Allum  <mallum@openedhand.com>
217
218         * examples/Makefile.am:
219         * examples/gtk-clutter-multistage.c:
220         Add a *very* simple multiple stage example.
221
222 2008-04-01  Neil Roberts  <neil@o-hand.com>
223
224         * examples/gtk-clutter-test.c (main): Moved the
225         clutter_actor_show_all call to after the parent widget is
226         shown. Otherwise all of the actors get unrealized when
227         clutter_x11_set_stage_foreign is called and nothing is displayed.
228
229 2008-04-01  Matthew Allum  <mallum@openedhand.com>
230
231         * clutter-gtk/gtk-clutter-embed.c:
232         Update for latest trunk multistage.
233         Should now support multple widgets.
234
235 2008-02-29  Emmanuele Bassi  <ebassi@openedhand.com>
236
237         * Makefile.am:
238         * clutter-gtk/Makefile.am:
239         * examples/Makefile.am: Post-release bump build fixes
240
241         * clutter-gtk/gtk-clutter-embed.c: Extend documentation.
242
243 2008-02-29  Matthew Allum  <mallum@openedhand.com>
244
245         * clutter-gtk.pc.in:
246         * configure.ac:
247         Bump up to unstable 0.7 version and clutter req.
248
249         * clutter-gtk/gtk-clutter-embed.c:
250         * clutter-gtk/gtk-clutter-embed.h:
251         Add clutter_gtk_init(), as to use new API to share DISPLAY and
252         turn off Clutter 'automatic' event collection.
253         Add methods for;
254           expose    - Queue a Clutter redraw.
255           map       - set Actor mapped flag.
256           show/hide - Forward to stage also.
257         Minor doc additions.
258
259         * examples/gtk-clutter-events.c:
260         Add some minor comments re when to call show_all().
261
262         * examples/gtk-clutter-test.c:
263         Fix event->actor mapping.
264
265 2008-02-21  Emmanuele Bassi  <ebassi@openedhand.com>
266
267         * clutter-gtk/gtk-clutter-embed.c:
268         (gtk_clutter_embed_send_configure): Emit a Configure event
269         with the coordinates for the widget area.
270
271         (gtk_clutter_embed_realize),
272         (gtk_clutter_embed_size_allocate): Send the configure event.
273
274 2008-02-18  Emmanuele Bassi  <ebassi@openedhand.com>
275
276         * README:
277         * NEWS: Release 0.6.0
278
279 2008-02-07  Emmanuele Bassi  <ebassi@openedhand.com>
280
281         * clutter-gtk/gtk-clutter-embed.c: Explicitly note that you should
282         never call clutter_actor_set_size() on the embedded stage, but
283         call gtk_widget_set_size_request() on the widget itself to
284         resize the stage.
285
286 2008-01-25  Emmanuele Bassi  <ebassi@openedhand.com>
287
288         * README:
289         * NEWS: Release 0.5.2
290
291         * configure.ac: Post release bump to 0.5.3
292
293 2008-01-24  Emmanuele Bassi  <ebassi@openedhand.com>
294
295         * doc/reference/clutter-gtk-docs.sgml:
296         * doc/reference/clutter-gtk.types: Update with the widget name
297         change.
298
299         * examples/gtk-clutter-test.c: Set a default size on the
300         widget to avoid the 0, 0 initial size.
301
302 2008-01-23  Emmanuele Bassi  <ebassi@openedhand.com>
303
304         * configure.ac: Fix srcdir detection.
305
306 2008-01-23  Emmanuele Bassi  <ebassi@openedhand.com>
307
308         * configure.ac: Bump up to 0.5.1 and require Clutter 0.5.3
309         using clutter-x11.
310
311         * clutter-gtk.pc.in: Require clutter-x11-0.5.
312
313         * clutter-gtk/Makefile.am:
314         * clutter-gtk/gtk-clutter-embed.[ch]: Add the new GtkClutterEmbed
315         widget; this widget reverts back to the old, pre-XEMBED implementation
316         of an embeddable stage, by letting Clutter draw directly onto a
317         child GdkWindow, thanks to the fixes that went into Clutter
318         core. (#716, #717, #718, based on a patch by Havoc Pennington)
319
320         * clutter-gtk/clutter-gtk.[ch]: Remove the XEMBED based embeddable
321         widget.
322
323         * examples/gtk-clutter-events.c:
324         * examples/gtk-clutter-test.c: Update the tests for the new API.
325
326 2008-01-17  Emmanuele Bassi  <ebassi@openedhand.com>
327
328         * NEWS:
329         * README: Release 0.5.0
330
331 2007-12-04  Emmanuele Bassi  <ebassi@openedhand.com>
332
333         Update after the API changes in Clutter core
334
335         * clutter-gtk/clutter-gtk.c:
336         (gtk_clutter_destroy): Do not call clutter_actor_destroy()
337         on the stage.
338
339         (gtk_clutter_map): Use the new X11 API for retrieving the
340         XID of the stage window.
341
342         (gtk_clutter_init): Set the widget as paintable and the stage
343         as resizable.
344
345         * examples/gtk-clutter-events.c:
346         (on_x_changed), (on_y_changed), (on_z_changed): Use the new
347         clutter_actor_set_rotation() API.
348
349         * examples/gtk-clutter-test.c (frame_cb): Ditto as above.
350
351 2007-08-20  Emmanuele Bassi  <ebassi@openedhand.com>
352
353         * doc/reference/clutter-gtk-sections.txt:
354         * doc/reference/clutter-gtk-docs.sgml:
355         * clutter-gtk/clutter-gtk.[ch]: Fix API reference.
356
357         * examples/Makefile.am: Fix compilation of the examples
358
359 2007-08-15  Emmanuele Bassi  <ebassi@openedhand.com>
360
361         * configure.ac:
362         * clutter-gtk.pc.in:
363         * Makefile.am:
364         * clutter-gtk/Makefile.am: Bump up to 0.5.0 and require
365         clutter-gtk-0.5 as well.
366
367 2007-08-07  Emmanuele Bassi  <ebassi@openedhand.com>
368
369         * configure.ac: Bump up to 0.4.0; require clutter-glx-0.4.
370
371         * clutter-gtk.pc.in:
372         * Makefile.am:
373         * clutter-gtk/Makefile.am: Update.
374
375 2007-08-03  Chris Lord,,,  <chris@openedhand.com>
376
377         * doc/reference/Makefile.am:
378         Fix documentation building
379
380 2007-07-18  Neil J. Patel  <njp@o-hand.com>
381
382         * examples/Makefile.am:
383         Point to new clutter-gtk library name.
384
385 2007-07-17  Emmanuele Bassi  <ebassi@openedhand.com>
386
387         * examples/gtk-clutter-events.c: Remove wrong casting around
388         the g_signal_connect() argument; this masked a weird memory
389         corruption bug happening when compiling outside the sources
390         directory.
391
392 2007-07-17  Emmanuele Bassi  <ebassi@openedhand.com>
393
394         * clutter-gtk/Makefile.am:
395         * clutter-gtk.pc.in: Install (and use) a versioned library, to
396         match the behaviour of clutter-core and the other integration
397         libraries.
398
399 2007-07-17  Emmanuele Bassi  <ebassi@openedhand.com>
400
401         * clutter-gtk.pc.in: Depend on the right clutter pkgconfig file
402
403         * Makefile.am: Install a versioned clutter-gtk pkgconfig file
404
405 2007-07-06  Matthew Allum  <mallum@openedhand.com>
406
407         * NEWS:
408         Update.
409         * configure.ac:
410         Bump up version to 0.3.1
411
412 2007-07-06  Matthew Allum  <mallum@openedhand.com>
413
414         * clutter-gtk.pc.in:
415         Fix to require 0.3 clutter.
416
417 2007-06-11  Neil Jagdish Patel  <njp@f7>
418
419         * examples/gtk-clutter-events.c: (create_colors):
420         Removed stray g_print
421
422 2007-06-11  Neil Jagdish Patel  <njp@o-hand.com>
423
424         * examples/Makefile.am:
425         * examples/gtk-clutter-events.c: (on_gtk_entry_changed),
426         (on_x_changed), (on_y_changed), (on_z_changed),
427         (on_opacity_changed), (create_colors), (main):
428         Added another example whihc shows some interaction between gtk and
429         the stage.
430
431         * examples/gtk-clutter-test.c: (main):
432         Updated to work with clutter-0.3
433
434
435 2007-04-17  Emmanuele Bassi  <ebassi@openedhand.com>
436
437         * configure.ac: Branch for development; bump to 0.3.0, to
438         match Clutter core version; require clutter-glx backend.
439
440         * clutter-gtk/clutter-gtk.c: Include the GLX backend specific
441         functions; add an "embedded" read-only property, which signals
442         whether the widget has successfully embedded the stage window;
443         use the new clutter_glx_get_stage_window() function.
444
445         * examples/gtk-clutter-test.c: Port to the new event API.
446
447 2007-03-23  Ross Burton  <ross@openedhand.com>
448
449         * configure.ac:
450         Don't require any particular GTK+ version.
451
452 2007-03-23  Ross Burton  <ross@openedhand.com>
453
454         * examples/Makefile.am:
455         Dist the PNG.
456
457 ================= 2007-03-22 0.1 Release ========================
458
459 2007-03-22  Matthew Allum  <mallum@openedhand.com>
460
461         * clutter-gtk.doap:
462         Update for 0.1 Realease
463
464 2007-03-22  Matthew Allum  <mallum@openedhand.com>
465
466         * NEWS:
467         Update for 0.1 release
468         * doc/reference/clutter-gtk.types:
469         Rename fix.
470
471 2007-03-22  Matthew Allum  <mallum@openedhand.com>
472
473         * clutter-gtk/Makefile.am:
474         * clutter-gtk/clutter-gtk.c:
475         * clutter-gtk/gtk-clutter.c:
476         * clutter-gtk/gtk-clutter.h:
477         * configure.ac:
478         * examples/gtk-clutter-test.c:
479         Various naming fixups.
480
481 2007-03-21  Matthew Allum  <mallum@openedhand.com>
482
483         * clutter-gtk.pc.in:
484         * clutter-gtk/Makefile.am:
485         More version fixes.
486
487 2007-03-21  Matthew Allum  <mallum@openedhand.com>
488
489         * doc/reference/Makefile.am:
490         Fix lib path so docs build again.
491
492 2007-03-21  Matthew Allum  <mallum@openedhand.com>
493
494         * clutter-gtk/gtk-clutter.c:
495         * clutter-gtk/gtk-clutter.h:
496         Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
497         Needs at least clutter 0.2.2. Avoids previous issues with
498         white textures when painting onto a GtkWindow.
499         (Thanks to Iain for doing all the hardwork here)
500
501         * examples/gtk-clutter-test.c: (main):
502         Update.
503
504         * configure.ac:
505         * clutter-gtk.pc.in:
506         Fixups to require clutter-0.2.2
507
508 2006-11-30  Matthew Allum  <mallum@openedhand.com>
509
510         * clutter-gtk.doap:
511         Update doap file a little.
512
513 2006-11-30  Emmanuele Bassi  <ebassi@openedhand.com>
514
515         * clutter-gtk/gtk-clutter.c:
516         (gtk_clutter_expose_event): Queue a redraw of the
517         stage instead of directly swapping the GL buffers.
518
519 2006-11-30  Emmanuele Bassi  <ebassi@openedhand.com>
520
521         * clutter-gtk/gtk-clutter.c:
522         (gtk_clutter_expose_event): Use the newly added
523         clutter_stage_swap_buffers() and fix the missing redraw
524         on expose bug.
525
526 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
527
528         * examples/gtk-clutter-test.c: Add a "quit" button.
529
530 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
531
532         * clutter-gtk/gtk-clutter.c:
533         (gtk_clutter_destroy): Destroy the ClutterStage instead
534         of unreffing it.
535
536         (gtk_clutter_size_allocate): Queue a redraw if the stage
537         is marked as visible.
538
539         (gtk_clutter_realize): Remove the forced realize: the
540         stage is already realized by default.
541
542         * examples/gtk-clutter-test.c: Use gtk_main_quit().
543
544 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
545
546         * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
547
548         * clutter-gtk/gtk-clutter.c:
549         (gtk_clutter_destroy), (gtk_clutter_class_init): Move
550         the stage unref to the GtkObject::destroy method.
551
552         (gtk_clutter_size_allocate): Oblige to the size allocation
553         request from the container of the GtkClutter widget by
554         resizing the ClutterStage.
555
556         (gtk_clutter_size_request): Require the size of the stage.
557
558         (gtk_clutter_destroy), (gtk_clutter_size_request),
559         (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
560         macro, which does a type check and a function call; use the
561         priv pointer we conveniently keep around.
562
563         * examples/gtk-clutter-test.c: Use the given constructor;
564         now window resizing works.  The stage doesn't get refreshed
565         immediately (resize the window), though, and there's still
566         the X error when we close the window.
567
568 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
569
570         * *: Initial import out of the main tree.