18 years ago2001-12-10 Michael Meeks <>
michael [Mon, 10 Dec 2001 17:16:01 +0000 (17:16 +0000)]
2001-12-10  Michael Meeks  <>

* use cspi/ instead.

* (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.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoOne-line change of a g_error to g_warning when notification fails.
billh [Mon, 10 Dec 2001 14:39:32 +0000 (14:39 +0000)]
One-line change of a g_error to g_warning when notification fails.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoFix for spi_value, AccessibleValue interface should work correctly for known
billh [Mon, 10 Dec 2001 13:42:39 +0000 (13:42 +0000)]
Fix for spi_value, AccessibleValue interface should work correctly for known
implementors of AtkValue.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoDocumentation fixes for event listener APIs which now include user_data
billh [Mon, 10 Dec 2001 00:29:54 +0000 (00:29 +0000)]
Documentation fixes for event listener APIs which now include user_data
parameters to callbacks.
Changed stateset compare API to return a difference set rather that
return the difference values into a StateSet pointer.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoRemoved po directory from for now.
billh [Mon, 10 Dec 2001 00:12:04 +0000 (00:12 +0000)]
Removed po directory from for now.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoSmall fix for, removed AC_OUTPUT of po/Makefile.
billh [Mon, 10 Dec 2001 00:10:48 +0000 (00:10 +0000)]
Small fix for, removed AC_OUTPUT of po/Makefile.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded tests for Value interface, and upgraded i18n macro.
billh [Sun, 9 Dec 2001 23:30:27 +0000 (23:30 +0000)]
Added tests for Value interface, and upgraded i18n macro.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoUpgraded a few autoconf macro usage lines in and's.
billh [Sun, 9 Dec 2001 23:08:14 +0000 (23:08 +0000)]
Upgraded a few autoconf macro usage lines in and's.
Added some tests for Value interface.  Partial fix for failure to relay
some events to global listeners.  Fixed inheritance error in SpiValue.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-12-08 Michael Meeks <>
michael [Sat, 8 Dec 2001 19:17:17 +0000 (19:17 +0000)]
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/ 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.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdd missing idl files to dist
baddog [Fri, 7 Dec 2001 19:02:51 +0000 (19:02 +0000)]
Add missing idl files to dist

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoComment out extraneous i18n support temporarily
baddog [Fri, 7 Dec 2001 18:44:57 +0000 (18:44 +0000)]
Comment out extraneous i18n support temporarily

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agokill stale files.
michael [Fri, 7 Dec 2001 16:51:07 +0000 (16:51 +0000)]
kill stale files.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-12-07 Michael Meeks <>
michael [Fri, 7 Dec 2001 16:43:33 +0000 (16:43 +0000)]
2001-12-07  Michael Meeks  <>

* libspi/component.c
(impl_accessibility_component_get_extents): make it match
it's sig.

* libspi/registry.c (_registry_notify_listeners):
re-remove X headers & reconcile conflicts.
(spi_listener_struct_free): bad conflict resolve.
more bad merging fixed.
(impl_accessibility_registry_deregister_application): ditto.
(spi_registry_new): ditto.
(spi_registry_init): don't have an applications field.

[ merge fixups2 branch to here ]

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-12-07 Michael Meeks <>
michael [Fri, 7 Dec 2001 16:42:23 +0000 (16:42 +0000)]
2001-12-07  Michael Meeks  <>

* libspi/component.c
(impl_accessibility_component_get_extents): make it match
it's sig.

* libspi/registry.c (_registry_notify_listeners):
re-remove X headers & reconcile conflicts.
(spi_listener_struct_free): bad conflict resolve.
more bad merging fixed.
(impl_accessibility_registry_deregister_application): ditto.
(spi_registry_new): ditto.
(spi_registry_init): don't have an applications field.

[ merge fixups2 branch to here ]
2001-12-07  Michael Meeks  <>

* test/simple-at.c (report_focus_event),
(report_focussed_accessible): remove g_warning debug.

2001-12-07  Michael Meeks  <>

* test/test-simple.c (validate_tree): comment out some checks.
(test_desktop): app now not registered idly - horay.

2001-12-07  Michael Meeks  <>

* cspi/spi_registry.c
(registerAccessibleKeystrokeListener): clean, stop it leaking
great swathes of memory, and device event controller references.
ensure we always pass valid sequences.
(deregisterAccessibleKeystrokeListener): ditto.
(generateKeyEvent): upd.

* at-bridge/bridge.c (bridge_key_listener): handle
registry dead exception gracefully.
(bridge_focus_tracker, emit_eventv): free ev.

* test/simple-at.c (report_focus_event): fix polarity.

* libspi/application.c (notify_listeners): kill the ev
argument, and make sure we init the ev we use.
(spi_application_object_event_listener): split out a chunk
(get_atk_object_ref): here & fixup.
(reverse_lookup_name_for_toolkit_event): make const.
(spi_application_toolkit_event_listener): fixup, kill leaks
ref problems etc.

* at-bridge/bridge.c (register_atk_event_listeners):
don't unref the noop object - causes grief.

* libspi/registry.c: remove the X headers.
turn off the debug churn.

* libspi/accessible.c (spi_accessible_new_return): only
release the ref if we are supposed to [doh]

* test/simple-at.c (report_button_press, report_focus_event):
guard vs. unexpected exit.

* at-bridge/bridge.c (gtk_module_init): prune printf.
(bridge_exit_func): fix app unref.

* libspi/ don't install registry or desktop.h

* libspi/*.h: update includes.

* libspi/application.h: don't include ourself, or
other redundant headers.

2001-12-06  Michael Meeks  <>

* libspi/accessible.c
(get_accessible_from_servant): impl.
Upd. all CORBA impl.s to use it killing cut and paste.

* cspi/spi_main.c (cspi_cleanup): guard vs. double
(SPI_init): register atexit cleanup handler here.

2001-12-06  Michael Meeks  <>

* at-bridge/bridge.c (gtk_module_init): g_error on
activation exception

2001-12-06  Michael Meeks  <>

* at-bridge/bridge.c (gtk_module_init): some sort of
confusing merge clash - reverted.
(bridge_idle_init): ditto.

* test/test-simple.c (main, utterable_normal_derefs):
merge from Bill - somehow not committed.

2001-12-06  Michael Meeks  <>

* libspi/value.c (spi_value_class_init): upd.
(spi_value_finalize): kill.

* libspi/table.c (spi_table_finalize): kill.
(spi_table_interface_new): upd.
(spi_table_class_init): upd.
(get_table_from_servant): impl.
Upd. all CORBA impl.s to use it killing yet more cut and paste.

* libspi/selection.c (spi_selection_finalize): kill.
(spi_selection_interface_new): upd.
(spi_selection_class_init): upd.
(get_selection_from_servant): impl.
Upd. all CORBA impl.s to use it killing yet more cut and paste.

* libspi/relation.c (spi_relation_finalize): kill.
(spi_relation_class_init, spi_relation_new): upd

* libspi/image.c (spi_image_finalize): kill.
(spi_image_class_init): upd.
(spi_image_interface_new): upd.
(get_image_from_servant): impl.
Upd. all CORBA impl.s to use it killing yet more cut and paste.

* libspi/hyperlink.c (spi_hyperlink_class_init): upd.
(spi_hyperlink_finalize): kill.
(spi_hyperlink_new): upd.
(get_hyperlink_from_servant): impl.
Upd. all CORBA impl.s to use it killing yet more cut and paste.

* libspi/hypertext.c (spi_hypertext_interface_new): upd.
(spi_hypertext_finalize): kill.
(spi_hypertext_class_init): upd.
(get_hypertext_from_servant): impl.
Upd. all CORBA impl.s to use it killing yet more cut and paste.

* libspi/editabletext.c (spi_editable_text_finalize): kill.
(spi_editable_text_interface_new): upd.
(get_editable_text_from_servant): impl.
Upd. all CORBA impl.s to use it killing yet more cut and paste.

* libspi/text.c (get_text_from_servant): impl.
All impls - update to use it killing more cut and paste,
also fix bad string returns on duff args ( a somewhat
impossible case to handle - but hey ).
(spi_text_construct): impl.
(spi_text_interface_new): upd.
(spi_text_object_finalize): kill.

* libspi/component.c
(accessibility_component_object_finalize): kill.
(spi_component_class_init): upd.
(get_component_from_servant): impl. helper to kill cut & paste.
(spi_component_interface_new): upd.

* libspi/action.c (spi_action_finalize): kill.
(spi_action_class_init): upd. inherit from SpiObject.
(spi_action_interface_new): upd.
(get_action_from_servant): impl. helper to reduce cut & paste.
(impl_getKeyBinding, impl_getName, impl_doAction),
(impl_getDescription): Use it everywhere.

* cspi/spi_main.c (get_live_refs): a pointer hash.
(spi_object_hash, spi_object_equal): comment out.
There are issues with CORBA object hashing that need

* libspi/application.c (spi_application_init),
(spi_application_new): upd.

* libspi/accessible.c (spi_accessible_object_finalize): kill.
(spi_accessible_class_init): upd.
s/accessible/object/ in epv methods.

2001-12-05  Bill Haneman <>

* at-bridge/bridge.c:
Reorder the bridge initialization into the bridge gtk_module_init,
an immediate call to bridge_register_app, and an idle_add for
register_atk_event_listeners (the only code that *must* wait until
GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
the activation, creates the application's Accessible object, and
queues the bridge_idle_init function.  Restored call to
Prior to making this call we obtain a new reference to the
registry, which is a temporary hack that helps us handle apps that
shut down the bonobo mainloop before we get there.

* libspi/registry.c:
Fix string leakage in debug block, and don't segv if a an app
dies before its event notifications have been propagated.

* cpi/spi_util.c:
Modify cspi_check_ev() to call g_warning() rather than g_error(),
as stopgap measure until we get proper exception handling when
objects die during or before interrogation.

* cspi/spi_main.c:
* cspi/spi.h:
Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
Also changed default value of is_gnome_app to TRUE.

* test/simple-at.c:
* test/keysynth-demo.c:
Changed use of SPI_init and SPI_event_main to reflect API change above.

* test/simple-at.c:
Made report_focus_event check the warning value from getName
before reporting on focussed accessible; simplifies handling of
notifications from dead objects.

* test/test-simple.c: (Changes not in this patch since source is
not in CVS ?)

2001-12-05  Michael Meeks  <>

* registryd/registryd.c (main): protect against
bonobo-activation startup race condition.

* cspi/spi_main.c (cspi_object_add_check): cope
with the exception elegantly.

* idl/Accessible.idl: decl. ChildGone

* libspi/desktop.c (spi_desktop_dispose): impl.
(spi_desktop_class_init): upd.
(abnormal_application_termination): impl.
(impl_desktop_get_child_at_index): re-impl.

* libspi/registry.c
kill excessive debug clutter.

* test/test-simple.c (test_misc): test some NULL
tolerance. (main): upd.

* cspi/spi_main.c (cspi_accessible_is_a): a NULL
implements no interfaces - so let's not crash.

* cspi/spi_accessible.c (Accessible_queryInterface): ditto.

* libspi/accessible.c (spi_accessible_new_return): impl.
helper to calm the cut and paste, to cope with
NULL AtkObjects effectively and efficiently, and to kill
the referencing bugs.

* libspi/table.c (impl_getAccessibleAt),
(impl_getRowHeader, impl_getColumnHeader): upd.

* libspi/hyperlink.c (impl_getObject): upd.

* libspi/accessible.c
(impl_accessibility_accessible_get_child_at_index): upd.

* libspi/component.c
(impl_accessibility_component_get_accessible_at_point): upd.

* test/test-simple.c (test_editable_text, test_text): impl.
some simple tests.

* cspi/spi_editabletext.c
(AccessibleEditableText_insertText): constify.

* test/test-simple.c (focus_me): make more robust.

* libspi/accessible.c: remove some printfs in methods that
we test and work fine, so we can get a clean tree dump.

* test/test-simple.c (validate_accessible),
(validate_tree): make tree dumping pretty too.

* at-bridge/bridge.c (bridge_signal_listener): upd. so
it builds without debug on.

* test/test-simple.c (validate_accessible): fix the most
ludicrous bug.

* cspi/spi_main.c (spi_object_release): leave the nicely
blanked memory around if in debug mode.

* cspi/spi-listener-impl.c (cspi_event): use add_check.

[committed to fixups2]
2001-12-05  Michael Meeks  <>

* libspi/editabletext.c
(spi_editable_text_class_init): g_type_class_peek_parent,
not interface peek - so we finalize cleanly.

* libspi/accessible.c (spi_accessible_new): kill debug.

* test/test-simple.c (validate_accessible): fix ref.
leak, print strings before freeing them; sigh, comment a
chunk out due to strangeness.
(validate_tree): unref the child after use.

* cspi/spi_component.c (AccessibleComponent_getLayer):
add missing break statement, switch on zlayer not the
uninitialized retval.

* cspi/spi_main.c (cspi_object_add): add assert, local ref
before (possibly re-entering) remote unref.

* test/simple-at.c (main): unref the desktop.

* cspi/spi_accessible.c (cspi_accessible_is_a): move

* cspi/spi_main.c (cspi_accessible_is_a): here to
isolate bonobo API usage more.

* libspi/registry.c (impl_accessibility_registry_register_application):
prune bogus comment.

2001-12-04  Michael Meeks  <>

* test/test-simple.c (validate_tree): upd.
IndexInParent check to make it more lucid.
(validate_accessible): dump the tree.

* libspi/accessible.c (de_register_public_ref),
(get_public_refs): impl.
(spi_accessible_new): make more efficient & intuitive.
Now IndexInParent check works.

2001-12-04  Michael Meeks  <>

* cspi/spi-util.h: remove.

* cspi/spi.h: move SPI_freeString here

* libspi/component.c (impl_accessibility_component_get_layer):
warning fixage.
(impl_accessibility_component_get_mdi_z_order): ditto,
return -1 on error - is this ok ?

* test/test-simple.c (test_application): impl.

* cspi/spi_accessible.c (Accessible_getApplication),
(Accessible_isApplication): impl.

* libspi/registry.c (spi_listener_struct_free): release
the CORBA reference too.

* libspi/accessible.c
(impl_accessibility_accessible_get_parent): fix ref leak.

* libspi/registry.c (spi_registry_new): make the registry
immortal - we don't want it to go away ever.

* libspi/application.c
(spi_accessible_application_finalize): impl. cleanup.

* cspi/spi_registry.c
(deregisterAccessibleKeystrokeListener): fix ref leak.

* cspi/spi_main.c (SPI_init): remove redundant ref.

* test/test-simple.c (unutterable_horror): impl. to force a
clean shutdown.
(main): use it.

* libspi/registry.c
(impl_accessibility_registry_deregister_application): release
the application when we de-register it.

* at-bridge/bridge.c (bridge_exit_func): comment out shutdown
until we have the infastructure to get it right.

2001-12-03  Michael Meeks  <>

* libspi/ only build eventlistener.[ch]

* libspi/accessible.c
(impl_accessibility_accessible_get_child_at_index): don't leak.

* at-bridge/bridge.c (bridge_exit_func): cope with an exit
before we hit the idle handler.

* cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
debugging than exit.

* at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.

* libspi/listener.c (impl_notify_event): check source
not NIL before unref.

* libspi/registry.c (impl_registry_notify_event): ditto.

* libspi/eventlistener.c
(impl_accessible_event_notify_event): unref the source.

* libspi/accessibleeventlistener.c
(impl_accessible_event_notify_event): unref the source.

* idl/Event.idl: remove 'hash_id' attribute - of no
concievable use.

* libspi/application.c (notify_listeners): upd list
iteration & sig.
(spi_application_toolkit_event_listener): upd to do correct
CORBA ref counting.

* libspi/registry.c
(_registry_notify_listeners): update.
(parse_event_type): this method also leaks like a sieve.
fix ETYPE_WINDOW case.

* libspi/application.c
kill leak.

* libspi/hyperlink.c (impl_getObject): fix ref mistake.

* libspi/hypertext.c (impl_getLink): ditto.

* cspi/spi_main.c (cspi_object_add): remove
bogus CORBA_Object_duplicate.

* cspi/spi-listener-impl.c (cspi_event): dup/ref
on the object_add.

* cspi/spi_accessible.c
(Accessible_getRelationSet): fix leak / referencing issue.

* cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
(cspi_object_add, cspi_object_unref): upd.
(spi_object_release, get_live_refs): impl.
(cspi_cleanup): simplify.

* *.[ch]: s/boolean/SpiBoolean/

* cspi/spi_accessible.c (role_names): actualy order so it
corresponds with the enum !

* test/test-simple.c (test_roles): check some role strings
vs. enums to detect offset errors.

2001-12-01  Michael Meeks  <>

* cspi/spi_main.c (cspi_object_add_check): impl. helper.

* cspi/spi_accessible.c (Accessible_getChildAtIndex):
check ev before
(Accessible_getChildAtIndex): use cspi_add_check so we
check the ev before using a (possibly) invalid value.

* libspi/accessible.c
(impl_accessibility_accessible_get_parent): don't segv
on a NULL parent.

* at-bridge/bridge.c (gtk_module_init): upd.
(bridge_property_event_listener): don't leak strings
and events !
(bridge_property_event_listener): don't use a static
buffer in case of recursive event emission &
re-enterancy - split out the swathe of cut and paste
(emit_eventv): and fix 2 ref leaks here & comply to the
coding style.
(bridge_register_app): rename to
(bridge_idle_init): this and kill arg parsing, split
various inits & bonobo-activation registration to module
init time, kill referencing error.
(bridge_exit_func): fix the same leak.
(bridge_focus_tracker): don't leak event structures
and strings.
(bridge_signal_listener): more leakage and cut & paste
(bridge_key_listener): return the result - FIXME is
this polarity correct ?
(accessibility_keystroke_from_atk_key_event): rename
(accessibility_init_keystroke_from_atk_key_event): and stop
(gtk_module_init): return a value - not that it is checked by
Gtk - but hey.
(bridge_key_listener): register my horror at casting between
IDL defined structs.
(bridge_get_registry): kill - not used.

* cspi/spi_accessible.c (Accessible_getRole): make return const.

* test/test-simple.c (test_roles): impl.
(test_desktop, validate_accessible, validate_tree): impl.

* cspi/spi_accessible.c (role_names): fixup bogus
MAX_ROLES setup, make constants const for efficient linkage
(AccessibleRole_getName): conform to coding style, make
return 'const'

2001-11-30  Michael Meeks  <>

* cspi/spi.h: add missing prototype.

* libspi/registry.c (spi_listener_struct_new): fix sig.

* test/ add test-simple

* test/test-simple.c: add

* test/ add.

* cspi/spi_main.c (SPI_init): make SPI_inited module global,

* at-bridge/bridge.c (gtk_module_init): don't do an idle init,
do it straight - since otherwise we often get an activation race.

[ work before Bill duplicated a chunk of it ... ]
2001-11-30  Michael Meeks  <>

* libspi/keystrokelistener.c
(spi_keystroke_listener_class_init): fixup arg
count (doh).

* libspi/eventlistener.c
(spi_event_listener_class_init): ditto.

* tests/ add.

* cspi/spi-listener-impl.h: update macros.

* cspi/spi-listener-impl.c
(cspi_event_listener_remove_callback): add
correct pre-conditions.

* cspi/spi_main.c (SPI_exit): guard vs. double
exits, exit the mainloop nicely.
(SPI_event_main): make more sense.
(SPI_init): move the atexit evilness here so we
always do it (yuck).
(SPI_event_main): upd.

* test/simple-at.c: update for listener changes.

* registryd/registryd.c (main): prune kruft.

* libspi/libspi.h: upd.

* libspi/eventlistener.[ch]: rename broken macros.

* libspi/accessibleeventlistener.[ch]: remove.

* libspi/*.[ch]: IS_SPI_... -> SPI_IS_...

* test/test-simple.c: Add - automated tests.

* cspi/spi-listener-impl.c (cspi_event),
(cspi_key_event): add user_data to invoke.
(cspi_keystroke_listener_finalize): impl.
(cspi_keystroke_listener_class_init): upd.

* cspi/spi_event.c
(AccessibleKeystrokeListener_addCallback): upd.

* libspi/deviceeventcontroller.c
(spi_device_event_controller_check_key_event): add public proto.

* libspi/registry.c
always init listeners.
(_registry_notify_listeners): yes it is.

* cspi/spi-listener-impl.c (cspi_key_event):
move debug to here.
(cspi_event_listener_finalize): impl.
(cspi_event_listener_class_init): hook up.
(event_handler_new, event_handler_free),
(event_list_remove_by_callback): impl.
(cspi_event_listener_add_callback): upd.

* libspi/keystrokelistener.c
(keystroke_listener_object_finalize): kill
(spi_keystroke_listener_class_init): upd.
(spi_keystroke_listener_remove_callback): kill,
use signals.
(impl_key_event): prune drasticaly.

* libspi/eventlistener.c
(spi_event_listener_remove_callback): kill, use
(impl_accessible_event_notify_event): upd.
(spi_event_listener_object_finalize): remove.

* libspi/ use eventlistener.[ch]

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoBugfix for ZLayer API, and added missing declarations for Value interface
billh [Thu, 6 Dec 2001 19:10:21 +0000 (19:10 +0000)]
Bugfix for ZLayer API, and added missing declarations for Value interface
in spi.h

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoChanged IDL for State, Component, and Image to reduce use of out params.
billh [Tue, 4 Dec 2001 22:51:38 +0000 (22:51 +0000)]
Changed IDL for State, Component, and Image to reduce use of out params.
Fixed string memory leaks in registry.c.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded implementations for Accessibility_Component_getLayer and
billh [Tue, 4 Dec 2001 00:38:48 +0000 (00:38 +0000)]
Added implementations for Accessibility_Component_getLayer and

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded methods for Component Layer and MDI Z-Order information (see
billh [Tue, 4 Dec 2001 00:25:41 +0000 (00:25 +0000)]
Added methods for Component Layer and MDI Z-Order information (see
recent additions to ATK).
Changed typedef 'boolean' to 'SPIBoolean', to avoid C++ clash.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded API to IDL and cspi (but not libspi, yet) for AccessibleComponent
billh [Tue, 4 Dec 2001 00:24:35 +0000 (00:24 +0000)]
Added API to IDL and cspi (but not libspi, yet) for AccessibleComponent
Layer and MDI Z-Order (see recent additions to ATK).
Changed typedef 'boolean' to 'SPIBoolean', to avoid C++ keyword clashes,
in cspi.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoRemoved unnecessary gdk dependency from registryd.
billh [Sun, 2 Dec 2001 14:25:52 +0000 (14:25 +0000)]
Removed unnecessary gdk dependency from registryd.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoRemoved obsolete (and unused) code from spi_registry.c (X event loop for passive...
billh [Sun, 2 Dec 2001 12:32:03 +0000 (12:32 +0000)]
Removed obsolete (and unused) code from spi_registry.c (X event loop for passive key grabs).

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded docs for SPI_freeString, and used it to stop memory leak of strings
billh [Fri, 30 Nov 2001 14:48:23 +0000 (14:48 +0000)]
Added docs for SPI_freeString, and used it to stop memory leak of strings
in simple-at.c.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoMerged Michael's branch back into HEAD, and fixed a number of reference counting...
billh [Wed, 28 Nov 2001 21:48:07 +0000 (21:48 +0000)]
Merged Michael's branch back into HEAD, and fixed a number of reference counting issues.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoadd so I can tag.
michael [Mon, 26 Nov 2001 04:38:16 +0000 (04:38 +0000)]
add so I can tag.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded a TODO comment to mag_image.c.
billh [Sun, 25 Nov 2001 14:50:39 +0000 (14:50 +0000)]
Added a TODO comment to mag_image.c.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded simple scanning to the virtual keyboard demo, to show one way to
billh [Sun, 25 Nov 2001 14:47:03 +0000 (14:47 +0000)]
Added simple scanning to the virtual keyboard demo, to show one way to
do it with glib APIs.
Added an implementation of the Magnifier:getZoomRegionParams IDL to the
simple magnifier.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-23 Mark McLoughlin <>
mmclouglin [Fri, 23 Nov 2001 18:51:15 +0000 (18:51 +0000)]
2001-11-23  Mark McLoughlin  <>

        * cspi/spi-private.h: my guess at what michael forgot
        before he ran off to NZ :-)

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-23 Michael Meeks <>
michael [Fri, 23 Nov 2001 00:30:43 +0000 (00:30 +0000)]
2001-11-23  Michael Meeks  <>

* cspi/spi_event.c (AccessibleEventListener_removeCallback):
comment out non existant method invoke so we link.

* cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
use bonobo_exception_get_text for more friendly warnings.

* cspi/spi.c (Obj_Add): move into spi_main & rename
spi_object_add; kill spi.c

* cspi/spi_registry.c
(registerGlobalEventListener): fix exception leaks.

* cspi/spi_main.c (spi_exception): impl. helper, so we
don't leak exceptions.

* cspi/spi_selection.c
(AccessibleSelection_deselectSelectedChild): return the
success state.

* cspi/spi_main.c (spi_ev): impl; hack - gack.
(spi_registry): ditto.
(SPI_init): guard against double inits.

* cspi/*.c: use spi_ev (), and spi_registry () where
appropriate - a temporary hack until we have something
better. Use spi_object_add

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoadded use of non-preemptive keylistener to simple-at test.
billh [Thu, 22 Nov 2001 14:55:54 +0000 (14:55 +0000)]
added use of non-preemptive keylistener to simple-at test.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded demo of both preemptive and non-preemptive key listeners to test/simple-at...
billh [Thu, 22 Nov 2001 14:11:02 +0000 (14:11 +0000)]
Added demo of both preemptive and non-preemptive key listeners to test/simple-at, and committed bugfixes to make it work.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoCHanges to fix broken docs build (sorry!). Disabled build of IDL docs since
billh [Thu, 22 Nov 2001 11:55:47 +0000 (11:55 +0000)]
CHanges to fix broken docs build (sorry!).  Disabled build of IDL docs since
gtk-doc may not be able to scan the IDL correctly.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded filters for key events, so now basic key event support
billh [Wed, 21 Nov 2001 23:55:52 +0000 (23:55 +0000)]
Added filters for key events, so now basic key event support
should be complete (initial implementation).

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded makefile.
billh [Wed, 21 Nov 2001 18:48:20 +0000 (18:48 +0000)]
Added makefile.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoRestructured docs directory, added docs/reference/idl and docs/reference/cspi.
billh [Wed, 21 Nov 2001 17:16:57 +0000 (17:16 +0000)]
Restructured docs directory, added docs/reference/idl and docs/reference/cspi.
Fixed docs build problem, should build from a cold start now, including idl docs.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-21 Laszlo Peter <>
laca [Wed, 21 Nov 2001 12:56:03 +0000 (12:56 +0000)]
2001-11-21  Laszlo Peter  <>

*, libspi/ find libXtst.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-21 Michael Meeks <>
michael [Wed, 21 Nov 2001 10:29:10 +0000 (10:29 +0000)]
2001-11-21  Michael Meeks  <>

* test/accessx-gui.c: s/spi_value/value/ - doh.

* libspi/base.[ch]: add.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoadded note to ChangeLog.
billh [Wed, 21 Nov 2001 00:14:53 +0000 (00:14 +0000)]
added note to ChangeLog.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoStarted fixing IDL docs.
billh [Wed, 21 Nov 2001 00:12:35 +0000 (00:12 +0000)]
Started fixing IDL docs.
Fixes to event dispatching.
Got key notification working for non-preemptive key events, still needs
some work on filters (currently KeySet filters are ignored, you get
all key events that match a given modifier mask).

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoRemoved an obsolete comment.
billh [Tue, 20 Nov 2001 13:25:13 +0000 (13:25 +0000)]
Removed an obsolete comment.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-20 Michael Meeks <>
michael [Tue, 20 Nov 2001 04:32:31 +0000 (04:32 +0000)]
2001-11-20  Michael Meeks  <>

* libspi/registry.c
segv. protection.

* libspi/deviceeventcontroller.c
(spi_device_event_controller_check_key_event): return
FALSE on no virtual method.

* libspi/*..h: make includes work on a correctly pathed install.

* libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.

* libspi/application.h: kill unused ( and whacked out )
gboolean *spi_application_set_id (AtkObject *app, long id);

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-20 Michael Meeks <>
michael [Tue, 20 Nov 2001 03:57:25 +0000 (03:57 +0000)]
2001-11-20  Michael Meeks  <>

* libspi/*.[ch]: further convert to bonobo's type func
macros, remove redundnant casts etc.

* libspi/text.c s/accessibility_text/spi_text/g,
re-order to de-cruft.

* libspi/hypertext.c: re-order to kill a huge slew
of redundant forward decls.

* libspi/relation.c: ditto.

* libspi/image.c: ditto.

* */.cvsignore: update

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-20 Michael Meeks <>
michael [Tue, 20 Nov 2001 02:05:42 +0000 (02:05 +0000)]
2001-11-20  Michael Meeks  <>

* libspi/deviceeventcontroller.c
(_controller_register_with_devices): use g_getenv,
kill stdlib.h include.

* libspi/keystrokelistener.c
(spi_keystroke_listener_get_type): kill
(spi_keystroke_listener_init): rename to this.

* libspi/text.c (impl_getAttributes): fix warning / bug.

* libspi/*.[ch]: more headers, includes and over commenting.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-20 Michael Meeks <>
michael [Tue, 20 Nov 2001 00:47:32 +0000 (00:47 +0000)]
2001-11-20  Michael Meeks  <>

* libspi/*.[ch]: fixup headers, includes and over commenting.

* libspi/image.c (impl__get_imageDescription): const
correctness warning fix. remove redundant casting.

* libspi/table.c (impl_getRowDescription): ditto.
(impl_getColumnDescription): ditto.

* libspi/libspi.h: add.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-19 Michael Meeks <>
michael [Mon, 19 Nov 2001 23:41:10 +0000 (23:41 +0000)]
2001-11-19  Michael Meeks  <>

* libspi/editabletext.c (impl_setAttributes): fix warnings.

* libspi/component.c (accessibility_component_get_type):
rename to (spi_component_get_type): and macroify.
(accessibility_component_init): rename to
(spi_component_init): this
(accessibility_component_class_init): rename to
(spi_component_class_init): this

* libspi/action.c (spi_action_get_type): kill, use the macro.

* libspi/deviceeventcontroller.c (_compare_listeners): re-order
to avoid prototype.

* libspi/application.c (spi_application_object_event_listener),
warning fixes / const understanding updates.

* libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
warning fixes.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded docs and C bindings for AccessibleStateSet and AccessibleRelationSet.
billh [Sun, 18 Nov 2001 22:51:50 +0000 (22:51 +0000)]
Added docs and C bindings for AccessibleStateSet and AccessibleRelationSet.
Improved listener API docs and listed legal signals (other than GTK+ signals,
which are documented in GTK+ itself).
C bindings documentation coverage is now 100%.
Changed Registry.idl slightly, added two methods to DeviceEventController API.
Some work towards non-preemptive key listeners.
Fixed regression in signal connection caused by changes to Gtk+.
Connected bridge to all signals, so they should be available if they are emitted.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded initial implementations of SpiRelation and, for the C bindings
billh [Fri, 16 Nov 2001 23:31:01 +0000 (23:31 +0000)]
Added initial implementations of SpiRelation and, for the C bindings
in cspi, AccessibleRelation.  Added docs, documentation coverage 95%.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoImproved descriptions of ROLE types in docs.
billh [Fri, 16 Nov 2001 18:22:03 +0000 (18:22 +0000)]
Improved descriptions of ROLE types in docs.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded additional documentation and fixed a couple of latent bugs.
billh [Fri, 16 Nov 2001 16:52:26 +0000 (16:52 +0000)]
Added additional documentation and fixed a couple of latent bugs.
gtk-doc API documentation coverage now 92%.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoFixed bug in Accessible_getDescription().
billh [Fri, 16 Nov 2001 14:03:45 +0000 (14:03 +0000)]
Fixed bug in Accessible_getDescription().
Added docs for AccessibleEditableText and AccessibleHyperlink.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoRenamed SpiAccessibleEventListener to (just) SpiEventListener.
billh [Fri, 16 Nov 2001 12:14:05 +0000 (12:14 +0000)]
Renamed SpiAccessibleEventListener to (just) SpiEventListener.
Fixed gtk-doc bug in sgml that was preventing API docs from being
Fixed/cleaned up and added lots of docs to cspi; now 67% gtk-doc
coverage in at-spi/cspi.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago"Unfixed" some things :-). cleaned up and made some of the namespace changes more...
billh [Thu, 15 Nov 2001 00:54:55 +0000 (00:54 +0000)]
"Unfixed" some things :-). cleaned up and made some of the namespace changes more consistent, and fixed some breakage in the tests.
Namespaces: SpiFoo for libspi/bonobo objects
            SPI_FOO for enums (everywhere)
            AccessibleFoo in cspi C bindings
            Accessibility_Foo in IDL.
Added a primitive AccessX GUI using GTK+-2.0 widgets, in

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-13 Michael Meeks <>
michael [Tue, 13 Nov 2001 01:46:20 +0000 (01:46 +0000)]
2001-11-13  Michael Meeks  <>

* libspi/application.c
warning fixes.
(impl_accessibility_application_get_id): remove
redundant casting code.

* libspi/action.c (impl_getDescription): fix warnings.

* libspi/accessible.c
warning fixes & include action.h

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-13 Michael Meeks <>
michael [Tue, 13 Nov 2001 01:21:15 +0000 (01:21 +0000)]
2001-11-13  Michael Meeks  <>

* *.[ch] fix bits I screwed up:

s/([^ \tb(\*\&\?\",])spi_/\1/g;
s/([^ \tb(\*\&\?\",])Spi/\1/g;

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-13 Michael Meeks <>
michael [Tue, 13 Nov 2001 00:54:21 +0000 (00:54 +0000)]
2001-11-13  Michael Meeks  <>

* *.[ch] Namespace libspi into spi_ and Spi.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-11-13 Michael Meeks <>
michael [Mon, 12 Nov 2001 23:25:57 +0000 (23:25 +0000)]
2001-11-13  Michael Meeks  <>

* dist & install at-spi-1.0.pc

* libspi/ install into at-spi-1.0

* idl/ (idldir): install into at-spi-1.0

* add.

* build it.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoImproved virtual keyboard demo to use a relocatable GtkWindow.
billh [Mon, 12 Nov 2001 20:02:21 +0000 (20:02 +0000)]
Improved virtual keyboard demo to use a relocatable GtkWindow.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded C binding for key synthesis, and a new test/demo program
billh [Sun, 11 Nov 2001 00:28:07 +0000 (00:28 +0000)]
Added C binding for key synthesis, and a new test/demo program
that creates a simple onscreen keyboard (mouse-operated) and
injects events into the currently focussed window.
Added support for several types of key synthesis: KEY_PRESS,

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoEnhancements to Magnifier.idl, based on feedback from Gnopernicus team.
billh [Fri, 9 Nov 2001 00:06:14 +0000 (00:06 +0000)]
Enhancements to Magnifier.idl, based on feedback from Gnopernicus team.
Added support for 'passive grab' keylisteners (synchronous and
pre-emptive) to libspi.
Modifier simple-at.c to use these keylisteners (other types not yet
implemented) and provide some simple keyboard commands, including
a quit command that cleans up and deregisters cleanly.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago2001-10-26 Michael Meeks <>
michael [Wed, 7 Nov 2001 02:35:19 +0000 (02:35 +0000)]
2001-10-26  Michael Meeks  <>

* libspi/ (orbittypelibdir): install in orbit-2.0

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago at-bridge/ fixed LDFLAGS.
laca [Fri, 26 Oct 2001 11:35:34 +0000 (11:35 +0000)]
at-bridge/ fixed LDFLAGS.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoRemoved unnecessary fprintf().
billh [Fri, 19 Oct 2001 16:33:11 +0000 (16:33 +0000)]
Removed unnecessary fprintf().

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded implementations for AtkObject:property-change support. Fixed some (but not...
billh [Fri, 19 Oct 2001 16:05:07 +0000 (16:05 +0000)]
Added implementations for AtkObject:property-change support.  Fixed some (but not all) ref counting bugs, and we now listen to selection-change events in simple-at.c.
Considerable rework in the event handling in the bridge and elsewhere.
Added Accessibility_Application_registerObjectEventListener(), which is used by the registry.
Worked around a logjam by omitting an unref() in event listeners, which probably means that there is now a memory leak... will keep investigating.
Mostly works but can still sometimes lock up on application exit if one leans on the app hard enough.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago<2001-10-13 Louise Miller <>
louised [Wed, 17 Oct 2001 19:18:38 +0000 (19:18 +0000)]
<2001-10-13  Louise Miller <>

        * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
        idl/Event.idl, idl/Registry.idl
        Changed these files to include Bonobo_Unknown.idl instead
        of Bonobo.idl

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago Fixed typo. Added assertions for object checks in AccessibleComponent code.
marcm [Wed, 10 Oct 2001 15:17:23 +0000 (15:17 +0000)]
Fixed typo.  Added assertions for object checks in AccessibleComponent code.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdded some new API in response to user (ATV) feedback.
billh [Tue, 9 Oct 2001 18:16:03 +0000 (18:16 +0000)]
Added some new API in response to user (ATV) feedback.
Modified keystrokeListener API slightly, to allow more specific
filtration.  Added Accessible_isEqual().

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoAdd missing file.
billh [Tue, 9 Oct 2001 14:19:35 +0000 (14:19 +0000)]
Add missing file.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoCleaned up some suspect int* casts, and added assertions to text calls in libspi
billh [Tue, 9 Oct 2001 13:43:18 +0000 (13:43 +0000)]
Cleaned up some suspect int* casts, and added assertions to text calls in libspi
Also changed getCharacterAtOffset() to return an unsigned long, to allow for 32-bit characters.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago*** empty log message ***
billh [Mon, 8 Oct 2001 17:16:56 +0000 (17:16 +0000)]
*** empty log message ***

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years agoFixed 'make dist', and added:
billh [Mon, 8 Oct 2001 16:57:19 +0000 (16:57 +0000)]
Fixed 'make dist', and added:
fixes for EditableText
more DeviceEventController stuff, and some keygrab implementation
Please see ChangeLog for additional info.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

18 years ago Fixed string handling for NULL strings in libspi.
marcm [Fri, 5 Oct 2001 15:17:39 +0000 (15:17 +0000)]
Fixed string handling for NULL strings in libspi.
Added spi_freeString to free strings returned by C bindings.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded initial implementations of DeviceEventController and KeystrokeListener.
billh [Sun, 30 Sep 2001 23:59:43 +0000 (23:59 +0000)]
Added initial implementations of DeviceEventController and KeystrokeListener.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoCompleted de-registration fix.
billh [Sun, 30 Sep 2001 21:49:24 +0000 (21:49 +0000)]
Completed de-registration fix.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoImprovements/fixes to app deregistration (but some still are pending).
billh [Sun, 30 Sep 2001 13:53:57 +0000 (13:53 +0000)]
Improvements/fixes to app deregistration (but some still are pending).
Started adding support for StateSet and RelationSet on Accessibles.
Added deregistration on app exit to the atk bridge.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded Accessibility_Util.server to AC_OUTPUTS.
billh [Thu, 27 Sep 2001 21:52:45 +0000 (21:52 +0000)]
Added Accessibility_Util.server to AC_OUTPUTS.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded directory 'util' for accessibility-related
billh [Thu, 27 Sep 2001 21:34:47 +0000 (21:34 +0000)]
Added directory 'util' for accessibility-related
utilities that use at-spi, and services used by at-spi
clients.  Added an onscreen magnifier that can be controlled
via bonobo (also can use plain sockets).
Modified at-spi to send commands to this magnifier if
environment variable 'MAGNIFIER' is non-null.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded support for magnifier to simple-at, and turned TTS in simple-at
billh [Tue, 25 Sep 2001 18:32:16 +0000 (18:32 +0000)]
Added support for magnifier to simple-at, and turned TTS in simple-at
off by default.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoChanges to argc/argv params in calls to gtk_module_init and bonobo_init,
billh [Tue, 25 Sep 2001 16:49:48 +0000 (16:49 +0000)]
Changes to argc/argv params in calls to gtk_module_init and bonobo_init,
in bridge.c

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years ago*** empty log message ***
billh [Tue, 18 Sep 2001 17:35:08 +0000 (17:35 +0000)]
*** empty log message ***

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded support for Accessible_getRole(). Also provided conversion
billh [Sat, 15 Sep 2001 22:38:20 +0000 (22:38 +0000)]
Added support for Accessible_getRole().  Also provided conversion
from AccessibleRole to string.
Added festival TTS to simple-at test program, used if environment variable
FESTIVAL is set.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years ago * cspi/
marcm [Thu, 13 Sep 2001 04:33:22 +0000 (04:33 +0000)]
* cspi/
Added spi-util.c.

* cspi/spi-util.c:
Fixed typo

* cspi/spi.c:
Added interface implementation c files to list of
includes so they are included in libcspi.

* cspi/spi.h:
Changed prototype of AccessibleAction_doAction to return a boolean.
Changed prototype of AccessibleTable_getCaption to
return an Accessible.
Changed prototype of AccessibleTable_getSelectedRows
and AccessibleTable_getSelectedColumns to
return a long (returns the number of selected rows or columns
Changed name of AccessibleText_refRunAttributes to
Changed prototype of AccessibleText_getCharacterExtents to return a void rather than a
boolean. Addded support for a AccessibleCoordType parameter specifying what type of coordinates are desired.
Added an AccessibleCordType parameter to

* cspi/spi_accessible.c:
Added code to return the outstanding interfaces from

* cspi/spi_action.c:
Fixed typos.
Corrected call to getNActions to call the c binding
for an attribute.

* cspi/spi_editabletext.c:
Fixed typos.
Changed name from setRunAttributes to setAttributes.

* cspi/spi_hyperlink.c:
Fixed typos.
Changed call to getNAnchors to correctly call the c
binding for an attribute.

* cspi/spi_hypertext.c:
Fixed typos.
Changed getImageDescription to correctly call the
binding for an attribute.

* cspi/spi_selection.c:
Changed getNSelectedChildren to correctly call the c
binding for the attribute.
Changed refSelectedChild to getSelectedChild.

* cspi/spi_table.c:
Fixed typos.
Changed getCaption to return an Accessible.
Fixed calls which retrieve attributes.
Changed refAt to getAccessibleAt.
Changed getNSelectedRows and getNSelectedColumns to
return longs.

* cspi/spi_text.c:
Changed getCharacterExtents and getPointAtOffset to accept an
Fixed typos.
Changed calls which retrieve attributes.
Changed refRunAttributes to getAttributes.

* cspi/spi_value.c:
Fixed typos.

* idl/Hyperlink.idl:
Changed n_anchors attribute to nAnchors to keep naming
convention consistent.

* idl/Table.idl:
Made Table inherit from Bonobo::Unknown.
Added nSelectedColumns and nSelectedRows attributes.

* idl/Value.idl:
Made Value inherit from Bonobo::Unknown.

* libspi/hyperlink.c:
Change for nAnchors attributte name change.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years ago Fixed refcounting issues with interface server
marcm [Wed, 5 Sep 2001 13:27:53 +0000 (13:27 +0000)]
Fixed refcounting issues with interface server
implementations-- made server implementations own AtkObject pointers
rather than their respective AtkInterrface pointers to fix
refcounting.  AtkHyperlink is still broken.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoChangeLog addition.
billh [Wed, 5 Sep 2001 12:54:13 +0000 (12:54 +0000)]
ChangeLog addition.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoFixes to unref behavior (changed some bonobo_object_release_unref()
billh [Wed, 5 Sep 2001 12:53:26 +0000 (12:53 +0000)]
Fixes to unref behavior (changed some bonobo_object_release_unref()
calls back to Bonobo_Unknown_unref-equivalents (Accessibility_Accessible_unref)).

Fixed a bad parameter to accessible_event_listener_init() and
initialized the event listener callbacks list to NULL.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoCommitted the rest of the files from the last batch of changes.
marcm [Tue, 4 Sep 2001 21:07:20 +0000 (21:07 +0000)]
Committed the rest of the files from the last batch of changes.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded files:
marcm [Tue, 4 Sep 2001 21:04:02 +0000 (21:04 +0000)]
Added files:
spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
spi-util.c spi-util.h
Implementations for C bindings to remaining accessibility interfaces.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded files:
marcm [Tue, 4 Sep 2001 16:32:07 +0000 (16:32 +0000)]
Added files:
libspi/action.c libspi/action.h libspi/editabletext.c libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
libspi/hypertext.c libspi/hypertext.h libspi/image.c libspi/image.h libspi/selection.c libspi/selection.h
libspi/table.c libspi/table.h libspi/text.c libspi/text.h libspi/value.c libspi/value.h
Added server implementations for outstanding ATK interfaces not yet implemented.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAction.idl:
marcm [Tue, 4 Sep 2001 16:19:30 +0000 (16:19 +0000)]
changed return value of Action from void to boolean to bring in line with ATK.

Changed getText funcions to return "out" start and end offsets.
Changed getAttributes to take and offset and return the start and end offset of the attribute run.
Changed getOffsetAtPoint and getCharacterExtents to take an enum describing whether coordinates are window or screen.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoUpdated ChangeLog. Changed Action:nActions to an attribute.
billh [Tue, 4 Sep 2001 14:48:47 +0000 (14:48 +0000)]
Updated ChangeLog.  Changed Action:nActions to an attribute.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoModifications/corrections to IDL to streamline and bring in line with ATK
billh [Tue, 4 Sep 2001 14:28:58 +0000 (14:28 +0000)]
Modifications/corrections to IDL to streamline and bring in line with ATK

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years ago2001-08-24 Mark McLoughlin <>
mmclouglin [Fri, 24 Aug 2001 13:03:08 +0000 (13:03 +0000)]
2001-08-24  Mark McLoughlin <>

        * libspi/listener.c(impl_notify_event):
        BonoboUnkown_unref the source instead
        of bonobo_object_release_unref - the ORB
        handles the releasing.

        * require ORBit-2.3.94 for
        this behaviour.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoTagged CVS, updated EA README.
billh [Tue, 21 Aug 2001 21:22:54 +0000 (21:22 +0000)]
Tagged CVS, updated EA README.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded README.EARLY_ACCESS early access notes.
billh [Mon, 20 Aug 2001 21:26:09 +0000 (21:26 +0000)]
Added README.EARLY_ACCESS early access notes.
Edited README to bring it up to date with the current release.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoChanges to support generation of C bindings docs.
billh [Mon, 20 Aug 2001 19:25:42 +0000 (19:25 +0000)]
Changes to support generation of C bindings docs.
Docs now build successfully.
cspi/spi_main.c broken into several smaller files.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoDocs tweaking.
billh [Mon, 20 Aug 2001 15:59:45 +0000 (15:59 +0000)]
Docs tweaking.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoInitial checkins and mods for gtk-doc generation for C bindings.
billh [Mon, 20 Aug 2001 14:31:33 +0000 (14:31 +0000)]
Initial checkins and mods for gtk-doc generation for C bindings.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoChanged "ID" attribute of Accessible to long (from string).
billh [Mon, 20 Aug 2001 13:04:36 +0000 (13:04 +0000)]
Changed "ID" attribute of Accessible to long (from string).
Added partial implementation of Component interface.
Added Component query to simple-at test, demonstrating
Component interface and interface queries.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded partial implementation of AccessibleComponent to libspi and
billh [Mon, 20 Aug 2001 13:03:22 +0000 (13:03 +0000)]
Added partial implementation of AccessibleComponent to libspi and
C bindings.
Added interface query support to IDL and C bindings for Accessible.
Changed "ID" attribute for AccessibleApplication to a long.
Added Component query to simple-at test, demonstrating Component
interface and also interface queries.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded gtk-docs for C bindings (for all methods currently implemented).
billh [Sun, 19 Aug 2001 14:49:25 +0000 (14:49 +0000)]
Added gtk-docs for C bindings (for all methods currently implemented).
Improved consistency of C bindings method naming convention
(modified studlyCaps).

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoRenamed "target" member of Event to "source".
billh [Sat, 18 Aug 2001 22:20:42 +0000 (22:20 +0000)]
Renamed "target" member of Event to "source".
Improved simple-at test and accessibleeventlistener.c to
send actual event structs.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c

19 years agoAdded new test that uses the C bindings API (test/simple-at).
billh [Sat, 18 Aug 2001 20:27:40 +0000 (20:27 +0000)]
Added new test that uses the C bindings API (test/simple-at).
Bugfix for AccessibleEventListener.

git-svn-id: e2bd861d-eb25-0410-b326-f6ed22b6b98c