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