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