2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
index 0b0bba2..87061eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,202 @@
-2001-12-11  Bill Haneman <bill.haneman@sun.com>
+2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
+
+       * 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
+
+2001-12-17  Bill Haneman <bill.haneman@sun.com>
+
+       * idl/Accessibility_Registry.idl:
+       Added boolean member 'is_text' to DeviceEvent.  This is for the
+       use of key events, and helps prevent ambiguity between composed
+       key strings and keysym names, since both may potentially be
+       returned in the 'event_string' member.
+
+       * at-bridge/bridge.c:
+       * registryd/deviceeventcontroller.c:
+       Use the 'is_text' member when notifying device event listeners.
+       Knon issue: composed characters are not dealt with correctly by
+       the global key listener implementation yet.
+       
+2001-12-17  Bill Haneman <bill.haneman@sun.com>
+
+       * at-bridge/bridge.c:
+       Namespaced local static methods to spi_atk_bridge_* where
+       previously named bridge_*, and spi_* elsewhere.
+
+       * at-bridge/bridge.c:
+       * cspi/bonobo/cspi-bonobo-listener.c:
+       Added demarshalling/conversion for string member of
+       Accessibility_DeviceEvent to AccessibleKeystroke.
+
+       * registryd/deviceeventcontroller.c:
+       Added code to fill the Accessibility_DeviceEvent key string value
+       member for global key events (i.e. from XGrabKey), to match
+       behavior of Accessibility_DeviceEvent from the toolkit key events
+       from the bridge.  Fixed timestamp in global key event notifications.
+
+       * test/simple-at.c:
+       Added printout of key event's string value to
+       report_ordinary_key_event, for demo/debugging purposes.
+
+2001-12-15  Bill Haneman <bill.haneman@sun.com>
+
+       * idl/Accessibility_Registry.idl:
+       Removed Accessibility_KeyStroke structure in favor of generic
+       Accessibility_DeviceEvent structure.
+       Changed Accessibility_ControllerEventMask from a struct to an
+       unsigned long.
+
+       * at-bridge/bridge.c:
+       Changed APIs to use DeviceEvent structure as above, and removed
+       bogus casting between these event structures.
+
+       * cspi/spi-listener.h:
+       Added keystring member of AccessibleKeystroke structure, to enable
+       matching on event "names" rather than only hardware codes and
+       keysyms.
+
+       * cspi/spi.h:
+       Added keystrings member of AccessibleKeySet struct, to allow
+       matching on event names (as above).
+       Added declarations for SPI_createAccessibleKeySet and
+       SPI_freeAccessibleKeySet.  Due to changes in libspi, we now pass
+       event modmasks directly as unsigned ints rather than structs with
+       refcounts, in the DeviceEventController methods.
+
+       * cspi/spi_registry.c:
+       Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
+
+       * cspi/spi-roletypes.h:
+       Added documentation of newly added SPI Roles.
+
+       * cspi/bonobo/cspi-bonobo-listener.c:
+       Changes in support of API changes above.
+       
+       * libspi/accessible.c:
+       Converted APIs to use DeviceEvent structure (see IDL changes
+       above). 
+
+       * registryd/deviceeventcontroller.c:
+       Added DEControllerGrabMask structure to track keygrabs not only by
+       modmask but by keyset as well; this allows us to do "global"
+       (i.e. X) keygrabs on a per-key or keyset basis rather than always
+       grabbing on AnyKey and then filtering after-the-fact.
+       Bugfixes for event filtration mean that we don't get false matches
+       on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
+
+       * registryd/deviceeventcontroller.c:
+       Namespaced a number of static methods to use spi_ prefix.  Major
+       revision to internals of global (i.e. X) key grabs.
+
+       * registryd/deviceeventcontroller.h:
+       Removed keymask_list and added keygrabs_list to
+       SpiDeviceEventController struct.
+
+       * test/simple-at.c:
+       Added use of SPI_createAccessibleKeySet API when creating a
+       listener for only one key.  Attach a listener to "shift spacebar
+       SPI_KEY_RELEASE" as a demonstration.  Changed (incorrect) usage of
+       X key event names to SPI key event names, so that listeners are
+       registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
+       
+       * test/keysynth-demo.c:
+        Changed (incorrect) use of X key event names (KeyPressed,
+       KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
+       
+
+2001-12-12  Bill Haneman <bill.haneman@sun.com>
 
+       * libspi/accessible.c:
+        Convert all AtkRole enumerations to Accessibility_Role enums when
+       getting a role from an AtkObject.
+       
+       * cspi/spi_accessible.c:
+       Complete the conversion of Accessibility_Role enums at runtime to
+       AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
+       role enums correctly match those given in spi-roletypes.h.  
+       Re-synchronize the local names list for AccessibleRole_getName ().
+       AccessibleRole_getName is now deprecated, since it duplicates the
+       more reliable Accessible_getRoleName.
+       Added some role types from Accessibility_Role.idl.
+
+       * idl/Accessibility_Role.idl:
+       Added some role types used by AtkRole.
+
+2001-12-12  Bill Haneman <bill.haneman@sun.com>
+       
+       * cspi/spi.h:
+       * cspi/spi_registry.c:
+       * cspi/spi_event.c:
+       * cspi/cspi-bonobo-listener.c:
+       Namespaced all methods that did not begin with an "SPI_" or
+       "Accessible" prefix to "SPI_".  
+
+       * cspi/spi_main.c:
+       Homogenized internal function namespace to "cspi_" for statics.
+       
+       * test/*.c:
+       Patched tests to use the new CSPI API.
+
+       * docs/reference/cspi/at-spi-cspi-sections.txt:
+       Updated docs to reflect namespace changes, and added a number of
+       methods to the documentation.
+       
+       * registryd/registry.c:
+       Changed use of strings and string hashes in listener event
+       matching and parse_event_string to use GQuark, which is guaranteed
+       unique.
+       
+       * registryd/registry.h:
+       Squashed annoying warning.
+
+       * idl/Accessibility_Role.idl:
+       Extended range of available Accessibility_Role values.
+
+       * cspi/spi_accessible.c:
+       Re-ordered role names. 
+
+2001-12-12  Bill Haneman <bill.haneman@sun.com>
+
+       * idl/Accessibility_Value.idl:
+       Revert use of union back to CORBA_double, since the double type is
+       more efficient and can contain the other types without loss of
+       precision.
+
+       * idl/Accessibility_Accessible.idl:
+       Added method Accessibility:Accessible:getRoleName, to complement
+       Accessibility:Accessible:getRole.
+
+       * cspi/spi_accessible.c:
+       * cspi/spi.h:
+       Added C binding for above, Accessible_getRoleName (), and changed
+       signature of Accessible_getRole () to return an AccessibleRole.
+
+       * cspi/spi-roletypes.h:
+       Changed AccessibleRole_getName to return a char * instead of a
+       const char *.  This method is now at least temporarily deprecated 
+       in favor of asking Accessibles for their RoleNames directly.
+
+       * libspi/value.c:
+       Revert to match Accessibility_Value.idl;
+
+       * cspi/spi_value.c:
+       * cspi/spi.h:
+       Change signature of AccessibleValue methods to use double rather
+       than float.
+
+       * cspi/spi.h:
+       * cspi/spi_accessible.c:
+       Changed Accessible_getRole to return an AccessibleRole enum rather
+       than a UTF-8 string.  The UTF-8 string can still be obtained via
+       AccessibleRole_getName ().
+       
        * test/test-simple.c:
-       Add test_action.
+       Add test_action.  Small fixup to match API change to Accessible_getRole.
 
        * libspi/action.c:
        Bugfix for get_action_from_servant ().