1 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4 Replace setenv() call with putenv ().
7 Bugfix in AccessibleComponent_getExtents ().
9 2001-12-11 Michael Meeks <michael@ximian.com>
11 * libspi/image.c (impl_getImageExtents): impl.
12 (spi_image_class_init): upd.
15 (AccessibleImage_getImageDescription): fix daft bug
18 * test/test-simple.c (global_listener_cb): update
19 to only quit if not --poke
21 (validate_accessible): upd. dumping, call test_image
24 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
27 * idl/Accessibility.idl: update all IDL includes.
29 * idl/*.idl - rename to namespace - this sucks, blame
30 mjs' bad decision for oafd.
32 * test/test-simple.c (create_test_window): add more tests.
33 (create_tree): split this out.
34 (validate_accessible): bugfix.
36 2001-12-11 Michael Meeks <michael@ximian.com>
38 * cspi/bonobo/cspi-bonobo-listener.c:
39 (cspi_kestroke_listener_unref),
40 (cspi_event_listener_unref): impl. undoing previous
41 homenous environment - for Bill.
43 * cspi/spi_table.c (long_seq_to_array): use
46 * cspi/spi_main.c: split out all bonoboish bits into
49 * cspi/spi-impl.h: upd. typedefs.
51 * cspi/spi_registry.c: update to lowlevel API,
52 return booleans to indicate success in some places.
54 * cspi/spi_event.c: update to lowlevel API.
56 * cspi/bonobo/Makefile.am: add.
58 * cspi/bonobo/cspi-lowlevel.h: add
60 * cspi/bonobo/cspi-bonobo.c: add
62 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
64 * cspi/Makefile.am: remove spi-listener-impl.[ch],
65 (SUBDIRS): add bonobo, link in the libs.
67 * cspi/spi-util.c: kill this file.
69 * TODO: merge in my bits.
71 2001-12-11 Michael Meeks <michael@ximian.com>
73 * test/test-simple.c (test_value, test_table, main):
74 remove unused variables causing warnings.
76 * configure.in: cleanup checks - require gail.
78 2001-12-11 Bill Haneman <bill.haneman@sun.com>
81 Changed Value interface to use SValue (scalars) rather than
82 assuming all values are floats. This allows floats, doubles,
83 longs, shorts, and unsigned values to be manipulated.
84 Introduced Accessibility:SValue union.
87 Updated to use new API above, and to work correctly with GValues
88 of different types in AtkValue.
91 Updated to use new API above. cspi's API is as yet unchanged.
94 Updated the Value revision action item.
96 2001-12-10 Bill Haneman <bill.haneman@sun.com>
99 Added test_table (GtkTreeView widget in test window to follow).
100 Un-commented test_value, added GtkRange widget.
101 Added GtkTreeView widget with GtkListStore. It passes regression
102 test but leaks one SPI object for some reason.
105 Fixed bug in impl__set_currentValue.
107 2001-12-10 Michael Meeks <michael@ximian.com>
109 * cspi/spi_text.c: audit for exception handling,
110 tolerating NULL object references safely etc.
112 * cspi/spi_value.c: ditto.
114 * cspi/spi_table.c (AccessibleTable_getSummary),
115 (AccessibleTable_getAccessibleAt),
116 (AccessibleTable_getRowHeader),
117 (AccessibleTable_getColumnHeader),
118 (AccessibleTable_getCaption): fix bugs hidden by
120 (long_seq_to_array): impl.
121 (AccessibleTable_getSelectedRows),
122 (AccessibleTable_getSelectedColumns): use it.
124 2001-12-10 Bill Haneman <bill.haneman@sun.com>
127 Added a TODO list (rough and short for now).
129 * cspi/spi_hyperlink.c:
130 * cspi/spi_hypertext.c:
131 Fixed macro name typos, and remove use of obsolete macro in
132 AccessibleHyperlink_getLink.
135 * cspi/spi_accessible.c:
136 * cspi/spi_application.c:
137 * cspi/spi_component.c:
138 * cspi/spi_selection.c:
141 Documentation fixes (removed return values from ref/unref methods).
143 2001-12-10 Michael Meeks <michael@ximian.com>
145 * cspi/spi_action.c: audit for exception handling,
146 tolerating NULL object references safely etc.
148 * cspi/spi_accessible.c: ditto.
150 * cspi/spi_component.c: ditto.
152 * cspi/spi_editabletext.c: ditto.
154 * cspi/spi_hyperlink.c: ditto.
156 * cspi/spi_hypertext.c: ditto.
158 * cspi/spi_image.c: ditto.
160 * cspi/spi_selection.c: ditto.
162 2001-12-10 Michael Meeks <michael@ximian.com>
164 * configure.in: use cspi/libspi.pc.in instead.
166 * Makefile.am (pkgconfig_DATA): upd. to match.
168 * test/simple-at.c (report_focus_event): kill hacks around
169 bad return values, use putenv not setenv
171 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
172 fire ChildGone - I killed it.
175 (impl_accessibility_component_get_extents): remove
178 * idl/Accessible.idl: kill ChildGone exception.
180 * cspi/*.[ch]: kill int return from ref / unref.
182 * cspi/spi_main.c (cspi_object_add_check): fold into
183 (cspi_object_add): here.
185 * cspi/spi_component.c (AccessibleComponent_getExtents):
186 handle exceptions elegantly.
188 * cspi/spi-private.h (cspi_check_ev_return),
189 (cspi_return_if_fail): impl.
191 * cspi/spi_accessible.c: use extensively.
192 (AccessibleStateSet_equals): add direct compare check.
194 * cspi/spi_selection.c: tolerate NULL objs, and check
195 exceptions before return.
197 * cspi/spi-util.c (cspi_warn_ev): rename to
198 (cspi_check_ev): this & don't pass ev in; no point.
200 2001-12-10 Michael Meeks <michael@ximian.com>
202 * test/test-simple.c: use putenv not setenv
203 (get_environment_vars): more chatty if you're not using
206 * test/simple-at.c: do the setenv so more people see the
209 2001-12-10 Bill Haneman <bill.haneman@sun.com>
212 Changed check of CORBA_environment on notification to be a warning
213 instead of an error for the moment, since we can recover from this
214 error when caused by a queued notification from a dead app.
217 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
218 used by all current implementors of AtkValue), and coerce to
219 CORBA_float. (Proper general case fix may require change to Value.idl).
221 2001-12-09 Bill Haneman <bill.haneman@sun.com>
225 * cspi/spi_accessible.c:
226 Documentation fixes: added user_data params to documentation for
227 listeners and callbacks.
229 * cspi/spi_accessible.c:
230 Changed AccessibleStateSet_compare to return a
231 StateSet rather than return the difference set into a third parameter.
234 2001-12-09 Bill Haneman <bill.haneman@sun.com>
237 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
238 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
242 Remove subdirectory po from SUBDIRS for now.
244 * at-bridge/bridge.c:
245 Beefed up a couple of debug printouts.
246 One-line fix for signal notification name formatting.
248 * libspi/accessible.c:
249 Added assertion to spi_accessible_new ().
251 * libspi/application.c:
252 Put #ifdef qualifiers around a printf.
255 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
257 * registryd/Makefile.am:
259 Replaces use of XML_I18N_MERGE_SERVER_RULE with
260 INTLTOOL_SERVER_RULE macro.
263 Added an event listener for several ATK signals, for
264 testing and debugging. Removed a few g_warnings.
265 Added test output if focussed item implements the Value interface.
267 * test/test-simple.c:
268 Added test_value () function (known not to pass at the moment, so
269 not actually called yet.
271 2001-12-08 Michael Meeks <michael@ximian.com>
273 * at-bridge/bridge.c (bridge_focus_tracker),
274 (emit_eventv): fix the same ref. leak.
275 (register_atk_event_listeners): don't leak.
277 * cspi/spi-listener-impl.c (cspi_event): more
278 protection from client code.
280 * test/test-simple.c (test_desktop): unref the app.
282 * test/Makefile.am: upd. TESTS.
284 * at-bridge/bridge.c (bridge_exit_func): release the registry.
286 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
288 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
290 * cspi/spi_registry.c: constify in strings.
291 (deregisterGlobalEventListenerAll): don't release the ref.
293 * cspi/spi.h: start removing redundant / conflicting
294 gtkdoc comments, making the API readable at a glance :-)
296 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
298 * test/keysynth-demo.c (keysynth_exit, main): upd.
300 * test/simple-at.c (main, simple_at_exit): upd.
302 * test/test-simple.c (unutterable_horror): kill.
303 (utterable_normal_derefs): kill.
304 (main): upd & do a setenv before gtk_init, so that we
305 can use memprof - and to save the pain of remembering
306 this, if we're running under memprof - don't exit.
308 * cspi/spi_main.c (SPI_exit): return exit status
310 (SPI_event_quit): impl.
311 (SPI_event_main): simplify.
312 (cspi_is_gnome_app): kill.
313 (SPI_init): kill isGNOMEapp arg.
315 * at-bridge/bridge.c (register_atk_event_listeners):
316 re-instate the unref.
317 (bridge_exit_func): don't re-activate the registry,
318 protect vs. theoretical re-entry, use the
319 AT_BRIDGE_SHUTDOWN env. var to determine whether to
320 assert a clean shutdown - for regression tests.
322 2001-12-08 Abel Cheung <maddog@linux.org.hk>
324 * configure.in: Comment out dummy i18n support for now,
325 otherwise it fails to build.
326 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
327 EXTRA_DIST. They are missing in tarball.
329 2001-12-07 Michael Meeks <michael@ximian.com>
331 * util/magnifier.c: kill bonobo activation reg. race.
334 (impl_accessibility_component_get_extents): make it match
337 * libspi/registry.c (_registry_notify_listeners):
338 re-remove X headers & reconcile conflicts.
339 (spi_listener_struct_free): bad conflict resolve.
340 (impl_accessibility_registry_register_application):
341 more bad merging fixed.
342 (impl_accessibility_registry_deregister_application): ditto.
343 (spi_registry_new): ditto.
344 (spi_registry_init): don't have an applications field.
346 [ merge fixups2 branch to here ]
347 2001-12-07 Michael Meeks <michael@ximian.com>
349 * test/simple-at.c (report_focus_event),
350 (report_focussed_accessible): remove g_warning debug.
352 2001-12-07 Michael Meeks <michael@ximian.com>
354 * test/test-simple.c (validate_tree): comment out some checks.
355 (test_desktop): app now not registered idly - horay.
357 2001-12-07 Michael Meeks <michael@ximian.com>
359 * cspi/spi_registry.c
360 (registerAccessibleKeystrokeListener): clean, stop it leaking
361 great swathes of memory, and device event controller references.
362 ensure we always pass valid sequences.
363 (deregisterAccessibleKeystrokeListener): ditto.
364 (generateKeyEvent): upd.
366 * at-bridge/bridge.c (bridge_key_listener): handle
367 registry dead exception gracefully.
368 (bridge_focus_tracker, emit_eventv): free ev.
370 * test/simple-at.c (report_focus_event): fix polarity.
372 * libspi/application.c (notify_listeners): kill the ev
373 argument, and make sure we init the ev we use.
374 (spi_application_object_event_listener): split out a chunk
375 (get_atk_object_ref): here & fixup.
376 (reverse_lookup_name_for_toolkit_event): make const.
377 (spi_application_toolkit_event_listener): fixup, kill leaks
380 * at-bridge/bridge.c (register_atk_event_listeners):
381 don't unref the noop object - causes grief.
383 * libspi/registry.c: remove the X headers.
384 turn off the debug churn.
386 * libspi/accessible.c (spi_accessible_new_return): only
387 release the ref if we are supposed to [doh]
389 * test/simple-at.c (report_button_press, report_focus_event):
390 guard vs. unexpected exit.
392 * at-bridge/bridge.c (gtk_module_init): prune printf.
393 (bridge_exit_func): fix app unref.
395 * libspi/Makefile.am: don't install registry or desktop.h
397 * libspi/*.h: update includes.
399 * libspi/application.h: don't include ourself, or
400 other redundant headers.
402 2001-12-06 Michael Meeks <michael@ximian.com>
404 * libspi/accessible.c
405 (get_accessible_from_servant): impl.
406 Upd. all CORBA impl.s to use it killing cut and paste.
408 * cspi/spi_main.c (cspi_cleanup): guard vs. double
410 (SPI_init): register atexit cleanup handler here.
412 2001-12-06 Michael Meeks <michael@ximian.com>
414 * at-bridge/bridge.c (gtk_module_init): g_error on
417 2001-12-06 Michael Meeks <michael@ximian.com>
419 * at-bridge/bridge.c (gtk_module_init): some sort of
420 confusing merge clash - reverted.
421 (bridge_idle_init): ditto.
423 * test/test-simple.c (main, utterable_normal_derefs):
424 merge from Bill - somehow not committed.
426 2001-12-06 Michael Meeks <michael@ximian.com>
428 * libspi/value.c (spi_value_class_init): upd.
429 (spi_value_finalize): kill.
431 * libspi/table.c (spi_table_finalize): kill.
432 (spi_table_interface_new): upd.
433 (spi_table_class_init): upd.
434 (get_table_from_servant): impl.
435 Upd. all CORBA impl.s to use it killing yet more cut and paste.
437 * libspi/selection.c (spi_selection_finalize): kill.
438 (spi_selection_interface_new): upd.
439 (spi_selection_class_init): upd.
440 (get_selection_from_servant): impl.
441 Upd. all CORBA impl.s to use it killing yet more cut and paste.
443 * libspi/relation.c (spi_relation_finalize): kill.
444 (spi_relation_class_init, spi_relation_new): upd
446 * libspi/image.c (spi_image_finalize): kill.
447 (spi_image_class_init): upd.
448 (spi_image_interface_new): upd.
449 (get_image_from_servant): impl.
450 Upd. all CORBA impl.s to use it killing yet more cut and paste.
452 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
453 (spi_hyperlink_finalize): kill.
454 (spi_hyperlink_new): upd.
455 (get_hyperlink_from_servant): impl.
456 Upd. all CORBA impl.s to use it killing yet more cut and paste.
458 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
459 (spi_hypertext_finalize): kill.
460 (spi_hypertext_class_init): upd.
461 (get_hypertext_from_servant): impl.
462 Upd. all CORBA impl.s to use it killing yet more cut and paste.
464 * libspi/editabletext.c (spi_editable_text_finalize): kill.
465 (spi_editable_text_interface_new): upd.
466 (get_editable_text_from_servant): impl.
467 Upd. all CORBA impl.s to use it killing yet more cut and paste.
469 * libspi/text.c (get_text_from_servant): impl.
470 All impls - update to use it killing more cut and paste,
471 also fix bad string returns on duff args ( a somewhat
472 impossible case to handle - but hey ).
473 (spi_text_construct): impl.
474 (spi_text_interface_new): upd.
475 (spi_text_object_finalize): kill.
478 (accessibility_component_object_finalize): kill.
479 (spi_component_class_init): upd.
480 (get_component_from_servant): impl. helper to kill cut & paste.
481 (impl_accessibility_component_contains):
482 (impl_accessibility_component_get_accessible_at_point):
483 (impl_accessibility_component_get_position):
484 (impl_accessibility_component_get_extents):
485 (impl_accessibility_component_get_mdi_z_order):
486 (impl_accessibility_component_get_layer):
487 (spi_component_interface_new): upd.
489 * libspi/action.c (spi_action_finalize): kill.
490 (spi_action_class_init): upd. inherit from SpiObject.
491 (spi_action_interface_new): upd.
492 (get_action_from_servant): impl. helper to reduce cut & paste.
493 (impl_getKeyBinding, impl_getName, impl_doAction),
494 (impl_getDescription): Use it everywhere.
496 * cspi/spi_main.c (get_live_refs): a pointer hash.
497 (spi_object_hash, spi_object_equal): comment out.
498 There are issues with CORBA object hashing that need
501 * libspi/application.c (spi_application_init),
502 (spi_application_new): upd.
504 * libspi/accessible.c (spi_accessible_object_finalize): kill.
505 (spi_accessible_class_init): upd.
506 s/accessible/object/ in epv methods.
508 2001-12-05 Bill Haneman <bill.haneman@sun.com>
510 * at-bridge/bridge.c:
511 Reorder the bridge initialization into the bridge gtk_module_init,
512 an immediate call to bridge_register_app, and an idle_add for
513 register_atk_event_listeners (the only code that *must* wait until
514 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
515 the activation, creates the application's Accessible object, and
516 queues the bridge_idle_init function. Restored call to
517 Accessibility_Registry_deregisterApplication().
518 Prior to making this call we obtain a new reference to the
519 registry, which is a temporary hack that helps us handle apps that
520 shut down the bonobo mainloop before we get there.
523 Fix string leakage in debug block, and don't segv if a an app
524 dies before its event notifications have been propagated.
527 Modify cspi_check_ev() to call g_warning() rather than g_error(),
528 as stopgap measure until we get proper exception handling when
529 objects die during or before interrogation.
533 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
534 Also changed default value of is_gnome_app to TRUE.
537 * test/keysynth-demo.c:
538 Changed use of SPI_init and SPI_event_main to reflect API change above.
541 Made report_focus_event check the warning value from getName
542 before reporting on focussed accessible; simplifies handling of
543 notifications from dead objects.
545 * test/test-simple.c: (Changes not in this patch since source is
548 2001-12-05 Michael Meeks <michael@ximian.com>
550 * registryd/registryd.c (main): protect against
551 bonobo-activation startup race condition.
553 * cspi/spi_main.c (cspi_object_add_check): cope
554 with the exception elegantly.
556 * idl/Accessible.idl: decl. ChildGone
558 * libspi/desktop.c (spi_desktop_dispose): impl.
559 (spi_desktop_class_init): upd.
560 (spi_desktop_add_application),
561 (spi_desktop_remove_application),
562 (abnormal_application_termination): impl.
563 (impl_desktop_get_child_at_index): re-impl.
566 (impl_accessibility_registry_deregister_application),
567 (impl_accessibility_registry_register_application):
568 kill excessive debug clutter.
570 * test/test-simple.c (test_misc): test some NULL
571 tolerance. (main): upd.
573 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
574 implements no interfaces - so let's not crash.
576 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
578 * libspi/accessible.c (spi_accessible_new_return): impl.
579 helper to calm the cut and paste, to cope with
580 NULL AtkObjects effectively and efficiently, and to kill
581 the referencing bugs.
583 * libspi/table.c (impl_getAccessibleAt),
584 (impl_getRowHeader, impl_getColumnHeader): upd.
586 * libspi/hyperlink.c (impl_getObject): upd.
588 * libspi/accessible.c
589 (impl_accessibility_accessible_get_child_at_index): upd.
592 (impl_accessibility_component_get_accessible_at_point): upd.
594 * test/test-simple.c (test_editable_text, test_text): impl.
597 * cspi/spi_editabletext.c
598 (AccessibleEditableText_insertText): constify.
600 * test/test-simple.c (focus_me): make more robust.
602 * libspi/accessible.c: remove some printfs in methods that
603 we test and work fine, so we can get a clean tree dump.
605 * test/test-simple.c (validate_accessible),
606 (validate_tree): make tree dumping pretty too.
608 * at-bridge/bridge.c (bridge_signal_listener): upd. so
609 it builds without debug on.
611 * test/test-simple.c (validate_accessible): fix the most
614 * cspi/spi_main.c (spi_object_release): leave the nicely
615 blanked memory around if in debug mode.
617 * cspi/spi-listener-impl.c (cspi_event): use add_check.
619 [committed to fixups2]
620 2001-12-05 Michael Meeks <michael@ximian.com>
622 * libspi/editabletext.c
623 (spi_editable_text_class_init): g_type_class_peek_parent,
624 not interface peek - so we finalize cleanly.
626 * libspi/accessible.c (spi_accessible_new): kill debug.
628 * test/test-simple.c (validate_accessible): fix ref.
629 leak, print strings before freeing them; sigh, comment a
630 chunk out due to strangeness.
631 (validate_tree): unref the child after use.
633 * cspi/spi_component.c (AccessibleComponent_getLayer):
634 add missing break statement, switch on zlayer not the
635 uninitialized retval.
637 * cspi/spi_main.c (cspi_object_add): add assert, local ref
638 before (possibly re-entering) remote unref.
640 * test/simple-at.c (main): unref the desktop.
642 * cspi/spi_accessible.c (cspi_accessible_is_a): move
645 * cspi/spi_main.c (cspi_accessible_is_a): here to
646 isolate bonobo API usage more.
648 * libspi/registry.c (impl_accessibility_registry_register_application):
651 2001-12-04 Michael Meeks <michael@ximian.com>
653 * test/test-simple.c (validate_tree): upd.
654 IndexInParent check to make it more lucid.
655 (validate_accessible): dump the tree.
657 * libspi/accessible.c (de_register_public_ref),
658 (get_public_refs): impl.
659 (spi_accessible_new): make more efficient & intuitive.
660 Now IndexInParent check works.
662 2001-12-04 Michael Meeks <michael@ximian.com>
664 * cspi/spi-util.h: remove.
666 * cspi/spi.h: move SPI_freeString here
668 * libspi/component.c (impl_accessibility_component_get_layer):
670 (impl_accessibility_component_get_mdi_z_order): ditto,
671 return -1 on error - is this ok ?
673 * test/test-simple.c (test_application): impl.
675 * cspi/spi_accessible.c (Accessible_getApplication),
676 (Accessible_isApplication): impl.
678 * libspi/registry.c (spi_listener_struct_free): release
679 the CORBA reference too.
681 * libspi/accessible.c
682 (impl_accessibility_accessible_get_parent): fix ref leak.
684 * libspi/registry.c (spi_registry_new): make the registry
685 immortal - we don't want it to go away ever.
687 * libspi/application.c
688 (spi_accessible_application_finalize): impl. cleanup.
690 * cspi/spi_registry.c
691 (deregisterGlobalEventListenerAll),
692 (deregisterGlobalEventListener),
693 (deregisterAccessibleKeystrokeListener): fix ref leak.
695 * cspi/spi_main.c (SPI_init): remove redundant ref.
697 * test/test-simple.c (unutterable_horror): impl. to force a
702 (impl_accessibility_registry_deregister_application): release
703 the application when we de-register it.
705 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
706 until we have the infastructure to get it right.
708 2001-12-03 Michael Meeks <michael@ximian.com>
710 * libspi/Makefile.am: only build eventlistener.[ch]
712 * libspi/accessible.c
713 (impl_accessibility_accessible_get_child_at_index): don't leak.
715 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
716 before we hit the idle handler.
718 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
721 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
723 * libspi/listener.c (impl_notify_event): check source
724 not NIL before unref.
726 * libspi/registry.c (impl_registry_notify_event): ditto.
728 * libspi/eventlistener.c
729 (impl_accessible_event_notify_event): unref the source.
731 * libspi/accessibleeventlistener.c
732 (impl_accessible_event_notify_event): unref the source.
734 * idl/Event.idl: remove 'hash_id' attribute - of no
737 * libspi/application.c (notify_listeners): upd list
739 (spi_application_object_event_listener),
740 (spi_application_toolkit_event_listener): upd to do correct
744 (_registry_notify_listeners): update.
745 (parse_event_type): this method also leaks like a sieve.
746 (impl_accessibility_registry_deregister_global_event_listener):
747 fix ETYPE_WINDOW case.
749 * libspi/application.c
750 (impl_accessibility_application_register_object_event_listener):
753 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
755 * libspi/hypertext.c (impl_getLink): ditto.
757 * cspi/spi_main.c (cspi_object_add): remove
758 bogus CORBA_Object_duplicate.
760 * cspi/spi-listener-impl.c (cspi_event): dup/ref
763 * cspi/spi_accessible.c
764 (Accessible_getRelationSet): fix leak / referencing issue.
766 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
767 (cspi_object_add, cspi_object_unref): upd.
768 (spi_object_release, get_live_refs): impl.
769 (cspi_cleanup): simplify.
771 * *.[ch]: s/boolean/SpiBoolean/
773 * cspi/spi_accessible.c (role_names): actualy order so it
774 corresponds with the enum !
776 * test/test-simple.c (test_roles): check some role strings
777 vs. enums to detect offset errors.
779 2001-12-01 Michael Meeks <michael@ximian.com>
781 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
783 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
785 (Accessible_getChildAtIndex): use cspi_add_check so we
786 check the ev before using a (possibly) invalid value.
788 * libspi/accessible.c
789 (impl_accessibility_accessible_get_parent): don't segv
792 * at-bridge/bridge.c (gtk_module_init): upd.
793 (bridge_property_event_listener): don't leak strings
795 (bridge_state_event_listener),
796 (bridge_property_event_listener): don't use a static
797 buffer in case of recursive event emission &
798 re-enterancy - split out the swathe of cut and paste
800 (emit_eventv): and fix 2 ref leaks here & comply to the
802 (bridge_register_app): rename to
803 (bridge_idle_init): this and kill arg parsing, split
804 various inits & bonobo-activation registration to module
805 init time, kill referencing error.
806 (bridge_exit_func): fix the same leak.
807 (bridge_focus_tracker): don't leak event structures
809 (bridge_signal_listener): more leakage and cut & paste
811 (bridge_key_listener): return the result - FIXME is
812 this polarity correct ?
813 (accessibility_keystroke_from_atk_key_event): rename
814 (accessibility_init_keystroke_from_atk_key_event): and stop
816 (gtk_module_init): return a value - not that it is checked by
818 (bridge_key_listener): register my horror at casting between
820 (bridge_get_registry): kill - not used.
822 * cspi/spi_accessible.c (Accessible_getRole): make return const.
824 * test/test-simple.c (test_roles): impl.
825 (test_desktop, validate_accessible, validate_tree): impl.
827 * cspi/spi_accessible.c (role_names): fixup bogus
828 MAX_ROLES setup, make constants const for efficient linkage
829 (AccessibleRole_getName): conform to coding style, make
832 2001-11-30 Michael Meeks <michael@ximian.com>
834 * cspi/spi.h: add missing prototype.
836 * libspi/registry.c (spi_listener_struct_new): fix sig.
838 * test/Makefile.am: add test-simple
840 * test/test-simple.c: add
844 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
846 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
847 do it straight - since otherwise we often get an activation race.
849 [ work before Bill duplicated a chunk of it ... ]
850 2001-11-30 Michael Meeks <michael@ximian.com>
852 * libspi/keystrokelistener.c
853 (spi_keystroke_listener_class_init): fixup arg
856 * libspi/eventlistener.c
857 (spi_event_listener_class_init): ditto.
859 * tests/test.sh: add.
861 * cspi/spi-listener-impl.h: update macros.
863 * cspi/spi-listener-impl.c
864 (cspi_event_listener_remove_callback): add
865 correct pre-conditions.
867 * cspi/spi_main.c (SPI_exit): guard vs. double
868 exits, exit the mainloop nicely.
869 (SPI_event_main): make more sense.
870 (SPI_init): move the atexit evilness here so we
872 (SPI_event_main): upd.
874 * test/simple-at.c: update for listener changes.
876 * registryd/registryd.c (main): prune kruft.
878 * libspi/libspi.h: upd.
880 * libspi/eventlistener.[ch]: rename broken macros.
882 * libspi/accessibleeventlistener.[ch]: remove.
884 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
886 * test/test-simple.c: Add - automated tests.
888 * cspi/spi-listener-impl.c (cspi_event),
889 (cspi_key_event): add user_data to invoke.
890 (cspi_keystroke_listener_finalize): impl.
891 (cspi_keystroke_listener_class_init): upd.
894 (createAccessibleEventListener),
895 (AccessibleEventListener_addCallback),
896 (createAccessibleKeystrokeListener),
897 (AccessibleKeystrokeListener_addCallback): upd.
899 * libspi/deviceeventcontroller.c
900 (spi_device_event_controller_check_key_event): add public proto.
903 (impl_accessibility_registry_deregister_global_event_listener):
904 always init listeners.
905 (_registry_notify_listeners): yes it is.
907 * cspi/spi-listener-impl.c (cspi_key_event):
909 (cspi_event_listener_finalize): impl.
910 (cspi_event_listener_class_init): hook up.
911 (event_handler_new, event_handler_free),
912 (event_list_remove_by_callback): impl.
913 (cspi_event_listener_remove_callback),
914 (cspi_keystroke_listener_remove_callback),
915 (cspi_keystroke_listener_add_callback),
916 (cspi_event_listener_add_callback): upd.
918 * libspi/keystrokelistener.c
919 (keystroke_listener_object_finalize): kill
920 (spi_keystroke_listener_class_init): upd.
921 (spi_keystroke_listener_add_callback),
922 (spi_keystroke_listener_remove_callback): kill,
924 (impl_key_event): prune drasticaly.
926 * libspi/eventlistener.c
927 (spi_event_listener_add_callback),
928 (spi_event_listener_remove_callback): kill, use
930 (impl_accessible_event_notify_event): upd.
931 (spi_event_listener_object_finalize): remove.
933 * libspi/Makefile.am: use eventlistener.[ch]
935 2001-12-04 Bill Haneman <bill.haneman@sun.com>
937 * libspi/registry.c (_registry_notify_listeners):
938 Changed listener loop iteration to use preferred convention.
939 Got rid of string memory leaks caused be calling g_strconcat
940 inside function calls.
942 * libspi/registry.c (parse_event_type):
943 Stopped g_strconcat memory leaks, free the g_strsplit return,
944 g_strdup the split pieces when used, etc.
946 2001-12-04 Bill Haneman <bill.haneman@sun.com>
949 Change method 'compare' to return a 'difference set' rather than
950 taking a StateSet as an out parameter (more Java-friendly).
952 * idl/Accessible.idl:
953 Added CORBA struct 'BoundingBox', to faciliate API changes below:
957 Changed methods 'getExtents' and 'getImageExtents' in these
958 interfaces to return a BoundingBox structure.
959 (getPosition and getSize are redundant and possibly should be
960 removed, rather than creating a corresponding Point struct.)
962 * cspi/spi_component.c:
963 Modify implementation of getExtents to reflect the above IDL
968 Add (missing) AccessibleImage_getExtents () API.
970 * docs/reference/cspi/at-spi-cspi-sections.txt:
971 Added AccessibleImage_getImageExtents () to docs.
973 2001-12-03 Bill Haneman <bill.haneman@sun.com>
976 Added two methods, getLayer () and getMDIZOrder (), to reflect
977 the new ATK methods atk_object_get_layer and
978 atk_object_get_mdi_z_order. (Which arguably should be part of the
979 AtkComponent API and AtkObject). Also added an enum,
980 ComponentLayer, for the first method's return value.
982 * libspi/component.c:
983 Added implementations for these methods.
985 * cspi/spi_component.c:
987 Added cspi binding methods for above,
988 AccessibleComponent_getLayer() and
989 AccessibleComponent_getMDIZOrder().
990 Added cspi enum 'AccessibleComponentLayer'.
992 * docs/reference/cspi/at-spi-cspi-sections.txt:
993 Added above methods to docs.
997 Changed typedef for 'boolean' type (and all references to it) to
998 SPIBoolean, to avoid keyword clashes with C++.
1001 Changed usages of 'boolean' to SPIBoolean.
1003 * test/keysynth-demo.c:
1004 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1005 app), except where SPIBoolean is required by the callbacks API.
1007 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1009 * cspi/spi_registry.c:
1010 Removed obsolete X event loop for passive keygrabs (which now
1013 * registryd/registryd.c:
1014 Removed unnecessary call to gdk_init() [cruft]. This also allows
1015 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1018 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1020 * docs/reference/cspi:
1021 Included docs for SPI_freeString in generated documentation.
1024 Renamed spi_freeString to SPI_freeString, for consistency. Added
1025 documentation for this function.
1028 Renamed spi_freeString to SPI_freeString, for consistency.
1029 Removed obsolete method declaration string_from_corba_string.
1031 * test/keysynth-demo.c:
1032 Small tweak to comments.
1035 Stopped leaking the strings returned from CSPI.
1037 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1039 Merged Michael's branch (see his ChangeLog entries below).
1041 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1042 bridge is alive, release on exit.
1044 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1045 Fix type check macro.
1048 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1051 Added is_gnome_app static, and method cspi_is_gnome_app(),
1052 so we can call the appropriate shutdown routine at exit in SPI_exit.
1054 * cspi/spi_main.c (cspi_object_ref):
1055 Duplicate the corba object passed in, since we're keeping it around.
1057 * cspi/SPI_exit.c, cspi_cleanup:
1058 Moved the releasing of the live refs to its own function, so we
1059 can put it in g_atexit (). Call the appropriate shutdown API
1060 depending on whethe calling client is a gnome app or not
1061 (bonobo_main_quit or CORBA_ORB_shutdown).
1063 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1064 Unref the listener when this method is called, after
1065 deregistration. Updated the API docs to note this behavior.
1067 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1068 Bugfixes: Ref the bonobo object when returning a parent or child
1069 reference, or an AccessibleRelation. Generally made sure
1070 BonoboObject refcount is incremented whenever we return an
1073 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1074 Fixed typo/bug in signal declaration.
1076 * libspi/accessibleeventlistener.h:
1079 * libspi/application.c (spi_application_new):
1080 Fixed leak in initialization.
1083 Remembered to increment bonobo-object refcount when returning
1084 children (applications) from desktop object.
1085 Added (empty) finalize method.
1087 * libspi/deviceeventcontroller.c:
1088 Hold a ref to listeners inside DEControllerKeyListeners.
1089 Added dec_key_listener_free() method. Use prepend instead of
1090 append in key_listener list. Fixed some refcount madness and
1091 leaks in the listener registration/deregistration - deregistration
1092 now calls dec_key_listener_free() on listeners, and on the
1093 temporarily constructed dec_key_listener() used to perform the search/match.
1095 * libspi/hypertext.c (spi_hypertest_finalize):
1096 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1097 class. Also fixed spi_hypertext_interface_new() and
1098 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1100 * libspi/hypertext.h:
1101 Removed pointless and duplicate AtkObject pointer from
1104 * libspi/keystrokelistener.c:
1105 Fixed incorrect type of keystroke_listener_parent_class,
1106 renamed keystroke_listener_object_finalize to
1107 spi_keystroke_listener_object_finalize.
1108 Fixed typo in signal declaration
1109 (spi_keystroke_listener_class_init).
1111 * libspi/registry.c:
1112 Added funcsions spi_listener_struct_new() and
1113 spi_listener_struct_free() to help with memory management issues.
1114 We also now use these methods instead of gnew + poking stuff into
1115 the struct, and to decrement listener counts/free the listeners
1116 when deregistering them.
1117 Fix more refcount bugs in getDesktop() and
1118 getDeviceEventController().
1121 De-ref the desktop after enumerating the applications. Explicitly
1122 decrement the refcounts on the created listeners on exit (using
1123 _unref for keystroke listeners, and via the
1124 deregisterGlobalEventListenerAll command for other event
1127 2001-11-27 Michael Meeks <michael@ximian.com>
1129 * cspi/spi-listener.h: fixup enum.
1131 2001-11-27 Michael Meeks <michael@ximian.com>
1133 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1134 (cspi_keystroke_listener_new): Use the cspi variants.
1136 2001-11-26 Michael Meeks <michael@ximian.com>
1138 * test/keysynth-demo.c: fix 2 compile warnings, missing
1141 * test/simple-at.c (report_focussed_accessible),
1142 (report_focus_event, report_button_press),
1143 (check_property_change, is_command_key),
1144 (report_ordinary_key_event, report_command_key_event): upd.
1146 * util/mag_client.h: include pre-requisites.
1148 * libspi/accessibleeventlistener.c
1149 (spi_event_listener_object_finalize): free any lingering
1152 * libspi/keystrokelistener.c
1153 (keystroke_listener_object_finalize): ditto.
1155 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1156 callbacks, with cspi types.
1158 * cspi/spi_event.c (createAccessibleEventListener): chain to
1159 (AccessibleEventListener_addCallback): here.
1160 (createAccessibleKeystrokeListener): chain to
1161 (AccessibleKeystrokeListener_addCallback): here.
1163 * libspi/keystrokelistener.c
1164 (spi_keystroke_listener_class_init): add signal.
1165 (impl_key_event): emit the event.
1166 (boolean_handled_accumulator): impl.
1167 (marshal_BOOLEAN__POINTER): add, gack.
1169 * libspi/accessibleeventlistener.c
1170 (spi_event_listener_class_init): add signal.
1171 (impl_accessible_event_notify_event): emit the signal &
1172 make the loop efficient.
1173 (spi_event_listener_add_callback): prepend the callback.
1175 * libspi/accessibleeventlistener.h: add an 'event' signal,
1176 decl type on callback.
1178 * libspi/keystrokelistener.h: ditto.
1180 * cspi/spi-listener.h: make methods typesafe and
1181 make them use the new event typedefs.
1183 * test/simple-at.c (report_focussed_accessible):
1184 include mag_client.h
1185 Use *(void *)text_interface not the other thing.
1187 * configure.in: add gtk to registryd bits - since we use
1190 * util/magnifier.c: include libbonobo.h
1192 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1194 * test/keysynth-demo.c:
1195 Turned this into a simple scanning keyboard, to demonstrate the
1196 use of g_timeout_add () as a means of creating timers for
1197 scanning, and the use of GtkStyle for visually indicating when
1198 virtual keyboard elements are selected.
1200 keysynth-demo now listens to any keyboard keys with zero-valued
1201 keycodes (i.e. 'unused' keys) and interprets them as
1204 Reworked the shiftlatch code so that shift-down state isn't held
1205 for long periods (it's only synthesized immediately prior to
1206 the keysynth event it's modifying). Note that shiftlatch in this
1207 demo is a convenience, not intended to take the place of AccessX
1208 which is the better choice for getting 'sticky' modifier keys.
1210 * libspi/deviceeventcontroller.c:
1211 * at-bridge/bridge.c:
1212 * cspi/spi_registry.c:
1213 Removed some debug print stuff, and put other verbosity in #ifdef
1218 Implemented some more of the magnifier IDL for the simple
1219 magnifier: namely, getZoomRegionParams.
1220 Added mag_x and mag_y members to MagnifierData struct, aid of this
1222 Added GtkWindow::realize signal handler to magnifier, to keep it
1223 from receiving keyboard focus from the WM.
1225 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1227 * cspi/spi-private.h: my guess at what michael forgot
1228 before he ran off to NZ :-)
1230 2001-11-23 Michael Meeks <michael@ximian.com>
1232 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1233 comment out non existant method invoke so we link.
1235 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1236 use bonobo_exception_get_text for more friendly warnings.
1238 * cspi/spi.c (Obj_Add): move into spi_main & rename
1239 spi_object_add; kill spi.c
1241 * cspi/spi_registry.c
1242 (deregisterGlobalEventListener),
1243 (deregisterGlobalEventListenerAll),
1244 (registerGlobalEventListener): fix exception leaks.
1246 * cspi/spi_main.c (spi_exception): impl. helper, so we
1247 don't leak exceptions.
1249 * cspi/spi_selection.c
1250 (AccessibleSelection_deselectSelectedChild): return the
1253 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1254 (spi_registry): ditto.
1255 (SPI_init): guard against double inits.
1257 * cspi/*.c: use spi_ev (), and spi_registry () where
1258 appropriate - a temporary hack until we have something
1259 better. Use spi_object_add
1261 2001-11-22 Michael Meeks <michael@ximian.com>
1263 * cspi/Makefile.am: re organise, install the headers.
1265 * cspi/*.h: add G_BEGIN/END_DECLS
1267 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1270 Added non-preemptive keylistener for key events with no modifiers
1271 and shift-only modifier.
1273 * libspi/keystrokelistener.c:
1274 Removed some verbose diagnostics printout.
1276 * cspi/spi_registry.c:
1277 Fixed a bug that caused all key listeners to be registered as
1280 * libspi/deviceeventcontroller.c:
1281 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1282 for non-preemptive key masks.
1285 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1287 * docs/reference/idl/at-spi-idl-docs.sgml:
1288 * docs/reference/idl/at-spi-idl-sections.txt:
1289 * docs/reference/idl/at-spi-idl-overrides.txt:
1290 Added missing files.
1292 * docs/reference/Makefile.am:
1293 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1294 to scan the IDL files :-(
1299 Added .cvsignore files.
1301 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1303 * libspi/deviceeventcontroller.c:
1304 * libspi/keystrokelistener.c:
1306 * cspi/spi_registry.c:
1307 Added filters for KeySets, KeyEventSeq, and event types to key
1308 event dispatching, so listeners should only receive those events
1309 that they requested :-)
1311 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1316 * docs/reference:Makefile.am:
1317 * docs/reference/cspi:
1318 * docs/reference/cspi:Makefile.am:
1319 * docs/reference/cspi:tmpl:
1320 * docs/reference/cspi:tmpl:*.sgml:
1321 * docs/reference/idl:
1322 * docs/reference/idl:Makefile.am:
1323 * docs/reference/idl:at-spi-idl-sections.txt:
1324 * docs/reference/idl:at-spi-idl-docs.sgml:
1325 * docs/reference/idl:tmpl:
1326 * docs/reference/idl:tmpl:*.sgml:
1328 Restructured docs directory to allow separate 'reference' docs
1329 section, and forked idl and cspi docs. Added the sgml template
1330 files to CVS. Added the first sections/structural sgml for the
1333 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1335 * configure.in, libspi/Makefile.am: find libXtst.
1337 2001-11-21 Michael Meeks <michael@ximian.com>
1339 * test/accessx-gui.c: s/spi_value/value/ - doh.
1341 * libspi/base.[ch]: add.
1343 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1345 * idl/Accessible.idl:
1346 * idl/Application.idl:
1349 Started gtk-doc cleanup on IDL.
1351 * libspi/deviceeventcontroller.c:
1352 Added and connected non-preemptive key notification from the
1353 toolkits (in addition to the pre-emptive support from XServer
1354 which we had before, but which causes 'focus flashing'). Filters
1355 are presently limited to key modifiers and global/non-global,
1356 KeySets are presently ignored, as are KeyEvent masks.
1358 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1359 structs into the persistant structure rather than just storing
1360 pointers to things that might not persist across servant
1363 The XGrabKey call now does async keygrabs, because synchronous
1364 ones were deadlocking with GDK_event code in a very nasty way.
1366 Added boolean to internal method notify_keylisteners, to indicate
1367 whether the event came from the 'toolkit source' or the 'global
1368 (XServer) source' - this is used in the notification process to
1369 determine which listeners to send the event to.
1371 deviceeventcontroller.c is now warning-free.
1373 * libspi/registry.c:
1374 Fixed regression in application de-registration.
1375 Also fixed some really brain-dead weirdness having to do with
1376 event dispatching - event structs are now duplicated before being
1377 re-marshalled in the dispatch to listeners. This also fixes a
1378 Solaris build problem.
1381 2001-20-11 Michael Meeks <michael@ximian.com>
1384 (impl_accessibility_registry_deregister_global_event_listener):
1387 * libspi/deviceeventcontroller.c
1388 (spi_device_event_controller_check_key_event): return
1389 FALSE on no virtual method.
1391 * libspi/*..h: make includes work on a correctly pathed install.
1393 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1395 * libspi/application.h: kill unused ( and whacked out )
1396 gboolean *spi_application_set_id (AtkObject *app, long id);
1398 2001-20-11 Michael Meeks <michael@ximian.com>
1400 * libspi/*.[ch]: further convert to bonobo's type func
1401 macros, remove redundnant casts etc.
1403 * libspi/text.c s/accessibility_text/spi_text/g,
1404 re-order to de-cruft.
1406 * libspi/hypertext.c: re-order to kill a huge slew
1407 of redundant forward decls.
1409 * libspi/relation.c: ditto.
1411 * libspi/image.c: ditto.
1413 * */.cvsignore: update
1415 2001-20-11 Michael Meeks <michael@ximian.com>
1417 * libspi/deviceeventcontroller.c
1418 (_controller_register_with_devices): use g_getenv,
1419 kill stdlib.h include.
1421 * libspi/keystrokelistener.c
1422 (spi_keystroke_listener_get_type): kill
1423 (spi_keystroke_listener_class_init),
1424 (spi_keystroke_listener_init): rename to this.
1426 * libspi/text.c (impl_getAttributes): fix warning / bug.
1428 * libspi/*.[ch]: more headers, includes and over commenting.
1430 2001-20-11 Michael Meeks <michael@ximian.com>
1432 * libspi/*.[ch]: fixup headers, includes and over commenting.
1434 * libspi/image.c (impl__get_imageDescription): const
1435 correctness warning fix. remove redundant casting.
1437 * libspi/table.c (impl_getRowDescription): ditto.
1438 (impl_getColumnDescription): ditto.
1440 * libspi/libspi.h: add.
1442 2001-19-11 Michael Meeks <michael@ximian.com>
1444 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1446 * libspi/component.c (accessibility_component_get_type):
1447 rename to (spi_component_get_type): and macroify.
1448 (accessibility_component_init): rename to
1449 (spi_component_init): this
1450 (accessibility_component_class_init): rename to
1451 (spi_component_class_init): this
1453 * libspi/action.c (spi_action_get_type): kill, use the macro.
1455 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1458 * libspi/application.c (spi_application_object_event_listener),
1459 (impl_accessibility_application_register_object_event_listener):
1460 warning fixes / const understanding updates.
1462 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1465 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1467 * libspi/spi_accessible.c: Added docs and C bindings for
1468 AccessibleStateSet. (No implementations yet). Documentation
1469 coverage for C bindings now 100%. Made docs for event listeners
1474 boolean notifyListenersSync (in DeviceEventListener listener,
1475 in DeviceEvent event);
1477 oneway void notifyListenersAsync (in DeviceEventListener listener,
1478 in DeviceEvent event);
1480 Added DeviceEventListener and DeviceEvent structs (may deprecate
1481 KeyStroke and KeystrokeListener in favor of this generic
1482 event/listener framework for devices).
1484 * libspi/deviceeventcontroller.c:
1486 Changed some key listener code to take masks, etc., and paved the
1487 way for integration of toolkit/non-preemptive key events. Changed
1488 signatures of some internal methods.
1490 * at-bridge/bridge.c:
1491 Fixed regression connecting to interface signals, apparently
1492 caused by GTK+ changes.
1494 Added an internal bridge_state_listener to deal with
1495 property-change:accessible-state signals.
1497 Changed the key_listeners GList to store structs (including masks,
1498 etc.) instead of just CORBA_Objects (required for full
1499 implementation of key listener API).
1501 Connected the bridge to all currently supported Atk signals.
1502 Events now supported:
1503 object:property-change
1504 object:property-change:accessible-name
1505 object:property-change:accessible-state
1506 object:property-change:accessible-description
1507 object:property-change:accessible-parent
1508 object:property-change:accessible-value
1509 object:property-change:accessible-role
1510 object:property-change:accessible-table-caption
1511 object:property-change:accessible-table-column-description
1512 object:property-change:accessible-table-column-header
1513 object:property-change:accessible-table-row-description
1514 object:property-change:accessible-table-row-header
1515 object:property-change:accessible-table-summary
1516 object:children-changed
1517 object:visible-data-changed
1518 object:selection-changed
1519 object:text-selection-changed
1521 object:text-caret-moved
1523 object:row-reordered
1525 object:column-inserted
1526 object:column-reordered
1527 object:column-deleted
1528 object:model-changed
1530 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1532 * libspi/hyperlink.c,h:
1533 Fixed some broken stuff in hyperlink.
1535 * libspi/relation.h:
1536 * libspi/relation.c:
1537 * cspi/spi_accessible.c:
1538 Initial implementations of AccessibleRelation methods, and docs.
1540 * libspi/accessible.c:
1541 Fixed a bug that caused SEGV if an accessible
1542 object's description is NULL, and a client
1543 requests it. An empty string is now returned.
1545 * cspi/spi_editabletext.c:
1546 * cspi/spi_hypertext.c:
1548 * cspi/spi_hyperlink.c:
1552 Doc coverage now 95%.
1554 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1556 One last namespacing revision:
1557 * libspi/accessibleeventlistener.[ch]:
1558 Renamed SpiAccessibleEventListener to SpiEventListener,
1559 (no need for two namespaces ;-)
1561 And lots of documentation fixes:
1563 * docs/at-spi-docs.sgml:
1564 Fixed 'underscore vs. hyphen' bug that was preventing
1565 the gtk-doc API docs from being automatically generated.
1568 * cspi/spi-listener.h
1570 * cspi/spi_accessible.c
1572 * cspi/spi_application.c
1573 * cspi/spi_component.c
1574 * cspi/spi_editabletext.c
1576 * cspi/spi_hypertext.c
1578 * cspi/spi_registry.c
1579 * cspi/spi_selection.c
1583 * docs/at-spi-docs.sgml
1584 * docs/at-spi-sections.txt
1586 Added and fixed up gtk-doc documentation in cspi.
1588 Interfaces now (fully) documented (subject to revision and enhancement):
1590 Event Listener Support
1592 AccessibleApplication
1596 AccessibleEditableText
1603 AccessibleRelationSet
1608 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1610 * at-bridge/bridge.c:
1611 Initial work for toolkit-level key snooper connection by bridge.
1616 New typedefs and fixes to support new namespacing, and cleaner
1617 separation of cspi bindings from libspi bonobo implementation.
1618 Removed inconsistent and extraneous Spi* namespace prefix that
1619 had crept into cspi headers.
1620 Lots of comment fixes that sed had missed.
1622 * cspi/spi-roletypes.h:
1623 * cspi/spi-statetypes.h:
1624 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1625 to AccessibleRoleType.
1627 * libspi/accessibleeventlistener.h:
1628 Fixed minor namespacing weirdness.
1630 * libspi/deviceeventcontroller.c:
1631 Reordered some internal API for device listeners.
1632 Changed the key registry final boolean to 'is_system_global'
1633 rather than 'is_synchronous', which is more descriptive of its
1635 Added spi_device_event_controller_new().
1636 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1638 * libspi/keystrokelistener.[ch]:
1639 Namespaced KeystrokeListener to SpiKeystrokeListener.
1640 Changed uses of keymasks to use SPI_ prefix, and did other
1643 * libspi/keymasks.h:
1644 Namespaced keymask constants with SPI_ prefix.
1646 * libspi/registry.c:
1647 Some warning fixes, and knock-on fixes from namespace changes.
1650 Added rules for accessx-gui test program.
1652 * test/accessx-gui.c:
1653 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1654 utility. It doesn't actually use at-spi, but it's still cool and
1657 * test/keysynth-demo.c:
1661 Fixes so that these test clients work properly with the namespaced
1662 libraries. (Incompletely tested for technical reasons, fixes may follow)
1665 2001-13-11 Michael Meeks <michael@ximian.com>
1667 * libspi/application.c
1668 (impl_accessibility_application_get_version),
1669 (impl_accessibility_application_get_toolkit_name):
1671 (impl_accessibility_application_set_id),
1672 (impl_accessibility_application_get_id): remove
1673 redundant casting code.
1675 * libspi/action.c (impl_getDescription): fix warnings.
1677 * libspi/accessible.c
1678 (impl_accessibility_accessible_get_parent),
1679 (impl_accessibility_accessible_get_child_at_index),
1680 (impl_accessibility_accessible_get_state),
1681 (impl_accessibility_accessible_get_relation_set):
1682 warning fixes & include action.h
1684 2001-13-11 Michael Meeks <michael@ximian.com>
1686 * *.[ch] fix bits I screwed up:
1688 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1689 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1691 2001-13-11 Michael Meeks <michael@ximian.com>
1693 * *.[ch] Namespace libspi into spi_ and Spi.
1695 2001-13-11 Michael Meeks <michael@ximian.com>
1697 * Makefile.am: dist & install at-spi-1.0.pc
1699 * libspi/Makefile.am: install into at-spi-1.0
1701 * idl/Makefile.am (idldir): install into at-spi-1.0
1703 * at-spi-1.0.pc.in: add.
1705 * configure.in: build it.
1707 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1709 * test/keysynth-demo.c:
1710 Use a 'realize' signal-handler to set the WM properties for
1711 the virtual keyboard, rather than making it a "POPUP" type
1712 override-redirect window (thanks to anders carlsson for that
1715 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1718 * test/keysynth-demo.c:
1719 Added new test of key synthesis, which creates a simple
1720 (mouse-operated) onscreen keyboard. It inserts key events into
1721 the currently-focused window, thus it does not grab keyboard focus
1724 * cspi/spi_registry.c:
1725 Added C binding for AT-SPI generateKeyEvent.
1727 * libspi/deviceeventcontroller.c:
1728 Added call to XFilterEvent so that key listener works with XIM (we
1729 hope). Added event_synth_type to generateKeyEvent, so that we can
1730 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1731 synthesize a press/release pair for KeySyms.
1733 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1735 * libspi/Makefile.am:
1736 * registryd/Makefile.am:
1737 (temporary) hack to include libXtst in libspi and registryd.
1738 (Needed for keystroke synthesis, see below).
1741 Improved API for registerKeystrokeListener, in accordance with
1742 discussions with Gnopernicus team and X server research.
1744 * libspi/registry.c:
1745 * libspi/deviceeventcontroller.c:
1746 * libspi/accessible.c:
1747 * libspi/keystrokelistener.c:
1748 Changes and fixes to support keylisteners for potentially
1749 consumed key events (that is, 'passive grabs').
1750 Added implementation for generateKeyEvent() [untested].
1753 Changes to registerKeystrokeListener() API, as above.
1754 Added deregisterGlobalEventListenerAll(), and
1755 deregisterKeystrokeListener(), which are needed for clean exit of
1757 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1758 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1760 * cspi/spi_registry.c:
1761 Added implementations of function prototypes mentioned above.
1763 * registryd/registryd.c:
1764 Added the key listener event source as a g_timeout(), to allow
1765 receipt of key events that are not caught by GDK (since GDK
1766 doesn't support passive keygrabs, this was necessary).
1769 Changed to attach a keylistener to 'Alt' keys, and
1770 respond to the following keycommands: Alt-M (toggle magnifier);
1771 Alt-F (toggle speech); Alt-Q (quit).
1772 Added an exit routine to deregister the listeners, and a key
1773 listener that prints some key info to the console when a key
1774 matches the listener mask (and is thus received by the listener).
1776 * util/idl/Magnifier.idl:
1777 Changes to magnifier API to support multiple zoom regions,
1778 non-uniform scaling in x and y, markDirty, and a host of other
1779 features that would be useful to magnification.
1782 * util/mag_client.c:
1783 * util/mag_client.h:
1784 * util/mag_control.c:
1786 Source code changes to support the above IDL changes.
1789 As above, and also changes to use a (slower) generic conversion
1790 path for colormap conversions, since the fast RGB conversions have been
1791 reported to fail for 16-bit displays.
1793 2001-10-26 Michael Meeks <michael@ximian.com>
1795 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1797 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1799 * at-bridge/Makefile.am: fix LDFLAGS.
1801 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1803 * at-bridge/bridge.c:
1804 Re-worked listeners for toolkit events, now we have signal
1805 and property listeners. Added a private method
1806 register_atk_event_listeners(), which registers with the
1807 various atk and gtk signals we need to monitor in order to emit
1809 Added emission hook for AtkObject:property-change events, to
1810 support the 'property listeners'.
1811 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1814 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1815 which emit warnings and exit, respectively, if CORBA errors occur
1816 during remote calls, and we now use these methods to check most of
1817 our CORBA calls in the C bindings.
1819 * cspi/spi_accessible.c:
1820 Changed AccessibleSelection_refSelectedChild() to
1821 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1822 now increment refcounts.
1824 * cspi/spi_component.c:
1825 Fixed some long pointer casts (dangerous!) to pass pointers to
1826 CORBA_longs of the proper type to the CORBA stubs, and copy the
1827 data into the longs that were passed into the C bindings code.
1829 * at-bridge/bridge.c:
1831 * libspi/accessible.c:
1832 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1833 hyperlinks, AtkHyperlink is an object type.
1835 * libspi/application.c:
1836 Added various conversions to and from "generic" event types and
1837 atk-specific types; this is really part of the 'bridge'
1838 implementation but is valid for all AtkObject-based accessibility
1841 * libspi/editabletext.c:
1842 Fixed nasty bug wherein editable text's finalize method was
1843 unref'ing tha AtkObject reference that the text parent class was
1844 about to unref _again_. There was also a nasty inheritance bug
1845 that meant that the AccessibleEditableText class was corrupt.
1847 * libspi/selection.c:
1848 Provided implementations for some selection API that was broken.
1850 * idl/Application.idl:
1851 Added registerObjectEventListener () method.
1854 Fixed a number of return values that were Bonobo_Unknowns from
1855 bonobo_object_corba_objref(), which I
1856 forgot to dup before returning. Changed instances of
1857 bonobo_object_corba_objref (bonobo_object(o)) to
1858 BONOBO_OBJREF(o), for concision and clarity.
1860 <2001-10-13 Louise Miller <louise.miller@sun.com>
1862 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1863 idl/Event.idl, idl/Registry.idl
1864 Changed these files to include Bonobo_Unknown.idl instead
1867 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1869 * libspi/component.c libspi/component.h:
1870 Fixed typo. Added assertions for object checks in
1871 AccessibleComponent code.
1873 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1875 * idl/Accessible.idl:
1876 Added 'isEqual (Accessible *object)'
1877 method for Accessible. (Not Yet Implemented).
1880 Changed signature of registerKeystrokeListener() to
1881 take a KeySet and KeyEventSeq so that specific keys and event
1882 types could be requested for monitoring, and added a flag
1883 is_synchronous so that either synchronous or asynchronous
1884 notification could be requested. (However this is not all
1885 implemented yet). This also meant adding two new typedefs,
1886 KeyEventSeq and KeySet.
1889 Added two new relations, RELATION_TOOLTIP_FOR and
1890 RELATION_LEAFNODE_OF.
1893 Added new state, STATE_HAS_TOOLTIP.
1895 * libspi/text.c, editabletext.c:
1896 Added new assertions to all casts of bonobo-objects from
1897 CORBA servants, to prevent Text API calls on non-text objects.
1898 Changed suspect casts of int-pointer types, so that we
1899 always send a valid CORBA_long pointer to the CORBA APIs that use
1900 in/out long parameters. We then have to copy from the CORBA_long
1901 into the regular long or int for return to the C bindings, or
1902 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1905 * libspi/deviceeventcontroller.c:
1906 Cleaned these sources up.
1908 Changed return type for getCharacterAtOffset to
1909 CORBA_unsigned_long, to allow for 32-bit characters.
1912 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1916 Fixed 'make dist' so that distro compiles...
1917 * libspi/keymasks.h:
1919 * cspi/spi-listener.c:
1920 KeystrokeListenerCB now returns a boolean.
1922 Added KeyEventType struct, and KeyStroke.
1923 Also added createKeystrokeListener(),
1924 KeystrokeListener_addCallback(),
1925 KeystrokeListener_removeCallback(), and added a keymask to
1926 registerKeystrokeListener().
1927 * cspi/spi_accessible.c:
1928 Changed numerous return types for interfaces from
1929 AccessibleComponent to Accessible<InterfaceName>; this was
1930 probably a cut-and-paste error.
1932 Implementations of new KeystrokeListener api (from spi.h,
1935 Changes to key modifier mapping.
1936 Created ControllerEventMask struct.
1937 Made DeviceEventController derive from Bonobo::Unknown.
1939 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1940 * libspi/deviceeventcontroller.c:
1941 Added a number of new internal (private) methods.
1942 * libspi/editabletext.c:
1943 * libspi/editabletext.h:
1944 Fixed a number of bugs related to the fact that
1945 editabletext inherits from text. Fixed the EditableText struct,
1946 the init() call, and use correct casts when calling Text methods
1947 from an EditableText object. Removed (duplicate) atko from the
1948 EditableText structure, we use the one in the parent Text
1949 structure via the casts mentioned above.
1950 * libspi/keystrokelistener.[ch]:
1951 * libspi/registry.c:
1952 Changes in support of keyboard handling (above).
1954 Keyboard handling, though partly functional, is still not
1955 recommended for at-spi client use as there is considerable
1956 work yet to be done.
1959 Changed some places where pointers to various int types
1960 are cast to be pointers to CORBA_long types and vice-versa:
1961 pointer casting is not safe so we pass pointers of the correct
1962 types and then cast the result before putting it into the target
1965 * libspi/text.h: minor typos corrected.
1967 We now speak not only the name of a Text element, but the
1968 first sentence of its content, when it receives focus.
1969 I also changed the text compression to 75% from 50%.
1970 * util/Accessibility_Util.server.in:
1971 Changed the default magnifier type to be a 3x vertical
1972 splitscreen magnifier (was previously a 2x horizontal one).
1974 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1976 * libspi/keystrokelistener.h:
1977 * libspi/keystrokelistener.c:
1978 Initial functional implementations of KeystrokeListener.
1981 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1983 Fixed string handling for NULL strings in libspi.
1984 Added spi_freeString to free strings returned by C bindings.
1986 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1988 * libspi/keystrokelistener.h:
1989 * libspi/keystrokelistener.c:
1990 Began (no-op) implementations of KeystrokeListener
1992 * libspi/deviceeventcontroller.c:
1993 * libspi/deviceeventcontroller.h:
1994 Began creating implementations of DeviceEventController,
1995 to handle keystroke and mouse event listening and
1997 * libspi/accessible.c:
1998 Stubbed-in the implementations for
1999 Accessibility_Accessible_getState and
2000 Accessibility_Accessible_getRelationSet.
2001 * libspi/registry.c:
2002 Improved de-registration process and fixed some bugs,
2003 deregistration now works correctly.
2005 Added initialization of applications list (to NULL).
2007 Reduced speech compression from 0.5 to 0.7, for demo.
2008 Changed call to gdk_window_set_decorations()
2009 to gtk_window_set_decorated().
2010 * at-bridge/bridge.c:
2011 Bridge now deregisters when app exits, via
2012 registration of a cleanup function
2013 with the g_atexit() call.
2014 Required making 'app' static, renamed 'this_app'.
2015 Fixed broken use of bonobo_init, passing argv wrongly.
2017 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2021 Created a new directory for
2022 accessibility-related utilities, primarily for
2023 testing and demo purposes, but with possible
2030 Onscreen magnifier utility that
2031 is implemented as a bonobo service.
2033 * util/mag_client.c:
2034 * util/mag_client.h:
2035 Client-side support (simple C bindings)
2036 for Magnification service
2038 * util/mag_control.c:
2039 Client program example for
2040 Magnification service
2042 * util/Accessibility_Magnifier.server.in:
2043 Bonobo-activation file for the
2044 Magnification service.
2047 * util/idl/Magnifier.idl:
2048 IDL defining the bonobo Magnification
2052 Modifications to use the bonobo-activated magnifier
2053 above, in place of trying to connect to an existing
2054 magnifier that uses socket-listening IPC.
2056 If env variable MAGNIFIER is set, a magnifier service
2057 will be started if one does not exist.
2059 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2060 * at-bridge/bridge.c:
2061 applied patch from Marc to build and run
2062 against new glib and gtk+ (seemed like a change
2063 to bonobo_init signature was made ?)
2065 made festival-server support turned off by default.
2066 Added support for a simple magnifier (off by default)
2067 which will be added to a 'util' directory later.
2068 * at-bridge/Makefile.am:
2069 Changed "application.h" header from a 'source'
2070 to a 'dependency' of libat-bridge.
2072 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2080 Added interface implementation c files to list of
2081 includes so they are included in libcspi.
2084 Changed prototype of AccessibleAction_doAction to return a
2086 Changed prototype of AccessibleTable_getCaption to
2087 return an Accessible.
2088 Changed prototype of AccessibleTable_getSelectedRows
2089 and AccessibleTable_getSelectedColumns to
2090 return a long (returns the number of selected rows
2091 or columns respectively).
2092 Changed name of AccessibleText_refRunAttributes to
2093 AccessibleText_getAttributes.
2094 Changed prototype of AccessibleText_getCharacterExtents to
2095 return a void rather than a boolean.
2096 Added support for a AccessibleCoordType parameter
2097 specifying what type of coordinates are desired.
2098 Added an AccessibleCordType parameter to
2099 AccessibleText_getPointAtOffset.
2101 * cspi/spi_accessible.c:
2102 Added code to return the outstanding interfaces from
2103 Accessible_queryInterface.
2105 * cspi/spi_action.c:
2107 Corrected call to getNActions to call the c binding
2110 * cspi/spi_editabletext.c:
2112 Changed name from setRunAttributes to setAttributes.
2114 * cspi/spi_hyperlink.c:
2116 Changed call to getNAnchors to correctly call the c
2117 binding for an attribute.
2119 * cspi/spi_hypertext.c:
2121 Changed getImageDescription to correctly call the
2122 binding for an attribute.
2124 * cspi/spi_selection.c:
2125 Changed getNSelectedChildren to correctly call the c
2126 binding for the attribute.
2127 Changed refSelectedChild to getSelectedChild.
2131 Changed getCaption to return an Accessible.
2132 Fixed calls which retrieve attributes.
2133 Changed refAt to getAccessibleAt.
2134 Changed getNSelectedRows and getNSelectedColumns to
2138 Changed getCharacterExtents and getPointAtOffset to accept an
2139 AccessibleCoordType.
2141 Changed calls which retrieve attributes.
2142 Changed refRunAttributes to getAttributes.
2147 * idl/Hyperlink.idl:
2148 Changed n_anchors attribute to nAnchors to keep naming
2149 convention consistent.
2152 Made Table inherit from Bonobo::Unknown.
2153 Added nSelectedColumns and nSelectedRows attributes.
2156 Made Value inherit from Bonobo::Unknown.
2158 * libspi/hyperlink.c:
2159 Change for nAnchors attributte name change.
2161 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2169 Added interface implementation c files to list of
2170 includes so they are included in libcspi.
2173 Changed prototype of AccessibleAction_doAction to return a
2175 Changed prototype of AccessibleTable_getCaption to
2176 return an Accessible.
2177 Changed prototype of AccessibleTable_getSelectedRows
2178 and AccessibleTable_getSelectedColumns to
2179 return a long (returns the number of selected rows
2180 or columns respectively).
2181 Changed name of AccessibleText_refRunAttributes to
2182 AccessibleText_getAttributes.
2183 Changed prototype of AccessibleText_getCharacterExtents to
2184 return a void rather than a boolean.
2185 Added support for a AccessibleCoordType parameter
2186 specifying what type of coordinates are desired.
2187 Added an AccessibleCordType parameter to
2188 AccessibleText_getPointAtOffset.
2190 * cspi/spi_accessible.c:
2191 Added code to return the outstanding interfaces from
2192 Accessible_queryInterface.
2194 * cspi/spi_action.c:
2196 Corrected call to getNActions to call the c binding
2199 * cspi/spi_editabletext.c:
2201 Changed name from setRunAttributes to setAttributes.
2203 * cspi/spi_hyperlink.c:
2205 Changed call to getNAnchors to correctly call the c
2206 binding for an attribute.
2208 * cspi/spi_hypertext.c:
2210 Changed getImageDescription to correctly call the
2211 binding for an attribute.
2213 * cspi/spi_selection.c:
2214 Changed getNSelectedChildren to correctly call the c
2215 binding for the attribute.
2216 Changed refSelectedChild to getSelectedChild.
2220 Changed getCaption to return an Accessible.
2221 Fixed calls which retrieve attributes.
2222 Changed refAt to getAccessibleAt.
2223 Changed getNSelectedRows and getNSelectedColumns to
2227 Changed getCharacterExtents and getPointAtOffset to accept an
2228 AccessibleCoordType.
2230 Changed calls which retrieve attributes.
2231 Changed refRunAttributes to getAttributes.
2236 * idl/Hyperlink.idl:
2237 Changed n_anchors attribute to nAnchors to keep naming
2238 convention consistent.
2241 Made Table inherit from Bonobo::Unknown.
2242 Added nSelectedColumns and nSelectedRows attributes.
2245 Made Value inherit from Bonobo::Unknown.
2247 * libspi/hyperlink.c:
2248 Change for nAnchors attributte name change.
2251 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2253 implementations-- made server implementations own AtkObject pointers
2254 rather than their respective AtkInterrface pointers to fix
2255 refcounting. AtkHyperlink is still broken.
2257 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2258 * cspi/spi_accessible.c:
2259 Added method Accessible_Role_getName(),
2260 and requisite string array (role_names).
2261 Added conversion string_from_corba_strin() call
2262 to Accessible_getName and _getDescription.
2263 * libspi/accessible.c:
2264 Added implementation for Accessible_getRole()
2266 Added festival support, used if environment variable
2269 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2271 * at-bridge/bridge.c:
2272 Now allocate Accessibility_Event using
2273 Accessibility_Event__alloc() instead of g_new0().
2274 * libspi/accessibleeventlistener.c:
2275 Initialize AccessibleEventListener->callbacks to NULL.
2276 Fixed accessible__event_listener_init() param, changed to
2277 "AccessibleEventListener *" type.
2278 Changed a bonobo_object_release_unref() call to
2279 Accessibility_Accessible_unref().
2280 * libspi/listener.c:
2281 Changed Bonobo_Unknown_unref to (equivalent)
2282 Accessibility_Accessible_unref.
2283 * libspi/registry.c:
2284 Changed bonobo_object_release_unref to
2285 Accessibility_Accessible_unref.
2287 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2290 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2291 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2292 spi-util.c spi-util.h
2293 Implementations for C bindings to remaining accessibility
2296 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2299 changed return value of Action from void to boolean to
2300 bring in line with ATK.
2303 Changed getText funcions to return "out" start and end offsets.
2304 Changed getAttributes to take and offset and return the start
2305 and end offset of the attribute run.
2306 Changed getOffsetAtPoint and getCharacterExtents to take an
2307 enum describing whether coordinates are window or screen.
2310 libspi/action.c libspi/action.h libspi/editabletext.c
2311 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2312 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2313 libspi/image.h libspi/selection.c libspi/selection.h
2314 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2315 libspi/value.c libspi/value.h
2316 Added server implementations for outstanding ATK interfaces
2317 not yet implemented.
2319 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2322 Added (missing) getName() method.
2323 Made nActions an attribute.
2324 * idl/EditableText.idl:
2325 Changed order of params in setAttributes.
2326 * idl/Hyperlink.idl:
2327 Removed getAnchor, added getURI.
2329 Changed attributes to methods, for efficiency
2330 (so that getting extents can be done in one call)
2331 * idl/Selection.idl:
2332 Changed nSelectedChildren to attribute, and re-indented.
2333 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2335 * idl/Text.idl: reformatted to match our coding style.
2336 (temporarily?) removed getRowColumnAtOffset().
2337 Changed text selection API to support multi-select and
2338 non-contiguous selections, as in ATK.
2339 * idl/Value.idl: changed some methods to attributes.
2341 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2343 * libspi/listener.c(impl_notify_event):
2344 BonoboUnkown_unref the source instead
2345 of bonobo_object_release_unref - the ORB
2346 handles the releasing.
2348 * configure.in: require ORBit-2.3.94 for
2351 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2353 Tagged CVS repository 'EA_1_0'.
2354 * README.EARLY_ACCESS:
2355 Alphabetized acknowledgements list, and
2357 Listed some known dependencies of at-spi.
2359 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2361 * docs/at-spi-docs.sgml:
2362 * docs/at-spi-sections.txt:
2363 * docs/at-spi-overrides.txt: (Added zero-length file)
2364 Documentation improvements - gtk-doc should build
2365 docs for all implemented C bindings now.
2368 * cspi/spi.c: (New file)
2369 * cspi/spi_event.c: (New file)
2370 * cspi/spi_registry.c: (New file)
2371 * cspi/spi_accessible.c: (New file)
2372 * cspi/spi_application.c: (New file)
2373 * cspi/spi_component.c: (New file)
2374 Split spi_main.c into six parts, and included them from
2375 "spi.c". This is a bit of a hack, probably temporary,
2376 but required by gtk-doc, apparently.
2378 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2381 * docs/at-spi-docs.sgml:
2382 * docs/at-spi-sections.txt:
2384 Initial checkins/modifications for gtk-doc generation.
2387 Added (missing) interface query methods to Accessible's C binding.
2389 Added GenericInterface type definition.
2391 Added query for AccessibleComponent interface to focus event handler.
2392 Added printout of bounding box for focussed component.
2393 * libspi/component.c:
2394 Added partial implementation for AccessibleComponent to C binding.
2395 * idl/Application.idl:
2396 * libspi/registry.c:
2397 * libspi/listener.c:
2398 * libspi/application.c:
2399 * libspi/application.h:
2400 Changed "ID" attribute type from string to long.
2402 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2406 Made method naming consistent: methods taking object args
2407 start with uppercase, other methods (except those using
2408 acronyms) start with lowercase. Underscores delimit between
2409 object names and method names:
2410 SPI_init() - uppercase since it starts with an acronym.
2411 getDesktopCount () - lowercase start since no object param0.
2412 Accessible_getName() - uppercase object type name, studlyCaps method
2416 Added gtk-doc documentation for all currently implemented
2417 methods in the C bindings API.
2419 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2421 * Makefile.am : changed build order to build test last.
2424 Changed "createEventListener" to "CreateEventListener".
2425 * libspi/accessibleeventlistener.c :
2426 Bugfix for addition of callbacks.
2427 * test/Makefile.am :
2428 * test/simple-at.c :
2429 Added new test that uses the C bindings API.
2431 * libspi/listener.c :
2432 * libspi/registry.c :
2433 * libspi/accessibleeventlistener.c :
2434 * at-bridge/bridge.c :
2435 Renamed member "target" of Accessibility_Event to "source",
2436 which is more descriptive.
2439 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2443 * cspi/Makefile.am :
2444 Added makefile support for at-spi/cspi directory.
2447 * cspi/spi-listener.h : (NEW FILE)
2448 Added support for/use of spi-listener.h.
2450 C bindings now build successfully, with no warnings.
2451 * libspi/accessibleeventlistener.h : (NEW FILE)
2452 * libspi/accessibleeventlistener.c : (NEW FILE)
2453 * libspi/Makefile.am :
2454 Added new object type "AccessibleEventListener"
2455 which inherits from Listener, and allows attachment
2456 of in-process callbacks (so that a client with a listening
2457 object instance can add functionality to the local
2458 implementation, dynamically).
2460 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2462 * libspi/accessible.c:
2463 Add implementation for get_index_in_parent().
2465 Added #include of "spi-roletypes.h", and
2466 added enumerated type AccessibleCoordType.
2467 Added definition for KeystrokeListener (function type).
2470 * cspi/spi-statetypes.h :
2471 * cspi/spi-roletypes.h :
2473 Added these headers, used by spi.h.
2475 Added code (NOTE: not yet built by make).
2477 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2479 * libspi/Makefile.am: generate imodule
2480 at the same time as other idl compiler
2483 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2484 * libspi/registry.c :
2485 * libspi/application.c :
2486 * idl/Application.idl :
2487 Made registration with toolkit an application method,
2488 which is required since each app has its own toolkit static
2489 environment. Thus the bridge must register for
2490 notification of toolkit events from each application in turn.
2491 Toolkit notifications are now successfully registered for, and
2492 sent to the listening at client.
2494 Changed toolkit event string to use hyphens rather than underscores.
2495 * libspi/listener.c :
2496 listner now gives more info in debug mode - it reports the
2497 name of the event received, as well as the name of the source.
2500 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2502 * libspi/registry.c :
2503 added more implementation for toolkit events.
2504 Fixed bug such that toolkit event registrations
2505 (via atk) use the whole event name string, not
2507 Removed a useless call to an ORBit_ method.
2508 * at-bridge/bridge.c :
2509 Removed unused local sbuf[] variable.
2511 We now register for Gtk:GtkWidget:button_press_event
2512 events as well as "focus:" events.
2514 Add some more API from Registry.idl that was missing,
2515 for keystroke listening, keystroke and mouse event
2516 synthesis, and enumeration of accessible desktops.
2518 2001-08-16 Michael Meeks <michael@ximian.com>
2520 * configure.in: use AM_GLIB_GNU_GETTEXT.
2522 * Makefile.am (SUBDIRS): kill intl.
2524 2001-08-15 Michael Meeks <michael@ximian.com>
2526 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2528 * configure.in: upd.
2530 * configure.in: depend on a recent bonobo-activation that
2531 will find our server files ...
2533 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2535 * libspi/accessible.c : accessible_new() :
2536 Now we add the Component interface via bonobo_object_add_interface,
2537 if the contained AtkObject implements AtkComponent.
2538 * libspi/accessible.h : now include "component.h"
2539 * libspi/component.h :
2540 * libspi/component.c : added files - implementation of
2541 bonobo wrapper object for Accessibility/Component
2542 * libspi/listener.c :
2543 Added test code to check for Accessibility/Component:1.0
2544 interface and report whether it is implemented by the
2546 * libspi/registry.c :
2547 Now we check for not only the hash of the whole event
2548 string before relaying the event, we also check the
2549 "minor" event string (without the detail string).
2550 This allows event listeners to be registered against
2551 all events of a certain major+minor type, or just
2552 against a specific major+minor+detail type.
2553 * libspi/accessible.c :
2554 Added implementations for Accessible:get_parent(),
2555 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2556 * libspi/registry.c :
2557 * libspi/listener.c :
2558 Replaced calls to Accessibility_Accessible_ref() and
2559 Accessibility_Accessible_unref() with
2560 calls to bonobo_object_dup_ref() and
2561 bonobo_object_release_unref(), so that the CORBA object
2562 is dup-ed and released when relayed, as well as the bonobo object.
2564 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2566 * libspi/Makefile.am,
2567 registryd/Makefile.am,
2568 at-bridge/Makefile.am.
2569 test/Makefile.am, configure.in:
2570 reverse previous changes.
2572 * /idl/Image.idl: fix typo.
2574 * test/Makefile.am: put DEBUG_FLAGS
2577 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2579 * test/app.c: use argv[0] instead of
2582 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2584 * libspi/Makefile.am,
2585 registryd/Makefile.am,
2586 at-bridge/Makefile.am.
2587 test/Makefile.am, configure.in:
2588 cleanup, replace individual LIBS/CFLAGS with
2589 AT_COMMON_{LIBS|CFLAGS}.
2593 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2595 * configure.in, libspi/Makefile.am:
2596 Change IDL path checking for bonobo-activation
2599 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2601 * registryd/registry.c : separated event listeners to use
2602 3 separate lists (focus, window, toolkit). Began testing
2603 event names against hashes before relaying events.
2604 * test/at.c : now register for events of type "focus:"
2605 * test/app.c : now generate events of type "focus:"
2606 * at-bridge/bridge.c : register with ATK for focus events,
2607 and we now relay those focus events to any "focus:" listeners.
2608 This now works with the bridge as a GTK_MODULE when running test/at.
2609 * libspi/registry.c :
2610 * libspi/listener.c :
2611 now we ref event sources before propagating, and unref on receipt.
2612 * libspi/registry.c :
2613 some changes to internal structs, to support event typestring hashes.
2614 * text/app.c : changed the way the appname is generated.
2615 * cspi : added directory that will hold the C bindings library for
2616 non-CORBA/bonobo-savvy clients.
2617 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2618 * idl/Component.idl : added in parameter to indicate coord system for
2619 geometry-related calls.
2620 * idl/Hyperlink.idl : added readonly n_links attribute
2621 * idl/Image.idl : changed methods to attributes.
2623 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2625 * at-bridge/Makefile.am: link against
2626 ../libspi/libspi.la instead of -lspi.
2628 * at-spi/test/app.c: include
2629 bonobo-activation.h. Use a default appname
2630 if one is not provided.
2632 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2634 * idl/Registry.idl : temporarily changed register_Application
2635 to oneway, to work around issue with initial registration
2637 * idl/Application.idl : changed attribute "id" from readonly
2638 to read-write, since it needs to be assigned by Registry.
2639 * registryd/registryd.c : added call to set application id
2641 * registryd/registry.c : changed de-registration procedure to
2642 use CORBA_Object_hash() to find matching object ref in application
2643 lists and listener lists.
2644 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2645 began distinguishing between event types (work in progress).
2647 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2650 * libspi/application.c:
2651 Added implementations for get/set id, get_toolkitName,
2653 * registryd/registryd.c :
2657 Converted from use of OAF to bonobo-activation.
2658 * libspi/desktop.h :
2659 * libspi/desktop.c :
2661 Removed references to atksimpleobject, since base atkobject
2662 implementation now provides functionality we need.
2663 * libspi/atksimpleobject.c :
2664 * libspi/atksimpleobject.h :
2669 * at-bridge/Makefile.am
2670 * at-bridge/bridge.c
2673 Added directory "bridge" and contents, and added dependencies
2674 in Makefile.am/configure.in.
2675 Initial checkin of "at-bridge".
2676 This code is a GTK_MODULE which automatically registers
2677 GTK+ apps with the accessibility registry, using an object
2678 reference to the root ATK object.
2680 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2682 * po/Makefile.in.in: Remove. Again. If this
2683 doesn't get autogenerated - you need to update
2686 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2688 * po/Makefile.in.in: Add. Again.
2690 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2692 * libspi/accessible.c : added support for 'description' property.
2693 * libspi/accessible.c
2695 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2696 (since the two are now equivalent in libbonobo)
2704 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2705 Bonobo::Unknown as does Accessibility::Accessible.
2706 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2707 interface with Bonobo::Stream, since it was redundant with it.
2708 (The Stream returned by a StreamableContext object is expected to
2709 implement only a subset of Bonobo::Stream)
2711 2001-07-28 Anders Carlsson <andersca@gnome.org>
2713 * libspi/accessible.c (accessible_object_finalize): Change
2714 g_free to g_object_unref since the AtkObject is a GObject.
2716 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2718 * idl/Accessibility.idl: add new IDL files
2721 * idl/Action.idl: Definitions of actionable UI object
2722 * idl/Component.idl: Definitions of UI component geometry, etc.
2723 * idl/Hyperlink.idl: Defs of hyperlink behavior
2724 * idl/Image.idl: Def of accessible image
2725 * idl/Selection.idl: Definition of UI object with selectable children
2726 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2727 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2728 * idl/Text.idl: Interface defs for UI elements with complex textual content
2729 * idl/Value.idl: Definition of UI element that is a value controller or display
2731 2001-07-27 Michael Meeks <michael@ximian.com>
2733 * po/Makefile.in.in: remove autogenerated file from CVS.
2735 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2738 * idl/Registry.idl: include guard.
2740 * idl/Accessibility.idl: Add, and include all the other IDL
2743 * idl/*.idl: remove mass of pragmas etc.
2745 2001-07-26 Michael Meeks <michael@ximian.com>
2747 * registryd/Makefile.am (registryd_SOURCES): remove
2750 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2752 * libspi/.cvsignore, registryd/.cvsignore,
2753 test/.cvsignore: updated.
2755 * po/Makefile.in.in: gettext update.
2757 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2759 * initial CVS checkin
2761 2001-06-29 Michael Meeks <michael@ximian.com>
2763 * configure.in: add AM_CONFIG_HEADER to gen config.h