1
0
Fork 0

2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>

* Makefile.am: Use variables, instead of substitutions.

	* clutter/clutter-private.h:
	* clutter/clutter-main.h: Make clutter_do_event() public again,
	as we need it in clutter-gtk.

	* configure.ac:
	* clutter/x11/Makefile.am:
	* clutter/x11/clutter-x11.pc.in: Add a clutter-x11 pkg-config
	file for clutter-gtk, as it depends on the X11 backend API, as
	implemented by the GLX and EGLX backends.

	* clutter/x11/clutter-event-x11.c (event_translate): Do not
	propagate DestroyNotify events if the stage doesn't own the
	window.

	* tests/test-scale.c (main): Set values different from the default.
This commit is contained in:
Emmanuele Bassi 2008-01-23 11:08:39 +00:00
parent 9d93fb242a
commit 97a23161f6
11 changed files with 83 additions and 9 deletions

View file

@ -1,3 +1,23 @@
2008-01-23 Emmanuele Bassi <ebassi@openedhand.com>
* Makefile.am: Use variables, instead of substitutions.
* clutter/clutter-private.h:
* clutter/clutter-main.h: Make clutter_do_event() public again,
as we need it in clutter-gtk.
* configure.ac:
* clutter/x11/Makefile.am:
* clutter/x11/clutter-x11.pc.in: Add a clutter-x11 pkg-config
file for clutter-gtk, as it depends on the X11 backend API, as
implemented by the GLX and EGLX backends.
* clutter/x11/clutter-event-x11.c (event_translate): Do not
propagate DestroyNotify events if the stage doesn't own the
window.
* tests/test-scale.c (main): Set values different from the default.
2008-01-21 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-21 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-scale.c: * clutter/clutter-behaviour-scale.c:

View file

@ -1,8 +1,8 @@
SUBDIRS = clutter tests doc SUBDIRS = clutter tests doc
pcfiles = clutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc pcfiles = clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc
%-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc: %.pc clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc: clutter.pc
cp $< $@ cp $< $@
pkgconfig_DATA = $(pcfiles) pkgconfig_DATA = $(pcfiles)
@ -12,7 +12,8 @@ DEFAULT_FLAVOUR = @CLUTTER_FLAVOUR@
install-data-hook: install-data-hook:
(cd $(DESTDIR)$(pkgconfigdir) && \ (cd $(DESTDIR)$(pkgconfigdir) && \
test -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc && \ test -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc && \
rm -f clutter-@CLUTTER_MAJORMINOR@.pc && cp -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc clutter-@CLUTTER_MAJORMINOR@.pc) rm -f clutter-@CLUTTER_MAJORMINOR@.pc && \
cp -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc clutter-@CLUTTER_MAJORMINOR@.pc)
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(pkgconfigdir)/clutter-@CLUTTER_MAJORMINOR@.pc rm -f $(DESTDIR)$(pkgconfigdir)/clutter-@CLUTTER_MAJORMINOR@.pc

24
NEWS
View file

@ -1,3 +1,27 @@
Clutter 0.5.4 (xx/01/2008)
==========================
* List of changes between 0.5.2 and 0.5.4
* List of bugs fixed
o #564 - Add more precise clutter_qdivx() [Gwenole Beauchesne]
o #614 - ClutterActor API inconsistencies
o #640 - ClutterTexture unrealized with no GL context
o #654 - Under heavy load clutter sometimes drops the last frame of
a timeline [Johan Bilien]
o #672 - Event handling in osx backend is broken [Tommi Komulainen]
o #684 - Improve test-scale by also using anchor point [Jaap A. Haitsma]
o #695 - clutter-shader: Invalid format string for
gssize [Tommi Komulainen]
o #696 - cogl_get_proc_address requires GLX [Tommi Komulainen]
o #709 - clutter_effect_scale inconsistent with clutter_actor_set_scale
o #714 - clutter_event_copy for enter/leave event generates
extra unref [Neil Roberts]
o #715 - Type errors in test-shader
o #720 - BehaviourScale not working in python after recent
API change [Josh Stewart]
Clutter 0.5.2 (14/01/2008) Clutter 0.5.2 (14/01/2008)
========================== ==========================

View file

@ -74,6 +74,8 @@ gint clutter_main_level (void);
void clutter_redraw (void); void clutter_redraw (void);
void clutter_do_event (ClutterEvent *event);
/* Debug utility functions */ /* Debug utility functions */
gboolean clutter_get_debug_enabled (void); gboolean clutter_get_debug_enabled (void);
gboolean clutter_get_show_fps (void); gboolean clutter_get_show_fps (void);

View file

@ -150,9 +150,6 @@ gboolean _clutter_boolean_handled_accumulator (GSignalInvocationHint *ihint
const GValue *handler_return, const GValue *handler_return,
gpointer dummy); gpointer dummy);
/* Does this need to be private ? */
void clutter_do_event (ClutterEvent *event);
G_END_DECLS G_END_DECLS
#endif /* _HAVE_CLUTTER_PRIVATE_H */ #endif /* _HAVE_CLUTTER_PRIVATE_H */

View file

@ -1,6 +1,12 @@
libclutterincludedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter libclutterincludedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter
libclutterinclude_HEADERS = clutter-x11.h libclutterinclude_HEADERS = clutter-x11.h
clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-x11.pc
@cp -f $< $(@F)
pkgconfig_DATA = clutter-x11-@CLUTTER_API_VERSION@.pc
pkgconfigdir = $(libdir)/pkgconfig
INCLUDES = \ INCLUDES = \
-DG_LOG_DOMAIN=\"ClutterX11\" \ -DG_LOG_DOMAIN=\"ClutterX11\" \
-I$(top_srcdir) \ -I$(top_srcdir) \
@ -21,3 +27,5 @@ libclutter_x11_la_SOURCES = \
clutter-stage-x11.h \ clutter-stage-x11.h \
clutter-stage-x11.c \ clutter-stage-x11.c \
clutter-x11.h clutter-x11.h
EXTRA_DIST = clutter-x11.pc.in

View file

@ -587,7 +587,11 @@ event_translate (ClutterBackend *backend,
case DestroyNotify: case DestroyNotify:
CLUTTER_NOTE (EVENT, "destroy notify:\txid: %ld", CLUTTER_NOTE (EVENT, "destroy notify:\txid: %ld",
xevent->xdestroywindow.window); xevent->xdestroywindow.window);
event->type = event->any.type = CLUTTER_DESTROY_NOTIFY; if (xevent->xdestroywindow.window == stage_xwindow &&
!stage_x11->is_foreign_xwin)
event->type = event->any.type = CLUTTER_DESTROY_NOTIFY;
else
res = FALSE;
break; break;
case ClientMessage: case ClientMessage:

View file

@ -0,0 +1,14 @@
prefix=@prefix@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
backend=@clutterbackend@
apiversion=@CLUTTER_API_VERSION@
requires=@CLUTTER_REQUIRES@
Name: Clutter
Description: Clutter Core Library (${backend} backend)
Version: @VERSION@
Libs: -L${libdir} -lclutter-${backend}-${apiversion}
Cflags: -I${includedir}/clutter-${apiversion}
Requires: ${requires}

View file

@ -24,7 +24,7 @@ AC_INIT([clutter],
AC_CONFIG_SRCDIR([clutter/clutter.h]) AC_CONFIG_SRCDIR([clutter/clutter.h])
AM_CONFIG_HEADER([config.h]) AM_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE([1.7]) AM_INIT_AUTOMAKE([1.9])
CLUTTER_MAJOR_VERSION=clutter_major_version CLUTTER_MAJOR_VERSION=clutter_major_version
CLUTTER_MINOR_VERSION=clutter_minor_version CLUTTER_MINOR_VERSION=clutter_minor_version
@ -396,6 +396,7 @@ AC_CONFIG_FILES([
clutter/Makefile clutter/Makefile
clutter/clutter-version.h clutter/clutter-version.h
clutter/x11/Makefile clutter/x11/Makefile
clutter/x11/clutter-x11.pc
clutter/glx/Makefile clutter/glx/Makefile
clutter/eglx/Makefile clutter/eglx/Makefile
clutter/eglnative/Makefile clutter/eglnative/Makefile

View file

@ -960,6 +960,9 @@ clutter_grab_pointer
clutter_ungrab_keyboard clutter_ungrab_keyboard
clutter_ungrab_pointer clutter_ungrab_pointer
<SUBSECTION>
clutter_do_event
<SUBSECTION Standard> <SUBSECTION Standard>
CLUTTER_INIT_ERROR CLUTTER_INIT_ERROR
<SUBSECTION Private> <SUBSECTION Private>

View file

@ -66,7 +66,7 @@ main (int argc, char *argv[])
behave = clutter_behaviour_scale_new (alpha, behave = clutter_behaviour_scale_new (alpha,
0.0, 0.0, /* scale start */ 0.0, 0.0, /* scale start */
1.0, 1.0, /* scale end */ 1.5, 1.5, /* scale end */
gravities[gindex]); gravities[gindex]);
clutter_behaviour_apply (behave, rect); clutter_behaviour_apply (behave, rect);