Implement RFE #326532: remove BonoboStream usage from
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
index f1fba96..818eaf9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,532 @@
+2006-06-16  Bill Haneman <bill.haneman@sun.com>
+
+       RFE #326532:
+       
+       * idl/Accessibility_StreambleContent.idl:
+       Deprecate the Bonobo_Stream-based methods in favor of
+       a self-contained "ContentStream" interface.  This should 
+       allow us to remove BonoboStream dependencies entirely, since
+       there were no non-NIL implementations of the old methods anyway.
+       (ContentStream): New interface.
+       (ContentStream::SeekType): Enum.
+       (ContentStream::seek): New.
+       (ContentStream::read): New.
+       (ContentStream::close): New.
+       (getContent): Deprecate.
+       (getURI): New method, returns a URI pointing to the content, if available.
+       
+       * libspi/streamablecontent.c:
+       (SpiContentStream): Internal object type definition used to
+       implement Accessibility::StreamableContent::ContentStream via
+       AtkStreamableContent's GIOChannel back-end.
+       (spi_content_stream_new, spi_content_stream_dispose): See above;
+       static methods.
+       (impl_content_stream_seek, impl_content_stream_read):
+       (impl_content_stream_close): New, implementations of
+       ContentStream's IDL.
+       (impl_accessibility_streamable_get_stream): Implement the 
+       public method Accessibility::StreamableContent::getStream.
+       (impl_accessibility_streamable_get_uri): Implement the 
+       public method Accessibility::StreamableContent::getURI.
+
+       * cspi/spi_streamablecontent.c:
+       (accessible_bonobo_stream_client_seek): Replaced by
+       (accessible_content_stream_client_seek).
+       (accessible_bonobo_stream_client_read): Replaced by
+       (accessible_content_stream_client_read).
+       (AccessibleStreamableContent_open):
+       (AccessibleStreamableContent_seek):
+       (AccessibleStreamableContent_read):
+       (AccessibleStreamableContent_close): Use the new 'getStream'
+       API instead of the deprecated 'getContent' API, inside the cspi wrappers.
+       
+2006-06-15  Bill Haneman <bill.haneman@sun.com>
+
+       * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
+       remove from other .idl files (except LoginHelper).
+       See bug #313122.
+
+2006-06-14  Bill Haneman <bill.haneman@sun.com>
+
+       * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
+       Bug #308239.
+
+       * configure.in, */Makefile.am: mingw patch, modified from
+       original patch by yselkowitz.  Bug #314216.
+
+       * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
+       for completeness.  Bug #163111.
+
+       * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
+       * libspi/util.c,  registryd/registry-main.c:
+       Fix guint/char* casts.
+       Patch from chpe, bug #333883.
+       
+2006-06-12  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: Require atk-1.12.0, to pick up
+       new API. (bug #344412).
+
+       * libspi-1.0-uninstalled.pc.in:
+       * libspi-1.0.pc.in:
+       * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
+       Fix for #341488 from Samual Thibault.
+
+       * configure.in, LINGUAS: Use LINGUAS, bug #338023.
+       Thanks to Brian Pepple.
+       
+2006-06-09  Bill Haneman <bill.haneman@sun.com>
+
+       * libspi/table.c:
+       (impl_get_nSelectedRows, impl_get_nSelectedColumns):
+       New, missing implementations of attribute reading methods
+       in epv.  Bug #339021.
+
+       * cspi/spi.h, spi_value.c:
+       (AccessibleValue_getMinimumIncrement): New methods wrapping 
+       the (formerly unimplemented) property from Value.idl.
+       
+       * libspi/value.c:
+       (impl_get_minimumIncrement): Implementation for retrieving
+       the minimum valuator increment, (formerly unimplemented).
+       Bug #344265.
+       
+2006-06-09  Bill Haneman <bill.haneman@sun.com>
+
+       * idl/Accessibility_State.idl:
+       Added STATE_VISITED (bug #338369).
+       
+       * cspi/spi_accessible.c: 
+       (spi_state_to_corba) Fixed marshalling of new statetypes.
+       
+       * libspi/stateset.c:
+       (spi_init_state_tables, impl_getStates): 
+       Fixed conversion of new statetypes to/from ATK.
+
+       * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
+
+       * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling 
+       definitions/conversions for new roles from ATK.
+
+       * idl/Accessibility_Relation.idl:
+       * libspi/relation.c:
+       * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and 
+       SPI_RELATION_DESCRIPTION_FOR.  (bug #344264) Also
+       SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
+
+       * libspi/accessible.c: Fixed marshalling of new role types from
+       ATK.
+       
+2006-04-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * revert my previous change
+
+2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
+
+       * configure.in: Remove obssolete no_NO locale
+       * po/no.po: And the translation.
+
+2006-04-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a 
+       memory-management error that caused crashes on x86_64.
+       (#337239)
+
+2006-03-30  Guntupalli Karunakar  <karunakar@indlinux.org>
+
+       * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
+
+2006-03-27  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
+       to strip "cspi_*" from the symbol table.
+       
+       * cspi/spi_streamablecontent.c:
+       (get_streams): Make this method static.
+
+       * cspi/spi_main.c:
+       (_cspi_exception_throw): rename to cspi_exception_throw,
+       so we can strip it with the rest...
+
+       * cspi/Makefile.am:
+       Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
+       
+2006-03-27  Bill Haneman <bill.haneman@sun.com>
+
+       Add doxygen-generated IDL docs to tarball, and enable 
+       doxygen during build/install when available.  Bug #301345.
+       
+       * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
+
+       * docs/reference/Makefile.am: Add idl to SUBDIRS.
+
+       * docs/reference/idl/Makefile.am: Optionally use
+       doxygen to create docs.
+       
+2006-03-20  Vladimer Sichinava  <vlsichinava@gmail.com>
+
+        * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
+
+2006-03-20  Bill Haneman <bill.haneman@sun.com>
+
+       * libspi/table.c:
+       (impl_get_selected_rows): Don't free the selection if it's
+       empty or has not been assigned; init it to NULL so you can tell.
+       Also, allow for zero selected rows.
+       (impl_getSelectedColumns): Ditto.  Bug #319088.
+
+2006-03-11  Vincent Untz  <vuntz@gnome.org>
+
+       Leak fix for bug #334217.
+
+       * libspi/application.c: spi_application_toolkit_event_listener():
+       don't duplicate the string we pass as an argument to
+       spi_init_any_nil() since spi_init_any_nil() already does it
+       * registryd/deviceeventcontroller.c:
+       (spi_dec_button_update_and_emit): ditto
+       (spi_dec_mouse_check): ditto
+       (spi_dec_emit_modifier_event): ditto
+       (spi_device_event_controller_forward_mouse): ditto
+       * registryd/registry.c:
+       (desktop_add_application): ditto
+       (desktop_remove_application): ditto
+
+2006-02-20  Bill Haneman <billh@gnome.org>
+
+       * configure.in: Rev to 1.7.6.
+
+       Leak fixes for bug #331924.
+       
+       * atk-bridge/bridge.c:
+       (spi_atk_bridge_init_base): Don't dup the string, it's already
+       been dup-ed.  Fixes a leak.
+       (spi_atk_emit_eventv): Move the CORBA_free call here, 
+       instead of spi_atk_state_event_listener; fixes another leak.
+       (spi_atk_bridge_key_listener):Free the dup'ed key strings after
+       notifying the registry; fixes another leak.
+
+       * registryd/registry.c:
+       (registry_flush_event_queue): Free the CORBA_any when 
+       flushing the event, not just the string.  Fixes another leak.
+       (registry_queue_event): Free the CORBA_any when dropping
+       events on the floor; fixes another leak.
+
+       * libspi/util.c:
+       (spi_init_any_object, spi_init_any_nil): 
+       Always set _release to TRUE.  Fixes another leak.
+
+2006-02-20  Bill Haneman <billh@gnome.org>
+
+       * configure.in: Rev to 1.7.5.
+       Reinstate localization of this module.  Thanks for Rodney
+       Dawes for fixing my patch.
+
+       * registryd/Makefile.am: Remove Accessibility_Registry.server 
+       from dist, since it needs to be re-created at configure time.
+       Fixes bug #3331484.
+       
+2006-01-31  Bill Haneman <billh@gnome.org>
+
+       * configure.in: Rev to 1.7.4 (to include build fix below).
+       
+       * idl/Makefile.am: Include Selector.idl in dist.
+       Fixes bug #328859.
+
+       * cspi/spi_event.c:
+       (cspi_internal_event_get_object): Handle case where
+       "object" isn't present, i.e. CORBA_TC_Object doesn't match
+       the EventDetails data.
+       (cspi_internal_event_get_text): Handle NULL string.
+       (cspi_internal_event_get_rect): Handle missing/empty rect
+       data, Accessibility_TC_RectBounds doesn't match any_data.
+
+2006-01-30  Bill Haneman <billh@gnome.org>
+
+       * Released 1.7.3.
+
+       * atk-bridge/bridge.c:
+       (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT 
+       interface and use that when instantiating a new source
+       accessible.  Better fix for bug #321814.
+       
+2006-01-27  Bill Haneman <billh@gnome.org>
+
+       * idl/Accessibility_Selector.idl: Added to the cvs repository.
+
+       * configure.in: Revved to 1.7.3.
+       
+2006-01-17  Bill Haneman <billh@gnome.org>
+
+       * configure.in: Revved to 1.7.2, re-dist to include docs.
+
+2006-01-09  Bill Haneman <billh@gnome.org>
+
+       * configure.in: Removed po/Makefile.in inclusion, we do not need
+       it.  Revved to 1.7.0.
+
+       * idl/Accessibility.idl: Improved documentation here, and for all
+       IDL in the 'GNOME::Accessibility' namespace.
+
+       * idl/Accessibility_Accessible.idl:
+       (LOCALE_TYPE): Added enum.
+       (AttributeSet): New, for returning multiple name/value attribute pairs.
+       (RoleSet): New, sequence of Roles, to be used in upcoming
+       Collection API.
+       (getAttributes): New API, allows retrieval of name/value pair
+       annotations for all kinds of Accessible objects.  C.f. 
+       Text:getAttributes, which is only for typographic/textual/semantic tags in
+       text content.
+       (getApplication): New, retrieves the host/containing Application
+       instance for an object (without having to walk up the whole tree).
+
+       * idl/Accessibility_Component.idl:
+       (getAlpha): New method, returns the alpha blending (aka 'opacity')
+       value for an object.  An alpha of 1.0 is fully opaque, 0.0 is
+       fully transparent.
+
+       * idl/Accessibility_Event.idl:
+       (EventDetails): New struct definition, for encapsulating
+       commonly-queried information about emitted events.  The use of
+       this structure in emitted events (in the 'any' member of
+       Accessibility_Event) should greatly reduce the number of
+       client-server roundtrips necessary.
+
+       * idl/Accessibility_Image.idl:
+       (imageLocale): New, a readonly attribute indicating the POSIX 
+       LC_MESSAGES locale of the image and associated Alt/descriptive
+       text.
+
+       * idl/Accessibility_Relation.idl:
+       (RELATION_PARENT_WINDOW_OF): Include, as complement to
+       RELATION_POPUP_FOR.
+
+       * idl/Accessibility_Role.idl:
+       (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
+       (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
+       complex document and form support.
+
+       * idl/Accessibility_State.idl:
+       (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
+       (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
+       (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
+       for support of complex documents and forms.
+
+       * idl/Accessibility_StreamableContent.idl:
+       (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
+       allow old bonobo-stream interfaces to be deprecated in the next
+       release.
+
+       * idl/Accessibility_Text.idl:
+       (getAttributeValue): New method, allows query-by-name of single
+       attributes.
+
+       * libspi/accessible.c:
+       Added support for new roles.  Implemented new methods
+       (impl_accessibility_accessible_get_application): New
+       (impl_accessibility_accessible_get_attributes): New
+
+       * libspi/component.c:
+       (impl_accessibility_component_get_alpha): New.
+
+       * libspi/image.c:
+       (impl_accessibility_image_get_locale): New.
+
+       * libspi/relation.c: Added support for new relation type.
+
+       * libspi/stateset.c: Added support for new state types.
+
+       * libspi/text.c: 
+       (impl_getAttributeValue): New.
+       
+       * libspi/util.c:
+       New prototypes for private methods
+       spi_init_any_nil,
+       spi_init_any_object, spi_init_any_string,
+       spi_init_any_rect.
+       
+       * libspi/spi_event.c: 
+       Use EventDetails in the event emission methods.
+
+       * cspi/spi-private.h:
+       (cspi_role_from_spi_role): Expose this adapter method, since
+       we need it in the bridge (see below).
+
+       * cspi/spi.h:
+       (AccessibleEvent_getSourceName):
+       (AccessibleEvent_getSourceRole):
+       (AccessibleEvent_getSourceApplication):
+       (AccessibleEvent_getSourceDetails):
+       New methods for interrogating/demarshalling
+       event details (i.e. source's accessible name, role, 
+       and host app).
+
+       * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
+       Make use of the new EventDetails struct in events, if present.
+       (AccessibleEvent_getSourceName)
+       (AccessibleEvent_getSourceRole)
+       (AccessibleEvent_getSourceApplication)
+       (AccessibleEvent_getSourceDetails): Implement the newly exposed
+       methods from spi.h.
+       (Accessible_getAttributes): New, wraps
+       Accessibility_Accessible_getAttributes.
+       (Accessible_getHostApplication): New, wraps
+       Accessibility_Accessible_getApplication.
+
+       * cspi/spi_image.c:
+       (AccessibleImage_getImageLocale): New wrapper for
+       Accessibility_Image_get_imageLocale.
+
+       * cspi/spi_component.c:
+       (AccessibleComponent_getAlpha): New wrapper for
+       Accessibility_Component_getAlpha.
+       
+       * atk-bridge/bridge.c:
+       Use new prototyped for init_any methods.
+       (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
+       (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
+       (spi_atk_bridge_init_base): Wrappers
+       for spi_init_any_* methods, due to refactor; include extended
+       information in the Accessibility_EventDetails struct, for instance
+       accessible-name, Role, and containing Application.
+
+       * registryd/registry.c: 
+       Use new event emission (with EventDetails).
+       
+       * registryd/deviceeventcontroller.c:
+       Use new event emission (with EventDetails).
+
+2006-01-09  Kjartan Maraas <kmaraas@gnome.org>
+
+       * configure.in: Generate po/Makefile.in
+       * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
+       * cspi/spi_streamablecontent.c: 
+       (accessible_bonobo_stream_client_seek),
+       (AccessibleStreamableContent_seek): Remove unused vars.
+       * libspi/application.c: Missing header.
+       * libspi/text.c: (impl_getDefaultAttributes): Unused vars
+       * login-helper/login-helper.c: (login_helper_finalize),
+       (login_helper_init): Remove unused stuff
+       * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
+       (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
+       and surround some with #ifdef GRAB_BUTTON.
+       * test/event-listener-test.c: (main), (report_event),
+       (report_caret_event), (report_detail_event),
+       (report_detail1_event), (report_bounds_event), (report_text_event),
+       (report_text_selection_event),
+       (report_active_descendant_changed_event),
+       (report_children_changed_event), (report_name_changed_event),
+       (report_description_changed_event), (report_parent_changed_event),
+       (report_window_event), (report_table_summary_event),
+       (report_table_header_event), (report_table_caption_event),
+       (report_table_row_description_event),
+       (report_table_column_description_event), (timing_test_event):
+       Remove a bunch of unused variables and fix a slew of format specifiers
+       * test/key-listener-test.c: (report_all_key_event): Format specifier
+       * test/keypad-test.c: (print_key_event): Same
+       * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
+       unused var.
+       * test/screen-review-test.c: (main), (print_chunk_debug),
+       (review_buffer_get_text_chunk), (debug_chunk_list),
+       (string_guess_clip), (text_chunk_get_clipped_string),
+       (text_chunk_list_to_string), (get_screen_review_line_at):
+       Remove unused variables and fix format specifiers.
+       * test/simple-at.c: (report_text_event): Format specifier fix.
+       * test/stress-test.c: (main): Remove unused var.
+
+2005-12-29  Abel Cheung  <maddog@linuxhall.org>
+
+       * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
+       (yes I know that's useless)
+
+2005-11-20  Theppitak Karoonboonyanan  <thep@linux.thai.net>
+
+       * configure.in: Added "th" (Thai) to ALL_LINGUAS.
+
+2005-11-17  Michael Meeks  <michael.meeks@novell.com>
+
+       * atk-bridge/bridge.c (spi_atk_emit_eventv): 
+       urgh-fix embarassing typo.
+
+2005-11-16  Michael Meeks  <michael.meeks@novell.com>
+
+       * atk-bridge/bridge.c (spi_atk_emit_eventv):
+       do a faster, less problematic _unref call on this local
+       object, rather than a slower (potentially cross-thread
+       complicated) CORBA call.
+
+2005-11-02  Kjartan Maraas  <kmaraas@gnome.org>
+
+       * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
+       * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
+       * registryd/deviceeventcontroller.c:
+       (spi_controller_notify_mouselisteners),
+       (impl_generate_keyboard_event):
+       * test/screen-review-test.c: (chunk_bounds_within):
+       * test/test-simple.c: (test_desktop): Remove some unused code
+       and fix compiler warnings. Closes bug #320049.
+
+2005-10-27 Bill Haneman <bill.haneman@sun.com>
+
+       * registryd/deviceeventcontroller.c:
+       (spi_controller_notify_keylisteners): Check
+       to make sure the event listener has requested 'preemptive'
+       status before pre-empting an event.
+       
+2005-08-29 Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in, README, NEWS: Release 1.6.5.
+       
+2005-07-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * test/window-listener-test.c: Fix a printf
+       format error.  (#169453)
+
+2005-07-15  Bill Haneman <bill.haneman@sun.com>
+
+       * tests/test-simple.c: 
+       (key_listener_cb): Ensure that the keystring is dup'ed instead of
+       relying on the old string from the key event hanging around after
+       the event handler returns.  Fixes broken 'make check'.
+       
+2005-06-06  Swapnil Hajare  <dreamil@gmail.com>
+
+       * Added Marathi (mr_IN) translations.
+
+2005-05-27  Kjartan Maraas  <kmaraas@gnome.org>
+
+       * cspi/bonobo/cspi-bonobo-listener.c:
+       (cspi_event_list_remove_by_cb): Fix the build.
+
+2005-05-26  Michael Meeks  <michael.meeks@novell.com>
+
+       * cspi/bonobo/cspi-bonobo-listener.c
+       (cspi_event_list_remove_by_cb): actually filter by callback.
+
+2005-05-25  Bill Haneman <bill.haneman@sun.com>
+
+       * registryd/registry.c (remove_listener_cb):
+       Make deregistration filter rules match the event emission rules.
+
+2005-05-25  Michael Meeks  <michael.meeks@novell.com>
+
+       * registryd/registry.c (remove_listener_cb),
+       (impl_accessibility_registry_deregister_global_event_listener),
+       (impl_accessibility_registry_deregister_global_event_listener_all): 
+       pass a closure to the remove callback to filter listeners more
+       accurately on remove.
+
+2005-04-05  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: Revved to 1.6.4.
+       Remember to put quotes around XEVIE_LIBS assignment.
+       Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
+       Fixes bug #303694.
+
+       * tests/event-listener-test.c: Tweaked the tests - more detail
+       from caret events, and some interrogation of AccessibleText APIs.
+       Commented-out the bounds-changed events by default, since they can
+       be very noisy.
+
 2005-04-14  Kjartan Maraas  <kmaraas@gnome.org>
 
        * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.