Leakfixes from Padraig O'Briain for bug #361386 and bug #369377.
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
index 5e795d9..b01ce61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,259 @@
+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): 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>
+
+       * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
+
+2006-09-25  Bill Haneman <bill.haneman@sun.com>
+
+       * registryd/registry.c:
+       (desktop_remove_application): Don't pass a ref to the
+       dead application with the event, since it's probably
+       defunct and will cause SEGV if we try to unref, 
+       extract app name, etc.
+       Bug #353226.
+       
+2006-09-20  Bill Haneman <bill.haneman@sun.com>
+
+       Patch from Neo Liu <nian.liu@sun.com>,
+       bug #356688.
+
+       * atk-bridge/bridge.c:
+       (spi_atk_bridge_document_event_listener): New, for 
+       AtkDocument signals.
+
+2006-08-30  Bill Haneman <bill.haneman@sun.com>
+
+       * idl/*.idl:
+       Changed some parameter names so as not to 
+       collide with class names - allows IDL to be compiled with
+       OMNIorb compiler.  Thanks to Gary Cramblitt for this patch.
+       
+2006-08-22  Bill Haneman <bill.haneman@sun.com>
+
+       * atk-bridge/bridge.c:
+       (spi_atk_bridge_signal_listener): 
+       Patch from Ginn Chen, assign detail1 in children-changed
+       so that the child object can be assigned to the Any when the
+       at-spi event is emitted.  Bug #350552.
+
+       * libspi/application.c:
+       (spi_application_finalize): Remove g_print debug output.
+       Bug #350958.
+       
+2006-08-21  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: Revved to AT-SPI 1.7.11.
+
+       * libspi/accessible.c:
+       (spi_accessible_new): Aggregate Hyperlink interface
+       if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
+
+       * libspi/hyperlink.c:
+       (spi_hyperlink_new): Don't aggregate Action a second time if this
+       interface is created for an AtkHyperlinkImpl object (i.e. for a 
+       child Accessible, as opposed to the Hyperlink instance from
+       Hypertext:getLink.
+       (get_hyperlink_from_servant): Obtain the hyperlink from
+       atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
+       
+       Patch section from Ginn Chen...
+
+       * cspi/spi_accessible.c:
+       (_cspi_accessible_set_from_sequence): 
+       Changed g_newa to g_new0 on Ginn Chen's suggestion.
+
+       * libspi/accessible.c:
+       (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
+       (spi_accessible_new): Add the Document interface if present.
+
+       * libspi/document.c:
+       (impl_getAttributes): Fixed to use AtkAttribute properly.
+
+       * libspi/text.c:
+       (impl_getAttributes, impl_getDefaultAttributes): 
+       (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
+       
+2006-08-17  Bill Haneman <bill.haneman@sun.com>
+
+       * cspi/spi-private.h, cspi/spi_accessible.c:
+       (_cspi_attribute_set_from_sequence): Renamed from
+       cspi_attribute_set_from_sequence, to suppress export.
+
+       * cspi/spi.h:
+       (SPIRelationType): Fixed typo in PARENT_WINDOW_OF 
+       inline docs, which was keeping the doc from appearing.
+       (SPIExceptionHandler): Doc this.
+       
+       * cspi/spi_document.c:
+       Added inline gtk-docs cut-n-pasted from the doxygen
+       docs in the corresponding IDL files.
+       (AccessibleDocument_getAttributes): Fix the retval here.
+
+       * cspi/spi_streamablecontent.c:
+       Fixed some 'Since' tags that were accidentally doxygen-style.
+
+       * cspi/spi_table.c:
+       (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
+       docs from the IDL file.
+
+       * docs/reference/cspi/at-spi-cspi-docs.sgml:
+       Added entities for Document and StreamableContent interfaces.
+
+       * docs/reference/cspi/at-spi-cspi-sections.txt:
+       Added some docs that were present inline but not getting
+       exported to HTML.
+       
+2006-07-31  Bill Haneman <bill.haneman@sun.com>
+
+       * libspi/text.c:
+       (impl_getRangeExtents): Use the atk_text_get_range_extents
+       API instead of looping over character bounds, now that
+       ATK includes it.
+       (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
+       (_spi_text_bounds_contain): Remove, not needed anymore.
+       (_spi_text_rect_union): Remove, not needed anymore.
+       
+2006-07-31  Bill Haneman <bill.haneman@sun.com>
+
+       * atk-bridge/bridge.c: 
+       (spi_atk_emit_eventv): Fix the CORBA_free call which was
+       causing 64-bit troubles and memory leaks.
+       Special thanks to Alexander Larsson who finally seems to 
+       have tracked down the problem, not just here but in
+       libspi/util.c...
+       
+       * libspi/util.c:
+       (spi_init_any_object): Make sure we copy the CORBA value
+       when initializing an object for passing as a CORBA_Any.
+       Bug #337239.
+       
+2006-07-21  Bill Haneman <billh@gnome.org>
+
+       * idl/Accessibility.idl:
+       Reverted pragma changes, this broke the build in some envs
+       including the Debian team's build and some tinderbox builds.
+       
+2006-07-19  Bill Haneman <billh@gnome.org> modifications to patch from
+
+       * configure.in:
+       Revved to 1.7.10, and edited the Xevie check (bug #319994).
+
+       * idl/Accessibility.idl:
+       Reworked inclusion of Bonobo_Unknown.idl, to 
+       avoid double-linking libs in the Bonobo environment.
+       Thanks to Michael Meeks for the workaround, see bug #313122.
+
+       * registryd/deviceeventcontroller.c:
+       (spi_controller_notify_keylisteners): 
+       Set the SPI_NUMLOCK_MASK bit if the modifier 
+       corresponding to the conceptual numlock state is set.
+       Bug #143702.
+       
+2006-07-18  Bill Haneman <billh@gnome.org> modifications to patch from
+
+       * idl/Accessibility_Selection.idl:
+       (deselectChild): New method.
+
+       * libspi/selection.c:
+       (impl_deselectChild): Implement the new IDL method.
+
+       * cspi/spi.h:
+       (AccessibleSelection_deselectChild): Added new method.
+       
+       * cspi/spi_selection.c:
+       (AccessibleSelection_deselectChild): New method implemented.
+       
+2006-07-13  Bill Haneman <billh@gnome.org> modifications to patch from
+
+       * cspi/bonobo/cspi-bonobo.c:
+       (cspi_init): Replace g_error with g_warning, prevent
+       SEGV if the registry cannot be activated. Bug #346393.
+       
+2006-07-12  Bill Haneman <billh@gnome.org> modifications to patch from
+
+       * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
+       
+2006-07-12  Bill Haneman <billh@gnome.org> modifications to patch from
+2006-07-12  Ariel Rios  <arios@us.ibm.com>
+
+       See RFE #326536.
+       
+       * idl/Accessibility_Table.idl:
+       (getRowColumnExtentsAtIndex): New method for getting
+       selection status and extents in one API call.
+
+       * libspi/table.c:
+       (impl_getRowColumnExtentsAtIndex): Implementation of
+       new method above.
+       (spi_table_class_init): Add above to epv.
+
+       * cspi/spi.h:
+       * cspi/spi_table.c:
+       (AccessibleTable_getRowColumnExtentsAtIndex): New
+       method, retrieves selection status and row/col extents
+       for a table cell in a single API call.
+
+2006-07-12  Bill Haneman <billh@gnome.org> modifications to patch from
+2006-07-12  Ariel Rios  <arios@us.ibm.com>
+
+       * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
+
+       * cspi/spi_text.c: 
+       (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
+       New bindings for new methods defined in idl and libspi.
+
+       * cspi/spi.h: 
+       (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
+       Added prototype functions.
+
+       * libspi/text.c: 
+       (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
+       Bug #326520
+       (spi_text_class_init): Added previous methods.
+       
+       * libspi/spi.h:  
+       (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
+       * libspi/spi-private.h: Corrections.
+
 2006-06-29  Bill Haneman <bill.haneman@sun.com>
 
        Added Document interface (see bug #326520), 
        (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
        (AccessibleDocument_getAttributes): Bindings added.
        
+       * idl/Makefile.am: Added Accessibility_Document.idl to
+       idl_DATA.
+       
 2006-06-29  Bill Haneman <bill.haneman@sun.com>
 
        * idl/Accessibility_Document.idl: New interface