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