From: billh Date: Fri, 21 Dec 2001 13:36:43 +0000 (+0000) Subject: Fixed regressions in keysynth-demo, cosmetic and warning fixes also. X-Git-Tag: AT_SPI2_ATK_2_12_0~1458 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=e7e768e094c910d9eb63101fa8a27af8bf5e7810 Fixed regressions in keysynth-demo, cosmetic and warning fixes also. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@191 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- diff --git a/ChangeLog b/ChangeLog index 87061eb..40ea54a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,49 @@ +2001-12-21 Bill Haneman + + * registryd/deviceeventcontroller.c: + Fixed regressions in generateKeyEvent caused by the removal of + gdk_init from registryd; we now use pure X calls to connect to the + display, which makes sense because deviceeventcontroller already + uses a fair bit of X API (should eventually be migrated to a + 'portability layer'). + + * registryd/desktop.c: + Fixed minor regression in spi_desktop_init, changed the way the + desktop name is being set to work with new spi_base API + (gobject-based, rather than AtkObject-based). + + * registryd/Makefile.am: + Minor revision of makefile to use XTST_LIBS variable rather than + hard-wiring the Xtst LD_ADD element. + + * test/keysynth-demo.c: + Tweaked an output message; added initialization of the + 'keystrings' member of the "switch listener" key_set. + + * libspi/relation.c: + Squashed compile-time warning. + + * libspi/accessible.c: + Cosmetic and formatting fixes, renamed a static method. + 2001-12-18 Marc Mulcahy - * at-spi/libspi/accessible.c at-spi/libspi/action.c -at-spi/libspi/application.c at-spi/libspi/base.c at-spi/libspi/base.h -at-spi/libspi/component.c at-spi/libspi/editabletext.c -at-spi/libspi/hyperlink.c at-spi/libspi/hypertext.c -at-spi/libspi/image.c at-spi/libspi/selection.c at-spi/libspi/table.c -at-spi/libspi/text.c at-spi/libspi/value.c at-spi/registryd/desktop.c: -Changed SpiBase to contain a GObject pointer rather than an AtkObject + * libspi/accessible.c + * libspi/action.c + * libspi/application.c + * libspi/base.c + * libspi/base.h + * libspi/component.c + * libspi/editabletext.c + * libspi/hyperlink.c + * libspi/hypertext.c + * libspi/image.c + * libspi/selection.c + * libspi/table.c + * libspi/text.c + * libspi/value.c + * registryd/desktop.c: + Changed SpiBase to contain a GObject pointer rather than an AtkObject 2001-12-17 Bill Haneman diff --git a/at-bridge/bridge.c b/at-bridge/bridge.c index bb9818b..82f5959 100644 --- a/at-bridge/bridge.c +++ b/at-bridge/bridge.c @@ -371,6 +371,12 @@ spi_init_keystroke_from_atk_key_event (Accessibility_DeviceEvent *keystroke, keystroke->type = 0; break; } +#if 0 + g_print ("key_event type %d; val=%d code=%d modifiers=%x name=%s is_text=%d, time=%lx\n", + (int) keystroke->type, (int) keystroke->id, (int) keystroke->hw_code, + (int) keystroke->modifiers, + keystroke->event_string, (int) keystroke->is_text, (unsigned long) keystroke->timestamp); +#endif } static gint @@ -383,6 +389,7 @@ spi_atk_bridge_key_listener (AtkKeyEventStruct *event, gpointer data) if (BONOBO_EX (&ev)) { + g_warning ("failure: no deviceeventcontroller found\n"); CORBA_exception_free (&ev); result = FALSE; } diff --git a/atk-bridge/bridge.c b/atk-bridge/bridge.c index bb9818b..82f5959 100644 --- a/atk-bridge/bridge.c +++ b/atk-bridge/bridge.c @@ -371,6 +371,12 @@ spi_init_keystroke_from_atk_key_event (Accessibility_DeviceEvent *keystroke, keystroke->type = 0; break; } +#if 0 + g_print ("key_event type %d; val=%d code=%d modifiers=%x name=%s is_text=%d, time=%lx\n", + (int) keystroke->type, (int) keystroke->id, (int) keystroke->hw_code, + (int) keystroke->modifiers, + keystroke->event_string, (int) keystroke->is_text, (unsigned long) keystroke->timestamp); +#endif } static gint @@ -383,6 +389,7 @@ spi_atk_bridge_key_listener (AtkKeyEventStruct *event, gpointer data) if (BONOBO_EX (&ev)) { + g_warning ("failure: no deviceeventcontroller found\n"); CORBA_exception_free (&ev); result = FALSE; }