1 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5 * cspi/spi_accessible.c:
6 Documentation fixes: added user_data params to documentation for
7 listeners and callbacks.
9 * cspi/spi_accessible.c:
10 Changed AccessibleStateSet_compare to return a
11 StateSet rather than return the difference set into a third parameter.
14 2001-12-09 Bill Haneman <bill.haneman@sun.com>
17 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
18 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
22 Remove subdirectory po from SUBDIRS for now.
25 Beefed up a couple of debug printouts.
26 One-line fix for signal notification name formatting.
28 * libspi/accessible.c:
29 Added assertion to spi_accessible_new ().
31 * libspi/application.c:
32 Put #ifdef qualifiers around a printf.
35 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
37 * registryd/Makefile.am:
39 Replaces use of XML_I18N_MERGE_SERVER_RULE with
40 INTLTOOL_SERVER_RULE macro.
43 Added an event listener for several ATK signals, for
44 testing and debugging. Removed a few g_warnings.
45 Added test output if focussed item implements the Value interface.
48 Added test_value () function (known not to pass at the moment, so
49 not actually called yet.
51 2001-12-08 Michael Meeks <michael@ximian.com>
53 * at-bridge/bridge.c (bridge_focus_tracker),
54 (emit_eventv): fix the same ref. leak.
55 (register_atk_event_listeners): don't leak.
57 * cspi/spi-listener-impl.c (cspi_event): more
58 protection from client code.
60 * test/test-simple.c (test_desktop): unref the app.
62 * test/Makefile.am: upd. TESTS.
64 * at-bridge/bridge.c (bridge_exit_func): release the registry.
66 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
68 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
70 * cspi/spi_registry.c: constify in strings.
71 (deregisterGlobalEventListenerAll): don't release the ref.
73 * cspi/spi.h: start removing redundant / conflicting
74 gtkdoc comments, making the API readable at a glance :-)
76 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
78 * test/keysynth-demo.c (keysynth_exit, main): upd.
80 * test/simple-at.c (main, simple_at_exit): upd.
82 * test/test-simple.c (unutterable_horror): kill.
83 (utterable_normal_derefs): kill.
84 (main): upd & do a setenv before gtk_init, so that we
85 can use memprof - and to save the pain of remembering
86 this, if we're running under memprof - don't exit.
88 * cspi/spi_main.c (SPI_exit): return exit status
90 (SPI_event_quit): impl.
91 (SPI_event_main): simplify.
92 (cspi_is_gnome_app): kill.
93 (SPI_init): kill isGNOMEapp arg.
95 * at-bridge/bridge.c (register_atk_event_listeners):
97 (bridge_exit_func): don't re-activate the registry,
98 protect vs. theoretical re-entry, use the
99 AT_BRIDGE_SHUTDOWN env. var to determine whether to
100 assert a clean shutdown - for regression tests.
102 2001-12-08 Abel Cheung <maddog@linux.org.hk>
104 * configure.in: Comment out dummy i18n support for now,
105 otherwise it fails to build.
106 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
107 EXTRA_DIST. They are missing in tarball.
109 2001-12-07 Michael Meeks <michael@ximian.com>
111 * util/magnifier.c: kill bonobo activation reg. race.
114 (impl_accessibility_component_get_extents): make it match
117 * libspi/registry.c (_registry_notify_listeners):
118 re-remove X headers & reconcile conflicts.
119 (spi_listener_struct_free): bad conflict resolve.
120 (impl_accessibility_registry_register_application):
121 more bad merging fixed.
122 (impl_accessibility_registry_deregister_application): ditto.
123 (spi_registry_new): ditto.
124 (spi_registry_init): don't have an applications field.
126 [ merge fixups2 branch to here ]
127 2001-12-07 Michael Meeks <michael@ximian.com>
129 * test/simple-at.c (report_focus_event),
130 (report_focussed_accessible): remove g_warning debug.
132 2001-12-07 Michael Meeks <michael@ximian.com>
134 * test/test-simple.c (validate_tree): comment out some checks.
135 (test_desktop): app now not registered idly - horay.
137 2001-12-07 Michael Meeks <michael@ximian.com>
139 * cspi/spi_registry.c
140 (registerAccessibleKeystrokeListener): clean, stop it leaking
141 great swathes of memory, and device event controller references.
142 ensure we always pass valid sequences.
143 (deregisterAccessibleKeystrokeListener): ditto.
144 (generateKeyEvent): upd.
146 * at-bridge/bridge.c (bridge_key_listener): handle
147 registry dead exception gracefully.
148 (bridge_focus_tracker, emit_eventv): free ev.
150 * test/simple-at.c (report_focus_event): fix polarity.
152 * libspi/application.c (notify_listeners): kill the ev
153 argument, and make sure we init the ev we use.
154 (spi_application_object_event_listener): split out a chunk
155 (get_atk_object_ref): here & fixup.
156 (reverse_lookup_name_for_toolkit_event): make const.
157 (spi_application_toolkit_event_listener): fixup, kill leaks
160 * at-bridge/bridge.c (register_atk_event_listeners):
161 don't unref the noop object - causes grief.
163 * libspi/registry.c: remove the X headers.
164 turn off the debug churn.
166 * libspi/accessible.c (spi_accessible_new_return): only
167 release the ref if we are supposed to [doh]
169 * test/simple-at.c (report_button_press, report_focus_event):
170 guard vs. unexpected exit.
172 * at-bridge/bridge.c (gtk_module_init): prune printf.
173 (bridge_exit_func): fix app unref.
175 * libspi/Makefile.am: don't install registry or desktop.h
177 * libspi/*.h: update includes.
179 * libspi/application.h: don't include ourself, or
180 other redundant headers.
182 2001-12-06 Michael Meeks <michael@ximian.com>
184 * libspi/accessible.c
185 (get_accessible_from_servant): impl.
186 Upd. all CORBA impl.s to use it killing cut and paste.
188 * cspi/spi_main.c (cspi_cleanup): guard vs. double
190 (SPI_init): register atexit cleanup handler here.
192 2001-12-06 Michael Meeks <michael@ximian.com>
194 * at-bridge/bridge.c (gtk_module_init): g_error on
197 2001-12-06 Michael Meeks <michael@ximian.com>
199 * at-bridge/bridge.c (gtk_module_init): some sort of
200 confusing merge clash - reverted.
201 (bridge_idle_init): ditto.
203 * test/test-simple.c (main, utterable_normal_derefs):
204 merge from Bill - somehow not committed.
206 2001-12-06 Michael Meeks <michael@ximian.com>
208 * libspi/value.c (spi_value_class_init): upd.
209 (spi_value_finalize): kill.
211 * libspi/table.c (spi_table_finalize): kill.
212 (spi_table_interface_new): upd.
213 (spi_table_class_init): upd.
214 (get_table_from_servant): impl.
215 Upd. all CORBA impl.s to use it killing yet more cut and paste.
217 * libspi/selection.c (spi_selection_finalize): kill.
218 (spi_selection_interface_new): upd.
219 (spi_selection_class_init): upd.
220 (get_selection_from_servant): impl.
221 Upd. all CORBA impl.s to use it killing yet more cut and paste.
223 * libspi/relation.c (spi_relation_finalize): kill.
224 (spi_relation_class_init, spi_relation_new): upd
226 * libspi/image.c (spi_image_finalize): kill.
227 (spi_image_class_init): upd.
228 (spi_image_interface_new): upd.
229 (get_image_from_servant): impl.
230 Upd. all CORBA impl.s to use it killing yet more cut and paste.
232 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
233 (spi_hyperlink_finalize): kill.
234 (spi_hyperlink_new): upd.
235 (get_hyperlink_from_servant): impl.
236 Upd. all CORBA impl.s to use it killing yet more cut and paste.
238 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
239 (spi_hypertext_finalize): kill.
240 (spi_hypertext_class_init): upd.
241 (get_hypertext_from_servant): impl.
242 Upd. all CORBA impl.s to use it killing yet more cut and paste.
244 * libspi/editabletext.c (spi_editable_text_finalize): kill.
245 (spi_editable_text_interface_new): upd.
246 (get_editable_text_from_servant): impl.
247 Upd. all CORBA impl.s to use it killing yet more cut and paste.
249 * libspi/text.c (get_text_from_servant): impl.
250 All impls - update to use it killing more cut and paste,
251 also fix bad string returns on duff args ( a somewhat
252 impossible case to handle - but hey ).
253 (spi_text_construct): impl.
254 (spi_text_interface_new): upd.
255 (spi_text_object_finalize): kill.
258 (accessibility_component_object_finalize): kill.
259 (spi_component_class_init): upd.
260 (get_component_from_servant): impl. helper to kill cut & paste.
261 (impl_accessibility_component_contains):
262 (impl_accessibility_component_get_accessible_at_point):
263 (impl_accessibility_component_get_position):
264 (impl_accessibility_component_get_extents):
265 (impl_accessibility_component_get_mdi_z_order):
266 (impl_accessibility_component_get_layer):
267 (spi_component_interface_new): upd.
269 * libspi/action.c (spi_action_finalize): kill.
270 (spi_action_class_init): upd. inherit from SpiObject.
271 (spi_action_interface_new): upd.
272 (get_action_from_servant): impl. helper to reduce cut & paste.
273 (impl_getKeyBinding, impl_getName, impl_doAction),
274 (impl_getDescription): Use it everywhere.
276 * cspi/spi_main.c (get_live_refs): a pointer hash.
277 (spi_object_hash, spi_object_equal): comment out.
278 There are issues with CORBA object hashing that need
281 * libspi/application.c (spi_application_init),
282 (spi_application_new): upd.
284 * libspi/accessible.c (spi_accessible_object_finalize): kill.
285 (spi_accessible_class_init): upd.
286 s/accessible/object/ in epv methods.
288 2001-12-05 Bill Haneman <bill.haneman@sun.com>
290 * at-bridge/bridge.c:
291 Reorder the bridge initialization into the bridge gtk_module_init,
292 an immediate call to bridge_register_app, and an idle_add for
293 register_atk_event_listeners (the only code that *must* wait until
294 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
295 the activation, creates the application's Accessible object, and
296 queues the bridge_idle_init function. Restored call to
297 Accessibility_Registry_deregisterApplication().
298 Prior to making this call we obtain a new reference to the
299 registry, which is a temporary hack that helps us handle apps that
300 shut down the bonobo mainloop before we get there.
303 Fix string leakage in debug block, and don't segv if a an app
304 dies before its event notifications have been propagated.
307 Modify cspi_check_ev() to call g_warning() rather than g_error(),
308 as stopgap measure until we get proper exception handling when
309 objects die during or before interrogation.
313 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
314 Also changed default value of is_gnome_app to TRUE.
317 * test/keysynth-demo.c:
318 Changed use of SPI_init and SPI_event_main to reflect API change above.
321 Made report_focus_event check the warning value from getName
322 before reporting on focussed accessible; simplifies handling of
323 notifications from dead objects.
325 * test/test-simple.c: (Changes not in this patch since source is
328 2001-12-05 Michael Meeks <michael@ximian.com>
330 * registryd/registryd.c (main): protect against
331 bonobo-activation startup race condition.
333 * cspi/spi_main.c (cspi_object_add_check): cope
334 with the exception elegantly.
336 * idl/Accessible.idl: decl. ChildGone
338 * libspi/desktop.c (spi_desktop_dispose): impl.
339 (spi_desktop_class_init): upd.
340 (spi_desktop_add_application),
341 (spi_desktop_remove_application),
342 (abnormal_application_termination): impl.
343 (impl_desktop_get_child_at_index): re-impl.
346 (impl_accessibility_registry_deregister_application),
347 (impl_accessibility_registry_register_application):
348 kill excessive debug clutter.
350 * test/test-simple.c (test_misc): test some NULL
351 tolerance. (main): upd.
353 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
354 implements no interfaces - so let's not crash.
356 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
358 * libspi/accessible.c (spi_accessible_new_return): impl.
359 helper to calm the cut and paste, to cope with
360 NULL AtkObjects effectively and efficiently, and to kill
361 the referencing bugs.
363 * libspi/table.c (impl_getAccessibleAt),
364 (impl_getRowHeader, impl_getColumnHeader): upd.
366 * libspi/hyperlink.c (impl_getObject): upd.
368 * libspi/accessible.c
369 (impl_accessibility_accessible_get_child_at_index): upd.
372 (impl_accessibility_component_get_accessible_at_point): upd.
374 * test/test-simple.c (test_editable_text, test_text): impl.
377 * cspi/spi_editabletext.c
378 (AccessibleEditableText_insertText): constify.
380 * test/test-simple.c (focus_me): make more robust.
382 * libspi/accessible.c: remove some printfs in methods that
383 we test and work fine, so we can get a clean tree dump.
385 * test/test-simple.c (validate_accessible),
386 (validate_tree): make tree dumping pretty too.
388 * at-bridge/bridge.c (bridge_signal_listener): upd. so
389 it builds without debug on.
391 * test/test-simple.c (validate_accessible): fix the most
394 * cspi/spi_main.c (spi_object_release): leave the nicely
395 blanked memory around if in debug mode.
397 * cspi/spi-listener-impl.c (cspi_event): use add_check.
399 [committed to fixups2]
400 2001-12-05 Michael Meeks <michael@ximian.com>
402 * libspi/editabletext.c
403 (spi_editable_text_class_init): g_type_class_peek_parent,
404 not interface peek - so we finalize cleanly.
406 * libspi/accessible.c (spi_accessible_new): kill debug.
408 * test/test-simple.c (validate_accessible): fix ref.
409 leak, print strings before freeing them; sigh, comment a
410 chunk out due to strangeness.
411 (validate_tree): unref the child after use.
413 * cspi/spi_component.c (AccessibleComponent_getLayer):
414 add missing break statement, switch on zlayer not the
415 uninitialized retval.
417 * cspi/spi_main.c (cspi_object_add): add assert, local ref
418 before (possibly re-entering) remote unref.
420 * test/simple-at.c (main): unref the desktop.
422 * cspi/spi_accessible.c (cspi_accessible_is_a): move
425 * cspi/spi_main.c (cspi_accessible_is_a): here to
426 isolate bonobo API usage more.
428 * libspi/registry.c (impl_accessibility_registry_register_application):
431 2001-12-04 Michael Meeks <michael@ximian.com>
433 * test/test-simple.c (validate_tree): upd.
434 IndexInParent check to make it more lucid.
435 (validate_accessible): dump the tree.
437 * libspi/accessible.c (de_register_public_ref),
438 (get_public_refs): impl.
439 (spi_accessible_new): make more efficient & intuitive.
440 Now IndexInParent check works.
442 2001-12-04 Michael Meeks <michael@ximian.com>
444 * cspi/spi-util.h: remove.
446 * cspi/spi.h: move SPI_freeString here
448 * libspi/component.c (impl_accessibility_component_get_layer):
450 (impl_accessibility_component_get_mdi_z_order): ditto,
451 return -1 on error - is this ok ?
453 * test/test-simple.c (test_application): impl.
455 * cspi/spi_accessible.c (Accessible_getApplication),
456 (Accessible_isApplication): impl.
458 * libspi/registry.c (spi_listener_struct_free): release
459 the CORBA reference too.
461 * libspi/accessible.c
462 (impl_accessibility_accessible_get_parent): fix ref leak.
464 * libspi/registry.c (spi_registry_new): make the registry
465 immortal - we don't want it to go away ever.
467 * libspi/application.c
468 (spi_accessible_application_finalize): impl. cleanup.
470 * cspi/spi_registry.c
471 (deregisterGlobalEventListenerAll),
472 (deregisterGlobalEventListener),
473 (deregisterAccessibleKeystrokeListener): fix ref leak.
475 * cspi/spi_main.c (SPI_init): remove redundant ref.
477 * test/test-simple.c (unutterable_horror): impl. to force a
482 (impl_accessibility_registry_deregister_application): release
483 the application when we de-register it.
485 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
486 until we have the infastructure to get it right.
488 2001-12-03 Michael Meeks <michael@ximian.com>
490 * libspi/Makefile.am: only build eventlistener.[ch]
492 * libspi/accessible.c
493 (impl_accessibility_accessible_get_child_at_index): don't leak.
495 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
496 before we hit the idle handler.
498 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
501 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
503 * libspi/listener.c (impl_notify_event): check source
504 not NIL before unref.
506 * libspi/registry.c (impl_registry_notify_event): ditto.
508 * libspi/eventlistener.c
509 (impl_accessible_event_notify_event): unref the source.
511 * libspi/accessibleeventlistener.c
512 (impl_accessible_event_notify_event): unref the source.
514 * idl/Event.idl: remove 'hash_id' attribute - of no
517 * libspi/application.c (notify_listeners): upd list
519 (spi_application_object_event_listener),
520 (spi_application_toolkit_event_listener): upd to do correct
524 (_registry_notify_listeners): update.
525 (parse_event_type): this method also leaks like a sieve.
526 (impl_accessibility_registry_deregister_global_event_listener):
527 fix ETYPE_WINDOW case.
529 * libspi/application.c
530 (impl_accessibility_application_register_object_event_listener):
533 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
535 * libspi/hypertext.c (impl_getLink): ditto.
537 * cspi/spi_main.c (cspi_object_add): remove
538 bogus CORBA_Object_duplicate.
540 * cspi/spi-listener-impl.c (cspi_event): dup/ref
543 * cspi/spi_accessible.c
544 (Accessible_getRelationSet): fix leak / referencing issue.
546 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
547 (cspi_object_add, cspi_object_unref): upd.
548 (spi_object_release, get_live_refs): impl.
549 (cspi_cleanup): simplify.
551 * *.[ch]: s/boolean/SpiBoolean/
553 * cspi/spi_accessible.c (role_names): actualy order so it
554 corresponds with the enum !
556 * test/test-simple.c (test_roles): check some role strings
557 vs. enums to detect offset errors.
559 2001-12-01 Michael Meeks <michael@ximian.com>
561 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
563 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
565 (Accessible_getChildAtIndex): use cspi_add_check so we
566 check the ev before using a (possibly) invalid value.
568 * libspi/accessible.c
569 (impl_accessibility_accessible_get_parent): don't segv
572 * at-bridge/bridge.c (gtk_module_init): upd.
573 (bridge_property_event_listener): don't leak strings
575 (bridge_state_event_listener),
576 (bridge_property_event_listener): don't use a static
577 buffer in case of recursive event emission &
578 re-enterancy - split out the swathe of cut and paste
580 (emit_eventv): and fix 2 ref leaks here & comply to the
582 (bridge_register_app): rename to
583 (bridge_idle_init): this and kill arg parsing, split
584 various inits & bonobo-activation registration to module
585 init time, kill referencing error.
586 (bridge_exit_func): fix the same leak.
587 (bridge_focus_tracker): don't leak event structures
589 (bridge_signal_listener): more leakage and cut & paste
591 (bridge_key_listener): return the result - FIXME is
592 this polarity correct ?
593 (accessibility_keystroke_from_atk_key_event): rename
594 (accessibility_init_keystroke_from_atk_key_event): and stop
596 (gtk_module_init): return a value - not that it is checked by
598 (bridge_key_listener): register my horror at casting between
600 (bridge_get_registry): kill - not used.
602 * cspi/spi_accessible.c (Accessible_getRole): make return const.
604 * test/test-simple.c (test_roles): impl.
605 (test_desktop, validate_accessible, validate_tree): impl.
607 * cspi/spi_accessible.c (role_names): fixup bogus
608 MAX_ROLES setup, make constants const for efficient linkage
609 (AccessibleRole_getName): conform to coding style, make
612 2001-11-30 Michael Meeks <michael@ximian.com>
614 * cspi/spi.h: add missing prototype.
616 * libspi/registry.c (spi_listener_struct_new): fix sig.
618 * test/Makefile.am: add test-simple
620 * test/test-simple.c: add
624 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
626 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
627 do it straight - since otherwise we often get an activation race.
629 [ work before Bill duplicated a chunk of it ... ]
630 2001-11-30 Michael Meeks <michael@ximian.com>
632 * libspi/keystrokelistener.c
633 (spi_keystroke_listener_class_init): fixup arg
636 * libspi/eventlistener.c
637 (spi_event_listener_class_init): ditto.
639 * tests/test.sh: add.
641 * cspi/spi-listener-impl.h: update macros.
643 * cspi/spi-listener-impl.c
644 (cspi_event_listener_remove_callback): add
645 correct pre-conditions.
647 * cspi/spi_main.c (SPI_exit): guard vs. double
648 exits, exit the mainloop nicely.
649 (SPI_event_main): make more sense.
650 (SPI_init): move the atexit evilness here so we
652 (SPI_event_main): upd.
654 * test/simple-at.c: update for listener changes.
656 * registryd/registryd.c (main): prune kruft.
658 * libspi/libspi.h: upd.
660 * libspi/eventlistener.[ch]: rename broken macros.
662 * libspi/accessibleeventlistener.[ch]: remove.
664 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
666 * test/test-simple.c: Add - automated tests.
668 * cspi/spi-listener-impl.c (cspi_event),
669 (cspi_key_event): add user_data to invoke.
670 (cspi_keystroke_listener_finalize): impl.
671 (cspi_keystroke_listener_class_init): upd.
674 (createAccessibleEventListener),
675 (AccessibleEventListener_addCallback),
676 (createAccessibleKeystrokeListener),
677 (AccessibleKeystrokeListener_addCallback): upd.
679 * libspi/deviceeventcontroller.c
680 (spi_device_event_controller_check_key_event): add public proto.
683 (impl_accessibility_registry_deregister_global_event_listener):
684 always init listeners.
685 (_registry_notify_listeners): yes it is.
687 * cspi/spi-listener-impl.c (cspi_key_event):
689 (cspi_event_listener_finalize): impl.
690 (cspi_event_listener_class_init): hook up.
691 (event_handler_new, event_handler_free),
692 (event_list_remove_by_callback): impl.
693 (cspi_event_listener_remove_callback),
694 (cspi_keystroke_listener_remove_callback),
695 (cspi_keystroke_listener_add_callback),
696 (cspi_event_listener_add_callback): upd.
698 * libspi/keystrokelistener.c
699 (keystroke_listener_object_finalize): kill
700 (spi_keystroke_listener_class_init): upd.
701 (spi_keystroke_listener_add_callback),
702 (spi_keystroke_listener_remove_callback): kill,
704 (impl_key_event): prune drasticaly.
706 * libspi/eventlistener.c
707 (spi_event_listener_add_callback),
708 (spi_event_listener_remove_callback): kill, use
710 (impl_accessible_event_notify_event): upd.
711 (spi_event_listener_object_finalize): remove.
713 * libspi/Makefile.am: use eventlistener.[ch]
715 2001-12-04 Bill Haneman <bill.haneman@sun.com>
717 * libspi/registry.c (_registry_notify_listeners):
718 Changed listener loop iteration to use preferred convention.
719 Got rid of string memory leaks caused be calling g_strconcat
720 inside function calls.
722 * libspi/registry.c (parse_event_type):
723 Stopped g_strconcat memory leaks, free the g_strsplit return,
724 g_strdup the split pieces when used, etc.
726 2001-12-04 Bill Haneman <bill.haneman@sun.com>
729 Change method 'compare' to return a 'difference set' rather than
730 taking a StateSet as an out parameter (more Java-friendly).
732 * idl/Accessible.idl:
733 Added CORBA struct 'BoundingBox', to faciliate API changes below:
737 Changed methods 'getExtents' and 'getImageExtents' in these
738 interfaces to return a BoundingBox structure.
739 (getPosition and getSize are redundant and possibly should be
740 removed, rather than creating a corresponding Point struct.)
742 * cspi/spi_component.c:
743 Modify implementation of getExtents to reflect the above IDL
748 Add (missing) AccessibleImage_getExtents () API.
750 * docs/reference/cspi/at-spi-cspi-sections.txt:
751 Added AccessibleImage_getImageExtents () to docs.
753 2001-12-03 Bill Haneman <bill.haneman@sun.com>
756 Added two methods, getLayer () and getMDIZOrder (), to reflect
757 the new ATK methods atk_object_get_layer and
758 atk_object_get_mdi_z_order. (Which arguably should be part of the
759 AtkComponent API and AtkObject). Also added an enum,
760 ComponentLayer, for the first method's return value.
762 * libspi/component.c:
763 Added implementations for these methods.
765 * cspi/spi_component.c:
767 Added cspi binding methods for above,
768 AccessibleComponent_getLayer() and
769 AccessibleComponent_getMDIZOrder().
770 Added cspi enum 'AccessibleComponentLayer'.
772 * docs/reference/cspi/at-spi-cspi-sections.txt:
773 Added above methods to docs.
777 Changed typedef for 'boolean' type (and all references to it) to
778 SPIBoolean, to avoid keyword clashes with C++.
781 Changed usages of 'boolean' to SPIBoolean.
783 * test/keysynth-demo.c:
784 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
785 app), except where SPIBoolean is required by the callbacks API.
787 2001-12-02 Bill Haneman <bill.haneman@sun.com>
789 * cspi/spi_registry.c:
790 Removed obsolete X event loop for passive keygrabs (which now
793 * registryd/registryd.c:
794 Removed unnecessary call to gdk_init() [cruft]. This also allows
795 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
798 2001-11-28 Bill Haneman <bill.haneman@sun.com>
800 * docs/reference/cspi:
801 Included docs for SPI_freeString in generated documentation.
804 Renamed spi_freeString to SPI_freeString, for consistency. Added
805 documentation for this function.
808 Renamed spi_freeString to SPI_freeString, for consistency.
809 Removed obsolete method declaration string_from_corba_string.
811 * test/keysynth-demo.c:
812 Small tweak to comments.
815 Stopped leaking the strings returned from CSPI.
817 2001-11-28 Bill Haneman <bill.haneman@sun.com>
819 Merged Michael's branch (see his ChangeLog entries below).
821 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
822 bridge is alive, release on exit.
824 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
825 Fix type check macro.
828 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
831 Added is_gnome_app static, and method cspi_is_gnome_app(),
832 so we can call the appropriate shutdown routine at exit in SPI_exit.
834 * cspi/spi_main.c (cspi_object_ref):
835 Duplicate the corba object passed in, since we're keeping it around.
837 * cspi/SPI_exit.c, cspi_cleanup:
838 Moved the releasing of the live refs to its own function, so we
839 can put it in g_atexit (). Call the appropriate shutdown API
840 depending on whethe calling client is a gnome app or not
841 (bonobo_main_quit or CORBA_ORB_shutdown).
843 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
844 Unref the listener when this method is called, after
845 deregistration. Updated the API docs to note this behavior.
847 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
848 Bugfixes: Ref the bonobo object when returning a parent or child
849 reference, or an AccessibleRelation. Generally made sure
850 BonoboObject refcount is incremented whenever we return an
853 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
854 Fixed typo/bug in signal declaration.
856 * libspi/accessibleeventlistener.h:
859 * libspi/application.c (spi_application_new):
860 Fixed leak in initialization.
863 Remembered to increment bonobo-object refcount when returning
864 children (applications) from desktop object.
865 Added (empty) finalize method.
867 * libspi/deviceeventcontroller.c:
868 Hold a ref to listeners inside DEControllerKeyListeners.
869 Added dec_key_listener_free() method. Use prepend instead of
870 append in key_listener list. Fixed some refcount madness and
871 leaks in the listener registration/deregistration - deregistration
872 now calls dec_key_listener_free() on listeners, and on the
873 temporarily constructed dec_key_listener() used to perform the search/match.
875 * libspi/hypertext.c (spi_hypertest_finalize):
876 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
877 class. Also fixed spi_hypertext_interface_new() and
878 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
880 * libspi/hypertext.h:
881 Removed pointless and duplicate AtkObject pointer from
884 * libspi/keystrokelistener.c:
885 Fixed incorrect type of keystroke_listener_parent_class,
886 renamed keystroke_listener_object_finalize to
887 spi_keystroke_listener_object_finalize.
888 Fixed typo in signal declaration
889 (spi_keystroke_listener_class_init).
892 Added funcsions spi_listener_struct_new() and
893 spi_listener_struct_free() to help with memory management issues.
894 We also now use these methods instead of gnew + poking stuff into
895 the struct, and to decrement listener counts/free the listeners
896 when deregistering them.
897 Fix more refcount bugs in getDesktop() and
898 getDeviceEventController().
901 De-ref the desktop after enumerating the applications. Explicitly
902 decrement the refcounts on the created listeners on exit (using
903 _unref for keystroke listeners, and via the
904 deregisterGlobalEventListenerAll command for other event
907 2001-11-27 Michael Meeks <michael@ximian.com>
909 * cspi/spi-listener.h: fixup enum.
911 2001-11-27 Michael Meeks <michael@ximian.com>
913 * cspi/spi-listener-impl.c (cspi_event_listener_new),
914 (cspi_keystroke_listener_new): Use the cspi variants.
916 2001-11-26 Michael Meeks <michael@ximian.com>
918 * test/keysynth-demo.c: fix 2 compile warnings, missing
921 * test/simple-at.c (report_focussed_accessible),
922 (report_focus_event, report_button_press),
923 (check_property_change, is_command_key),
924 (report_ordinary_key_event, report_command_key_event): upd.
926 * util/mag_client.h: include pre-requisites.
928 * libspi/accessibleeventlistener.c
929 (spi_event_listener_object_finalize): free any lingering
932 * libspi/keystrokelistener.c
933 (keystroke_listener_object_finalize): ditto.
935 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
936 callbacks, with cspi types.
938 * cspi/spi_event.c (createAccessibleEventListener): chain to
939 (AccessibleEventListener_addCallback): here.
940 (createAccessibleKeystrokeListener): chain to
941 (AccessibleKeystrokeListener_addCallback): here.
943 * libspi/keystrokelistener.c
944 (spi_keystroke_listener_class_init): add signal.
945 (impl_key_event): emit the event.
946 (boolean_handled_accumulator): impl.
947 (marshal_BOOLEAN__POINTER): add, gack.
949 * libspi/accessibleeventlistener.c
950 (spi_event_listener_class_init): add signal.
951 (impl_accessible_event_notify_event): emit the signal &
952 make the loop efficient.
953 (spi_event_listener_add_callback): prepend the callback.
955 * libspi/accessibleeventlistener.h: add an 'event' signal,
956 decl type on callback.
958 * libspi/keystrokelistener.h: ditto.
960 * cspi/spi-listener.h: make methods typesafe and
961 make them use the new event typedefs.
963 * test/simple-at.c (report_focussed_accessible):
965 Use *(void *)text_interface not the other thing.
967 * configure.in: add gtk to registryd bits - since we use
970 * util/magnifier.c: include libbonobo.h
972 2001-11-25 Bill Haneman <bill.haneman@sun.com>
974 * test/keysynth-demo.c:
975 Turned this into a simple scanning keyboard, to demonstrate the
976 use of g_timeout_add () as a means of creating timers for
977 scanning, and the use of GtkStyle for visually indicating when
978 virtual keyboard elements are selected.
980 keysynth-demo now listens to any keyboard keys with zero-valued
981 keycodes (i.e. 'unused' keys) and interprets them as
984 Reworked the shiftlatch code so that shift-down state isn't held
985 for long periods (it's only synthesized immediately prior to
986 the keysynth event it's modifying). Note that shiftlatch in this
987 demo is a convenience, not intended to take the place of AccessX
988 which is the better choice for getting 'sticky' modifier keys.
990 * libspi/deviceeventcontroller.c:
991 * at-bridge/bridge.c:
992 * cspi/spi_registry.c:
993 Removed some debug print stuff, and put other verbosity in #ifdef
998 Implemented some more of the magnifier IDL for the simple
999 magnifier: namely, getZoomRegionParams.
1000 Added mag_x and mag_y members to MagnifierData struct, aid of this
1002 Added GtkWindow::realize signal handler to magnifier, to keep it
1003 from receiving keyboard focus from the WM.
1005 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1007 * cspi/spi-private.h: my guess at what michael forgot
1008 before he ran off to NZ :-)
1010 2001-11-23 Michael Meeks <michael@ximian.com>
1012 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1013 comment out non existant method invoke so we link.
1015 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1016 use bonobo_exception_get_text for more friendly warnings.
1018 * cspi/spi.c (Obj_Add): move into spi_main & rename
1019 spi_object_add; kill spi.c
1021 * cspi/spi_registry.c
1022 (deregisterGlobalEventListener),
1023 (deregisterGlobalEventListenerAll),
1024 (registerGlobalEventListener): fix exception leaks.
1026 * cspi/spi_main.c (spi_exception): impl. helper, so we
1027 don't leak exceptions.
1029 * cspi/spi_selection.c
1030 (AccessibleSelection_deselectSelectedChild): return the
1033 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1034 (spi_registry): ditto.
1035 (SPI_init): guard against double inits.
1037 * cspi/*.c: use spi_ev (), and spi_registry () where
1038 appropriate - a temporary hack until we have something
1039 better. Use spi_object_add
1041 2001-11-22 Michael Meeks <michael@ximian.com>
1043 * cspi/Makefile.am: re organise, install the headers.
1045 * cspi/*.h: add G_BEGIN/END_DECLS
1047 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1050 Added non-preemptive keylistener for key events with no modifiers
1051 and shift-only modifier.
1053 * libspi/keystrokelistener.c:
1054 Removed some verbose diagnostics printout.
1056 * cspi/spi_registry.c:
1057 Fixed a bug that caused all key listeners to be registered as
1060 * libspi/deviceeventcontroller.c:
1061 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1062 for non-preemptive key masks.
1065 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1067 * docs/reference/idl/at-spi-idl-docs.sgml:
1068 * docs/reference/idl/at-spi-idl-sections.txt:
1069 * docs/reference/idl/at-spi-idl-overrides.txt:
1070 Added missing files.
1072 * docs/reference/Makefile.am:
1073 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1074 to scan the IDL files :-(
1079 Added .cvsignore files.
1081 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1083 * libspi/deviceeventcontroller.c:
1084 * libspi/keystrokelistener.c:
1086 * cspi/spi_registry.c:
1087 Added filters for KeySets, KeyEventSeq, and event types to key
1088 event dispatching, so listeners should only receive those events
1089 that they requested :-)
1091 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1096 * docs/reference:Makefile.am:
1097 * docs/reference/cspi:
1098 * docs/reference/cspi:Makefile.am:
1099 * docs/reference/cspi:tmpl:
1100 * docs/reference/cspi:tmpl:*.sgml:
1101 * docs/reference/idl:
1102 * docs/reference/idl:Makefile.am:
1103 * docs/reference/idl:at-spi-idl-sections.txt:
1104 * docs/reference/idl:at-spi-idl-docs.sgml:
1105 * docs/reference/idl:tmpl:
1106 * docs/reference/idl:tmpl:*.sgml:
1108 Restructured docs directory to allow separate 'reference' docs
1109 section, and forked idl and cspi docs. Added the sgml template
1110 files to CVS. Added the first sections/structural sgml for the
1113 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1115 * configure.in, libspi/Makefile.am: find libXtst.
1117 2001-11-21 Michael Meeks <michael@ximian.com>
1119 * test/accessx-gui.c: s/spi_value/value/ - doh.
1121 * libspi/base.[ch]: add.
1123 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1125 * idl/Accessible.idl:
1126 * idl/Application.idl:
1129 Started gtk-doc cleanup on IDL.
1131 * libspi/deviceeventcontroller.c:
1132 Added and connected non-preemptive key notification from the
1133 toolkits (in addition to the pre-emptive support from XServer
1134 which we had before, but which causes 'focus flashing'). Filters
1135 are presently limited to key modifiers and global/non-global,
1136 KeySets are presently ignored, as are KeyEvent masks.
1138 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1139 structs into the persistant structure rather than just storing
1140 pointers to things that might not persist across servant
1143 The XGrabKey call now does async keygrabs, because synchronous
1144 ones were deadlocking with GDK_event code in a very nasty way.
1146 Added boolean to internal method notify_keylisteners, to indicate
1147 whether the event came from the 'toolkit source' or the 'global
1148 (XServer) source' - this is used in the notification process to
1149 determine which listeners to send the event to.
1151 deviceeventcontroller.c is now warning-free.
1153 * libspi/registry.c:
1154 Fixed regression in application de-registration.
1155 Also fixed some really brain-dead weirdness having to do with
1156 event dispatching - event structs are now duplicated before being
1157 re-marshalled in the dispatch to listeners. This also fixes a
1158 Solaris build problem.
1161 2001-20-11 Michael Meeks <michael@ximian.com>
1164 (impl_accessibility_registry_deregister_global_event_listener):
1167 * libspi/deviceeventcontroller.c
1168 (spi_device_event_controller_check_key_event): return
1169 FALSE on no virtual method.
1171 * libspi/*..h: make includes work on a correctly pathed install.
1173 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1175 * libspi/application.h: kill unused ( and whacked out )
1176 gboolean *spi_application_set_id (AtkObject *app, long id);
1178 2001-20-11 Michael Meeks <michael@ximian.com>
1180 * libspi/*.[ch]: further convert to bonobo's type func
1181 macros, remove redundnant casts etc.
1183 * libspi/text.c s/accessibility_text/spi_text/g,
1184 re-order to de-cruft.
1186 * libspi/hypertext.c: re-order to kill a huge slew
1187 of redundant forward decls.
1189 * libspi/relation.c: ditto.
1191 * libspi/image.c: ditto.
1193 * */.cvsignore: update
1195 2001-20-11 Michael Meeks <michael@ximian.com>
1197 * libspi/deviceeventcontroller.c
1198 (_controller_register_with_devices): use g_getenv,
1199 kill stdlib.h include.
1201 * libspi/keystrokelistener.c
1202 (spi_keystroke_listener_get_type): kill
1203 (spi_keystroke_listener_class_init),
1204 (spi_keystroke_listener_init): rename to this.
1206 * libspi/text.c (impl_getAttributes): fix warning / bug.
1208 * libspi/*.[ch]: more headers, includes and over commenting.
1210 2001-20-11 Michael Meeks <michael@ximian.com>
1212 * libspi/*.[ch]: fixup headers, includes and over commenting.
1214 * libspi/image.c (impl__get_imageDescription): const
1215 correctness warning fix. remove redundant casting.
1217 * libspi/table.c (impl_getRowDescription): ditto.
1218 (impl_getColumnDescription): ditto.
1220 * libspi/libspi.h: add.
1222 2001-19-11 Michael Meeks <michael@ximian.com>
1224 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1226 * libspi/component.c (accessibility_component_get_type):
1227 rename to (spi_component_get_type): and macroify.
1228 (accessibility_component_init): rename to
1229 (spi_component_init): this
1230 (accessibility_component_class_init): rename to
1231 (spi_component_class_init): this
1233 * libspi/action.c (spi_action_get_type): kill, use the macro.
1235 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1238 * libspi/application.c (spi_application_object_event_listener),
1239 (impl_accessibility_application_register_object_event_listener):
1240 warning fixes / const understanding updates.
1242 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1245 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1247 * libspi/spi_accessible.c: Added docs and C bindings for
1248 AccessibleStateSet. (No implementations yet). Documentation
1249 coverage for C bindings now 100%. Made docs for event listeners
1254 boolean notifyListenersSync (in DeviceEventListener listener,
1255 in DeviceEvent event);
1257 oneway void notifyListenersAsync (in DeviceEventListener listener,
1258 in DeviceEvent event);
1260 Added DeviceEventListener and DeviceEvent structs (may deprecate
1261 KeyStroke and KeystrokeListener in favor of this generic
1262 event/listener framework for devices).
1264 * libspi/deviceeventcontroller.c:
1266 Changed some key listener code to take masks, etc., and paved the
1267 way for integration of toolkit/non-preemptive key events. Changed
1268 signatures of some internal methods.
1270 * at-bridge/bridge.c:
1271 Fixed regression connecting to interface signals, apparently
1272 caused by GTK+ changes.
1274 Added an internal bridge_state_listener to deal with
1275 property-change:accessible-state signals.
1277 Changed the key_listeners GList to store structs (including masks,
1278 etc.) instead of just CORBA_Objects (required for full
1279 implementation of key listener API).
1281 Connected the bridge to all currently supported Atk signals.
1282 Events now supported:
1283 object:property-change
1284 object:property-change:accessible-name
1285 object:property-change:accessible-state
1286 object:property-change:accessible-description
1287 object:property-change:accessible-parent
1288 object:property-change:accessible-value
1289 object:property-change:accessible-role
1290 object:property-change:accessible-table-caption
1291 object:property-change:accessible-table-column-description
1292 object:property-change:accessible-table-column-header
1293 object:property-change:accessible-table-row-description
1294 object:property-change:accessible-table-row-header
1295 object:property-change:accessible-table-summary
1296 object:children-changed
1297 object:visible-data-changed
1298 object:selection-changed
1299 object:text-selection-changed
1301 object:text-caret-moved
1303 object:row-reordered
1305 object:column-inserted
1306 object:column-reordered
1307 object:column-deleted
1308 object:model-changed
1310 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1312 * libspi/hyperlink.c,h:
1313 Fixed some broken stuff in hyperlink.
1315 * libspi/relation.h:
1316 * libspi/relation.c:
1317 * cspi/spi_accessible.c:
1318 Initial implementations of AccessibleRelation methods, and docs.
1320 * libspi/accessible.c:
1321 Fixed a bug that caused SEGV if an accessible
1322 object's description is NULL, and a client
1323 requests it. An empty string is now returned.
1325 * cspi/spi_editabletext.c:
1326 * cspi/spi_hypertext.c:
1328 * cspi/spi_hyperlink.c:
1332 Doc coverage now 95%.
1334 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1336 One last namespacing revision:
1337 * libspi/accessibleeventlistener.[ch]:
1338 Renamed SpiAccessibleEventListener to SpiEventListener,
1339 (no need for two namespaces ;-)
1341 And lots of documentation fixes:
1343 * docs/at-spi-docs.sgml:
1344 Fixed 'underscore vs. hyphen' bug that was preventing
1345 the gtk-doc API docs from being automatically generated.
1348 * cspi/spi-listener.h
1350 * cspi/spi_accessible.c
1352 * cspi/spi_application.c
1353 * cspi/spi_component.c
1354 * cspi/spi_editabletext.c
1356 * cspi/spi_hypertext.c
1358 * cspi/spi_registry.c
1359 * cspi/spi_selection.c
1363 * docs/at-spi-docs.sgml
1364 * docs/at-spi-sections.txt
1366 Added and fixed up gtk-doc documentation in cspi.
1368 Interfaces now (fully) documented (subject to revision and enhancement):
1370 Event Listener Support
1372 AccessibleApplication
1376 AccessibleEditableText
1383 AccessibleRelationSet
1388 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1390 * at-bridge/bridge.c:
1391 Initial work for toolkit-level key snooper connection by bridge.
1396 New typedefs and fixes to support new namespacing, and cleaner
1397 separation of cspi bindings from libspi bonobo implementation.
1398 Removed inconsistent and extraneous Spi* namespace prefix that
1399 had crept into cspi headers.
1400 Lots of comment fixes that sed had missed.
1402 * cspi/spi-roletypes.h:
1403 * cspi/spi-statetypes.h:
1404 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1405 to AccessibleRoleType.
1407 * libspi/accessibleeventlistener.h:
1408 Fixed minor namespacing weirdness.
1410 * libspi/deviceeventcontroller.c:
1411 Reordered some internal API for device listeners.
1412 Changed the key registry final boolean to 'is_system_global'
1413 rather than 'is_synchronous', which is more descriptive of its
1415 Added spi_device_event_controller_new().
1416 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1418 * libspi/keystrokelistener.[ch]:
1419 Namespaced KeystrokeListener to SpiKeystrokeListener.
1420 Changed uses of keymasks to use SPI_ prefix, and did other
1423 * libspi/keymasks.h:
1424 Namespaced keymask constants with SPI_ prefix.
1426 * libspi/registry.c:
1427 Some warning fixes, and knock-on fixes from namespace changes.
1430 Added rules for accessx-gui test program.
1432 * test/accessx-gui.c:
1433 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1434 utility. It doesn't actually use at-spi, but it's still cool and
1437 * test/keysynth-demo.c:
1441 Fixes so that these test clients work properly with the namespaced
1442 libraries. (Incompletely tested for technical reasons, fixes may follow)
1445 2001-13-11 Michael Meeks <michael@ximian.com>
1447 * libspi/application.c
1448 (impl_accessibility_application_get_version),
1449 (impl_accessibility_application_get_toolkit_name):
1451 (impl_accessibility_application_set_id),
1452 (impl_accessibility_application_get_id): remove
1453 redundant casting code.
1455 * libspi/action.c (impl_getDescription): fix warnings.
1457 * libspi/accessible.c
1458 (impl_accessibility_accessible_get_parent),
1459 (impl_accessibility_accessible_get_child_at_index),
1460 (impl_accessibility_accessible_get_state),
1461 (impl_accessibility_accessible_get_relation_set):
1462 warning fixes & include action.h
1464 2001-13-11 Michael Meeks <michael@ximian.com>
1466 * *.[ch] fix bits I screwed up:
1468 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1469 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1471 2001-13-11 Michael Meeks <michael@ximian.com>
1473 * *.[ch] Namespace libspi into spi_ and Spi.
1475 2001-13-11 Michael Meeks <michael@ximian.com>
1477 * Makefile.am: dist & install at-spi-1.0.pc
1479 * libspi/Makefile.am: install into at-spi-1.0
1481 * idl/Makefile.am (idldir): install into at-spi-1.0
1483 * at-spi-1.0.pc.in: add.
1485 * configure.in: build it.
1487 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1489 * test/keysynth-demo.c:
1490 Use a 'realize' signal-handler to set the WM properties for
1491 the virtual keyboard, rather than making it a "POPUP" type
1492 override-redirect window (thanks to anders carlsson for that
1495 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1498 * test/keysynth-demo.c:
1499 Added new test of key synthesis, which creates a simple
1500 (mouse-operated) onscreen keyboard. It inserts key events into
1501 the currently-focused window, thus it does not grab keyboard focus
1504 * cspi/spi_registry.c:
1505 Added C binding for AT-SPI generateKeyEvent.
1507 * libspi/deviceeventcontroller.c:
1508 Added call to XFilterEvent so that key listener works with XIM (we
1509 hope). Added event_synth_type to generateKeyEvent, so that we can
1510 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1511 synthesize a press/release pair for KeySyms.
1513 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1515 * libspi/Makefile.am:
1516 * registryd/Makefile.am:
1517 (temporary) hack to include libXtst in libspi and registryd.
1518 (Needed for keystroke synthesis, see below).
1521 Improved API for registerKeystrokeListener, in accordance with
1522 discussions with Gnopernicus team and X server research.
1524 * libspi/registry.c:
1525 * libspi/deviceeventcontroller.c:
1526 * libspi/accessible.c:
1527 * libspi/keystrokelistener.c:
1528 Changes and fixes to support keylisteners for potentially
1529 consumed key events (that is, 'passive grabs').
1530 Added implementation for generateKeyEvent() [untested].
1533 Changes to registerKeystrokeListener() API, as above.
1534 Added deregisterGlobalEventListenerAll(), and
1535 deregisterKeystrokeListener(), which are needed for clean exit of
1537 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1538 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1540 * cspi/spi_registry.c:
1541 Added implementations of function prototypes mentioned above.
1543 * registryd/registryd.c:
1544 Added the key listener event source as a g_timeout(), to allow
1545 receipt of key events that are not caught by GDK (since GDK
1546 doesn't support passive keygrabs, this was necessary).
1549 Changed to attach a keylistener to 'Alt' keys, and
1550 respond to the following keycommands: Alt-M (toggle magnifier);
1551 Alt-F (toggle speech); Alt-Q (quit).
1552 Added an exit routine to deregister the listeners, and a key
1553 listener that prints some key info to the console when a key
1554 matches the listener mask (and is thus received by the listener).
1556 * util/idl/Magnifier.idl:
1557 Changes to magnifier API to support multiple zoom regions,
1558 non-uniform scaling in x and y, markDirty, and a host of other
1559 features that would be useful to magnification.
1562 * util/mag_client.c:
1563 * util/mag_client.h:
1564 * util/mag_control.c:
1566 Source code changes to support the above IDL changes.
1569 As above, and also changes to use a (slower) generic conversion
1570 path for colormap conversions, since the fast RGB conversions have been
1571 reported to fail for 16-bit displays.
1573 2001-10-26 Michael Meeks <michael@ximian.com>
1575 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1577 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1579 * at-bridge/Makefile.am: fix LDFLAGS.
1581 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1583 * at-bridge/bridge.c:
1584 Re-worked listeners for toolkit events, now we have signal
1585 and property listeners. Added a private method
1586 register_atk_event_listeners(), which registers with the
1587 various atk and gtk signals we need to monitor in order to emit
1589 Added emission hook for AtkObject:property-change events, to
1590 support the 'property listeners'.
1591 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1594 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1595 which emit warnings and exit, respectively, if CORBA errors occur
1596 during remote calls, and we now use these methods to check most of
1597 our CORBA calls in the C bindings.
1599 * cspi/spi_accessible.c:
1600 Changed AccessibleSelection_refSelectedChild() to
1601 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1602 now increment refcounts.
1604 * cspi/spi_component.c:
1605 Fixed some long pointer casts (dangerous!) to pass pointers to
1606 CORBA_longs of the proper type to the CORBA stubs, and copy the
1607 data into the longs that were passed into the C bindings code.
1609 * at-bridge/bridge.c:
1611 * libspi/accessible.c:
1612 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1613 hyperlinks, AtkHyperlink is an object type.
1615 * libspi/application.c:
1616 Added various conversions to and from "generic" event types and
1617 atk-specific types; this is really part of the 'bridge'
1618 implementation but is valid for all AtkObject-based accessibility
1621 * libspi/editabletext.c:
1622 Fixed nasty bug wherein editable text's finalize method was
1623 unref'ing tha AtkObject reference that the text parent class was
1624 about to unref _again_. There was also a nasty inheritance bug
1625 that meant that the AccessibleEditableText class was corrupt.
1627 * libspi/selection.c:
1628 Provided implementations for some selection API that was broken.
1630 * idl/Application.idl:
1631 Added registerObjectEventListener () method.
1634 Fixed a number of return values that were Bonobo_Unknowns from
1635 bonobo_object_corba_objref(), which I
1636 forgot to dup before returning. Changed instances of
1637 bonobo_object_corba_objref (bonobo_object(o)) to
1638 BONOBO_OBJREF(o), for concision and clarity.
1640 <2001-10-13 Louise Miller <louise.miller@sun.com>
1642 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1643 idl/Event.idl, idl/Registry.idl
1644 Changed these files to include Bonobo_Unknown.idl instead
1647 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1649 * libspi/component.c libspi/component.h:
1650 Fixed typo. Added assertions for object checks in
1651 AccessibleComponent code.
1653 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1655 * idl/Accessible.idl:
1656 Added 'isEqual (Accessible *object)'
1657 method for Accessible. (Not Yet Implemented).
1660 Changed signature of registerKeystrokeListener() to
1661 take a KeySet and KeyEventSeq so that specific keys and event
1662 types could be requested for monitoring, and added a flag
1663 is_synchronous so that either synchronous or asynchronous
1664 notification could be requested. (However this is not all
1665 implemented yet). This also meant adding two new typedefs,
1666 KeyEventSeq and KeySet.
1669 Added two new relations, RELATION_TOOLTIP_FOR and
1670 RELATION_LEAFNODE_OF.
1673 Added new state, STATE_HAS_TOOLTIP.
1675 * libspi/text.c, editabletext.c:
1676 Added new assertions to all casts of bonobo-objects from
1677 CORBA servants, to prevent Text API calls on non-text objects.
1678 Changed suspect casts of int-pointer types, so that we
1679 always send a valid CORBA_long pointer to the CORBA APIs that use
1680 in/out long parameters. We then have to copy from the CORBA_long
1681 into the regular long or int for return to the C bindings, or
1682 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1685 * libspi/deviceeventcontroller.c:
1686 Cleaned these sources up.
1688 Changed return type for getCharacterAtOffset to
1689 CORBA_unsigned_long, to allow for 32-bit characters.
1692 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1696 Fixed 'make dist' so that distro compiles...
1697 * libspi/keymasks.h:
1699 * cspi/spi-listener.c:
1700 KeystrokeListenerCB now returns a boolean.
1702 Added KeyEventType struct, and KeyStroke.
1703 Also added createKeystrokeListener(),
1704 KeystrokeListener_addCallback(),
1705 KeystrokeListener_removeCallback(), and added a keymask to
1706 registerKeystrokeListener().
1707 * cspi/spi_accessible.c:
1708 Changed numerous return types for interfaces from
1709 AccessibleComponent to Accessible<InterfaceName>; this was
1710 probably a cut-and-paste error.
1712 Implementations of new KeystrokeListener api (from spi.h,
1715 Changes to key modifier mapping.
1716 Created ControllerEventMask struct.
1717 Made DeviceEventController derive from Bonobo::Unknown.
1719 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1720 * libspi/deviceeventcontroller.c:
1721 Added a number of new internal (private) methods.
1722 * libspi/editabletext.c:
1723 * libspi/editabletext.h:
1724 Fixed a number of bugs related to the fact that
1725 editabletext inherits from text. Fixed the EditableText struct,
1726 the init() call, and use correct casts when calling Text methods
1727 from an EditableText object. Removed (duplicate) atko from the
1728 EditableText structure, we use the one in the parent Text
1729 structure via the casts mentioned above.
1730 * libspi/keystrokelistener.[ch]:
1731 * libspi/registry.c:
1732 Changes in support of keyboard handling (above).
1734 Keyboard handling, though partly functional, is still not
1735 recommended for at-spi client use as there is considerable
1736 work yet to be done.
1739 Changed some places where pointers to various int types
1740 are cast to be pointers to CORBA_long types and vice-versa:
1741 pointer casting is not safe so we pass pointers of the correct
1742 types and then cast the result before putting it into the target
1745 * libspi/text.h: minor typos corrected.
1747 We now speak not only the name of a Text element, but the
1748 first sentence of its content, when it receives focus.
1749 I also changed the text compression to 75% from 50%.
1750 * util/Accessibility_Util.server.in:
1751 Changed the default magnifier type to be a 3x vertical
1752 splitscreen magnifier (was previously a 2x horizontal one).
1754 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1756 * libspi/keystrokelistener.h:
1757 * libspi/keystrokelistener.c:
1758 Initial functional implementations of KeystrokeListener.
1761 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1763 Fixed string handling for NULL strings in libspi.
1764 Added spi_freeString to free strings returned by C bindings.
1766 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1768 * libspi/keystrokelistener.h:
1769 * libspi/keystrokelistener.c:
1770 Began (no-op) implementations of KeystrokeListener
1772 * libspi/deviceeventcontroller.c:
1773 * libspi/deviceeventcontroller.h:
1774 Began creating implementations of DeviceEventController,
1775 to handle keystroke and mouse event listening and
1777 * libspi/accessible.c:
1778 Stubbed-in the implementations for
1779 Accessibility_Accessible_getState and
1780 Accessibility_Accessible_getRelationSet.
1781 * libspi/registry.c:
1782 Improved de-registration process and fixed some bugs,
1783 deregistration now works correctly.
1785 Added initialization of applications list (to NULL).
1787 Reduced speech compression from 0.5 to 0.7, for demo.
1788 Changed call to gdk_window_set_decorations()
1789 to gtk_window_set_decorated().
1790 * at-bridge/bridge.c:
1791 Bridge now deregisters when app exits, via
1792 registration of a cleanup function
1793 with the g_atexit() call.
1794 Required making 'app' static, renamed 'this_app'.
1795 Fixed broken use of bonobo_init, passing argv wrongly.
1797 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1801 Created a new directory for
1802 accessibility-related utilities, primarily for
1803 testing and demo purposes, but with possible
1810 Onscreen magnifier utility that
1811 is implemented as a bonobo service.
1813 * util/mag_client.c:
1814 * util/mag_client.h:
1815 Client-side support (simple C bindings)
1816 for Magnification service
1818 * util/mag_control.c:
1819 Client program example for
1820 Magnification service
1822 * util/Accessibility_Magnifier.server.in:
1823 Bonobo-activation file for the
1824 Magnification service.
1827 * util/idl/Magnifier.idl:
1828 IDL defining the bonobo Magnification
1832 Modifications to use the bonobo-activated magnifier
1833 above, in place of trying to connect to an existing
1834 magnifier that uses socket-listening IPC.
1836 If env variable MAGNIFIER is set, a magnifier service
1837 will be started if one does not exist.
1839 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1840 * at-bridge/bridge.c:
1841 applied patch from Marc to build and run
1842 against new glib and gtk+ (seemed like a change
1843 to bonobo_init signature was made ?)
1845 made festival-server support turned off by default.
1846 Added support for a simple magnifier (off by default)
1847 which will be added to a 'util' directory later.
1848 * at-bridge/Makefile.am:
1849 Changed "application.h" header from a 'source'
1850 to a 'dependency' of libat-bridge.
1852 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1860 Added interface implementation c files to list of
1861 includes so they are included in libcspi.
1864 Changed prototype of AccessibleAction_doAction to return a
1866 Changed prototype of AccessibleTable_getCaption to
1867 return an Accessible.
1868 Changed prototype of AccessibleTable_getSelectedRows
1869 and AccessibleTable_getSelectedColumns to
1870 return a long (returns the number of selected rows
1871 or columns respectively).
1872 Changed name of AccessibleText_refRunAttributes to
1873 AccessibleText_getAttributes.
1874 Changed prototype of AccessibleText_getCharacterExtents to
1875 return a void rather than a boolean.
1876 Added support for a AccessibleCoordType parameter
1877 specifying what type of coordinates are desired.
1878 Added an AccessibleCordType parameter to
1879 AccessibleText_getPointAtOffset.
1881 * cspi/spi_accessible.c:
1882 Added code to return the outstanding interfaces from
1883 Accessible_queryInterface.
1885 * cspi/spi_action.c:
1887 Corrected call to getNActions to call the c binding
1890 * cspi/spi_editabletext.c:
1892 Changed name from setRunAttributes to setAttributes.
1894 * cspi/spi_hyperlink.c:
1896 Changed call to getNAnchors to correctly call the c
1897 binding for an attribute.
1899 * cspi/spi_hypertext.c:
1901 Changed getImageDescription to correctly call the
1902 binding for an attribute.
1904 * cspi/spi_selection.c:
1905 Changed getNSelectedChildren to correctly call the c
1906 binding for the attribute.
1907 Changed refSelectedChild to getSelectedChild.
1911 Changed getCaption to return an Accessible.
1912 Fixed calls which retrieve attributes.
1913 Changed refAt to getAccessibleAt.
1914 Changed getNSelectedRows and getNSelectedColumns to
1918 Changed getCharacterExtents and getPointAtOffset to accept an
1919 AccessibleCoordType.
1921 Changed calls which retrieve attributes.
1922 Changed refRunAttributes to getAttributes.
1927 * idl/Hyperlink.idl:
1928 Changed n_anchors attribute to nAnchors to keep naming
1929 convention consistent.
1932 Made Table inherit from Bonobo::Unknown.
1933 Added nSelectedColumns and nSelectedRows attributes.
1936 Made Value inherit from Bonobo::Unknown.
1938 * libspi/hyperlink.c:
1939 Change for nAnchors attributte name change.
1941 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1949 Added interface implementation c files to list of
1950 includes so they are included in libcspi.
1953 Changed prototype of AccessibleAction_doAction to return a
1955 Changed prototype of AccessibleTable_getCaption to
1956 return an Accessible.
1957 Changed prototype of AccessibleTable_getSelectedRows
1958 and AccessibleTable_getSelectedColumns to
1959 return a long (returns the number of selected rows
1960 or columns respectively).
1961 Changed name of AccessibleText_refRunAttributes to
1962 AccessibleText_getAttributes.
1963 Changed prototype of AccessibleText_getCharacterExtents to
1964 return a void rather than a boolean.
1965 Added support for a AccessibleCoordType parameter
1966 specifying what type of coordinates are desired.
1967 Added an AccessibleCordType parameter to
1968 AccessibleText_getPointAtOffset.
1970 * cspi/spi_accessible.c:
1971 Added code to return the outstanding interfaces from
1972 Accessible_queryInterface.
1974 * cspi/spi_action.c:
1976 Corrected call to getNActions to call the c binding
1979 * cspi/spi_editabletext.c:
1981 Changed name from setRunAttributes to setAttributes.
1983 * cspi/spi_hyperlink.c:
1985 Changed call to getNAnchors to correctly call the c
1986 binding for an attribute.
1988 * cspi/spi_hypertext.c:
1990 Changed getImageDescription to correctly call the
1991 binding for an attribute.
1993 * cspi/spi_selection.c:
1994 Changed getNSelectedChildren to correctly call the c
1995 binding for the attribute.
1996 Changed refSelectedChild to getSelectedChild.
2000 Changed getCaption to return an Accessible.
2001 Fixed calls which retrieve attributes.
2002 Changed refAt to getAccessibleAt.
2003 Changed getNSelectedRows and getNSelectedColumns to
2007 Changed getCharacterExtents and getPointAtOffset to accept an
2008 AccessibleCoordType.
2010 Changed calls which retrieve attributes.
2011 Changed refRunAttributes to getAttributes.
2016 * idl/Hyperlink.idl:
2017 Changed n_anchors attribute to nAnchors to keep naming
2018 convention consistent.
2021 Made Table inherit from Bonobo::Unknown.
2022 Added nSelectedColumns and nSelectedRows attributes.
2025 Made Value inherit from Bonobo::Unknown.
2027 * libspi/hyperlink.c:
2028 Change for nAnchors attributte name change.
2031 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2033 implementations-- made server implementations own AtkObject pointers
2034 rather than their respective AtkInterrface pointers to fix
2035 refcounting. AtkHyperlink is still broken.
2037 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2038 * cspi/spi_accessible.c:
2039 Added method Accessible_Role_getName(),
2040 and requisite string array (role_names).
2041 Added conversion string_from_corba_strin() call
2042 to Accessible_getName and _getDescription.
2043 * libspi/accessible.c:
2044 Added implementation for Accessible_getRole()
2046 Added festival support, used if environment variable
2049 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2051 * at-bridge/bridge.c:
2052 Now allocate Accessibility_Event using
2053 Accessibility_Event__alloc() instead of g_new0().
2054 * libspi/accessibleeventlistener.c:
2055 Initialize AccessibleEventListener->callbacks to NULL.
2056 Fixed accessible__event_listener_init() param, changed to
2057 "AccessibleEventListener *" type.
2058 Changed a bonobo_object_release_unref() call to
2059 Accessibility_Accessible_unref().
2060 * libspi/listener.c:
2061 Changed Bonobo_Unknown_unref to (equivalent)
2062 Accessibility_Accessible_unref.
2063 * libspi/registry.c:
2064 Changed bonobo_object_release_unref to
2065 Accessibility_Accessible_unref.
2067 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2070 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2071 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2072 spi-util.c spi-util.h
2073 Implementations for C bindings to remaining accessibility
2076 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2079 changed return value of Action from void to boolean to
2080 bring in line with ATK.
2083 Changed getText funcions to return "out" start and end offsets.
2084 Changed getAttributes to take and offset and return the start
2085 and end offset of the attribute run.
2086 Changed getOffsetAtPoint and getCharacterExtents to take an
2087 enum describing whether coordinates are window or screen.
2090 libspi/action.c libspi/action.h libspi/editabletext.c
2091 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2092 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2093 libspi/image.h libspi/selection.c libspi/selection.h
2094 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2095 libspi/value.c libspi/value.h
2096 Added server implementations for outstanding ATK interfaces
2097 not yet implemented.
2099 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2102 Added (missing) getName() method.
2103 Made nActions an attribute.
2104 * idl/EditableText.idl:
2105 Changed order of params in setAttributes.
2106 * idl/Hyperlink.idl:
2107 Removed getAnchor, added getURI.
2109 Changed attributes to methods, for efficiency
2110 (so that getting extents can be done in one call)
2111 * idl/Selection.idl:
2112 Changed nSelectedChildren to attribute, and re-indented.
2113 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2115 * idl/Text.idl: reformatted to match our coding style.
2116 (temporarily?) removed getRowColumnAtOffset().
2117 Changed text selection API to support multi-select and
2118 non-contiguous selections, as in ATK.
2119 * idl/Value.idl: changed some methods to attributes.
2121 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2123 * libspi/listener.c(impl_notify_event):
2124 BonoboUnkown_unref the source instead
2125 of bonobo_object_release_unref - the ORB
2126 handles the releasing.
2128 * configure.in: require ORBit-2.3.94 for
2131 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2133 Tagged CVS repository 'EA_1_0'.
2134 * README.EARLY_ACCESS:
2135 Alphabetized acknowledgements list, and
2137 Listed some known dependencies of at-spi.
2139 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2141 * docs/at-spi-docs.sgml:
2142 * docs/at-spi-sections.txt:
2143 * docs/at-spi-overrides.txt: (Added zero-length file)
2144 Documentation improvements - gtk-doc should build
2145 docs for all implemented C bindings now.
2148 * cspi/spi.c: (New file)
2149 * cspi/spi_event.c: (New file)
2150 * cspi/spi_registry.c: (New file)
2151 * cspi/spi_accessible.c: (New file)
2152 * cspi/spi_application.c: (New file)
2153 * cspi/spi_component.c: (New file)
2154 Split spi_main.c into six parts, and included them from
2155 "spi.c". This is a bit of a hack, probably temporary,
2156 but required by gtk-doc, apparently.
2158 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2161 * docs/at-spi-docs.sgml:
2162 * docs/at-spi-sections.txt:
2164 Initial checkins/modifications for gtk-doc generation.
2167 Added (missing) interface query methods to Accessible's C binding.
2169 Added GenericInterface type definition.
2171 Added query for AccessibleComponent interface to focus event handler.
2172 Added printout of bounding box for focussed component.
2173 * libspi/component.c:
2174 Added partial implementation for AccessibleComponent to C binding.
2175 * idl/Application.idl:
2176 * libspi/registry.c:
2177 * libspi/listener.c:
2178 * libspi/application.c:
2179 * libspi/application.h:
2180 Changed "ID" attribute type from string to long.
2182 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2186 Made method naming consistent: methods taking object args
2187 start with uppercase, other methods (except those using
2188 acronyms) start with lowercase. Underscores delimit between
2189 object names and method names:
2190 SPI_init() - uppercase since it starts with an acronym.
2191 getDesktopCount () - lowercase start since no object param0.
2192 Accessible_getName() - uppercase object type name, studlyCaps method
2196 Added gtk-doc documentation for all currently implemented
2197 methods in the C bindings API.
2199 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2201 * Makefile.am : changed build order to build test last.
2204 Changed "createEventListener" to "CreateEventListener".
2205 * libspi/accessibleeventlistener.c :
2206 Bugfix for addition of callbacks.
2207 * test/Makefile.am :
2208 * test/simple-at.c :
2209 Added new test that uses the C bindings API.
2211 * libspi/listener.c :
2212 * libspi/registry.c :
2213 * libspi/accessibleeventlistener.c :
2214 * at-bridge/bridge.c :
2215 Renamed member "target" of Accessibility_Event to "source",
2216 which is more descriptive.
2219 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2223 * cspi/Makefile.am :
2224 Added makefile support for at-spi/cspi directory.
2227 * cspi/spi-listener.h : (NEW FILE)
2228 Added support for/use of spi-listener.h.
2230 C bindings now build successfully, with no warnings.
2231 * libspi/accessibleeventlistener.h : (NEW FILE)
2232 * libspi/accessibleeventlistener.c : (NEW FILE)
2233 * libspi/Makefile.am :
2234 Added new object type "AccessibleEventListener"
2235 which inherits from Listener, and allows attachment
2236 of in-process callbacks (so that a client with a listening
2237 object instance can add functionality to the local
2238 implementation, dynamically).
2240 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2242 * libspi/accessible.c:
2243 Add implementation for get_index_in_parent().
2245 Added #include of "spi-roletypes.h", and
2246 added enumerated type AccessibleCoordType.
2247 Added definition for KeystrokeListener (function type).
2250 * cspi/spi-statetypes.h :
2251 * cspi/spi-roletypes.h :
2253 Added these headers, used by spi.h.
2255 Added code (NOTE: not yet built by make).
2257 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2259 * libspi/Makefile.am: generate imodule
2260 at the same time as other idl compiler
2263 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2264 * libspi/registry.c :
2265 * libspi/application.c :
2266 * idl/Application.idl :
2267 Made registration with toolkit an application method,
2268 which is required since each app has its own toolkit static
2269 environment. Thus the bridge must register for
2270 notification of toolkit events from each application in turn.
2271 Toolkit notifications are now successfully registered for, and
2272 sent to the listening at client.
2274 Changed toolkit event string to use hyphens rather than underscores.
2275 * libspi/listener.c :
2276 listner now gives more info in debug mode - it reports the
2277 name of the event received, as well as the name of the source.
2280 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2282 * libspi/registry.c :
2283 added more implementation for toolkit events.
2284 Fixed bug such that toolkit event registrations
2285 (via atk) use the whole event name string, not
2287 Removed a useless call to an ORBit_ method.
2288 * at-bridge/bridge.c :
2289 Removed unused local sbuf[] variable.
2291 We now register for Gtk:GtkWidget:button_press_event
2292 events as well as "focus:" events.
2294 Add some more API from Registry.idl that was missing,
2295 for keystroke listening, keystroke and mouse event
2296 synthesis, and enumeration of accessible desktops.
2298 2001-08-16 Michael Meeks <michael@ximian.com>
2300 * configure.in: use AM_GLIB_GNU_GETTEXT.
2302 * Makefile.am (SUBDIRS): kill intl.
2304 2001-08-15 Michael Meeks <michael@ximian.com>
2306 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2308 * configure.in: upd.
2310 * configure.in: depend on a recent bonobo-activation that
2311 will find our server files ...
2313 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2315 * libspi/accessible.c : accessible_new() :
2316 Now we add the Component interface via bonobo_object_add_interface,
2317 if the contained AtkObject implements AtkComponent.
2318 * libspi/accessible.h : now include "component.h"
2319 * libspi/component.h :
2320 * libspi/component.c : added files - implementation of
2321 bonobo wrapper object for Accessibility/Component
2322 * libspi/listener.c :
2323 Added test code to check for Accessibility/Component:1.0
2324 interface and report whether it is implemented by the
2326 * libspi/registry.c :
2327 Now we check for not only the hash of the whole event
2328 string before relaying the event, we also check the
2329 "minor" event string (without the detail string).
2330 This allows event listeners to be registered against
2331 all events of a certain major+minor type, or just
2332 against a specific major+minor+detail type.
2333 * libspi/accessible.c :
2334 Added implementations for Accessible:get_parent(),
2335 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2336 * libspi/registry.c :
2337 * libspi/listener.c :
2338 Replaced calls to Accessibility_Accessible_ref() and
2339 Accessibility_Accessible_unref() with
2340 calls to bonobo_object_dup_ref() and
2341 bonobo_object_release_unref(), so that the CORBA object
2342 is dup-ed and released when relayed, as well as the bonobo object.
2344 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2346 * libspi/Makefile.am,
2347 registryd/Makefile.am,
2348 at-bridge/Makefile.am.
2349 test/Makefile.am, configure.in:
2350 reverse previous changes.
2352 * /idl/Image.idl: fix typo.
2354 * test/Makefile.am: put DEBUG_FLAGS
2357 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2359 * test/app.c: use argv[0] instead of
2362 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2364 * libspi/Makefile.am,
2365 registryd/Makefile.am,
2366 at-bridge/Makefile.am.
2367 test/Makefile.am, configure.in:
2368 cleanup, replace individual LIBS/CFLAGS with
2369 AT_COMMON_{LIBS|CFLAGS}.
2373 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2375 * configure.in, libspi/Makefile.am:
2376 Change IDL path checking for bonobo-activation
2379 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2381 * registryd/registry.c : separated event listeners to use
2382 3 separate lists (focus, window, toolkit). Began testing
2383 event names against hashes before relaying events.
2384 * test/at.c : now register for events of type "focus:"
2385 * test/app.c : now generate events of type "focus:"
2386 * at-bridge/bridge.c : register with ATK for focus events,
2387 and we now relay those focus events to any "focus:" listeners.
2388 This now works with the bridge as a GTK_MODULE when running test/at.
2389 * libspi/registry.c :
2390 * libspi/listener.c :
2391 now we ref event sources before propagating, and unref on receipt.
2392 * libspi/registry.c :
2393 some changes to internal structs, to support event typestring hashes.
2394 * text/app.c : changed the way the appname is generated.
2395 * cspi : added directory that will hold the C bindings library for
2396 non-CORBA/bonobo-savvy clients.
2397 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2398 * idl/Component.idl : added in parameter to indicate coord system for
2399 geometry-related calls.
2400 * idl/Hyperlink.idl : added readonly n_links attribute
2401 * idl/Image.idl : changed methods to attributes.
2403 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2405 * at-bridge/Makefile.am: link against
2406 ../libspi/libspi.la instead of -lspi.
2408 * at-spi/test/app.c: include
2409 bonobo-activation.h. Use a default appname
2410 if one is not provided.
2412 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2414 * idl/Registry.idl : temporarily changed register_Application
2415 to oneway, to work around issue with initial registration
2417 * idl/Application.idl : changed attribute "id" from readonly
2418 to read-write, since it needs to be assigned by Registry.
2419 * registryd/registryd.c : added call to set application id
2421 * registryd/registry.c : changed de-registration procedure to
2422 use CORBA_Object_hash() to find matching object ref in application
2423 lists and listener lists.
2424 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2425 began distinguishing between event types (work in progress).
2427 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2430 * libspi/application.c:
2431 Added implementations for get/set id, get_toolkitName,
2433 * registryd/registryd.c :
2437 Converted from use of OAF to bonobo-activation.
2438 * libspi/desktop.h :
2439 * libspi/desktop.c :
2441 Removed references to atksimpleobject, since base atkobject
2442 implementation now provides functionality we need.
2443 * libspi/atksimpleobject.c :
2444 * libspi/atksimpleobject.h :
2449 * at-bridge/Makefile.am
2450 * at-bridge/bridge.c
2453 Added directory "bridge" and contents, and added dependencies
2454 in Makefile.am/configure.in.
2455 Initial checkin of "at-bridge".
2456 This code is a GTK_MODULE which automatically registers
2457 GTK+ apps with the accessibility registry, using an object
2458 reference to the root ATK object.
2460 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2462 * po/Makefile.in.in: Remove. Again. If this
2463 doesn't get autogenerated - you need to update
2466 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2468 * po/Makefile.in.in: Add. Again.
2470 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2472 * libspi/accessible.c : added support for 'description' property.
2473 * libspi/accessible.c
2475 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2476 (since the two are now equivalent in libbonobo)
2484 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2485 Bonobo::Unknown as does Accessibility::Accessible.
2486 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2487 interface with Bonobo::Stream, since it was redundant with it.
2488 (The Stream returned by a StreamableContext object is expected to
2489 implement only a subset of Bonobo::Stream)
2491 2001-07-28 Anders Carlsson <andersca@gnome.org>
2493 * libspi/accessible.c (accessible_object_finalize): Change
2494 g_free to g_object_unref since the AtkObject is a GObject.
2496 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2498 * idl/Accessibility.idl: add new IDL files
2501 * idl/Action.idl: Definitions of actionable UI object
2502 * idl/Component.idl: Definitions of UI component geometry, etc.
2503 * idl/Hyperlink.idl: Defs of hyperlink behavior
2504 * idl/Image.idl: Def of accessible image
2505 * idl/Selection.idl: Definition of UI object with selectable children
2506 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2507 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2508 * idl/Text.idl: Interface defs for UI elements with complex textual content
2509 * idl/Value.idl: Definition of UI element that is a value controller or display
2511 2001-07-27 Michael Meeks <michael@ximian.com>
2513 * po/Makefile.in.in: remove autogenerated file from CVS.
2515 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2518 * idl/Registry.idl: include guard.
2520 * idl/Accessibility.idl: Add, and include all the other IDL
2523 * idl/*.idl: remove mass of pragmas etc.
2525 2001-07-26 Michael Meeks <michael@ximian.com>
2527 * registryd/Makefile.am (registryd_SOURCES): remove
2530 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2532 * libspi/.cvsignore, registryd/.cvsignore,
2533 test/.cvsignore: updated.
2535 * po/Makefile.in.in: gettext update.
2537 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2539 * initial CVS checkin
2541 2001-06-29 Michael Meeks <michael@ximian.com>
2543 * configure.in: add AM_CONFIG_HEADER to gen config.h