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