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