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