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