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