billh [Wed, 12 Dec 2001 00:28:53 +0000 (00:28 +0000)]
Reverted Value interface since the new union was more complicated than necessary.
Changed API for roles, notably change Accessible_getRole to return an enum, and
Accessible_getRoleName to return a (reliable) string.
Changed signatures of AccessibleValue to use doubles in place of floats.
PLEASE NOTE these modification represent API changes to to at-spi/cspi.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@181
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Tue, 11 Dec 2001 19:06:17 +0000 (19:06 +0000)]
Added test for action in test-simple.c.
Fixed bug in get_action_from_servant.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@180
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 11 Dec 2001 17:58:28 +0000 (17:58 +0000)]
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]
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@179
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Tue, 11 Dec 2001 17:45:25 +0000 (17:45 +0000)]
Bugfix in AccessibleComponent_getExtents ().
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@178
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Tue, 11 Dec 2001 17:41:00 +0000 (17:41 +0000)]
Fixed use of setenv () which broke Solaris build.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@177
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 11 Dec 2001 16:56:17 +0000 (16:56 +0000)]
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.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@176
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 11 Dec 2001 14:55:37 +0000 (14:55 +0000)]
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.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@175
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Tue, 11 Dec 2001 13:58:46 +0000 (13:58 +0000)]
Modified Value.idl interface to use unions, removes the assumption that
values are always floats or transferable to and from floats.
Introduced SValue union.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@174
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 11 Dec 2001 12:38:06 +0000 (12:38 +0000)]
lowlevel header.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@173
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 11 Dec 2001 12:37:44 +0000 (12:37 +0000)]
Re-work the bonobo code.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@172
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 11 Dec 2001 11:16:54 +0000 (11:16 +0000)]
first bits.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@171
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 11 Dec 2001 11:02:09 +0000 (11:02 +0000)]
stop the directory vanishing with -Pd.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@170
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 23:15:48 +0000 (23:15 +0000)]
Added GtkTreeView to test-simple.c, and uncommented regression test.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@169
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 22:32:03 +0000 (22:32 +0000)]
Improved ChangeLog entry. Added GtkTreeView to test-simple.c.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@168
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 22:31:00 +0000 (22:31 +0000)]
Fixed bug in Value->setCurrentValue, and added GtkRange to regression test
test-simple.c.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@167
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 20:49:02 +0000 (20:49 +0000)]
Bugfix for typo.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@166
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Mon, 10 Dec 2001 20:47:43 +0000 (20:47 +0000)]
hush.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@165
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 20:41:14 +0000 (20:41 +0000)]
Added some tests for Table interface to test-simple.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@164
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Mon, 10 Dec 2001 20:29:41 +0000 (20:29 +0000)]
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.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@163
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 19:37:02 +0000 (19:37 +0000)]
Added TODO list.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@162
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 19:22:59 +0000 (19:22 +0000)]
Fixed macro-name typos.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@161
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 19:05:58 +0000 (19:05 +0000)]
Documentation fixes for ref/unref methods that no longer return ints.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@160
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Mon, 10 Dec 2001 18:32:05 +0000 (18:32 +0000)]
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.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@159
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Mon, 10 Dec 2001 17:16:01 +0000 (17:16 +0000)]
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.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@158
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@157
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@156
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@155
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 00:12:04 +0000 (00:12 +0000)]
Removed po directory from Makefile.am for now.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@154
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 10 Dec 2001 00:10:48 +0000 (00:10 +0000)]
Small fix for configure.in, removed AC_OUTPUT of po/Makefile.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@153
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Sun, 9 Dec 2001 23:30:27 +0000 (23:30 +0000)]
Added tests for Value interface, and upgraded i18n macro.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@152
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Sun, 9 Dec 2001 23:08:14 +0000 (23:08 +0000)]
Upgraded a few autoconf macro usage lines in configure.in and Makefile.am'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: http://svn.gnome.org/svn/at-spi/trunk@151
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Sat, 8 Dec 2001 19:17:17 +0000 (19:17 +0000)]
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.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@150
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
baddog [Fri, 7 Dec 2001 19:02:51 +0000 (19:02 +0000)]
Add missing idl files to dist
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@149
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
baddog [Fri, 7 Dec 2001 18:44:57 +0000 (18:44 +0000)]
Comment out extraneous i18n support temporarily
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@148
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Fri, 7 Dec 2001 16:51:07 +0000 (16:51 +0000)]
kill stale files.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@147
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Fri, 7 Dec 2001 16:43:33 +0000 (16:43 +0000)]
2001-12-07 Michael Meeks <michael@ximian.com>
* 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.
(impl_accessibility_registry_register_application):
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: http://svn.gnome.org/svn/at-spi/trunk@146
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Fri, 7 Dec 2001 16:42:23 +0000 (16:42 +0000)]
2001-12-07 Michael Meeks <michael@ximian.com>
* 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.
(impl_accessibility_registry_register_application):
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 <michael@ximian.com>
* test/simple-at.c (report_focus_event),
(report_focussed_accessible): remove g_warning debug.
2001-12-07 Michael Meeks <michael@ximian.com>
* test/test-simple.c (validate_tree): comment out some checks.
(test_desktop): app now not registered idly - horay.
2001-12-07 Michael Meeks <michael@ximian.com>
* 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/Makefile.am: 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 <michael@ximian.com>
* 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
invokes.
(SPI_init): register atexit cleanup handler here.
2001-12-06 Michael Meeks <michael@ximian.com>
* at-bridge/bridge.c (gtk_module_init): g_error on
activation exception
2001-12-06 Michael Meeks <michael@ximian.com>
* 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 <michael@ximian.com>
* 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.
(impl_accessibility_component_contains):
(impl_accessibility_component_get_accessible_at_point):
(impl_accessibility_component_get_position):
(impl_accessibility_component_get_extents):
(impl_accessibility_component_get_mdi_z_order):
(impl_accessibility_component_get_layer):
(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
solving.
* 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 <bill.haneman@sun.com>
* 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
Accessibility_Registry_deregisterApplication().
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 <michael@ximian.com>
* 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.
(spi_desktop_add_application),
(spi_desktop_remove_application),
(abnormal_application_termination): impl.
(impl_desktop_get_child_at_index): re-impl.
* libspi/registry.c
(impl_accessibility_registry_deregister_application),
(impl_accessibility_registry_register_application):
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 <michael@ximian.com>
* 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
into:
* 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 <michael@ximian.com>
* 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 <michael@ximian.com>
* 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
(deregisterGlobalEventListenerAll),
(deregisterGlobalEventListener),
(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 <michael@ximian.com>
* libspi/Makefile.am: 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_object_event_listener),
(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.
(impl_accessibility_registry_deregister_global_event_listener):
fix ETYPE_WINDOW case.
* libspi/application.c
(impl_accessibility_application_register_object_event_listener):
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 <michael@ximian.com>
* 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_state_event_listener),
(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
into:
(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
fixage.
(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
leakage.
(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 <michael@ximian.com>
* cspi/spi.h: add missing prototype.
* libspi/registry.c (spi_listener_struct_new): fix sig.
* test/Makefile.am: add test-simple
* test/test-simple.c: add
* test/test.sh: 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 <michael@ximian.com>
* libspi/keystrokelistener.c
(spi_keystroke_listener_class_init): fixup arg
count (doh).
* libspi/eventlistener.c
(spi_event_listener_class_init): ditto.
* tests/test.sh: 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
(createAccessibleEventListener),
(AccessibleEventListener_addCallback),
(createAccessibleKeystrokeListener),
(AccessibleKeystrokeListener_addCallback): upd.
* libspi/deviceeventcontroller.c
(spi_device_event_controller_check_key_event): add public proto.
* libspi/registry.c
(impl_accessibility_registry_deregister_global_event_listener):
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_remove_callback),
(cspi_keystroke_listener_remove_callback),
(cspi_keystroke_listener_add_callback),
(cspi_event_listener_add_callback): upd.
* libspi/keystrokelistener.c
(keystroke_listener_object_finalize): kill
(spi_keystroke_listener_class_init): upd.
(spi_keystroke_listener_add_callback),
(spi_keystroke_listener_remove_callback): kill,
use signals.
(impl_key_event): prune drasticaly.
* libspi/eventlistener.c
(spi_event_listener_add_callback),
(spi_event_listener_remove_callback): kill, use
signals.
(impl_accessible_event_notify_event): upd.
(spi_event_listener_object_finalize): remove.
* libspi/Makefile.am: use eventlistener.[ch]
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@145
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@141
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@135
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Tue, 4 Dec 2001 00:38:48 +0000 (00:38 +0000)]
Added implementations for Accessibility_Component_getLayer and
Accessibility_Component_getMDIZOrder.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@131
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@130
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@129
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Sun, 2 Dec 2001 14:25:52 +0000 (14:25 +0000)]
Removed unnecessary gdk dependency from registryd.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@128
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@127
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@126
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@123
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Mon, 26 Nov 2001 04:38:16 +0000 (04:38 +0000)]
add so I can tag.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@117
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Sun, 25 Nov 2001 14:50:39 +0000 (14:50 +0000)]
Added a TODO comment to mag_image.c.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@116
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@115
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
mmclouglin [Fri, 23 Nov 2001 18:51:15 +0000 (18:51 +0000)]
2001-11-23 Mark McLoughlin <mark@skynet.ie>
* cspi/spi-private.h: my guess at what michael forgot
before he ran off to NZ :-)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@114
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Fri, 23 Nov 2001 00:30:43 +0000 (00:30 +0000)]
2001-11-23 Michael Meeks <michael@ximian.com>
* 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
(deregisterGlobalEventListener),
(deregisterGlobalEventListenerAll),
(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: http://svn.gnome.org/svn/at-spi/trunk@113
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@112
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@111
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@110
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@109
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Wed, 21 Nov 2001 18:48:20 +0000 (18:48 +0000)]
Added makefile.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@108
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@107
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
laca [Wed, 21 Nov 2001 12:56:03 +0000 (12:56 +0000)]
2001-11-21 Laszlo Peter <laca@ireland.sun.com>
* configure.in, libspi/Makefile.am: find libXtst.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@106
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Wed, 21 Nov 2001 10:29:10 +0000 (10:29 +0000)]
2001-11-21 Michael Meeks <michael@ximian.com>
* test/accessx-gui.c: s/spi_value/value/ - doh.
* libspi/base.[ch]: add.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@105
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Wed, 21 Nov 2001 00:14:53 +0000 (00:14 +0000)]
added note to ChangeLog.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@104
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@103
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Tue, 20 Nov 2001 13:25:13 +0000 (13:25 +0000)]
Removed an obsolete comment.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@102
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 20 Nov 2001 04:32:31 +0000 (04:32 +0000)]
2001-11-20 Michael Meeks <michael@ximian.com>
* libspi/registry.c
(impl_accessibility_registry_deregister_global_event_listener):
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: http://svn.gnome.org/svn/at-spi/trunk@101
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 20 Nov 2001 03:57:25 +0000 (03:57 +0000)]
2001-11-20 Michael Meeks <michael@ximian.com>
* 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: http://svn.gnome.org/svn/at-spi/trunk@100
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 20 Nov 2001 02:05:42 +0000 (02:05 +0000)]
2001-11-20 Michael Meeks <michael@ximian.com>
* 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_class_init),
(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: http://svn.gnome.org/svn/at-spi/trunk@99
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 20 Nov 2001 00:47:32 +0000 (00:47 +0000)]
2001-11-20 Michael Meeks <michael@ximian.com>
* 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: http://svn.gnome.org/svn/at-spi/trunk@98
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Mon, 19 Nov 2001 23:41:10 +0000 (23:41 +0000)]
2001-11-19 Michael Meeks <michael@ximian.com>
* 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),
(impl_accessibility_application_register_object_event_listener):
warning fixes / const understanding updates.
* libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
warning fixes.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@97
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@96
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@95
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Fri, 16 Nov 2001 18:22:03 +0000 (18:22 +0000)]
Improved descriptions of ROLE types in docs.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@94
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@93
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@92
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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
generated.
Fixed/cleaned up and added lots of docs to cspi; now 67% gtk-doc
coverage in at-spi/cspi.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@91
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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
test/accessx-gui.c
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@90
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 13 Nov 2001 01:46:20 +0000 (01:46 +0000)]
2001-11-13 Michael Meeks <michael@ximian.com>
* libspi/application.c
(impl_accessibility_application_get_version),
(impl_accessibility_application_get_toolkit_name):
warning fixes.
(impl_accessibility_application_set_id),
(impl_accessibility_application_get_id): remove
redundant casting code.
* libspi/action.c (impl_getDescription): fix warnings.
* libspi/accessible.c
(impl_accessibility_accessible_get_parent),
(impl_accessibility_accessible_get_child_at_index),
(impl_accessibility_accessible_get_state),
(impl_accessibility_accessible_get_relation_set):
warning fixes & include action.h
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@89
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 13 Nov 2001 01:21:15 +0000 (01:21 +0000)]
2001-11-13 Michael Meeks <michael@ximian.com>
* *.[ch] fix bits I screwed up:
s/([^ \tb(\*\&\?\",])spi_/\1/g;
s/([^ \tb(\*\&\?\",])Spi/\1/g;
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@88
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Tue, 13 Nov 2001 00:54:21 +0000 (00:54 +0000)]
2001-11-13 Michael Meeks <michael@ximian.com>
* *.[ch] Namespace libspi into spi_ and Spi.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@87
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Mon, 12 Nov 2001 23:25:57 +0000 (23:25 +0000)]
2001-11-13 Michael Meeks <michael@ximian.com>
* Makefile.am: dist & install at-spi-1.0.pc
* libspi/Makefile.am: install into at-spi-1.0
* idl/Makefile.am (idldir): install into at-spi-1.0
* at-spi-1.0.pc.in: add.
* configure.in: build it.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@86
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 12 Nov 2001 20:02:21 +0000 (20:02 +0000)]
Improved virtual keyboard demo to use a relocatable GtkWindow.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@85
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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,
KEY_RELEASE, KEY_PRESSRELEASE (pair), KEY_SYM (pair).
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@84
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@83
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
michael [Wed, 7 Nov 2001 02:35:19 +0000 (02:35 +0000)]
2001-10-26 Michael Meeks <michael@ximian.com>
* libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@82
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
laca [Fri, 26 Oct 2001 11:35:34 +0000 (11:35 +0000)]
at-bridge/Makefile.am: fixed LDFLAGS.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@81
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Fri, 19 Oct 2001 16:33:11 +0000 (16:33 +0000)]
Removed unnecessary fprintf().
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@80
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@79
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
louised [Wed, 17 Oct 2001 19:18:38 +0000 (19:18 +0000)]
<2001-10-13 Louise Miller <louise.miller@sun.com>
* 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: http://svn.gnome.org/svn/at-spi/trunk@78
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@77
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@76
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Tue, 9 Oct 2001 14:19:35 +0000 (14:19 +0000)]
Add missing file.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@75
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@74
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Mon, 8 Oct 2001 17:16:56 +0000 (17:16 +0000)]
*** empty log message ***
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@72
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@70
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@69
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Sun, 30 Sep 2001 23:59:43 +0000 (23:59 +0000)]
Added initial implementations of DeviceEventController and KeystrokeListener.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@68
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Sun, 30 Sep 2001 21:49:24 +0000 (21:49 +0000)]
Completed de-registration fix.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@67
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@66
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
billh [Thu, 27 Sep 2001 21:52:45 +0000 (21:52 +0000)]
Added Accessibility_Util.server to configure.in AC_OUTPUTS.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@65
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@64
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@63
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
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: http://svn.gnome.org/svn/at-spi/trunk@62
e2bd861d-eb25-0410-b326-
f6ed22b6b98c