1 2001-12-10 Michael Meeks <michael@ximian.com>
3 * cspi/spi_action.c: audit for exception handling,
4 tolerating NULL object references safely etc.
6 * cspi/spi_accessible.c: ditto.
8 * cspi/spi_component.c: ditto.
10 * cspi/spi_editabletext.c: ditto.
12 * cspi/spi_hyperlink.c: ditto.
14 * cspi/spi_hypertext.c: ditto.
16 * cspi/spi_image.c: ditto.
18 * cspi/spi_selection.c: ditto.
20 2001-12-10 Michael Meeks <michael@ximian.com>
22 * configure.in: use cspi/libspi.pc.in instead.
24 * Makefile.am (pkgconfig_DATA): upd. to match.
26 * test/simple-at.c (report_focus_event): kill hacks around
27 bad return values, use putenv not setenv
29 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
30 fire ChildGone - I killed it.
33 (impl_accessibility_component_get_extents): remove
36 * idl/Accessible.idl: kill ChildGone exception.
38 * cspi/*.[ch]: kill int return from ref / unref.
40 * cspi/spi_main.c (cspi_object_add_check): fold into
41 (cspi_object_add): here.
43 * cspi/spi_component.c (AccessibleComponent_getExtents):
44 handle exceptions elegantly.
46 * cspi/spi-private.h (cspi_check_ev_return),
47 (cspi_return_if_fail): impl.
49 * cspi/spi_accessible.c: use extensively.
50 (AccessibleStateSet_equals): add direct compare check.
52 * cspi/spi_selection.c: tolerate NULL objs, and check
53 exceptions before return.
55 * cspi/spi-util.c (cspi_warn_ev): rename to
56 (cspi_check_ev): this & don't pass ev in; no point.
58 2001-12-10 Michael Meeks <michael@ximian.com>
60 * test/test-simple.c: use putenv not setenv
61 (get_environment_vars): more chatty if you're not using
64 * test/simple-at.c: do the setenv so more people see the
67 2001-12-10 Bill Haneman <bill.haneman@sun.com>
70 Changed check of CORBA_environment on notification to be a warning
71 instead of an error for the moment, since we can recover from this
72 error when caused by a queued notification from a dead app.
75 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
76 used by all current implementors of AtkValue), and coerce to
77 CORBA_float. (Proper general case fix may require change to Value.idl).
79 2001-12-09 Bill Haneman <bill.haneman@sun.com>
83 * cspi/spi_accessible.c:
84 Documentation fixes: added user_data params to documentation for
85 listeners and callbacks.
87 * cspi/spi_accessible.c:
88 Changed AccessibleStateSet_compare to return a
89 StateSet rather than return the difference set into a third parameter.
92 2001-12-09 Bill Haneman <bill.haneman@sun.com>
95 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
96 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
100 Remove subdirectory po from SUBDIRS for now.
102 * at-bridge/bridge.c:
103 Beefed up a couple of debug printouts.
104 One-line fix for signal notification name formatting.
106 * libspi/accessible.c:
107 Added assertion to spi_accessible_new ().
109 * libspi/application.c:
110 Put #ifdef qualifiers around a printf.
113 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
115 * registryd/Makefile.am:
117 Replaces use of XML_I18N_MERGE_SERVER_RULE with
118 INTLTOOL_SERVER_RULE macro.
121 Added an event listener for several ATK signals, for
122 testing and debugging. Removed a few g_warnings.
123 Added test output if focussed item implements the Value interface.
125 * test/test-simple.c:
126 Added test_value () function (known not to pass at the moment, so
127 not actually called yet.
129 2001-12-08 Michael Meeks <michael@ximian.com>
131 * at-bridge/bridge.c (bridge_focus_tracker),
132 (emit_eventv): fix the same ref. leak.
133 (register_atk_event_listeners): don't leak.
135 * cspi/spi-listener-impl.c (cspi_event): more
136 protection from client code.
138 * test/test-simple.c (test_desktop): unref the app.
140 * test/Makefile.am: upd. TESTS.
142 * at-bridge/bridge.c (bridge_exit_func): release the registry.
144 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
146 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
148 * cspi/spi_registry.c: constify in strings.
149 (deregisterGlobalEventListenerAll): don't release the ref.
151 * cspi/spi.h: start removing redundant / conflicting
152 gtkdoc comments, making the API readable at a glance :-)
154 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
156 * test/keysynth-demo.c (keysynth_exit, main): upd.
158 * test/simple-at.c (main, simple_at_exit): upd.
160 * test/test-simple.c (unutterable_horror): kill.
161 (utterable_normal_derefs): kill.
162 (main): upd & do a setenv before gtk_init, so that we
163 can use memprof - and to save the pain of remembering
164 this, if we're running under memprof - don't exit.
166 * cspi/spi_main.c (SPI_exit): return exit status
168 (SPI_event_quit): impl.
169 (SPI_event_main): simplify.
170 (cspi_is_gnome_app): kill.
171 (SPI_init): kill isGNOMEapp arg.
173 * at-bridge/bridge.c (register_atk_event_listeners):
174 re-instate the unref.
175 (bridge_exit_func): don't re-activate the registry,
176 protect vs. theoretical re-entry, use the
177 AT_BRIDGE_SHUTDOWN env. var to determine whether to
178 assert a clean shutdown - for regression tests.
180 2001-12-08 Abel Cheung <maddog@linux.org.hk>
182 * configure.in: Comment out dummy i18n support for now,
183 otherwise it fails to build.
184 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
185 EXTRA_DIST. They are missing in tarball.
187 2001-12-07 Michael Meeks <michael@ximian.com>
189 * util/magnifier.c: kill bonobo activation reg. race.
192 (impl_accessibility_component_get_extents): make it match
195 * libspi/registry.c (_registry_notify_listeners):
196 re-remove X headers & reconcile conflicts.
197 (spi_listener_struct_free): bad conflict resolve.
198 (impl_accessibility_registry_register_application):
199 more bad merging fixed.
200 (impl_accessibility_registry_deregister_application): ditto.
201 (spi_registry_new): ditto.
202 (spi_registry_init): don't have an applications field.
204 [ merge fixups2 branch to here ]
205 2001-12-07 Michael Meeks <michael@ximian.com>
207 * test/simple-at.c (report_focus_event),
208 (report_focussed_accessible): remove g_warning debug.
210 2001-12-07 Michael Meeks <michael@ximian.com>
212 * test/test-simple.c (validate_tree): comment out some checks.
213 (test_desktop): app now not registered idly - horay.
215 2001-12-07 Michael Meeks <michael@ximian.com>
217 * cspi/spi_registry.c
218 (registerAccessibleKeystrokeListener): clean, stop it leaking
219 great swathes of memory, and device event controller references.
220 ensure we always pass valid sequences.
221 (deregisterAccessibleKeystrokeListener): ditto.
222 (generateKeyEvent): upd.
224 * at-bridge/bridge.c (bridge_key_listener): handle
225 registry dead exception gracefully.
226 (bridge_focus_tracker, emit_eventv): free ev.
228 * test/simple-at.c (report_focus_event): fix polarity.
230 * libspi/application.c (notify_listeners): kill the ev
231 argument, and make sure we init the ev we use.
232 (spi_application_object_event_listener): split out a chunk
233 (get_atk_object_ref): here & fixup.
234 (reverse_lookup_name_for_toolkit_event): make const.
235 (spi_application_toolkit_event_listener): fixup, kill leaks
238 * at-bridge/bridge.c (register_atk_event_listeners):
239 don't unref the noop object - causes grief.
241 * libspi/registry.c: remove the X headers.
242 turn off the debug churn.
244 * libspi/accessible.c (spi_accessible_new_return): only
245 release the ref if we are supposed to [doh]
247 * test/simple-at.c (report_button_press, report_focus_event):
248 guard vs. unexpected exit.
250 * at-bridge/bridge.c (gtk_module_init): prune printf.
251 (bridge_exit_func): fix app unref.
253 * libspi/Makefile.am: don't install registry or desktop.h
255 * libspi/*.h: update includes.
257 * libspi/application.h: don't include ourself, or
258 other redundant headers.
260 2001-12-06 Michael Meeks <michael@ximian.com>
262 * libspi/accessible.c
263 (get_accessible_from_servant): impl.
264 Upd. all CORBA impl.s to use it killing cut and paste.
266 * cspi/spi_main.c (cspi_cleanup): guard vs. double
268 (SPI_init): register atexit cleanup handler here.
270 2001-12-06 Michael Meeks <michael@ximian.com>
272 * at-bridge/bridge.c (gtk_module_init): g_error on
275 2001-12-06 Michael Meeks <michael@ximian.com>
277 * at-bridge/bridge.c (gtk_module_init): some sort of
278 confusing merge clash - reverted.
279 (bridge_idle_init): ditto.
281 * test/test-simple.c (main, utterable_normal_derefs):
282 merge from Bill - somehow not committed.
284 2001-12-06 Michael Meeks <michael@ximian.com>
286 * libspi/value.c (spi_value_class_init): upd.
287 (spi_value_finalize): kill.
289 * libspi/table.c (spi_table_finalize): kill.
290 (spi_table_interface_new): upd.
291 (spi_table_class_init): upd.
292 (get_table_from_servant): impl.
293 Upd. all CORBA impl.s to use it killing yet more cut and paste.
295 * libspi/selection.c (spi_selection_finalize): kill.
296 (spi_selection_interface_new): upd.
297 (spi_selection_class_init): upd.
298 (get_selection_from_servant): impl.
299 Upd. all CORBA impl.s to use it killing yet more cut and paste.
301 * libspi/relation.c (spi_relation_finalize): kill.
302 (spi_relation_class_init, spi_relation_new): upd
304 * libspi/image.c (spi_image_finalize): kill.
305 (spi_image_class_init): upd.
306 (spi_image_interface_new): upd.
307 (get_image_from_servant): impl.
308 Upd. all CORBA impl.s to use it killing yet more cut and paste.
310 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
311 (spi_hyperlink_finalize): kill.
312 (spi_hyperlink_new): upd.
313 (get_hyperlink_from_servant): impl.
314 Upd. all CORBA impl.s to use it killing yet more cut and paste.
316 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
317 (spi_hypertext_finalize): kill.
318 (spi_hypertext_class_init): upd.
319 (get_hypertext_from_servant): impl.
320 Upd. all CORBA impl.s to use it killing yet more cut and paste.
322 * libspi/editabletext.c (spi_editable_text_finalize): kill.
323 (spi_editable_text_interface_new): upd.
324 (get_editable_text_from_servant): impl.
325 Upd. all CORBA impl.s to use it killing yet more cut and paste.
327 * libspi/text.c (get_text_from_servant): impl.
328 All impls - update to use it killing more cut and paste,
329 also fix bad string returns on duff args ( a somewhat
330 impossible case to handle - but hey ).
331 (spi_text_construct): impl.
332 (spi_text_interface_new): upd.
333 (spi_text_object_finalize): kill.
336 (accessibility_component_object_finalize): kill.
337 (spi_component_class_init): upd.
338 (get_component_from_servant): impl. helper to kill cut & paste.
339 (impl_accessibility_component_contains):
340 (impl_accessibility_component_get_accessible_at_point):
341 (impl_accessibility_component_get_position):
342 (impl_accessibility_component_get_extents):
343 (impl_accessibility_component_get_mdi_z_order):
344 (impl_accessibility_component_get_layer):
345 (spi_component_interface_new): upd.
347 * libspi/action.c (spi_action_finalize): kill.
348 (spi_action_class_init): upd. inherit from SpiObject.
349 (spi_action_interface_new): upd.
350 (get_action_from_servant): impl. helper to reduce cut & paste.
351 (impl_getKeyBinding, impl_getName, impl_doAction),
352 (impl_getDescription): Use it everywhere.
354 * cspi/spi_main.c (get_live_refs): a pointer hash.
355 (spi_object_hash, spi_object_equal): comment out.
356 There are issues with CORBA object hashing that need
359 * libspi/application.c (spi_application_init),
360 (spi_application_new): upd.
362 * libspi/accessible.c (spi_accessible_object_finalize): kill.
363 (spi_accessible_class_init): upd.
364 s/accessible/object/ in epv methods.
366 2001-12-05 Bill Haneman <bill.haneman@sun.com>
368 * at-bridge/bridge.c:
369 Reorder the bridge initialization into the bridge gtk_module_init,
370 an immediate call to bridge_register_app, and an idle_add for
371 register_atk_event_listeners (the only code that *must* wait until
372 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
373 the activation, creates the application's Accessible object, and
374 queues the bridge_idle_init function. Restored call to
375 Accessibility_Registry_deregisterApplication().
376 Prior to making this call we obtain a new reference to the
377 registry, which is a temporary hack that helps us handle apps that
378 shut down the bonobo mainloop before we get there.
381 Fix string leakage in debug block, and don't segv if a an app
382 dies before its event notifications have been propagated.
385 Modify cspi_check_ev() to call g_warning() rather than g_error(),
386 as stopgap measure until we get proper exception handling when
387 objects die during or before interrogation.
391 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
392 Also changed default value of is_gnome_app to TRUE.
395 * test/keysynth-demo.c:
396 Changed use of SPI_init and SPI_event_main to reflect API change above.
399 Made report_focus_event check the warning value from getName
400 before reporting on focussed accessible; simplifies handling of
401 notifications from dead objects.
403 * test/test-simple.c: (Changes not in this patch since source is
406 2001-12-05 Michael Meeks <michael@ximian.com>
408 * registryd/registryd.c (main): protect against
409 bonobo-activation startup race condition.
411 * cspi/spi_main.c (cspi_object_add_check): cope
412 with the exception elegantly.
414 * idl/Accessible.idl: decl. ChildGone
416 * libspi/desktop.c (spi_desktop_dispose): impl.
417 (spi_desktop_class_init): upd.
418 (spi_desktop_add_application),
419 (spi_desktop_remove_application),
420 (abnormal_application_termination): impl.
421 (impl_desktop_get_child_at_index): re-impl.
424 (impl_accessibility_registry_deregister_application),
425 (impl_accessibility_registry_register_application):
426 kill excessive debug clutter.
428 * test/test-simple.c (test_misc): test some NULL
429 tolerance. (main): upd.
431 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
432 implements no interfaces - so let's not crash.
434 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
436 * libspi/accessible.c (spi_accessible_new_return): impl.
437 helper to calm the cut and paste, to cope with
438 NULL AtkObjects effectively and efficiently, and to kill
439 the referencing bugs.
441 * libspi/table.c (impl_getAccessibleAt),
442 (impl_getRowHeader, impl_getColumnHeader): upd.
444 * libspi/hyperlink.c (impl_getObject): upd.
446 * libspi/accessible.c
447 (impl_accessibility_accessible_get_child_at_index): upd.
450 (impl_accessibility_component_get_accessible_at_point): upd.
452 * test/test-simple.c (test_editable_text, test_text): impl.
455 * cspi/spi_editabletext.c
456 (AccessibleEditableText_insertText): constify.
458 * test/test-simple.c (focus_me): make more robust.
460 * libspi/accessible.c: remove some printfs in methods that
461 we test and work fine, so we can get a clean tree dump.
463 * test/test-simple.c (validate_accessible),
464 (validate_tree): make tree dumping pretty too.
466 * at-bridge/bridge.c (bridge_signal_listener): upd. so
467 it builds without debug on.
469 * test/test-simple.c (validate_accessible): fix the most
472 * cspi/spi_main.c (spi_object_release): leave the nicely
473 blanked memory around if in debug mode.
475 * cspi/spi-listener-impl.c (cspi_event): use add_check.
477 [committed to fixups2]
478 2001-12-05 Michael Meeks <michael@ximian.com>
480 * libspi/editabletext.c
481 (spi_editable_text_class_init): g_type_class_peek_parent,
482 not interface peek - so we finalize cleanly.
484 * libspi/accessible.c (spi_accessible_new): kill debug.
486 * test/test-simple.c (validate_accessible): fix ref.
487 leak, print strings before freeing them; sigh, comment a
488 chunk out due to strangeness.
489 (validate_tree): unref the child after use.
491 * cspi/spi_component.c (AccessibleComponent_getLayer):
492 add missing break statement, switch on zlayer not the
493 uninitialized retval.
495 * cspi/spi_main.c (cspi_object_add): add assert, local ref
496 before (possibly re-entering) remote unref.
498 * test/simple-at.c (main): unref the desktop.
500 * cspi/spi_accessible.c (cspi_accessible_is_a): move
503 * cspi/spi_main.c (cspi_accessible_is_a): here to
504 isolate bonobo API usage more.
506 * libspi/registry.c (impl_accessibility_registry_register_application):
509 2001-12-04 Michael Meeks <michael@ximian.com>
511 * test/test-simple.c (validate_tree): upd.
512 IndexInParent check to make it more lucid.
513 (validate_accessible): dump the tree.
515 * libspi/accessible.c (de_register_public_ref),
516 (get_public_refs): impl.
517 (spi_accessible_new): make more efficient & intuitive.
518 Now IndexInParent check works.
520 2001-12-04 Michael Meeks <michael@ximian.com>
522 * cspi/spi-util.h: remove.
524 * cspi/spi.h: move SPI_freeString here
526 * libspi/component.c (impl_accessibility_component_get_layer):
528 (impl_accessibility_component_get_mdi_z_order): ditto,
529 return -1 on error - is this ok ?
531 * test/test-simple.c (test_application): impl.
533 * cspi/spi_accessible.c (Accessible_getApplication),
534 (Accessible_isApplication): impl.
536 * libspi/registry.c (spi_listener_struct_free): release
537 the CORBA reference too.
539 * libspi/accessible.c
540 (impl_accessibility_accessible_get_parent): fix ref leak.
542 * libspi/registry.c (spi_registry_new): make the registry
543 immortal - we don't want it to go away ever.
545 * libspi/application.c
546 (spi_accessible_application_finalize): impl. cleanup.
548 * cspi/spi_registry.c
549 (deregisterGlobalEventListenerAll),
550 (deregisterGlobalEventListener),
551 (deregisterAccessibleKeystrokeListener): fix ref leak.
553 * cspi/spi_main.c (SPI_init): remove redundant ref.
555 * test/test-simple.c (unutterable_horror): impl. to force a
560 (impl_accessibility_registry_deregister_application): release
561 the application when we de-register it.
563 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
564 until we have the infastructure to get it right.
566 2001-12-03 Michael Meeks <michael@ximian.com>
568 * libspi/Makefile.am: only build eventlistener.[ch]
570 * libspi/accessible.c
571 (impl_accessibility_accessible_get_child_at_index): don't leak.
573 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
574 before we hit the idle handler.
576 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
579 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
581 * libspi/listener.c (impl_notify_event): check source
582 not NIL before unref.
584 * libspi/registry.c (impl_registry_notify_event): ditto.
586 * libspi/eventlistener.c
587 (impl_accessible_event_notify_event): unref the source.
589 * libspi/accessibleeventlistener.c
590 (impl_accessible_event_notify_event): unref the source.
592 * idl/Event.idl: remove 'hash_id' attribute - of no
595 * libspi/application.c (notify_listeners): upd list
597 (spi_application_object_event_listener),
598 (spi_application_toolkit_event_listener): upd to do correct
602 (_registry_notify_listeners): update.
603 (parse_event_type): this method also leaks like a sieve.
604 (impl_accessibility_registry_deregister_global_event_listener):
605 fix ETYPE_WINDOW case.
607 * libspi/application.c
608 (impl_accessibility_application_register_object_event_listener):
611 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
613 * libspi/hypertext.c (impl_getLink): ditto.
615 * cspi/spi_main.c (cspi_object_add): remove
616 bogus CORBA_Object_duplicate.
618 * cspi/spi-listener-impl.c (cspi_event): dup/ref
621 * cspi/spi_accessible.c
622 (Accessible_getRelationSet): fix leak / referencing issue.
624 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
625 (cspi_object_add, cspi_object_unref): upd.
626 (spi_object_release, get_live_refs): impl.
627 (cspi_cleanup): simplify.
629 * *.[ch]: s/boolean/SpiBoolean/
631 * cspi/spi_accessible.c (role_names): actualy order so it
632 corresponds with the enum !
634 * test/test-simple.c (test_roles): check some role strings
635 vs. enums to detect offset errors.
637 2001-12-01 Michael Meeks <michael@ximian.com>
639 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
641 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
643 (Accessible_getChildAtIndex): use cspi_add_check so we
644 check the ev before using a (possibly) invalid value.
646 * libspi/accessible.c
647 (impl_accessibility_accessible_get_parent): don't segv
650 * at-bridge/bridge.c (gtk_module_init): upd.
651 (bridge_property_event_listener): don't leak strings
653 (bridge_state_event_listener),
654 (bridge_property_event_listener): don't use a static
655 buffer in case of recursive event emission &
656 re-enterancy - split out the swathe of cut and paste
658 (emit_eventv): and fix 2 ref leaks here & comply to the
660 (bridge_register_app): rename to
661 (bridge_idle_init): this and kill arg parsing, split
662 various inits & bonobo-activation registration to module
663 init time, kill referencing error.
664 (bridge_exit_func): fix the same leak.
665 (bridge_focus_tracker): don't leak event structures
667 (bridge_signal_listener): more leakage and cut & paste
669 (bridge_key_listener): return the result - FIXME is
670 this polarity correct ?
671 (accessibility_keystroke_from_atk_key_event): rename
672 (accessibility_init_keystroke_from_atk_key_event): and stop
674 (gtk_module_init): return a value - not that it is checked by
676 (bridge_key_listener): register my horror at casting between
678 (bridge_get_registry): kill - not used.
680 * cspi/spi_accessible.c (Accessible_getRole): make return const.
682 * test/test-simple.c (test_roles): impl.
683 (test_desktop, validate_accessible, validate_tree): impl.
685 * cspi/spi_accessible.c (role_names): fixup bogus
686 MAX_ROLES setup, make constants const for efficient linkage
687 (AccessibleRole_getName): conform to coding style, make
690 2001-11-30 Michael Meeks <michael@ximian.com>
692 * cspi/spi.h: add missing prototype.
694 * libspi/registry.c (spi_listener_struct_new): fix sig.
696 * test/Makefile.am: add test-simple
698 * test/test-simple.c: add
702 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
704 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
705 do it straight - since otherwise we often get an activation race.
707 [ work before Bill duplicated a chunk of it ... ]
708 2001-11-30 Michael Meeks <michael@ximian.com>
710 * libspi/keystrokelistener.c
711 (spi_keystroke_listener_class_init): fixup arg
714 * libspi/eventlistener.c
715 (spi_event_listener_class_init): ditto.
717 * tests/test.sh: add.
719 * cspi/spi-listener-impl.h: update macros.
721 * cspi/spi-listener-impl.c
722 (cspi_event_listener_remove_callback): add
723 correct pre-conditions.
725 * cspi/spi_main.c (SPI_exit): guard vs. double
726 exits, exit the mainloop nicely.
727 (SPI_event_main): make more sense.
728 (SPI_init): move the atexit evilness here so we
730 (SPI_event_main): upd.
732 * test/simple-at.c: update for listener changes.
734 * registryd/registryd.c (main): prune kruft.
736 * libspi/libspi.h: upd.
738 * libspi/eventlistener.[ch]: rename broken macros.
740 * libspi/accessibleeventlistener.[ch]: remove.
742 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
744 * test/test-simple.c: Add - automated tests.
746 * cspi/spi-listener-impl.c (cspi_event),
747 (cspi_key_event): add user_data to invoke.
748 (cspi_keystroke_listener_finalize): impl.
749 (cspi_keystroke_listener_class_init): upd.
752 (createAccessibleEventListener),
753 (AccessibleEventListener_addCallback),
754 (createAccessibleKeystrokeListener),
755 (AccessibleKeystrokeListener_addCallback): upd.
757 * libspi/deviceeventcontroller.c
758 (spi_device_event_controller_check_key_event): add public proto.
761 (impl_accessibility_registry_deregister_global_event_listener):
762 always init listeners.
763 (_registry_notify_listeners): yes it is.
765 * cspi/spi-listener-impl.c (cspi_key_event):
767 (cspi_event_listener_finalize): impl.
768 (cspi_event_listener_class_init): hook up.
769 (event_handler_new, event_handler_free),
770 (event_list_remove_by_callback): impl.
771 (cspi_event_listener_remove_callback),
772 (cspi_keystroke_listener_remove_callback),
773 (cspi_keystroke_listener_add_callback),
774 (cspi_event_listener_add_callback): upd.
776 * libspi/keystrokelistener.c
777 (keystroke_listener_object_finalize): kill
778 (spi_keystroke_listener_class_init): upd.
779 (spi_keystroke_listener_add_callback),
780 (spi_keystroke_listener_remove_callback): kill,
782 (impl_key_event): prune drasticaly.
784 * libspi/eventlistener.c
785 (spi_event_listener_add_callback),
786 (spi_event_listener_remove_callback): kill, use
788 (impl_accessible_event_notify_event): upd.
789 (spi_event_listener_object_finalize): remove.
791 * libspi/Makefile.am: use eventlistener.[ch]
793 2001-12-04 Bill Haneman <bill.haneman@sun.com>
795 * libspi/registry.c (_registry_notify_listeners):
796 Changed listener loop iteration to use preferred convention.
797 Got rid of string memory leaks caused be calling g_strconcat
798 inside function calls.
800 * libspi/registry.c (parse_event_type):
801 Stopped g_strconcat memory leaks, free the g_strsplit return,
802 g_strdup the split pieces when used, etc.
804 2001-12-04 Bill Haneman <bill.haneman@sun.com>
807 Change method 'compare' to return a 'difference set' rather than
808 taking a StateSet as an out parameter (more Java-friendly).
810 * idl/Accessible.idl:
811 Added CORBA struct 'BoundingBox', to faciliate API changes below:
815 Changed methods 'getExtents' and 'getImageExtents' in these
816 interfaces to return a BoundingBox structure.
817 (getPosition and getSize are redundant and possibly should be
818 removed, rather than creating a corresponding Point struct.)
820 * cspi/spi_component.c:
821 Modify implementation of getExtents to reflect the above IDL
826 Add (missing) AccessibleImage_getExtents () API.
828 * docs/reference/cspi/at-spi-cspi-sections.txt:
829 Added AccessibleImage_getImageExtents () to docs.
831 2001-12-03 Bill Haneman <bill.haneman@sun.com>
834 Added two methods, getLayer () and getMDIZOrder (), to reflect
835 the new ATK methods atk_object_get_layer and
836 atk_object_get_mdi_z_order. (Which arguably should be part of the
837 AtkComponent API and AtkObject). Also added an enum,
838 ComponentLayer, for the first method's return value.
840 * libspi/component.c:
841 Added implementations for these methods.
843 * cspi/spi_component.c:
845 Added cspi binding methods for above,
846 AccessibleComponent_getLayer() and
847 AccessibleComponent_getMDIZOrder().
848 Added cspi enum 'AccessibleComponentLayer'.
850 * docs/reference/cspi/at-spi-cspi-sections.txt:
851 Added above methods to docs.
855 Changed typedef for 'boolean' type (and all references to it) to
856 SPIBoolean, to avoid keyword clashes with C++.
859 Changed usages of 'boolean' to SPIBoolean.
861 * test/keysynth-demo.c:
862 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
863 app), except where SPIBoolean is required by the callbacks API.
865 2001-12-02 Bill Haneman <bill.haneman@sun.com>
867 * cspi/spi_registry.c:
868 Removed obsolete X event loop for passive keygrabs (which now
871 * registryd/registryd.c:
872 Removed unnecessary call to gdk_init() [cruft]. This also allows
873 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
876 2001-11-28 Bill Haneman <bill.haneman@sun.com>
878 * docs/reference/cspi:
879 Included docs for SPI_freeString in generated documentation.
882 Renamed spi_freeString to SPI_freeString, for consistency. Added
883 documentation for this function.
886 Renamed spi_freeString to SPI_freeString, for consistency.
887 Removed obsolete method declaration string_from_corba_string.
889 * test/keysynth-demo.c:
890 Small tweak to comments.
893 Stopped leaking the strings returned from CSPI.
895 2001-11-28 Bill Haneman <bill.haneman@sun.com>
897 Merged Michael's branch (see his ChangeLog entries below).
899 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
900 bridge is alive, release on exit.
902 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
903 Fix type check macro.
906 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
909 Added is_gnome_app static, and method cspi_is_gnome_app(),
910 so we can call the appropriate shutdown routine at exit in SPI_exit.
912 * cspi/spi_main.c (cspi_object_ref):
913 Duplicate the corba object passed in, since we're keeping it around.
915 * cspi/SPI_exit.c, cspi_cleanup:
916 Moved the releasing of the live refs to its own function, so we
917 can put it in g_atexit (). Call the appropriate shutdown API
918 depending on whethe calling client is a gnome app or not
919 (bonobo_main_quit or CORBA_ORB_shutdown).
921 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
922 Unref the listener when this method is called, after
923 deregistration. Updated the API docs to note this behavior.
925 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
926 Bugfixes: Ref the bonobo object when returning a parent or child
927 reference, or an AccessibleRelation. Generally made sure
928 BonoboObject refcount is incremented whenever we return an
931 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
932 Fixed typo/bug in signal declaration.
934 * libspi/accessibleeventlistener.h:
937 * libspi/application.c (spi_application_new):
938 Fixed leak in initialization.
941 Remembered to increment bonobo-object refcount when returning
942 children (applications) from desktop object.
943 Added (empty) finalize method.
945 * libspi/deviceeventcontroller.c:
946 Hold a ref to listeners inside DEControllerKeyListeners.
947 Added dec_key_listener_free() method. Use prepend instead of
948 append in key_listener list. Fixed some refcount madness and
949 leaks in the listener registration/deregistration - deregistration
950 now calls dec_key_listener_free() on listeners, and on the
951 temporarily constructed dec_key_listener() used to perform the search/match.
953 * libspi/hypertext.c (spi_hypertest_finalize):
954 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
955 class. Also fixed spi_hypertext_interface_new() and
956 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
958 * libspi/hypertext.h:
959 Removed pointless and duplicate AtkObject pointer from
962 * libspi/keystrokelistener.c:
963 Fixed incorrect type of keystroke_listener_parent_class,
964 renamed keystroke_listener_object_finalize to
965 spi_keystroke_listener_object_finalize.
966 Fixed typo in signal declaration
967 (spi_keystroke_listener_class_init).
970 Added funcsions spi_listener_struct_new() and
971 spi_listener_struct_free() to help with memory management issues.
972 We also now use these methods instead of gnew + poking stuff into
973 the struct, and to decrement listener counts/free the listeners
974 when deregistering them.
975 Fix more refcount bugs in getDesktop() and
976 getDeviceEventController().
979 De-ref the desktop after enumerating the applications. Explicitly
980 decrement the refcounts on the created listeners on exit (using
981 _unref for keystroke listeners, and via the
982 deregisterGlobalEventListenerAll command for other event
985 2001-11-27 Michael Meeks <michael@ximian.com>
987 * cspi/spi-listener.h: fixup enum.
989 2001-11-27 Michael Meeks <michael@ximian.com>
991 * cspi/spi-listener-impl.c (cspi_event_listener_new),
992 (cspi_keystroke_listener_new): Use the cspi variants.
994 2001-11-26 Michael Meeks <michael@ximian.com>
996 * test/keysynth-demo.c: fix 2 compile warnings, missing
999 * test/simple-at.c (report_focussed_accessible),
1000 (report_focus_event, report_button_press),
1001 (check_property_change, is_command_key),
1002 (report_ordinary_key_event, report_command_key_event): upd.
1004 * util/mag_client.h: include pre-requisites.
1006 * libspi/accessibleeventlistener.c
1007 (spi_event_listener_object_finalize): free any lingering
1010 * libspi/keystrokelistener.c
1011 (keystroke_listener_object_finalize): ditto.
1013 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1014 callbacks, with cspi types.
1016 * cspi/spi_event.c (createAccessibleEventListener): chain to
1017 (AccessibleEventListener_addCallback): here.
1018 (createAccessibleKeystrokeListener): chain to
1019 (AccessibleKeystrokeListener_addCallback): here.
1021 * libspi/keystrokelistener.c
1022 (spi_keystroke_listener_class_init): add signal.
1023 (impl_key_event): emit the event.
1024 (boolean_handled_accumulator): impl.
1025 (marshal_BOOLEAN__POINTER): add, gack.
1027 * libspi/accessibleeventlistener.c
1028 (spi_event_listener_class_init): add signal.
1029 (impl_accessible_event_notify_event): emit the signal &
1030 make the loop efficient.
1031 (spi_event_listener_add_callback): prepend the callback.
1033 * libspi/accessibleeventlistener.h: add an 'event' signal,
1034 decl type on callback.
1036 * libspi/keystrokelistener.h: ditto.
1038 * cspi/spi-listener.h: make methods typesafe and
1039 make them use the new event typedefs.
1041 * test/simple-at.c (report_focussed_accessible):
1042 include mag_client.h
1043 Use *(void *)text_interface not the other thing.
1045 * configure.in: add gtk to registryd bits - since we use
1048 * util/magnifier.c: include libbonobo.h
1050 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1052 * test/keysynth-demo.c:
1053 Turned this into a simple scanning keyboard, to demonstrate the
1054 use of g_timeout_add () as a means of creating timers for
1055 scanning, and the use of GtkStyle for visually indicating when
1056 virtual keyboard elements are selected.
1058 keysynth-demo now listens to any keyboard keys with zero-valued
1059 keycodes (i.e. 'unused' keys) and interprets them as
1062 Reworked the shiftlatch code so that shift-down state isn't held
1063 for long periods (it's only synthesized immediately prior to
1064 the keysynth event it's modifying). Note that shiftlatch in this
1065 demo is a convenience, not intended to take the place of AccessX
1066 which is the better choice for getting 'sticky' modifier keys.
1068 * libspi/deviceeventcontroller.c:
1069 * at-bridge/bridge.c:
1070 * cspi/spi_registry.c:
1071 Removed some debug print stuff, and put other verbosity in #ifdef
1076 Implemented some more of the magnifier IDL for the simple
1077 magnifier: namely, getZoomRegionParams.
1078 Added mag_x and mag_y members to MagnifierData struct, aid of this
1080 Added GtkWindow::realize signal handler to magnifier, to keep it
1081 from receiving keyboard focus from the WM.
1083 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1085 * cspi/spi-private.h: my guess at what michael forgot
1086 before he ran off to NZ :-)
1088 2001-11-23 Michael Meeks <michael@ximian.com>
1090 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1091 comment out non existant method invoke so we link.
1093 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1094 use bonobo_exception_get_text for more friendly warnings.
1096 * cspi/spi.c (Obj_Add): move into spi_main & rename
1097 spi_object_add; kill spi.c
1099 * cspi/spi_registry.c
1100 (deregisterGlobalEventListener),
1101 (deregisterGlobalEventListenerAll),
1102 (registerGlobalEventListener): fix exception leaks.
1104 * cspi/spi_main.c (spi_exception): impl. helper, so we
1105 don't leak exceptions.
1107 * cspi/spi_selection.c
1108 (AccessibleSelection_deselectSelectedChild): return the
1111 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1112 (spi_registry): ditto.
1113 (SPI_init): guard against double inits.
1115 * cspi/*.c: use spi_ev (), and spi_registry () where
1116 appropriate - a temporary hack until we have something
1117 better. Use spi_object_add
1119 2001-11-22 Michael Meeks <michael@ximian.com>
1121 * cspi/Makefile.am: re organise, install the headers.
1123 * cspi/*.h: add G_BEGIN/END_DECLS
1125 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1128 Added non-preemptive keylistener for key events with no modifiers
1129 and shift-only modifier.
1131 * libspi/keystrokelistener.c:
1132 Removed some verbose diagnostics printout.
1134 * cspi/spi_registry.c:
1135 Fixed a bug that caused all key listeners to be registered as
1138 * libspi/deviceeventcontroller.c:
1139 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1140 for non-preemptive key masks.
1143 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1145 * docs/reference/idl/at-spi-idl-docs.sgml:
1146 * docs/reference/idl/at-spi-idl-sections.txt:
1147 * docs/reference/idl/at-spi-idl-overrides.txt:
1148 Added missing files.
1150 * docs/reference/Makefile.am:
1151 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1152 to scan the IDL files :-(
1157 Added .cvsignore files.
1159 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1161 * libspi/deviceeventcontroller.c:
1162 * libspi/keystrokelistener.c:
1164 * cspi/spi_registry.c:
1165 Added filters for KeySets, KeyEventSeq, and event types to key
1166 event dispatching, so listeners should only receive those events
1167 that they requested :-)
1169 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1174 * docs/reference:Makefile.am:
1175 * docs/reference/cspi:
1176 * docs/reference/cspi:Makefile.am:
1177 * docs/reference/cspi:tmpl:
1178 * docs/reference/cspi:tmpl:*.sgml:
1179 * docs/reference/idl:
1180 * docs/reference/idl:Makefile.am:
1181 * docs/reference/idl:at-spi-idl-sections.txt:
1182 * docs/reference/idl:at-spi-idl-docs.sgml:
1183 * docs/reference/idl:tmpl:
1184 * docs/reference/idl:tmpl:*.sgml:
1186 Restructured docs directory to allow separate 'reference' docs
1187 section, and forked idl and cspi docs. Added the sgml template
1188 files to CVS. Added the first sections/structural sgml for the
1191 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1193 * configure.in, libspi/Makefile.am: find libXtst.
1195 2001-11-21 Michael Meeks <michael@ximian.com>
1197 * test/accessx-gui.c: s/spi_value/value/ - doh.
1199 * libspi/base.[ch]: add.
1201 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1203 * idl/Accessible.idl:
1204 * idl/Application.idl:
1207 Started gtk-doc cleanup on IDL.
1209 * libspi/deviceeventcontroller.c:
1210 Added and connected non-preemptive key notification from the
1211 toolkits (in addition to the pre-emptive support from XServer
1212 which we had before, but which causes 'focus flashing'). Filters
1213 are presently limited to key modifiers and global/non-global,
1214 KeySets are presently ignored, as are KeyEvent masks.
1216 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1217 structs into the persistant structure rather than just storing
1218 pointers to things that might not persist across servant
1221 The XGrabKey call now does async keygrabs, because synchronous
1222 ones were deadlocking with GDK_event code in a very nasty way.
1224 Added boolean to internal method notify_keylisteners, to indicate
1225 whether the event came from the 'toolkit source' or the 'global
1226 (XServer) source' - this is used in the notification process to
1227 determine which listeners to send the event to.
1229 deviceeventcontroller.c is now warning-free.
1231 * libspi/registry.c:
1232 Fixed regression in application de-registration.
1233 Also fixed some really brain-dead weirdness having to do with
1234 event dispatching - event structs are now duplicated before being
1235 re-marshalled in the dispatch to listeners. This also fixes a
1236 Solaris build problem.
1239 2001-20-11 Michael Meeks <michael@ximian.com>
1242 (impl_accessibility_registry_deregister_global_event_listener):
1245 * libspi/deviceeventcontroller.c
1246 (spi_device_event_controller_check_key_event): return
1247 FALSE on no virtual method.
1249 * libspi/*..h: make includes work on a correctly pathed install.
1251 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1253 * libspi/application.h: kill unused ( and whacked out )
1254 gboolean *spi_application_set_id (AtkObject *app, long id);
1256 2001-20-11 Michael Meeks <michael@ximian.com>
1258 * libspi/*.[ch]: further convert to bonobo's type func
1259 macros, remove redundnant casts etc.
1261 * libspi/text.c s/accessibility_text/spi_text/g,
1262 re-order to de-cruft.
1264 * libspi/hypertext.c: re-order to kill a huge slew
1265 of redundant forward decls.
1267 * libspi/relation.c: ditto.
1269 * libspi/image.c: ditto.
1271 * */.cvsignore: update
1273 2001-20-11 Michael Meeks <michael@ximian.com>
1275 * libspi/deviceeventcontroller.c
1276 (_controller_register_with_devices): use g_getenv,
1277 kill stdlib.h include.
1279 * libspi/keystrokelistener.c
1280 (spi_keystroke_listener_get_type): kill
1281 (spi_keystroke_listener_class_init),
1282 (spi_keystroke_listener_init): rename to this.
1284 * libspi/text.c (impl_getAttributes): fix warning / bug.
1286 * libspi/*.[ch]: more headers, includes and over commenting.
1288 2001-20-11 Michael Meeks <michael@ximian.com>
1290 * libspi/*.[ch]: fixup headers, includes and over commenting.
1292 * libspi/image.c (impl__get_imageDescription): const
1293 correctness warning fix. remove redundant casting.
1295 * libspi/table.c (impl_getRowDescription): ditto.
1296 (impl_getColumnDescription): ditto.
1298 * libspi/libspi.h: add.
1300 2001-19-11 Michael Meeks <michael@ximian.com>
1302 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1304 * libspi/component.c (accessibility_component_get_type):
1305 rename to (spi_component_get_type): and macroify.
1306 (accessibility_component_init): rename to
1307 (spi_component_init): this
1308 (accessibility_component_class_init): rename to
1309 (spi_component_class_init): this
1311 * libspi/action.c (spi_action_get_type): kill, use the macro.
1313 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1316 * libspi/application.c (spi_application_object_event_listener),
1317 (impl_accessibility_application_register_object_event_listener):
1318 warning fixes / const understanding updates.
1320 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1323 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1325 * libspi/spi_accessible.c: Added docs and C bindings for
1326 AccessibleStateSet. (No implementations yet). Documentation
1327 coverage for C bindings now 100%. Made docs for event listeners
1332 boolean notifyListenersSync (in DeviceEventListener listener,
1333 in DeviceEvent event);
1335 oneway void notifyListenersAsync (in DeviceEventListener listener,
1336 in DeviceEvent event);
1338 Added DeviceEventListener and DeviceEvent structs (may deprecate
1339 KeyStroke and KeystrokeListener in favor of this generic
1340 event/listener framework for devices).
1342 * libspi/deviceeventcontroller.c:
1344 Changed some key listener code to take masks, etc., and paved the
1345 way for integration of toolkit/non-preemptive key events. Changed
1346 signatures of some internal methods.
1348 * at-bridge/bridge.c:
1349 Fixed regression connecting to interface signals, apparently
1350 caused by GTK+ changes.
1352 Added an internal bridge_state_listener to deal with
1353 property-change:accessible-state signals.
1355 Changed the key_listeners GList to store structs (including masks,
1356 etc.) instead of just CORBA_Objects (required for full
1357 implementation of key listener API).
1359 Connected the bridge to all currently supported Atk signals.
1360 Events now supported:
1361 object:property-change
1362 object:property-change:accessible-name
1363 object:property-change:accessible-state
1364 object:property-change:accessible-description
1365 object:property-change:accessible-parent
1366 object:property-change:accessible-value
1367 object:property-change:accessible-role
1368 object:property-change:accessible-table-caption
1369 object:property-change:accessible-table-column-description
1370 object:property-change:accessible-table-column-header
1371 object:property-change:accessible-table-row-description
1372 object:property-change:accessible-table-row-header
1373 object:property-change:accessible-table-summary
1374 object:children-changed
1375 object:visible-data-changed
1376 object:selection-changed
1377 object:text-selection-changed
1379 object:text-caret-moved
1381 object:row-reordered
1383 object:column-inserted
1384 object:column-reordered
1385 object:column-deleted
1386 object:model-changed
1388 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1390 * libspi/hyperlink.c,h:
1391 Fixed some broken stuff in hyperlink.
1393 * libspi/relation.h:
1394 * libspi/relation.c:
1395 * cspi/spi_accessible.c:
1396 Initial implementations of AccessibleRelation methods, and docs.
1398 * libspi/accessible.c:
1399 Fixed a bug that caused SEGV if an accessible
1400 object's description is NULL, and a client
1401 requests it. An empty string is now returned.
1403 * cspi/spi_editabletext.c:
1404 * cspi/spi_hypertext.c:
1406 * cspi/spi_hyperlink.c:
1410 Doc coverage now 95%.
1412 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1414 One last namespacing revision:
1415 * libspi/accessibleeventlistener.[ch]:
1416 Renamed SpiAccessibleEventListener to SpiEventListener,
1417 (no need for two namespaces ;-)
1419 And lots of documentation fixes:
1421 * docs/at-spi-docs.sgml:
1422 Fixed 'underscore vs. hyphen' bug that was preventing
1423 the gtk-doc API docs from being automatically generated.
1426 * cspi/spi-listener.h
1428 * cspi/spi_accessible.c
1430 * cspi/spi_application.c
1431 * cspi/spi_component.c
1432 * cspi/spi_editabletext.c
1434 * cspi/spi_hypertext.c
1436 * cspi/spi_registry.c
1437 * cspi/spi_selection.c
1441 * docs/at-spi-docs.sgml
1442 * docs/at-spi-sections.txt
1444 Added and fixed up gtk-doc documentation in cspi.
1446 Interfaces now (fully) documented (subject to revision and enhancement):
1448 Event Listener Support
1450 AccessibleApplication
1454 AccessibleEditableText
1461 AccessibleRelationSet
1466 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1468 * at-bridge/bridge.c:
1469 Initial work for toolkit-level key snooper connection by bridge.
1474 New typedefs and fixes to support new namespacing, and cleaner
1475 separation of cspi bindings from libspi bonobo implementation.
1476 Removed inconsistent and extraneous Spi* namespace prefix that
1477 had crept into cspi headers.
1478 Lots of comment fixes that sed had missed.
1480 * cspi/spi-roletypes.h:
1481 * cspi/spi-statetypes.h:
1482 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1483 to AccessibleRoleType.
1485 * libspi/accessibleeventlistener.h:
1486 Fixed minor namespacing weirdness.
1488 * libspi/deviceeventcontroller.c:
1489 Reordered some internal API for device listeners.
1490 Changed the key registry final boolean to 'is_system_global'
1491 rather than 'is_synchronous', which is more descriptive of its
1493 Added spi_device_event_controller_new().
1494 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1496 * libspi/keystrokelistener.[ch]:
1497 Namespaced KeystrokeListener to SpiKeystrokeListener.
1498 Changed uses of keymasks to use SPI_ prefix, and did other
1501 * libspi/keymasks.h:
1502 Namespaced keymask constants with SPI_ prefix.
1504 * libspi/registry.c:
1505 Some warning fixes, and knock-on fixes from namespace changes.
1508 Added rules for accessx-gui test program.
1510 * test/accessx-gui.c:
1511 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1512 utility. It doesn't actually use at-spi, but it's still cool and
1515 * test/keysynth-demo.c:
1519 Fixes so that these test clients work properly with the namespaced
1520 libraries. (Incompletely tested for technical reasons, fixes may follow)
1523 2001-13-11 Michael Meeks <michael@ximian.com>
1525 * libspi/application.c
1526 (impl_accessibility_application_get_version),
1527 (impl_accessibility_application_get_toolkit_name):
1529 (impl_accessibility_application_set_id),
1530 (impl_accessibility_application_get_id): remove
1531 redundant casting code.
1533 * libspi/action.c (impl_getDescription): fix warnings.
1535 * libspi/accessible.c
1536 (impl_accessibility_accessible_get_parent),
1537 (impl_accessibility_accessible_get_child_at_index),
1538 (impl_accessibility_accessible_get_state),
1539 (impl_accessibility_accessible_get_relation_set):
1540 warning fixes & include action.h
1542 2001-13-11 Michael Meeks <michael@ximian.com>
1544 * *.[ch] fix bits I screwed up:
1546 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1547 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1549 2001-13-11 Michael Meeks <michael@ximian.com>
1551 * *.[ch] Namespace libspi into spi_ and Spi.
1553 2001-13-11 Michael Meeks <michael@ximian.com>
1555 * Makefile.am: dist & install at-spi-1.0.pc
1557 * libspi/Makefile.am: install into at-spi-1.0
1559 * idl/Makefile.am (idldir): install into at-spi-1.0
1561 * at-spi-1.0.pc.in: add.
1563 * configure.in: build it.
1565 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1567 * test/keysynth-demo.c:
1568 Use a 'realize' signal-handler to set the WM properties for
1569 the virtual keyboard, rather than making it a "POPUP" type
1570 override-redirect window (thanks to anders carlsson for that
1573 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1576 * test/keysynth-demo.c:
1577 Added new test of key synthesis, which creates a simple
1578 (mouse-operated) onscreen keyboard. It inserts key events into
1579 the currently-focused window, thus it does not grab keyboard focus
1582 * cspi/spi_registry.c:
1583 Added C binding for AT-SPI generateKeyEvent.
1585 * libspi/deviceeventcontroller.c:
1586 Added call to XFilterEvent so that key listener works with XIM (we
1587 hope). Added event_synth_type to generateKeyEvent, so that we can
1588 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1589 synthesize a press/release pair for KeySyms.
1591 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1593 * libspi/Makefile.am:
1594 * registryd/Makefile.am:
1595 (temporary) hack to include libXtst in libspi and registryd.
1596 (Needed for keystroke synthesis, see below).
1599 Improved API for registerKeystrokeListener, in accordance with
1600 discussions with Gnopernicus team and X server research.
1602 * libspi/registry.c:
1603 * libspi/deviceeventcontroller.c:
1604 * libspi/accessible.c:
1605 * libspi/keystrokelistener.c:
1606 Changes and fixes to support keylisteners for potentially
1607 consumed key events (that is, 'passive grabs').
1608 Added implementation for generateKeyEvent() [untested].
1611 Changes to registerKeystrokeListener() API, as above.
1612 Added deregisterGlobalEventListenerAll(), and
1613 deregisterKeystrokeListener(), which are needed for clean exit of
1615 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1616 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1618 * cspi/spi_registry.c:
1619 Added implementations of function prototypes mentioned above.
1621 * registryd/registryd.c:
1622 Added the key listener event source as a g_timeout(), to allow
1623 receipt of key events that are not caught by GDK (since GDK
1624 doesn't support passive keygrabs, this was necessary).
1627 Changed to attach a keylistener to 'Alt' keys, and
1628 respond to the following keycommands: Alt-M (toggle magnifier);
1629 Alt-F (toggle speech); Alt-Q (quit).
1630 Added an exit routine to deregister the listeners, and a key
1631 listener that prints some key info to the console when a key
1632 matches the listener mask (and is thus received by the listener).
1634 * util/idl/Magnifier.idl:
1635 Changes to magnifier API to support multiple zoom regions,
1636 non-uniform scaling in x and y, markDirty, and a host of other
1637 features that would be useful to magnification.
1640 * util/mag_client.c:
1641 * util/mag_client.h:
1642 * util/mag_control.c:
1644 Source code changes to support the above IDL changes.
1647 As above, and also changes to use a (slower) generic conversion
1648 path for colormap conversions, since the fast RGB conversions have been
1649 reported to fail for 16-bit displays.
1651 2001-10-26 Michael Meeks <michael@ximian.com>
1653 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1655 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1657 * at-bridge/Makefile.am: fix LDFLAGS.
1659 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1661 * at-bridge/bridge.c:
1662 Re-worked listeners for toolkit events, now we have signal
1663 and property listeners. Added a private method
1664 register_atk_event_listeners(), which registers with the
1665 various atk and gtk signals we need to monitor in order to emit
1667 Added emission hook for AtkObject:property-change events, to
1668 support the 'property listeners'.
1669 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1672 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1673 which emit warnings and exit, respectively, if CORBA errors occur
1674 during remote calls, and we now use these methods to check most of
1675 our CORBA calls in the C bindings.
1677 * cspi/spi_accessible.c:
1678 Changed AccessibleSelection_refSelectedChild() to
1679 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1680 now increment refcounts.
1682 * cspi/spi_component.c:
1683 Fixed some long pointer casts (dangerous!) to pass pointers to
1684 CORBA_longs of the proper type to the CORBA stubs, and copy the
1685 data into the longs that were passed into the C bindings code.
1687 * at-bridge/bridge.c:
1689 * libspi/accessible.c:
1690 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1691 hyperlinks, AtkHyperlink is an object type.
1693 * libspi/application.c:
1694 Added various conversions to and from "generic" event types and
1695 atk-specific types; this is really part of the 'bridge'
1696 implementation but is valid for all AtkObject-based accessibility
1699 * libspi/editabletext.c:
1700 Fixed nasty bug wherein editable text's finalize method was
1701 unref'ing tha AtkObject reference that the text parent class was
1702 about to unref _again_. There was also a nasty inheritance bug
1703 that meant that the AccessibleEditableText class was corrupt.
1705 * libspi/selection.c:
1706 Provided implementations for some selection API that was broken.
1708 * idl/Application.idl:
1709 Added registerObjectEventListener () method.
1712 Fixed a number of return values that were Bonobo_Unknowns from
1713 bonobo_object_corba_objref(), which I
1714 forgot to dup before returning. Changed instances of
1715 bonobo_object_corba_objref (bonobo_object(o)) to
1716 BONOBO_OBJREF(o), for concision and clarity.
1718 <2001-10-13 Louise Miller <louise.miller@sun.com>
1720 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1721 idl/Event.idl, idl/Registry.idl
1722 Changed these files to include Bonobo_Unknown.idl instead
1725 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1727 * libspi/component.c libspi/component.h:
1728 Fixed typo. Added assertions for object checks in
1729 AccessibleComponent code.
1731 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1733 * idl/Accessible.idl:
1734 Added 'isEqual (Accessible *object)'
1735 method for Accessible. (Not Yet Implemented).
1738 Changed signature of registerKeystrokeListener() to
1739 take a KeySet and KeyEventSeq so that specific keys and event
1740 types could be requested for monitoring, and added a flag
1741 is_synchronous so that either synchronous or asynchronous
1742 notification could be requested. (However this is not all
1743 implemented yet). This also meant adding two new typedefs,
1744 KeyEventSeq and KeySet.
1747 Added two new relations, RELATION_TOOLTIP_FOR and
1748 RELATION_LEAFNODE_OF.
1751 Added new state, STATE_HAS_TOOLTIP.
1753 * libspi/text.c, editabletext.c:
1754 Added new assertions to all casts of bonobo-objects from
1755 CORBA servants, to prevent Text API calls on non-text objects.
1756 Changed suspect casts of int-pointer types, so that we
1757 always send a valid CORBA_long pointer to the CORBA APIs that use
1758 in/out long parameters. We then have to copy from the CORBA_long
1759 into the regular long or int for return to the C bindings, or
1760 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1763 * libspi/deviceeventcontroller.c:
1764 Cleaned these sources up.
1766 Changed return type for getCharacterAtOffset to
1767 CORBA_unsigned_long, to allow for 32-bit characters.
1770 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1774 Fixed 'make dist' so that distro compiles...
1775 * libspi/keymasks.h:
1777 * cspi/spi-listener.c:
1778 KeystrokeListenerCB now returns a boolean.
1780 Added KeyEventType struct, and KeyStroke.
1781 Also added createKeystrokeListener(),
1782 KeystrokeListener_addCallback(),
1783 KeystrokeListener_removeCallback(), and added a keymask to
1784 registerKeystrokeListener().
1785 * cspi/spi_accessible.c:
1786 Changed numerous return types for interfaces from
1787 AccessibleComponent to Accessible<InterfaceName>; this was
1788 probably a cut-and-paste error.
1790 Implementations of new KeystrokeListener api (from spi.h,
1793 Changes to key modifier mapping.
1794 Created ControllerEventMask struct.
1795 Made DeviceEventController derive from Bonobo::Unknown.
1797 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1798 * libspi/deviceeventcontroller.c:
1799 Added a number of new internal (private) methods.
1800 * libspi/editabletext.c:
1801 * libspi/editabletext.h:
1802 Fixed a number of bugs related to the fact that
1803 editabletext inherits from text. Fixed the EditableText struct,
1804 the init() call, and use correct casts when calling Text methods
1805 from an EditableText object. Removed (duplicate) atko from the
1806 EditableText structure, we use the one in the parent Text
1807 structure via the casts mentioned above.
1808 * libspi/keystrokelistener.[ch]:
1809 * libspi/registry.c:
1810 Changes in support of keyboard handling (above).
1812 Keyboard handling, though partly functional, is still not
1813 recommended for at-spi client use as there is considerable
1814 work yet to be done.
1817 Changed some places where pointers to various int types
1818 are cast to be pointers to CORBA_long types and vice-versa:
1819 pointer casting is not safe so we pass pointers of the correct
1820 types and then cast the result before putting it into the target
1823 * libspi/text.h: minor typos corrected.
1825 We now speak not only the name of a Text element, but the
1826 first sentence of its content, when it receives focus.
1827 I also changed the text compression to 75% from 50%.
1828 * util/Accessibility_Util.server.in:
1829 Changed the default magnifier type to be a 3x vertical
1830 splitscreen magnifier (was previously a 2x horizontal one).
1832 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1834 * libspi/keystrokelistener.h:
1835 * libspi/keystrokelistener.c:
1836 Initial functional implementations of KeystrokeListener.
1839 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1841 Fixed string handling for NULL strings in libspi.
1842 Added spi_freeString to free strings returned by C bindings.
1844 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1846 * libspi/keystrokelistener.h:
1847 * libspi/keystrokelistener.c:
1848 Began (no-op) implementations of KeystrokeListener
1850 * libspi/deviceeventcontroller.c:
1851 * libspi/deviceeventcontroller.h:
1852 Began creating implementations of DeviceEventController,
1853 to handle keystroke and mouse event listening and
1855 * libspi/accessible.c:
1856 Stubbed-in the implementations for
1857 Accessibility_Accessible_getState and
1858 Accessibility_Accessible_getRelationSet.
1859 * libspi/registry.c:
1860 Improved de-registration process and fixed some bugs,
1861 deregistration now works correctly.
1863 Added initialization of applications list (to NULL).
1865 Reduced speech compression from 0.5 to 0.7, for demo.
1866 Changed call to gdk_window_set_decorations()
1867 to gtk_window_set_decorated().
1868 * at-bridge/bridge.c:
1869 Bridge now deregisters when app exits, via
1870 registration of a cleanup function
1871 with the g_atexit() call.
1872 Required making 'app' static, renamed 'this_app'.
1873 Fixed broken use of bonobo_init, passing argv wrongly.
1875 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1879 Created a new directory for
1880 accessibility-related utilities, primarily for
1881 testing and demo purposes, but with possible
1888 Onscreen magnifier utility that
1889 is implemented as a bonobo service.
1891 * util/mag_client.c:
1892 * util/mag_client.h:
1893 Client-side support (simple C bindings)
1894 for Magnification service
1896 * util/mag_control.c:
1897 Client program example for
1898 Magnification service
1900 * util/Accessibility_Magnifier.server.in:
1901 Bonobo-activation file for the
1902 Magnification service.
1905 * util/idl/Magnifier.idl:
1906 IDL defining the bonobo Magnification
1910 Modifications to use the bonobo-activated magnifier
1911 above, in place of trying to connect to an existing
1912 magnifier that uses socket-listening IPC.
1914 If env variable MAGNIFIER is set, a magnifier service
1915 will be started if one does not exist.
1917 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1918 * at-bridge/bridge.c:
1919 applied patch from Marc to build and run
1920 against new glib and gtk+ (seemed like a change
1921 to bonobo_init signature was made ?)
1923 made festival-server support turned off by default.
1924 Added support for a simple magnifier (off by default)
1925 which will be added to a 'util' directory later.
1926 * at-bridge/Makefile.am:
1927 Changed "application.h" header from a 'source'
1928 to a 'dependency' of libat-bridge.
1930 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1938 Added interface implementation c files to list of
1939 includes so they are included in libcspi.
1942 Changed prototype of AccessibleAction_doAction to return a
1944 Changed prototype of AccessibleTable_getCaption to
1945 return an Accessible.
1946 Changed prototype of AccessibleTable_getSelectedRows
1947 and AccessibleTable_getSelectedColumns to
1948 return a long (returns the number of selected rows
1949 or columns respectively).
1950 Changed name of AccessibleText_refRunAttributes to
1951 AccessibleText_getAttributes.
1952 Changed prototype of AccessibleText_getCharacterExtents to
1953 return a void rather than a boolean.
1954 Added support for a AccessibleCoordType parameter
1955 specifying what type of coordinates are desired.
1956 Added an AccessibleCordType parameter to
1957 AccessibleText_getPointAtOffset.
1959 * cspi/spi_accessible.c:
1960 Added code to return the outstanding interfaces from
1961 Accessible_queryInterface.
1963 * cspi/spi_action.c:
1965 Corrected call to getNActions to call the c binding
1968 * cspi/spi_editabletext.c:
1970 Changed name from setRunAttributes to setAttributes.
1972 * cspi/spi_hyperlink.c:
1974 Changed call to getNAnchors to correctly call the c
1975 binding for an attribute.
1977 * cspi/spi_hypertext.c:
1979 Changed getImageDescription to correctly call the
1980 binding for an attribute.
1982 * cspi/spi_selection.c:
1983 Changed getNSelectedChildren to correctly call the c
1984 binding for the attribute.
1985 Changed refSelectedChild to getSelectedChild.
1989 Changed getCaption to return an Accessible.
1990 Fixed calls which retrieve attributes.
1991 Changed refAt to getAccessibleAt.
1992 Changed getNSelectedRows and getNSelectedColumns to
1996 Changed getCharacterExtents and getPointAtOffset to accept an
1997 AccessibleCoordType.
1999 Changed calls which retrieve attributes.
2000 Changed refRunAttributes to getAttributes.
2005 * idl/Hyperlink.idl:
2006 Changed n_anchors attribute to nAnchors to keep naming
2007 convention consistent.
2010 Made Table inherit from Bonobo::Unknown.
2011 Added nSelectedColumns and nSelectedRows attributes.
2014 Made Value inherit from Bonobo::Unknown.
2016 * libspi/hyperlink.c:
2017 Change for nAnchors attributte name change.
2019 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2027 Added interface implementation c files to list of
2028 includes so they are included in libcspi.
2031 Changed prototype of AccessibleAction_doAction to return a
2033 Changed prototype of AccessibleTable_getCaption to
2034 return an Accessible.
2035 Changed prototype of AccessibleTable_getSelectedRows
2036 and AccessibleTable_getSelectedColumns to
2037 return a long (returns the number of selected rows
2038 or columns respectively).
2039 Changed name of AccessibleText_refRunAttributes to
2040 AccessibleText_getAttributes.
2041 Changed prototype of AccessibleText_getCharacterExtents to
2042 return a void rather than a boolean.
2043 Added support for a AccessibleCoordType parameter
2044 specifying what type of coordinates are desired.
2045 Added an AccessibleCordType parameter to
2046 AccessibleText_getPointAtOffset.
2048 * cspi/spi_accessible.c:
2049 Added code to return the outstanding interfaces from
2050 Accessible_queryInterface.
2052 * cspi/spi_action.c:
2054 Corrected call to getNActions to call the c binding
2057 * cspi/spi_editabletext.c:
2059 Changed name from setRunAttributes to setAttributes.
2061 * cspi/spi_hyperlink.c:
2063 Changed call to getNAnchors to correctly call the c
2064 binding for an attribute.
2066 * cspi/spi_hypertext.c:
2068 Changed getImageDescription to correctly call the
2069 binding for an attribute.
2071 * cspi/spi_selection.c:
2072 Changed getNSelectedChildren to correctly call the c
2073 binding for the attribute.
2074 Changed refSelectedChild to getSelectedChild.
2078 Changed getCaption to return an Accessible.
2079 Fixed calls which retrieve attributes.
2080 Changed refAt to getAccessibleAt.
2081 Changed getNSelectedRows and getNSelectedColumns to
2085 Changed getCharacterExtents and getPointAtOffset to accept an
2086 AccessibleCoordType.
2088 Changed calls which retrieve attributes.
2089 Changed refRunAttributes to getAttributes.
2094 * idl/Hyperlink.idl:
2095 Changed n_anchors attribute to nAnchors to keep naming
2096 convention consistent.
2099 Made Table inherit from Bonobo::Unknown.
2100 Added nSelectedColumns and nSelectedRows attributes.
2103 Made Value inherit from Bonobo::Unknown.
2105 * libspi/hyperlink.c:
2106 Change for nAnchors attributte name change.
2109 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2111 implementations-- made server implementations own AtkObject pointers
2112 rather than their respective AtkInterrface pointers to fix
2113 refcounting. AtkHyperlink is still broken.
2115 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2116 * cspi/spi_accessible.c:
2117 Added method Accessible_Role_getName(),
2118 and requisite string array (role_names).
2119 Added conversion string_from_corba_strin() call
2120 to Accessible_getName and _getDescription.
2121 * libspi/accessible.c:
2122 Added implementation for Accessible_getRole()
2124 Added festival support, used if environment variable
2127 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2129 * at-bridge/bridge.c:
2130 Now allocate Accessibility_Event using
2131 Accessibility_Event__alloc() instead of g_new0().
2132 * libspi/accessibleeventlistener.c:
2133 Initialize AccessibleEventListener->callbacks to NULL.
2134 Fixed accessible__event_listener_init() param, changed to
2135 "AccessibleEventListener *" type.
2136 Changed a bonobo_object_release_unref() call to
2137 Accessibility_Accessible_unref().
2138 * libspi/listener.c:
2139 Changed Bonobo_Unknown_unref to (equivalent)
2140 Accessibility_Accessible_unref.
2141 * libspi/registry.c:
2142 Changed bonobo_object_release_unref to
2143 Accessibility_Accessible_unref.
2145 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2148 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2149 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2150 spi-util.c spi-util.h
2151 Implementations for C bindings to remaining accessibility
2154 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2157 changed return value of Action from void to boolean to
2158 bring in line with ATK.
2161 Changed getText funcions to return "out" start and end offsets.
2162 Changed getAttributes to take and offset and return the start
2163 and end offset of the attribute run.
2164 Changed getOffsetAtPoint and getCharacterExtents to take an
2165 enum describing whether coordinates are window or screen.
2168 libspi/action.c libspi/action.h libspi/editabletext.c
2169 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2170 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2171 libspi/image.h libspi/selection.c libspi/selection.h
2172 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2173 libspi/value.c libspi/value.h
2174 Added server implementations for outstanding ATK interfaces
2175 not yet implemented.
2177 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2180 Added (missing) getName() method.
2181 Made nActions an attribute.
2182 * idl/EditableText.idl:
2183 Changed order of params in setAttributes.
2184 * idl/Hyperlink.idl:
2185 Removed getAnchor, added getURI.
2187 Changed attributes to methods, for efficiency
2188 (so that getting extents can be done in one call)
2189 * idl/Selection.idl:
2190 Changed nSelectedChildren to attribute, and re-indented.
2191 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2193 * idl/Text.idl: reformatted to match our coding style.
2194 (temporarily?) removed getRowColumnAtOffset().
2195 Changed text selection API to support multi-select and
2196 non-contiguous selections, as in ATK.
2197 * idl/Value.idl: changed some methods to attributes.
2199 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2201 * libspi/listener.c(impl_notify_event):
2202 BonoboUnkown_unref the source instead
2203 of bonobo_object_release_unref - the ORB
2204 handles the releasing.
2206 * configure.in: require ORBit-2.3.94 for
2209 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2211 Tagged CVS repository 'EA_1_0'.
2212 * README.EARLY_ACCESS:
2213 Alphabetized acknowledgements list, and
2215 Listed some known dependencies of at-spi.
2217 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2219 * docs/at-spi-docs.sgml:
2220 * docs/at-spi-sections.txt:
2221 * docs/at-spi-overrides.txt: (Added zero-length file)
2222 Documentation improvements - gtk-doc should build
2223 docs for all implemented C bindings now.
2226 * cspi/spi.c: (New file)
2227 * cspi/spi_event.c: (New file)
2228 * cspi/spi_registry.c: (New file)
2229 * cspi/spi_accessible.c: (New file)
2230 * cspi/spi_application.c: (New file)
2231 * cspi/spi_component.c: (New file)
2232 Split spi_main.c into six parts, and included them from
2233 "spi.c". This is a bit of a hack, probably temporary,
2234 but required by gtk-doc, apparently.
2236 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2239 * docs/at-spi-docs.sgml:
2240 * docs/at-spi-sections.txt:
2242 Initial checkins/modifications for gtk-doc generation.
2245 Added (missing) interface query methods to Accessible's C binding.
2247 Added GenericInterface type definition.
2249 Added query for AccessibleComponent interface to focus event handler.
2250 Added printout of bounding box for focussed component.
2251 * libspi/component.c:
2252 Added partial implementation for AccessibleComponent to C binding.
2253 * idl/Application.idl:
2254 * libspi/registry.c:
2255 * libspi/listener.c:
2256 * libspi/application.c:
2257 * libspi/application.h:
2258 Changed "ID" attribute type from string to long.
2260 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2264 Made method naming consistent: methods taking object args
2265 start with uppercase, other methods (except those using
2266 acronyms) start with lowercase. Underscores delimit between
2267 object names and method names:
2268 SPI_init() - uppercase since it starts with an acronym.
2269 getDesktopCount () - lowercase start since no object param0.
2270 Accessible_getName() - uppercase object type name, studlyCaps method
2274 Added gtk-doc documentation for all currently implemented
2275 methods in the C bindings API.
2277 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2279 * Makefile.am : changed build order to build test last.
2282 Changed "createEventListener" to "CreateEventListener".
2283 * libspi/accessibleeventlistener.c :
2284 Bugfix for addition of callbacks.
2285 * test/Makefile.am :
2286 * test/simple-at.c :
2287 Added new test that uses the C bindings API.
2289 * libspi/listener.c :
2290 * libspi/registry.c :
2291 * libspi/accessibleeventlistener.c :
2292 * at-bridge/bridge.c :
2293 Renamed member "target" of Accessibility_Event to "source",
2294 which is more descriptive.
2297 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2301 * cspi/Makefile.am :
2302 Added makefile support for at-spi/cspi directory.
2305 * cspi/spi-listener.h : (NEW FILE)
2306 Added support for/use of spi-listener.h.
2308 C bindings now build successfully, with no warnings.
2309 * libspi/accessibleeventlistener.h : (NEW FILE)
2310 * libspi/accessibleeventlistener.c : (NEW FILE)
2311 * libspi/Makefile.am :
2312 Added new object type "AccessibleEventListener"
2313 which inherits from Listener, and allows attachment
2314 of in-process callbacks (so that a client with a listening
2315 object instance can add functionality to the local
2316 implementation, dynamically).
2318 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2320 * libspi/accessible.c:
2321 Add implementation for get_index_in_parent().
2323 Added #include of "spi-roletypes.h", and
2324 added enumerated type AccessibleCoordType.
2325 Added definition for KeystrokeListener (function type).
2328 * cspi/spi-statetypes.h :
2329 * cspi/spi-roletypes.h :
2331 Added these headers, used by spi.h.
2333 Added code (NOTE: not yet built by make).
2335 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2337 * libspi/Makefile.am: generate imodule
2338 at the same time as other idl compiler
2341 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2342 * libspi/registry.c :
2343 * libspi/application.c :
2344 * idl/Application.idl :
2345 Made registration with toolkit an application method,
2346 which is required since each app has its own toolkit static
2347 environment. Thus the bridge must register for
2348 notification of toolkit events from each application in turn.
2349 Toolkit notifications are now successfully registered for, and
2350 sent to the listening at client.
2352 Changed toolkit event string to use hyphens rather than underscores.
2353 * libspi/listener.c :
2354 listner now gives more info in debug mode - it reports the
2355 name of the event received, as well as the name of the source.
2358 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2360 * libspi/registry.c :
2361 added more implementation for toolkit events.
2362 Fixed bug such that toolkit event registrations
2363 (via atk) use the whole event name string, not
2365 Removed a useless call to an ORBit_ method.
2366 * at-bridge/bridge.c :
2367 Removed unused local sbuf[] variable.
2369 We now register for Gtk:GtkWidget:button_press_event
2370 events as well as "focus:" events.
2372 Add some more API from Registry.idl that was missing,
2373 for keystroke listening, keystroke and mouse event
2374 synthesis, and enumeration of accessible desktops.
2376 2001-08-16 Michael Meeks <michael@ximian.com>
2378 * configure.in: use AM_GLIB_GNU_GETTEXT.
2380 * Makefile.am (SUBDIRS): kill intl.
2382 2001-08-15 Michael Meeks <michael@ximian.com>
2384 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2386 * configure.in: upd.
2388 * configure.in: depend on a recent bonobo-activation that
2389 will find our server files ...
2391 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2393 * libspi/accessible.c : accessible_new() :
2394 Now we add the Component interface via bonobo_object_add_interface,
2395 if the contained AtkObject implements AtkComponent.
2396 * libspi/accessible.h : now include "component.h"
2397 * libspi/component.h :
2398 * libspi/component.c : added files - implementation of
2399 bonobo wrapper object for Accessibility/Component
2400 * libspi/listener.c :
2401 Added test code to check for Accessibility/Component:1.0
2402 interface and report whether it is implemented by the
2404 * libspi/registry.c :
2405 Now we check for not only the hash of the whole event
2406 string before relaying the event, we also check the
2407 "minor" event string (without the detail string).
2408 This allows event listeners to be registered against
2409 all events of a certain major+minor type, or just
2410 against a specific major+minor+detail type.
2411 * libspi/accessible.c :
2412 Added implementations for Accessible:get_parent(),
2413 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2414 * libspi/registry.c :
2415 * libspi/listener.c :
2416 Replaced calls to Accessibility_Accessible_ref() and
2417 Accessibility_Accessible_unref() with
2418 calls to bonobo_object_dup_ref() and
2419 bonobo_object_release_unref(), so that the CORBA object
2420 is dup-ed and released when relayed, as well as the bonobo object.
2422 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2424 * libspi/Makefile.am,
2425 registryd/Makefile.am,
2426 at-bridge/Makefile.am.
2427 test/Makefile.am, configure.in:
2428 reverse previous changes.
2430 * /idl/Image.idl: fix typo.
2432 * test/Makefile.am: put DEBUG_FLAGS
2435 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2437 * test/app.c: use argv[0] instead of
2440 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2442 * libspi/Makefile.am,
2443 registryd/Makefile.am,
2444 at-bridge/Makefile.am.
2445 test/Makefile.am, configure.in:
2446 cleanup, replace individual LIBS/CFLAGS with
2447 AT_COMMON_{LIBS|CFLAGS}.
2451 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2453 * configure.in, libspi/Makefile.am:
2454 Change IDL path checking for bonobo-activation
2457 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2459 * registryd/registry.c : separated event listeners to use
2460 3 separate lists (focus, window, toolkit). Began testing
2461 event names against hashes before relaying events.
2462 * test/at.c : now register for events of type "focus:"
2463 * test/app.c : now generate events of type "focus:"
2464 * at-bridge/bridge.c : register with ATK for focus events,
2465 and we now relay those focus events to any "focus:" listeners.
2466 This now works with the bridge as a GTK_MODULE when running test/at.
2467 * libspi/registry.c :
2468 * libspi/listener.c :
2469 now we ref event sources before propagating, and unref on receipt.
2470 * libspi/registry.c :
2471 some changes to internal structs, to support event typestring hashes.
2472 * text/app.c : changed the way the appname is generated.
2473 * cspi : added directory that will hold the C bindings library for
2474 non-CORBA/bonobo-savvy clients.
2475 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2476 * idl/Component.idl : added in parameter to indicate coord system for
2477 geometry-related calls.
2478 * idl/Hyperlink.idl : added readonly n_links attribute
2479 * idl/Image.idl : changed methods to attributes.
2481 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2483 * at-bridge/Makefile.am: link against
2484 ../libspi/libspi.la instead of -lspi.
2486 * at-spi/test/app.c: include
2487 bonobo-activation.h. Use a default appname
2488 if one is not provided.
2490 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2492 * idl/Registry.idl : temporarily changed register_Application
2493 to oneway, to work around issue with initial registration
2495 * idl/Application.idl : changed attribute "id" from readonly
2496 to read-write, since it needs to be assigned by Registry.
2497 * registryd/registryd.c : added call to set application id
2499 * registryd/registry.c : changed de-registration procedure to
2500 use CORBA_Object_hash() to find matching object ref in application
2501 lists and listener lists.
2502 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2503 began distinguishing between event types (work in progress).
2505 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2508 * libspi/application.c:
2509 Added implementations for get/set id, get_toolkitName,
2511 * registryd/registryd.c :
2515 Converted from use of OAF to bonobo-activation.
2516 * libspi/desktop.h :
2517 * libspi/desktop.c :
2519 Removed references to atksimpleobject, since base atkobject
2520 implementation now provides functionality we need.
2521 * libspi/atksimpleobject.c :
2522 * libspi/atksimpleobject.h :
2527 * at-bridge/Makefile.am
2528 * at-bridge/bridge.c
2531 Added directory "bridge" and contents, and added dependencies
2532 in Makefile.am/configure.in.
2533 Initial checkin of "at-bridge".
2534 This code is a GTK_MODULE which automatically registers
2535 GTK+ apps with the accessibility registry, using an object
2536 reference to the root ATK object.
2538 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2540 * po/Makefile.in.in: Remove. Again. If this
2541 doesn't get autogenerated - you need to update
2544 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2546 * po/Makefile.in.in: Add. Again.
2548 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2550 * libspi/accessible.c : added support for 'description' property.
2551 * libspi/accessible.c
2553 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2554 (since the two are now equivalent in libbonobo)
2562 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2563 Bonobo::Unknown as does Accessibility::Accessible.
2564 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2565 interface with Bonobo::Stream, since it was redundant with it.
2566 (The Stream returned by a StreamableContext object is expected to
2567 implement only a subset of Bonobo::Stream)
2569 2001-07-28 Anders Carlsson <andersca@gnome.org>
2571 * libspi/accessible.c (accessible_object_finalize): Change
2572 g_free to g_object_unref since the AtkObject is a GObject.
2574 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2576 * idl/Accessibility.idl: add new IDL files
2579 * idl/Action.idl: Definitions of actionable UI object
2580 * idl/Component.idl: Definitions of UI component geometry, etc.
2581 * idl/Hyperlink.idl: Defs of hyperlink behavior
2582 * idl/Image.idl: Def of accessible image
2583 * idl/Selection.idl: Definition of UI object with selectable children
2584 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2585 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2586 * idl/Text.idl: Interface defs for UI elements with complex textual content
2587 * idl/Value.idl: Definition of UI element that is a value controller or display
2589 2001-07-27 Michael Meeks <michael@ximian.com>
2591 * po/Makefile.in.in: remove autogenerated file from CVS.
2593 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2596 * idl/Registry.idl: include guard.
2598 * idl/Accessibility.idl: Add, and include all the other IDL
2601 * idl/*.idl: remove mass of pragmas etc.
2603 2001-07-26 Michael Meeks <michael@ximian.com>
2605 * registryd/Makefile.am (registryd_SOURCES): remove
2608 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2610 * libspi/.cvsignore, registryd/.cvsignore,
2611 test/.cvsignore: updated.
2613 * po/Makefile.in.in: gettext update.
2615 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2617 * initial CVS checkin
2619 2001-06-29 Michael Meeks <michael@ximian.com>
2621 * configure.in: add AM_CONFIG_HEADER to gen config.h