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