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