1 2001-12-11 Michael Meeks <michael@ximian.com>
3 * cspi/bonobo/cspi-bonobo-listener.c:
4 (cspi_kestroke_listener_unref),
5 (cspi_event_listener_unref): impl. undoing previous
6 homenous environment - for Bill.
8 * cspi/spi_table.c (long_seq_to_array): use
11 * cspi/spi_main.c: split out all bonoboish bits into
14 * cspi/spi-impl.h: upd. typedefs.
16 * cspi/spi_registry.c: update to lowlevel API,
17 return booleans to indicate success in some places.
19 * cspi/spi_event.c: update to lowlevel API.
21 * cspi/bonobo/Makefile.am: add.
23 * cspi/bonobo/cspi-lowlevel.h: add
25 * cspi/bonobo/cspi-bonobo.c: add
27 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
29 * cspi/Makefile.am: remove spi-listener-impl.[ch],
30 (SUBDIRS): add bonobo, link in the libs.
32 * cspi/spi-util.c: kill this file.
34 * TODO: merge in my bits.
36 2001-12-11 Michael Meeks <michael@ximian.com>
38 * test/test-simple.c (test_value, test_table, main):
39 remove unused variables causing warnings.
41 * configure.in: cleanup checks - require gail.
43 2001-12-11 Bill Haneman <bill.haneman@sun.com>
46 Changed Value interface to use SValue (scalars) rather than
47 assuming all values are floats. This allows floats, doubles,
48 longs, shorts, and unsigned values to be manipulated.
49 Introduced Accessibility:SValue union.
52 Updated to use new API above, and to work correctly with GValues
53 of different types in AtkValue.
56 Updated to use new API above. cspi's API is as yet unchanged.
59 Updated the Value revision action item.
61 2001-12-10 Bill Haneman <bill.haneman@sun.com>
64 Added test_table (GtkTreeView widget in test window to follow).
65 Un-commented test_value, added GtkRange widget.
66 Added GtkTreeView widget with GtkListStore. It passes regression
67 test but leaks one SPI object for some reason.
70 Fixed bug in impl__set_currentValue.
72 2001-12-10 Michael Meeks <michael@ximian.com>
74 * cspi/spi_text.c: audit for exception handling,
75 tolerating NULL object references safely etc.
77 * cspi/spi_value.c: ditto.
79 * cspi/spi_table.c (AccessibleTable_getSummary),
80 (AccessibleTable_getAccessibleAt),
81 (AccessibleTable_getRowHeader),
82 (AccessibleTable_getColumnHeader),
83 (AccessibleTable_getCaption): fix bugs hidden by
85 (long_seq_to_array): impl.
86 (AccessibleTable_getSelectedRows),
87 (AccessibleTable_getSelectedColumns): use it.
89 2001-12-10 Bill Haneman <bill.haneman@sun.com>
92 Added a TODO list (rough and short for now).
94 * cspi/spi_hyperlink.c:
95 * cspi/spi_hypertext.c:
96 Fixed macro name typos, and remove use of obsolete macro in
97 AccessibleHyperlink_getLink.
100 * cspi/spi_accessible.c:
101 * cspi/spi_application.c:
102 * cspi/spi_component.c:
103 * cspi/spi_selection.c:
106 Documentation fixes (removed return values from ref/unref methods).
108 2001-12-10 Michael Meeks <michael@ximian.com>
110 * cspi/spi_action.c: audit for exception handling,
111 tolerating NULL object references safely etc.
113 * cspi/spi_accessible.c: ditto.
115 * cspi/spi_component.c: ditto.
117 * cspi/spi_editabletext.c: ditto.
119 * cspi/spi_hyperlink.c: ditto.
121 * cspi/spi_hypertext.c: ditto.
123 * cspi/spi_image.c: ditto.
125 * cspi/spi_selection.c: ditto.
127 2001-12-10 Michael Meeks <michael@ximian.com>
129 * configure.in: use cspi/libspi.pc.in instead.
131 * Makefile.am (pkgconfig_DATA): upd. to match.
133 * test/simple-at.c (report_focus_event): kill hacks around
134 bad return values, use putenv not setenv
136 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
137 fire ChildGone - I killed it.
140 (impl_accessibility_component_get_extents): remove
143 * idl/Accessible.idl: kill ChildGone exception.
145 * cspi/*.[ch]: kill int return from ref / unref.
147 * cspi/spi_main.c (cspi_object_add_check): fold into
148 (cspi_object_add): here.
150 * cspi/spi_component.c (AccessibleComponent_getExtents):
151 handle exceptions elegantly.
153 * cspi/spi-private.h (cspi_check_ev_return),
154 (cspi_return_if_fail): impl.
156 * cspi/spi_accessible.c: use extensively.
157 (AccessibleStateSet_equals): add direct compare check.
159 * cspi/spi_selection.c: tolerate NULL objs, and check
160 exceptions before return.
162 * cspi/spi-util.c (cspi_warn_ev): rename to
163 (cspi_check_ev): this & don't pass ev in; no point.
165 2001-12-10 Michael Meeks <michael@ximian.com>
167 * test/test-simple.c: use putenv not setenv
168 (get_environment_vars): more chatty if you're not using
171 * test/simple-at.c: do the setenv so more people see the
174 2001-12-10 Bill Haneman <bill.haneman@sun.com>
177 Changed check of CORBA_environment on notification to be a warning
178 instead of an error for the moment, since we can recover from this
179 error when caused by a queued notification from a dead app.
182 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
183 used by all current implementors of AtkValue), and coerce to
184 CORBA_float. (Proper general case fix may require change to Value.idl).
186 2001-12-09 Bill Haneman <bill.haneman@sun.com>
190 * cspi/spi_accessible.c:
191 Documentation fixes: added user_data params to documentation for
192 listeners and callbacks.
194 * cspi/spi_accessible.c:
195 Changed AccessibleStateSet_compare to return a
196 StateSet rather than return the difference set into a third parameter.
199 2001-12-09 Bill Haneman <bill.haneman@sun.com>
202 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
203 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
207 Remove subdirectory po from SUBDIRS for now.
209 * at-bridge/bridge.c:
210 Beefed up a couple of debug printouts.
211 One-line fix for signal notification name formatting.
213 * libspi/accessible.c:
214 Added assertion to spi_accessible_new ().
216 * libspi/application.c:
217 Put #ifdef qualifiers around a printf.
220 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
222 * registryd/Makefile.am:
224 Replaces use of XML_I18N_MERGE_SERVER_RULE with
225 INTLTOOL_SERVER_RULE macro.
228 Added an event listener for several ATK signals, for
229 testing and debugging. Removed a few g_warnings.
230 Added test output if focussed item implements the Value interface.
232 * test/test-simple.c:
233 Added test_value () function (known not to pass at the moment, so
234 not actually called yet.
236 2001-12-08 Michael Meeks <michael@ximian.com>
238 * at-bridge/bridge.c (bridge_focus_tracker),
239 (emit_eventv): fix the same ref. leak.
240 (register_atk_event_listeners): don't leak.
242 * cspi/spi-listener-impl.c (cspi_event): more
243 protection from client code.
245 * test/test-simple.c (test_desktop): unref the app.
247 * test/Makefile.am: upd. TESTS.
249 * at-bridge/bridge.c (bridge_exit_func): release the registry.
251 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
253 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
255 * cspi/spi_registry.c: constify in strings.
256 (deregisterGlobalEventListenerAll): don't release the ref.
258 * cspi/spi.h: start removing redundant / conflicting
259 gtkdoc comments, making the API readable at a glance :-)
261 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
263 * test/keysynth-demo.c (keysynth_exit, main): upd.
265 * test/simple-at.c (main, simple_at_exit): upd.
267 * test/test-simple.c (unutterable_horror): kill.
268 (utterable_normal_derefs): kill.
269 (main): upd & do a setenv before gtk_init, so that we
270 can use memprof - and to save the pain of remembering
271 this, if we're running under memprof - don't exit.
273 * cspi/spi_main.c (SPI_exit): return exit status
275 (SPI_event_quit): impl.
276 (SPI_event_main): simplify.
277 (cspi_is_gnome_app): kill.
278 (SPI_init): kill isGNOMEapp arg.
280 * at-bridge/bridge.c (register_atk_event_listeners):
281 re-instate the unref.
282 (bridge_exit_func): don't re-activate the registry,
283 protect vs. theoretical re-entry, use the
284 AT_BRIDGE_SHUTDOWN env. var to determine whether to
285 assert a clean shutdown - for regression tests.
287 2001-12-08 Abel Cheung <maddog@linux.org.hk>
289 * configure.in: Comment out dummy i18n support for now,
290 otherwise it fails to build.
291 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
292 EXTRA_DIST. They are missing in tarball.
294 2001-12-07 Michael Meeks <michael@ximian.com>
296 * util/magnifier.c: kill bonobo activation reg. race.
299 (impl_accessibility_component_get_extents): make it match
302 * libspi/registry.c (_registry_notify_listeners):
303 re-remove X headers & reconcile conflicts.
304 (spi_listener_struct_free): bad conflict resolve.
305 (impl_accessibility_registry_register_application):
306 more bad merging fixed.
307 (impl_accessibility_registry_deregister_application): ditto.
308 (spi_registry_new): ditto.
309 (spi_registry_init): don't have an applications field.
311 [ merge fixups2 branch to here ]
312 2001-12-07 Michael Meeks <michael@ximian.com>
314 * test/simple-at.c (report_focus_event),
315 (report_focussed_accessible): remove g_warning debug.
317 2001-12-07 Michael Meeks <michael@ximian.com>
319 * test/test-simple.c (validate_tree): comment out some checks.
320 (test_desktop): app now not registered idly - horay.
322 2001-12-07 Michael Meeks <michael@ximian.com>
324 * cspi/spi_registry.c
325 (registerAccessibleKeystrokeListener): clean, stop it leaking
326 great swathes of memory, and device event controller references.
327 ensure we always pass valid sequences.
328 (deregisterAccessibleKeystrokeListener): ditto.
329 (generateKeyEvent): upd.
331 * at-bridge/bridge.c (bridge_key_listener): handle
332 registry dead exception gracefully.
333 (bridge_focus_tracker, emit_eventv): free ev.
335 * test/simple-at.c (report_focus_event): fix polarity.
337 * libspi/application.c (notify_listeners): kill the ev
338 argument, and make sure we init the ev we use.
339 (spi_application_object_event_listener): split out a chunk
340 (get_atk_object_ref): here & fixup.
341 (reverse_lookup_name_for_toolkit_event): make const.
342 (spi_application_toolkit_event_listener): fixup, kill leaks
345 * at-bridge/bridge.c (register_atk_event_listeners):
346 don't unref the noop object - causes grief.
348 * libspi/registry.c: remove the X headers.
349 turn off the debug churn.
351 * libspi/accessible.c (spi_accessible_new_return): only
352 release the ref if we are supposed to [doh]
354 * test/simple-at.c (report_button_press, report_focus_event):
355 guard vs. unexpected exit.
357 * at-bridge/bridge.c (gtk_module_init): prune printf.
358 (bridge_exit_func): fix app unref.
360 * libspi/Makefile.am: don't install registry or desktop.h
362 * libspi/*.h: update includes.
364 * libspi/application.h: don't include ourself, or
365 other redundant headers.
367 2001-12-06 Michael Meeks <michael@ximian.com>
369 * libspi/accessible.c
370 (get_accessible_from_servant): impl.
371 Upd. all CORBA impl.s to use it killing cut and paste.
373 * cspi/spi_main.c (cspi_cleanup): guard vs. double
375 (SPI_init): register atexit cleanup handler here.
377 2001-12-06 Michael Meeks <michael@ximian.com>
379 * at-bridge/bridge.c (gtk_module_init): g_error on
382 2001-12-06 Michael Meeks <michael@ximian.com>
384 * at-bridge/bridge.c (gtk_module_init): some sort of
385 confusing merge clash - reverted.
386 (bridge_idle_init): ditto.
388 * test/test-simple.c (main, utterable_normal_derefs):
389 merge from Bill - somehow not committed.
391 2001-12-06 Michael Meeks <michael@ximian.com>
393 * libspi/value.c (spi_value_class_init): upd.
394 (spi_value_finalize): kill.
396 * libspi/table.c (spi_table_finalize): kill.
397 (spi_table_interface_new): upd.
398 (spi_table_class_init): upd.
399 (get_table_from_servant): impl.
400 Upd. all CORBA impl.s to use it killing yet more cut and paste.
402 * libspi/selection.c (spi_selection_finalize): kill.
403 (spi_selection_interface_new): upd.
404 (spi_selection_class_init): upd.
405 (get_selection_from_servant): impl.
406 Upd. all CORBA impl.s to use it killing yet more cut and paste.
408 * libspi/relation.c (spi_relation_finalize): kill.
409 (spi_relation_class_init, spi_relation_new): upd
411 * libspi/image.c (spi_image_finalize): kill.
412 (spi_image_class_init): upd.
413 (spi_image_interface_new): upd.
414 (get_image_from_servant): impl.
415 Upd. all CORBA impl.s to use it killing yet more cut and paste.
417 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
418 (spi_hyperlink_finalize): kill.
419 (spi_hyperlink_new): upd.
420 (get_hyperlink_from_servant): impl.
421 Upd. all CORBA impl.s to use it killing yet more cut and paste.
423 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
424 (spi_hypertext_finalize): kill.
425 (spi_hypertext_class_init): upd.
426 (get_hypertext_from_servant): impl.
427 Upd. all CORBA impl.s to use it killing yet more cut and paste.
429 * libspi/editabletext.c (spi_editable_text_finalize): kill.
430 (spi_editable_text_interface_new): upd.
431 (get_editable_text_from_servant): impl.
432 Upd. all CORBA impl.s to use it killing yet more cut and paste.
434 * libspi/text.c (get_text_from_servant): impl.
435 All impls - update to use it killing more cut and paste,
436 also fix bad string returns on duff args ( a somewhat
437 impossible case to handle - but hey ).
438 (spi_text_construct): impl.
439 (spi_text_interface_new): upd.
440 (spi_text_object_finalize): kill.
443 (accessibility_component_object_finalize): kill.
444 (spi_component_class_init): upd.
445 (get_component_from_servant): impl. helper to kill cut & paste.
446 (impl_accessibility_component_contains):
447 (impl_accessibility_component_get_accessible_at_point):
448 (impl_accessibility_component_get_position):
449 (impl_accessibility_component_get_extents):
450 (impl_accessibility_component_get_mdi_z_order):
451 (impl_accessibility_component_get_layer):
452 (spi_component_interface_new): upd.
454 * libspi/action.c (spi_action_finalize): kill.
455 (spi_action_class_init): upd. inherit from SpiObject.
456 (spi_action_interface_new): upd.
457 (get_action_from_servant): impl. helper to reduce cut & paste.
458 (impl_getKeyBinding, impl_getName, impl_doAction),
459 (impl_getDescription): Use it everywhere.
461 * cspi/spi_main.c (get_live_refs): a pointer hash.
462 (spi_object_hash, spi_object_equal): comment out.
463 There are issues with CORBA object hashing that need
466 * libspi/application.c (spi_application_init),
467 (spi_application_new): upd.
469 * libspi/accessible.c (spi_accessible_object_finalize): kill.
470 (spi_accessible_class_init): upd.
471 s/accessible/object/ in epv methods.
473 2001-12-05 Bill Haneman <bill.haneman@sun.com>
475 * at-bridge/bridge.c:
476 Reorder the bridge initialization into the bridge gtk_module_init,
477 an immediate call to bridge_register_app, and an idle_add for
478 register_atk_event_listeners (the only code that *must* wait until
479 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
480 the activation, creates the application's Accessible object, and
481 queues the bridge_idle_init function. Restored call to
482 Accessibility_Registry_deregisterApplication().
483 Prior to making this call we obtain a new reference to the
484 registry, which is a temporary hack that helps us handle apps that
485 shut down the bonobo mainloop before we get there.
488 Fix string leakage in debug block, and don't segv if a an app
489 dies before its event notifications have been propagated.
492 Modify cspi_check_ev() to call g_warning() rather than g_error(),
493 as stopgap measure until we get proper exception handling when
494 objects die during or before interrogation.
498 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
499 Also changed default value of is_gnome_app to TRUE.
502 * test/keysynth-demo.c:
503 Changed use of SPI_init and SPI_event_main to reflect API change above.
506 Made report_focus_event check the warning value from getName
507 before reporting on focussed accessible; simplifies handling of
508 notifications from dead objects.
510 * test/test-simple.c: (Changes not in this patch since source is
513 2001-12-05 Michael Meeks <michael@ximian.com>
515 * registryd/registryd.c (main): protect against
516 bonobo-activation startup race condition.
518 * cspi/spi_main.c (cspi_object_add_check): cope
519 with the exception elegantly.
521 * idl/Accessible.idl: decl. ChildGone
523 * libspi/desktop.c (spi_desktop_dispose): impl.
524 (spi_desktop_class_init): upd.
525 (spi_desktop_add_application),
526 (spi_desktop_remove_application),
527 (abnormal_application_termination): impl.
528 (impl_desktop_get_child_at_index): re-impl.
531 (impl_accessibility_registry_deregister_application),
532 (impl_accessibility_registry_register_application):
533 kill excessive debug clutter.
535 * test/test-simple.c (test_misc): test some NULL
536 tolerance. (main): upd.
538 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
539 implements no interfaces - so let's not crash.
541 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
543 * libspi/accessible.c (spi_accessible_new_return): impl.
544 helper to calm the cut and paste, to cope with
545 NULL AtkObjects effectively and efficiently, and to kill
546 the referencing bugs.
548 * libspi/table.c (impl_getAccessibleAt),
549 (impl_getRowHeader, impl_getColumnHeader): upd.
551 * libspi/hyperlink.c (impl_getObject): upd.
553 * libspi/accessible.c
554 (impl_accessibility_accessible_get_child_at_index): upd.
557 (impl_accessibility_component_get_accessible_at_point): upd.
559 * test/test-simple.c (test_editable_text, test_text): impl.
562 * cspi/spi_editabletext.c
563 (AccessibleEditableText_insertText): constify.
565 * test/test-simple.c (focus_me): make more robust.
567 * libspi/accessible.c: remove some printfs in methods that
568 we test and work fine, so we can get a clean tree dump.
570 * test/test-simple.c (validate_accessible),
571 (validate_tree): make tree dumping pretty too.
573 * at-bridge/bridge.c (bridge_signal_listener): upd. so
574 it builds without debug on.
576 * test/test-simple.c (validate_accessible): fix the most
579 * cspi/spi_main.c (spi_object_release): leave the nicely
580 blanked memory around if in debug mode.
582 * cspi/spi-listener-impl.c (cspi_event): use add_check.
584 [committed to fixups2]
585 2001-12-05 Michael Meeks <michael@ximian.com>
587 * libspi/editabletext.c
588 (spi_editable_text_class_init): g_type_class_peek_parent,
589 not interface peek - so we finalize cleanly.
591 * libspi/accessible.c (spi_accessible_new): kill debug.
593 * test/test-simple.c (validate_accessible): fix ref.
594 leak, print strings before freeing them; sigh, comment a
595 chunk out due to strangeness.
596 (validate_tree): unref the child after use.
598 * cspi/spi_component.c (AccessibleComponent_getLayer):
599 add missing break statement, switch on zlayer not the
600 uninitialized retval.
602 * cspi/spi_main.c (cspi_object_add): add assert, local ref
603 before (possibly re-entering) remote unref.
605 * test/simple-at.c (main): unref the desktop.
607 * cspi/spi_accessible.c (cspi_accessible_is_a): move
610 * cspi/spi_main.c (cspi_accessible_is_a): here to
611 isolate bonobo API usage more.
613 * libspi/registry.c (impl_accessibility_registry_register_application):
616 2001-12-04 Michael Meeks <michael@ximian.com>
618 * test/test-simple.c (validate_tree): upd.
619 IndexInParent check to make it more lucid.
620 (validate_accessible): dump the tree.
622 * libspi/accessible.c (de_register_public_ref),
623 (get_public_refs): impl.
624 (spi_accessible_new): make more efficient & intuitive.
625 Now IndexInParent check works.
627 2001-12-04 Michael Meeks <michael@ximian.com>
629 * cspi/spi-util.h: remove.
631 * cspi/spi.h: move SPI_freeString here
633 * libspi/component.c (impl_accessibility_component_get_layer):
635 (impl_accessibility_component_get_mdi_z_order): ditto,
636 return -1 on error - is this ok ?
638 * test/test-simple.c (test_application): impl.
640 * cspi/spi_accessible.c (Accessible_getApplication),
641 (Accessible_isApplication): impl.
643 * libspi/registry.c (spi_listener_struct_free): release
644 the CORBA reference too.
646 * libspi/accessible.c
647 (impl_accessibility_accessible_get_parent): fix ref leak.
649 * libspi/registry.c (spi_registry_new): make the registry
650 immortal - we don't want it to go away ever.
652 * libspi/application.c
653 (spi_accessible_application_finalize): impl. cleanup.
655 * cspi/spi_registry.c
656 (deregisterGlobalEventListenerAll),
657 (deregisterGlobalEventListener),
658 (deregisterAccessibleKeystrokeListener): fix ref leak.
660 * cspi/spi_main.c (SPI_init): remove redundant ref.
662 * test/test-simple.c (unutterable_horror): impl. to force a
667 (impl_accessibility_registry_deregister_application): release
668 the application when we de-register it.
670 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
671 until we have the infastructure to get it right.
673 2001-12-03 Michael Meeks <michael@ximian.com>
675 * libspi/Makefile.am: only build eventlistener.[ch]
677 * libspi/accessible.c
678 (impl_accessibility_accessible_get_child_at_index): don't leak.
680 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
681 before we hit the idle handler.
683 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
686 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
688 * libspi/listener.c (impl_notify_event): check source
689 not NIL before unref.
691 * libspi/registry.c (impl_registry_notify_event): ditto.
693 * libspi/eventlistener.c
694 (impl_accessible_event_notify_event): unref the source.
696 * libspi/accessibleeventlistener.c
697 (impl_accessible_event_notify_event): unref the source.
699 * idl/Event.idl: remove 'hash_id' attribute - of no
702 * libspi/application.c (notify_listeners): upd list
704 (spi_application_object_event_listener),
705 (spi_application_toolkit_event_listener): upd to do correct
709 (_registry_notify_listeners): update.
710 (parse_event_type): this method also leaks like a sieve.
711 (impl_accessibility_registry_deregister_global_event_listener):
712 fix ETYPE_WINDOW case.
714 * libspi/application.c
715 (impl_accessibility_application_register_object_event_listener):
718 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
720 * libspi/hypertext.c (impl_getLink): ditto.
722 * cspi/spi_main.c (cspi_object_add): remove
723 bogus CORBA_Object_duplicate.
725 * cspi/spi-listener-impl.c (cspi_event): dup/ref
728 * cspi/spi_accessible.c
729 (Accessible_getRelationSet): fix leak / referencing issue.
731 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
732 (cspi_object_add, cspi_object_unref): upd.
733 (spi_object_release, get_live_refs): impl.
734 (cspi_cleanup): simplify.
736 * *.[ch]: s/boolean/SpiBoolean/
738 * cspi/spi_accessible.c (role_names): actualy order so it
739 corresponds with the enum !
741 * test/test-simple.c (test_roles): check some role strings
742 vs. enums to detect offset errors.
744 2001-12-01 Michael Meeks <michael@ximian.com>
746 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
748 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
750 (Accessible_getChildAtIndex): use cspi_add_check so we
751 check the ev before using a (possibly) invalid value.
753 * libspi/accessible.c
754 (impl_accessibility_accessible_get_parent): don't segv
757 * at-bridge/bridge.c (gtk_module_init): upd.
758 (bridge_property_event_listener): don't leak strings
760 (bridge_state_event_listener),
761 (bridge_property_event_listener): don't use a static
762 buffer in case of recursive event emission &
763 re-enterancy - split out the swathe of cut and paste
765 (emit_eventv): and fix 2 ref leaks here & comply to the
767 (bridge_register_app): rename to
768 (bridge_idle_init): this and kill arg parsing, split
769 various inits & bonobo-activation registration to module
770 init time, kill referencing error.
771 (bridge_exit_func): fix the same leak.
772 (bridge_focus_tracker): don't leak event structures
774 (bridge_signal_listener): more leakage and cut & paste
776 (bridge_key_listener): return the result - FIXME is
777 this polarity correct ?
778 (accessibility_keystroke_from_atk_key_event): rename
779 (accessibility_init_keystroke_from_atk_key_event): and stop
781 (gtk_module_init): return a value - not that it is checked by
783 (bridge_key_listener): register my horror at casting between
785 (bridge_get_registry): kill - not used.
787 * cspi/spi_accessible.c (Accessible_getRole): make return const.
789 * test/test-simple.c (test_roles): impl.
790 (test_desktop, validate_accessible, validate_tree): impl.
792 * cspi/spi_accessible.c (role_names): fixup bogus
793 MAX_ROLES setup, make constants const for efficient linkage
794 (AccessibleRole_getName): conform to coding style, make
797 2001-11-30 Michael Meeks <michael@ximian.com>
799 * cspi/spi.h: add missing prototype.
801 * libspi/registry.c (spi_listener_struct_new): fix sig.
803 * test/Makefile.am: add test-simple
805 * test/test-simple.c: add
809 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
811 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
812 do it straight - since otherwise we often get an activation race.
814 [ work before Bill duplicated a chunk of it ... ]
815 2001-11-30 Michael Meeks <michael@ximian.com>
817 * libspi/keystrokelistener.c
818 (spi_keystroke_listener_class_init): fixup arg
821 * libspi/eventlistener.c
822 (spi_event_listener_class_init): ditto.
824 * tests/test.sh: add.
826 * cspi/spi-listener-impl.h: update macros.
828 * cspi/spi-listener-impl.c
829 (cspi_event_listener_remove_callback): add
830 correct pre-conditions.
832 * cspi/spi_main.c (SPI_exit): guard vs. double
833 exits, exit the mainloop nicely.
834 (SPI_event_main): make more sense.
835 (SPI_init): move the atexit evilness here so we
837 (SPI_event_main): upd.
839 * test/simple-at.c: update for listener changes.
841 * registryd/registryd.c (main): prune kruft.
843 * libspi/libspi.h: upd.
845 * libspi/eventlistener.[ch]: rename broken macros.
847 * libspi/accessibleeventlistener.[ch]: remove.
849 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
851 * test/test-simple.c: Add - automated tests.
853 * cspi/spi-listener-impl.c (cspi_event),
854 (cspi_key_event): add user_data to invoke.
855 (cspi_keystroke_listener_finalize): impl.
856 (cspi_keystroke_listener_class_init): upd.
859 (createAccessibleEventListener),
860 (AccessibleEventListener_addCallback),
861 (createAccessibleKeystrokeListener),
862 (AccessibleKeystrokeListener_addCallback): upd.
864 * libspi/deviceeventcontroller.c
865 (spi_device_event_controller_check_key_event): add public proto.
868 (impl_accessibility_registry_deregister_global_event_listener):
869 always init listeners.
870 (_registry_notify_listeners): yes it is.
872 * cspi/spi-listener-impl.c (cspi_key_event):
874 (cspi_event_listener_finalize): impl.
875 (cspi_event_listener_class_init): hook up.
876 (event_handler_new, event_handler_free),
877 (event_list_remove_by_callback): impl.
878 (cspi_event_listener_remove_callback),
879 (cspi_keystroke_listener_remove_callback),
880 (cspi_keystroke_listener_add_callback),
881 (cspi_event_listener_add_callback): upd.
883 * libspi/keystrokelistener.c
884 (keystroke_listener_object_finalize): kill
885 (spi_keystroke_listener_class_init): upd.
886 (spi_keystroke_listener_add_callback),
887 (spi_keystroke_listener_remove_callback): kill,
889 (impl_key_event): prune drasticaly.
891 * libspi/eventlistener.c
892 (spi_event_listener_add_callback),
893 (spi_event_listener_remove_callback): kill, use
895 (impl_accessible_event_notify_event): upd.
896 (spi_event_listener_object_finalize): remove.
898 * libspi/Makefile.am: use eventlistener.[ch]
900 2001-12-04 Bill Haneman <bill.haneman@sun.com>
902 * libspi/registry.c (_registry_notify_listeners):
903 Changed listener loop iteration to use preferred convention.
904 Got rid of string memory leaks caused be calling g_strconcat
905 inside function calls.
907 * libspi/registry.c (parse_event_type):
908 Stopped g_strconcat memory leaks, free the g_strsplit return,
909 g_strdup the split pieces when used, etc.
911 2001-12-04 Bill Haneman <bill.haneman@sun.com>
914 Change method 'compare' to return a 'difference set' rather than
915 taking a StateSet as an out parameter (more Java-friendly).
917 * idl/Accessible.idl:
918 Added CORBA struct 'BoundingBox', to faciliate API changes below:
922 Changed methods 'getExtents' and 'getImageExtents' in these
923 interfaces to return a BoundingBox structure.
924 (getPosition and getSize are redundant and possibly should be
925 removed, rather than creating a corresponding Point struct.)
927 * cspi/spi_component.c:
928 Modify implementation of getExtents to reflect the above IDL
933 Add (missing) AccessibleImage_getExtents () API.
935 * docs/reference/cspi/at-spi-cspi-sections.txt:
936 Added AccessibleImage_getImageExtents () to docs.
938 2001-12-03 Bill Haneman <bill.haneman@sun.com>
941 Added two methods, getLayer () and getMDIZOrder (), to reflect
942 the new ATK methods atk_object_get_layer and
943 atk_object_get_mdi_z_order. (Which arguably should be part of the
944 AtkComponent API and AtkObject). Also added an enum,
945 ComponentLayer, for the first method's return value.
947 * libspi/component.c:
948 Added implementations for these methods.
950 * cspi/spi_component.c:
952 Added cspi binding methods for above,
953 AccessibleComponent_getLayer() and
954 AccessibleComponent_getMDIZOrder().
955 Added cspi enum 'AccessibleComponentLayer'.
957 * docs/reference/cspi/at-spi-cspi-sections.txt:
958 Added above methods to docs.
962 Changed typedef for 'boolean' type (and all references to it) to
963 SPIBoolean, to avoid keyword clashes with C++.
966 Changed usages of 'boolean' to SPIBoolean.
968 * test/keysynth-demo.c:
969 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
970 app), except where SPIBoolean is required by the callbacks API.
972 2001-12-02 Bill Haneman <bill.haneman@sun.com>
974 * cspi/spi_registry.c:
975 Removed obsolete X event loop for passive keygrabs (which now
978 * registryd/registryd.c:
979 Removed unnecessary call to gdk_init() [cruft]. This also allows
980 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
983 2001-11-28 Bill Haneman <bill.haneman@sun.com>
985 * docs/reference/cspi:
986 Included docs for SPI_freeString in generated documentation.
989 Renamed spi_freeString to SPI_freeString, for consistency. Added
990 documentation for this function.
993 Renamed spi_freeString to SPI_freeString, for consistency.
994 Removed obsolete method declaration string_from_corba_string.
996 * test/keysynth-demo.c:
997 Small tweak to comments.
1000 Stopped leaking the strings returned from CSPI.
1002 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1004 Merged Michael's branch (see his ChangeLog entries below).
1006 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1007 bridge is alive, release on exit.
1009 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1010 Fix type check macro.
1013 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1016 Added is_gnome_app static, and method cspi_is_gnome_app(),
1017 so we can call the appropriate shutdown routine at exit in SPI_exit.
1019 * cspi/spi_main.c (cspi_object_ref):
1020 Duplicate the corba object passed in, since we're keeping it around.
1022 * cspi/SPI_exit.c, cspi_cleanup:
1023 Moved the releasing of the live refs to its own function, so we
1024 can put it in g_atexit (). Call the appropriate shutdown API
1025 depending on whethe calling client is a gnome app or not
1026 (bonobo_main_quit or CORBA_ORB_shutdown).
1028 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1029 Unref the listener when this method is called, after
1030 deregistration. Updated the API docs to note this behavior.
1032 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1033 Bugfixes: Ref the bonobo object when returning a parent or child
1034 reference, or an AccessibleRelation. Generally made sure
1035 BonoboObject refcount is incremented whenever we return an
1038 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1039 Fixed typo/bug in signal declaration.
1041 * libspi/accessibleeventlistener.h:
1044 * libspi/application.c (spi_application_new):
1045 Fixed leak in initialization.
1048 Remembered to increment bonobo-object refcount when returning
1049 children (applications) from desktop object.
1050 Added (empty) finalize method.
1052 * libspi/deviceeventcontroller.c:
1053 Hold a ref to listeners inside DEControllerKeyListeners.
1054 Added dec_key_listener_free() method. Use prepend instead of
1055 append in key_listener list. Fixed some refcount madness and
1056 leaks in the listener registration/deregistration - deregistration
1057 now calls dec_key_listener_free() on listeners, and on the
1058 temporarily constructed dec_key_listener() used to perform the search/match.
1060 * libspi/hypertext.c (spi_hypertest_finalize):
1061 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1062 class. Also fixed spi_hypertext_interface_new() and
1063 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1065 * libspi/hypertext.h:
1066 Removed pointless and duplicate AtkObject pointer from
1069 * libspi/keystrokelistener.c:
1070 Fixed incorrect type of keystroke_listener_parent_class,
1071 renamed keystroke_listener_object_finalize to
1072 spi_keystroke_listener_object_finalize.
1073 Fixed typo in signal declaration
1074 (spi_keystroke_listener_class_init).
1076 * libspi/registry.c:
1077 Added funcsions spi_listener_struct_new() and
1078 spi_listener_struct_free() to help with memory management issues.
1079 We also now use these methods instead of gnew + poking stuff into
1080 the struct, and to decrement listener counts/free the listeners
1081 when deregistering them.
1082 Fix more refcount bugs in getDesktop() and
1083 getDeviceEventController().
1086 De-ref the desktop after enumerating the applications. Explicitly
1087 decrement the refcounts on the created listeners on exit (using
1088 _unref for keystroke listeners, and via the
1089 deregisterGlobalEventListenerAll command for other event
1092 2001-11-27 Michael Meeks <michael@ximian.com>
1094 * cspi/spi-listener.h: fixup enum.
1096 2001-11-27 Michael Meeks <michael@ximian.com>
1098 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1099 (cspi_keystroke_listener_new): Use the cspi variants.
1101 2001-11-26 Michael Meeks <michael@ximian.com>
1103 * test/keysynth-demo.c: fix 2 compile warnings, missing
1106 * test/simple-at.c (report_focussed_accessible),
1107 (report_focus_event, report_button_press),
1108 (check_property_change, is_command_key),
1109 (report_ordinary_key_event, report_command_key_event): upd.
1111 * util/mag_client.h: include pre-requisites.
1113 * libspi/accessibleeventlistener.c
1114 (spi_event_listener_object_finalize): free any lingering
1117 * libspi/keystrokelistener.c
1118 (keystroke_listener_object_finalize): ditto.
1120 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1121 callbacks, with cspi types.
1123 * cspi/spi_event.c (createAccessibleEventListener): chain to
1124 (AccessibleEventListener_addCallback): here.
1125 (createAccessibleKeystrokeListener): chain to
1126 (AccessibleKeystrokeListener_addCallback): here.
1128 * libspi/keystrokelistener.c
1129 (spi_keystroke_listener_class_init): add signal.
1130 (impl_key_event): emit the event.
1131 (boolean_handled_accumulator): impl.
1132 (marshal_BOOLEAN__POINTER): add, gack.
1134 * libspi/accessibleeventlistener.c
1135 (spi_event_listener_class_init): add signal.
1136 (impl_accessible_event_notify_event): emit the signal &
1137 make the loop efficient.
1138 (spi_event_listener_add_callback): prepend the callback.
1140 * libspi/accessibleeventlistener.h: add an 'event' signal,
1141 decl type on callback.
1143 * libspi/keystrokelistener.h: ditto.
1145 * cspi/spi-listener.h: make methods typesafe and
1146 make them use the new event typedefs.
1148 * test/simple-at.c (report_focussed_accessible):
1149 include mag_client.h
1150 Use *(void *)text_interface not the other thing.
1152 * configure.in: add gtk to registryd bits - since we use
1155 * util/magnifier.c: include libbonobo.h
1157 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1159 * test/keysynth-demo.c:
1160 Turned this into a simple scanning keyboard, to demonstrate the
1161 use of g_timeout_add () as a means of creating timers for
1162 scanning, and the use of GtkStyle for visually indicating when
1163 virtual keyboard elements are selected.
1165 keysynth-demo now listens to any keyboard keys with zero-valued
1166 keycodes (i.e. 'unused' keys) and interprets them as
1169 Reworked the shiftlatch code so that shift-down state isn't held
1170 for long periods (it's only synthesized immediately prior to
1171 the keysynth event it's modifying). Note that shiftlatch in this
1172 demo is a convenience, not intended to take the place of AccessX
1173 which is the better choice for getting 'sticky' modifier keys.
1175 * libspi/deviceeventcontroller.c:
1176 * at-bridge/bridge.c:
1177 * cspi/spi_registry.c:
1178 Removed some debug print stuff, and put other verbosity in #ifdef
1183 Implemented some more of the magnifier IDL for the simple
1184 magnifier: namely, getZoomRegionParams.
1185 Added mag_x and mag_y members to MagnifierData struct, aid of this
1187 Added GtkWindow::realize signal handler to magnifier, to keep it
1188 from receiving keyboard focus from the WM.
1190 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1192 * cspi/spi-private.h: my guess at what michael forgot
1193 before he ran off to NZ :-)
1195 2001-11-23 Michael Meeks <michael@ximian.com>
1197 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1198 comment out non existant method invoke so we link.
1200 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1201 use bonobo_exception_get_text for more friendly warnings.
1203 * cspi/spi.c (Obj_Add): move into spi_main & rename
1204 spi_object_add; kill spi.c
1206 * cspi/spi_registry.c
1207 (deregisterGlobalEventListener),
1208 (deregisterGlobalEventListenerAll),
1209 (registerGlobalEventListener): fix exception leaks.
1211 * cspi/spi_main.c (spi_exception): impl. helper, so we
1212 don't leak exceptions.
1214 * cspi/spi_selection.c
1215 (AccessibleSelection_deselectSelectedChild): return the
1218 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1219 (spi_registry): ditto.
1220 (SPI_init): guard against double inits.
1222 * cspi/*.c: use spi_ev (), and spi_registry () where
1223 appropriate - a temporary hack until we have something
1224 better. Use spi_object_add
1226 2001-11-22 Michael Meeks <michael@ximian.com>
1228 * cspi/Makefile.am: re organise, install the headers.
1230 * cspi/*.h: add G_BEGIN/END_DECLS
1232 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1235 Added non-preemptive keylistener for key events with no modifiers
1236 and shift-only modifier.
1238 * libspi/keystrokelistener.c:
1239 Removed some verbose diagnostics printout.
1241 * cspi/spi_registry.c:
1242 Fixed a bug that caused all key listeners to be registered as
1245 * libspi/deviceeventcontroller.c:
1246 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1247 for non-preemptive key masks.
1250 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1252 * docs/reference/idl/at-spi-idl-docs.sgml:
1253 * docs/reference/idl/at-spi-idl-sections.txt:
1254 * docs/reference/idl/at-spi-idl-overrides.txt:
1255 Added missing files.
1257 * docs/reference/Makefile.am:
1258 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1259 to scan the IDL files :-(
1264 Added .cvsignore files.
1266 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1268 * libspi/deviceeventcontroller.c:
1269 * libspi/keystrokelistener.c:
1271 * cspi/spi_registry.c:
1272 Added filters for KeySets, KeyEventSeq, and event types to key
1273 event dispatching, so listeners should only receive those events
1274 that they requested :-)
1276 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1281 * docs/reference:Makefile.am:
1282 * docs/reference/cspi:
1283 * docs/reference/cspi:Makefile.am:
1284 * docs/reference/cspi:tmpl:
1285 * docs/reference/cspi:tmpl:*.sgml:
1286 * docs/reference/idl:
1287 * docs/reference/idl:Makefile.am:
1288 * docs/reference/idl:at-spi-idl-sections.txt:
1289 * docs/reference/idl:at-spi-idl-docs.sgml:
1290 * docs/reference/idl:tmpl:
1291 * docs/reference/idl:tmpl:*.sgml:
1293 Restructured docs directory to allow separate 'reference' docs
1294 section, and forked idl and cspi docs. Added the sgml template
1295 files to CVS. Added the first sections/structural sgml for the
1298 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1300 * configure.in, libspi/Makefile.am: find libXtst.
1302 2001-11-21 Michael Meeks <michael@ximian.com>
1304 * test/accessx-gui.c: s/spi_value/value/ - doh.
1306 * libspi/base.[ch]: add.
1308 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1310 * idl/Accessible.idl:
1311 * idl/Application.idl:
1314 Started gtk-doc cleanup on IDL.
1316 * libspi/deviceeventcontroller.c:
1317 Added and connected non-preemptive key notification from the
1318 toolkits (in addition to the pre-emptive support from XServer
1319 which we had before, but which causes 'focus flashing'). Filters
1320 are presently limited to key modifiers and global/non-global,
1321 KeySets are presently ignored, as are KeyEvent masks.
1323 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1324 structs into the persistant structure rather than just storing
1325 pointers to things that might not persist across servant
1328 The XGrabKey call now does async keygrabs, because synchronous
1329 ones were deadlocking with GDK_event code in a very nasty way.
1331 Added boolean to internal method notify_keylisteners, to indicate
1332 whether the event came from the 'toolkit source' or the 'global
1333 (XServer) source' - this is used in the notification process to
1334 determine which listeners to send the event to.
1336 deviceeventcontroller.c is now warning-free.
1338 * libspi/registry.c:
1339 Fixed regression in application de-registration.
1340 Also fixed some really brain-dead weirdness having to do with
1341 event dispatching - event structs are now duplicated before being
1342 re-marshalled in the dispatch to listeners. This also fixes a
1343 Solaris build problem.
1346 2001-20-11 Michael Meeks <michael@ximian.com>
1349 (impl_accessibility_registry_deregister_global_event_listener):
1352 * libspi/deviceeventcontroller.c
1353 (spi_device_event_controller_check_key_event): return
1354 FALSE on no virtual method.
1356 * libspi/*..h: make includes work on a correctly pathed install.
1358 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1360 * libspi/application.h: kill unused ( and whacked out )
1361 gboolean *spi_application_set_id (AtkObject *app, long id);
1363 2001-20-11 Michael Meeks <michael@ximian.com>
1365 * libspi/*.[ch]: further convert to bonobo's type func
1366 macros, remove redundnant casts etc.
1368 * libspi/text.c s/accessibility_text/spi_text/g,
1369 re-order to de-cruft.
1371 * libspi/hypertext.c: re-order to kill a huge slew
1372 of redundant forward decls.
1374 * libspi/relation.c: ditto.
1376 * libspi/image.c: ditto.
1378 * */.cvsignore: update
1380 2001-20-11 Michael Meeks <michael@ximian.com>
1382 * libspi/deviceeventcontroller.c
1383 (_controller_register_with_devices): use g_getenv,
1384 kill stdlib.h include.
1386 * libspi/keystrokelistener.c
1387 (spi_keystroke_listener_get_type): kill
1388 (spi_keystroke_listener_class_init),
1389 (spi_keystroke_listener_init): rename to this.
1391 * libspi/text.c (impl_getAttributes): fix warning / bug.
1393 * libspi/*.[ch]: more headers, includes and over commenting.
1395 2001-20-11 Michael Meeks <michael@ximian.com>
1397 * libspi/*.[ch]: fixup headers, includes and over commenting.
1399 * libspi/image.c (impl__get_imageDescription): const
1400 correctness warning fix. remove redundant casting.
1402 * libspi/table.c (impl_getRowDescription): ditto.
1403 (impl_getColumnDescription): ditto.
1405 * libspi/libspi.h: add.
1407 2001-19-11 Michael Meeks <michael@ximian.com>
1409 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1411 * libspi/component.c (accessibility_component_get_type):
1412 rename to (spi_component_get_type): and macroify.
1413 (accessibility_component_init): rename to
1414 (spi_component_init): this
1415 (accessibility_component_class_init): rename to
1416 (spi_component_class_init): this
1418 * libspi/action.c (spi_action_get_type): kill, use the macro.
1420 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1423 * libspi/application.c (spi_application_object_event_listener),
1424 (impl_accessibility_application_register_object_event_listener):
1425 warning fixes / const understanding updates.
1427 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1430 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1432 * libspi/spi_accessible.c: Added docs and C bindings for
1433 AccessibleStateSet. (No implementations yet). Documentation
1434 coverage for C bindings now 100%. Made docs for event listeners
1439 boolean notifyListenersSync (in DeviceEventListener listener,
1440 in DeviceEvent event);
1442 oneway void notifyListenersAsync (in DeviceEventListener listener,
1443 in DeviceEvent event);
1445 Added DeviceEventListener and DeviceEvent structs (may deprecate
1446 KeyStroke and KeystrokeListener in favor of this generic
1447 event/listener framework for devices).
1449 * libspi/deviceeventcontroller.c:
1451 Changed some key listener code to take masks, etc., and paved the
1452 way for integration of toolkit/non-preemptive key events. Changed
1453 signatures of some internal methods.
1455 * at-bridge/bridge.c:
1456 Fixed regression connecting to interface signals, apparently
1457 caused by GTK+ changes.
1459 Added an internal bridge_state_listener to deal with
1460 property-change:accessible-state signals.
1462 Changed the key_listeners GList to store structs (including masks,
1463 etc.) instead of just CORBA_Objects (required for full
1464 implementation of key listener API).
1466 Connected the bridge to all currently supported Atk signals.
1467 Events now supported:
1468 object:property-change
1469 object:property-change:accessible-name
1470 object:property-change:accessible-state
1471 object:property-change:accessible-description
1472 object:property-change:accessible-parent
1473 object:property-change:accessible-value
1474 object:property-change:accessible-role
1475 object:property-change:accessible-table-caption
1476 object:property-change:accessible-table-column-description
1477 object:property-change:accessible-table-column-header
1478 object:property-change:accessible-table-row-description
1479 object:property-change:accessible-table-row-header
1480 object:property-change:accessible-table-summary
1481 object:children-changed
1482 object:visible-data-changed
1483 object:selection-changed
1484 object:text-selection-changed
1486 object:text-caret-moved
1488 object:row-reordered
1490 object:column-inserted
1491 object:column-reordered
1492 object:column-deleted
1493 object:model-changed
1495 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1497 * libspi/hyperlink.c,h:
1498 Fixed some broken stuff in hyperlink.
1500 * libspi/relation.h:
1501 * libspi/relation.c:
1502 * cspi/spi_accessible.c:
1503 Initial implementations of AccessibleRelation methods, and docs.
1505 * libspi/accessible.c:
1506 Fixed a bug that caused SEGV if an accessible
1507 object's description is NULL, and a client
1508 requests it. An empty string is now returned.
1510 * cspi/spi_editabletext.c:
1511 * cspi/spi_hypertext.c:
1513 * cspi/spi_hyperlink.c:
1517 Doc coverage now 95%.
1519 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1521 One last namespacing revision:
1522 * libspi/accessibleeventlistener.[ch]:
1523 Renamed SpiAccessibleEventListener to SpiEventListener,
1524 (no need for two namespaces ;-)
1526 And lots of documentation fixes:
1528 * docs/at-spi-docs.sgml:
1529 Fixed 'underscore vs. hyphen' bug that was preventing
1530 the gtk-doc API docs from being automatically generated.
1533 * cspi/spi-listener.h
1535 * cspi/spi_accessible.c
1537 * cspi/spi_application.c
1538 * cspi/spi_component.c
1539 * cspi/spi_editabletext.c
1541 * cspi/spi_hypertext.c
1543 * cspi/spi_registry.c
1544 * cspi/spi_selection.c
1548 * docs/at-spi-docs.sgml
1549 * docs/at-spi-sections.txt
1551 Added and fixed up gtk-doc documentation in cspi.
1553 Interfaces now (fully) documented (subject to revision and enhancement):
1555 Event Listener Support
1557 AccessibleApplication
1561 AccessibleEditableText
1568 AccessibleRelationSet
1573 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1575 * at-bridge/bridge.c:
1576 Initial work for toolkit-level key snooper connection by bridge.
1581 New typedefs and fixes to support new namespacing, and cleaner
1582 separation of cspi bindings from libspi bonobo implementation.
1583 Removed inconsistent and extraneous Spi* namespace prefix that
1584 had crept into cspi headers.
1585 Lots of comment fixes that sed had missed.
1587 * cspi/spi-roletypes.h:
1588 * cspi/spi-statetypes.h:
1589 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1590 to AccessibleRoleType.
1592 * libspi/accessibleeventlistener.h:
1593 Fixed minor namespacing weirdness.
1595 * libspi/deviceeventcontroller.c:
1596 Reordered some internal API for device listeners.
1597 Changed the key registry final boolean to 'is_system_global'
1598 rather than 'is_synchronous', which is more descriptive of its
1600 Added spi_device_event_controller_new().
1601 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1603 * libspi/keystrokelistener.[ch]:
1604 Namespaced KeystrokeListener to SpiKeystrokeListener.
1605 Changed uses of keymasks to use SPI_ prefix, and did other
1608 * libspi/keymasks.h:
1609 Namespaced keymask constants with SPI_ prefix.
1611 * libspi/registry.c:
1612 Some warning fixes, and knock-on fixes from namespace changes.
1615 Added rules for accessx-gui test program.
1617 * test/accessx-gui.c:
1618 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1619 utility. It doesn't actually use at-spi, but it's still cool and
1622 * test/keysynth-demo.c:
1626 Fixes so that these test clients work properly with the namespaced
1627 libraries. (Incompletely tested for technical reasons, fixes may follow)
1630 2001-13-11 Michael Meeks <michael@ximian.com>
1632 * libspi/application.c
1633 (impl_accessibility_application_get_version),
1634 (impl_accessibility_application_get_toolkit_name):
1636 (impl_accessibility_application_set_id),
1637 (impl_accessibility_application_get_id): remove
1638 redundant casting code.
1640 * libspi/action.c (impl_getDescription): fix warnings.
1642 * libspi/accessible.c
1643 (impl_accessibility_accessible_get_parent),
1644 (impl_accessibility_accessible_get_child_at_index),
1645 (impl_accessibility_accessible_get_state),
1646 (impl_accessibility_accessible_get_relation_set):
1647 warning fixes & include action.h
1649 2001-13-11 Michael Meeks <michael@ximian.com>
1651 * *.[ch] fix bits I screwed up:
1653 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1654 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1656 2001-13-11 Michael Meeks <michael@ximian.com>
1658 * *.[ch] Namespace libspi into spi_ and Spi.
1660 2001-13-11 Michael Meeks <michael@ximian.com>
1662 * Makefile.am: dist & install at-spi-1.0.pc
1664 * libspi/Makefile.am: install into at-spi-1.0
1666 * idl/Makefile.am (idldir): install into at-spi-1.0
1668 * at-spi-1.0.pc.in: add.
1670 * configure.in: build it.
1672 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1674 * test/keysynth-demo.c:
1675 Use a 'realize' signal-handler to set the WM properties for
1676 the virtual keyboard, rather than making it a "POPUP" type
1677 override-redirect window (thanks to anders carlsson for that
1680 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1683 * test/keysynth-demo.c:
1684 Added new test of key synthesis, which creates a simple
1685 (mouse-operated) onscreen keyboard. It inserts key events into
1686 the currently-focused window, thus it does not grab keyboard focus
1689 * cspi/spi_registry.c:
1690 Added C binding for AT-SPI generateKeyEvent.
1692 * libspi/deviceeventcontroller.c:
1693 Added call to XFilterEvent so that key listener works with XIM (we
1694 hope). Added event_synth_type to generateKeyEvent, so that we can
1695 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1696 synthesize a press/release pair for KeySyms.
1698 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1700 * libspi/Makefile.am:
1701 * registryd/Makefile.am:
1702 (temporary) hack to include libXtst in libspi and registryd.
1703 (Needed for keystroke synthesis, see below).
1706 Improved API for registerKeystrokeListener, in accordance with
1707 discussions with Gnopernicus team and X server research.
1709 * libspi/registry.c:
1710 * libspi/deviceeventcontroller.c:
1711 * libspi/accessible.c:
1712 * libspi/keystrokelistener.c:
1713 Changes and fixes to support keylisteners for potentially
1714 consumed key events (that is, 'passive grabs').
1715 Added implementation for generateKeyEvent() [untested].
1718 Changes to registerKeystrokeListener() API, as above.
1719 Added deregisterGlobalEventListenerAll(), and
1720 deregisterKeystrokeListener(), which are needed for clean exit of
1722 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1723 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1725 * cspi/spi_registry.c:
1726 Added implementations of function prototypes mentioned above.
1728 * registryd/registryd.c:
1729 Added the key listener event source as a g_timeout(), to allow
1730 receipt of key events that are not caught by GDK (since GDK
1731 doesn't support passive keygrabs, this was necessary).
1734 Changed to attach a keylistener to 'Alt' keys, and
1735 respond to the following keycommands: Alt-M (toggle magnifier);
1736 Alt-F (toggle speech); Alt-Q (quit).
1737 Added an exit routine to deregister the listeners, and a key
1738 listener that prints some key info to the console when a key
1739 matches the listener mask (and is thus received by the listener).
1741 * util/idl/Magnifier.idl:
1742 Changes to magnifier API to support multiple zoom regions,
1743 non-uniform scaling in x and y, markDirty, and a host of other
1744 features that would be useful to magnification.
1747 * util/mag_client.c:
1748 * util/mag_client.h:
1749 * util/mag_control.c:
1751 Source code changes to support the above IDL changes.
1754 As above, and also changes to use a (slower) generic conversion
1755 path for colormap conversions, since the fast RGB conversions have been
1756 reported to fail for 16-bit displays.
1758 2001-10-26 Michael Meeks <michael@ximian.com>
1760 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1762 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1764 * at-bridge/Makefile.am: fix LDFLAGS.
1766 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1768 * at-bridge/bridge.c:
1769 Re-worked listeners for toolkit events, now we have signal
1770 and property listeners. Added a private method
1771 register_atk_event_listeners(), which registers with the
1772 various atk and gtk signals we need to monitor in order to emit
1774 Added emission hook for AtkObject:property-change events, to
1775 support the 'property listeners'.
1776 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1779 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1780 which emit warnings and exit, respectively, if CORBA errors occur
1781 during remote calls, and we now use these methods to check most of
1782 our CORBA calls in the C bindings.
1784 * cspi/spi_accessible.c:
1785 Changed AccessibleSelection_refSelectedChild() to
1786 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1787 now increment refcounts.
1789 * cspi/spi_component.c:
1790 Fixed some long pointer casts (dangerous!) to pass pointers to
1791 CORBA_longs of the proper type to the CORBA stubs, and copy the
1792 data into the longs that were passed into the C bindings code.
1794 * at-bridge/bridge.c:
1796 * libspi/accessible.c:
1797 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1798 hyperlinks, AtkHyperlink is an object type.
1800 * libspi/application.c:
1801 Added various conversions to and from "generic" event types and
1802 atk-specific types; this is really part of the 'bridge'
1803 implementation but is valid for all AtkObject-based accessibility
1806 * libspi/editabletext.c:
1807 Fixed nasty bug wherein editable text's finalize method was
1808 unref'ing tha AtkObject reference that the text parent class was
1809 about to unref _again_. There was also a nasty inheritance bug
1810 that meant that the AccessibleEditableText class was corrupt.
1812 * libspi/selection.c:
1813 Provided implementations for some selection API that was broken.
1815 * idl/Application.idl:
1816 Added registerObjectEventListener () method.
1819 Fixed a number of return values that were Bonobo_Unknowns from
1820 bonobo_object_corba_objref(), which I
1821 forgot to dup before returning. Changed instances of
1822 bonobo_object_corba_objref (bonobo_object(o)) to
1823 BONOBO_OBJREF(o), for concision and clarity.
1825 <2001-10-13 Louise Miller <louise.miller@sun.com>
1827 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1828 idl/Event.idl, idl/Registry.idl
1829 Changed these files to include Bonobo_Unknown.idl instead
1832 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1834 * libspi/component.c libspi/component.h:
1835 Fixed typo. Added assertions for object checks in
1836 AccessibleComponent code.
1838 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1840 * idl/Accessible.idl:
1841 Added 'isEqual (Accessible *object)'
1842 method for Accessible. (Not Yet Implemented).
1845 Changed signature of registerKeystrokeListener() to
1846 take a KeySet and KeyEventSeq so that specific keys and event
1847 types could be requested for monitoring, and added a flag
1848 is_synchronous so that either synchronous or asynchronous
1849 notification could be requested. (However this is not all
1850 implemented yet). This also meant adding two new typedefs,
1851 KeyEventSeq and KeySet.
1854 Added two new relations, RELATION_TOOLTIP_FOR and
1855 RELATION_LEAFNODE_OF.
1858 Added new state, STATE_HAS_TOOLTIP.
1860 * libspi/text.c, editabletext.c:
1861 Added new assertions to all casts of bonobo-objects from
1862 CORBA servants, to prevent Text API calls on non-text objects.
1863 Changed suspect casts of int-pointer types, so that we
1864 always send a valid CORBA_long pointer to the CORBA APIs that use
1865 in/out long parameters. We then have to copy from the CORBA_long
1866 into the regular long or int for return to the C bindings, or
1867 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1870 * libspi/deviceeventcontroller.c:
1871 Cleaned these sources up.
1873 Changed return type for getCharacterAtOffset to
1874 CORBA_unsigned_long, to allow for 32-bit characters.
1877 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1881 Fixed 'make dist' so that distro compiles...
1882 * libspi/keymasks.h:
1884 * cspi/spi-listener.c:
1885 KeystrokeListenerCB now returns a boolean.
1887 Added KeyEventType struct, and KeyStroke.
1888 Also added createKeystrokeListener(),
1889 KeystrokeListener_addCallback(),
1890 KeystrokeListener_removeCallback(), and added a keymask to
1891 registerKeystrokeListener().
1892 * cspi/spi_accessible.c:
1893 Changed numerous return types for interfaces from
1894 AccessibleComponent to Accessible<InterfaceName>; this was
1895 probably a cut-and-paste error.
1897 Implementations of new KeystrokeListener api (from spi.h,
1900 Changes to key modifier mapping.
1901 Created ControllerEventMask struct.
1902 Made DeviceEventController derive from Bonobo::Unknown.
1904 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1905 * libspi/deviceeventcontroller.c:
1906 Added a number of new internal (private) methods.
1907 * libspi/editabletext.c:
1908 * libspi/editabletext.h:
1909 Fixed a number of bugs related to the fact that
1910 editabletext inherits from text. Fixed the EditableText struct,
1911 the init() call, and use correct casts when calling Text methods
1912 from an EditableText object. Removed (duplicate) atko from the
1913 EditableText structure, we use the one in the parent Text
1914 structure via the casts mentioned above.
1915 * libspi/keystrokelistener.[ch]:
1916 * libspi/registry.c:
1917 Changes in support of keyboard handling (above).
1919 Keyboard handling, though partly functional, is still not
1920 recommended for at-spi client use as there is considerable
1921 work yet to be done.
1924 Changed some places where pointers to various int types
1925 are cast to be pointers to CORBA_long types and vice-versa:
1926 pointer casting is not safe so we pass pointers of the correct
1927 types and then cast the result before putting it into the target
1930 * libspi/text.h: minor typos corrected.
1932 We now speak not only the name of a Text element, but the
1933 first sentence of its content, when it receives focus.
1934 I also changed the text compression to 75% from 50%.
1935 * util/Accessibility_Util.server.in:
1936 Changed the default magnifier type to be a 3x vertical
1937 splitscreen magnifier (was previously a 2x horizontal one).
1939 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1941 * libspi/keystrokelistener.h:
1942 * libspi/keystrokelistener.c:
1943 Initial functional implementations of KeystrokeListener.
1946 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1948 Fixed string handling for NULL strings in libspi.
1949 Added spi_freeString to free strings returned by C bindings.
1951 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1953 * libspi/keystrokelistener.h:
1954 * libspi/keystrokelistener.c:
1955 Began (no-op) implementations of KeystrokeListener
1957 * libspi/deviceeventcontroller.c:
1958 * libspi/deviceeventcontroller.h:
1959 Began creating implementations of DeviceEventController,
1960 to handle keystroke and mouse event listening and
1962 * libspi/accessible.c:
1963 Stubbed-in the implementations for
1964 Accessibility_Accessible_getState and
1965 Accessibility_Accessible_getRelationSet.
1966 * libspi/registry.c:
1967 Improved de-registration process and fixed some bugs,
1968 deregistration now works correctly.
1970 Added initialization of applications list (to NULL).
1972 Reduced speech compression from 0.5 to 0.7, for demo.
1973 Changed call to gdk_window_set_decorations()
1974 to gtk_window_set_decorated().
1975 * at-bridge/bridge.c:
1976 Bridge now deregisters when app exits, via
1977 registration of a cleanup function
1978 with the g_atexit() call.
1979 Required making 'app' static, renamed 'this_app'.
1980 Fixed broken use of bonobo_init, passing argv wrongly.
1982 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1986 Created a new directory for
1987 accessibility-related utilities, primarily for
1988 testing and demo purposes, but with possible
1995 Onscreen magnifier utility that
1996 is implemented as a bonobo service.
1998 * util/mag_client.c:
1999 * util/mag_client.h:
2000 Client-side support (simple C bindings)
2001 for Magnification service
2003 * util/mag_control.c:
2004 Client program example for
2005 Magnification service
2007 * util/Accessibility_Magnifier.server.in:
2008 Bonobo-activation file for the
2009 Magnification service.
2012 * util/idl/Magnifier.idl:
2013 IDL defining the bonobo Magnification
2017 Modifications to use the bonobo-activated magnifier
2018 above, in place of trying to connect to an existing
2019 magnifier that uses socket-listening IPC.
2021 If env variable MAGNIFIER is set, a magnifier service
2022 will be started if one does not exist.
2024 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2025 * at-bridge/bridge.c:
2026 applied patch from Marc to build and run
2027 against new glib and gtk+ (seemed like a change
2028 to bonobo_init signature was made ?)
2030 made festival-server support turned off by default.
2031 Added support for a simple magnifier (off by default)
2032 which will be added to a 'util' directory later.
2033 * at-bridge/Makefile.am:
2034 Changed "application.h" header from a 'source'
2035 to a 'dependency' of libat-bridge.
2037 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2045 Added interface implementation c files to list of
2046 includes so they are included in libcspi.
2049 Changed prototype of AccessibleAction_doAction to return a
2051 Changed prototype of AccessibleTable_getCaption to
2052 return an Accessible.
2053 Changed prototype of AccessibleTable_getSelectedRows
2054 and AccessibleTable_getSelectedColumns to
2055 return a long (returns the number of selected rows
2056 or columns respectively).
2057 Changed name of AccessibleText_refRunAttributes to
2058 AccessibleText_getAttributes.
2059 Changed prototype of AccessibleText_getCharacterExtents to
2060 return a void rather than a boolean.
2061 Added support for a AccessibleCoordType parameter
2062 specifying what type of coordinates are desired.
2063 Added an AccessibleCordType parameter to
2064 AccessibleText_getPointAtOffset.
2066 * cspi/spi_accessible.c:
2067 Added code to return the outstanding interfaces from
2068 Accessible_queryInterface.
2070 * cspi/spi_action.c:
2072 Corrected call to getNActions to call the c binding
2075 * cspi/spi_editabletext.c:
2077 Changed name from setRunAttributes to setAttributes.
2079 * cspi/spi_hyperlink.c:
2081 Changed call to getNAnchors to correctly call the c
2082 binding for an attribute.
2084 * cspi/spi_hypertext.c:
2086 Changed getImageDescription to correctly call the
2087 binding for an attribute.
2089 * cspi/spi_selection.c:
2090 Changed getNSelectedChildren to correctly call the c
2091 binding for the attribute.
2092 Changed refSelectedChild to getSelectedChild.
2096 Changed getCaption to return an Accessible.
2097 Fixed calls which retrieve attributes.
2098 Changed refAt to getAccessibleAt.
2099 Changed getNSelectedRows and getNSelectedColumns to
2103 Changed getCharacterExtents and getPointAtOffset to accept an
2104 AccessibleCoordType.
2106 Changed calls which retrieve attributes.
2107 Changed refRunAttributes to getAttributes.
2112 * idl/Hyperlink.idl:
2113 Changed n_anchors attribute to nAnchors to keep naming
2114 convention consistent.
2117 Made Table inherit from Bonobo::Unknown.
2118 Added nSelectedColumns and nSelectedRows attributes.
2121 Made Value inherit from Bonobo::Unknown.
2123 * libspi/hyperlink.c:
2124 Change for nAnchors attributte name change.
2126 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2134 Added interface implementation c files to list of
2135 includes so they are included in libcspi.
2138 Changed prototype of AccessibleAction_doAction to return a
2140 Changed prototype of AccessibleTable_getCaption to
2141 return an Accessible.
2142 Changed prototype of AccessibleTable_getSelectedRows
2143 and AccessibleTable_getSelectedColumns to
2144 return a long (returns the number of selected rows
2145 or columns respectively).
2146 Changed name of AccessibleText_refRunAttributes to
2147 AccessibleText_getAttributes.
2148 Changed prototype of AccessibleText_getCharacterExtents to
2149 return a void rather than a boolean.
2150 Added support for a AccessibleCoordType parameter
2151 specifying what type of coordinates are desired.
2152 Added an AccessibleCordType parameter to
2153 AccessibleText_getPointAtOffset.
2155 * cspi/spi_accessible.c:
2156 Added code to return the outstanding interfaces from
2157 Accessible_queryInterface.
2159 * cspi/spi_action.c:
2161 Corrected call to getNActions to call the c binding
2164 * cspi/spi_editabletext.c:
2166 Changed name from setRunAttributes to setAttributes.
2168 * cspi/spi_hyperlink.c:
2170 Changed call to getNAnchors to correctly call the c
2171 binding for an attribute.
2173 * cspi/spi_hypertext.c:
2175 Changed getImageDescription to correctly call the
2176 binding for an attribute.
2178 * cspi/spi_selection.c:
2179 Changed getNSelectedChildren to correctly call the c
2180 binding for the attribute.
2181 Changed refSelectedChild to getSelectedChild.
2185 Changed getCaption to return an Accessible.
2186 Fixed calls which retrieve attributes.
2187 Changed refAt to getAccessibleAt.
2188 Changed getNSelectedRows and getNSelectedColumns to
2192 Changed getCharacterExtents and getPointAtOffset to accept an
2193 AccessibleCoordType.
2195 Changed calls which retrieve attributes.
2196 Changed refRunAttributes to getAttributes.
2201 * idl/Hyperlink.idl:
2202 Changed n_anchors attribute to nAnchors to keep naming
2203 convention consistent.
2206 Made Table inherit from Bonobo::Unknown.
2207 Added nSelectedColumns and nSelectedRows attributes.
2210 Made Value inherit from Bonobo::Unknown.
2212 * libspi/hyperlink.c:
2213 Change for nAnchors attributte name change.
2216 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2218 implementations-- made server implementations own AtkObject pointers
2219 rather than their respective AtkInterrface pointers to fix
2220 refcounting. AtkHyperlink is still broken.
2222 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2223 * cspi/spi_accessible.c:
2224 Added method Accessible_Role_getName(),
2225 and requisite string array (role_names).
2226 Added conversion string_from_corba_strin() call
2227 to Accessible_getName and _getDescription.
2228 * libspi/accessible.c:
2229 Added implementation for Accessible_getRole()
2231 Added festival support, used if environment variable
2234 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2236 * at-bridge/bridge.c:
2237 Now allocate Accessibility_Event using
2238 Accessibility_Event__alloc() instead of g_new0().
2239 * libspi/accessibleeventlistener.c:
2240 Initialize AccessibleEventListener->callbacks to NULL.
2241 Fixed accessible__event_listener_init() param, changed to
2242 "AccessibleEventListener *" type.
2243 Changed a bonobo_object_release_unref() call to
2244 Accessibility_Accessible_unref().
2245 * libspi/listener.c:
2246 Changed Bonobo_Unknown_unref to (equivalent)
2247 Accessibility_Accessible_unref.
2248 * libspi/registry.c:
2249 Changed bonobo_object_release_unref to
2250 Accessibility_Accessible_unref.
2252 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2255 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2256 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2257 spi-util.c spi-util.h
2258 Implementations for C bindings to remaining accessibility
2261 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2264 changed return value of Action from void to boolean to
2265 bring in line with ATK.
2268 Changed getText funcions to return "out" start and end offsets.
2269 Changed getAttributes to take and offset and return the start
2270 and end offset of the attribute run.
2271 Changed getOffsetAtPoint and getCharacterExtents to take an
2272 enum describing whether coordinates are window or screen.
2275 libspi/action.c libspi/action.h libspi/editabletext.c
2276 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2277 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2278 libspi/image.h libspi/selection.c libspi/selection.h
2279 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2280 libspi/value.c libspi/value.h
2281 Added server implementations for outstanding ATK interfaces
2282 not yet implemented.
2284 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2287 Added (missing) getName() method.
2288 Made nActions an attribute.
2289 * idl/EditableText.idl:
2290 Changed order of params in setAttributes.
2291 * idl/Hyperlink.idl:
2292 Removed getAnchor, added getURI.
2294 Changed attributes to methods, for efficiency
2295 (so that getting extents can be done in one call)
2296 * idl/Selection.idl:
2297 Changed nSelectedChildren to attribute, and re-indented.
2298 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2300 * idl/Text.idl: reformatted to match our coding style.
2301 (temporarily?) removed getRowColumnAtOffset().
2302 Changed text selection API to support multi-select and
2303 non-contiguous selections, as in ATK.
2304 * idl/Value.idl: changed some methods to attributes.
2306 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2308 * libspi/listener.c(impl_notify_event):
2309 BonoboUnkown_unref the source instead
2310 of bonobo_object_release_unref - the ORB
2311 handles the releasing.
2313 * configure.in: require ORBit-2.3.94 for
2316 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2318 Tagged CVS repository 'EA_1_0'.
2319 * README.EARLY_ACCESS:
2320 Alphabetized acknowledgements list, and
2322 Listed some known dependencies of at-spi.
2324 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2326 * docs/at-spi-docs.sgml:
2327 * docs/at-spi-sections.txt:
2328 * docs/at-spi-overrides.txt: (Added zero-length file)
2329 Documentation improvements - gtk-doc should build
2330 docs for all implemented C bindings now.
2333 * cspi/spi.c: (New file)
2334 * cspi/spi_event.c: (New file)
2335 * cspi/spi_registry.c: (New file)
2336 * cspi/spi_accessible.c: (New file)
2337 * cspi/spi_application.c: (New file)
2338 * cspi/spi_component.c: (New file)
2339 Split spi_main.c into six parts, and included them from
2340 "spi.c". This is a bit of a hack, probably temporary,
2341 but required by gtk-doc, apparently.
2343 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2346 * docs/at-spi-docs.sgml:
2347 * docs/at-spi-sections.txt:
2349 Initial checkins/modifications for gtk-doc generation.
2352 Added (missing) interface query methods to Accessible's C binding.
2354 Added GenericInterface type definition.
2356 Added query for AccessibleComponent interface to focus event handler.
2357 Added printout of bounding box for focussed component.
2358 * libspi/component.c:
2359 Added partial implementation for AccessibleComponent to C binding.
2360 * idl/Application.idl:
2361 * libspi/registry.c:
2362 * libspi/listener.c:
2363 * libspi/application.c:
2364 * libspi/application.h:
2365 Changed "ID" attribute type from string to long.
2367 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2371 Made method naming consistent: methods taking object args
2372 start with uppercase, other methods (except those using
2373 acronyms) start with lowercase. Underscores delimit between
2374 object names and method names:
2375 SPI_init() - uppercase since it starts with an acronym.
2376 getDesktopCount () - lowercase start since no object param0.
2377 Accessible_getName() - uppercase object type name, studlyCaps method
2381 Added gtk-doc documentation for all currently implemented
2382 methods in the C bindings API.
2384 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2386 * Makefile.am : changed build order to build test last.
2389 Changed "createEventListener" to "CreateEventListener".
2390 * libspi/accessibleeventlistener.c :
2391 Bugfix for addition of callbacks.
2392 * test/Makefile.am :
2393 * test/simple-at.c :
2394 Added new test that uses the C bindings API.
2396 * libspi/listener.c :
2397 * libspi/registry.c :
2398 * libspi/accessibleeventlistener.c :
2399 * at-bridge/bridge.c :
2400 Renamed member "target" of Accessibility_Event to "source",
2401 which is more descriptive.
2404 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2408 * cspi/Makefile.am :
2409 Added makefile support for at-spi/cspi directory.
2412 * cspi/spi-listener.h : (NEW FILE)
2413 Added support for/use of spi-listener.h.
2415 C bindings now build successfully, with no warnings.
2416 * libspi/accessibleeventlistener.h : (NEW FILE)
2417 * libspi/accessibleeventlistener.c : (NEW FILE)
2418 * libspi/Makefile.am :
2419 Added new object type "AccessibleEventListener"
2420 which inherits from Listener, and allows attachment
2421 of in-process callbacks (so that a client with a listening
2422 object instance can add functionality to the local
2423 implementation, dynamically).
2425 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2427 * libspi/accessible.c:
2428 Add implementation for get_index_in_parent().
2430 Added #include of "spi-roletypes.h", and
2431 added enumerated type AccessibleCoordType.
2432 Added definition for KeystrokeListener (function type).
2435 * cspi/spi-statetypes.h :
2436 * cspi/spi-roletypes.h :
2438 Added these headers, used by spi.h.
2440 Added code (NOTE: not yet built by make).
2442 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2444 * libspi/Makefile.am: generate imodule
2445 at the same time as other idl compiler
2448 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2449 * libspi/registry.c :
2450 * libspi/application.c :
2451 * idl/Application.idl :
2452 Made registration with toolkit an application method,
2453 which is required since each app has its own toolkit static
2454 environment. Thus the bridge must register for
2455 notification of toolkit events from each application in turn.
2456 Toolkit notifications are now successfully registered for, and
2457 sent to the listening at client.
2459 Changed toolkit event string to use hyphens rather than underscores.
2460 * libspi/listener.c :
2461 listner now gives more info in debug mode - it reports the
2462 name of the event received, as well as the name of the source.
2465 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2467 * libspi/registry.c :
2468 added more implementation for toolkit events.
2469 Fixed bug such that toolkit event registrations
2470 (via atk) use the whole event name string, not
2472 Removed a useless call to an ORBit_ method.
2473 * at-bridge/bridge.c :
2474 Removed unused local sbuf[] variable.
2476 We now register for Gtk:GtkWidget:button_press_event
2477 events as well as "focus:" events.
2479 Add some more API from Registry.idl that was missing,
2480 for keystroke listening, keystroke and mouse event
2481 synthesis, and enumeration of accessible desktops.
2483 2001-08-16 Michael Meeks <michael@ximian.com>
2485 * configure.in: use AM_GLIB_GNU_GETTEXT.
2487 * Makefile.am (SUBDIRS): kill intl.
2489 2001-08-15 Michael Meeks <michael@ximian.com>
2491 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2493 * configure.in: upd.
2495 * configure.in: depend on a recent bonobo-activation that
2496 will find our server files ...
2498 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2500 * libspi/accessible.c : accessible_new() :
2501 Now we add the Component interface via bonobo_object_add_interface,
2502 if the contained AtkObject implements AtkComponent.
2503 * libspi/accessible.h : now include "component.h"
2504 * libspi/component.h :
2505 * libspi/component.c : added files - implementation of
2506 bonobo wrapper object for Accessibility/Component
2507 * libspi/listener.c :
2508 Added test code to check for Accessibility/Component:1.0
2509 interface and report whether it is implemented by the
2511 * libspi/registry.c :
2512 Now we check for not only the hash of the whole event
2513 string before relaying the event, we also check the
2514 "minor" event string (without the detail string).
2515 This allows event listeners to be registered against
2516 all events of a certain major+minor type, or just
2517 against a specific major+minor+detail type.
2518 * libspi/accessible.c :
2519 Added implementations for Accessible:get_parent(),
2520 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2521 * libspi/registry.c :
2522 * libspi/listener.c :
2523 Replaced calls to Accessibility_Accessible_ref() and
2524 Accessibility_Accessible_unref() with
2525 calls to bonobo_object_dup_ref() and
2526 bonobo_object_release_unref(), so that the CORBA object
2527 is dup-ed and released when relayed, as well as the bonobo object.
2529 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2531 * libspi/Makefile.am,
2532 registryd/Makefile.am,
2533 at-bridge/Makefile.am.
2534 test/Makefile.am, configure.in:
2535 reverse previous changes.
2537 * /idl/Image.idl: fix typo.
2539 * test/Makefile.am: put DEBUG_FLAGS
2542 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2544 * test/app.c: use argv[0] instead of
2547 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2549 * libspi/Makefile.am,
2550 registryd/Makefile.am,
2551 at-bridge/Makefile.am.
2552 test/Makefile.am, configure.in:
2553 cleanup, replace individual LIBS/CFLAGS with
2554 AT_COMMON_{LIBS|CFLAGS}.
2558 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2560 * configure.in, libspi/Makefile.am:
2561 Change IDL path checking for bonobo-activation
2564 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2566 * registryd/registry.c : separated event listeners to use
2567 3 separate lists (focus, window, toolkit). Began testing
2568 event names against hashes before relaying events.
2569 * test/at.c : now register for events of type "focus:"
2570 * test/app.c : now generate events of type "focus:"
2571 * at-bridge/bridge.c : register with ATK for focus events,
2572 and we now relay those focus events to any "focus:" listeners.
2573 This now works with the bridge as a GTK_MODULE when running test/at.
2574 * libspi/registry.c :
2575 * libspi/listener.c :
2576 now we ref event sources before propagating, and unref on receipt.
2577 * libspi/registry.c :
2578 some changes to internal structs, to support event typestring hashes.
2579 * text/app.c : changed the way the appname is generated.
2580 * cspi : added directory that will hold the C bindings library for
2581 non-CORBA/bonobo-savvy clients.
2582 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2583 * idl/Component.idl : added in parameter to indicate coord system for
2584 geometry-related calls.
2585 * idl/Hyperlink.idl : added readonly n_links attribute
2586 * idl/Image.idl : changed methods to attributes.
2588 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2590 * at-bridge/Makefile.am: link against
2591 ../libspi/libspi.la instead of -lspi.
2593 * at-spi/test/app.c: include
2594 bonobo-activation.h. Use a default appname
2595 if one is not provided.
2597 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2599 * idl/Registry.idl : temporarily changed register_Application
2600 to oneway, to work around issue with initial registration
2602 * idl/Application.idl : changed attribute "id" from readonly
2603 to read-write, since it needs to be assigned by Registry.
2604 * registryd/registryd.c : added call to set application id
2606 * registryd/registry.c : changed de-registration procedure to
2607 use CORBA_Object_hash() to find matching object ref in application
2608 lists and listener lists.
2609 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2610 began distinguishing between event types (work in progress).
2612 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2615 * libspi/application.c:
2616 Added implementations for get/set id, get_toolkitName,
2618 * registryd/registryd.c :
2622 Converted from use of OAF to bonobo-activation.
2623 * libspi/desktop.h :
2624 * libspi/desktop.c :
2626 Removed references to atksimpleobject, since base atkobject
2627 implementation now provides functionality we need.
2628 * libspi/atksimpleobject.c :
2629 * libspi/atksimpleobject.h :
2634 * at-bridge/Makefile.am
2635 * at-bridge/bridge.c
2638 Added directory "bridge" and contents, and added dependencies
2639 in Makefile.am/configure.in.
2640 Initial checkin of "at-bridge".
2641 This code is a GTK_MODULE which automatically registers
2642 GTK+ apps with the accessibility registry, using an object
2643 reference to the root ATK object.
2645 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2647 * po/Makefile.in.in: Remove. Again. If this
2648 doesn't get autogenerated - you need to update
2651 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2653 * po/Makefile.in.in: Add. Again.
2655 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2657 * libspi/accessible.c : added support for 'description' property.
2658 * libspi/accessible.c
2660 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2661 (since the two are now equivalent in libbonobo)
2669 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2670 Bonobo::Unknown as does Accessibility::Accessible.
2671 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2672 interface with Bonobo::Stream, since it was redundant with it.
2673 (The Stream returned by a StreamableContext object is expected to
2674 implement only a subset of Bonobo::Stream)
2676 2001-07-28 Anders Carlsson <andersca@gnome.org>
2678 * libspi/accessible.c (accessible_object_finalize): Change
2679 g_free to g_object_unref since the AtkObject is a GObject.
2681 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2683 * idl/Accessibility.idl: add new IDL files
2686 * idl/Action.idl: Definitions of actionable UI object
2687 * idl/Component.idl: Definitions of UI component geometry, etc.
2688 * idl/Hyperlink.idl: Defs of hyperlink behavior
2689 * idl/Image.idl: Def of accessible image
2690 * idl/Selection.idl: Definition of UI object with selectable children
2691 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2692 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2693 * idl/Text.idl: Interface defs for UI elements with complex textual content
2694 * idl/Value.idl: Definition of UI element that is a value controller or display
2696 2001-07-27 Michael Meeks <michael@ximian.com>
2698 * po/Makefile.in.in: remove autogenerated file from CVS.
2700 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2703 * idl/Registry.idl: include guard.
2705 * idl/Accessibility.idl: Add, and include all the other IDL
2708 * idl/*.idl: remove mass of pragmas etc.
2710 2001-07-26 Michael Meeks <michael@ximian.com>
2712 * registryd/Makefile.am (registryd_SOURCES): remove
2715 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2717 * libspi/.cvsignore, registryd/.cvsignore,
2718 test/.cvsignore: updated.
2720 * po/Makefile.in.in: gettext update.
2722 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2724 * initial CVS checkin
2726 2001-06-29 Michael Meeks <michael@ximian.com>
2728 * configure.in: add AM_CONFIG_HEADER to gen config.h