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