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