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