1 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5 used by all current implementors of AtkValue), and coerce to
6 CORBA_float. (Proper general case fix may require change to Value.idl).
8 2001-12-09 Bill Haneman <bill.haneman@sun.com>
12 * cspi/spi_accessible.c:
13 Documentation fixes: added user_data params to documentation for
14 listeners and callbacks.
16 * cspi/spi_accessible.c:
17 Changed AccessibleStateSet_compare to return a
18 StateSet rather than return the difference set into a third parameter.
21 2001-12-09 Bill Haneman <bill.haneman@sun.com>
24 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
25 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
29 Remove subdirectory po from SUBDIRS for now.
32 Beefed up a couple of debug printouts.
33 One-line fix for signal notification name formatting.
35 * libspi/accessible.c:
36 Added assertion to spi_accessible_new ().
38 * libspi/application.c:
39 Put #ifdef qualifiers around a printf.
42 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
44 * registryd/Makefile.am:
46 Replaces use of XML_I18N_MERGE_SERVER_RULE with
47 INTLTOOL_SERVER_RULE macro.
50 Added an event listener for several ATK signals, for
51 testing and debugging. Removed a few g_warnings.
52 Added test output if focussed item implements the Value interface.
55 Added test_value () function (known not to pass at the moment, so
56 not actually called yet.
58 2001-12-08 Michael Meeks <michael@ximian.com>
60 * at-bridge/bridge.c (bridge_focus_tracker),
61 (emit_eventv): fix the same ref. leak.
62 (register_atk_event_listeners): don't leak.
64 * cspi/spi-listener-impl.c (cspi_event): more
65 protection from client code.
67 * test/test-simple.c (test_desktop): unref the app.
69 * test/Makefile.am: upd. TESTS.
71 * at-bridge/bridge.c (bridge_exit_func): release the registry.
73 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
75 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
77 * cspi/spi_registry.c: constify in strings.
78 (deregisterGlobalEventListenerAll): don't release the ref.
80 * cspi/spi.h: start removing redundant / conflicting
81 gtkdoc comments, making the API readable at a glance :-)
83 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
85 * test/keysynth-demo.c (keysynth_exit, main): upd.
87 * test/simple-at.c (main, simple_at_exit): upd.
89 * test/test-simple.c (unutterable_horror): kill.
90 (utterable_normal_derefs): kill.
91 (main): upd & do a setenv before gtk_init, so that we
92 can use memprof - and to save the pain of remembering
93 this, if we're running under memprof - don't exit.
95 * cspi/spi_main.c (SPI_exit): return exit status
97 (SPI_event_quit): impl.
98 (SPI_event_main): simplify.
99 (cspi_is_gnome_app): kill.
100 (SPI_init): kill isGNOMEapp arg.
102 * at-bridge/bridge.c (register_atk_event_listeners):
103 re-instate the unref.
104 (bridge_exit_func): don't re-activate the registry,
105 protect vs. theoretical re-entry, use the
106 AT_BRIDGE_SHUTDOWN env. var to determine whether to
107 assert a clean shutdown - for regression tests.
109 2001-12-08 Abel Cheung <maddog@linux.org.hk>
111 * configure.in: Comment out dummy i18n support for now,
112 otherwise it fails to build.
113 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
114 EXTRA_DIST. They are missing in tarball.
116 2001-12-07 Michael Meeks <michael@ximian.com>
118 * util/magnifier.c: kill bonobo activation reg. race.
121 (impl_accessibility_component_get_extents): make it match
124 * libspi/registry.c (_registry_notify_listeners):
125 re-remove X headers & reconcile conflicts.
126 (spi_listener_struct_free): bad conflict resolve.
127 (impl_accessibility_registry_register_application):
128 more bad merging fixed.
129 (impl_accessibility_registry_deregister_application): ditto.
130 (spi_registry_new): ditto.
131 (spi_registry_init): don't have an applications field.
133 [ merge fixups2 branch to here ]
134 2001-12-07 Michael Meeks <michael@ximian.com>
136 * test/simple-at.c (report_focus_event),
137 (report_focussed_accessible): remove g_warning debug.
139 2001-12-07 Michael Meeks <michael@ximian.com>
141 * test/test-simple.c (validate_tree): comment out some checks.
142 (test_desktop): app now not registered idly - horay.
144 2001-12-07 Michael Meeks <michael@ximian.com>
146 * cspi/spi_registry.c
147 (registerAccessibleKeystrokeListener): clean, stop it leaking
148 great swathes of memory, and device event controller references.
149 ensure we always pass valid sequences.
150 (deregisterAccessibleKeystrokeListener): ditto.
151 (generateKeyEvent): upd.
153 * at-bridge/bridge.c (bridge_key_listener): handle
154 registry dead exception gracefully.
155 (bridge_focus_tracker, emit_eventv): free ev.
157 * test/simple-at.c (report_focus_event): fix polarity.
159 * libspi/application.c (notify_listeners): kill the ev
160 argument, and make sure we init the ev we use.
161 (spi_application_object_event_listener): split out a chunk
162 (get_atk_object_ref): here & fixup.
163 (reverse_lookup_name_for_toolkit_event): make const.
164 (spi_application_toolkit_event_listener): fixup, kill leaks
167 * at-bridge/bridge.c (register_atk_event_listeners):
168 don't unref the noop object - causes grief.
170 * libspi/registry.c: remove the X headers.
171 turn off the debug churn.
173 * libspi/accessible.c (spi_accessible_new_return): only
174 release the ref if we are supposed to [doh]
176 * test/simple-at.c (report_button_press, report_focus_event):
177 guard vs. unexpected exit.
179 * at-bridge/bridge.c (gtk_module_init): prune printf.
180 (bridge_exit_func): fix app unref.
182 * libspi/Makefile.am: don't install registry or desktop.h
184 * libspi/*.h: update includes.
186 * libspi/application.h: don't include ourself, or
187 other redundant headers.
189 2001-12-06 Michael Meeks <michael@ximian.com>
191 * libspi/accessible.c
192 (get_accessible_from_servant): impl.
193 Upd. all CORBA impl.s to use it killing cut and paste.
195 * cspi/spi_main.c (cspi_cleanup): guard vs. double
197 (SPI_init): register atexit cleanup handler here.
199 2001-12-06 Michael Meeks <michael@ximian.com>
201 * at-bridge/bridge.c (gtk_module_init): g_error on
204 2001-12-06 Michael Meeks <michael@ximian.com>
206 * at-bridge/bridge.c (gtk_module_init): some sort of
207 confusing merge clash - reverted.
208 (bridge_idle_init): ditto.
210 * test/test-simple.c (main, utterable_normal_derefs):
211 merge from Bill - somehow not committed.
213 2001-12-06 Michael Meeks <michael@ximian.com>
215 * libspi/value.c (spi_value_class_init): upd.
216 (spi_value_finalize): kill.
218 * libspi/table.c (spi_table_finalize): kill.
219 (spi_table_interface_new): upd.
220 (spi_table_class_init): upd.
221 (get_table_from_servant): impl.
222 Upd. all CORBA impl.s to use it killing yet more cut and paste.
224 * libspi/selection.c (spi_selection_finalize): kill.
225 (spi_selection_interface_new): upd.
226 (spi_selection_class_init): upd.
227 (get_selection_from_servant): impl.
228 Upd. all CORBA impl.s to use it killing yet more cut and paste.
230 * libspi/relation.c (spi_relation_finalize): kill.
231 (spi_relation_class_init, spi_relation_new): upd
233 * libspi/image.c (spi_image_finalize): kill.
234 (spi_image_class_init): upd.
235 (spi_image_interface_new): upd.
236 (get_image_from_servant): impl.
237 Upd. all CORBA impl.s to use it killing yet more cut and paste.
239 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
240 (spi_hyperlink_finalize): kill.
241 (spi_hyperlink_new): upd.
242 (get_hyperlink_from_servant): impl.
243 Upd. all CORBA impl.s to use it killing yet more cut and paste.
245 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
246 (spi_hypertext_finalize): kill.
247 (spi_hypertext_class_init): upd.
248 (get_hypertext_from_servant): impl.
249 Upd. all CORBA impl.s to use it killing yet more cut and paste.
251 * libspi/editabletext.c (spi_editable_text_finalize): kill.
252 (spi_editable_text_interface_new): upd.
253 (get_editable_text_from_servant): impl.
254 Upd. all CORBA impl.s to use it killing yet more cut and paste.
256 * libspi/text.c (get_text_from_servant): impl.
257 All impls - update to use it killing more cut and paste,
258 also fix bad string returns on duff args ( a somewhat
259 impossible case to handle - but hey ).
260 (spi_text_construct): impl.
261 (spi_text_interface_new): upd.
262 (spi_text_object_finalize): kill.
265 (accessibility_component_object_finalize): kill.
266 (spi_component_class_init): upd.
267 (get_component_from_servant): impl. helper to kill cut & paste.
268 (impl_accessibility_component_contains):
269 (impl_accessibility_component_get_accessible_at_point):
270 (impl_accessibility_component_get_position):
271 (impl_accessibility_component_get_extents):
272 (impl_accessibility_component_get_mdi_z_order):
273 (impl_accessibility_component_get_layer):
274 (spi_component_interface_new): upd.
276 * libspi/action.c (spi_action_finalize): kill.
277 (spi_action_class_init): upd. inherit from SpiObject.
278 (spi_action_interface_new): upd.
279 (get_action_from_servant): impl. helper to reduce cut & paste.
280 (impl_getKeyBinding, impl_getName, impl_doAction),
281 (impl_getDescription): Use it everywhere.
283 * cspi/spi_main.c (get_live_refs): a pointer hash.
284 (spi_object_hash, spi_object_equal): comment out.
285 There are issues with CORBA object hashing that need
288 * libspi/application.c (spi_application_init),
289 (spi_application_new): upd.
291 * libspi/accessible.c (spi_accessible_object_finalize): kill.
292 (spi_accessible_class_init): upd.
293 s/accessible/object/ in epv methods.
295 2001-12-05 Bill Haneman <bill.haneman@sun.com>
297 * at-bridge/bridge.c:
298 Reorder the bridge initialization into the bridge gtk_module_init,
299 an immediate call to bridge_register_app, and an idle_add for
300 register_atk_event_listeners (the only code that *must* wait until
301 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
302 the activation, creates the application's Accessible object, and
303 queues the bridge_idle_init function. Restored call to
304 Accessibility_Registry_deregisterApplication().
305 Prior to making this call we obtain a new reference to the
306 registry, which is a temporary hack that helps us handle apps that
307 shut down the bonobo mainloop before we get there.
310 Fix string leakage in debug block, and don't segv if a an app
311 dies before its event notifications have been propagated.
314 Modify cspi_check_ev() to call g_warning() rather than g_error(),
315 as stopgap measure until we get proper exception handling when
316 objects die during or before interrogation.
320 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
321 Also changed default value of is_gnome_app to TRUE.
324 * test/keysynth-demo.c:
325 Changed use of SPI_init and SPI_event_main to reflect API change above.
328 Made report_focus_event check the warning value from getName
329 before reporting on focussed accessible; simplifies handling of
330 notifications from dead objects.
332 * test/test-simple.c: (Changes not in this patch since source is
335 2001-12-05 Michael Meeks <michael@ximian.com>
337 * registryd/registryd.c (main): protect against
338 bonobo-activation startup race condition.
340 * cspi/spi_main.c (cspi_object_add_check): cope
341 with the exception elegantly.
343 * idl/Accessible.idl: decl. ChildGone
345 * libspi/desktop.c (spi_desktop_dispose): impl.
346 (spi_desktop_class_init): upd.
347 (spi_desktop_add_application),
348 (spi_desktop_remove_application),
349 (abnormal_application_termination): impl.
350 (impl_desktop_get_child_at_index): re-impl.
353 (impl_accessibility_registry_deregister_application),
354 (impl_accessibility_registry_register_application):
355 kill excessive debug clutter.
357 * test/test-simple.c (test_misc): test some NULL
358 tolerance. (main): upd.
360 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
361 implements no interfaces - so let's not crash.
363 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
365 * libspi/accessible.c (spi_accessible_new_return): impl.
366 helper to calm the cut and paste, to cope with
367 NULL AtkObjects effectively and efficiently, and to kill
368 the referencing bugs.
370 * libspi/table.c (impl_getAccessibleAt),
371 (impl_getRowHeader, impl_getColumnHeader): upd.
373 * libspi/hyperlink.c (impl_getObject): upd.
375 * libspi/accessible.c
376 (impl_accessibility_accessible_get_child_at_index): upd.
379 (impl_accessibility_component_get_accessible_at_point): upd.
381 * test/test-simple.c (test_editable_text, test_text): impl.
384 * cspi/spi_editabletext.c
385 (AccessibleEditableText_insertText): constify.
387 * test/test-simple.c (focus_me): make more robust.
389 * libspi/accessible.c: remove some printfs in methods that
390 we test and work fine, so we can get a clean tree dump.
392 * test/test-simple.c (validate_accessible),
393 (validate_tree): make tree dumping pretty too.
395 * at-bridge/bridge.c (bridge_signal_listener): upd. so
396 it builds without debug on.
398 * test/test-simple.c (validate_accessible): fix the most
401 * cspi/spi_main.c (spi_object_release): leave the nicely
402 blanked memory around if in debug mode.
404 * cspi/spi-listener-impl.c (cspi_event): use add_check.
406 [committed to fixups2]
407 2001-12-05 Michael Meeks <michael@ximian.com>
409 * libspi/editabletext.c
410 (spi_editable_text_class_init): g_type_class_peek_parent,
411 not interface peek - so we finalize cleanly.
413 * libspi/accessible.c (spi_accessible_new): kill debug.
415 * test/test-simple.c (validate_accessible): fix ref.
416 leak, print strings before freeing them; sigh, comment a
417 chunk out due to strangeness.
418 (validate_tree): unref the child after use.
420 * cspi/spi_component.c (AccessibleComponent_getLayer):
421 add missing break statement, switch on zlayer not the
422 uninitialized retval.
424 * cspi/spi_main.c (cspi_object_add): add assert, local ref
425 before (possibly re-entering) remote unref.
427 * test/simple-at.c (main): unref the desktop.
429 * cspi/spi_accessible.c (cspi_accessible_is_a): move
432 * cspi/spi_main.c (cspi_accessible_is_a): here to
433 isolate bonobo API usage more.
435 * libspi/registry.c (impl_accessibility_registry_register_application):
438 2001-12-04 Michael Meeks <michael@ximian.com>
440 * test/test-simple.c (validate_tree): upd.
441 IndexInParent check to make it more lucid.
442 (validate_accessible): dump the tree.
444 * libspi/accessible.c (de_register_public_ref),
445 (get_public_refs): impl.
446 (spi_accessible_new): make more efficient & intuitive.
447 Now IndexInParent check works.
449 2001-12-04 Michael Meeks <michael@ximian.com>
451 * cspi/spi-util.h: remove.
453 * cspi/spi.h: move SPI_freeString here
455 * libspi/component.c (impl_accessibility_component_get_layer):
457 (impl_accessibility_component_get_mdi_z_order): ditto,
458 return -1 on error - is this ok ?
460 * test/test-simple.c (test_application): impl.
462 * cspi/spi_accessible.c (Accessible_getApplication),
463 (Accessible_isApplication): impl.
465 * libspi/registry.c (spi_listener_struct_free): release
466 the CORBA reference too.
468 * libspi/accessible.c
469 (impl_accessibility_accessible_get_parent): fix ref leak.
471 * libspi/registry.c (spi_registry_new): make the registry
472 immortal - we don't want it to go away ever.
474 * libspi/application.c
475 (spi_accessible_application_finalize): impl. cleanup.
477 * cspi/spi_registry.c
478 (deregisterGlobalEventListenerAll),
479 (deregisterGlobalEventListener),
480 (deregisterAccessibleKeystrokeListener): fix ref leak.
482 * cspi/spi_main.c (SPI_init): remove redundant ref.
484 * test/test-simple.c (unutterable_horror): impl. to force a
489 (impl_accessibility_registry_deregister_application): release
490 the application when we de-register it.
492 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
493 until we have the infastructure to get it right.
495 2001-12-03 Michael Meeks <michael@ximian.com>
497 * libspi/Makefile.am: only build eventlistener.[ch]
499 * libspi/accessible.c
500 (impl_accessibility_accessible_get_child_at_index): don't leak.
502 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
503 before we hit the idle handler.
505 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
508 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
510 * libspi/listener.c (impl_notify_event): check source
511 not NIL before unref.
513 * libspi/registry.c (impl_registry_notify_event): ditto.
515 * libspi/eventlistener.c
516 (impl_accessible_event_notify_event): unref the source.
518 * libspi/accessibleeventlistener.c
519 (impl_accessible_event_notify_event): unref the source.
521 * idl/Event.idl: remove 'hash_id' attribute - of no
524 * libspi/application.c (notify_listeners): upd list
526 (spi_application_object_event_listener),
527 (spi_application_toolkit_event_listener): upd to do correct
531 (_registry_notify_listeners): update.
532 (parse_event_type): this method also leaks like a sieve.
533 (impl_accessibility_registry_deregister_global_event_listener):
534 fix ETYPE_WINDOW case.
536 * libspi/application.c
537 (impl_accessibility_application_register_object_event_listener):
540 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
542 * libspi/hypertext.c (impl_getLink): ditto.
544 * cspi/spi_main.c (cspi_object_add): remove
545 bogus CORBA_Object_duplicate.
547 * cspi/spi-listener-impl.c (cspi_event): dup/ref
550 * cspi/spi_accessible.c
551 (Accessible_getRelationSet): fix leak / referencing issue.
553 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
554 (cspi_object_add, cspi_object_unref): upd.
555 (spi_object_release, get_live_refs): impl.
556 (cspi_cleanup): simplify.
558 * *.[ch]: s/boolean/SpiBoolean/
560 * cspi/spi_accessible.c (role_names): actualy order so it
561 corresponds with the enum !
563 * test/test-simple.c (test_roles): check some role strings
564 vs. enums to detect offset errors.
566 2001-12-01 Michael Meeks <michael@ximian.com>
568 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
570 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
572 (Accessible_getChildAtIndex): use cspi_add_check so we
573 check the ev before using a (possibly) invalid value.
575 * libspi/accessible.c
576 (impl_accessibility_accessible_get_parent): don't segv
579 * at-bridge/bridge.c (gtk_module_init): upd.
580 (bridge_property_event_listener): don't leak strings
582 (bridge_state_event_listener),
583 (bridge_property_event_listener): don't use a static
584 buffer in case of recursive event emission &
585 re-enterancy - split out the swathe of cut and paste
587 (emit_eventv): and fix 2 ref leaks here & comply to the
589 (bridge_register_app): rename to
590 (bridge_idle_init): this and kill arg parsing, split
591 various inits & bonobo-activation registration to module
592 init time, kill referencing error.
593 (bridge_exit_func): fix the same leak.
594 (bridge_focus_tracker): don't leak event structures
596 (bridge_signal_listener): more leakage and cut & paste
598 (bridge_key_listener): return the result - FIXME is
599 this polarity correct ?
600 (accessibility_keystroke_from_atk_key_event): rename
601 (accessibility_init_keystroke_from_atk_key_event): and stop
603 (gtk_module_init): return a value - not that it is checked by
605 (bridge_key_listener): register my horror at casting between
607 (bridge_get_registry): kill - not used.
609 * cspi/spi_accessible.c (Accessible_getRole): make return const.
611 * test/test-simple.c (test_roles): impl.
612 (test_desktop, validate_accessible, validate_tree): impl.
614 * cspi/spi_accessible.c (role_names): fixup bogus
615 MAX_ROLES setup, make constants const for efficient linkage
616 (AccessibleRole_getName): conform to coding style, make
619 2001-11-30 Michael Meeks <michael@ximian.com>
621 * cspi/spi.h: add missing prototype.
623 * libspi/registry.c (spi_listener_struct_new): fix sig.
625 * test/Makefile.am: add test-simple
627 * test/test-simple.c: add
631 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
633 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
634 do it straight - since otherwise we often get an activation race.
636 [ work before Bill duplicated a chunk of it ... ]
637 2001-11-30 Michael Meeks <michael@ximian.com>
639 * libspi/keystrokelistener.c
640 (spi_keystroke_listener_class_init): fixup arg
643 * libspi/eventlistener.c
644 (spi_event_listener_class_init): ditto.
646 * tests/test.sh: add.
648 * cspi/spi-listener-impl.h: update macros.
650 * cspi/spi-listener-impl.c
651 (cspi_event_listener_remove_callback): add
652 correct pre-conditions.
654 * cspi/spi_main.c (SPI_exit): guard vs. double
655 exits, exit the mainloop nicely.
656 (SPI_event_main): make more sense.
657 (SPI_init): move the atexit evilness here so we
659 (SPI_event_main): upd.
661 * test/simple-at.c: update for listener changes.
663 * registryd/registryd.c (main): prune kruft.
665 * libspi/libspi.h: upd.
667 * libspi/eventlistener.[ch]: rename broken macros.
669 * libspi/accessibleeventlistener.[ch]: remove.
671 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
673 * test/test-simple.c: Add - automated tests.
675 * cspi/spi-listener-impl.c (cspi_event),
676 (cspi_key_event): add user_data to invoke.
677 (cspi_keystroke_listener_finalize): impl.
678 (cspi_keystroke_listener_class_init): upd.
681 (createAccessibleEventListener),
682 (AccessibleEventListener_addCallback),
683 (createAccessibleKeystrokeListener),
684 (AccessibleKeystrokeListener_addCallback): upd.
686 * libspi/deviceeventcontroller.c
687 (spi_device_event_controller_check_key_event): add public proto.
690 (impl_accessibility_registry_deregister_global_event_listener):
691 always init listeners.
692 (_registry_notify_listeners): yes it is.
694 * cspi/spi-listener-impl.c (cspi_key_event):
696 (cspi_event_listener_finalize): impl.
697 (cspi_event_listener_class_init): hook up.
698 (event_handler_new, event_handler_free),
699 (event_list_remove_by_callback): impl.
700 (cspi_event_listener_remove_callback),
701 (cspi_keystroke_listener_remove_callback),
702 (cspi_keystroke_listener_add_callback),
703 (cspi_event_listener_add_callback): upd.
705 * libspi/keystrokelistener.c
706 (keystroke_listener_object_finalize): kill
707 (spi_keystroke_listener_class_init): upd.
708 (spi_keystroke_listener_add_callback),
709 (spi_keystroke_listener_remove_callback): kill,
711 (impl_key_event): prune drasticaly.
713 * libspi/eventlistener.c
714 (spi_event_listener_add_callback),
715 (spi_event_listener_remove_callback): kill, use
717 (impl_accessible_event_notify_event): upd.
718 (spi_event_listener_object_finalize): remove.
720 * libspi/Makefile.am: use eventlistener.[ch]
722 2001-12-04 Bill Haneman <bill.haneman@sun.com>
724 * libspi/registry.c (_registry_notify_listeners):
725 Changed listener loop iteration to use preferred convention.
726 Got rid of string memory leaks caused be calling g_strconcat
727 inside function calls.
729 * libspi/registry.c (parse_event_type):
730 Stopped g_strconcat memory leaks, free the g_strsplit return,
731 g_strdup the split pieces when used, etc.
733 2001-12-04 Bill Haneman <bill.haneman@sun.com>
736 Change method 'compare' to return a 'difference set' rather than
737 taking a StateSet as an out parameter (more Java-friendly).
739 * idl/Accessible.idl:
740 Added CORBA struct 'BoundingBox', to faciliate API changes below:
744 Changed methods 'getExtents' and 'getImageExtents' in these
745 interfaces to return a BoundingBox structure.
746 (getPosition and getSize are redundant and possibly should be
747 removed, rather than creating a corresponding Point struct.)
749 * cspi/spi_component.c:
750 Modify implementation of getExtents to reflect the above IDL
755 Add (missing) AccessibleImage_getExtents () API.
757 * docs/reference/cspi/at-spi-cspi-sections.txt:
758 Added AccessibleImage_getImageExtents () to docs.
760 2001-12-03 Bill Haneman <bill.haneman@sun.com>
763 Added two methods, getLayer () and getMDIZOrder (), to reflect
764 the new ATK methods atk_object_get_layer and
765 atk_object_get_mdi_z_order. (Which arguably should be part of the
766 AtkComponent API and AtkObject). Also added an enum,
767 ComponentLayer, for the first method's return value.
769 * libspi/component.c:
770 Added implementations for these methods.
772 * cspi/spi_component.c:
774 Added cspi binding methods for above,
775 AccessibleComponent_getLayer() and
776 AccessibleComponent_getMDIZOrder().
777 Added cspi enum 'AccessibleComponentLayer'.
779 * docs/reference/cspi/at-spi-cspi-sections.txt:
780 Added above methods to docs.
784 Changed typedef for 'boolean' type (and all references to it) to
785 SPIBoolean, to avoid keyword clashes with C++.
788 Changed usages of 'boolean' to SPIBoolean.
790 * test/keysynth-demo.c:
791 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
792 app), except where SPIBoolean is required by the callbacks API.
794 2001-12-02 Bill Haneman <bill.haneman@sun.com>
796 * cspi/spi_registry.c:
797 Removed obsolete X event loop for passive keygrabs (which now
800 * registryd/registryd.c:
801 Removed unnecessary call to gdk_init() [cruft]. This also allows
802 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
805 2001-11-28 Bill Haneman <bill.haneman@sun.com>
807 * docs/reference/cspi:
808 Included docs for SPI_freeString in generated documentation.
811 Renamed spi_freeString to SPI_freeString, for consistency. Added
812 documentation for this function.
815 Renamed spi_freeString to SPI_freeString, for consistency.
816 Removed obsolete method declaration string_from_corba_string.
818 * test/keysynth-demo.c:
819 Small tweak to comments.
822 Stopped leaking the strings returned from CSPI.
824 2001-11-28 Bill Haneman <bill.haneman@sun.com>
826 Merged Michael's branch (see his ChangeLog entries below).
828 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
829 bridge is alive, release on exit.
831 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
832 Fix type check macro.
835 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
838 Added is_gnome_app static, and method cspi_is_gnome_app(),
839 so we can call the appropriate shutdown routine at exit in SPI_exit.
841 * cspi/spi_main.c (cspi_object_ref):
842 Duplicate the corba object passed in, since we're keeping it around.
844 * cspi/SPI_exit.c, cspi_cleanup:
845 Moved the releasing of the live refs to its own function, so we
846 can put it in g_atexit (). Call the appropriate shutdown API
847 depending on whethe calling client is a gnome app or not
848 (bonobo_main_quit or CORBA_ORB_shutdown).
850 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
851 Unref the listener when this method is called, after
852 deregistration. Updated the API docs to note this behavior.
854 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
855 Bugfixes: Ref the bonobo object when returning a parent or child
856 reference, or an AccessibleRelation. Generally made sure
857 BonoboObject refcount is incremented whenever we return an
860 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
861 Fixed typo/bug in signal declaration.
863 * libspi/accessibleeventlistener.h:
866 * libspi/application.c (spi_application_new):
867 Fixed leak in initialization.
870 Remembered to increment bonobo-object refcount when returning
871 children (applications) from desktop object.
872 Added (empty) finalize method.
874 * libspi/deviceeventcontroller.c:
875 Hold a ref to listeners inside DEControllerKeyListeners.
876 Added dec_key_listener_free() method. Use prepend instead of
877 append in key_listener list. Fixed some refcount madness and
878 leaks in the listener registration/deregistration - deregistration
879 now calls dec_key_listener_free() on listeners, and on the
880 temporarily constructed dec_key_listener() used to perform the search/match.
882 * libspi/hypertext.c (spi_hypertest_finalize):
883 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
884 class. Also fixed spi_hypertext_interface_new() and
885 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
887 * libspi/hypertext.h:
888 Removed pointless and duplicate AtkObject pointer from
891 * libspi/keystrokelistener.c:
892 Fixed incorrect type of keystroke_listener_parent_class,
893 renamed keystroke_listener_object_finalize to
894 spi_keystroke_listener_object_finalize.
895 Fixed typo in signal declaration
896 (spi_keystroke_listener_class_init).
899 Added funcsions spi_listener_struct_new() and
900 spi_listener_struct_free() to help with memory management issues.
901 We also now use these methods instead of gnew + poking stuff into
902 the struct, and to decrement listener counts/free the listeners
903 when deregistering them.
904 Fix more refcount bugs in getDesktop() and
905 getDeviceEventController().
908 De-ref the desktop after enumerating the applications. Explicitly
909 decrement the refcounts on the created listeners on exit (using
910 _unref for keystroke listeners, and via the
911 deregisterGlobalEventListenerAll command for other event
914 2001-11-27 Michael Meeks <michael@ximian.com>
916 * cspi/spi-listener.h: fixup enum.
918 2001-11-27 Michael Meeks <michael@ximian.com>
920 * cspi/spi-listener-impl.c (cspi_event_listener_new),
921 (cspi_keystroke_listener_new): Use the cspi variants.
923 2001-11-26 Michael Meeks <michael@ximian.com>
925 * test/keysynth-demo.c: fix 2 compile warnings, missing
928 * test/simple-at.c (report_focussed_accessible),
929 (report_focus_event, report_button_press),
930 (check_property_change, is_command_key),
931 (report_ordinary_key_event, report_command_key_event): upd.
933 * util/mag_client.h: include pre-requisites.
935 * libspi/accessibleeventlistener.c
936 (spi_event_listener_object_finalize): free any lingering
939 * libspi/keystrokelistener.c
940 (keystroke_listener_object_finalize): ditto.
942 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
943 callbacks, with cspi types.
945 * cspi/spi_event.c (createAccessibleEventListener): chain to
946 (AccessibleEventListener_addCallback): here.
947 (createAccessibleKeystrokeListener): chain to
948 (AccessibleKeystrokeListener_addCallback): here.
950 * libspi/keystrokelistener.c
951 (spi_keystroke_listener_class_init): add signal.
952 (impl_key_event): emit the event.
953 (boolean_handled_accumulator): impl.
954 (marshal_BOOLEAN__POINTER): add, gack.
956 * libspi/accessibleeventlistener.c
957 (spi_event_listener_class_init): add signal.
958 (impl_accessible_event_notify_event): emit the signal &
959 make the loop efficient.
960 (spi_event_listener_add_callback): prepend the callback.
962 * libspi/accessibleeventlistener.h: add an 'event' signal,
963 decl type on callback.
965 * libspi/keystrokelistener.h: ditto.
967 * cspi/spi-listener.h: make methods typesafe and
968 make them use the new event typedefs.
970 * test/simple-at.c (report_focussed_accessible):
972 Use *(void *)text_interface not the other thing.
974 * configure.in: add gtk to registryd bits - since we use
977 * util/magnifier.c: include libbonobo.h
979 2001-11-25 Bill Haneman <bill.haneman@sun.com>
981 * test/keysynth-demo.c:
982 Turned this into a simple scanning keyboard, to demonstrate the
983 use of g_timeout_add () as a means of creating timers for
984 scanning, and the use of GtkStyle for visually indicating when
985 virtual keyboard elements are selected.
987 keysynth-demo now listens to any keyboard keys with zero-valued
988 keycodes (i.e. 'unused' keys) and interprets them as
991 Reworked the shiftlatch code so that shift-down state isn't held
992 for long periods (it's only synthesized immediately prior to
993 the keysynth event it's modifying). Note that shiftlatch in this
994 demo is a convenience, not intended to take the place of AccessX
995 which is the better choice for getting 'sticky' modifier keys.
997 * libspi/deviceeventcontroller.c:
998 * at-bridge/bridge.c:
999 * cspi/spi_registry.c:
1000 Removed some debug print stuff, and put other verbosity in #ifdef
1005 Implemented some more of the magnifier IDL for the simple
1006 magnifier: namely, getZoomRegionParams.
1007 Added mag_x and mag_y members to MagnifierData struct, aid of this
1009 Added GtkWindow::realize signal handler to magnifier, to keep it
1010 from receiving keyboard focus from the WM.
1012 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1014 * cspi/spi-private.h: my guess at what michael forgot
1015 before he ran off to NZ :-)
1017 2001-11-23 Michael Meeks <michael@ximian.com>
1019 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1020 comment out non existant method invoke so we link.
1022 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1023 use bonobo_exception_get_text for more friendly warnings.
1025 * cspi/spi.c (Obj_Add): move into spi_main & rename
1026 spi_object_add; kill spi.c
1028 * cspi/spi_registry.c
1029 (deregisterGlobalEventListener),
1030 (deregisterGlobalEventListenerAll),
1031 (registerGlobalEventListener): fix exception leaks.
1033 * cspi/spi_main.c (spi_exception): impl. helper, so we
1034 don't leak exceptions.
1036 * cspi/spi_selection.c
1037 (AccessibleSelection_deselectSelectedChild): return the
1040 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1041 (spi_registry): ditto.
1042 (SPI_init): guard against double inits.
1044 * cspi/*.c: use spi_ev (), and spi_registry () where
1045 appropriate - a temporary hack until we have something
1046 better. Use spi_object_add
1048 2001-11-22 Michael Meeks <michael@ximian.com>
1050 * cspi/Makefile.am: re organise, install the headers.
1052 * cspi/*.h: add G_BEGIN/END_DECLS
1054 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1057 Added non-preemptive keylistener for key events with no modifiers
1058 and shift-only modifier.
1060 * libspi/keystrokelistener.c:
1061 Removed some verbose diagnostics printout.
1063 * cspi/spi_registry.c:
1064 Fixed a bug that caused all key listeners to be registered as
1067 * libspi/deviceeventcontroller.c:
1068 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1069 for non-preemptive key masks.
1072 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1074 * docs/reference/idl/at-spi-idl-docs.sgml:
1075 * docs/reference/idl/at-spi-idl-sections.txt:
1076 * docs/reference/idl/at-spi-idl-overrides.txt:
1077 Added missing files.
1079 * docs/reference/Makefile.am:
1080 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1081 to scan the IDL files :-(
1086 Added .cvsignore files.
1088 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1090 * libspi/deviceeventcontroller.c:
1091 * libspi/keystrokelistener.c:
1093 * cspi/spi_registry.c:
1094 Added filters for KeySets, KeyEventSeq, and event types to key
1095 event dispatching, so listeners should only receive those events
1096 that they requested :-)
1098 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1103 * docs/reference:Makefile.am:
1104 * docs/reference/cspi:
1105 * docs/reference/cspi:Makefile.am:
1106 * docs/reference/cspi:tmpl:
1107 * docs/reference/cspi:tmpl:*.sgml:
1108 * docs/reference/idl:
1109 * docs/reference/idl:Makefile.am:
1110 * docs/reference/idl:at-spi-idl-sections.txt:
1111 * docs/reference/idl:at-spi-idl-docs.sgml:
1112 * docs/reference/idl:tmpl:
1113 * docs/reference/idl:tmpl:*.sgml:
1115 Restructured docs directory to allow separate 'reference' docs
1116 section, and forked idl and cspi docs. Added the sgml template
1117 files to CVS. Added the first sections/structural sgml for the
1120 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1122 * configure.in, libspi/Makefile.am: find libXtst.
1124 2001-11-21 Michael Meeks <michael@ximian.com>
1126 * test/accessx-gui.c: s/spi_value/value/ - doh.
1128 * libspi/base.[ch]: add.
1130 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1132 * idl/Accessible.idl:
1133 * idl/Application.idl:
1136 Started gtk-doc cleanup on IDL.
1138 * libspi/deviceeventcontroller.c:
1139 Added and connected non-preemptive key notification from the
1140 toolkits (in addition to the pre-emptive support from XServer
1141 which we had before, but which causes 'focus flashing'). Filters
1142 are presently limited to key modifiers and global/non-global,
1143 KeySets are presently ignored, as are KeyEvent masks.
1145 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1146 structs into the persistant structure rather than just storing
1147 pointers to things that might not persist across servant
1150 The XGrabKey call now does async keygrabs, because synchronous
1151 ones were deadlocking with GDK_event code in a very nasty way.
1153 Added boolean to internal method notify_keylisteners, to indicate
1154 whether the event came from the 'toolkit source' or the 'global
1155 (XServer) source' - this is used in the notification process to
1156 determine which listeners to send the event to.
1158 deviceeventcontroller.c is now warning-free.
1160 * libspi/registry.c:
1161 Fixed regression in application de-registration.
1162 Also fixed some really brain-dead weirdness having to do with
1163 event dispatching - event structs are now duplicated before being
1164 re-marshalled in the dispatch to listeners. This also fixes a
1165 Solaris build problem.
1168 2001-20-11 Michael Meeks <michael@ximian.com>
1171 (impl_accessibility_registry_deregister_global_event_listener):
1174 * libspi/deviceeventcontroller.c
1175 (spi_device_event_controller_check_key_event): return
1176 FALSE on no virtual method.
1178 * libspi/*..h: make includes work on a correctly pathed install.
1180 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1182 * libspi/application.h: kill unused ( and whacked out )
1183 gboolean *spi_application_set_id (AtkObject *app, long id);
1185 2001-20-11 Michael Meeks <michael@ximian.com>
1187 * libspi/*.[ch]: further convert to bonobo's type func
1188 macros, remove redundnant casts etc.
1190 * libspi/text.c s/accessibility_text/spi_text/g,
1191 re-order to de-cruft.
1193 * libspi/hypertext.c: re-order to kill a huge slew
1194 of redundant forward decls.
1196 * libspi/relation.c: ditto.
1198 * libspi/image.c: ditto.
1200 * */.cvsignore: update
1202 2001-20-11 Michael Meeks <michael@ximian.com>
1204 * libspi/deviceeventcontroller.c
1205 (_controller_register_with_devices): use g_getenv,
1206 kill stdlib.h include.
1208 * libspi/keystrokelistener.c
1209 (spi_keystroke_listener_get_type): kill
1210 (spi_keystroke_listener_class_init),
1211 (spi_keystroke_listener_init): rename to this.
1213 * libspi/text.c (impl_getAttributes): fix warning / bug.
1215 * libspi/*.[ch]: more headers, includes and over commenting.
1217 2001-20-11 Michael Meeks <michael@ximian.com>
1219 * libspi/*.[ch]: fixup headers, includes and over commenting.
1221 * libspi/image.c (impl__get_imageDescription): const
1222 correctness warning fix. remove redundant casting.
1224 * libspi/table.c (impl_getRowDescription): ditto.
1225 (impl_getColumnDescription): ditto.
1227 * libspi/libspi.h: add.
1229 2001-19-11 Michael Meeks <michael@ximian.com>
1231 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1233 * libspi/component.c (accessibility_component_get_type):
1234 rename to (spi_component_get_type): and macroify.
1235 (accessibility_component_init): rename to
1236 (spi_component_init): this
1237 (accessibility_component_class_init): rename to
1238 (spi_component_class_init): this
1240 * libspi/action.c (spi_action_get_type): kill, use the macro.
1242 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1245 * libspi/application.c (spi_application_object_event_listener),
1246 (impl_accessibility_application_register_object_event_listener):
1247 warning fixes / const understanding updates.
1249 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1252 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1254 * libspi/spi_accessible.c: Added docs and C bindings for
1255 AccessibleStateSet. (No implementations yet). Documentation
1256 coverage for C bindings now 100%. Made docs for event listeners
1261 boolean notifyListenersSync (in DeviceEventListener listener,
1262 in DeviceEvent event);
1264 oneway void notifyListenersAsync (in DeviceEventListener listener,
1265 in DeviceEvent event);
1267 Added DeviceEventListener and DeviceEvent structs (may deprecate
1268 KeyStroke and KeystrokeListener in favor of this generic
1269 event/listener framework for devices).
1271 * libspi/deviceeventcontroller.c:
1273 Changed some key listener code to take masks, etc., and paved the
1274 way for integration of toolkit/non-preemptive key events. Changed
1275 signatures of some internal methods.
1277 * at-bridge/bridge.c:
1278 Fixed regression connecting to interface signals, apparently
1279 caused by GTK+ changes.
1281 Added an internal bridge_state_listener to deal with
1282 property-change:accessible-state signals.
1284 Changed the key_listeners GList to store structs (including masks,
1285 etc.) instead of just CORBA_Objects (required for full
1286 implementation of key listener API).
1288 Connected the bridge to all currently supported Atk signals.
1289 Events now supported:
1290 object:property-change
1291 object:property-change:accessible-name
1292 object:property-change:accessible-state
1293 object:property-change:accessible-description
1294 object:property-change:accessible-parent
1295 object:property-change:accessible-value
1296 object:property-change:accessible-role
1297 object:property-change:accessible-table-caption
1298 object:property-change:accessible-table-column-description
1299 object:property-change:accessible-table-column-header
1300 object:property-change:accessible-table-row-description
1301 object:property-change:accessible-table-row-header
1302 object:property-change:accessible-table-summary
1303 object:children-changed
1304 object:visible-data-changed
1305 object:selection-changed
1306 object:text-selection-changed
1308 object:text-caret-moved
1310 object:row-reordered
1312 object:column-inserted
1313 object:column-reordered
1314 object:column-deleted
1315 object:model-changed
1317 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1319 * libspi/hyperlink.c,h:
1320 Fixed some broken stuff in hyperlink.
1322 * libspi/relation.h:
1323 * libspi/relation.c:
1324 * cspi/spi_accessible.c:
1325 Initial implementations of AccessibleRelation methods, and docs.
1327 * libspi/accessible.c:
1328 Fixed a bug that caused SEGV if an accessible
1329 object's description is NULL, and a client
1330 requests it. An empty string is now returned.
1332 * cspi/spi_editabletext.c:
1333 * cspi/spi_hypertext.c:
1335 * cspi/spi_hyperlink.c:
1339 Doc coverage now 95%.
1341 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1343 One last namespacing revision:
1344 * libspi/accessibleeventlistener.[ch]:
1345 Renamed SpiAccessibleEventListener to SpiEventListener,
1346 (no need for two namespaces ;-)
1348 And lots of documentation fixes:
1350 * docs/at-spi-docs.sgml:
1351 Fixed 'underscore vs. hyphen' bug that was preventing
1352 the gtk-doc API docs from being automatically generated.
1355 * cspi/spi-listener.h
1357 * cspi/spi_accessible.c
1359 * cspi/spi_application.c
1360 * cspi/spi_component.c
1361 * cspi/spi_editabletext.c
1363 * cspi/spi_hypertext.c
1365 * cspi/spi_registry.c
1366 * cspi/spi_selection.c
1370 * docs/at-spi-docs.sgml
1371 * docs/at-spi-sections.txt
1373 Added and fixed up gtk-doc documentation in cspi.
1375 Interfaces now (fully) documented (subject to revision and enhancement):
1377 Event Listener Support
1379 AccessibleApplication
1383 AccessibleEditableText
1390 AccessibleRelationSet
1395 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1397 * at-bridge/bridge.c:
1398 Initial work for toolkit-level key snooper connection by bridge.
1403 New typedefs and fixes to support new namespacing, and cleaner
1404 separation of cspi bindings from libspi bonobo implementation.
1405 Removed inconsistent and extraneous Spi* namespace prefix that
1406 had crept into cspi headers.
1407 Lots of comment fixes that sed had missed.
1409 * cspi/spi-roletypes.h:
1410 * cspi/spi-statetypes.h:
1411 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1412 to AccessibleRoleType.
1414 * libspi/accessibleeventlistener.h:
1415 Fixed minor namespacing weirdness.
1417 * libspi/deviceeventcontroller.c:
1418 Reordered some internal API for device listeners.
1419 Changed the key registry final boolean to 'is_system_global'
1420 rather than 'is_synchronous', which is more descriptive of its
1422 Added spi_device_event_controller_new().
1423 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1425 * libspi/keystrokelistener.[ch]:
1426 Namespaced KeystrokeListener to SpiKeystrokeListener.
1427 Changed uses of keymasks to use SPI_ prefix, and did other
1430 * libspi/keymasks.h:
1431 Namespaced keymask constants with SPI_ prefix.
1433 * libspi/registry.c:
1434 Some warning fixes, and knock-on fixes from namespace changes.
1437 Added rules for accessx-gui test program.
1439 * test/accessx-gui.c:
1440 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1441 utility. It doesn't actually use at-spi, but it's still cool and
1444 * test/keysynth-demo.c:
1448 Fixes so that these test clients work properly with the namespaced
1449 libraries. (Incompletely tested for technical reasons, fixes may follow)
1452 2001-13-11 Michael Meeks <michael@ximian.com>
1454 * libspi/application.c
1455 (impl_accessibility_application_get_version),
1456 (impl_accessibility_application_get_toolkit_name):
1458 (impl_accessibility_application_set_id),
1459 (impl_accessibility_application_get_id): remove
1460 redundant casting code.
1462 * libspi/action.c (impl_getDescription): fix warnings.
1464 * libspi/accessible.c
1465 (impl_accessibility_accessible_get_parent),
1466 (impl_accessibility_accessible_get_child_at_index),
1467 (impl_accessibility_accessible_get_state),
1468 (impl_accessibility_accessible_get_relation_set):
1469 warning fixes & include action.h
1471 2001-13-11 Michael Meeks <michael@ximian.com>
1473 * *.[ch] fix bits I screwed up:
1475 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1476 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1478 2001-13-11 Michael Meeks <michael@ximian.com>
1480 * *.[ch] Namespace libspi into spi_ and Spi.
1482 2001-13-11 Michael Meeks <michael@ximian.com>
1484 * Makefile.am: dist & install at-spi-1.0.pc
1486 * libspi/Makefile.am: install into at-spi-1.0
1488 * idl/Makefile.am (idldir): install into at-spi-1.0
1490 * at-spi-1.0.pc.in: add.
1492 * configure.in: build it.
1494 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1496 * test/keysynth-demo.c:
1497 Use a 'realize' signal-handler to set the WM properties for
1498 the virtual keyboard, rather than making it a "POPUP" type
1499 override-redirect window (thanks to anders carlsson for that
1502 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1505 * test/keysynth-demo.c:
1506 Added new test of key synthesis, which creates a simple
1507 (mouse-operated) onscreen keyboard. It inserts key events into
1508 the currently-focused window, thus it does not grab keyboard focus
1511 * cspi/spi_registry.c:
1512 Added C binding for AT-SPI generateKeyEvent.
1514 * libspi/deviceeventcontroller.c:
1515 Added call to XFilterEvent so that key listener works with XIM (we
1516 hope). Added event_synth_type to generateKeyEvent, so that we can
1517 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1518 synthesize a press/release pair for KeySyms.
1520 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1522 * libspi/Makefile.am:
1523 * registryd/Makefile.am:
1524 (temporary) hack to include libXtst in libspi and registryd.
1525 (Needed for keystroke synthesis, see below).
1528 Improved API for registerKeystrokeListener, in accordance with
1529 discussions with Gnopernicus team and X server research.
1531 * libspi/registry.c:
1532 * libspi/deviceeventcontroller.c:
1533 * libspi/accessible.c:
1534 * libspi/keystrokelistener.c:
1535 Changes and fixes to support keylisteners for potentially
1536 consumed key events (that is, 'passive grabs').
1537 Added implementation for generateKeyEvent() [untested].
1540 Changes to registerKeystrokeListener() API, as above.
1541 Added deregisterGlobalEventListenerAll(), and
1542 deregisterKeystrokeListener(), which are needed for clean exit of
1544 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1545 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1547 * cspi/spi_registry.c:
1548 Added implementations of function prototypes mentioned above.
1550 * registryd/registryd.c:
1551 Added the key listener event source as a g_timeout(), to allow
1552 receipt of key events that are not caught by GDK (since GDK
1553 doesn't support passive keygrabs, this was necessary).
1556 Changed to attach a keylistener to 'Alt' keys, and
1557 respond to the following keycommands: Alt-M (toggle magnifier);
1558 Alt-F (toggle speech); Alt-Q (quit).
1559 Added an exit routine to deregister the listeners, and a key
1560 listener that prints some key info to the console when a key
1561 matches the listener mask (and is thus received by the listener).
1563 * util/idl/Magnifier.idl:
1564 Changes to magnifier API to support multiple zoom regions,
1565 non-uniform scaling in x and y, markDirty, and a host of other
1566 features that would be useful to magnification.
1569 * util/mag_client.c:
1570 * util/mag_client.h:
1571 * util/mag_control.c:
1573 Source code changes to support the above IDL changes.
1576 As above, and also changes to use a (slower) generic conversion
1577 path for colormap conversions, since the fast RGB conversions have been
1578 reported to fail for 16-bit displays.
1580 2001-10-26 Michael Meeks <michael@ximian.com>
1582 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1584 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1586 * at-bridge/Makefile.am: fix LDFLAGS.
1588 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1590 * at-bridge/bridge.c:
1591 Re-worked listeners for toolkit events, now we have signal
1592 and property listeners. Added a private method
1593 register_atk_event_listeners(), which registers with the
1594 various atk and gtk signals we need to monitor in order to emit
1596 Added emission hook for AtkObject:property-change events, to
1597 support the 'property listeners'.
1598 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1601 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1602 which emit warnings and exit, respectively, if CORBA errors occur
1603 during remote calls, and we now use these methods to check most of
1604 our CORBA calls in the C bindings.
1606 * cspi/spi_accessible.c:
1607 Changed AccessibleSelection_refSelectedChild() to
1608 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1609 now increment refcounts.
1611 * cspi/spi_component.c:
1612 Fixed some long pointer casts (dangerous!) to pass pointers to
1613 CORBA_longs of the proper type to the CORBA stubs, and copy the
1614 data into the longs that were passed into the C bindings code.
1616 * at-bridge/bridge.c:
1618 * libspi/accessible.c:
1619 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1620 hyperlinks, AtkHyperlink is an object type.
1622 * libspi/application.c:
1623 Added various conversions to and from "generic" event types and
1624 atk-specific types; this is really part of the 'bridge'
1625 implementation but is valid for all AtkObject-based accessibility
1628 * libspi/editabletext.c:
1629 Fixed nasty bug wherein editable text's finalize method was
1630 unref'ing tha AtkObject reference that the text parent class was
1631 about to unref _again_. There was also a nasty inheritance bug
1632 that meant that the AccessibleEditableText class was corrupt.
1634 * libspi/selection.c:
1635 Provided implementations for some selection API that was broken.
1637 * idl/Application.idl:
1638 Added registerObjectEventListener () method.
1641 Fixed a number of return values that were Bonobo_Unknowns from
1642 bonobo_object_corba_objref(), which I
1643 forgot to dup before returning. Changed instances of
1644 bonobo_object_corba_objref (bonobo_object(o)) to
1645 BONOBO_OBJREF(o), for concision and clarity.
1647 <2001-10-13 Louise Miller <louise.miller@sun.com>
1649 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1650 idl/Event.idl, idl/Registry.idl
1651 Changed these files to include Bonobo_Unknown.idl instead
1654 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1656 * libspi/component.c libspi/component.h:
1657 Fixed typo. Added assertions for object checks in
1658 AccessibleComponent code.
1660 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1662 * idl/Accessible.idl:
1663 Added 'isEqual (Accessible *object)'
1664 method for Accessible. (Not Yet Implemented).
1667 Changed signature of registerKeystrokeListener() to
1668 take a KeySet and KeyEventSeq so that specific keys and event
1669 types could be requested for monitoring, and added a flag
1670 is_synchronous so that either synchronous or asynchronous
1671 notification could be requested. (However this is not all
1672 implemented yet). This also meant adding two new typedefs,
1673 KeyEventSeq and KeySet.
1676 Added two new relations, RELATION_TOOLTIP_FOR and
1677 RELATION_LEAFNODE_OF.
1680 Added new state, STATE_HAS_TOOLTIP.
1682 * libspi/text.c, editabletext.c:
1683 Added new assertions to all casts of bonobo-objects from
1684 CORBA servants, to prevent Text API calls on non-text objects.
1685 Changed suspect casts of int-pointer types, so that we
1686 always send a valid CORBA_long pointer to the CORBA APIs that use
1687 in/out long parameters. We then have to copy from the CORBA_long
1688 into the regular long or int for return to the C bindings, or
1689 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1692 * libspi/deviceeventcontroller.c:
1693 Cleaned these sources up.
1695 Changed return type for getCharacterAtOffset to
1696 CORBA_unsigned_long, to allow for 32-bit characters.
1699 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1703 Fixed 'make dist' so that distro compiles...
1704 * libspi/keymasks.h:
1706 * cspi/spi-listener.c:
1707 KeystrokeListenerCB now returns a boolean.
1709 Added KeyEventType struct, and KeyStroke.
1710 Also added createKeystrokeListener(),
1711 KeystrokeListener_addCallback(),
1712 KeystrokeListener_removeCallback(), and added a keymask to
1713 registerKeystrokeListener().
1714 * cspi/spi_accessible.c:
1715 Changed numerous return types for interfaces from
1716 AccessibleComponent to Accessible<InterfaceName>; this was
1717 probably a cut-and-paste error.
1719 Implementations of new KeystrokeListener api (from spi.h,
1722 Changes to key modifier mapping.
1723 Created ControllerEventMask struct.
1724 Made DeviceEventController derive from Bonobo::Unknown.
1726 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1727 * libspi/deviceeventcontroller.c:
1728 Added a number of new internal (private) methods.
1729 * libspi/editabletext.c:
1730 * libspi/editabletext.h:
1731 Fixed a number of bugs related to the fact that
1732 editabletext inherits from text. Fixed the EditableText struct,
1733 the init() call, and use correct casts when calling Text methods
1734 from an EditableText object. Removed (duplicate) atko from the
1735 EditableText structure, we use the one in the parent Text
1736 structure via the casts mentioned above.
1737 * libspi/keystrokelistener.[ch]:
1738 * libspi/registry.c:
1739 Changes in support of keyboard handling (above).
1741 Keyboard handling, though partly functional, is still not
1742 recommended for at-spi client use as there is considerable
1743 work yet to be done.
1746 Changed some places where pointers to various int types
1747 are cast to be pointers to CORBA_long types and vice-versa:
1748 pointer casting is not safe so we pass pointers of the correct
1749 types and then cast the result before putting it into the target
1752 * libspi/text.h: minor typos corrected.
1754 We now speak not only the name of a Text element, but the
1755 first sentence of its content, when it receives focus.
1756 I also changed the text compression to 75% from 50%.
1757 * util/Accessibility_Util.server.in:
1758 Changed the default magnifier type to be a 3x vertical
1759 splitscreen magnifier (was previously a 2x horizontal one).
1761 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1763 * libspi/keystrokelistener.h:
1764 * libspi/keystrokelistener.c:
1765 Initial functional implementations of KeystrokeListener.
1768 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1770 Fixed string handling for NULL strings in libspi.
1771 Added spi_freeString to free strings returned by C bindings.
1773 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1775 * libspi/keystrokelistener.h:
1776 * libspi/keystrokelistener.c:
1777 Began (no-op) implementations of KeystrokeListener
1779 * libspi/deviceeventcontroller.c:
1780 * libspi/deviceeventcontroller.h:
1781 Began creating implementations of DeviceEventController,
1782 to handle keystroke and mouse event listening and
1784 * libspi/accessible.c:
1785 Stubbed-in the implementations for
1786 Accessibility_Accessible_getState and
1787 Accessibility_Accessible_getRelationSet.
1788 * libspi/registry.c:
1789 Improved de-registration process and fixed some bugs,
1790 deregistration now works correctly.
1792 Added initialization of applications list (to NULL).
1794 Reduced speech compression from 0.5 to 0.7, for demo.
1795 Changed call to gdk_window_set_decorations()
1796 to gtk_window_set_decorated().
1797 * at-bridge/bridge.c:
1798 Bridge now deregisters when app exits, via
1799 registration of a cleanup function
1800 with the g_atexit() call.
1801 Required making 'app' static, renamed 'this_app'.
1802 Fixed broken use of bonobo_init, passing argv wrongly.
1804 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1808 Created a new directory for
1809 accessibility-related utilities, primarily for
1810 testing and demo purposes, but with possible
1817 Onscreen magnifier utility that
1818 is implemented as a bonobo service.
1820 * util/mag_client.c:
1821 * util/mag_client.h:
1822 Client-side support (simple C bindings)
1823 for Magnification service
1825 * util/mag_control.c:
1826 Client program example for
1827 Magnification service
1829 * util/Accessibility_Magnifier.server.in:
1830 Bonobo-activation file for the
1831 Magnification service.
1834 * util/idl/Magnifier.idl:
1835 IDL defining the bonobo Magnification
1839 Modifications to use the bonobo-activated magnifier
1840 above, in place of trying to connect to an existing
1841 magnifier that uses socket-listening IPC.
1843 If env variable MAGNIFIER is set, a magnifier service
1844 will be started if one does not exist.
1846 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1847 * at-bridge/bridge.c:
1848 applied patch from Marc to build and run
1849 against new glib and gtk+ (seemed like a change
1850 to bonobo_init signature was made ?)
1852 made festival-server support turned off by default.
1853 Added support for a simple magnifier (off by default)
1854 which will be added to a 'util' directory later.
1855 * at-bridge/Makefile.am:
1856 Changed "application.h" header from a 'source'
1857 to a 'dependency' of libat-bridge.
1859 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1867 Added interface implementation c files to list of
1868 includes so they are included in libcspi.
1871 Changed prototype of AccessibleAction_doAction to return a
1873 Changed prototype of AccessibleTable_getCaption to
1874 return an Accessible.
1875 Changed prototype of AccessibleTable_getSelectedRows
1876 and AccessibleTable_getSelectedColumns to
1877 return a long (returns the number of selected rows
1878 or columns respectively).
1879 Changed name of AccessibleText_refRunAttributes to
1880 AccessibleText_getAttributes.
1881 Changed prototype of AccessibleText_getCharacterExtents to
1882 return a void rather than a boolean.
1883 Added support for a AccessibleCoordType parameter
1884 specifying what type of coordinates are desired.
1885 Added an AccessibleCordType parameter to
1886 AccessibleText_getPointAtOffset.
1888 * cspi/spi_accessible.c:
1889 Added code to return the outstanding interfaces from
1890 Accessible_queryInterface.
1892 * cspi/spi_action.c:
1894 Corrected call to getNActions to call the c binding
1897 * cspi/spi_editabletext.c:
1899 Changed name from setRunAttributes to setAttributes.
1901 * cspi/spi_hyperlink.c:
1903 Changed call to getNAnchors to correctly call the c
1904 binding for an attribute.
1906 * cspi/spi_hypertext.c:
1908 Changed getImageDescription to correctly call the
1909 binding for an attribute.
1911 * cspi/spi_selection.c:
1912 Changed getNSelectedChildren to correctly call the c
1913 binding for the attribute.
1914 Changed refSelectedChild to getSelectedChild.
1918 Changed getCaption to return an Accessible.
1919 Fixed calls which retrieve attributes.
1920 Changed refAt to getAccessibleAt.
1921 Changed getNSelectedRows and getNSelectedColumns to
1925 Changed getCharacterExtents and getPointAtOffset to accept an
1926 AccessibleCoordType.
1928 Changed calls which retrieve attributes.
1929 Changed refRunAttributes to getAttributes.
1934 * idl/Hyperlink.idl:
1935 Changed n_anchors attribute to nAnchors to keep naming
1936 convention consistent.
1939 Made Table inherit from Bonobo::Unknown.
1940 Added nSelectedColumns and nSelectedRows attributes.
1943 Made Value inherit from Bonobo::Unknown.
1945 * libspi/hyperlink.c:
1946 Change for nAnchors attributte name change.
1948 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1956 Added interface implementation c files to list of
1957 includes so they are included in libcspi.
1960 Changed prototype of AccessibleAction_doAction to return a
1962 Changed prototype of AccessibleTable_getCaption to
1963 return an Accessible.
1964 Changed prototype of AccessibleTable_getSelectedRows
1965 and AccessibleTable_getSelectedColumns to
1966 return a long (returns the number of selected rows
1967 or columns respectively).
1968 Changed name of AccessibleText_refRunAttributes to
1969 AccessibleText_getAttributes.
1970 Changed prototype of AccessibleText_getCharacterExtents to
1971 return a void rather than a boolean.
1972 Added support for a AccessibleCoordType parameter
1973 specifying what type of coordinates are desired.
1974 Added an AccessibleCordType parameter to
1975 AccessibleText_getPointAtOffset.
1977 * cspi/spi_accessible.c:
1978 Added code to return the outstanding interfaces from
1979 Accessible_queryInterface.
1981 * cspi/spi_action.c:
1983 Corrected call to getNActions to call the c binding
1986 * cspi/spi_editabletext.c:
1988 Changed name from setRunAttributes to setAttributes.
1990 * cspi/spi_hyperlink.c:
1992 Changed call to getNAnchors to correctly call the c
1993 binding for an attribute.
1995 * cspi/spi_hypertext.c:
1997 Changed getImageDescription to correctly call the
1998 binding for an attribute.
2000 * cspi/spi_selection.c:
2001 Changed getNSelectedChildren to correctly call the c
2002 binding for the attribute.
2003 Changed refSelectedChild to getSelectedChild.
2007 Changed getCaption to return an Accessible.
2008 Fixed calls which retrieve attributes.
2009 Changed refAt to getAccessibleAt.
2010 Changed getNSelectedRows and getNSelectedColumns to
2014 Changed getCharacterExtents and getPointAtOffset to accept an
2015 AccessibleCoordType.
2017 Changed calls which retrieve attributes.
2018 Changed refRunAttributes to getAttributes.
2023 * idl/Hyperlink.idl:
2024 Changed n_anchors attribute to nAnchors to keep naming
2025 convention consistent.
2028 Made Table inherit from Bonobo::Unknown.
2029 Added nSelectedColumns and nSelectedRows attributes.
2032 Made Value inherit from Bonobo::Unknown.
2034 * libspi/hyperlink.c:
2035 Change for nAnchors attributte name change.
2038 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2040 implementations-- made server implementations own AtkObject pointers
2041 rather than their respective AtkInterrface pointers to fix
2042 refcounting. AtkHyperlink is still broken.
2044 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2045 * cspi/spi_accessible.c:
2046 Added method Accessible_Role_getName(),
2047 and requisite string array (role_names).
2048 Added conversion string_from_corba_strin() call
2049 to Accessible_getName and _getDescription.
2050 * libspi/accessible.c:
2051 Added implementation for Accessible_getRole()
2053 Added festival support, used if environment variable
2056 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2058 * at-bridge/bridge.c:
2059 Now allocate Accessibility_Event using
2060 Accessibility_Event__alloc() instead of g_new0().
2061 * libspi/accessibleeventlistener.c:
2062 Initialize AccessibleEventListener->callbacks to NULL.
2063 Fixed accessible__event_listener_init() param, changed to
2064 "AccessibleEventListener *" type.
2065 Changed a bonobo_object_release_unref() call to
2066 Accessibility_Accessible_unref().
2067 * libspi/listener.c:
2068 Changed Bonobo_Unknown_unref to (equivalent)
2069 Accessibility_Accessible_unref.
2070 * libspi/registry.c:
2071 Changed bonobo_object_release_unref to
2072 Accessibility_Accessible_unref.
2074 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2077 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2078 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2079 spi-util.c spi-util.h
2080 Implementations for C bindings to remaining accessibility
2083 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2086 changed return value of Action from void to boolean to
2087 bring in line with ATK.
2090 Changed getText funcions to return "out" start and end offsets.
2091 Changed getAttributes to take and offset and return the start
2092 and end offset of the attribute run.
2093 Changed getOffsetAtPoint and getCharacterExtents to take an
2094 enum describing whether coordinates are window or screen.
2097 libspi/action.c libspi/action.h libspi/editabletext.c
2098 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2099 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2100 libspi/image.h libspi/selection.c libspi/selection.h
2101 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2102 libspi/value.c libspi/value.h
2103 Added server implementations for outstanding ATK interfaces
2104 not yet implemented.
2106 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2109 Added (missing) getName() method.
2110 Made nActions an attribute.
2111 * idl/EditableText.idl:
2112 Changed order of params in setAttributes.
2113 * idl/Hyperlink.idl:
2114 Removed getAnchor, added getURI.
2116 Changed attributes to methods, for efficiency
2117 (so that getting extents can be done in one call)
2118 * idl/Selection.idl:
2119 Changed nSelectedChildren to attribute, and re-indented.
2120 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2122 * idl/Text.idl: reformatted to match our coding style.
2123 (temporarily?) removed getRowColumnAtOffset().
2124 Changed text selection API to support multi-select and
2125 non-contiguous selections, as in ATK.
2126 * idl/Value.idl: changed some methods to attributes.
2128 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2130 * libspi/listener.c(impl_notify_event):
2131 BonoboUnkown_unref the source instead
2132 of bonobo_object_release_unref - the ORB
2133 handles the releasing.
2135 * configure.in: require ORBit-2.3.94 for
2138 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2140 Tagged CVS repository 'EA_1_0'.
2141 * README.EARLY_ACCESS:
2142 Alphabetized acknowledgements list, and
2144 Listed some known dependencies of at-spi.
2146 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2148 * docs/at-spi-docs.sgml:
2149 * docs/at-spi-sections.txt:
2150 * docs/at-spi-overrides.txt: (Added zero-length file)
2151 Documentation improvements - gtk-doc should build
2152 docs for all implemented C bindings now.
2155 * cspi/spi.c: (New file)
2156 * cspi/spi_event.c: (New file)
2157 * cspi/spi_registry.c: (New file)
2158 * cspi/spi_accessible.c: (New file)
2159 * cspi/spi_application.c: (New file)
2160 * cspi/spi_component.c: (New file)
2161 Split spi_main.c into six parts, and included them from
2162 "spi.c". This is a bit of a hack, probably temporary,
2163 but required by gtk-doc, apparently.
2165 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2168 * docs/at-spi-docs.sgml:
2169 * docs/at-spi-sections.txt:
2171 Initial checkins/modifications for gtk-doc generation.
2174 Added (missing) interface query methods to Accessible's C binding.
2176 Added GenericInterface type definition.
2178 Added query for AccessibleComponent interface to focus event handler.
2179 Added printout of bounding box for focussed component.
2180 * libspi/component.c:
2181 Added partial implementation for AccessibleComponent to C binding.
2182 * idl/Application.idl:
2183 * libspi/registry.c:
2184 * libspi/listener.c:
2185 * libspi/application.c:
2186 * libspi/application.h:
2187 Changed "ID" attribute type from string to long.
2189 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2193 Made method naming consistent: methods taking object args
2194 start with uppercase, other methods (except those using
2195 acronyms) start with lowercase. Underscores delimit between
2196 object names and method names:
2197 SPI_init() - uppercase since it starts with an acronym.
2198 getDesktopCount () - lowercase start since no object param0.
2199 Accessible_getName() - uppercase object type name, studlyCaps method
2203 Added gtk-doc documentation for all currently implemented
2204 methods in the C bindings API.
2206 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2208 * Makefile.am : changed build order to build test last.
2211 Changed "createEventListener" to "CreateEventListener".
2212 * libspi/accessibleeventlistener.c :
2213 Bugfix for addition of callbacks.
2214 * test/Makefile.am :
2215 * test/simple-at.c :
2216 Added new test that uses the C bindings API.
2218 * libspi/listener.c :
2219 * libspi/registry.c :
2220 * libspi/accessibleeventlistener.c :
2221 * at-bridge/bridge.c :
2222 Renamed member "target" of Accessibility_Event to "source",
2223 which is more descriptive.
2226 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2230 * cspi/Makefile.am :
2231 Added makefile support for at-spi/cspi directory.
2234 * cspi/spi-listener.h : (NEW FILE)
2235 Added support for/use of spi-listener.h.
2237 C bindings now build successfully, with no warnings.
2238 * libspi/accessibleeventlistener.h : (NEW FILE)
2239 * libspi/accessibleeventlistener.c : (NEW FILE)
2240 * libspi/Makefile.am :
2241 Added new object type "AccessibleEventListener"
2242 which inherits from Listener, and allows attachment
2243 of in-process callbacks (so that a client with a listening
2244 object instance can add functionality to the local
2245 implementation, dynamically).
2247 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2249 * libspi/accessible.c:
2250 Add implementation for get_index_in_parent().
2252 Added #include of "spi-roletypes.h", and
2253 added enumerated type AccessibleCoordType.
2254 Added definition for KeystrokeListener (function type).
2257 * cspi/spi-statetypes.h :
2258 * cspi/spi-roletypes.h :
2260 Added these headers, used by spi.h.
2262 Added code (NOTE: not yet built by make).
2264 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2266 * libspi/Makefile.am: generate imodule
2267 at the same time as other idl compiler
2270 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2271 * libspi/registry.c :
2272 * libspi/application.c :
2273 * idl/Application.idl :
2274 Made registration with toolkit an application method,
2275 which is required since each app has its own toolkit static
2276 environment. Thus the bridge must register for
2277 notification of toolkit events from each application in turn.
2278 Toolkit notifications are now successfully registered for, and
2279 sent to the listening at client.
2281 Changed toolkit event string to use hyphens rather than underscores.
2282 * libspi/listener.c :
2283 listner now gives more info in debug mode - it reports the
2284 name of the event received, as well as the name of the source.
2287 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2289 * libspi/registry.c :
2290 added more implementation for toolkit events.
2291 Fixed bug such that toolkit event registrations
2292 (via atk) use the whole event name string, not
2294 Removed a useless call to an ORBit_ method.
2295 * at-bridge/bridge.c :
2296 Removed unused local sbuf[] variable.
2298 We now register for Gtk:GtkWidget:button_press_event
2299 events as well as "focus:" events.
2301 Add some more API from Registry.idl that was missing,
2302 for keystroke listening, keystroke and mouse event
2303 synthesis, and enumeration of accessible desktops.
2305 2001-08-16 Michael Meeks <michael@ximian.com>
2307 * configure.in: use AM_GLIB_GNU_GETTEXT.
2309 * Makefile.am (SUBDIRS): kill intl.
2311 2001-08-15 Michael Meeks <michael@ximian.com>
2313 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2315 * configure.in: upd.
2317 * configure.in: depend on a recent bonobo-activation that
2318 will find our server files ...
2320 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2322 * libspi/accessible.c : accessible_new() :
2323 Now we add the Component interface via bonobo_object_add_interface,
2324 if the contained AtkObject implements AtkComponent.
2325 * libspi/accessible.h : now include "component.h"
2326 * libspi/component.h :
2327 * libspi/component.c : added files - implementation of
2328 bonobo wrapper object for Accessibility/Component
2329 * libspi/listener.c :
2330 Added test code to check for Accessibility/Component:1.0
2331 interface and report whether it is implemented by the
2333 * libspi/registry.c :
2334 Now we check for not only the hash of the whole event
2335 string before relaying the event, we also check the
2336 "minor" event string (without the detail string).
2337 This allows event listeners to be registered against
2338 all events of a certain major+minor type, or just
2339 against a specific major+minor+detail type.
2340 * libspi/accessible.c :
2341 Added implementations for Accessible:get_parent(),
2342 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2343 * libspi/registry.c :
2344 * libspi/listener.c :
2345 Replaced calls to Accessibility_Accessible_ref() and
2346 Accessibility_Accessible_unref() with
2347 calls to bonobo_object_dup_ref() and
2348 bonobo_object_release_unref(), so that the CORBA object
2349 is dup-ed and released when relayed, as well as the bonobo object.
2351 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2353 * libspi/Makefile.am,
2354 registryd/Makefile.am,
2355 at-bridge/Makefile.am.
2356 test/Makefile.am, configure.in:
2357 reverse previous changes.
2359 * /idl/Image.idl: fix typo.
2361 * test/Makefile.am: put DEBUG_FLAGS
2364 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2366 * test/app.c: use argv[0] instead of
2369 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2371 * libspi/Makefile.am,
2372 registryd/Makefile.am,
2373 at-bridge/Makefile.am.
2374 test/Makefile.am, configure.in:
2375 cleanup, replace individual LIBS/CFLAGS with
2376 AT_COMMON_{LIBS|CFLAGS}.
2380 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2382 * configure.in, libspi/Makefile.am:
2383 Change IDL path checking for bonobo-activation
2386 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2388 * registryd/registry.c : separated event listeners to use
2389 3 separate lists (focus, window, toolkit). Began testing
2390 event names against hashes before relaying events.
2391 * test/at.c : now register for events of type "focus:"
2392 * test/app.c : now generate events of type "focus:"
2393 * at-bridge/bridge.c : register with ATK for focus events,
2394 and we now relay those focus events to any "focus:" listeners.
2395 This now works with the bridge as a GTK_MODULE when running test/at.
2396 * libspi/registry.c :
2397 * libspi/listener.c :
2398 now we ref event sources before propagating, and unref on receipt.
2399 * libspi/registry.c :
2400 some changes to internal structs, to support event typestring hashes.
2401 * text/app.c : changed the way the appname is generated.
2402 * cspi : added directory that will hold the C bindings library for
2403 non-CORBA/bonobo-savvy clients.
2404 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2405 * idl/Component.idl : added in parameter to indicate coord system for
2406 geometry-related calls.
2407 * idl/Hyperlink.idl : added readonly n_links attribute
2408 * idl/Image.idl : changed methods to attributes.
2410 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2412 * at-bridge/Makefile.am: link against
2413 ../libspi/libspi.la instead of -lspi.
2415 * at-spi/test/app.c: include
2416 bonobo-activation.h. Use a default appname
2417 if one is not provided.
2419 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2421 * idl/Registry.idl : temporarily changed register_Application
2422 to oneway, to work around issue with initial registration
2424 * idl/Application.idl : changed attribute "id" from readonly
2425 to read-write, since it needs to be assigned by Registry.
2426 * registryd/registryd.c : added call to set application id
2428 * registryd/registry.c : changed de-registration procedure to
2429 use CORBA_Object_hash() to find matching object ref in application
2430 lists and listener lists.
2431 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2432 began distinguishing between event types (work in progress).
2434 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2437 * libspi/application.c:
2438 Added implementations for get/set id, get_toolkitName,
2440 * registryd/registryd.c :
2444 Converted from use of OAF to bonobo-activation.
2445 * libspi/desktop.h :
2446 * libspi/desktop.c :
2448 Removed references to atksimpleobject, since base atkobject
2449 implementation now provides functionality we need.
2450 * libspi/atksimpleobject.c :
2451 * libspi/atksimpleobject.h :
2456 * at-bridge/Makefile.am
2457 * at-bridge/bridge.c
2460 Added directory "bridge" and contents, and added dependencies
2461 in Makefile.am/configure.in.
2462 Initial checkin of "at-bridge".
2463 This code is a GTK_MODULE which automatically registers
2464 GTK+ apps with the accessibility registry, using an object
2465 reference to the root ATK object.
2467 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2469 * po/Makefile.in.in: Remove. Again. If this
2470 doesn't get autogenerated - you need to update
2473 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2475 * po/Makefile.in.in: Add. Again.
2477 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2479 * libspi/accessible.c : added support for 'description' property.
2480 * libspi/accessible.c
2482 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2483 (since the two are now equivalent in libbonobo)
2491 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2492 Bonobo::Unknown as does Accessibility::Accessible.
2493 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2494 interface with Bonobo::Stream, since it was redundant with it.
2495 (The Stream returned by a StreamableContext object is expected to
2496 implement only a subset of Bonobo::Stream)
2498 2001-07-28 Anders Carlsson <andersca@gnome.org>
2500 * libspi/accessible.c (accessible_object_finalize): Change
2501 g_free to g_object_unref since the AtkObject is a GObject.
2503 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2505 * idl/Accessibility.idl: add new IDL files
2508 * idl/Action.idl: Definitions of actionable UI object
2509 * idl/Component.idl: Definitions of UI component geometry, etc.
2510 * idl/Hyperlink.idl: Defs of hyperlink behavior
2511 * idl/Image.idl: Def of accessible image
2512 * idl/Selection.idl: Definition of UI object with selectable children
2513 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2514 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2515 * idl/Text.idl: Interface defs for UI elements with complex textual content
2516 * idl/Value.idl: Definition of UI element that is a value controller or display
2518 2001-07-27 Michael Meeks <michael@ximian.com>
2520 * po/Makefile.in.in: remove autogenerated file from CVS.
2522 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2525 * idl/Registry.idl: include guard.
2527 * idl/Accessibility.idl: Add, and include all the other IDL
2530 * idl/*.idl: remove mass of pragmas etc.
2532 2001-07-26 Michael Meeks <michael@ximian.com>
2534 * registryd/Makefile.am (registryd_SOURCES): remove
2537 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2539 * libspi/.cvsignore, registryd/.cvsignore,
2540 test/.cvsignore: updated.
2542 * po/Makefile.in.in: gettext update.
2544 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2546 * initial CVS checkin
2548 2001-06-29 Michael Meeks <michael@ximian.com>
2550 * configure.in: add AM_CONFIG_HEADER to gen config.h