X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog;h=d4d2407de73cbb5ae9e2d21dee142847ed48f34c;hb=b2a5db4cbac6002da97f26deac58339c7a6eb537;hp=8167b08c698f68c06e943f49844587497fee44d6;hpb=30c91ea7d7aa7f1d4f2e0f662c739e26f85b5497;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/ChangeLog b/ChangeLog index 8167b08..d4d2407 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,630 @@ +2002-01-01 Bill Haneman + + API tweaks for today's API 'freeze'. + + * idl/*: + Added placeholder functions to allow future compatible expansion + of the IDL interfaces. + + * idl/Accessibility_Registry.idl: + Changed generateKeyEvent to generateKeyboardEvent. Changed + signature of this method to accept an optional keystring in + parameter (for complex text input synthesis) and changed use of + simple 'boolean' parameter in registerKeystrokeListener to a + struct, EventListenerMode. + + * cspi/spi_accessible.c: + * cspi/spi.h: + * cspi/spi_streamablecontent.c: + Added references to AccessibleStreamableContent interface, and + definition and implementation of AccessibleStreamableContent + C bindings. + + * cspi/spi_registry.c: + * cspi/spi.h: + Changed generateKeyEvent API to generateKeyboardEvent, + taking a new (optional) keystring parameter to support complex + text input. + + * at-bridge/*: + * atk-bridge/*: + Renamed directory (to better reflect its actual purpose, bridging + from at-spi to ATK). The .so module is also now named + libatk-bridge.so. + + * idl/Accessibility_Hypertext.idl: + * libspi/accessible.c: + * libspi/hypertext.h: + * libspi/hypertext.c: + Changed Accessibility_Hypertext to *not* derive from + Accessibility_Text. + + * cspi/spi_registry.c: + Added list of legal event type names for 'window' events, which + completes the registry event API. + +2001-12-22 Marc Mulcahy + + * at-bridge/bridge.c: Added registration for separate + "Atktext:text-changed::insert" and "AtkText:text-changed::delete" + signals. If either of the first two parameters to the generic + bridge signal handler are ints, they are passed on as event + details. This allows an AT to determine what text was inserted. + +2001-12-21 Bill Haneman + + * registryd/deviceeventcontroller.c: + Fixed regressions in generateKeyEvent caused by the removal of + gdk_init from registryd; we now use pure X calls to connect to the + display, which makes sense because deviceeventcontroller already + uses a fair bit of X API (should eventually be migrated to a + 'portability layer'). + + * registryd/desktop.c: + Fixed minor regression in spi_desktop_init, changed the way the + desktop name is being set to work with new spi_base API + (gobject-based, rather than AtkObject-based). + + * registryd/Makefile.am: + Minor revision of makefile to use XTST_LIBS variable rather than + hard-wiring the Xtst LD_ADD element. + + * test/keysynth-demo.c: + Tweaked an output message; added initialization of the + 'keystrings' member of the "switch listener" key_set. + + * libspi/relation.c: + Squashed compile-time warning. + + * libspi/accessible.c: + Cosmetic and formatting fixes, renamed a static method. + +2001-12-18 Marc Mulcahy + + * libspi/accessible.c + * libspi/action.c + * libspi/application.c + * libspi/base.c + * libspi/base.h + * libspi/component.c + * libspi/editabletext.c + * libspi/hyperlink.c + * libspi/hypertext.c + * libspi/image.c + * libspi/selection.c + * libspi/table.c + * libspi/text.c + * libspi/value.c + * registryd/desktop.c: + Changed SpiBase to contain a GObject pointer rather than an AtkObject + +2001-12-17 Bill Haneman + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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. Small fixup to match API change to Accessible_getRole. + + * libspi/action.c: + Bugfix for get_action_from_servant (). + +2001-12-11 Michael Meeks + + * libspi/libspi.h: remove registry.h and + desktop.h, deviceeventcontroller.h + + * libspi/Makefile.am: remove registry.[ch], + desktop.[ch], deviceeventcontroller.[ch] + + * registryd/Makefile.am: add registry.[ch], + desktop.[ch], rename registryd.c to registry-main.c. + add deviceeventcontroller.[ch] + +2001-12-11 Bill Haneman + + * test/simple-at.c: + Replace setenv() call with putenv (). + + * libspi/component.c: + Bugfix in AccessibleComponent_getExtents (), + (from Adi Dascal). + +2001-12-11 Michael Meeks + + * libspi/image.c (impl_getImageExtents): impl. + (spi_image_class_init): upd. + + * cspi/spi_image.c + (AccessibleImage_getImageDescription): fix daft bug + of mine (doh). + + * test/test-simple.c (global_listener_cb): update + to only quit if not --poke + (main): catch --poke. + (validate_accessible): upd. dumping, call test_image + (test_image): impl. + + * libspi/Makefile.am (IDL_DEPS): fixup the IDL + dependencies. + + * idl/Accessibility.idl: update all IDL includes. + + * idl/*.idl - rename to namespace - this sucks, blame + mjs' bad decision for oafd. + + * test/test-simple.c (create_test_window): add more tests. + (create_tree): split this out. + (validate_accessible): bugfix. + +2001-12-11 Michael Meeks + + * cspi/bonobo/cspi-bonobo-listener.c: + (cspi_kestroke_listener_unref), + (cspi_event_listener_unref): impl. undoing previous + homenous environment - for Bill. + + * cspi/spi_table.c (long_seq_to_array): use + malloc instead. + + * cspi/spi_main.c: split out all bonoboish bits into + bonobo/ + + * cspi/spi-impl.h: upd. typedefs. + + * cspi/spi_registry.c: update to lowlevel API, + return booleans to indicate success in some places. + + * cspi/spi_event.c: update to lowlevel API. + + * cspi/bonobo/Makefile.am: add. + + * cspi/bonobo/cspi-lowlevel.h: add + + * cspi/bonobo/cspi-bonobo.c: add + + * cspi/bonobo/cspi-bonobo-listener.[ch]: impl. + + * cspi/Makefile.am: remove spi-listener-impl.[ch], + (SUBDIRS): add bonobo, link in the libs. + + * cspi/spi-util.c: kill this file. + + * TODO: merge in my bits. + +2001-12-11 Michael Meeks + + * test/test-simple.c (test_value, test_table, main): + remove unused variables causing warnings. + + * configure.in: cleanup checks - require gail. + +2001-12-11 Bill Haneman + + * idl/Value.idl: + Changed Value interface to use SValue (scalars) rather than + assuming all values are floats. This allows floats, doubles, + longs, shorts, and unsigned values to be manipulated. + Introduced Accessibility:SValue union. + + * libspi/value.c: + Updated to use new API above, and to work correctly with GValues + of different types in AtkValue. + + * cspi/spi_value.c: + Updated to use new API above. cspi's API is as yet unchanged. + + * TODO: + Updated the Value revision action item. + +2001-12-10 Bill Haneman + + * test/test-simple.c: + Added test_table (GtkTreeView widget in test window to follow). + Un-commented test_value, added GtkRange widget. + Added GtkTreeView widget with GtkListStore. It passes regression + test but leaks one SPI object for some reason. + + * libspi/value.c: + Fixed bug in impl__set_currentValue. + +2001-12-10 Michael Meeks + + * cspi/spi_text.c: audit for exception handling, + tolerating NULL object references safely etc. + + * cspi/spi_value.c: ditto. + + * cspi/spi_table.c (AccessibleTable_getSummary), + (AccessibleTable_getAccessibleAt), + (AccessibleTable_getRowHeader), + (AccessibleTable_getColumnHeader), + (AccessibleTable_getCaption): fix bugs hidden by + incorrect casts. + (long_seq_to_array): impl. + (AccessibleTable_getSelectedRows), + (AccessibleTable_getSelectedColumns): use it. + +2001-12-10 Bill Haneman + + * TODO: + Added a TODO list (rough and short for now). + + * cspi/spi_hyperlink.c: + * cspi/spi_hypertext.c: + Fixed macro name typos, and remove use of obsolete macro in + AccessibleHyperlink_getLink. + + * cspi/spi_action.c: + * cspi/spi_accessible.c: + * cspi/spi_application.c: + * cspi/spi_component.c: + * cspi/spi_selection.c: + * cspi/spi_text.c: + * cspi/spi_value.c: + Documentation fixes (removed return values from ref/unref methods). + +2001-12-10 Michael Meeks + + * cspi/spi_action.c: audit for exception handling, + tolerating NULL object references safely etc. + + * cspi/spi_accessible.c: ditto. + + * cspi/spi_component.c: ditto. + + * cspi/spi_editabletext.c: ditto. + + * cspi/spi_hyperlink.c: ditto. + + * cspi/spi_hypertext.c: ditto. + + * cspi/spi_image.c: ditto. + + * cspi/spi_selection.c: ditto. + +2001-12-10 Michael Meeks + + * configure.in: use cspi/libspi.pc.in instead. + + * Makefile.am (pkgconfig_DATA): upd. to match. + + * test/simple-at.c (report_focus_event): kill hacks around + bad return values, use putenv not setenv + + * libspi/desktop.c (impl_desktop_get_child_at_index): don't + fire ChildGone - I killed it. + + * libspi/component.c + (impl_accessibility_component_get_extents): remove + bogus return. + + * idl/Accessible.idl: kill ChildGone exception. + + * cspi/*.[ch]: kill int return from ref / unref. + + * cspi/spi_main.c (cspi_object_add_check): fold into + (cspi_object_add): here. + + * cspi/spi_component.c (AccessibleComponent_getExtents): + handle exceptions elegantly. + + * cspi/spi-private.h (cspi_check_ev_return), + (cspi_return_if_fail): impl. + + * cspi/spi_accessible.c: use extensively. + (AccessibleStateSet_equals): add direct compare check. + + * cspi/spi_selection.c: tolerate NULL objs, and check + exceptions before return. + + * cspi/spi-util.c (cspi_warn_ev): rename to + (cspi_check_ev): this & don't pass ev in; no point. + +2001-12-10 Michael Meeks + + * test/test-simple.c: use putenv not setenv + (get_environment_vars): more chatty if you're not using + the fun bits. + + * test/simple-at.c: do the setenv so more people see the + nice demo easily. + +2001-12-10 Bill Haneman + + * libspi/registry.c: + Changed check of CORBA_environment on notification to be a warning + instead of an error for the moment, since we can recover from this + error when caused by a queued notification from a dead app. + + * libspi/value.c: + Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as + used by all current implementors of AtkValue), and coerce to + CORBA_float. (Proper general case fix may require change to Value.idl). + +2001-12-09 Bill Haneman + + * cspi/spi.h: + * cspi/spi_event.c: + * cspi/spi_accessible.c: + Documentation fixes: added user_data params to documentation for + listeners and callbacks. + + * cspi/spi_accessible.c: + Changed AccessibleStateSet_compare to return a + StateSet rather than return the difference set into a third parameter. + + +2001-12-09 Bill Haneman + + * configure.in: + Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL. + remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like + it). + + * Makefile.am: + Remove subdirectory po from SUBDIRS for now. + + * at-bridge/bridge.c: + Beefed up a couple of debug printouts. + One-line fix for signal notification name formatting. + + * libspi/accessible.c: + Added assertion to spi_accessible_new (). + + * libspi/application.c: + Put #ifdef qualifiers around a printf. + + * libspi/value.c: + Fixed derivation (from BONOBO_OBJECT to SPI_BASE). + + * registryd/Makefile.am: + * util/Makefile.am: + Replaces use of XML_I18N_MERGE_SERVER_RULE with + INTLTOOL_SERVER_RULE macro. + + * test/simple-at.c: + Added an event listener for several ATK signals, for + testing and debugging. Removed a few g_warnings. + Added test output if focussed item implements the Value interface. + + * test/test-simple.c: + Added test_value () function (known not to pass at the moment, so + not actually called yet. + +2001-12-08 Michael Meeks + + * at-bridge/bridge.c (bridge_focus_tracker), + (emit_eventv): fix the same ref. leak. + (register_atk_event_listeners): don't leak. + + * cspi/spi-listener-impl.c (cspi_event): more + protection from client code. + + * test/test-simple.c (test_desktop): unref the app. + + * test/Makefile.am: upd. TESTS. + + * at-bridge/bridge.c (bridge_exit_func): release the registry. + + * test/keysynth-demo.c (keysynth_exit): unref the listeners. + + * cspi/spi_accessible.c (Accessible_queryInterface): constify. + + * cspi/spi_registry.c: constify in strings. + (deregisterGlobalEventListenerAll): don't release the ref. + + * cspi/spi.h: start removing redundant / conflicting + gtkdoc comments, making the API readable at a glance :-) + + * cspi/spi_event.c (AccessibleEventListener_unref): impl. + + * test/keysynth-demo.c (keysynth_exit, main): upd. + + * test/simple-at.c (main, simple_at_exit): upd. + + * test/test-simple.c (unutterable_horror): kill. + (utterable_normal_derefs): kill. + (main): upd & do a setenv before gtk_init, so that we + can use memprof - and to save the pain of remembering + this, if we're running under memprof - don't exit. + + * cspi/spi_main.c (SPI_exit): return exit status + for cspi. + (SPI_event_quit): impl. + (SPI_event_main): simplify. + (cspi_is_gnome_app): kill. + (SPI_init): kill isGNOMEapp arg. + + * at-bridge/bridge.c (register_atk_event_listeners): + re-instate the unref. + (bridge_exit_func): don't re-activate the registry, + protect vs. theoretical re-entry, use the + AT_BRIDGE_SHUTDOWN env. var to determine whether to + assert a clean shutdown - for regression tests. + 2001-12-08 Abel Cheung * configure.in: Comment out dummy i18n support for now, @@ -7,6 +634,8 @@ 2001-12-07 Michael Meeks + * util/magnifier.c: kill bonobo activation reg. race. + * libspi/component.c (impl_accessibility_component_get_extents): make it match it's sig.