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