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