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