Leakfixes from Padraig O'Briain for bug #361386 and bug #369377.
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
index 9ae97d8..b01ce61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,20 +1,42 @@
 2006-11-07  Bill Haneman <bill.haneman@sun.com>
 
+       Patches from Padraig O'Briain for bugs #361386 and #369377.
+       
+       * registryd/registry.c:
+       (struct NotifyContext): Change the e_out
+       member from an Accessibility_Event struct to a pointer to 
+       struct.
+       (notify_listeners_cb): Modify to use the new struct definition above.
+       Allows use of ORBit_copy_value instead of CORBA_any__copy.
+
+       * registryd/deviceeventcontroller.c:
+       (spi_dec_button_update_and_emit): Free the event's any_data
+       after emission.
+       (spi_dec_mouse_check):Free the event details any struct
+       after emission.
+       (spi_device_event_controller_forward_mouse_event): Free any.
+       (spi_device_event_controller_forward_key_event): Ditto.
+       
+2006-11-07  Bill Haneman <bill.haneman@sun.com>
+
        * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
        Don't require gtk+ and gail for building most of at-spi
        including libspi.
 
-       * registryd/registry-main.c: 
-       (main): Call registry_set_ior.
-       (registry_set_ior): New, puts the registry's stringified IOR
-       on the root property as an XAtom, for discovery by all interested
-       X clients.  See bug #163132.
-
-       * registryd/registry.h: Remove unneeded #include of gdk.
-
-       * atk-bridge/bridge.c:
-       (spi_atk_bridge_get_registry_ior): New, use this to 
-       obtain the registry's IOR instead of using bonobo-activation.
+       * registryd/registry-main.c (main): We now get te value of display
+       using the env var DISPLAY rather than using the gdk_display_get_default
+       to avoid dependancy of gdk. Also, once the registry is started, we set 
+       the ior of the registry as an X property.
+       (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
+
+       * atk-bridge/bridge.c (atk_bridge_init): We keep track whether 
+       the registration was successfull.
+       (spi_atk_bridge_do_registration): This function now returns success 
+       or not on activating the registry. 
+       (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
+       has been set in the X root window and return it if available.
+       (spi_atk_bridge_get_registry): We now get the registry using the IOR 
+       saved as  a X property rather than using the OAFID. 
 
 2006-10-01  Bill Haneman <bill.haneman@sun.com>