Cleaned up some suspect int* casts, and added assertions to text calls in libspi
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
index af7fa36..ee18d16 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,181 @@
+<2001-10-09  Bill Haneman <bill.haneman@sun.com>
+       * libspi/text.c, editabletext.c:
+               Added new assertions to all casts of bonobo-objects from
+       CORBA servants, to prevent Text API calls on non-text objects.
+               Changed suspect casts of int-pointer types, so that we
+       always send a valid CORBA_long pointer to the CORBA APIs that use
+       in/out long parameters.  We then have to copy from the CORBA_long
+       into the regular long or int for return to the C bindings, or
+       vice-versa when returning parameters from ATK calls to the bonobo wrappers.
+       
+       * cspi/spi_text.c:
+       * libspi/deviceeventcontroller.c:
+               Cleaned these sources up.
+       * idl/Text.idl:
+               Changed return type for getCharacterAtOffset to
+       CORBA_unsigned_long, to allow for 32-bit characters.
+       
+               
+<2001-10-08  Bill Haneman <bill.haneman@sun.com>
+
+       * util/Makefile.am:
+       * idl/Makefile.am:
+               Fixed 'make dist' so that distro compiles...
+       * libspi/keymasks.h:
+               new file.
+       * cspi/spi-listener.c:
+               KeystrokeListenerCB now returns a boolean.
+       * cspi/spi.h:
+               Added KeyEventType struct, and KeyStroke.
+               Also added createKeystrokeListener(),
+       KeystrokeListener_addCallback(),
+       KeystrokeListener_removeCallback(), and added a keymask to
+       registerKeystrokeListener().
+       * cspi/spi_accessible.c:
+               Changed numerous return types for interfaces from
+       AccessibleComponent to Accessible<InterfaceName>; this was
+       probably a cut-and-paste error.
+       * cspi/spi_event.c:
+               Implementations of new KeystrokeListener api (from spi.h,
+       above).
+       * idl/Registry.idl:
+               Changes to key modifier mapping.
+               Created ControllerEventMask struct.
+               Made DeviceEventController derive from Bonobo::Unknown.
+       * idl/Text.idl:
+               Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
+       * libspi/deviceeventcontroller.c:
+               Added a number of new internal (private) methods.
+       * libspi/editabletext.c:
+       * libspi/editabletext.h:
+               Fixed a number of bugs related to the fact that
+       editabletext inherits from text.  Fixed the EditableText struct,
+       the init() call, and use correct casts when calling Text methods
+       from an EditableText object.  Removed (duplicate) atko from the
+       EditableText structure, we use the one in the parent Text
+       structure via the casts mentioned above.
+       * libspi/keystrokelistener.[ch]:
+       * libspi/registry.c:
+               Changes in support of keyboard handling (above).
+       
+       Keyboard handling, though partly functional, is still not
+       recommended for at-spi client use as there is considerable 
+       work yet to be done.
+
+       * libspi/text.c:
+               Changed some places where pointers to various int types
+       are cast to be pointers to CORBA_long types and vice-versa:
+       pointer casting is not safe so we pass pointers of the correct
+       types and then cast the result before putting it into the target
+       pointers.
+
+       * libspi/text.h: minor typos corrected.
+       * test/simple-at.c: 
+               We now speak not only the name of a Text element, but the
+       first sentence of its content, when it receives focus.
+               I also changed the text compression to 75% from 50%.
+       * util/Accessibility_Util.server.in:
+               Changed the default magnifier type to be a 3x vertical
+       splitscreen magnifier (was previously a 2x horizontal one).
+
+<2001-10-03  Bill Haneman <bill.haneman@sun.com>
+
+       * libspi/keystrokelistener.h:
+       * libspi/keystrokelistener.c:
+               Initial functional implementations of KeystrokeListener.
+       * idl/Registry.idl:
+       
+<2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
+
+       Fixed string handling for NULL strings in libspi.
+       Added spi_freeString to free strings returned by C bindings.
+
+<2001-09-30  Bill Haneman <bill.haneman@sun.com>
+
+       * libspi/keystrokelistener.h:
+       * libspi/keystrokelistener.c:
+               Began (no-op) implementations of KeystrokeListener
+                       (see below).
+       * libspi/deviceeventcontroller.c:
+       * libspi/deviceeventcontroller.h:
+               Began creating implementations of DeviceEventController,
+                       to handle keystroke and mouse event listening and
+                       synthesis.
+       * libspi/accessible.c:
+               Stubbed-in the implementations for
+                       Accessibility_Accessible_getState and
+                       Accessibility_Accessible_getRelationSet.
+       * libspi/registry.c:
+               Improved de-registration process and fixed some bugs, 
+                       deregistration now works correctly.
+       * libspi/desktop.c:
+               Added initialization of applications list (to NULL).
+       * util/magnifier.c:
+               Reduced speech compression from 0.5 to 0.7, for demo.
+               Changed call to gdk_window_set_decorations()
+                       to gtk_window_set_decorated().
+       * at-bridge/bridge.c:
+               Bridge now deregisters when app exits, via
+                       registration of a cleanup function
+                       with the g_atexit() call.
+                       Required making 'app' static, renamed 'this_app'.
+               Fixed broken use of bonobo_init, passing argv wrongly.
+
+<2001-09-27  Bill Haneman <bill.haneman@sun.com>
+
+       * util:
+       * util/Makefile.am: 
+               Created a new directory for 
+                       accessibility-related utilities, primarily for
+                       testing and demo purposes, but with possible
+                       end-user utility.
+       
+       * util/magnifier.c:
+       * util/magnifier.h:
+       * util/mag_image.c:
+       * util/mag_image.h:
+               Onscreen magnifier utility that
+                       is implemented as a bonobo service.
+       
+       * util/mag_client.c:
+       * util/mag_client.h:
+               Client-side support (simple C bindings) 
+                       for Magnification service
+       
+       * util/mag_control.c:
+               Client program example for 
+                       Magnification service
+       
+       * util/Accessibility_Magnifier.server.in:
+               Bonobo-activation file for the 
+                       Magnification service.
+       
+       * util/idl:
+       * util/idl/Magnifier.idl:
+               IDL defining the bonobo Magnification
+                       service interface.
+
+       * test/simple-at.c:
+               Modifications to use the bonobo-activated magnifier
+                       above, in place of trying to connect to an existing
+                       magnifier that uses socket-listening IPC.
+
+               If env variable MAGNIFIER is set, a magnifier service
+                       will be started if one does not exist.
+       
 <2001-09-25  Bill Haneman <bill.haneman@sun.com>
        * at-bridge/bridge.c:
                applied patch from Marc to build and run 
                against new glib and gtk+ (seemed like a change 
                to bonobo_init signature was made ?)
+       * test/simple-at.c:
+               made festival-server support turned off by default.
+               Added support for a simple magnifier (off by default)
+               which will be added to a 'util' directory later.
+       * at-bridge/Makefile.am:
+               Changed "application.h" header from a 'source'
+               to a 'dependency' of libat-bridge.
+
 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
        * cspi/Makefile.am:
                Added spi-util.c.