2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
index b581181..62ff5cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,203 @@
+2003-04-14  Padraig O'Briain <padraig.obriain@sun.com>
+
+       * cspi/accessible.c:
+       (cpi_initial_relation_type_table): New function which initializes 
+       mapping between Accessibility_RelationType and AccessibleRelationType.
+       (cspi_relation_type_from_spi_relation_type): New function which
+       translates an Accessibility_RelationType into an AccessibleRelationType.
+       (AccessibleRelation_getRelationType): Use 
+       cpi_relation_type_get_spi_relation_type to return correct value.
+       (spi_state_to_corba): Return correct type for default case.
+
+       * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
+       Use Accessibility_EventType instead of Accessibility_KeyEventType.
+
+       * cspi/cspi-bonobo-listener.c:
+       Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
+       warnings.
+
+       * libspi/accessible.c, libspi/action.c, libspi/application.c,
+       libspi/base.c, libspi/component.c, libspi.devicelistener.c,
+       libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
+       libspi/image.c, libspi/listener.c, libspi/selection.c, 
+       libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c, 
+       registryd/desktop.c, registryd/registry.c:
+       Remove semicolon after BONOBO_TYPE_FUNC_FULL.
+
+       * libspi/eventlistener.c
+       Remove semicolon after BONOBO_TYPE_FUNC.
+
+       * libspi/relation.c:
+       Remove semicolon after BONOBO_TYPE_FUNC_FULL.
+       (spi_init_relation_type_table): Initialize using correct type.
+
+       * registryd/desktop.c:
+       Remove semicolon after BONOBO_TYPE_FUNC_FULL.
+       (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead 
+       of Accessibility_KeyEventType.
+
+       * test/key-listener-test.c (report_tab_key_event): Use fprintf
+       instead of g_print.
+
+       * tests/simple-at.c, tests/screen-review-test.c:
+       Add include for <strings.h>.
+
+       * tests.stress-test.c:
+       Add includes for <unistd.h> and <bonobo/bonobo-main.h>
+
+       These changes fix compiler warnings when using FORTE compiler on
+       Solaris; fixes bug #107479.
+
+       
+2003-04-10  Bill Haneman <bill.haneman@sun.com>
+
+
+       * configure.in: revved to 1.1.10
+       
+       * libspi/keymasks.h:
+       (SPI_KEYMASK_NUMLOCK): Added.
+
+       * registryd/deviceeventcontroller.c:
+       (spi_key_event_matches_listener): AND with a smaller
+       bitmask (as we should).  
+       (spi_dec_translate_mask): 
+       New method, sets the virtual NumLock modifier bit
+       if numlock is on.  Eventually it can handle other virtual
+       modifier bits if needed, or other marshalling from
+       at-spi modifier masks to platform (X) masks.
+       (spi_dec_key_listener_new):
+       Call spi_dec_translate_mask to set up virtual mod bits
+       in the 'mask' field when creating a new listener struct.
+       (spi_dec_emit_modifier_event):
+       Set the virtual (i.e. NumLock) bits before emitting event.
+       (spi_controller_register_with_devices):
+       Query for the NumLock modifier 'physical' bit if Xkb is
+       present, for use in above methods.
+
+       Fix for 107261.
+       
+2003-04-10  Bill Haneman <bill.haneman@sun.com>
+       
+       * registryd/deviceeventcontroller.c:
+       (spi_keystroke_from_x_key_event):
+       Instead of checking to see if the keysym is
+       printable, check the string from XLookupString
+       if available, get the first unicode character from it,
+       and call g_unichar_isprint to determine whether the
+       is_text flag should be TRUE or FALSE.
+       
+       Fix for bug 110419.
+
+2003-04-02  Padraig O'Briain <padraig.obriain@sun.com>
+
+       * atk-bridge/bridge.c: Add support for extended events
+       * cspi/spi_event.c: Add documentation and implementation for
+       extended events.
+       * tests/event-listener-test.c: Add tests for extended events.
+
+       This fixes bugs #100424 and #100426.
+2003-04-02  Padraig O'Briain <padraig.obriain@sun.com>
+
+       * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
+       of LT_CURRENT. This fixes bug #89350.
+
+2003-04-01  Padraig O'Briain <padraig.obriain@sun.com>
+
+       * atk-bridge/bridge.c (spi_bridge_signal_listener):  Add check for
+       number of signal parameter values before accessing them. This fixes
+       bug #109626.
+
+2003-04-01  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: Fixed duplicate inclusion of -lspi.
+       * branched for gnome-2-2/HEAD.  
+       [created tag "gnome-2-2"]
+
+2003-03-07  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: 1.1.9 release.
+       * NEWS: updated.
+       
+2003-03-07  Bill Haneman <bill.haneman@sun.com>
+
+       [needed by GOK, to fix bugs 107985 and 107988]
+       * registryd/deviceeventcontroller.c:
+       (spi_dec_clear_unlatch_pending):
+       New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
+       (spi_dec_set_unlatch_pending):Revised DEBUG comment.
+       (spi_dec_init_mouse_listener):Emit warning if mouse button
+       passive grab fails.
+       (spi_device_event_controller_forward_mouse_event):
+       Removed unnecessary parens from a conditional.
+       (global_filter_fn):Added TODO comment.
+       (impl_generate_keyboard_event):
+       Cancel a pending relatch if a 'delatching' key was 
+       synthesized.
+       
+2003-03-07  Padraig O'Briain <padraig.obriain@sun.com>
+
+       * atk-bridge/bridge.c:
+       Change atk_signal_child_changed to atk_signal_children_changed. 
+       Reorganize code in spi_atk_bridge_signal_listener().
+
+       * test/event-listener-test.c:
+       Add children_changed_listener and report_children_changed_event()
+       to test AccessibleChildEvent_getChildAccessible.
+
+2003-03-05  Padraig O'Briain <padraig.obriain@sun.com>
+
+       * cspi/spi_event.c (cspi_internal_event_get_text): Change
+       g_strdup to CORBA_String_dup (bug #105291)
+
+       * test/event-listener-test.c (report_text_event): Add call to
+       SPI_freeString.
+
+2003-02-28  Bill Haneman <bill.haneman@sun.com>
+
+       * registryd/deviceeventcontroller.c:
+       (spi_keystroke_from_x_key_event): 
+       Fix string and keysym return codes to match modifier state. 
+       [bug #107256]
+
+2003-02-28  Bill Haneman <bill.haneman@sun.com>
+
+       * registryd/deviceeventcontroller.c:
+       (spi_keystroke_from_x_key_event): 
+       Fix segv due to improper use of isprint(c). [bug #107254]
+
+2003-02-24  Bill Haneman <bill.haneman@sun.com>
+
+       * cspi/spi_text.c:
+       (get_accessible_text_boundary_type):
+       Move default return value to (new) default case in switch.
+       (get_accessible_text_clip_type):
+       Move default return value to (new) default case in switch.
+       
+       * libspi/application.c:
+       (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
+       Remove unused methods.
+       (impl_accessibility_application_register_object_event_listener):
+       Remove unused methods.
+
+       * libspi/value.c:
+       Added #include of <math.h>.
+
+       * registryd/deviceeventcontroller.c:
+       (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since 
+       we don't currently use this method.
+       (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
+       have_xkb is TRUE.
+       (impl_generate_key_event):
+       Remove unused variables.
+       (impl_generate_mouse_event):
+       Initialize button to zero, just in case we get an invalid
+       input.  Added support for mouse buttons 4 and 5.
+       (spi_device_event_controller_new):
+       Removed unused variable declaration for 'private'.
+       (registry.h):
+       Added #include of <gdk/gdk.h>
+
 2003-02-14  Padraig O'Briain <padraig.obriain@sun.com>
 
        * configure.in: Update to work when X is not installed in expected