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