2001-12-11 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
index 8abc5c5..f115827 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2001-12-11  Michael Meeks  <michael@ximian.com>
+
+       * 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 <bill.haneman@sun.com>
+
+       * test/simple-at.c:
+       Replace setenv() call with putenv ().
+
+       * libspi/component.c:
+       Bugfix in AccessibleComponent_getExtents ().
+       
+2001-12-11  Michael Meeks  <michael@ximian.com>
+
+       * 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  <michael@ximian.com>
+
+       * 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  <michael@ximian.com>
+
+       * 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  <bill.haneman@sun.com>
+
+       * 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  <bill.haneman@sun.com>
+
+       * 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  <michael@ximian.com>
+
+       * 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  <bill.haneman@sun.com>
+
+       * 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  <michael@ximian.com>
+
+       * 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  <michael@ximian.com>
+
+       * 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  <michael@ximian.com>
+
+       * 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 <bill.haneman@sun.com>
+
+       * 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 <bill.haneman@sun.com>
+
+       * 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 <bill.haneman@sun.com>
+
+       * 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  <michael@ximian.com>
+
+       * 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  <maddog@linux.org.hk>
 
        * configure.in: Comment out dummy i18n support for now,
          otherwise it fails to build.
+       * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
+         EXTRA_DIST. They are missing in tarball.
 
 2001-12-07  Michael Meeks  <michael@ximian.com>
 
+       * util/magnifier.c: kill bonobo activation reg. race.
+
        * libspi/component.c
        (impl_accessibility_component_get_extents): make it match
        it's sig.