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