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