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