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