1 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4 Replace setenv() call with putenv ().
6 2001-12-11 Michael Meeks <michael@ximian.com>
8 * libspi/image.c (impl_getImageExtents): impl.
9 (spi_image_class_init): upd.
12 (AccessibleImage_getImageDescription): fix daft bug
15 * test/test-simple.c (global_listener_cb): update
16 to only quit if not --poke
18 (validate_accessible): upd. dumping, call test_image
21 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
24 * idl/Accessibility.idl: update all IDL includes.
26 * idl/*.idl - rename to namespace - this sucks, blame
27 mjs' bad decision for oafd.
29 * test/test-simple.c (create_test_window): add more tests.
30 (create_tree): split this out.
31 (validate_accessible): bugfix.
33 2001-12-11 Michael Meeks <michael@ximian.com>
35 * cspi/bonobo/cspi-bonobo-listener.c:
36 (cspi_kestroke_listener_unref),
37 (cspi_event_listener_unref): impl. undoing previous
38 homenous environment - for Bill.
40 * cspi/spi_table.c (long_seq_to_array): use
43 * cspi/spi_main.c: split out all bonoboish bits into
46 * cspi/spi-impl.h: upd. typedefs.
48 * cspi/spi_registry.c: update to lowlevel API,
49 return booleans to indicate success in some places.
51 * cspi/spi_event.c: update to lowlevel API.
53 * cspi/bonobo/Makefile.am: add.
55 * cspi/bonobo/cspi-lowlevel.h: add
57 * cspi/bonobo/cspi-bonobo.c: add
59 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
61 * cspi/Makefile.am: remove spi-listener-impl.[ch],
62 (SUBDIRS): add bonobo, link in the libs.
64 * cspi/spi-util.c: kill this file.
66 * TODO: merge in my bits.
68 2001-12-11 Michael Meeks <michael@ximian.com>
70 * test/test-simple.c (test_value, test_table, main):
71 remove unused variables causing warnings.
73 * configure.in: cleanup checks - require gail.
75 2001-12-11 Bill Haneman <bill.haneman@sun.com>
78 Changed Value interface to use SValue (scalars) rather than
79 assuming all values are floats. This allows floats, doubles,
80 longs, shorts, and unsigned values to be manipulated.
81 Introduced Accessibility:SValue union.
84 Updated to use new API above, and to work correctly with GValues
85 of different types in AtkValue.
88 Updated to use new API above. cspi's API is as yet unchanged.
91 Updated the Value revision action item.
93 2001-12-10 Bill Haneman <bill.haneman@sun.com>
96 Added test_table (GtkTreeView widget in test window to follow).
97 Un-commented test_value, added GtkRange widget.
98 Added GtkTreeView widget with GtkListStore. It passes regression
99 test but leaks one SPI object for some reason.
102 Fixed bug in impl__set_currentValue.
104 2001-12-10 Michael Meeks <michael@ximian.com>
106 * cspi/spi_text.c: audit for exception handling,
107 tolerating NULL object references safely etc.
109 * cspi/spi_value.c: ditto.
111 * cspi/spi_table.c (AccessibleTable_getSummary),
112 (AccessibleTable_getAccessibleAt),
113 (AccessibleTable_getRowHeader),
114 (AccessibleTable_getColumnHeader),
115 (AccessibleTable_getCaption): fix bugs hidden by
117 (long_seq_to_array): impl.
118 (AccessibleTable_getSelectedRows),
119 (AccessibleTable_getSelectedColumns): use it.
121 2001-12-10 Bill Haneman <bill.haneman@sun.com>
124 Added a TODO list (rough and short for now).
126 * cspi/spi_hyperlink.c:
127 * cspi/spi_hypertext.c:
128 Fixed macro name typos, and remove use of obsolete macro in
129 AccessibleHyperlink_getLink.
132 * cspi/spi_accessible.c:
133 * cspi/spi_application.c:
134 * cspi/spi_component.c:
135 * cspi/spi_selection.c:
138 Documentation fixes (removed return values from ref/unref methods).
140 2001-12-10 Michael Meeks <michael@ximian.com>
142 * cspi/spi_action.c: audit for exception handling,
143 tolerating NULL object references safely etc.
145 * cspi/spi_accessible.c: ditto.
147 * cspi/spi_component.c: ditto.
149 * cspi/spi_editabletext.c: ditto.
151 * cspi/spi_hyperlink.c: ditto.
153 * cspi/spi_hypertext.c: ditto.
155 * cspi/spi_image.c: ditto.
157 * cspi/spi_selection.c: ditto.
159 2001-12-10 Michael Meeks <michael@ximian.com>
161 * configure.in: use cspi/libspi.pc.in instead.
163 * Makefile.am (pkgconfig_DATA): upd. to match.
165 * test/simple-at.c (report_focus_event): kill hacks around
166 bad return values, use putenv not setenv
168 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
169 fire ChildGone - I killed it.
172 (impl_accessibility_component_get_extents): remove
175 * idl/Accessible.idl: kill ChildGone exception.
177 * cspi/*.[ch]: kill int return from ref / unref.
179 * cspi/spi_main.c (cspi_object_add_check): fold into
180 (cspi_object_add): here.
182 * cspi/spi_component.c (AccessibleComponent_getExtents):
183 handle exceptions elegantly.
185 * cspi/spi-private.h (cspi_check_ev_return),
186 (cspi_return_if_fail): impl.
188 * cspi/spi_accessible.c: use extensively.
189 (AccessibleStateSet_equals): add direct compare check.
191 * cspi/spi_selection.c: tolerate NULL objs, and check
192 exceptions before return.
194 * cspi/spi-util.c (cspi_warn_ev): rename to
195 (cspi_check_ev): this & don't pass ev in; no point.
197 2001-12-10 Michael Meeks <michael@ximian.com>
199 * test/test-simple.c: use putenv not setenv
200 (get_environment_vars): more chatty if you're not using
203 * test/simple-at.c: do the setenv so more people see the
206 2001-12-10 Bill Haneman <bill.haneman@sun.com>
209 Changed check of CORBA_environment on notification to be a warning
210 instead of an error for the moment, since we can recover from this
211 error when caused by a queued notification from a dead app.
214 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
215 used by all current implementors of AtkValue), and coerce to
216 CORBA_float. (Proper general case fix may require change to Value.idl).
218 2001-12-09 Bill Haneman <bill.haneman@sun.com>
222 * cspi/spi_accessible.c:
223 Documentation fixes: added user_data params to documentation for
224 listeners and callbacks.
226 * cspi/spi_accessible.c:
227 Changed AccessibleStateSet_compare to return a
228 StateSet rather than return the difference set into a third parameter.
231 2001-12-09 Bill Haneman <bill.haneman@sun.com>
234 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
235 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
239 Remove subdirectory po from SUBDIRS for now.
241 * at-bridge/bridge.c:
242 Beefed up a couple of debug printouts.
243 One-line fix for signal notification name formatting.
245 * libspi/accessible.c:
246 Added assertion to spi_accessible_new ().
248 * libspi/application.c:
249 Put #ifdef qualifiers around a printf.
252 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
254 * registryd/Makefile.am:
256 Replaces use of XML_I18N_MERGE_SERVER_RULE with
257 INTLTOOL_SERVER_RULE macro.
260 Added an event listener for several ATK signals, for
261 testing and debugging. Removed a few g_warnings.
262 Added test output if focussed item implements the Value interface.
264 * test/test-simple.c:
265 Added test_value () function (known not to pass at the moment, so
266 not actually called yet.
268 2001-12-08 Michael Meeks <michael@ximian.com>
270 * at-bridge/bridge.c (bridge_focus_tracker),
271 (emit_eventv): fix the same ref. leak.
272 (register_atk_event_listeners): don't leak.
274 * cspi/spi-listener-impl.c (cspi_event): more
275 protection from client code.
277 * test/test-simple.c (test_desktop): unref the app.
279 * test/Makefile.am: upd. TESTS.
281 * at-bridge/bridge.c (bridge_exit_func): release the registry.
283 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
285 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
287 * cspi/spi_registry.c: constify in strings.
288 (deregisterGlobalEventListenerAll): don't release the ref.
290 * cspi/spi.h: start removing redundant / conflicting
291 gtkdoc comments, making the API readable at a glance :-)
293 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
295 * test/keysynth-demo.c (keysynth_exit, main): upd.
297 * test/simple-at.c (main, simple_at_exit): upd.
299 * test/test-simple.c (unutterable_horror): kill.
300 (utterable_normal_derefs): kill.
301 (main): upd & do a setenv before gtk_init, so that we
302 can use memprof - and to save the pain of remembering
303 this, if we're running under memprof - don't exit.
305 * cspi/spi_main.c (SPI_exit): return exit status
307 (SPI_event_quit): impl.
308 (SPI_event_main): simplify.
309 (cspi_is_gnome_app): kill.
310 (SPI_init): kill isGNOMEapp arg.
312 * at-bridge/bridge.c (register_atk_event_listeners):
313 re-instate the unref.
314 (bridge_exit_func): don't re-activate the registry,
315 protect vs. theoretical re-entry, use the
316 AT_BRIDGE_SHUTDOWN env. var to determine whether to
317 assert a clean shutdown - for regression tests.
319 2001-12-08 Abel Cheung <maddog@linux.org.hk>
321 * configure.in: Comment out dummy i18n support for now,
322 otherwise it fails to build.
323 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
324 EXTRA_DIST. They are missing in tarball.
326 2001-12-07 Michael Meeks <michael@ximian.com>
328 * util/magnifier.c: kill bonobo activation reg. race.
331 (impl_accessibility_component_get_extents): make it match
334 * libspi/registry.c (_registry_notify_listeners):
335 re-remove X headers & reconcile conflicts.
336 (spi_listener_struct_free): bad conflict resolve.
337 (impl_accessibility_registry_register_application):
338 more bad merging fixed.
339 (impl_accessibility_registry_deregister_application): ditto.
340 (spi_registry_new): ditto.
341 (spi_registry_init): don't have an applications field.
343 [ merge fixups2 branch to here ]
344 2001-12-07 Michael Meeks <michael@ximian.com>
346 * test/simple-at.c (report_focus_event),
347 (report_focussed_accessible): remove g_warning debug.
349 2001-12-07 Michael Meeks <michael@ximian.com>
351 * test/test-simple.c (validate_tree): comment out some checks.
352 (test_desktop): app now not registered idly - horay.
354 2001-12-07 Michael Meeks <michael@ximian.com>
356 * cspi/spi_registry.c
357 (registerAccessibleKeystrokeListener): clean, stop it leaking
358 great swathes of memory, and device event controller references.
359 ensure we always pass valid sequences.
360 (deregisterAccessibleKeystrokeListener): ditto.
361 (generateKeyEvent): upd.
363 * at-bridge/bridge.c (bridge_key_listener): handle
364 registry dead exception gracefully.
365 (bridge_focus_tracker, emit_eventv): free ev.
367 * test/simple-at.c (report_focus_event): fix polarity.
369 * libspi/application.c (notify_listeners): kill the ev
370 argument, and make sure we init the ev we use.
371 (spi_application_object_event_listener): split out a chunk
372 (get_atk_object_ref): here & fixup.
373 (reverse_lookup_name_for_toolkit_event): make const.
374 (spi_application_toolkit_event_listener): fixup, kill leaks
377 * at-bridge/bridge.c (register_atk_event_listeners):
378 don't unref the noop object - causes grief.
380 * libspi/registry.c: remove the X headers.
381 turn off the debug churn.
383 * libspi/accessible.c (spi_accessible_new_return): only
384 release the ref if we are supposed to [doh]
386 * test/simple-at.c (report_button_press, report_focus_event):
387 guard vs. unexpected exit.
389 * at-bridge/bridge.c (gtk_module_init): prune printf.
390 (bridge_exit_func): fix app unref.
392 * libspi/Makefile.am: don't install registry or desktop.h
394 * libspi/*.h: update includes.
396 * libspi/application.h: don't include ourself, or
397 other redundant headers.
399 2001-12-06 Michael Meeks <michael@ximian.com>
401 * libspi/accessible.c
402 (get_accessible_from_servant): impl.
403 Upd. all CORBA impl.s to use it killing cut and paste.
405 * cspi/spi_main.c (cspi_cleanup): guard vs. double
407 (SPI_init): register atexit cleanup handler here.
409 2001-12-06 Michael Meeks <michael@ximian.com>
411 * at-bridge/bridge.c (gtk_module_init): g_error on
414 2001-12-06 Michael Meeks <michael@ximian.com>
416 * at-bridge/bridge.c (gtk_module_init): some sort of
417 confusing merge clash - reverted.
418 (bridge_idle_init): ditto.
420 * test/test-simple.c (main, utterable_normal_derefs):
421 merge from Bill - somehow not committed.
423 2001-12-06 Michael Meeks <michael@ximian.com>
425 * libspi/value.c (spi_value_class_init): upd.
426 (spi_value_finalize): kill.
428 * libspi/table.c (spi_table_finalize): kill.
429 (spi_table_interface_new): upd.
430 (spi_table_class_init): upd.
431 (get_table_from_servant): impl.
432 Upd. all CORBA impl.s to use it killing yet more cut and paste.
434 * libspi/selection.c (spi_selection_finalize): kill.
435 (spi_selection_interface_new): upd.
436 (spi_selection_class_init): upd.
437 (get_selection_from_servant): impl.
438 Upd. all CORBA impl.s to use it killing yet more cut and paste.
440 * libspi/relation.c (spi_relation_finalize): kill.
441 (spi_relation_class_init, spi_relation_new): upd
443 * libspi/image.c (spi_image_finalize): kill.
444 (spi_image_class_init): upd.
445 (spi_image_interface_new): upd.
446 (get_image_from_servant): impl.
447 Upd. all CORBA impl.s to use it killing yet more cut and paste.
449 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
450 (spi_hyperlink_finalize): kill.
451 (spi_hyperlink_new): upd.
452 (get_hyperlink_from_servant): impl.
453 Upd. all CORBA impl.s to use it killing yet more cut and paste.
455 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
456 (spi_hypertext_finalize): kill.
457 (spi_hypertext_class_init): upd.
458 (get_hypertext_from_servant): impl.
459 Upd. all CORBA impl.s to use it killing yet more cut and paste.
461 * libspi/editabletext.c (spi_editable_text_finalize): kill.
462 (spi_editable_text_interface_new): upd.
463 (get_editable_text_from_servant): impl.
464 Upd. all CORBA impl.s to use it killing yet more cut and paste.
466 * libspi/text.c (get_text_from_servant): impl.
467 All impls - update to use it killing more cut and paste,
468 also fix bad string returns on duff args ( a somewhat
469 impossible case to handle - but hey ).
470 (spi_text_construct): impl.
471 (spi_text_interface_new): upd.
472 (spi_text_object_finalize): kill.
475 (accessibility_component_object_finalize): kill.
476 (spi_component_class_init): upd.
477 (get_component_from_servant): impl. helper to kill cut & paste.
478 (impl_accessibility_component_contains):
479 (impl_accessibility_component_get_accessible_at_point):
480 (impl_accessibility_component_get_position):
481 (impl_accessibility_component_get_extents):
482 (impl_accessibility_component_get_mdi_z_order):
483 (impl_accessibility_component_get_layer):
484 (spi_component_interface_new): upd.
486 * libspi/action.c (spi_action_finalize): kill.
487 (spi_action_class_init): upd. inherit from SpiObject.
488 (spi_action_interface_new): upd.
489 (get_action_from_servant): impl. helper to reduce cut & paste.
490 (impl_getKeyBinding, impl_getName, impl_doAction),
491 (impl_getDescription): Use it everywhere.
493 * cspi/spi_main.c (get_live_refs): a pointer hash.
494 (spi_object_hash, spi_object_equal): comment out.
495 There are issues with CORBA object hashing that need
498 * libspi/application.c (spi_application_init),
499 (spi_application_new): upd.
501 * libspi/accessible.c (spi_accessible_object_finalize): kill.
502 (spi_accessible_class_init): upd.
503 s/accessible/object/ in epv methods.
505 2001-12-05 Bill Haneman <bill.haneman@sun.com>
507 * at-bridge/bridge.c:
508 Reorder the bridge initialization into the bridge gtk_module_init,
509 an immediate call to bridge_register_app, and an idle_add for
510 register_atk_event_listeners (the only code that *must* wait until
511 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
512 the activation, creates the application's Accessible object, and
513 queues the bridge_idle_init function. Restored call to
514 Accessibility_Registry_deregisterApplication().
515 Prior to making this call we obtain a new reference to the
516 registry, which is a temporary hack that helps us handle apps that
517 shut down the bonobo mainloop before we get there.
520 Fix string leakage in debug block, and don't segv if a an app
521 dies before its event notifications have been propagated.
524 Modify cspi_check_ev() to call g_warning() rather than g_error(),
525 as stopgap measure until we get proper exception handling when
526 objects die during or before interrogation.
530 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
531 Also changed default value of is_gnome_app to TRUE.
534 * test/keysynth-demo.c:
535 Changed use of SPI_init and SPI_event_main to reflect API change above.
538 Made report_focus_event check the warning value from getName
539 before reporting on focussed accessible; simplifies handling of
540 notifications from dead objects.
542 * test/test-simple.c: (Changes not in this patch since source is
545 2001-12-05 Michael Meeks <michael@ximian.com>
547 * registryd/registryd.c (main): protect against
548 bonobo-activation startup race condition.
550 * cspi/spi_main.c (cspi_object_add_check): cope
551 with the exception elegantly.
553 * idl/Accessible.idl: decl. ChildGone
555 * libspi/desktop.c (spi_desktop_dispose): impl.
556 (spi_desktop_class_init): upd.
557 (spi_desktop_add_application),
558 (spi_desktop_remove_application),
559 (abnormal_application_termination): impl.
560 (impl_desktop_get_child_at_index): re-impl.
563 (impl_accessibility_registry_deregister_application),
564 (impl_accessibility_registry_register_application):
565 kill excessive debug clutter.
567 * test/test-simple.c (test_misc): test some NULL
568 tolerance. (main): upd.
570 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
571 implements no interfaces - so let's not crash.
573 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
575 * libspi/accessible.c (spi_accessible_new_return): impl.
576 helper to calm the cut and paste, to cope with
577 NULL AtkObjects effectively and efficiently, and to kill
578 the referencing bugs.
580 * libspi/table.c (impl_getAccessibleAt),
581 (impl_getRowHeader, impl_getColumnHeader): upd.
583 * libspi/hyperlink.c (impl_getObject): upd.
585 * libspi/accessible.c
586 (impl_accessibility_accessible_get_child_at_index): upd.
589 (impl_accessibility_component_get_accessible_at_point): upd.
591 * test/test-simple.c (test_editable_text, test_text): impl.
594 * cspi/spi_editabletext.c
595 (AccessibleEditableText_insertText): constify.
597 * test/test-simple.c (focus_me): make more robust.
599 * libspi/accessible.c: remove some printfs in methods that
600 we test and work fine, so we can get a clean tree dump.
602 * test/test-simple.c (validate_accessible),
603 (validate_tree): make tree dumping pretty too.
605 * at-bridge/bridge.c (bridge_signal_listener): upd. so
606 it builds without debug on.
608 * test/test-simple.c (validate_accessible): fix the most
611 * cspi/spi_main.c (spi_object_release): leave the nicely
612 blanked memory around if in debug mode.
614 * cspi/spi-listener-impl.c (cspi_event): use add_check.
616 [committed to fixups2]
617 2001-12-05 Michael Meeks <michael@ximian.com>
619 * libspi/editabletext.c
620 (spi_editable_text_class_init): g_type_class_peek_parent,
621 not interface peek - so we finalize cleanly.
623 * libspi/accessible.c (spi_accessible_new): kill debug.
625 * test/test-simple.c (validate_accessible): fix ref.
626 leak, print strings before freeing them; sigh, comment a
627 chunk out due to strangeness.
628 (validate_tree): unref the child after use.
630 * cspi/spi_component.c (AccessibleComponent_getLayer):
631 add missing break statement, switch on zlayer not the
632 uninitialized retval.
634 * cspi/spi_main.c (cspi_object_add): add assert, local ref
635 before (possibly re-entering) remote unref.
637 * test/simple-at.c (main): unref the desktop.
639 * cspi/spi_accessible.c (cspi_accessible_is_a): move
642 * cspi/spi_main.c (cspi_accessible_is_a): here to
643 isolate bonobo API usage more.
645 * libspi/registry.c (impl_accessibility_registry_register_application):
648 2001-12-04 Michael Meeks <michael@ximian.com>
650 * test/test-simple.c (validate_tree): upd.
651 IndexInParent check to make it more lucid.
652 (validate_accessible): dump the tree.
654 * libspi/accessible.c (de_register_public_ref),
655 (get_public_refs): impl.
656 (spi_accessible_new): make more efficient & intuitive.
657 Now IndexInParent check works.
659 2001-12-04 Michael Meeks <michael@ximian.com>
661 * cspi/spi-util.h: remove.
663 * cspi/spi.h: move SPI_freeString here
665 * libspi/component.c (impl_accessibility_component_get_layer):
667 (impl_accessibility_component_get_mdi_z_order): ditto,
668 return -1 on error - is this ok ?
670 * test/test-simple.c (test_application): impl.
672 * cspi/spi_accessible.c (Accessible_getApplication),
673 (Accessible_isApplication): impl.
675 * libspi/registry.c (spi_listener_struct_free): release
676 the CORBA reference too.
678 * libspi/accessible.c
679 (impl_accessibility_accessible_get_parent): fix ref leak.
681 * libspi/registry.c (spi_registry_new): make the registry
682 immortal - we don't want it to go away ever.
684 * libspi/application.c
685 (spi_accessible_application_finalize): impl. cleanup.
687 * cspi/spi_registry.c
688 (deregisterGlobalEventListenerAll),
689 (deregisterGlobalEventListener),
690 (deregisterAccessibleKeystrokeListener): fix ref leak.
692 * cspi/spi_main.c (SPI_init): remove redundant ref.
694 * test/test-simple.c (unutterable_horror): impl. to force a
699 (impl_accessibility_registry_deregister_application): release
700 the application when we de-register it.
702 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
703 until we have the infastructure to get it right.
705 2001-12-03 Michael Meeks <michael@ximian.com>
707 * libspi/Makefile.am: only build eventlistener.[ch]
709 * libspi/accessible.c
710 (impl_accessibility_accessible_get_child_at_index): don't leak.
712 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
713 before we hit the idle handler.
715 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
718 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
720 * libspi/listener.c (impl_notify_event): check source
721 not NIL before unref.
723 * libspi/registry.c (impl_registry_notify_event): ditto.
725 * libspi/eventlistener.c
726 (impl_accessible_event_notify_event): unref the source.
728 * libspi/accessibleeventlistener.c
729 (impl_accessible_event_notify_event): unref the source.
731 * idl/Event.idl: remove 'hash_id' attribute - of no
734 * libspi/application.c (notify_listeners): upd list
736 (spi_application_object_event_listener),
737 (spi_application_toolkit_event_listener): upd to do correct
741 (_registry_notify_listeners): update.
742 (parse_event_type): this method also leaks like a sieve.
743 (impl_accessibility_registry_deregister_global_event_listener):
744 fix ETYPE_WINDOW case.
746 * libspi/application.c
747 (impl_accessibility_application_register_object_event_listener):
750 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
752 * libspi/hypertext.c (impl_getLink): ditto.
754 * cspi/spi_main.c (cspi_object_add): remove
755 bogus CORBA_Object_duplicate.
757 * cspi/spi-listener-impl.c (cspi_event): dup/ref
760 * cspi/spi_accessible.c
761 (Accessible_getRelationSet): fix leak / referencing issue.
763 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
764 (cspi_object_add, cspi_object_unref): upd.
765 (spi_object_release, get_live_refs): impl.
766 (cspi_cleanup): simplify.
768 * *.[ch]: s/boolean/SpiBoolean/
770 * cspi/spi_accessible.c (role_names): actualy order so it
771 corresponds with the enum !
773 * test/test-simple.c (test_roles): check some role strings
774 vs. enums to detect offset errors.
776 2001-12-01 Michael Meeks <michael@ximian.com>
778 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
780 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
782 (Accessible_getChildAtIndex): use cspi_add_check so we
783 check the ev before using a (possibly) invalid value.
785 * libspi/accessible.c
786 (impl_accessibility_accessible_get_parent): don't segv
789 * at-bridge/bridge.c (gtk_module_init): upd.
790 (bridge_property_event_listener): don't leak strings
792 (bridge_state_event_listener),
793 (bridge_property_event_listener): don't use a static
794 buffer in case of recursive event emission &
795 re-enterancy - split out the swathe of cut and paste
797 (emit_eventv): and fix 2 ref leaks here & comply to the
799 (bridge_register_app): rename to
800 (bridge_idle_init): this and kill arg parsing, split
801 various inits & bonobo-activation registration to module
802 init time, kill referencing error.
803 (bridge_exit_func): fix the same leak.
804 (bridge_focus_tracker): don't leak event structures
806 (bridge_signal_listener): more leakage and cut & paste
808 (bridge_key_listener): return the result - FIXME is
809 this polarity correct ?
810 (accessibility_keystroke_from_atk_key_event): rename
811 (accessibility_init_keystroke_from_atk_key_event): and stop
813 (gtk_module_init): return a value - not that it is checked by
815 (bridge_key_listener): register my horror at casting between
817 (bridge_get_registry): kill - not used.
819 * cspi/spi_accessible.c (Accessible_getRole): make return const.
821 * test/test-simple.c (test_roles): impl.
822 (test_desktop, validate_accessible, validate_tree): impl.
824 * cspi/spi_accessible.c (role_names): fixup bogus
825 MAX_ROLES setup, make constants const for efficient linkage
826 (AccessibleRole_getName): conform to coding style, make
829 2001-11-30 Michael Meeks <michael@ximian.com>
831 * cspi/spi.h: add missing prototype.
833 * libspi/registry.c (spi_listener_struct_new): fix sig.
835 * test/Makefile.am: add test-simple
837 * test/test-simple.c: add
841 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
843 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
844 do it straight - since otherwise we often get an activation race.
846 [ work before Bill duplicated a chunk of it ... ]
847 2001-11-30 Michael Meeks <michael@ximian.com>
849 * libspi/keystrokelistener.c
850 (spi_keystroke_listener_class_init): fixup arg
853 * libspi/eventlistener.c
854 (spi_event_listener_class_init): ditto.
856 * tests/test.sh: add.
858 * cspi/spi-listener-impl.h: update macros.
860 * cspi/spi-listener-impl.c
861 (cspi_event_listener_remove_callback): add
862 correct pre-conditions.
864 * cspi/spi_main.c (SPI_exit): guard vs. double
865 exits, exit the mainloop nicely.
866 (SPI_event_main): make more sense.
867 (SPI_init): move the atexit evilness here so we
869 (SPI_event_main): upd.
871 * test/simple-at.c: update for listener changes.
873 * registryd/registryd.c (main): prune kruft.
875 * libspi/libspi.h: upd.
877 * libspi/eventlistener.[ch]: rename broken macros.
879 * libspi/accessibleeventlistener.[ch]: remove.
881 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
883 * test/test-simple.c: Add - automated tests.
885 * cspi/spi-listener-impl.c (cspi_event),
886 (cspi_key_event): add user_data to invoke.
887 (cspi_keystroke_listener_finalize): impl.
888 (cspi_keystroke_listener_class_init): upd.
891 (createAccessibleEventListener),
892 (AccessibleEventListener_addCallback),
893 (createAccessibleKeystrokeListener),
894 (AccessibleKeystrokeListener_addCallback): upd.
896 * libspi/deviceeventcontroller.c
897 (spi_device_event_controller_check_key_event): add public proto.
900 (impl_accessibility_registry_deregister_global_event_listener):
901 always init listeners.
902 (_registry_notify_listeners): yes it is.
904 * cspi/spi-listener-impl.c (cspi_key_event):
906 (cspi_event_listener_finalize): impl.
907 (cspi_event_listener_class_init): hook up.
908 (event_handler_new, event_handler_free),
909 (event_list_remove_by_callback): impl.
910 (cspi_event_listener_remove_callback),
911 (cspi_keystroke_listener_remove_callback),
912 (cspi_keystroke_listener_add_callback),
913 (cspi_event_listener_add_callback): upd.
915 * libspi/keystrokelistener.c
916 (keystroke_listener_object_finalize): kill
917 (spi_keystroke_listener_class_init): upd.
918 (spi_keystroke_listener_add_callback),
919 (spi_keystroke_listener_remove_callback): kill,
921 (impl_key_event): prune drasticaly.
923 * libspi/eventlistener.c
924 (spi_event_listener_add_callback),
925 (spi_event_listener_remove_callback): kill, use
927 (impl_accessible_event_notify_event): upd.
928 (spi_event_listener_object_finalize): remove.
930 * libspi/Makefile.am: use eventlistener.[ch]
932 2001-12-04 Bill Haneman <bill.haneman@sun.com>
934 * libspi/registry.c (_registry_notify_listeners):
935 Changed listener loop iteration to use preferred convention.
936 Got rid of string memory leaks caused be calling g_strconcat
937 inside function calls.
939 * libspi/registry.c (parse_event_type):
940 Stopped g_strconcat memory leaks, free the g_strsplit return,
941 g_strdup the split pieces when used, etc.
943 2001-12-04 Bill Haneman <bill.haneman@sun.com>
946 Change method 'compare' to return a 'difference set' rather than
947 taking a StateSet as an out parameter (more Java-friendly).
949 * idl/Accessible.idl:
950 Added CORBA struct 'BoundingBox', to faciliate API changes below:
954 Changed methods 'getExtents' and 'getImageExtents' in these
955 interfaces to return a BoundingBox structure.
956 (getPosition and getSize are redundant and possibly should be
957 removed, rather than creating a corresponding Point struct.)
959 * cspi/spi_component.c:
960 Modify implementation of getExtents to reflect the above IDL
965 Add (missing) AccessibleImage_getExtents () API.
967 * docs/reference/cspi/at-spi-cspi-sections.txt:
968 Added AccessibleImage_getImageExtents () to docs.
970 2001-12-03 Bill Haneman <bill.haneman@sun.com>
973 Added two methods, getLayer () and getMDIZOrder (), to reflect
974 the new ATK methods atk_object_get_layer and
975 atk_object_get_mdi_z_order. (Which arguably should be part of the
976 AtkComponent API and AtkObject). Also added an enum,
977 ComponentLayer, for the first method's return value.
979 * libspi/component.c:
980 Added implementations for these methods.
982 * cspi/spi_component.c:
984 Added cspi binding methods for above,
985 AccessibleComponent_getLayer() and
986 AccessibleComponent_getMDIZOrder().
987 Added cspi enum 'AccessibleComponentLayer'.
989 * docs/reference/cspi/at-spi-cspi-sections.txt:
990 Added above methods to docs.
994 Changed typedef for 'boolean' type (and all references to it) to
995 SPIBoolean, to avoid keyword clashes with C++.
998 Changed usages of 'boolean' to SPIBoolean.
1000 * test/keysynth-demo.c:
1001 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1002 app), except where SPIBoolean is required by the callbacks API.
1004 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1006 * cspi/spi_registry.c:
1007 Removed obsolete X event loop for passive keygrabs (which now
1010 * registryd/registryd.c:
1011 Removed unnecessary call to gdk_init() [cruft]. This also allows
1012 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1015 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1017 * docs/reference/cspi:
1018 Included docs for SPI_freeString in generated documentation.
1021 Renamed spi_freeString to SPI_freeString, for consistency. Added
1022 documentation for this function.
1025 Renamed spi_freeString to SPI_freeString, for consistency.
1026 Removed obsolete method declaration string_from_corba_string.
1028 * test/keysynth-demo.c:
1029 Small tweak to comments.
1032 Stopped leaking the strings returned from CSPI.
1034 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1036 Merged Michael's branch (see his ChangeLog entries below).
1038 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1039 bridge is alive, release on exit.
1041 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1042 Fix type check macro.
1045 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1048 Added is_gnome_app static, and method cspi_is_gnome_app(),
1049 so we can call the appropriate shutdown routine at exit in SPI_exit.
1051 * cspi/spi_main.c (cspi_object_ref):
1052 Duplicate the corba object passed in, since we're keeping it around.
1054 * cspi/SPI_exit.c, cspi_cleanup:
1055 Moved the releasing of the live refs to its own function, so we
1056 can put it in g_atexit (). Call the appropriate shutdown API
1057 depending on whethe calling client is a gnome app or not
1058 (bonobo_main_quit or CORBA_ORB_shutdown).
1060 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1061 Unref the listener when this method is called, after
1062 deregistration. Updated the API docs to note this behavior.
1064 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1065 Bugfixes: Ref the bonobo object when returning a parent or child
1066 reference, or an AccessibleRelation. Generally made sure
1067 BonoboObject refcount is incremented whenever we return an
1070 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1071 Fixed typo/bug in signal declaration.
1073 * libspi/accessibleeventlistener.h:
1076 * libspi/application.c (spi_application_new):
1077 Fixed leak in initialization.
1080 Remembered to increment bonobo-object refcount when returning
1081 children (applications) from desktop object.
1082 Added (empty) finalize method.
1084 * libspi/deviceeventcontroller.c:
1085 Hold a ref to listeners inside DEControllerKeyListeners.
1086 Added dec_key_listener_free() method. Use prepend instead of
1087 append in key_listener list. Fixed some refcount madness and
1088 leaks in the listener registration/deregistration - deregistration
1089 now calls dec_key_listener_free() on listeners, and on the
1090 temporarily constructed dec_key_listener() used to perform the search/match.
1092 * libspi/hypertext.c (spi_hypertest_finalize):
1093 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1094 class. Also fixed spi_hypertext_interface_new() and
1095 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1097 * libspi/hypertext.h:
1098 Removed pointless and duplicate AtkObject pointer from
1101 * libspi/keystrokelistener.c:
1102 Fixed incorrect type of keystroke_listener_parent_class,
1103 renamed keystroke_listener_object_finalize to
1104 spi_keystroke_listener_object_finalize.
1105 Fixed typo in signal declaration
1106 (spi_keystroke_listener_class_init).
1108 * libspi/registry.c:
1109 Added funcsions spi_listener_struct_new() and
1110 spi_listener_struct_free() to help with memory management issues.
1111 We also now use these methods instead of gnew + poking stuff into
1112 the struct, and to decrement listener counts/free the listeners
1113 when deregistering them.
1114 Fix more refcount bugs in getDesktop() and
1115 getDeviceEventController().
1118 De-ref the desktop after enumerating the applications. Explicitly
1119 decrement the refcounts on the created listeners on exit (using
1120 _unref for keystroke listeners, and via the
1121 deregisterGlobalEventListenerAll command for other event
1124 2001-11-27 Michael Meeks <michael@ximian.com>
1126 * cspi/spi-listener.h: fixup enum.
1128 2001-11-27 Michael Meeks <michael@ximian.com>
1130 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1131 (cspi_keystroke_listener_new): Use the cspi variants.
1133 2001-11-26 Michael Meeks <michael@ximian.com>
1135 * test/keysynth-demo.c: fix 2 compile warnings, missing
1138 * test/simple-at.c (report_focussed_accessible),
1139 (report_focus_event, report_button_press),
1140 (check_property_change, is_command_key),
1141 (report_ordinary_key_event, report_command_key_event): upd.
1143 * util/mag_client.h: include pre-requisites.
1145 * libspi/accessibleeventlistener.c
1146 (spi_event_listener_object_finalize): free any lingering
1149 * libspi/keystrokelistener.c
1150 (keystroke_listener_object_finalize): ditto.
1152 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1153 callbacks, with cspi types.
1155 * cspi/spi_event.c (createAccessibleEventListener): chain to
1156 (AccessibleEventListener_addCallback): here.
1157 (createAccessibleKeystrokeListener): chain to
1158 (AccessibleKeystrokeListener_addCallback): here.
1160 * libspi/keystrokelistener.c
1161 (spi_keystroke_listener_class_init): add signal.
1162 (impl_key_event): emit the event.
1163 (boolean_handled_accumulator): impl.
1164 (marshal_BOOLEAN__POINTER): add, gack.
1166 * libspi/accessibleeventlistener.c
1167 (spi_event_listener_class_init): add signal.
1168 (impl_accessible_event_notify_event): emit the signal &
1169 make the loop efficient.
1170 (spi_event_listener_add_callback): prepend the callback.
1172 * libspi/accessibleeventlistener.h: add an 'event' signal,
1173 decl type on callback.
1175 * libspi/keystrokelistener.h: ditto.
1177 * cspi/spi-listener.h: make methods typesafe and
1178 make them use the new event typedefs.
1180 * test/simple-at.c (report_focussed_accessible):
1181 include mag_client.h
1182 Use *(void *)text_interface not the other thing.
1184 * configure.in: add gtk to registryd bits - since we use
1187 * util/magnifier.c: include libbonobo.h
1189 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1191 * test/keysynth-demo.c:
1192 Turned this into a simple scanning keyboard, to demonstrate the
1193 use of g_timeout_add () as a means of creating timers for
1194 scanning, and the use of GtkStyle for visually indicating when
1195 virtual keyboard elements are selected.
1197 keysynth-demo now listens to any keyboard keys with zero-valued
1198 keycodes (i.e. 'unused' keys) and interprets them as
1201 Reworked the shiftlatch code so that shift-down state isn't held
1202 for long periods (it's only synthesized immediately prior to
1203 the keysynth event it's modifying). Note that shiftlatch in this
1204 demo is a convenience, not intended to take the place of AccessX
1205 which is the better choice for getting 'sticky' modifier keys.
1207 * libspi/deviceeventcontroller.c:
1208 * at-bridge/bridge.c:
1209 * cspi/spi_registry.c:
1210 Removed some debug print stuff, and put other verbosity in #ifdef
1215 Implemented some more of the magnifier IDL for the simple
1216 magnifier: namely, getZoomRegionParams.
1217 Added mag_x and mag_y members to MagnifierData struct, aid of this
1219 Added GtkWindow::realize signal handler to magnifier, to keep it
1220 from receiving keyboard focus from the WM.
1222 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1224 * cspi/spi-private.h: my guess at what michael forgot
1225 before he ran off to NZ :-)
1227 2001-11-23 Michael Meeks <michael@ximian.com>
1229 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1230 comment out non existant method invoke so we link.
1232 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1233 use bonobo_exception_get_text for more friendly warnings.
1235 * cspi/spi.c (Obj_Add): move into spi_main & rename
1236 spi_object_add; kill spi.c
1238 * cspi/spi_registry.c
1239 (deregisterGlobalEventListener),
1240 (deregisterGlobalEventListenerAll),
1241 (registerGlobalEventListener): fix exception leaks.
1243 * cspi/spi_main.c (spi_exception): impl. helper, so we
1244 don't leak exceptions.
1246 * cspi/spi_selection.c
1247 (AccessibleSelection_deselectSelectedChild): return the
1250 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1251 (spi_registry): ditto.
1252 (SPI_init): guard against double inits.
1254 * cspi/*.c: use spi_ev (), and spi_registry () where
1255 appropriate - a temporary hack until we have something
1256 better. Use spi_object_add
1258 2001-11-22 Michael Meeks <michael@ximian.com>
1260 * cspi/Makefile.am: re organise, install the headers.
1262 * cspi/*.h: add G_BEGIN/END_DECLS
1264 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1267 Added non-preemptive keylistener for key events with no modifiers
1268 and shift-only modifier.
1270 * libspi/keystrokelistener.c:
1271 Removed some verbose diagnostics printout.
1273 * cspi/spi_registry.c:
1274 Fixed a bug that caused all key listeners to be registered as
1277 * libspi/deviceeventcontroller.c:
1278 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1279 for non-preemptive key masks.
1282 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1284 * docs/reference/idl/at-spi-idl-docs.sgml:
1285 * docs/reference/idl/at-spi-idl-sections.txt:
1286 * docs/reference/idl/at-spi-idl-overrides.txt:
1287 Added missing files.
1289 * docs/reference/Makefile.am:
1290 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1291 to scan the IDL files :-(
1296 Added .cvsignore files.
1298 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1300 * libspi/deviceeventcontroller.c:
1301 * libspi/keystrokelistener.c:
1303 * cspi/spi_registry.c:
1304 Added filters for KeySets, KeyEventSeq, and event types to key
1305 event dispatching, so listeners should only receive those events
1306 that they requested :-)
1308 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1313 * docs/reference:Makefile.am:
1314 * docs/reference/cspi:
1315 * docs/reference/cspi:Makefile.am:
1316 * docs/reference/cspi:tmpl:
1317 * docs/reference/cspi:tmpl:*.sgml:
1318 * docs/reference/idl:
1319 * docs/reference/idl:Makefile.am:
1320 * docs/reference/idl:at-spi-idl-sections.txt:
1321 * docs/reference/idl:at-spi-idl-docs.sgml:
1322 * docs/reference/idl:tmpl:
1323 * docs/reference/idl:tmpl:*.sgml:
1325 Restructured docs directory to allow separate 'reference' docs
1326 section, and forked idl and cspi docs. Added the sgml template
1327 files to CVS. Added the first sections/structural sgml for the
1330 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1332 * configure.in, libspi/Makefile.am: find libXtst.
1334 2001-11-21 Michael Meeks <michael@ximian.com>
1336 * test/accessx-gui.c: s/spi_value/value/ - doh.
1338 * libspi/base.[ch]: add.
1340 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1342 * idl/Accessible.idl:
1343 * idl/Application.idl:
1346 Started gtk-doc cleanup on IDL.
1348 * libspi/deviceeventcontroller.c:
1349 Added and connected non-preemptive key notification from the
1350 toolkits (in addition to the pre-emptive support from XServer
1351 which we had before, but which causes 'focus flashing'). Filters
1352 are presently limited to key modifiers and global/non-global,
1353 KeySets are presently ignored, as are KeyEvent masks.
1355 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1356 structs into the persistant structure rather than just storing
1357 pointers to things that might not persist across servant
1360 The XGrabKey call now does async keygrabs, because synchronous
1361 ones were deadlocking with GDK_event code in a very nasty way.
1363 Added boolean to internal method notify_keylisteners, to indicate
1364 whether the event came from the 'toolkit source' or the 'global
1365 (XServer) source' - this is used in the notification process to
1366 determine which listeners to send the event to.
1368 deviceeventcontroller.c is now warning-free.
1370 * libspi/registry.c:
1371 Fixed regression in application de-registration.
1372 Also fixed some really brain-dead weirdness having to do with
1373 event dispatching - event structs are now duplicated before being
1374 re-marshalled in the dispatch to listeners. This also fixes a
1375 Solaris build problem.
1378 2001-20-11 Michael Meeks <michael@ximian.com>
1381 (impl_accessibility_registry_deregister_global_event_listener):
1384 * libspi/deviceeventcontroller.c
1385 (spi_device_event_controller_check_key_event): return
1386 FALSE on no virtual method.
1388 * libspi/*..h: make includes work on a correctly pathed install.
1390 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1392 * libspi/application.h: kill unused ( and whacked out )
1393 gboolean *spi_application_set_id (AtkObject *app, long id);
1395 2001-20-11 Michael Meeks <michael@ximian.com>
1397 * libspi/*.[ch]: further convert to bonobo's type func
1398 macros, remove redundnant casts etc.
1400 * libspi/text.c s/accessibility_text/spi_text/g,
1401 re-order to de-cruft.
1403 * libspi/hypertext.c: re-order to kill a huge slew
1404 of redundant forward decls.
1406 * libspi/relation.c: ditto.
1408 * libspi/image.c: ditto.
1410 * */.cvsignore: update
1412 2001-20-11 Michael Meeks <michael@ximian.com>
1414 * libspi/deviceeventcontroller.c
1415 (_controller_register_with_devices): use g_getenv,
1416 kill stdlib.h include.
1418 * libspi/keystrokelistener.c
1419 (spi_keystroke_listener_get_type): kill
1420 (spi_keystroke_listener_class_init),
1421 (spi_keystroke_listener_init): rename to this.
1423 * libspi/text.c (impl_getAttributes): fix warning / bug.
1425 * libspi/*.[ch]: more headers, includes and over commenting.
1427 2001-20-11 Michael Meeks <michael@ximian.com>
1429 * libspi/*.[ch]: fixup headers, includes and over commenting.
1431 * libspi/image.c (impl__get_imageDescription): const
1432 correctness warning fix. remove redundant casting.
1434 * libspi/table.c (impl_getRowDescription): ditto.
1435 (impl_getColumnDescription): ditto.
1437 * libspi/libspi.h: add.
1439 2001-19-11 Michael Meeks <michael@ximian.com>
1441 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1443 * libspi/component.c (accessibility_component_get_type):
1444 rename to (spi_component_get_type): and macroify.
1445 (accessibility_component_init): rename to
1446 (spi_component_init): this
1447 (accessibility_component_class_init): rename to
1448 (spi_component_class_init): this
1450 * libspi/action.c (spi_action_get_type): kill, use the macro.
1452 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1455 * libspi/application.c (spi_application_object_event_listener),
1456 (impl_accessibility_application_register_object_event_listener):
1457 warning fixes / const understanding updates.
1459 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1462 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1464 * libspi/spi_accessible.c: Added docs and C bindings for
1465 AccessibleStateSet. (No implementations yet). Documentation
1466 coverage for C bindings now 100%. Made docs for event listeners
1471 boolean notifyListenersSync (in DeviceEventListener listener,
1472 in DeviceEvent event);
1474 oneway void notifyListenersAsync (in DeviceEventListener listener,
1475 in DeviceEvent event);
1477 Added DeviceEventListener and DeviceEvent structs (may deprecate
1478 KeyStroke and KeystrokeListener in favor of this generic
1479 event/listener framework for devices).
1481 * libspi/deviceeventcontroller.c:
1483 Changed some key listener code to take masks, etc., and paved the
1484 way for integration of toolkit/non-preemptive key events. Changed
1485 signatures of some internal methods.
1487 * at-bridge/bridge.c:
1488 Fixed regression connecting to interface signals, apparently
1489 caused by GTK+ changes.
1491 Added an internal bridge_state_listener to deal with
1492 property-change:accessible-state signals.
1494 Changed the key_listeners GList to store structs (including masks,
1495 etc.) instead of just CORBA_Objects (required for full
1496 implementation of key listener API).
1498 Connected the bridge to all currently supported Atk signals.
1499 Events now supported:
1500 object:property-change
1501 object:property-change:accessible-name
1502 object:property-change:accessible-state
1503 object:property-change:accessible-description
1504 object:property-change:accessible-parent
1505 object:property-change:accessible-value
1506 object:property-change:accessible-role
1507 object:property-change:accessible-table-caption
1508 object:property-change:accessible-table-column-description
1509 object:property-change:accessible-table-column-header
1510 object:property-change:accessible-table-row-description
1511 object:property-change:accessible-table-row-header
1512 object:property-change:accessible-table-summary
1513 object:children-changed
1514 object:visible-data-changed
1515 object:selection-changed
1516 object:text-selection-changed
1518 object:text-caret-moved
1520 object:row-reordered
1522 object:column-inserted
1523 object:column-reordered
1524 object:column-deleted
1525 object:model-changed
1527 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1529 * libspi/hyperlink.c,h:
1530 Fixed some broken stuff in hyperlink.
1532 * libspi/relation.h:
1533 * libspi/relation.c:
1534 * cspi/spi_accessible.c:
1535 Initial implementations of AccessibleRelation methods, and docs.
1537 * libspi/accessible.c:
1538 Fixed a bug that caused SEGV if an accessible
1539 object's description is NULL, and a client
1540 requests it. An empty string is now returned.
1542 * cspi/spi_editabletext.c:
1543 * cspi/spi_hypertext.c:
1545 * cspi/spi_hyperlink.c:
1549 Doc coverage now 95%.
1551 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1553 One last namespacing revision:
1554 * libspi/accessibleeventlistener.[ch]:
1555 Renamed SpiAccessibleEventListener to SpiEventListener,
1556 (no need for two namespaces ;-)
1558 And lots of documentation fixes:
1560 * docs/at-spi-docs.sgml:
1561 Fixed 'underscore vs. hyphen' bug that was preventing
1562 the gtk-doc API docs from being automatically generated.
1565 * cspi/spi-listener.h
1567 * cspi/spi_accessible.c
1569 * cspi/spi_application.c
1570 * cspi/spi_component.c
1571 * cspi/spi_editabletext.c
1573 * cspi/spi_hypertext.c
1575 * cspi/spi_registry.c
1576 * cspi/spi_selection.c
1580 * docs/at-spi-docs.sgml
1581 * docs/at-spi-sections.txt
1583 Added and fixed up gtk-doc documentation in cspi.
1585 Interfaces now (fully) documented (subject to revision and enhancement):
1587 Event Listener Support
1589 AccessibleApplication
1593 AccessibleEditableText
1600 AccessibleRelationSet
1605 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1607 * at-bridge/bridge.c:
1608 Initial work for toolkit-level key snooper connection by bridge.
1613 New typedefs and fixes to support new namespacing, and cleaner
1614 separation of cspi bindings from libspi bonobo implementation.
1615 Removed inconsistent and extraneous Spi* namespace prefix that
1616 had crept into cspi headers.
1617 Lots of comment fixes that sed had missed.
1619 * cspi/spi-roletypes.h:
1620 * cspi/spi-statetypes.h:
1621 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1622 to AccessibleRoleType.
1624 * libspi/accessibleeventlistener.h:
1625 Fixed minor namespacing weirdness.
1627 * libspi/deviceeventcontroller.c:
1628 Reordered some internal API for device listeners.
1629 Changed the key registry final boolean to 'is_system_global'
1630 rather than 'is_synchronous', which is more descriptive of its
1632 Added spi_device_event_controller_new().
1633 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1635 * libspi/keystrokelistener.[ch]:
1636 Namespaced KeystrokeListener to SpiKeystrokeListener.
1637 Changed uses of keymasks to use SPI_ prefix, and did other
1640 * libspi/keymasks.h:
1641 Namespaced keymask constants with SPI_ prefix.
1643 * libspi/registry.c:
1644 Some warning fixes, and knock-on fixes from namespace changes.
1647 Added rules for accessx-gui test program.
1649 * test/accessx-gui.c:
1650 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1651 utility. It doesn't actually use at-spi, but it's still cool and
1654 * test/keysynth-demo.c:
1658 Fixes so that these test clients work properly with the namespaced
1659 libraries. (Incompletely tested for technical reasons, fixes may follow)
1662 2001-13-11 Michael Meeks <michael@ximian.com>
1664 * libspi/application.c
1665 (impl_accessibility_application_get_version),
1666 (impl_accessibility_application_get_toolkit_name):
1668 (impl_accessibility_application_set_id),
1669 (impl_accessibility_application_get_id): remove
1670 redundant casting code.
1672 * libspi/action.c (impl_getDescription): fix warnings.
1674 * libspi/accessible.c
1675 (impl_accessibility_accessible_get_parent),
1676 (impl_accessibility_accessible_get_child_at_index),
1677 (impl_accessibility_accessible_get_state),
1678 (impl_accessibility_accessible_get_relation_set):
1679 warning fixes & include action.h
1681 2001-13-11 Michael Meeks <michael@ximian.com>
1683 * *.[ch] fix bits I screwed up:
1685 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1686 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1688 2001-13-11 Michael Meeks <michael@ximian.com>
1690 * *.[ch] Namespace libspi into spi_ and Spi.
1692 2001-13-11 Michael Meeks <michael@ximian.com>
1694 * Makefile.am: dist & install at-spi-1.0.pc
1696 * libspi/Makefile.am: install into at-spi-1.0
1698 * idl/Makefile.am (idldir): install into at-spi-1.0
1700 * at-spi-1.0.pc.in: add.
1702 * configure.in: build it.
1704 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1706 * test/keysynth-demo.c:
1707 Use a 'realize' signal-handler to set the WM properties for
1708 the virtual keyboard, rather than making it a "POPUP" type
1709 override-redirect window (thanks to anders carlsson for that
1712 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1715 * test/keysynth-demo.c:
1716 Added new test of key synthesis, which creates a simple
1717 (mouse-operated) onscreen keyboard. It inserts key events into
1718 the currently-focused window, thus it does not grab keyboard focus
1721 * cspi/spi_registry.c:
1722 Added C binding for AT-SPI generateKeyEvent.
1724 * libspi/deviceeventcontroller.c:
1725 Added call to XFilterEvent so that key listener works with XIM (we
1726 hope). Added event_synth_type to generateKeyEvent, so that we can
1727 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1728 synthesize a press/release pair for KeySyms.
1730 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1732 * libspi/Makefile.am:
1733 * registryd/Makefile.am:
1734 (temporary) hack to include libXtst in libspi and registryd.
1735 (Needed for keystroke synthesis, see below).
1738 Improved API for registerKeystrokeListener, in accordance with
1739 discussions with Gnopernicus team and X server research.
1741 * libspi/registry.c:
1742 * libspi/deviceeventcontroller.c:
1743 * libspi/accessible.c:
1744 * libspi/keystrokelistener.c:
1745 Changes and fixes to support keylisteners for potentially
1746 consumed key events (that is, 'passive grabs').
1747 Added implementation for generateKeyEvent() [untested].
1750 Changes to registerKeystrokeListener() API, as above.
1751 Added deregisterGlobalEventListenerAll(), and
1752 deregisterKeystrokeListener(), which are needed for clean exit of
1754 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1755 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1757 * cspi/spi_registry.c:
1758 Added implementations of function prototypes mentioned above.
1760 * registryd/registryd.c:
1761 Added the key listener event source as a g_timeout(), to allow
1762 receipt of key events that are not caught by GDK (since GDK
1763 doesn't support passive keygrabs, this was necessary).
1766 Changed to attach a keylistener to 'Alt' keys, and
1767 respond to the following keycommands: Alt-M (toggle magnifier);
1768 Alt-F (toggle speech); Alt-Q (quit).
1769 Added an exit routine to deregister the listeners, and a key
1770 listener that prints some key info to the console when a key
1771 matches the listener mask (and is thus received by the listener).
1773 * util/idl/Magnifier.idl:
1774 Changes to magnifier API to support multiple zoom regions,
1775 non-uniform scaling in x and y, markDirty, and a host of other
1776 features that would be useful to magnification.
1779 * util/mag_client.c:
1780 * util/mag_client.h:
1781 * util/mag_control.c:
1783 Source code changes to support the above IDL changes.
1786 As above, and also changes to use a (slower) generic conversion
1787 path for colormap conversions, since the fast RGB conversions have been
1788 reported to fail for 16-bit displays.
1790 2001-10-26 Michael Meeks <michael@ximian.com>
1792 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1794 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1796 * at-bridge/Makefile.am: fix LDFLAGS.
1798 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1800 * at-bridge/bridge.c:
1801 Re-worked listeners for toolkit events, now we have signal
1802 and property listeners. Added a private method
1803 register_atk_event_listeners(), which registers with the
1804 various atk and gtk signals we need to monitor in order to emit
1806 Added emission hook for AtkObject:property-change events, to
1807 support the 'property listeners'.
1808 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1811 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1812 which emit warnings and exit, respectively, if CORBA errors occur
1813 during remote calls, and we now use these methods to check most of
1814 our CORBA calls in the C bindings.
1816 * cspi/spi_accessible.c:
1817 Changed AccessibleSelection_refSelectedChild() to
1818 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1819 now increment refcounts.
1821 * cspi/spi_component.c:
1822 Fixed some long pointer casts (dangerous!) to pass pointers to
1823 CORBA_longs of the proper type to the CORBA stubs, and copy the
1824 data into the longs that were passed into the C bindings code.
1826 * at-bridge/bridge.c:
1828 * libspi/accessible.c:
1829 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1830 hyperlinks, AtkHyperlink is an object type.
1832 * libspi/application.c:
1833 Added various conversions to and from "generic" event types and
1834 atk-specific types; this is really part of the 'bridge'
1835 implementation but is valid for all AtkObject-based accessibility
1838 * libspi/editabletext.c:
1839 Fixed nasty bug wherein editable text's finalize method was
1840 unref'ing tha AtkObject reference that the text parent class was
1841 about to unref _again_. There was also a nasty inheritance bug
1842 that meant that the AccessibleEditableText class was corrupt.
1844 * libspi/selection.c:
1845 Provided implementations for some selection API that was broken.
1847 * idl/Application.idl:
1848 Added registerObjectEventListener () method.
1851 Fixed a number of return values that were Bonobo_Unknowns from
1852 bonobo_object_corba_objref(), which I
1853 forgot to dup before returning. Changed instances of
1854 bonobo_object_corba_objref (bonobo_object(o)) to
1855 BONOBO_OBJREF(o), for concision and clarity.
1857 <2001-10-13 Louise Miller <louise.miller@sun.com>
1859 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1860 idl/Event.idl, idl/Registry.idl
1861 Changed these files to include Bonobo_Unknown.idl instead
1864 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1866 * libspi/component.c libspi/component.h:
1867 Fixed typo. Added assertions for object checks in
1868 AccessibleComponent code.
1870 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1872 * idl/Accessible.idl:
1873 Added 'isEqual (Accessible *object)'
1874 method for Accessible. (Not Yet Implemented).
1877 Changed signature of registerKeystrokeListener() to
1878 take a KeySet and KeyEventSeq so that specific keys and event
1879 types could be requested for monitoring, and added a flag
1880 is_synchronous so that either synchronous or asynchronous
1881 notification could be requested. (However this is not all
1882 implemented yet). This also meant adding two new typedefs,
1883 KeyEventSeq and KeySet.
1886 Added two new relations, RELATION_TOOLTIP_FOR and
1887 RELATION_LEAFNODE_OF.
1890 Added new state, STATE_HAS_TOOLTIP.
1892 * libspi/text.c, editabletext.c:
1893 Added new assertions to all casts of bonobo-objects from
1894 CORBA servants, to prevent Text API calls on non-text objects.
1895 Changed suspect casts of int-pointer types, so that we
1896 always send a valid CORBA_long pointer to the CORBA APIs that use
1897 in/out long parameters. We then have to copy from the CORBA_long
1898 into the regular long or int for return to the C bindings, or
1899 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1902 * libspi/deviceeventcontroller.c:
1903 Cleaned these sources up.
1905 Changed return type for getCharacterAtOffset to
1906 CORBA_unsigned_long, to allow for 32-bit characters.
1909 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1913 Fixed 'make dist' so that distro compiles...
1914 * libspi/keymasks.h:
1916 * cspi/spi-listener.c:
1917 KeystrokeListenerCB now returns a boolean.
1919 Added KeyEventType struct, and KeyStroke.
1920 Also added createKeystrokeListener(),
1921 KeystrokeListener_addCallback(),
1922 KeystrokeListener_removeCallback(), and added a keymask to
1923 registerKeystrokeListener().
1924 * cspi/spi_accessible.c:
1925 Changed numerous return types for interfaces from
1926 AccessibleComponent to Accessible<InterfaceName>; this was
1927 probably a cut-and-paste error.
1929 Implementations of new KeystrokeListener api (from spi.h,
1932 Changes to key modifier mapping.
1933 Created ControllerEventMask struct.
1934 Made DeviceEventController derive from Bonobo::Unknown.
1936 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1937 * libspi/deviceeventcontroller.c:
1938 Added a number of new internal (private) methods.
1939 * libspi/editabletext.c:
1940 * libspi/editabletext.h:
1941 Fixed a number of bugs related to the fact that
1942 editabletext inherits from text. Fixed the EditableText struct,
1943 the init() call, and use correct casts when calling Text methods
1944 from an EditableText object. Removed (duplicate) atko from the
1945 EditableText structure, we use the one in the parent Text
1946 structure via the casts mentioned above.
1947 * libspi/keystrokelistener.[ch]:
1948 * libspi/registry.c:
1949 Changes in support of keyboard handling (above).
1951 Keyboard handling, though partly functional, is still not
1952 recommended for at-spi client use as there is considerable
1953 work yet to be done.
1956 Changed some places where pointers to various int types
1957 are cast to be pointers to CORBA_long types and vice-versa:
1958 pointer casting is not safe so we pass pointers of the correct
1959 types and then cast the result before putting it into the target
1962 * libspi/text.h: minor typos corrected.
1964 We now speak not only the name of a Text element, but the
1965 first sentence of its content, when it receives focus.
1966 I also changed the text compression to 75% from 50%.
1967 * util/Accessibility_Util.server.in:
1968 Changed the default magnifier type to be a 3x vertical
1969 splitscreen magnifier (was previously a 2x horizontal one).
1971 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1973 * libspi/keystrokelistener.h:
1974 * libspi/keystrokelistener.c:
1975 Initial functional implementations of KeystrokeListener.
1978 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1980 Fixed string handling for NULL strings in libspi.
1981 Added spi_freeString to free strings returned by C bindings.
1983 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1985 * libspi/keystrokelistener.h:
1986 * libspi/keystrokelistener.c:
1987 Began (no-op) implementations of KeystrokeListener
1989 * libspi/deviceeventcontroller.c:
1990 * libspi/deviceeventcontroller.h:
1991 Began creating implementations of DeviceEventController,
1992 to handle keystroke and mouse event listening and
1994 * libspi/accessible.c:
1995 Stubbed-in the implementations for
1996 Accessibility_Accessible_getState and
1997 Accessibility_Accessible_getRelationSet.
1998 * libspi/registry.c:
1999 Improved de-registration process and fixed some bugs,
2000 deregistration now works correctly.
2002 Added initialization of applications list (to NULL).
2004 Reduced speech compression from 0.5 to 0.7, for demo.
2005 Changed call to gdk_window_set_decorations()
2006 to gtk_window_set_decorated().
2007 * at-bridge/bridge.c:
2008 Bridge now deregisters when app exits, via
2009 registration of a cleanup function
2010 with the g_atexit() call.
2011 Required making 'app' static, renamed 'this_app'.
2012 Fixed broken use of bonobo_init, passing argv wrongly.
2014 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2018 Created a new directory for
2019 accessibility-related utilities, primarily for
2020 testing and demo purposes, but with possible
2027 Onscreen magnifier utility that
2028 is implemented as a bonobo service.
2030 * util/mag_client.c:
2031 * util/mag_client.h:
2032 Client-side support (simple C bindings)
2033 for Magnification service
2035 * util/mag_control.c:
2036 Client program example for
2037 Magnification service
2039 * util/Accessibility_Magnifier.server.in:
2040 Bonobo-activation file for the
2041 Magnification service.
2044 * util/idl/Magnifier.idl:
2045 IDL defining the bonobo Magnification
2049 Modifications to use the bonobo-activated magnifier
2050 above, in place of trying to connect to an existing
2051 magnifier that uses socket-listening IPC.
2053 If env variable MAGNIFIER is set, a magnifier service
2054 will be started if one does not exist.
2056 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2057 * at-bridge/bridge.c:
2058 applied patch from Marc to build and run
2059 against new glib and gtk+ (seemed like a change
2060 to bonobo_init signature was made ?)
2062 made festival-server support turned off by default.
2063 Added support for a simple magnifier (off by default)
2064 which will be added to a 'util' directory later.
2065 * at-bridge/Makefile.am:
2066 Changed "application.h" header from a 'source'
2067 to a 'dependency' of libat-bridge.
2069 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2077 Added interface implementation c files to list of
2078 includes so they are included in libcspi.
2081 Changed prototype of AccessibleAction_doAction to return a
2083 Changed prototype of AccessibleTable_getCaption to
2084 return an Accessible.
2085 Changed prototype of AccessibleTable_getSelectedRows
2086 and AccessibleTable_getSelectedColumns to
2087 return a long (returns the number of selected rows
2088 or columns respectively).
2089 Changed name of AccessibleText_refRunAttributes to
2090 AccessibleText_getAttributes.
2091 Changed prototype of AccessibleText_getCharacterExtents to
2092 return a void rather than a boolean.
2093 Added support for a AccessibleCoordType parameter
2094 specifying what type of coordinates are desired.
2095 Added an AccessibleCordType parameter to
2096 AccessibleText_getPointAtOffset.
2098 * cspi/spi_accessible.c:
2099 Added code to return the outstanding interfaces from
2100 Accessible_queryInterface.
2102 * cspi/spi_action.c:
2104 Corrected call to getNActions to call the c binding
2107 * cspi/spi_editabletext.c:
2109 Changed name from setRunAttributes to setAttributes.
2111 * cspi/spi_hyperlink.c:
2113 Changed call to getNAnchors to correctly call the c
2114 binding for an attribute.
2116 * cspi/spi_hypertext.c:
2118 Changed getImageDescription to correctly call the
2119 binding for an attribute.
2121 * cspi/spi_selection.c:
2122 Changed getNSelectedChildren to correctly call the c
2123 binding for the attribute.
2124 Changed refSelectedChild to getSelectedChild.
2128 Changed getCaption to return an Accessible.
2129 Fixed calls which retrieve attributes.
2130 Changed refAt to getAccessibleAt.
2131 Changed getNSelectedRows and getNSelectedColumns to
2135 Changed getCharacterExtents and getPointAtOffset to accept an
2136 AccessibleCoordType.
2138 Changed calls which retrieve attributes.
2139 Changed refRunAttributes to getAttributes.
2144 * idl/Hyperlink.idl:
2145 Changed n_anchors attribute to nAnchors to keep naming
2146 convention consistent.
2149 Made Table inherit from Bonobo::Unknown.
2150 Added nSelectedColumns and nSelectedRows attributes.
2153 Made Value inherit from Bonobo::Unknown.
2155 * libspi/hyperlink.c:
2156 Change for nAnchors attributte name change.
2158 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2166 Added interface implementation c files to list of
2167 includes so they are included in libcspi.
2170 Changed prototype of AccessibleAction_doAction to return a
2172 Changed prototype of AccessibleTable_getCaption to
2173 return an Accessible.
2174 Changed prototype of AccessibleTable_getSelectedRows
2175 and AccessibleTable_getSelectedColumns to
2176 return a long (returns the number of selected rows
2177 or columns respectively).
2178 Changed name of AccessibleText_refRunAttributes to
2179 AccessibleText_getAttributes.
2180 Changed prototype of AccessibleText_getCharacterExtents to
2181 return a void rather than a boolean.
2182 Added support for a AccessibleCoordType parameter
2183 specifying what type of coordinates are desired.
2184 Added an AccessibleCordType parameter to
2185 AccessibleText_getPointAtOffset.
2187 * cspi/spi_accessible.c:
2188 Added code to return the outstanding interfaces from
2189 Accessible_queryInterface.
2191 * cspi/spi_action.c:
2193 Corrected call to getNActions to call the c binding
2196 * cspi/spi_editabletext.c:
2198 Changed name from setRunAttributes to setAttributes.
2200 * cspi/spi_hyperlink.c:
2202 Changed call to getNAnchors to correctly call the c
2203 binding for an attribute.
2205 * cspi/spi_hypertext.c:
2207 Changed getImageDescription to correctly call the
2208 binding for an attribute.
2210 * cspi/spi_selection.c:
2211 Changed getNSelectedChildren to correctly call the c
2212 binding for the attribute.
2213 Changed refSelectedChild to getSelectedChild.
2217 Changed getCaption to return an Accessible.
2218 Fixed calls which retrieve attributes.
2219 Changed refAt to getAccessibleAt.
2220 Changed getNSelectedRows and getNSelectedColumns to
2224 Changed getCharacterExtents and getPointAtOffset to accept an
2225 AccessibleCoordType.
2227 Changed calls which retrieve attributes.
2228 Changed refRunAttributes to getAttributes.
2233 * idl/Hyperlink.idl:
2234 Changed n_anchors attribute to nAnchors to keep naming
2235 convention consistent.
2238 Made Table inherit from Bonobo::Unknown.
2239 Added nSelectedColumns and nSelectedRows attributes.
2242 Made Value inherit from Bonobo::Unknown.
2244 * libspi/hyperlink.c:
2245 Change for nAnchors attributte name change.
2248 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2250 implementations-- made server implementations own AtkObject pointers
2251 rather than their respective AtkInterrface pointers to fix
2252 refcounting. AtkHyperlink is still broken.
2254 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2255 * cspi/spi_accessible.c:
2256 Added method Accessible_Role_getName(),
2257 and requisite string array (role_names).
2258 Added conversion string_from_corba_strin() call
2259 to Accessible_getName and _getDescription.
2260 * libspi/accessible.c:
2261 Added implementation for Accessible_getRole()
2263 Added festival support, used if environment variable
2266 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2268 * at-bridge/bridge.c:
2269 Now allocate Accessibility_Event using
2270 Accessibility_Event__alloc() instead of g_new0().
2271 * libspi/accessibleeventlistener.c:
2272 Initialize AccessibleEventListener->callbacks to NULL.
2273 Fixed accessible__event_listener_init() param, changed to
2274 "AccessibleEventListener *" type.
2275 Changed a bonobo_object_release_unref() call to
2276 Accessibility_Accessible_unref().
2277 * libspi/listener.c:
2278 Changed Bonobo_Unknown_unref to (equivalent)
2279 Accessibility_Accessible_unref.
2280 * libspi/registry.c:
2281 Changed bonobo_object_release_unref to
2282 Accessibility_Accessible_unref.
2284 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2287 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2288 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2289 spi-util.c spi-util.h
2290 Implementations for C bindings to remaining accessibility
2293 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2296 changed return value of Action from void to boolean to
2297 bring in line with ATK.
2300 Changed getText funcions to return "out" start and end offsets.
2301 Changed getAttributes to take and offset and return the start
2302 and end offset of the attribute run.
2303 Changed getOffsetAtPoint and getCharacterExtents to take an
2304 enum describing whether coordinates are window or screen.
2307 libspi/action.c libspi/action.h libspi/editabletext.c
2308 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2309 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2310 libspi/image.h libspi/selection.c libspi/selection.h
2311 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2312 libspi/value.c libspi/value.h
2313 Added server implementations for outstanding ATK interfaces
2314 not yet implemented.
2316 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2319 Added (missing) getName() method.
2320 Made nActions an attribute.
2321 * idl/EditableText.idl:
2322 Changed order of params in setAttributes.
2323 * idl/Hyperlink.idl:
2324 Removed getAnchor, added getURI.
2326 Changed attributes to methods, for efficiency
2327 (so that getting extents can be done in one call)
2328 * idl/Selection.idl:
2329 Changed nSelectedChildren to attribute, and re-indented.
2330 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2332 * idl/Text.idl: reformatted to match our coding style.
2333 (temporarily?) removed getRowColumnAtOffset().
2334 Changed text selection API to support multi-select and
2335 non-contiguous selections, as in ATK.
2336 * idl/Value.idl: changed some methods to attributes.
2338 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2340 * libspi/listener.c(impl_notify_event):
2341 BonoboUnkown_unref the source instead
2342 of bonobo_object_release_unref - the ORB
2343 handles the releasing.
2345 * configure.in: require ORBit-2.3.94 for
2348 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2350 Tagged CVS repository 'EA_1_0'.
2351 * README.EARLY_ACCESS:
2352 Alphabetized acknowledgements list, and
2354 Listed some known dependencies of at-spi.
2356 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2358 * docs/at-spi-docs.sgml:
2359 * docs/at-spi-sections.txt:
2360 * docs/at-spi-overrides.txt: (Added zero-length file)
2361 Documentation improvements - gtk-doc should build
2362 docs for all implemented C bindings now.
2365 * cspi/spi.c: (New file)
2366 * cspi/spi_event.c: (New file)
2367 * cspi/spi_registry.c: (New file)
2368 * cspi/spi_accessible.c: (New file)
2369 * cspi/spi_application.c: (New file)
2370 * cspi/spi_component.c: (New file)
2371 Split spi_main.c into six parts, and included them from
2372 "spi.c". This is a bit of a hack, probably temporary,
2373 but required by gtk-doc, apparently.
2375 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2378 * docs/at-spi-docs.sgml:
2379 * docs/at-spi-sections.txt:
2381 Initial checkins/modifications for gtk-doc generation.
2384 Added (missing) interface query methods to Accessible's C binding.
2386 Added GenericInterface type definition.
2388 Added query for AccessibleComponent interface to focus event handler.
2389 Added printout of bounding box for focussed component.
2390 * libspi/component.c:
2391 Added partial implementation for AccessibleComponent to C binding.
2392 * idl/Application.idl:
2393 * libspi/registry.c:
2394 * libspi/listener.c:
2395 * libspi/application.c:
2396 * libspi/application.h:
2397 Changed "ID" attribute type from string to long.
2399 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2403 Made method naming consistent: methods taking object args
2404 start with uppercase, other methods (except those using
2405 acronyms) start with lowercase. Underscores delimit between
2406 object names and method names:
2407 SPI_init() - uppercase since it starts with an acronym.
2408 getDesktopCount () - lowercase start since no object param0.
2409 Accessible_getName() - uppercase object type name, studlyCaps method
2413 Added gtk-doc documentation for all currently implemented
2414 methods in the C bindings API.
2416 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2418 * Makefile.am : changed build order to build test last.
2421 Changed "createEventListener" to "CreateEventListener".
2422 * libspi/accessibleeventlistener.c :
2423 Bugfix for addition of callbacks.
2424 * test/Makefile.am :
2425 * test/simple-at.c :
2426 Added new test that uses the C bindings API.
2428 * libspi/listener.c :
2429 * libspi/registry.c :
2430 * libspi/accessibleeventlistener.c :
2431 * at-bridge/bridge.c :
2432 Renamed member "target" of Accessibility_Event to "source",
2433 which is more descriptive.
2436 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2440 * cspi/Makefile.am :
2441 Added makefile support for at-spi/cspi directory.
2444 * cspi/spi-listener.h : (NEW FILE)
2445 Added support for/use of spi-listener.h.
2447 C bindings now build successfully, with no warnings.
2448 * libspi/accessibleeventlistener.h : (NEW FILE)
2449 * libspi/accessibleeventlistener.c : (NEW FILE)
2450 * libspi/Makefile.am :
2451 Added new object type "AccessibleEventListener"
2452 which inherits from Listener, and allows attachment
2453 of in-process callbacks (so that a client with a listening
2454 object instance can add functionality to the local
2455 implementation, dynamically).
2457 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2459 * libspi/accessible.c:
2460 Add implementation for get_index_in_parent().
2462 Added #include of "spi-roletypes.h", and
2463 added enumerated type AccessibleCoordType.
2464 Added definition for KeystrokeListener (function type).
2467 * cspi/spi-statetypes.h :
2468 * cspi/spi-roletypes.h :
2470 Added these headers, used by spi.h.
2472 Added code (NOTE: not yet built by make).
2474 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2476 * libspi/Makefile.am: generate imodule
2477 at the same time as other idl compiler
2480 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2481 * libspi/registry.c :
2482 * libspi/application.c :
2483 * idl/Application.idl :
2484 Made registration with toolkit an application method,
2485 which is required since each app has its own toolkit static
2486 environment. Thus the bridge must register for
2487 notification of toolkit events from each application in turn.
2488 Toolkit notifications are now successfully registered for, and
2489 sent to the listening at client.
2491 Changed toolkit event string to use hyphens rather than underscores.
2492 * libspi/listener.c :
2493 listner now gives more info in debug mode - it reports the
2494 name of the event received, as well as the name of the source.
2497 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2499 * libspi/registry.c :
2500 added more implementation for toolkit events.
2501 Fixed bug such that toolkit event registrations
2502 (via atk) use the whole event name string, not
2504 Removed a useless call to an ORBit_ method.
2505 * at-bridge/bridge.c :
2506 Removed unused local sbuf[] variable.
2508 We now register for Gtk:GtkWidget:button_press_event
2509 events as well as "focus:" events.
2511 Add some more API from Registry.idl that was missing,
2512 for keystroke listening, keystroke and mouse event
2513 synthesis, and enumeration of accessible desktops.
2515 2001-08-16 Michael Meeks <michael@ximian.com>
2517 * configure.in: use AM_GLIB_GNU_GETTEXT.
2519 * Makefile.am (SUBDIRS): kill intl.
2521 2001-08-15 Michael Meeks <michael@ximian.com>
2523 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2525 * configure.in: upd.
2527 * configure.in: depend on a recent bonobo-activation that
2528 will find our server files ...
2530 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2532 * libspi/accessible.c : accessible_new() :
2533 Now we add the Component interface via bonobo_object_add_interface,
2534 if the contained AtkObject implements AtkComponent.
2535 * libspi/accessible.h : now include "component.h"
2536 * libspi/component.h :
2537 * libspi/component.c : added files - implementation of
2538 bonobo wrapper object for Accessibility/Component
2539 * libspi/listener.c :
2540 Added test code to check for Accessibility/Component:1.0
2541 interface and report whether it is implemented by the
2543 * libspi/registry.c :
2544 Now we check for not only the hash of the whole event
2545 string before relaying the event, we also check the
2546 "minor" event string (without the detail string).
2547 This allows event listeners to be registered against
2548 all events of a certain major+minor type, or just
2549 against a specific major+minor+detail type.
2550 * libspi/accessible.c :
2551 Added implementations for Accessible:get_parent(),
2552 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2553 * libspi/registry.c :
2554 * libspi/listener.c :
2555 Replaced calls to Accessibility_Accessible_ref() and
2556 Accessibility_Accessible_unref() with
2557 calls to bonobo_object_dup_ref() and
2558 bonobo_object_release_unref(), so that the CORBA object
2559 is dup-ed and released when relayed, as well as the bonobo object.
2561 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2563 * libspi/Makefile.am,
2564 registryd/Makefile.am,
2565 at-bridge/Makefile.am.
2566 test/Makefile.am, configure.in:
2567 reverse previous changes.
2569 * /idl/Image.idl: fix typo.
2571 * test/Makefile.am: put DEBUG_FLAGS
2574 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2576 * test/app.c: use argv[0] instead of
2579 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2581 * libspi/Makefile.am,
2582 registryd/Makefile.am,
2583 at-bridge/Makefile.am.
2584 test/Makefile.am, configure.in:
2585 cleanup, replace individual LIBS/CFLAGS with
2586 AT_COMMON_{LIBS|CFLAGS}.
2590 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2592 * configure.in, libspi/Makefile.am:
2593 Change IDL path checking for bonobo-activation
2596 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2598 * registryd/registry.c : separated event listeners to use
2599 3 separate lists (focus, window, toolkit). Began testing
2600 event names against hashes before relaying events.
2601 * test/at.c : now register for events of type "focus:"
2602 * test/app.c : now generate events of type "focus:"
2603 * at-bridge/bridge.c : register with ATK for focus events,
2604 and we now relay those focus events to any "focus:" listeners.
2605 This now works with the bridge as a GTK_MODULE when running test/at.
2606 * libspi/registry.c :
2607 * libspi/listener.c :
2608 now we ref event sources before propagating, and unref on receipt.
2609 * libspi/registry.c :
2610 some changes to internal structs, to support event typestring hashes.
2611 * text/app.c : changed the way the appname is generated.
2612 * cspi : added directory that will hold the C bindings library for
2613 non-CORBA/bonobo-savvy clients.
2614 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2615 * idl/Component.idl : added in parameter to indicate coord system for
2616 geometry-related calls.
2617 * idl/Hyperlink.idl : added readonly n_links attribute
2618 * idl/Image.idl : changed methods to attributes.
2620 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2622 * at-bridge/Makefile.am: link against
2623 ../libspi/libspi.la instead of -lspi.
2625 * at-spi/test/app.c: include
2626 bonobo-activation.h. Use a default appname
2627 if one is not provided.
2629 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2631 * idl/Registry.idl : temporarily changed register_Application
2632 to oneway, to work around issue with initial registration
2634 * idl/Application.idl : changed attribute "id" from readonly
2635 to read-write, since it needs to be assigned by Registry.
2636 * registryd/registryd.c : added call to set application id
2638 * registryd/registry.c : changed de-registration procedure to
2639 use CORBA_Object_hash() to find matching object ref in application
2640 lists and listener lists.
2641 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2642 began distinguishing between event types (work in progress).
2644 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2647 * libspi/application.c:
2648 Added implementations for get/set id, get_toolkitName,
2650 * registryd/registryd.c :
2654 Converted from use of OAF to bonobo-activation.
2655 * libspi/desktop.h :
2656 * libspi/desktop.c :
2658 Removed references to atksimpleobject, since base atkobject
2659 implementation now provides functionality we need.
2660 * libspi/atksimpleobject.c :
2661 * libspi/atksimpleobject.h :
2666 * at-bridge/Makefile.am
2667 * at-bridge/bridge.c
2670 Added directory "bridge" and contents, and added dependencies
2671 in Makefile.am/configure.in.
2672 Initial checkin of "at-bridge".
2673 This code is a GTK_MODULE which automatically registers
2674 GTK+ apps with the accessibility registry, using an object
2675 reference to the root ATK object.
2677 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2679 * po/Makefile.in.in: Remove. Again. If this
2680 doesn't get autogenerated - you need to update
2683 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2685 * po/Makefile.in.in: Add. Again.
2687 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2689 * libspi/accessible.c : added support for 'description' property.
2690 * libspi/accessible.c
2692 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2693 (since the two are now equivalent in libbonobo)
2701 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2702 Bonobo::Unknown as does Accessibility::Accessible.
2703 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2704 interface with Bonobo::Stream, since it was redundant with it.
2705 (The Stream returned by a StreamableContext object is expected to
2706 implement only a subset of Bonobo::Stream)
2708 2001-07-28 Anders Carlsson <andersca@gnome.org>
2710 * libspi/accessible.c (accessible_object_finalize): Change
2711 g_free to g_object_unref since the AtkObject is a GObject.
2713 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2715 * idl/Accessibility.idl: add new IDL files
2718 * idl/Action.idl: Definitions of actionable UI object
2719 * idl/Component.idl: Definitions of UI component geometry, etc.
2720 * idl/Hyperlink.idl: Defs of hyperlink behavior
2721 * idl/Image.idl: Def of accessible image
2722 * idl/Selection.idl: Definition of UI object with selectable children
2723 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2724 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2725 * idl/Text.idl: Interface defs for UI elements with complex textual content
2726 * idl/Value.idl: Definition of UI element that is a value controller or display
2728 2001-07-27 Michael Meeks <michael@ximian.com>
2730 * po/Makefile.in.in: remove autogenerated file from CVS.
2732 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2735 * idl/Registry.idl: include guard.
2737 * idl/Accessibility.idl: Add, and include all the other IDL
2740 * idl/*.idl: remove mass of pragmas etc.
2742 2001-07-26 Michael Meeks <michael@ximian.com>
2744 * registryd/Makefile.am (registryd_SOURCES): remove
2747 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2749 * libspi/.cvsignore, registryd/.cvsignore,
2750 test/.cvsignore: updated.
2752 * po/Makefile.in.in: gettext update.
2754 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2756 * initial CVS checkin
2758 2001-06-29 Michael Meeks <michael@ximian.com>
2760 * configure.in: add AM_CONFIG_HEADER to gen config.h