1 2001-12-11 Michael Meeks <michael@ximian.com>
3 * libspi/libspi.h: remove registry.h and
4 desktop.h, deviceeventcontroller.h
6 * libspi/Makefile.am: remove registry.[ch],
7 desktop.[ch], deviceeventcontroller.[ch]
9 * registryd/Makefile.am: add registry.[ch],
10 desktop.[ch], rename registryd.c to registry-main.c.
11 add deviceeventcontroller.[ch]
13 2001-12-11 Bill Haneman <bill.haneman@sun.com>
16 Replace setenv() call with putenv ().
19 Bugfix in AccessibleComponent_getExtents ().
21 2001-12-11 Michael Meeks <michael@ximian.com>
23 * libspi/image.c (impl_getImageExtents): impl.
24 (spi_image_class_init): upd.
27 (AccessibleImage_getImageDescription): fix daft bug
30 * test/test-simple.c (global_listener_cb): update
31 to only quit if not --poke
33 (validate_accessible): upd. dumping, call test_image
36 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
39 * idl/Accessibility.idl: update all IDL includes.
41 * idl/*.idl - rename to namespace - this sucks, blame
42 mjs' bad decision for oafd.
44 * test/test-simple.c (create_test_window): add more tests.
45 (create_tree): split this out.
46 (validate_accessible): bugfix.
48 2001-12-11 Michael Meeks <michael@ximian.com>
50 * cspi/bonobo/cspi-bonobo-listener.c:
51 (cspi_kestroke_listener_unref),
52 (cspi_event_listener_unref): impl. undoing previous
53 homenous environment - for Bill.
55 * cspi/spi_table.c (long_seq_to_array): use
58 * cspi/spi_main.c: split out all bonoboish bits into
61 * cspi/spi-impl.h: upd. typedefs.
63 * cspi/spi_registry.c: update to lowlevel API,
64 return booleans to indicate success in some places.
66 * cspi/spi_event.c: update to lowlevel API.
68 * cspi/bonobo/Makefile.am: add.
70 * cspi/bonobo/cspi-lowlevel.h: add
72 * cspi/bonobo/cspi-bonobo.c: add
74 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
76 * cspi/Makefile.am: remove spi-listener-impl.[ch],
77 (SUBDIRS): add bonobo, link in the libs.
79 * cspi/spi-util.c: kill this file.
81 * TODO: merge in my bits.
83 2001-12-11 Michael Meeks <michael@ximian.com>
85 * test/test-simple.c (test_value, test_table, main):
86 remove unused variables causing warnings.
88 * configure.in: cleanup checks - require gail.
90 2001-12-11 Bill Haneman <bill.haneman@sun.com>
93 Changed Value interface to use SValue (scalars) rather than
94 assuming all values are floats. This allows floats, doubles,
95 longs, shorts, and unsigned values to be manipulated.
96 Introduced Accessibility:SValue union.
99 Updated to use new API above, and to work correctly with GValues
100 of different types in AtkValue.
103 Updated to use new API above. cspi's API is as yet unchanged.
106 Updated the Value revision action item.
108 2001-12-10 Bill Haneman <bill.haneman@sun.com>
110 * test/test-simple.c:
111 Added test_table (GtkTreeView widget in test window to follow).
112 Un-commented test_value, added GtkRange widget.
113 Added GtkTreeView widget with GtkListStore. It passes regression
114 test but leaks one SPI object for some reason.
117 Fixed bug in impl__set_currentValue.
119 2001-12-10 Michael Meeks <michael@ximian.com>
121 * cspi/spi_text.c: audit for exception handling,
122 tolerating NULL object references safely etc.
124 * cspi/spi_value.c: ditto.
126 * cspi/spi_table.c (AccessibleTable_getSummary),
127 (AccessibleTable_getAccessibleAt),
128 (AccessibleTable_getRowHeader),
129 (AccessibleTable_getColumnHeader),
130 (AccessibleTable_getCaption): fix bugs hidden by
132 (long_seq_to_array): impl.
133 (AccessibleTable_getSelectedRows),
134 (AccessibleTable_getSelectedColumns): use it.
136 2001-12-10 Bill Haneman <bill.haneman@sun.com>
139 Added a TODO list (rough and short for now).
141 * cspi/spi_hyperlink.c:
142 * cspi/spi_hypertext.c:
143 Fixed macro name typos, and remove use of obsolete macro in
144 AccessibleHyperlink_getLink.
147 * cspi/spi_accessible.c:
148 * cspi/spi_application.c:
149 * cspi/spi_component.c:
150 * cspi/spi_selection.c:
153 Documentation fixes (removed return values from ref/unref methods).
155 2001-12-10 Michael Meeks <michael@ximian.com>
157 * cspi/spi_action.c: audit for exception handling,
158 tolerating NULL object references safely etc.
160 * cspi/spi_accessible.c: ditto.
162 * cspi/spi_component.c: ditto.
164 * cspi/spi_editabletext.c: ditto.
166 * cspi/spi_hyperlink.c: ditto.
168 * cspi/spi_hypertext.c: ditto.
170 * cspi/spi_image.c: ditto.
172 * cspi/spi_selection.c: ditto.
174 2001-12-10 Michael Meeks <michael@ximian.com>
176 * configure.in: use cspi/libspi.pc.in instead.
178 * Makefile.am (pkgconfig_DATA): upd. to match.
180 * test/simple-at.c (report_focus_event): kill hacks around
181 bad return values, use putenv not setenv
183 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
184 fire ChildGone - I killed it.
187 (impl_accessibility_component_get_extents): remove
190 * idl/Accessible.idl: kill ChildGone exception.
192 * cspi/*.[ch]: kill int return from ref / unref.
194 * cspi/spi_main.c (cspi_object_add_check): fold into
195 (cspi_object_add): here.
197 * cspi/spi_component.c (AccessibleComponent_getExtents):
198 handle exceptions elegantly.
200 * cspi/spi-private.h (cspi_check_ev_return),
201 (cspi_return_if_fail): impl.
203 * cspi/spi_accessible.c: use extensively.
204 (AccessibleStateSet_equals): add direct compare check.
206 * cspi/spi_selection.c: tolerate NULL objs, and check
207 exceptions before return.
209 * cspi/spi-util.c (cspi_warn_ev): rename to
210 (cspi_check_ev): this & don't pass ev in; no point.
212 2001-12-10 Michael Meeks <michael@ximian.com>
214 * test/test-simple.c: use putenv not setenv
215 (get_environment_vars): more chatty if you're not using
218 * test/simple-at.c: do the setenv so more people see the
221 2001-12-10 Bill Haneman <bill.haneman@sun.com>
224 Changed check of CORBA_environment on notification to be a warning
225 instead of an error for the moment, since we can recover from this
226 error when caused by a queued notification from a dead app.
229 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
230 used by all current implementors of AtkValue), and coerce to
231 CORBA_float. (Proper general case fix may require change to Value.idl).
233 2001-12-09 Bill Haneman <bill.haneman@sun.com>
237 * cspi/spi_accessible.c:
238 Documentation fixes: added user_data params to documentation for
239 listeners and callbacks.
241 * cspi/spi_accessible.c:
242 Changed AccessibleStateSet_compare to return a
243 StateSet rather than return the difference set into a third parameter.
246 2001-12-09 Bill Haneman <bill.haneman@sun.com>
249 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
250 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
254 Remove subdirectory po from SUBDIRS for now.
256 * at-bridge/bridge.c:
257 Beefed up a couple of debug printouts.
258 One-line fix for signal notification name formatting.
260 * libspi/accessible.c:
261 Added assertion to spi_accessible_new ().
263 * libspi/application.c:
264 Put #ifdef qualifiers around a printf.
267 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
269 * registryd/Makefile.am:
271 Replaces use of XML_I18N_MERGE_SERVER_RULE with
272 INTLTOOL_SERVER_RULE macro.
275 Added an event listener for several ATK signals, for
276 testing and debugging. Removed a few g_warnings.
277 Added test output if focussed item implements the Value interface.
279 * test/test-simple.c:
280 Added test_value () function (known not to pass at the moment, so
281 not actually called yet.
283 2001-12-08 Michael Meeks <michael@ximian.com>
285 * at-bridge/bridge.c (bridge_focus_tracker),
286 (emit_eventv): fix the same ref. leak.
287 (register_atk_event_listeners): don't leak.
289 * cspi/spi-listener-impl.c (cspi_event): more
290 protection from client code.
292 * test/test-simple.c (test_desktop): unref the app.
294 * test/Makefile.am: upd. TESTS.
296 * at-bridge/bridge.c (bridge_exit_func): release the registry.
298 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
300 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
302 * cspi/spi_registry.c: constify in strings.
303 (deregisterGlobalEventListenerAll): don't release the ref.
305 * cspi/spi.h: start removing redundant / conflicting
306 gtkdoc comments, making the API readable at a glance :-)
308 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
310 * test/keysynth-demo.c (keysynth_exit, main): upd.
312 * test/simple-at.c (main, simple_at_exit): upd.
314 * test/test-simple.c (unutterable_horror): kill.
315 (utterable_normal_derefs): kill.
316 (main): upd & do a setenv before gtk_init, so that we
317 can use memprof - and to save the pain of remembering
318 this, if we're running under memprof - don't exit.
320 * cspi/spi_main.c (SPI_exit): return exit status
322 (SPI_event_quit): impl.
323 (SPI_event_main): simplify.
324 (cspi_is_gnome_app): kill.
325 (SPI_init): kill isGNOMEapp arg.
327 * at-bridge/bridge.c (register_atk_event_listeners):
328 re-instate the unref.
329 (bridge_exit_func): don't re-activate the registry,
330 protect vs. theoretical re-entry, use the
331 AT_BRIDGE_SHUTDOWN env. var to determine whether to
332 assert a clean shutdown - for regression tests.
334 2001-12-08 Abel Cheung <maddog@linux.org.hk>
336 * configure.in: Comment out dummy i18n support for now,
337 otherwise it fails to build.
338 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
339 EXTRA_DIST. They are missing in tarball.
341 2001-12-07 Michael Meeks <michael@ximian.com>
343 * util/magnifier.c: kill bonobo activation reg. race.
346 (impl_accessibility_component_get_extents): make it match
349 * libspi/registry.c (_registry_notify_listeners):
350 re-remove X headers & reconcile conflicts.
351 (spi_listener_struct_free): bad conflict resolve.
352 (impl_accessibility_registry_register_application):
353 more bad merging fixed.
354 (impl_accessibility_registry_deregister_application): ditto.
355 (spi_registry_new): ditto.
356 (spi_registry_init): don't have an applications field.
358 [ merge fixups2 branch to here ]
359 2001-12-07 Michael Meeks <michael@ximian.com>
361 * test/simple-at.c (report_focus_event),
362 (report_focussed_accessible): remove g_warning debug.
364 2001-12-07 Michael Meeks <michael@ximian.com>
366 * test/test-simple.c (validate_tree): comment out some checks.
367 (test_desktop): app now not registered idly - horay.
369 2001-12-07 Michael Meeks <michael@ximian.com>
371 * cspi/spi_registry.c
372 (registerAccessibleKeystrokeListener): clean, stop it leaking
373 great swathes of memory, and device event controller references.
374 ensure we always pass valid sequences.
375 (deregisterAccessibleKeystrokeListener): ditto.
376 (generateKeyEvent): upd.
378 * at-bridge/bridge.c (bridge_key_listener): handle
379 registry dead exception gracefully.
380 (bridge_focus_tracker, emit_eventv): free ev.
382 * test/simple-at.c (report_focus_event): fix polarity.
384 * libspi/application.c (notify_listeners): kill the ev
385 argument, and make sure we init the ev we use.
386 (spi_application_object_event_listener): split out a chunk
387 (get_atk_object_ref): here & fixup.
388 (reverse_lookup_name_for_toolkit_event): make const.
389 (spi_application_toolkit_event_listener): fixup, kill leaks
392 * at-bridge/bridge.c (register_atk_event_listeners):
393 don't unref the noop object - causes grief.
395 * libspi/registry.c: remove the X headers.
396 turn off the debug churn.
398 * libspi/accessible.c (spi_accessible_new_return): only
399 release the ref if we are supposed to [doh]
401 * test/simple-at.c (report_button_press, report_focus_event):
402 guard vs. unexpected exit.
404 * at-bridge/bridge.c (gtk_module_init): prune printf.
405 (bridge_exit_func): fix app unref.
407 * libspi/Makefile.am: don't install registry or desktop.h
409 * libspi/*.h: update includes.
411 * libspi/application.h: don't include ourself, or
412 other redundant headers.
414 2001-12-06 Michael Meeks <michael@ximian.com>
416 * libspi/accessible.c
417 (get_accessible_from_servant): impl.
418 Upd. all CORBA impl.s to use it killing cut and paste.
420 * cspi/spi_main.c (cspi_cleanup): guard vs. double
422 (SPI_init): register atexit cleanup handler here.
424 2001-12-06 Michael Meeks <michael@ximian.com>
426 * at-bridge/bridge.c (gtk_module_init): g_error on
429 2001-12-06 Michael Meeks <michael@ximian.com>
431 * at-bridge/bridge.c (gtk_module_init): some sort of
432 confusing merge clash - reverted.
433 (bridge_idle_init): ditto.
435 * test/test-simple.c (main, utterable_normal_derefs):
436 merge from Bill - somehow not committed.
438 2001-12-06 Michael Meeks <michael@ximian.com>
440 * libspi/value.c (spi_value_class_init): upd.
441 (spi_value_finalize): kill.
443 * libspi/table.c (spi_table_finalize): kill.
444 (spi_table_interface_new): upd.
445 (spi_table_class_init): upd.
446 (get_table_from_servant): impl.
447 Upd. all CORBA impl.s to use it killing yet more cut and paste.
449 * libspi/selection.c (spi_selection_finalize): kill.
450 (spi_selection_interface_new): upd.
451 (spi_selection_class_init): upd.
452 (get_selection_from_servant): impl.
453 Upd. all CORBA impl.s to use it killing yet more cut and paste.
455 * libspi/relation.c (spi_relation_finalize): kill.
456 (spi_relation_class_init, spi_relation_new): upd
458 * libspi/image.c (spi_image_finalize): kill.
459 (spi_image_class_init): upd.
460 (spi_image_interface_new): upd.
461 (get_image_from_servant): impl.
462 Upd. all CORBA impl.s to use it killing yet more cut and paste.
464 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
465 (spi_hyperlink_finalize): kill.
466 (spi_hyperlink_new): upd.
467 (get_hyperlink_from_servant): impl.
468 Upd. all CORBA impl.s to use it killing yet more cut and paste.
470 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
471 (spi_hypertext_finalize): kill.
472 (spi_hypertext_class_init): upd.
473 (get_hypertext_from_servant): impl.
474 Upd. all CORBA impl.s to use it killing yet more cut and paste.
476 * libspi/editabletext.c (spi_editable_text_finalize): kill.
477 (spi_editable_text_interface_new): upd.
478 (get_editable_text_from_servant): impl.
479 Upd. all CORBA impl.s to use it killing yet more cut and paste.
481 * libspi/text.c (get_text_from_servant): impl.
482 All impls - update to use it killing more cut and paste,
483 also fix bad string returns on duff args ( a somewhat
484 impossible case to handle - but hey ).
485 (spi_text_construct): impl.
486 (spi_text_interface_new): upd.
487 (spi_text_object_finalize): kill.
490 (accessibility_component_object_finalize): kill.
491 (spi_component_class_init): upd.
492 (get_component_from_servant): impl. helper to kill cut & paste.
493 (impl_accessibility_component_contains):
494 (impl_accessibility_component_get_accessible_at_point):
495 (impl_accessibility_component_get_position):
496 (impl_accessibility_component_get_extents):
497 (impl_accessibility_component_get_mdi_z_order):
498 (impl_accessibility_component_get_layer):
499 (spi_component_interface_new): upd.
501 * libspi/action.c (spi_action_finalize): kill.
502 (spi_action_class_init): upd. inherit from SpiObject.
503 (spi_action_interface_new): upd.
504 (get_action_from_servant): impl. helper to reduce cut & paste.
505 (impl_getKeyBinding, impl_getName, impl_doAction),
506 (impl_getDescription): Use it everywhere.
508 * cspi/spi_main.c (get_live_refs): a pointer hash.
509 (spi_object_hash, spi_object_equal): comment out.
510 There are issues with CORBA object hashing that need
513 * libspi/application.c (spi_application_init),
514 (spi_application_new): upd.
516 * libspi/accessible.c (spi_accessible_object_finalize): kill.
517 (spi_accessible_class_init): upd.
518 s/accessible/object/ in epv methods.
520 2001-12-05 Bill Haneman <bill.haneman@sun.com>
522 * at-bridge/bridge.c:
523 Reorder the bridge initialization into the bridge gtk_module_init,
524 an immediate call to bridge_register_app, and an idle_add for
525 register_atk_event_listeners (the only code that *must* wait until
526 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
527 the activation, creates the application's Accessible object, and
528 queues the bridge_idle_init function. Restored call to
529 Accessibility_Registry_deregisterApplication().
530 Prior to making this call we obtain a new reference to the
531 registry, which is a temporary hack that helps us handle apps that
532 shut down the bonobo mainloop before we get there.
535 Fix string leakage in debug block, and don't segv if a an app
536 dies before its event notifications have been propagated.
539 Modify cspi_check_ev() to call g_warning() rather than g_error(),
540 as stopgap measure until we get proper exception handling when
541 objects die during or before interrogation.
545 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
546 Also changed default value of is_gnome_app to TRUE.
549 * test/keysynth-demo.c:
550 Changed use of SPI_init and SPI_event_main to reflect API change above.
553 Made report_focus_event check the warning value from getName
554 before reporting on focussed accessible; simplifies handling of
555 notifications from dead objects.
557 * test/test-simple.c: (Changes not in this patch since source is
560 2001-12-05 Michael Meeks <michael@ximian.com>
562 * registryd/registryd.c (main): protect against
563 bonobo-activation startup race condition.
565 * cspi/spi_main.c (cspi_object_add_check): cope
566 with the exception elegantly.
568 * idl/Accessible.idl: decl. ChildGone
570 * libspi/desktop.c (spi_desktop_dispose): impl.
571 (spi_desktop_class_init): upd.
572 (spi_desktop_add_application),
573 (spi_desktop_remove_application),
574 (abnormal_application_termination): impl.
575 (impl_desktop_get_child_at_index): re-impl.
578 (impl_accessibility_registry_deregister_application),
579 (impl_accessibility_registry_register_application):
580 kill excessive debug clutter.
582 * test/test-simple.c (test_misc): test some NULL
583 tolerance. (main): upd.
585 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
586 implements no interfaces - so let's not crash.
588 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
590 * libspi/accessible.c (spi_accessible_new_return): impl.
591 helper to calm the cut and paste, to cope with
592 NULL AtkObjects effectively and efficiently, and to kill
593 the referencing bugs.
595 * libspi/table.c (impl_getAccessibleAt),
596 (impl_getRowHeader, impl_getColumnHeader): upd.
598 * libspi/hyperlink.c (impl_getObject): upd.
600 * libspi/accessible.c
601 (impl_accessibility_accessible_get_child_at_index): upd.
604 (impl_accessibility_component_get_accessible_at_point): upd.
606 * test/test-simple.c (test_editable_text, test_text): impl.
609 * cspi/spi_editabletext.c
610 (AccessibleEditableText_insertText): constify.
612 * test/test-simple.c (focus_me): make more robust.
614 * libspi/accessible.c: remove some printfs in methods that
615 we test and work fine, so we can get a clean tree dump.
617 * test/test-simple.c (validate_accessible),
618 (validate_tree): make tree dumping pretty too.
620 * at-bridge/bridge.c (bridge_signal_listener): upd. so
621 it builds without debug on.
623 * test/test-simple.c (validate_accessible): fix the most
626 * cspi/spi_main.c (spi_object_release): leave the nicely
627 blanked memory around if in debug mode.
629 * cspi/spi-listener-impl.c (cspi_event): use add_check.
631 [committed to fixups2]
632 2001-12-05 Michael Meeks <michael@ximian.com>
634 * libspi/editabletext.c
635 (spi_editable_text_class_init): g_type_class_peek_parent,
636 not interface peek - so we finalize cleanly.
638 * libspi/accessible.c (spi_accessible_new): kill debug.
640 * test/test-simple.c (validate_accessible): fix ref.
641 leak, print strings before freeing them; sigh, comment a
642 chunk out due to strangeness.
643 (validate_tree): unref the child after use.
645 * cspi/spi_component.c (AccessibleComponent_getLayer):
646 add missing break statement, switch on zlayer not the
647 uninitialized retval.
649 * cspi/spi_main.c (cspi_object_add): add assert, local ref
650 before (possibly re-entering) remote unref.
652 * test/simple-at.c (main): unref the desktop.
654 * cspi/spi_accessible.c (cspi_accessible_is_a): move
657 * cspi/spi_main.c (cspi_accessible_is_a): here to
658 isolate bonobo API usage more.
660 * libspi/registry.c (impl_accessibility_registry_register_application):
663 2001-12-04 Michael Meeks <michael@ximian.com>
665 * test/test-simple.c (validate_tree): upd.
666 IndexInParent check to make it more lucid.
667 (validate_accessible): dump the tree.
669 * libspi/accessible.c (de_register_public_ref),
670 (get_public_refs): impl.
671 (spi_accessible_new): make more efficient & intuitive.
672 Now IndexInParent check works.
674 2001-12-04 Michael Meeks <michael@ximian.com>
676 * cspi/spi-util.h: remove.
678 * cspi/spi.h: move SPI_freeString here
680 * libspi/component.c (impl_accessibility_component_get_layer):
682 (impl_accessibility_component_get_mdi_z_order): ditto,
683 return -1 on error - is this ok ?
685 * test/test-simple.c (test_application): impl.
687 * cspi/spi_accessible.c (Accessible_getApplication),
688 (Accessible_isApplication): impl.
690 * libspi/registry.c (spi_listener_struct_free): release
691 the CORBA reference too.
693 * libspi/accessible.c
694 (impl_accessibility_accessible_get_parent): fix ref leak.
696 * libspi/registry.c (spi_registry_new): make the registry
697 immortal - we don't want it to go away ever.
699 * libspi/application.c
700 (spi_accessible_application_finalize): impl. cleanup.
702 * cspi/spi_registry.c
703 (deregisterGlobalEventListenerAll),
704 (deregisterGlobalEventListener),
705 (deregisterAccessibleKeystrokeListener): fix ref leak.
707 * cspi/spi_main.c (SPI_init): remove redundant ref.
709 * test/test-simple.c (unutterable_horror): impl. to force a
714 (impl_accessibility_registry_deregister_application): release
715 the application when we de-register it.
717 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
718 until we have the infastructure to get it right.
720 2001-12-03 Michael Meeks <michael@ximian.com>
722 * libspi/Makefile.am: only build eventlistener.[ch]
724 * libspi/accessible.c
725 (impl_accessibility_accessible_get_child_at_index): don't leak.
727 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
728 before we hit the idle handler.
730 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
733 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
735 * libspi/listener.c (impl_notify_event): check source
736 not NIL before unref.
738 * libspi/registry.c (impl_registry_notify_event): ditto.
740 * libspi/eventlistener.c
741 (impl_accessible_event_notify_event): unref the source.
743 * libspi/accessibleeventlistener.c
744 (impl_accessible_event_notify_event): unref the source.
746 * idl/Event.idl: remove 'hash_id' attribute - of no
749 * libspi/application.c (notify_listeners): upd list
751 (spi_application_object_event_listener),
752 (spi_application_toolkit_event_listener): upd to do correct
756 (_registry_notify_listeners): update.
757 (parse_event_type): this method also leaks like a sieve.
758 (impl_accessibility_registry_deregister_global_event_listener):
759 fix ETYPE_WINDOW case.
761 * libspi/application.c
762 (impl_accessibility_application_register_object_event_listener):
765 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
767 * libspi/hypertext.c (impl_getLink): ditto.
769 * cspi/spi_main.c (cspi_object_add): remove
770 bogus CORBA_Object_duplicate.
772 * cspi/spi-listener-impl.c (cspi_event): dup/ref
775 * cspi/spi_accessible.c
776 (Accessible_getRelationSet): fix leak / referencing issue.
778 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
779 (cspi_object_add, cspi_object_unref): upd.
780 (spi_object_release, get_live_refs): impl.
781 (cspi_cleanup): simplify.
783 * *.[ch]: s/boolean/SpiBoolean/
785 * cspi/spi_accessible.c (role_names): actualy order so it
786 corresponds with the enum !
788 * test/test-simple.c (test_roles): check some role strings
789 vs. enums to detect offset errors.
791 2001-12-01 Michael Meeks <michael@ximian.com>
793 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
795 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
797 (Accessible_getChildAtIndex): use cspi_add_check so we
798 check the ev before using a (possibly) invalid value.
800 * libspi/accessible.c
801 (impl_accessibility_accessible_get_parent): don't segv
804 * at-bridge/bridge.c (gtk_module_init): upd.
805 (bridge_property_event_listener): don't leak strings
807 (bridge_state_event_listener),
808 (bridge_property_event_listener): don't use a static
809 buffer in case of recursive event emission &
810 re-enterancy - split out the swathe of cut and paste
812 (emit_eventv): and fix 2 ref leaks here & comply to the
814 (bridge_register_app): rename to
815 (bridge_idle_init): this and kill arg parsing, split
816 various inits & bonobo-activation registration to module
817 init time, kill referencing error.
818 (bridge_exit_func): fix the same leak.
819 (bridge_focus_tracker): don't leak event structures
821 (bridge_signal_listener): more leakage and cut & paste
823 (bridge_key_listener): return the result - FIXME is
824 this polarity correct ?
825 (accessibility_keystroke_from_atk_key_event): rename
826 (accessibility_init_keystroke_from_atk_key_event): and stop
828 (gtk_module_init): return a value - not that it is checked by
830 (bridge_key_listener): register my horror at casting between
832 (bridge_get_registry): kill - not used.
834 * cspi/spi_accessible.c (Accessible_getRole): make return const.
836 * test/test-simple.c (test_roles): impl.
837 (test_desktop, validate_accessible, validate_tree): impl.
839 * cspi/spi_accessible.c (role_names): fixup bogus
840 MAX_ROLES setup, make constants const for efficient linkage
841 (AccessibleRole_getName): conform to coding style, make
844 2001-11-30 Michael Meeks <michael@ximian.com>
846 * cspi/spi.h: add missing prototype.
848 * libspi/registry.c (spi_listener_struct_new): fix sig.
850 * test/Makefile.am: add test-simple
852 * test/test-simple.c: add
856 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
858 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
859 do it straight - since otherwise we often get an activation race.
861 [ work before Bill duplicated a chunk of it ... ]
862 2001-11-30 Michael Meeks <michael@ximian.com>
864 * libspi/keystrokelistener.c
865 (spi_keystroke_listener_class_init): fixup arg
868 * libspi/eventlistener.c
869 (spi_event_listener_class_init): ditto.
871 * tests/test.sh: add.
873 * cspi/spi-listener-impl.h: update macros.
875 * cspi/spi-listener-impl.c
876 (cspi_event_listener_remove_callback): add
877 correct pre-conditions.
879 * cspi/spi_main.c (SPI_exit): guard vs. double
880 exits, exit the mainloop nicely.
881 (SPI_event_main): make more sense.
882 (SPI_init): move the atexit evilness here so we
884 (SPI_event_main): upd.
886 * test/simple-at.c: update for listener changes.
888 * registryd/registryd.c (main): prune kruft.
890 * libspi/libspi.h: upd.
892 * libspi/eventlistener.[ch]: rename broken macros.
894 * libspi/accessibleeventlistener.[ch]: remove.
896 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
898 * test/test-simple.c: Add - automated tests.
900 * cspi/spi-listener-impl.c (cspi_event),
901 (cspi_key_event): add user_data to invoke.
902 (cspi_keystroke_listener_finalize): impl.
903 (cspi_keystroke_listener_class_init): upd.
906 (createAccessibleEventListener),
907 (AccessibleEventListener_addCallback),
908 (createAccessibleKeystrokeListener),
909 (AccessibleKeystrokeListener_addCallback): upd.
911 * libspi/deviceeventcontroller.c
912 (spi_device_event_controller_check_key_event): add public proto.
915 (impl_accessibility_registry_deregister_global_event_listener):
916 always init listeners.
917 (_registry_notify_listeners): yes it is.
919 * cspi/spi-listener-impl.c (cspi_key_event):
921 (cspi_event_listener_finalize): impl.
922 (cspi_event_listener_class_init): hook up.
923 (event_handler_new, event_handler_free),
924 (event_list_remove_by_callback): impl.
925 (cspi_event_listener_remove_callback),
926 (cspi_keystroke_listener_remove_callback),
927 (cspi_keystroke_listener_add_callback),
928 (cspi_event_listener_add_callback): upd.
930 * libspi/keystrokelistener.c
931 (keystroke_listener_object_finalize): kill
932 (spi_keystroke_listener_class_init): upd.
933 (spi_keystroke_listener_add_callback),
934 (spi_keystroke_listener_remove_callback): kill,
936 (impl_key_event): prune drasticaly.
938 * libspi/eventlistener.c
939 (spi_event_listener_add_callback),
940 (spi_event_listener_remove_callback): kill, use
942 (impl_accessible_event_notify_event): upd.
943 (spi_event_listener_object_finalize): remove.
945 * libspi/Makefile.am: use eventlistener.[ch]
947 2001-12-04 Bill Haneman <bill.haneman@sun.com>
949 * libspi/registry.c (_registry_notify_listeners):
950 Changed listener loop iteration to use preferred convention.
951 Got rid of string memory leaks caused be calling g_strconcat
952 inside function calls.
954 * libspi/registry.c (parse_event_type):
955 Stopped g_strconcat memory leaks, free the g_strsplit return,
956 g_strdup the split pieces when used, etc.
958 2001-12-04 Bill Haneman <bill.haneman@sun.com>
961 Change method 'compare' to return a 'difference set' rather than
962 taking a StateSet as an out parameter (more Java-friendly).
964 * idl/Accessible.idl:
965 Added CORBA struct 'BoundingBox', to faciliate API changes below:
969 Changed methods 'getExtents' and 'getImageExtents' in these
970 interfaces to return a BoundingBox structure.
971 (getPosition and getSize are redundant and possibly should be
972 removed, rather than creating a corresponding Point struct.)
974 * cspi/spi_component.c:
975 Modify implementation of getExtents to reflect the above IDL
980 Add (missing) AccessibleImage_getExtents () API.
982 * docs/reference/cspi/at-spi-cspi-sections.txt:
983 Added AccessibleImage_getImageExtents () to docs.
985 2001-12-03 Bill Haneman <bill.haneman@sun.com>
988 Added two methods, getLayer () and getMDIZOrder (), to reflect
989 the new ATK methods atk_object_get_layer and
990 atk_object_get_mdi_z_order. (Which arguably should be part of the
991 AtkComponent API and AtkObject). Also added an enum,
992 ComponentLayer, for the first method's return value.
994 * libspi/component.c:
995 Added implementations for these methods.
997 * cspi/spi_component.c:
999 Added cspi binding methods for above,
1000 AccessibleComponent_getLayer() and
1001 AccessibleComponent_getMDIZOrder().
1002 Added cspi enum 'AccessibleComponentLayer'.
1004 * docs/reference/cspi/at-spi-cspi-sections.txt:
1005 Added above methods to docs.
1009 Changed typedef for 'boolean' type (and all references to it) to
1010 SPIBoolean, to avoid keyword clashes with C++.
1013 Changed usages of 'boolean' to SPIBoolean.
1015 * test/keysynth-demo.c:
1016 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1017 app), except where SPIBoolean is required by the callbacks API.
1019 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1021 * cspi/spi_registry.c:
1022 Removed obsolete X event loop for passive keygrabs (which now
1025 * registryd/registryd.c:
1026 Removed unnecessary call to gdk_init() [cruft]. This also allows
1027 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1030 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1032 * docs/reference/cspi:
1033 Included docs for SPI_freeString in generated documentation.
1036 Renamed spi_freeString to SPI_freeString, for consistency. Added
1037 documentation for this function.
1040 Renamed spi_freeString to SPI_freeString, for consistency.
1041 Removed obsolete method declaration string_from_corba_string.
1043 * test/keysynth-demo.c:
1044 Small tweak to comments.
1047 Stopped leaking the strings returned from CSPI.
1049 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1051 Merged Michael's branch (see his ChangeLog entries below).
1053 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1054 bridge is alive, release on exit.
1056 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1057 Fix type check macro.
1060 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1063 Added is_gnome_app static, and method cspi_is_gnome_app(),
1064 so we can call the appropriate shutdown routine at exit in SPI_exit.
1066 * cspi/spi_main.c (cspi_object_ref):
1067 Duplicate the corba object passed in, since we're keeping it around.
1069 * cspi/SPI_exit.c, cspi_cleanup:
1070 Moved the releasing of the live refs to its own function, so we
1071 can put it in g_atexit (). Call the appropriate shutdown API
1072 depending on whethe calling client is a gnome app or not
1073 (bonobo_main_quit or CORBA_ORB_shutdown).
1075 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1076 Unref the listener when this method is called, after
1077 deregistration. Updated the API docs to note this behavior.
1079 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1080 Bugfixes: Ref the bonobo object when returning a parent or child
1081 reference, or an AccessibleRelation. Generally made sure
1082 BonoboObject refcount is incremented whenever we return an
1085 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1086 Fixed typo/bug in signal declaration.
1088 * libspi/accessibleeventlistener.h:
1091 * libspi/application.c (spi_application_new):
1092 Fixed leak in initialization.
1095 Remembered to increment bonobo-object refcount when returning
1096 children (applications) from desktop object.
1097 Added (empty) finalize method.
1099 * libspi/deviceeventcontroller.c:
1100 Hold a ref to listeners inside DEControllerKeyListeners.
1101 Added dec_key_listener_free() method. Use prepend instead of
1102 append in key_listener list. Fixed some refcount madness and
1103 leaks in the listener registration/deregistration - deregistration
1104 now calls dec_key_listener_free() on listeners, and on the
1105 temporarily constructed dec_key_listener() used to perform the search/match.
1107 * libspi/hypertext.c (spi_hypertest_finalize):
1108 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1109 class. Also fixed spi_hypertext_interface_new() and
1110 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1112 * libspi/hypertext.h:
1113 Removed pointless and duplicate AtkObject pointer from
1116 * libspi/keystrokelistener.c:
1117 Fixed incorrect type of keystroke_listener_parent_class,
1118 renamed keystroke_listener_object_finalize to
1119 spi_keystroke_listener_object_finalize.
1120 Fixed typo in signal declaration
1121 (spi_keystroke_listener_class_init).
1123 * libspi/registry.c:
1124 Added funcsions spi_listener_struct_new() and
1125 spi_listener_struct_free() to help with memory management issues.
1126 We also now use these methods instead of gnew + poking stuff into
1127 the struct, and to decrement listener counts/free the listeners
1128 when deregistering them.
1129 Fix more refcount bugs in getDesktop() and
1130 getDeviceEventController().
1133 De-ref the desktop after enumerating the applications. Explicitly
1134 decrement the refcounts on the created listeners on exit (using
1135 _unref for keystroke listeners, and via the
1136 deregisterGlobalEventListenerAll command for other event
1139 2001-11-27 Michael Meeks <michael@ximian.com>
1141 * cspi/spi-listener.h: fixup enum.
1143 2001-11-27 Michael Meeks <michael@ximian.com>
1145 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1146 (cspi_keystroke_listener_new): Use the cspi variants.
1148 2001-11-26 Michael Meeks <michael@ximian.com>
1150 * test/keysynth-demo.c: fix 2 compile warnings, missing
1153 * test/simple-at.c (report_focussed_accessible),
1154 (report_focus_event, report_button_press),
1155 (check_property_change, is_command_key),
1156 (report_ordinary_key_event, report_command_key_event): upd.
1158 * util/mag_client.h: include pre-requisites.
1160 * libspi/accessibleeventlistener.c
1161 (spi_event_listener_object_finalize): free any lingering
1164 * libspi/keystrokelistener.c
1165 (keystroke_listener_object_finalize): ditto.
1167 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1168 callbacks, with cspi types.
1170 * cspi/spi_event.c (createAccessibleEventListener): chain to
1171 (AccessibleEventListener_addCallback): here.
1172 (createAccessibleKeystrokeListener): chain to
1173 (AccessibleKeystrokeListener_addCallback): here.
1175 * libspi/keystrokelistener.c
1176 (spi_keystroke_listener_class_init): add signal.
1177 (impl_key_event): emit the event.
1178 (boolean_handled_accumulator): impl.
1179 (marshal_BOOLEAN__POINTER): add, gack.
1181 * libspi/accessibleeventlistener.c
1182 (spi_event_listener_class_init): add signal.
1183 (impl_accessible_event_notify_event): emit the signal &
1184 make the loop efficient.
1185 (spi_event_listener_add_callback): prepend the callback.
1187 * libspi/accessibleeventlistener.h: add an 'event' signal,
1188 decl type on callback.
1190 * libspi/keystrokelistener.h: ditto.
1192 * cspi/spi-listener.h: make methods typesafe and
1193 make them use the new event typedefs.
1195 * test/simple-at.c (report_focussed_accessible):
1196 include mag_client.h
1197 Use *(void *)text_interface not the other thing.
1199 * configure.in: add gtk to registryd bits - since we use
1202 * util/magnifier.c: include libbonobo.h
1204 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1206 * test/keysynth-demo.c:
1207 Turned this into a simple scanning keyboard, to demonstrate the
1208 use of g_timeout_add () as a means of creating timers for
1209 scanning, and the use of GtkStyle for visually indicating when
1210 virtual keyboard elements are selected.
1212 keysynth-demo now listens to any keyboard keys with zero-valued
1213 keycodes (i.e. 'unused' keys) and interprets them as
1216 Reworked the shiftlatch code so that shift-down state isn't held
1217 for long periods (it's only synthesized immediately prior to
1218 the keysynth event it's modifying). Note that shiftlatch in this
1219 demo is a convenience, not intended to take the place of AccessX
1220 which is the better choice for getting 'sticky' modifier keys.
1222 * libspi/deviceeventcontroller.c:
1223 * at-bridge/bridge.c:
1224 * cspi/spi_registry.c:
1225 Removed some debug print stuff, and put other verbosity in #ifdef
1230 Implemented some more of the magnifier IDL for the simple
1231 magnifier: namely, getZoomRegionParams.
1232 Added mag_x and mag_y members to MagnifierData struct, aid of this
1234 Added GtkWindow::realize signal handler to magnifier, to keep it
1235 from receiving keyboard focus from the WM.
1237 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1239 * cspi/spi-private.h: my guess at what michael forgot
1240 before he ran off to NZ :-)
1242 2001-11-23 Michael Meeks <michael@ximian.com>
1244 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1245 comment out non existant method invoke so we link.
1247 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1248 use bonobo_exception_get_text for more friendly warnings.
1250 * cspi/spi.c (Obj_Add): move into spi_main & rename
1251 spi_object_add; kill spi.c
1253 * cspi/spi_registry.c
1254 (deregisterGlobalEventListener),
1255 (deregisterGlobalEventListenerAll),
1256 (registerGlobalEventListener): fix exception leaks.
1258 * cspi/spi_main.c (spi_exception): impl. helper, so we
1259 don't leak exceptions.
1261 * cspi/spi_selection.c
1262 (AccessibleSelection_deselectSelectedChild): return the
1265 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1266 (spi_registry): ditto.
1267 (SPI_init): guard against double inits.
1269 * cspi/*.c: use spi_ev (), and spi_registry () where
1270 appropriate - a temporary hack until we have something
1271 better. Use spi_object_add
1273 2001-11-22 Michael Meeks <michael@ximian.com>
1275 * cspi/Makefile.am: re organise, install the headers.
1277 * cspi/*.h: add G_BEGIN/END_DECLS
1279 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1282 Added non-preemptive keylistener for key events with no modifiers
1283 and shift-only modifier.
1285 * libspi/keystrokelistener.c:
1286 Removed some verbose diagnostics printout.
1288 * cspi/spi_registry.c:
1289 Fixed a bug that caused all key listeners to be registered as
1292 * libspi/deviceeventcontroller.c:
1293 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1294 for non-preemptive key masks.
1297 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1299 * docs/reference/idl/at-spi-idl-docs.sgml:
1300 * docs/reference/idl/at-spi-idl-sections.txt:
1301 * docs/reference/idl/at-spi-idl-overrides.txt:
1302 Added missing files.
1304 * docs/reference/Makefile.am:
1305 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1306 to scan the IDL files :-(
1311 Added .cvsignore files.
1313 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1315 * libspi/deviceeventcontroller.c:
1316 * libspi/keystrokelistener.c:
1318 * cspi/spi_registry.c:
1319 Added filters for KeySets, KeyEventSeq, and event types to key
1320 event dispatching, so listeners should only receive those events
1321 that they requested :-)
1323 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1328 * docs/reference:Makefile.am:
1329 * docs/reference/cspi:
1330 * docs/reference/cspi:Makefile.am:
1331 * docs/reference/cspi:tmpl:
1332 * docs/reference/cspi:tmpl:*.sgml:
1333 * docs/reference/idl:
1334 * docs/reference/idl:Makefile.am:
1335 * docs/reference/idl:at-spi-idl-sections.txt:
1336 * docs/reference/idl:at-spi-idl-docs.sgml:
1337 * docs/reference/idl:tmpl:
1338 * docs/reference/idl:tmpl:*.sgml:
1340 Restructured docs directory to allow separate 'reference' docs
1341 section, and forked idl and cspi docs. Added the sgml template
1342 files to CVS. Added the first sections/structural sgml for the
1345 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1347 * configure.in, libspi/Makefile.am: find libXtst.
1349 2001-11-21 Michael Meeks <michael@ximian.com>
1351 * test/accessx-gui.c: s/spi_value/value/ - doh.
1353 * libspi/base.[ch]: add.
1355 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1357 * idl/Accessible.idl:
1358 * idl/Application.idl:
1361 Started gtk-doc cleanup on IDL.
1363 * libspi/deviceeventcontroller.c:
1364 Added and connected non-preemptive key notification from the
1365 toolkits (in addition to the pre-emptive support from XServer
1366 which we had before, but which causes 'focus flashing'). Filters
1367 are presently limited to key modifiers and global/non-global,
1368 KeySets are presently ignored, as are KeyEvent masks.
1370 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1371 structs into the persistant structure rather than just storing
1372 pointers to things that might not persist across servant
1375 The XGrabKey call now does async keygrabs, because synchronous
1376 ones were deadlocking with GDK_event code in a very nasty way.
1378 Added boolean to internal method notify_keylisteners, to indicate
1379 whether the event came from the 'toolkit source' or the 'global
1380 (XServer) source' - this is used in the notification process to
1381 determine which listeners to send the event to.
1383 deviceeventcontroller.c is now warning-free.
1385 * libspi/registry.c:
1386 Fixed regression in application de-registration.
1387 Also fixed some really brain-dead weirdness having to do with
1388 event dispatching - event structs are now duplicated before being
1389 re-marshalled in the dispatch to listeners. This also fixes a
1390 Solaris build problem.
1393 2001-20-11 Michael Meeks <michael@ximian.com>
1396 (impl_accessibility_registry_deregister_global_event_listener):
1399 * libspi/deviceeventcontroller.c
1400 (spi_device_event_controller_check_key_event): return
1401 FALSE on no virtual method.
1403 * libspi/*..h: make includes work on a correctly pathed install.
1405 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1407 * libspi/application.h: kill unused ( and whacked out )
1408 gboolean *spi_application_set_id (AtkObject *app, long id);
1410 2001-20-11 Michael Meeks <michael@ximian.com>
1412 * libspi/*.[ch]: further convert to bonobo's type func
1413 macros, remove redundnant casts etc.
1415 * libspi/text.c s/accessibility_text/spi_text/g,
1416 re-order to de-cruft.
1418 * libspi/hypertext.c: re-order to kill a huge slew
1419 of redundant forward decls.
1421 * libspi/relation.c: ditto.
1423 * libspi/image.c: ditto.
1425 * */.cvsignore: update
1427 2001-20-11 Michael Meeks <michael@ximian.com>
1429 * libspi/deviceeventcontroller.c
1430 (_controller_register_with_devices): use g_getenv,
1431 kill stdlib.h include.
1433 * libspi/keystrokelistener.c
1434 (spi_keystroke_listener_get_type): kill
1435 (spi_keystroke_listener_class_init),
1436 (spi_keystroke_listener_init): rename to this.
1438 * libspi/text.c (impl_getAttributes): fix warning / bug.
1440 * libspi/*.[ch]: more headers, includes and over commenting.
1442 2001-20-11 Michael Meeks <michael@ximian.com>
1444 * libspi/*.[ch]: fixup headers, includes and over commenting.
1446 * libspi/image.c (impl__get_imageDescription): const
1447 correctness warning fix. remove redundant casting.
1449 * libspi/table.c (impl_getRowDescription): ditto.
1450 (impl_getColumnDescription): ditto.
1452 * libspi/libspi.h: add.
1454 2001-19-11 Michael Meeks <michael@ximian.com>
1456 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1458 * libspi/component.c (accessibility_component_get_type):
1459 rename to (spi_component_get_type): and macroify.
1460 (accessibility_component_init): rename to
1461 (spi_component_init): this
1462 (accessibility_component_class_init): rename to
1463 (spi_component_class_init): this
1465 * libspi/action.c (spi_action_get_type): kill, use the macro.
1467 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1470 * libspi/application.c (spi_application_object_event_listener),
1471 (impl_accessibility_application_register_object_event_listener):
1472 warning fixes / const understanding updates.
1474 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1477 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1479 * libspi/spi_accessible.c: Added docs and C bindings for
1480 AccessibleStateSet. (No implementations yet). Documentation
1481 coverage for C bindings now 100%. Made docs for event listeners
1486 boolean notifyListenersSync (in DeviceEventListener listener,
1487 in DeviceEvent event);
1489 oneway void notifyListenersAsync (in DeviceEventListener listener,
1490 in DeviceEvent event);
1492 Added DeviceEventListener and DeviceEvent structs (may deprecate
1493 KeyStroke and KeystrokeListener in favor of this generic
1494 event/listener framework for devices).
1496 * libspi/deviceeventcontroller.c:
1498 Changed some key listener code to take masks, etc., and paved the
1499 way for integration of toolkit/non-preemptive key events. Changed
1500 signatures of some internal methods.
1502 * at-bridge/bridge.c:
1503 Fixed regression connecting to interface signals, apparently
1504 caused by GTK+ changes.
1506 Added an internal bridge_state_listener to deal with
1507 property-change:accessible-state signals.
1509 Changed the key_listeners GList to store structs (including masks,
1510 etc.) instead of just CORBA_Objects (required for full
1511 implementation of key listener API).
1513 Connected the bridge to all currently supported Atk signals.
1514 Events now supported:
1515 object:property-change
1516 object:property-change:accessible-name
1517 object:property-change:accessible-state
1518 object:property-change:accessible-description
1519 object:property-change:accessible-parent
1520 object:property-change:accessible-value
1521 object:property-change:accessible-role
1522 object:property-change:accessible-table-caption
1523 object:property-change:accessible-table-column-description
1524 object:property-change:accessible-table-column-header
1525 object:property-change:accessible-table-row-description
1526 object:property-change:accessible-table-row-header
1527 object:property-change:accessible-table-summary
1528 object:children-changed
1529 object:visible-data-changed
1530 object:selection-changed
1531 object:text-selection-changed
1533 object:text-caret-moved
1535 object:row-reordered
1537 object:column-inserted
1538 object:column-reordered
1539 object:column-deleted
1540 object:model-changed
1542 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1544 * libspi/hyperlink.c,h:
1545 Fixed some broken stuff in hyperlink.
1547 * libspi/relation.h:
1548 * libspi/relation.c:
1549 * cspi/spi_accessible.c:
1550 Initial implementations of AccessibleRelation methods, and docs.
1552 * libspi/accessible.c:
1553 Fixed a bug that caused SEGV if an accessible
1554 object's description is NULL, and a client
1555 requests it. An empty string is now returned.
1557 * cspi/spi_editabletext.c:
1558 * cspi/spi_hypertext.c:
1560 * cspi/spi_hyperlink.c:
1564 Doc coverage now 95%.
1566 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1568 One last namespacing revision:
1569 * libspi/accessibleeventlistener.[ch]:
1570 Renamed SpiAccessibleEventListener to SpiEventListener,
1571 (no need for two namespaces ;-)
1573 And lots of documentation fixes:
1575 * docs/at-spi-docs.sgml:
1576 Fixed 'underscore vs. hyphen' bug that was preventing
1577 the gtk-doc API docs from being automatically generated.
1580 * cspi/spi-listener.h
1582 * cspi/spi_accessible.c
1584 * cspi/spi_application.c
1585 * cspi/spi_component.c
1586 * cspi/spi_editabletext.c
1588 * cspi/spi_hypertext.c
1590 * cspi/spi_registry.c
1591 * cspi/spi_selection.c
1595 * docs/at-spi-docs.sgml
1596 * docs/at-spi-sections.txt
1598 Added and fixed up gtk-doc documentation in cspi.
1600 Interfaces now (fully) documented (subject to revision and enhancement):
1602 Event Listener Support
1604 AccessibleApplication
1608 AccessibleEditableText
1615 AccessibleRelationSet
1620 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1622 * at-bridge/bridge.c:
1623 Initial work for toolkit-level key snooper connection by bridge.
1628 New typedefs and fixes to support new namespacing, and cleaner
1629 separation of cspi bindings from libspi bonobo implementation.
1630 Removed inconsistent and extraneous Spi* namespace prefix that
1631 had crept into cspi headers.
1632 Lots of comment fixes that sed had missed.
1634 * cspi/spi-roletypes.h:
1635 * cspi/spi-statetypes.h:
1636 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1637 to AccessibleRoleType.
1639 * libspi/accessibleeventlistener.h:
1640 Fixed minor namespacing weirdness.
1642 * libspi/deviceeventcontroller.c:
1643 Reordered some internal API for device listeners.
1644 Changed the key registry final boolean to 'is_system_global'
1645 rather than 'is_synchronous', which is more descriptive of its
1647 Added spi_device_event_controller_new().
1648 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1650 * libspi/keystrokelistener.[ch]:
1651 Namespaced KeystrokeListener to SpiKeystrokeListener.
1652 Changed uses of keymasks to use SPI_ prefix, and did other
1655 * libspi/keymasks.h:
1656 Namespaced keymask constants with SPI_ prefix.
1658 * libspi/registry.c:
1659 Some warning fixes, and knock-on fixes from namespace changes.
1662 Added rules for accessx-gui test program.
1664 * test/accessx-gui.c:
1665 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1666 utility. It doesn't actually use at-spi, but it's still cool and
1669 * test/keysynth-demo.c:
1673 Fixes so that these test clients work properly with the namespaced
1674 libraries. (Incompletely tested for technical reasons, fixes may follow)
1677 2001-13-11 Michael Meeks <michael@ximian.com>
1679 * libspi/application.c
1680 (impl_accessibility_application_get_version),
1681 (impl_accessibility_application_get_toolkit_name):
1683 (impl_accessibility_application_set_id),
1684 (impl_accessibility_application_get_id): remove
1685 redundant casting code.
1687 * libspi/action.c (impl_getDescription): fix warnings.
1689 * libspi/accessible.c
1690 (impl_accessibility_accessible_get_parent),
1691 (impl_accessibility_accessible_get_child_at_index),
1692 (impl_accessibility_accessible_get_state),
1693 (impl_accessibility_accessible_get_relation_set):
1694 warning fixes & include action.h
1696 2001-13-11 Michael Meeks <michael@ximian.com>
1698 * *.[ch] fix bits I screwed up:
1700 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1701 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1703 2001-13-11 Michael Meeks <michael@ximian.com>
1705 * *.[ch] Namespace libspi into spi_ and Spi.
1707 2001-13-11 Michael Meeks <michael@ximian.com>
1709 * Makefile.am: dist & install at-spi-1.0.pc
1711 * libspi/Makefile.am: install into at-spi-1.0
1713 * idl/Makefile.am (idldir): install into at-spi-1.0
1715 * at-spi-1.0.pc.in: add.
1717 * configure.in: build it.
1719 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1721 * test/keysynth-demo.c:
1722 Use a 'realize' signal-handler to set the WM properties for
1723 the virtual keyboard, rather than making it a "POPUP" type
1724 override-redirect window (thanks to anders carlsson for that
1727 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1730 * test/keysynth-demo.c:
1731 Added new test of key synthesis, which creates a simple
1732 (mouse-operated) onscreen keyboard. It inserts key events into
1733 the currently-focused window, thus it does not grab keyboard focus
1736 * cspi/spi_registry.c:
1737 Added C binding for AT-SPI generateKeyEvent.
1739 * libspi/deviceeventcontroller.c:
1740 Added call to XFilterEvent so that key listener works with XIM (we
1741 hope). Added event_synth_type to generateKeyEvent, so that we can
1742 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1743 synthesize a press/release pair for KeySyms.
1745 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1747 * libspi/Makefile.am:
1748 * registryd/Makefile.am:
1749 (temporary) hack to include libXtst in libspi and registryd.
1750 (Needed for keystroke synthesis, see below).
1753 Improved API for registerKeystrokeListener, in accordance with
1754 discussions with Gnopernicus team and X server research.
1756 * libspi/registry.c:
1757 * libspi/deviceeventcontroller.c:
1758 * libspi/accessible.c:
1759 * libspi/keystrokelistener.c:
1760 Changes and fixes to support keylisteners for potentially
1761 consumed key events (that is, 'passive grabs').
1762 Added implementation for generateKeyEvent() [untested].
1765 Changes to registerKeystrokeListener() API, as above.
1766 Added deregisterGlobalEventListenerAll(), and
1767 deregisterKeystrokeListener(), which are needed for clean exit of
1769 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1770 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1772 * cspi/spi_registry.c:
1773 Added implementations of function prototypes mentioned above.
1775 * registryd/registryd.c:
1776 Added the key listener event source as a g_timeout(), to allow
1777 receipt of key events that are not caught by GDK (since GDK
1778 doesn't support passive keygrabs, this was necessary).
1781 Changed to attach a keylistener to 'Alt' keys, and
1782 respond to the following keycommands: Alt-M (toggle magnifier);
1783 Alt-F (toggle speech); Alt-Q (quit).
1784 Added an exit routine to deregister the listeners, and a key
1785 listener that prints some key info to the console when a key
1786 matches the listener mask (and is thus received by the listener).
1788 * util/idl/Magnifier.idl:
1789 Changes to magnifier API to support multiple zoom regions,
1790 non-uniform scaling in x and y, markDirty, and a host of other
1791 features that would be useful to magnification.
1794 * util/mag_client.c:
1795 * util/mag_client.h:
1796 * util/mag_control.c:
1798 Source code changes to support the above IDL changes.
1801 As above, and also changes to use a (slower) generic conversion
1802 path for colormap conversions, since the fast RGB conversions have been
1803 reported to fail for 16-bit displays.
1805 2001-10-26 Michael Meeks <michael@ximian.com>
1807 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1809 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1811 * at-bridge/Makefile.am: fix LDFLAGS.
1813 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1815 * at-bridge/bridge.c:
1816 Re-worked listeners for toolkit events, now we have signal
1817 and property listeners. Added a private method
1818 register_atk_event_listeners(), which registers with the
1819 various atk and gtk signals we need to monitor in order to emit
1821 Added emission hook for AtkObject:property-change events, to
1822 support the 'property listeners'.
1823 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1826 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1827 which emit warnings and exit, respectively, if CORBA errors occur
1828 during remote calls, and we now use these methods to check most of
1829 our CORBA calls in the C bindings.
1831 * cspi/spi_accessible.c:
1832 Changed AccessibleSelection_refSelectedChild() to
1833 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1834 now increment refcounts.
1836 * cspi/spi_component.c:
1837 Fixed some long pointer casts (dangerous!) to pass pointers to
1838 CORBA_longs of the proper type to the CORBA stubs, and copy the
1839 data into the longs that were passed into the C bindings code.
1841 * at-bridge/bridge.c:
1843 * libspi/accessible.c:
1844 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1845 hyperlinks, AtkHyperlink is an object type.
1847 * libspi/application.c:
1848 Added various conversions to and from "generic" event types and
1849 atk-specific types; this is really part of the 'bridge'
1850 implementation but is valid for all AtkObject-based accessibility
1853 * libspi/editabletext.c:
1854 Fixed nasty bug wherein editable text's finalize method was
1855 unref'ing tha AtkObject reference that the text parent class was
1856 about to unref _again_. There was also a nasty inheritance bug
1857 that meant that the AccessibleEditableText class was corrupt.
1859 * libspi/selection.c:
1860 Provided implementations for some selection API that was broken.
1862 * idl/Application.idl:
1863 Added registerObjectEventListener () method.
1866 Fixed a number of return values that were Bonobo_Unknowns from
1867 bonobo_object_corba_objref(), which I
1868 forgot to dup before returning. Changed instances of
1869 bonobo_object_corba_objref (bonobo_object(o)) to
1870 BONOBO_OBJREF(o), for concision and clarity.
1872 <2001-10-13 Louise Miller <louise.miller@sun.com>
1874 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1875 idl/Event.idl, idl/Registry.idl
1876 Changed these files to include Bonobo_Unknown.idl instead
1879 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1881 * libspi/component.c libspi/component.h:
1882 Fixed typo. Added assertions for object checks in
1883 AccessibleComponent code.
1885 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1887 * idl/Accessible.idl:
1888 Added 'isEqual (Accessible *object)'
1889 method for Accessible. (Not Yet Implemented).
1892 Changed signature of registerKeystrokeListener() to
1893 take a KeySet and KeyEventSeq so that specific keys and event
1894 types could be requested for monitoring, and added a flag
1895 is_synchronous so that either synchronous or asynchronous
1896 notification could be requested. (However this is not all
1897 implemented yet). This also meant adding two new typedefs,
1898 KeyEventSeq and KeySet.
1901 Added two new relations, RELATION_TOOLTIP_FOR and
1902 RELATION_LEAFNODE_OF.
1905 Added new state, STATE_HAS_TOOLTIP.
1907 * libspi/text.c, editabletext.c:
1908 Added new assertions to all casts of bonobo-objects from
1909 CORBA servants, to prevent Text API calls on non-text objects.
1910 Changed suspect casts of int-pointer types, so that we
1911 always send a valid CORBA_long pointer to the CORBA APIs that use
1912 in/out long parameters. We then have to copy from the CORBA_long
1913 into the regular long or int for return to the C bindings, or
1914 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1917 * libspi/deviceeventcontroller.c:
1918 Cleaned these sources up.
1920 Changed return type for getCharacterAtOffset to
1921 CORBA_unsigned_long, to allow for 32-bit characters.
1924 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1928 Fixed 'make dist' so that distro compiles...
1929 * libspi/keymasks.h:
1931 * cspi/spi-listener.c:
1932 KeystrokeListenerCB now returns a boolean.
1934 Added KeyEventType struct, and KeyStroke.
1935 Also added createKeystrokeListener(),
1936 KeystrokeListener_addCallback(),
1937 KeystrokeListener_removeCallback(), and added a keymask to
1938 registerKeystrokeListener().
1939 * cspi/spi_accessible.c:
1940 Changed numerous return types for interfaces from
1941 AccessibleComponent to Accessible<InterfaceName>; this was
1942 probably a cut-and-paste error.
1944 Implementations of new KeystrokeListener api (from spi.h,
1947 Changes to key modifier mapping.
1948 Created ControllerEventMask struct.
1949 Made DeviceEventController derive from Bonobo::Unknown.
1951 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1952 * libspi/deviceeventcontroller.c:
1953 Added a number of new internal (private) methods.
1954 * libspi/editabletext.c:
1955 * libspi/editabletext.h:
1956 Fixed a number of bugs related to the fact that
1957 editabletext inherits from text. Fixed the EditableText struct,
1958 the init() call, and use correct casts when calling Text methods
1959 from an EditableText object. Removed (duplicate) atko from the
1960 EditableText structure, we use the one in the parent Text
1961 structure via the casts mentioned above.
1962 * libspi/keystrokelistener.[ch]:
1963 * libspi/registry.c:
1964 Changes in support of keyboard handling (above).
1966 Keyboard handling, though partly functional, is still not
1967 recommended for at-spi client use as there is considerable
1968 work yet to be done.
1971 Changed some places where pointers to various int types
1972 are cast to be pointers to CORBA_long types and vice-versa:
1973 pointer casting is not safe so we pass pointers of the correct
1974 types and then cast the result before putting it into the target
1977 * libspi/text.h: minor typos corrected.
1979 We now speak not only the name of a Text element, but the
1980 first sentence of its content, when it receives focus.
1981 I also changed the text compression to 75% from 50%.
1982 * util/Accessibility_Util.server.in:
1983 Changed the default magnifier type to be a 3x vertical
1984 splitscreen magnifier (was previously a 2x horizontal one).
1986 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1988 * libspi/keystrokelistener.h:
1989 * libspi/keystrokelistener.c:
1990 Initial functional implementations of KeystrokeListener.
1993 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1995 Fixed string handling for NULL strings in libspi.
1996 Added spi_freeString to free strings returned by C bindings.
1998 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2000 * libspi/keystrokelistener.h:
2001 * libspi/keystrokelistener.c:
2002 Began (no-op) implementations of KeystrokeListener
2004 * libspi/deviceeventcontroller.c:
2005 * libspi/deviceeventcontroller.h:
2006 Began creating implementations of DeviceEventController,
2007 to handle keystroke and mouse event listening and
2009 * libspi/accessible.c:
2010 Stubbed-in the implementations for
2011 Accessibility_Accessible_getState and
2012 Accessibility_Accessible_getRelationSet.
2013 * libspi/registry.c:
2014 Improved de-registration process and fixed some bugs,
2015 deregistration now works correctly.
2017 Added initialization of applications list (to NULL).
2019 Reduced speech compression from 0.5 to 0.7, for demo.
2020 Changed call to gdk_window_set_decorations()
2021 to gtk_window_set_decorated().
2022 * at-bridge/bridge.c:
2023 Bridge now deregisters when app exits, via
2024 registration of a cleanup function
2025 with the g_atexit() call.
2026 Required making 'app' static, renamed 'this_app'.
2027 Fixed broken use of bonobo_init, passing argv wrongly.
2029 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2033 Created a new directory for
2034 accessibility-related utilities, primarily for
2035 testing and demo purposes, but with possible
2042 Onscreen magnifier utility that
2043 is implemented as a bonobo service.
2045 * util/mag_client.c:
2046 * util/mag_client.h:
2047 Client-side support (simple C bindings)
2048 for Magnification service
2050 * util/mag_control.c:
2051 Client program example for
2052 Magnification service
2054 * util/Accessibility_Magnifier.server.in:
2055 Bonobo-activation file for the
2056 Magnification service.
2059 * util/idl/Magnifier.idl:
2060 IDL defining the bonobo Magnification
2064 Modifications to use the bonobo-activated magnifier
2065 above, in place of trying to connect to an existing
2066 magnifier that uses socket-listening IPC.
2068 If env variable MAGNIFIER is set, a magnifier service
2069 will be started if one does not exist.
2071 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2072 * at-bridge/bridge.c:
2073 applied patch from Marc to build and run
2074 against new glib and gtk+ (seemed like a change
2075 to bonobo_init signature was made ?)
2077 made festival-server support turned off by default.
2078 Added support for a simple magnifier (off by default)
2079 which will be added to a 'util' directory later.
2080 * at-bridge/Makefile.am:
2081 Changed "application.h" header from a 'source'
2082 to a 'dependency' of libat-bridge.
2084 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2092 Added interface implementation c files to list of
2093 includes so they are included in libcspi.
2096 Changed prototype of AccessibleAction_doAction to return a
2098 Changed prototype of AccessibleTable_getCaption to
2099 return an Accessible.
2100 Changed prototype of AccessibleTable_getSelectedRows
2101 and AccessibleTable_getSelectedColumns to
2102 return a long (returns the number of selected rows
2103 or columns respectively).
2104 Changed name of AccessibleText_refRunAttributes to
2105 AccessibleText_getAttributes.
2106 Changed prototype of AccessibleText_getCharacterExtents to
2107 return a void rather than a boolean.
2108 Added support for a AccessibleCoordType parameter
2109 specifying what type of coordinates are desired.
2110 Added an AccessibleCordType parameter to
2111 AccessibleText_getPointAtOffset.
2113 * cspi/spi_accessible.c:
2114 Added code to return the outstanding interfaces from
2115 Accessible_queryInterface.
2117 * cspi/spi_action.c:
2119 Corrected call to getNActions to call the c binding
2122 * cspi/spi_editabletext.c:
2124 Changed name from setRunAttributes to setAttributes.
2126 * cspi/spi_hyperlink.c:
2128 Changed call to getNAnchors to correctly call the c
2129 binding for an attribute.
2131 * cspi/spi_hypertext.c:
2133 Changed getImageDescription to correctly call the
2134 binding for an attribute.
2136 * cspi/spi_selection.c:
2137 Changed getNSelectedChildren to correctly call the c
2138 binding for the attribute.
2139 Changed refSelectedChild to getSelectedChild.
2143 Changed getCaption to return an Accessible.
2144 Fixed calls which retrieve attributes.
2145 Changed refAt to getAccessibleAt.
2146 Changed getNSelectedRows and getNSelectedColumns to
2150 Changed getCharacterExtents and getPointAtOffset to accept an
2151 AccessibleCoordType.
2153 Changed calls which retrieve attributes.
2154 Changed refRunAttributes to getAttributes.
2159 * idl/Hyperlink.idl:
2160 Changed n_anchors attribute to nAnchors to keep naming
2161 convention consistent.
2164 Made Table inherit from Bonobo::Unknown.
2165 Added nSelectedColumns and nSelectedRows attributes.
2168 Made Value inherit from Bonobo::Unknown.
2170 * libspi/hyperlink.c:
2171 Change for nAnchors attributte name change.
2173 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2181 Added interface implementation c files to list of
2182 includes so they are included in libcspi.
2185 Changed prototype of AccessibleAction_doAction to return a
2187 Changed prototype of AccessibleTable_getCaption to
2188 return an Accessible.
2189 Changed prototype of AccessibleTable_getSelectedRows
2190 and AccessibleTable_getSelectedColumns to
2191 return a long (returns the number of selected rows
2192 or columns respectively).
2193 Changed name of AccessibleText_refRunAttributes to
2194 AccessibleText_getAttributes.
2195 Changed prototype of AccessibleText_getCharacterExtents to
2196 return a void rather than a boolean.
2197 Added support for a AccessibleCoordType parameter
2198 specifying what type of coordinates are desired.
2199 Added an AccessibleCordType parameter to
2200 AccessibleText_getPointAtOffset.
2202 * cspi/spi_accessible.c:
2203 Added code to return the outstanding interfaces from
2204 Accessible_queryInterface.
2206 * cspi/spi_action.c:
2208 Corrected call to getNActions to call the c binding
2211 * cspi/spi_editabletext.c:
2213 Changed name from setRunAttributes to setAttributes.
2215 * cspi/spi_hyperlink.c:
2217 Changed call to getNAnchors to correctly call the c
2218 binding for an attribute.
2220 * cspi/spi_hypertext.c:
2222 Changed getImageDescription to correctly call the
2223 binding for an attribute.
2225 * cspi/spi_selection.c:
2226 Changed getNSelectedChildren to correctly call the c
2227 binding for the attribute.
2228 Changed refSelectedChild to getSelectedChild.
2232 Changed getCaption to return an Accessible.
2233 Fixed calls which retrieve attributes.
2234 Changed refAt to getAccessibleAt.
2235 Changed getNSelectedRows and getNSelectedColumns to
2239 Changed getCharacterExtents and getPointAtOffset to accept an
2240 AccessibleCoordType.
2242 Changed calls which retrieve attributes.
2243 Changed refRunAttributes to getAttributes.
2248 * idl/Hyperlink.idl:
2249 Changed n_anchors attribute to nAnchors to keep naming
2250 convention consistent.
2253 Made Table inherit from Bonobo::Unknown.
2254 Added nSelectedColumns and nSelectedRows attributes.
2257 Made Value inherit from Bonobo::Unknown.
2259 * libspi/hyperlink.c:
2260 Change for nAnchors attributte name change.
2263 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2265 implementations-- made server implementations own AtkObject pointers
2266 rather than their respective AtkInterrface pointers to fix
2267 refcounting. AtkHyperlink is still broken.
2269 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2270 * cspi/spi_accessible.c:
2271 Added method Accessible_Role_getName(),
2272 and requisite string array (role_names).
2273 Added conversion string_from_corba_strin() call
2274 to Accessible_getName and _getDescription.
2275 * libspi/accessible.c:
2276 Added implementation for Accessible_getRole()
2278 Added festival support, used if environment variable
2281 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2283 * at-bridge/bridge.c:
2284 Now allocate Accessibility_Event using
2285 Accessibility_Event__alloc() instead of g_new0().
2286 * libspi/accessibleeventlistener.c:
2287 Initialize AccessibleEventListener->callbacks to NULL.
2288 Fixed accessible__event_listener_init() param, changed to
2289 "AccessibleEventListener *" type.
2290 Changed a bonobo_object_release_unref() call to
2291 Accessibility_Accessible_unref().
2292 * libspi/listener.c:
2293 Changed Bonobo_Unknown_unref to (equivalent)
2294 Accessibility_Accessible_unref.
2295 * libspi/registry.c:
2296 Changed bonobo_object_release_unref to
2297 Accessibility_Accessible_unref.
2299 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2302 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2303 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2304 spi-util.c spi-util.h
2305 Implementations for C bindings to remaining accessibility
2308 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2311 changed return value of Action from void to boolean to
2312 bring in line with ATK.
2315 Changed getText funcions to return "out" start and end offsets.
2316 Changed getAttributes to take and offset and return the start
2317 and end offset of the attribute run.
2318 Changed getOffsetAtPoint and getCharacterExtents to take an
2319 enum describing whether coordinates are window or screen.
2322 libspi/action.c libspi/action.h libspi/editabletext.c
2323 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2324 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2325 libspi/image.h libspi/selection.c libspi/selection.h
2326 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2327 libspi/value.c libspi/value.h
2328 Added server implementations for outstanding ATK interfaces
2329 not yet implemented.
2331 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2334 Added (missing) getName() method.
2335 Made nActions an attribute.
2336 * idl/EditableText.idl:
2337 Changed order of params in setAttributes.
2338 * idl/Hyperlink.idl:
2339 Removed getAnchor, added getURI.
2341 Changed attributes to methods, for efficiency
2342 (so that getting extents can be done in one call)
2343 * idl/Selection.idl:
2344 Changed nSelectedChildren to attribute, and re-indented.
2345 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2347 * idl/Text.idl: reformatted to match our coding style.
2348 (temporarily?) removed getRowColumnAtOffset().
2349 Changed text selection API to support multi-select and
2350 non-contiguous selections, as in ATK.
2351 * idl/Value.idl: changed some methods to attributes.
2353 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2355 * libspi/listener.c(impl_notify_event):
2356 BonoboUnkown_unref the source instead
2357 of bonobo_object_release_unref - the ORB
2358 handles the releasing.
2360 * configure.in: require ORBit-2.3.94 for
2363 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2365 Tagged CVS repository 'EA_1_0'.
2366 * README.EARLY_ACCESS:
2367 Alphabetized acknowledgements list, and
2369 Listed some known dependencies of at-spi.
2371 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2373 * docs/at-spi-docs.sgml:
2374 * docs/at-spi-sections.txt:
2375 * docs/at-spi-overrides.txt: (Added zero-length file)
2376 Documentation improvements - gtk-doc should build
2377 docs for all implemented C bindings now.
2380 * cspi/spi.c: (New file)
2381 * cspi/spi_event.c: (New file)
2382 * cspi/spi_registry.c: (New file)
2383 * cspi/spi_accessible.c: (New file)
2384 * cspi/spi_application.c: (New file)
2385 * cspi/spi_component.c: (New file)
2386 Split spi_main.c into six parts, and included them from
2387 "spi.c". This is a bit of a hack, probably temporary,
2388 but required by gtk-doc, apparently.
2390 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2393 * docs/at-spi-docs.sgml:
2394 * docs/at-spi-sections.txt:
2396 Initial checkins/modifications for gtk-doc generation.
2399 Added (missing) interface query methods to Accessible's C binding.
2401 Added GenericInterface type definition.
2403 Added query for AccessibleComponent interface to focus event handler.
2404 Added printout of bounding box for focussed component.
2405 * libspi/component.c:
2406 Added partial implementation for AccessibleComponent to C binding.
2407 * idl/Application.idl:
2408 * libspi/registry.c:
2409 * libspi/listener.c:
2410 * libspi/application.c:
2411 * libspi/application.h:
2412 Changed "ID" attribute type from string to long.
2414 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2418 Made method naming consistent: methods taking object args
2419 start with uppercase, other methods (except those using
2420 acronyms) start with lowercase. Underscores delimit between
2421 object names and method names:
2422 SPI_init() - uppercase since it starts with an acronym.
2423 getDesktopCount () - lowercase start since no object param0.
2424 Accessible_getName() - uppercase object type name, studlyCaps method
2428 Added gtk-doc documentation for all currently implemented
2429 methods in the C bindings API.
2431 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2433 * Makefile.am : changed build order to build test last.
2436 Changed "createEventListener" to "CreateEventListener".
2437 * libspi/accessibleeventlistener.c :
2438 Bugfix for addition of callbacks.
2439 * test/Makefile.am :
2440 * test/simple-at.c :
2441 Added new test that uses the C bindings API.
2443 * libspi/listener.c :
2444 * libspi/registry.c :
2445 * libspi/accessibleeventlistener.c :
2446 * at-bridge/bridge.c :
2447 Renamed member "target" of Accessibility_Event to "source",
2448 which is more descriptive.
2451 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2455 * cspi/Makefile.am :
2456 Added makefile support for at-spi/cspi directory.
2459 * cspi/spi-listener.h : (NEW FILE)
2460 Added support for/use of spi-listener.h.
2462 C bindings now build successfully, with no warnings.
2463 * libspi/accessibleeventlistener.h : (NEW FILE)
2464 * libspi/accessibleeventlistener.c : (NEW FILE)
2465 * libspi/Makefile.am :
2466 Added new object type "AccessibleEventListener"
2467 which inherits from Listener, and allows attachment
2468 of in-process callbacks (so that a client with a listening
2469 object instance can add functionality to the local
2470 implementation, dynamically).
2472 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2474 * libspi/accessible.c:
2475 Add implementation for get_index_in_parent().
2477 Added #include of "spi-roletypes.h", and
2478 added enumerated type AccessibleCoordType.
2479 Added definition for KeystrokeListener (function type).
2482 * cspi/spi-statetypes.h :
2483 * cspi/spi-roletypes.h :
2485 Added these headers, used by spi.h.
2487 Added code (NOTE: not yet built by make).
2489 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2491 * libspi/Makefile.am: generate imodule
2492 at the same time as other idl compiler
2495 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2496 * libspi/registry.c :
2497 * libspi/application.c :
2498 * idl/Application.idl :
2499 Made registration with toolkit an application method,
2500 which is required since each app has its own toolkit static
2501 environment. Thus the bridge must register for
2502 notification of toolkit events from each application in turn.
2503 Toolkit notifications are now successfully registered for, and
2504 sent to the listening at client.
2506 Changed toolkit event string to use hyphens rather than underscores.
2507 * libspi/listener.c :
2508 listner now gives more info in debug mode - it reports the
2509 name of the event received, as well as the name of the source.
2512 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2514 * libspi/registry.c :
2515 added more implementation for toolkit events.
2516 Fixed bug such that toolkit event registrations
2517 (via atk) use the whole event name string, not
2519 Removed a useless call to an ORBit_ method.
2520 * at-bridge/bridge.c :
2521 Removed unused local sbuf[] variable.
2523 We now register for Gtk:GtkWidget:button_press_event
2524 events as well as "focus:" events.
2526 Add some more API from Registry.idl that was missing,
2527 for keystroke listening, keystroke and mouse event
2528 synthesis, and enumeration of accessible desktops.
2530 2001-08-16 Michael Meeks <michael@ximian.com>
2532 * configure.in: use AM_GLIB_GNU_GETTEXT.
2534 * Makefile.am (SUBDIRS): kill intl.
2536 2001-08-15 Michael Meeks <michael@ximian.com>
2538 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2540 * configure.in: upd.
2542 * configure.in: depend on a recent bonobo-activation that
2543 will find our server files ...
2545 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2547 * libspi/accessible.c : accessible_new() :
2548 Now we add the Component interface via bonobo_object_add_interface,
2549 if the contained AtkObject implements AtkComponent.
2550 * libspi/accessible.h : now include "component.h"
2551 * libspi/component.h :
2552 * libspi/component.c : added files - implementation of
2553 bonobo wrapper object for Accessibility/Component
2554 * libspi/listener.c :
2555 Added test code to check for Accessibility/Component:1.0
2556 interface and report whether it is implemented by the
2558 * libspi/registry.c :
2559 Now we check for not only the hash of the whole event
2560 string before relaying the event, we also check the
2561 "minor" event string (without the detail string).
2562 This allows event listeners to be registered against
2563 all events of a certain major+minor type, or just
2564 against a specific major+minor+detail type.
2565 * libspi/accessible.c :
2566 Added implementations for Accessible:get_parent(),
2567 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2568 * libspi/registry.c :
2569 * libspi/listener.c :
2570 Replaced calls to Accessibility_Accessible_ref() and
2571 Accessibility_Accessible_unref() with
2572 calls to bonobo_object_dup_ref() and
2573 bonobo_object_release_unref(), so that the CORBA object
2574 is dup-ed and released when relayed, as well as the bonobo object.
2576 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2578 * libspi/Makefile.am,
2579 registryd/Makefile.am,
2580 at-bridge/Makefile.am.
2581 test/Makefile.am, configure.in:
2582 reverse previous changes.
2584 * /idl/Image.idl: fix typo.
2586 * test/Makefile.am: put DEBUG_FLAGS
2589 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2591 * test/app.c: use argv[0] instead of
2594 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2596 * libspi/Makefile.am,
2597 registryd/Makefile.am,
2598 at-bridge/Makefile.am.
2599 test/Makefile.am, configure.in:
2600 cleanup, replace individual LIBS/CFLAGS with
2601 AT_COMMON_{LIBS|CFLAGS}.
2605 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2607 * configure.in, libspi/Makefile.am:
2608 Change IDL path checking for bonobo-activation
2611 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2613 * registryd/registry.c : separated event listeners to use
2614 3 separate lists (focus, window, toolkit). Began testing
2615 event names against hashes before relaying events.
2616 * test/at.c : now register for events of type "focus:"
2617 * test/app.c : now generate events of type "focus:"
2618 * at-bridge/bridge.c : register with ATK for focus events,
2619 and we now relay those focus events to any "focus:" listeners.
2620 This now works with the bridge as a GTK_MODULE when running test/at.
2621 * libspi/registry.c :
2622 * libspi/listener.c :
2623 now we ref event sources before propagating, and unref on receipt.
2624 * libspi/registry.c :
2625 some changes to internal structs, to support event typestring hashes.
2626 * text/app.c : changed the way the appname is generated.
2627 * cspi : added directory that will hold the C bindings library for
2628 non-CORBA/bonobo-savvy clients.
2629 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2630 * idl/Component.idl : added in parameter to indicate coord system for
2631 geometry-related calls.
2632 * idl/Hyperlink.idl : added readonly n_links attribute
2633 * idl/Image.idl : changed methods to attributes.
2635 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2637 * at-bridge/Makefile.am: link against
2638 ../libspi/libspi.la instead of -lspi.
2640 * at-spi/test/app.c: include
2641 bonobo-activation.h. Use a default appname
2642 if one is not provided.
2644 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2646 * idl/Registry.idl : temporarily changed register_Application
2647 to oneway, to work around issue with initial registration
2649 * idl/Application.idl : changed attribute "id" from readonly
2650 to read-write, since it needs to be assigned by Registry.
2651 * registryd/registryd.c : added call to set application id
2653 * registryd/registry.c : changed de-registration procedure to
2654 use CORBA_Object_hash() to find matching object ref in application
2655 lists and listener lists.
2656 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2657 began distinguishing between event types (work in progress).
2659 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2662 * libspi/application.c:
2663 Added implementations for get/set id, get_toolkitName,
2665 * registryd/registryd.c :
2669 Converted from use of OAF to bonobo-activation.
2670 * libspi/desktop.h :
2671 * libspi/desktop.c :
2673 Removed references to atksimpleobject, since base atkobject
2674 implementation now provides functionality we need.
2675 * libspi/atksimpleobject.c :
2676 * libspi/atksimpleobject.h :
2681 * at-bridge/Makefile.am
2682 * at-bridge/bridge.c
2685 Added directory "bridge" and contents, and added dependencies
2686 in Makefile.am/configure.in.
2687 Initial checkin of "at-bridge".
2688 This code is a GTK_MODULE which automatically registers
2689 GTK+ apps with the accessibility registry, using an object
2690 reference to the root ATK object.
2692 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2694 * po/Makefile.in.in: Remove. Again. If this
2695 doesn't get autogenerated - you need to update
2698 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2700 * po/Makefile.in.in: Add. Again.
2702 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2704 * libspi/accessible.c : added support for 'description' property.
2705 * libspi/accessible.c
2707 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2708 (since the two are now equivalent in libbonobo)
2716 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2717 Bonobo::Unknown as does Accessibility::Accessible.
2718 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2719 interface with Bonobo::Stream, since it was redundant with it.
2720 (The Stream returned by a StreamableContext object is expected to
2721 implement only a subset of Bonobo::Stream)
2723 2001-07-28 Anders Carlsson <andersca@gnome.org>
2725 * libspi/accessible.c (accessible_object_finalize): Change
2726 g_free to g_object_unref since the AtkObject is a GObject.
2728 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2730 * idl/Accessibility.idl: add new IDL files
2733 * idl/Action.idl: Definitions of actionable UI object
2734 * idl/Component.idl: Definitions of UI component geometry, etc.
2735 * idl/Hyperlink.idl: Defs of hyperlink behavior
2736 * idl/Image.idl: Def of accessible image
2737 * idl/Selection.idl: Definition of UI object with selectable children
2738 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2739 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2740 * idl/Text.idl: Interface defs for UI elements with complex textual content
2741 * idl/Value.idl: Definition of UI element that is a value controller or display
2743 2001-07-27 Michael Meeks <michael@ximian.com>
2745 * po/Makefile.in.in: remove autogenerated file from CVS.
2747 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2750 * idl/Registry.idl: include guard.
2752 * idl/Accessibility.idl: Add, and include all the other IDL
2755 * idl/*.idl: remove mass of pragmas etc.
2757 2001-07-26 Michael Meeks <michael@ximian.com>
2759 * registryd/Makefile.am (registryd_SOURCES): remove
2762 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2764 * libspi/.cvsignore, registryd/.cvsignore,
2765 test/.cvsignore: updated.
2767 * po/Makefile.in.in: gettext update.
2769 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2771 * initial CVS checkin
2773 2001-06-29 Michael Meeks <michael@ximian.com>
2775 * configure.in: add AM_CONFIG_HEADER to gen config.h