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