2 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5 Added test_table (GtkTreeView widget in test window to follow).
6 Un-commented test_value, added GtkRange widget.
9 Fixed bug in impl__set_currentValue.
11 2001-12-10 Michael Meeks <michael@ximian.com>
13 * cspi/spi_text.c: audit for exception handling,
14 tolerating NULL object references safely etc.
16 * cspi/spi_value.c: ditto.
18 * cspi/spi_table.c (AccessibleTable_getSummary),
19 (AccessibleTable_getAccessibleAt),
20 (AccessibleTable_getRowHeader),
21 (AccessibleTable_getColumnHeader),
22 (AccessibleTable_getCaption): fix bugs hidden by
24 (long_seq_to_array): impl.
25 (AccessibleTable_getSelectedRows),
26 (AccessibleTable_getSelectedColumns): use it.
28 2001-12-10 Bill Haneman <bill.haneman@sun.com>
31 Added a TODO list (rough and short for now).
33 * cspi/spi_hyperlink.c:
34 * cspi/spi_hypertext.c:
35 Fixed macro name typos, and remove use of obsolete macro in
36 AccessibleHyperlink_getLink.
39 * cspi/spi_accessible.c:
40 * cspi/spi_application.c:
41 * cspi/spi_component.c:
42 * cspi/spi_selection.c:
45 Documentation fixes (removed return values from ref/unref methods).
47 2001-12-10 Michael Meeks <michael@ximian.com>
49 * cspi/spi_action.c: audit for exception handling,
50 tolerating NULL object references safely etc.
52 * cspi/spi_accessible.c: ditto.
54 * cspi/spi_component.c: ditto.
56 * cspi/spi_editabletext.c: ditto.
58 * cspi/spi_hyperlink.c: ditto.
60 * cspi/spi_hypertext.c: ditto.
62 * cspi/spi_image.c: ditto.
64 * cspi/spi_selection.c: ditto.
66 2001-12-10 Michael Meeks <michael@ximian.com>
68 * configure.in: use cspi/libspi.pc.in instead.
70 * Makefile.am (pkgconfig_DATA): upd. to match.
72 * test/simple-at.c (report_focus_event): kill hacks around
73 bad return values, use putenv not setenv
75 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
76 fire ChildGone - I killed it.
79 (impl_accessibility_component_get_extents): remove
82 * idl/Accessible.idl: kill ChildGone exception.
84 * cspi/*.[ch]: kill int return from ref / unref.
86 * cspi/spi_main.c (cspi_object_add_check): fold into
87 (cspi_object_add): here.
89 * cspi/spi_component.c (AccessibleComponent_getExtents):
90 handle exceptions elegantly.
92 * cspi/spi-private.h (cspi_check_ev_return),
93 (cspi_return_if_fail): impl.
95 * cspi/spi_accessible.c: use extensively.
96 (AccessibleStateSet_equals): add direct compare check.
98 * cspi/spi_selection.c: tolerate NULL objs, and check
99 exceptions before return.
101 * cspi/spi-util.c (cspi_warn_ev): rename to
102 (cspi_check_ev): this & don't pass ev in; no point.
104 2001-12-10 Michael Meeks <michael@ximian.com>
106 * test/test-simple.c: use putenv not setenv
107 (get_environment_vars): more chatty if you're not using
110 * test/simple-at.c: do the setenv so more people see the
113 2001-12-10 Bill Haneman <bill.haneman@sun.com>
116 Changed check of CORBA_environment on notification to be a warning
117 instead of an error for the moment, since we can recover from this
118 error when caused by a queued notification from a dead app.
121 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
122 used by all current implementors of AtkValue), and coerce to
123 CORBA_float. (Proper general case fix may require change to Value.idl).
125 2001-12-09 Bill Haneman <bill.haneman@sun.com>
129 * cspi/spi_accessible.c:
130 Documentation fixes: added user_data params to documentation for
131 listeners and callbacks.
133 * cspi/spi_accessible.c:
134 Changed AccessibleStateSet_compare to return a
135 StateSet rather than return the difference set into a third parameter.
138 2001-12-09 Bill Haneman <bill.haneman@sun.com>
141 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
142 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
146 Remove subdirectory po from SUBDIRS for now.
148 * at-bridge/bridge.c:
149 Beefed up a couple of debug printouts.
150 One-line fix for signal notification name formatting.
152 * libspi/accessible.c:
153 Added assertion to spi_accessible_new ().
155 * libspi/application.c:
156 Put #ifdef qualifiers around a printf.
159 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
161 * registryd/Makefile.am:
163 Replaces use of XML_I18N_MERGE_SERVER_RULE with
164 INTLTOOL_SERVER_RULE macro.
167 Added an event listener for several ATK signals, for
168 testing and debugging. Removed a few g_warnings.
169 Added test output if focussed item implements the Value interface.
171 * test/test-simple.c:
172 Added test_value () function (known not to pass at the moment, so
173 not actually called yet.
175 2001-12-08 Michael Meeks <michael@ximian.com>
177 * at-bridge/bridge.c (bridge_focus_tracker),
178 (emit_eventv): fix the same ref. leak.
179 (register_atk_event_listeners): don't leak.
181 * cspi/spi-listener-impl.c (cspi_event): more
182 protection from client code.
184 * test/test-simple.c (test_desktop): unref the app.
186 * test/Makefile.am: upd. TESTS.
188 * at-bridge/bridge.c (bridge_exit_func): release the registry.
190 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
192 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
194 * cspi/spi_registry.c: constify in strings.
195 (deregisterGlobalEventListenerAll): don't release the ref.
197 * cspi/spi.h: start removing redundant / conflicting
198 gtkdoc comments, making the API readable at a glance :-)
200 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
202 * test/keysynth-demo.c (keysynth_exit, main): upd.
204 * test/simple-at.c (main, simple_at_exit): upd.
206 * test/test-simple.c (unutterable_horror): kill.
207 (utterable_normal_derefs): kill.
208 (main): upd & do a setenv before gtk_init, so that we
209 can use memprof - and to save the pain of remembering
210 this, if we're running under memprof - don't exit.
212 * cspi/spi_main.c (SPI_exit): return exit status
214 (SPI_event_quit): impl.
215 (SPI_event_main): simplify.
216 (cspi_is_gnome_app): kill.
217 (SPI_init): kill isGNOMEapp arg.
219 * at-bridge/bridge.c (register_atk_event_listeners):
220 re-instate the unref.
221 (bridge_exit_func): don't re-activate the registry,
222 protect vs. theoretical re-entry, use the
223 AT_BRIDGE_SHUTDOWN env. var to determine whether to
224 assert a clean shutdown - for regression tests.
226 2001-12-08 Abel Cheung <maddog@linux.org.hk>
228 * configure.in: Comment out dummy i18n support for now,
229 otherwise it fails to build.
230 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
231 EXTRA_DIST. They are missing in tarball.
233 2001-12-07 Michael Meeks <michael@ximian.com>
235 * util/magnifier.c: kill bonobo activation reg. race.
238 (impl_accessibility_component_get_extents): make it match
241 * libspi/registry.c (_registry_notify_listeners):
242 re-remove X headers & reconcile conflicts.
243 (spi_listener_struct_free): bad conflict resolve.
244 (impl_accessibility_registry_register_application):
245 more bad merging fixed.
246 (impl_accessibility_registry_deregister_application): ditto.
247 (spi_registry_new): ditto.
248 (spi_registry_init): don't have an applications field.
250 [ merge fixups2 branch to here ]
251 2001-12-07 Michael Meeks <michael@ximian.com>
253 * test/simple-at.c (report_focus_event),
254 (report_focussed_accessible): remove g_warning debug.
256 2001-12-07 Michael Meeks <michael@ximian.com>
258 * test/test-simple.c (validate_tree): comment out some checks.
259 (test_desktop): app now not registered idly - horay.
261 2001-12-07 Michael Meeks <michael@ximian.com>
263 * cspi/spi_registry.c
264 (registerAccessibleKeystrokeListener): clean, stop it leaking
265 great swathes of memory, and device event controller references.
266 ensure we always pass valid sequences.
267 (deregisterAccessibleKeystrokeListener): ditto.
268 (generateKeyEvent): upd.
270 * at-bridge/bridge.c (bridge_key_listener): handle
271 registry dead exception gracefully.
272 (bridge_focus_tracker, emit_eventv): free ev.
274 * test/simple-at.c (report_focus_event): fix polarity.
276 * libspi/application.c (notify_listeners): kill the ev
277 argument, and make sure we init the ev we use.
278 (spi_application_object_event_listener): split out a chunk
279 (get_atk_object_ref): here & fixup.
280 (reverse_lookup_name_for_toolkit_event): make const.
281 (spi_application_toolkit_event_listener): fixup, kill leaks
284 * at-bridge/bridge.c (register_atk_event_listeners):
285 don't unref the noop object - causes grief.
287 * libspi/registry.c: remove the X headers.
288 turn off the debug churn.
290 * libspi/accessible.c (spi_accessible_new_return): only
291 release the ref if we are supposed to [doh]
293 * test/simple-at.c (report_button_press, report_focus_event):
294 guard vs. unexpected exit.
296 * at-bridge/bridge.c (gtk_module_init): prune printf.
297 (bridge_exit_func): fix app unref.
299 * libspi/Makefile.am: don't install registry or desktop.h
301 * libspi/*.h: update includes.
303 * libspi/application.h: don't include ourself, or
304 other redundant headers.
306 2001-12-06 Michael Meeks <michael@ximian.com>
308 * libspi/accessible.c
309 (get_accessible_from_servant): impl.
310 Upd. all CORBA impl.s to use it killing cut and paste.
312 * cspi/spi_main.c (cspi_cleanup): guard vs. double
314 (SPI_init): register atexit cleanup handler here.
316 2001-12-06 Michael Meeks <michael@ximian.com>
318 * at-bridge/bridge.c (gtk_module_init): g_error on
321 2001-12-06 Michael Meeks <michael@ximian.com>
323 * at-bridge/bridge.c (gtk_module_init): some sort of
324 confusing merge clash - reverted.
325 (bridge_idle_init): ditto.
327 * test/test-simple.c (main, utterable_normal_derefs):
328 merge from Bill - somehow not committed.
330 2001-12-06 Michael Meeks <michael@ximian.com>
332 * libspi/value.c (spi_value_class_init): upd.
333 (spi_value_finalize): kill.
335 * libspi/table.c (spi_table_finalize): kill.
336 (spi_table_interface_new): upd.
337 (spi_table_class_init): upd.
338 (get_table_from_servant): impl.
339 Upd. all CORBA impl.s to use it killing yet more cut and paste.
341 * libspi/selection.c (spi_selection_finalize): kill.
342 (spi_selection_interface_new): upd.
343 (spi_selection_class_init): upd.
344 (get_selection_from_servant): impl.
345 Upd. all CORBA impl.s to use it killing yet more cut and paste.
347 * libspi/relation.c (spi_relation_finalize): kill.
348 (spi_relation_class_init, spi_relation_new): upd
350 * libspi/image.c (spi_image_finalize): kill.
351 (spi_image_class_init): upd.
352 (spi_image_interface_new): upd.
353 (get_image_from_servant): impl.
354 Upd. all CORBA impl.s to use it killing yet more cut and paste.
356 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
357 (spi_hyperlink_finalize): kill.
358 (spi_hyperlink_new): upd.
359 (get_hyperlink_from_servant): impl.
360 Upd. all CORBA impl.s to use it killing yet more cut and paste.
362 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
363 (spi_hypertext_finalize): kill.
364 (spi_hypertext_class_init): upd.
365 (get_hypertext_from_servant): impl.
366 Upd. all CORBA impl.s to use it killing yet more cut and paste.
368 * libspi/editabletext.c (spi_editable_text_finalize): kill.
369 (spi_editable_text_interface_new): upd.
370 (get_editable_text_from_servant): impl.
371 Upd. all CORBA impl.s to use it killing yet more cut and paste.
373 * libspi/text.c (get_text_from_servant): impl.
374 All impls - update to use it killing more cut and paste,
375 also fix bad string returns on duff args ( a somewhat
376 impossible case to handle - but hey ).
377 (spi_text_construct): impl.
378 (spi_text_interface_new): upd.
379 (spi_text_object_finalize): kill.
382 (accessibility_component_object_finalize): kill.
383 (spi_component_class_init): upd.
384 (get_component_from_servant): impl. helper to kill cut & paste.
385 (impl_accessibility_component_contains):
386 (impl_accessibility_component_get_accessible_at_point):
387 (impl_accessibility_component_get_position):
388 (impl_accessibility_component_get_extents):
389 (impl_accessibility_component_get_mdi_z_order):
390 (impl_accessibility_component_get_layer):
391 (spi_component_interface_new): upd.
393 * libspi/action.c (spi_action_finalize): kill.
394 (spi_action_class_init): upd. inherit from SpiObject.
395 (spi_action_interface_new): upd.
396 (get_action_from_servant): impl. helper to reduce cut & paste.
397 (impl_getKeyBinding, impl_getName, impl_doAction),
398 (impl_getDescription): Use it everywhere.
400 * cspi/spi_main.c (get_live_refs): a pointer hash.
401 (spi_object_hash, spi_object_equal): comment out.
402 There are issues with CORBA object hashing that need
405 * libspi/application.c (spi_application_init),
406 (spi_application_new): upd.
408 * libspi/accessible.c (spi_accessible_object_finalize): kill.
409 (spi_accessible_class_init): upd.
410 s/accessible/object/ in epv methods.
412 2001-12-05 Bill Haneman <bill.haneman@sun.com>
414 * at-bridge/bridge.c:
415 Reorder the bridge initialization into the bridge gtk_module_init,
416 an immediate call to bridge_register_app, and an idle_add for
417 register_atk_event_listeners (the only code that *must* wait until
418 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
419 the activation, creates the application's Accessible object, and
420 queues the bridge_idle_init function. Restored call to
421 Accessibility_Registry_deregisterApplication().
422 Prior to making this call we obtain a new reference to the
423 registry, which is a temporary hack that helps us handle apps that
424 shut down the bonobo mainloop before we get there.
427 Fix string leakage in debug block, and don't segv if a an app
428 dies before its event notifications have been propagated.
431 Modify cspi_check_ev() to call g_warning() rather than g_error(),
432 as stopgap measure until we get proper exception handling when
433 objects die during or before interrogation.
437 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
438 Also changed default value of is_gnome_app to TRUE.
441 * test/keysynth-demo.c:
442 Changed use of SPI_init and SPI_event_main to reflect API change above.
445 Made report_focus_event check the warning value from getName
446 before reporting on focussed accessible; simplifies handling of
447 notifications from dead objects.
449 * test/test-simple.c: (Changes not in this patch since source is
452 2001-12-05 Michael Meeks <michael@ximian.com>
454 * registryd/registryd.c (main): protect against
455 bonobo-activation startup race condition.
457 * cspi/spi_main.c (cspi_object_add_check): cope
458 with the exception elegantly.
460 * idl/Accessible.idl: decl. ChildGone
462 * libspi/desktop.c (spi_desktop_dispose): impl.
463 (spi_desktop_class_init): upd.
464 (spi_desktop_add_application),
465 (spi_desktop_remove_application),
466 (abnormal_application_termination): impl.
467 (impl_desktop_get_child_at_index): re-impl.
470 (impl_accessibility_registry_deregister_application),
471 (impl_accessibility_registry_register_application):
472 kill excessive debug clutter.
474 * test/test-simple.c (test_misc): test some NULL
475 tolerance. (main): upd.
477 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
478 implements no interfaces - so let's not crash.
480 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
482 * libspi/accessible.c (spi_accessible_new_return): impl.
483 helper to calm the cut and paste, to cope with
484 NULL AtkObjects effectively and efficiently, and to kill
485 the referencing bugs.
487 * libspi/table.c (impl_getAccessibleAt),
488 (impl_getRowHeader, impl_getColumnHeader): upd.
490 * libspi/hyperlink.c (impl_getObject): upd.
492 * libspi/accessible.c
493 (impl_accessibility_accessible_get_child_at_index): upd.
496 (impl_accessibility_component_get_accessible_at_point): upd.
498 * test/test-simple.c (test_editable_text, test_text): impl.
501 * cspi/spi_editabletext.c
502 (AccessibleEditableText_insertText): constify.
504 * test/test-simple.c (focus_me): make more robust.
506 * libspi/accessible.c: remove some printfs in methods that
507 we test and work fine, so we can get a clean tree dump.
509 * test/test-simple.c (validate_accessible),
510 (validate_tree): make tree dumping pretty too.
512 * at-bridge/bridge.c (bridge_signal_listener): upd. so
513 it builds without debug on.
515 * test/test-simple.c (validate_accessible): fix the most
518 * cspi/spi_main.c (spi_object_release): leave the nicely
519 blanked memory around if in debug mode.
521 * cspi/spi-listener-impl.c (cspi_event): use add_check.
523 [committed to fixups2]
524 2001-12-05 Michael Meeks <michael@ximian.com>
526 * libspi/editabletext.c
527 (spi_editable_text_class_init): g_type_class_peek_parent,
528 not interface peek - so we finalize cleanly.
530 * libspi/accessible.c (spi_accessible_new): kill debug.
532 * test/test-simple.c (validate_accessible): fix ref.
533 leak, print strings before freeing them; sigh, comment a
534 chunk out due to strangeness.
535 (validate_tree): unref the child after use.
537 * cspi/spi_component.c (AccessibleComponent_getLayer):
538 add missing break statement, switch on zlayer not the
539 uninitialized retval.
541 * cspi/spi_main.c (cspi_object_add): add assert, local ref
542 before (possibly re-entering) remote unref.
544 * test/simple-at.c (main): unref the desktop.
546 * cspi/spi_accessible.c (cspi_accessible_is_a): move
549 * cspi/spi_main.c (cspi_accessible_is_a): here to
550 isolate bonobo API usage more.
552 * libspi/registry.c (impl_accessibility_registry_register_application):
555 2001-12-04 Michael Meeks <michael@ximian.com>
557 * test/test-simple.c (validate_tree): upd.
558 IndexInParent check to make it more lucid.
559 (validate_accessible): dump the tree.
561 * libspi/accessible.c (de_register_public_ref),
562 (get_public_refs): impl.
563 (spi_accessible_new): make more efficient & intuitive.
564 Now IndexInParent check works.
566 2001-12-04 Michael Meeks <michael@ximian.com>
568 * cspi/spi-util.h: remove.
570 * cspi/spi.h: move SPI_freeString here
572 * libspi/component.c (impl_accessibility_component_get_layer):
574 (impl_accessibility_component_get_mdi_z_order): ditto,
575 return -1 on error - is this ok ?
577 * test/test-simple.c (test_application): impl.
579 * cspi/spi_accessible.c (Accessible_getApplication),
580 (Accessible_isApplication): impl.
582 * libspi/registry.c (spi_listener_struct_free): release
583 the CORBA reference too.
585 * libspi/accessible.c
586 (impl_accessibility_accessible_get_parent): fix ref leak.
588 * libspi/registry.c (spi_registry_new): make the registry
589 immortal - we don't want it to go away ever.
591 * libspi/application.c
592 (spi_accessible_application_finalize): impl. cleanup.
594 * cspi/spi_registry.c
595 (deregisterGlobalEventListenerAll),
596 (deregisterGlobalEventListener),
597 (deregisterAccessibleKeystrokeListener): fix ref leak.
599 * cspi/spi_main.c (SPI_init): remove redundant ref.
601 * test/test-simple.c (unutterable_horror): impl. to force a
606 (impl_accessibility_registry_deregister_application): release
607 the application when we de-register it.
609 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
610 until we have the infastructure to get it right.
612 2001-12-03 Michael Meeks <michael@ximian.com>
614 * libspi/Makefile.am: only build eventlistener.[ch]
616 * libspi/accessible.c
617 (impl_accessibility_accessible_get_child_at_index): don't leak.
619 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
620 before we hit the idle handler.
622 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
625 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
627 * libspi/listener.c (impl_notify_event): check source
628 not NIL before unref.
630 * libspi/registry.c (impl_registry_notify_event): ditto.
632 * libspi/eventlistener.c
633 (impl_accessible_event_notify_event): unref the source.
635 * libspi/accessibleeventlistener.c
636 (impl_accessible_event_notify_event): unref the source.
638 * idl/Event.idl: remove 'hash_id' attribute - of no
641 * libspi/application.c (notify_listeners): upd list
643 (spi_application_object_event_listener),
644 (spi_application_toolkit_event_listener): upd to do correct
648 (_registry_notify_listeners): update.
649 (parse_event_type): this method also leaks like a sieve.
650 (impl_accessibility_registry_deregister_global_event_listener):
651 fix ETYPE_WINDOW case.
653 * libspi/application.c
654 (impl_accessibility_application_register_object_event_listener):
657 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
659 * libspi/hypertext.c (impl_getLink): ditto.
661 * cspi/spi_main.c (cspi_object_add): remove
662 bogus CORBA_Object_duplicate.
664 * cspi/spi-listener-impl.c (cspi_event): dup/ref
667 * cspi/spi_accessible.c
668 (Accessible_getRelationSet): fix leak / referencing issue.
670 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
671 (cspi_object_add, cspi_object_unref): upd.
672 (spi_object_release, get_live_refs): impl.
673 (cspi_cleanup): simplify.
675 * *.[ch]: s/boolean/SpiBoolean/
677 * cspi/spi_accessible.c (role_names): actualy order so it
678 corresponds with the enum !
680 * test/test-simple.c (test_roles): check some role strings
681 vs. enums to detect offset errors.
683 2001-12-01 Michael Meeks <michael@ximian.com>
685 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
687 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
689 (Accessible_getChildAtIndex): use cspi_add_check so we
690 check the ev before using a (possibly) invalid value.
692 * libspi/accessible.c
693 (impl_accessibility_accessible_get_parent): don't segv
696 * at-bridge/bridge.c (gtk_module_init): upd.
697 (bridge_property_event_listener): don't leak strings
699 (bridge_state_event_listener),
700 (bridge_property_event_listener): don't use a static
701 buffer in case of recursive event emission &
702 re-enterancy - split out the swathe of cut and paste
704 (emit_eventv): and fix 2 ref leaks here & comply to the
706 (bridge_register_app): rename to
707 (bridge_idle_init): this and kill arg parsing, split
708 various inits & bonobo-activation registration to module
709 init time, kill referencing error.
710 (bridge_exit_func): fix the same leak.
711 (bridge_focus_tracker): don't leak event structures
713 (bridge_signal_listener): more leakage and cut & paste
715 (bridge_key_listener): return the result - FIXME is
716 this polarity correct ?
717 (accessibility_keystroke_from_atk_key_event): rename
718 (accessibility_init_keystroke_from_atk_key_event): and stop
720 (gtk_module_init): return a value - not that it is checked by
722 (bridge_key_listener): register my horror at casting between
724 (bridge_get_registry): kill - not used.
726 * cspi/spi_accessible.c (Accessible_getRole): make return const.
728 * test/test-simple.c (test_roles): impl.
729 (test_desktop, validate_accessible, validate_tree): impl.
731 * cspi/spi_accessible.c (role_names): fixup bogus
732 MAX_ROLES setup, make constants const for efficient linkage
733 (AccessibleRole_getName): conform to coding style, make
736 2001-11-30 Michael Meeks <michael@ximian.com>
738 * cspi/spi.h: add missing prototype.
740 * libspi/registry.c (spi_listener_struct_new): fix sig.
742 * test/Makefile.am: add test-simple
744 * test/test-simple.c: add
748 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
750 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
751 do it straight - since otherwise we often get an activation race.
753 [ work before Bill duplicated a chunk of it ... ]
754 2001-11-30 Michael Meeks <michael@ximian.com>
756 * libspi/keystrokelistener.c
757 (spi_keystroke_listener_class_init): fixup arg
760 * libspi/eventlistener.c
761 (spi_event_listener_class_init): ditto.
763 * tests/test.sh: add.
765 * cspi/spi-listener-impl.h: update macros.
767 * cspi/spi-listener-impl.c
768 (cspi_event_listener_remove_callback): add
769 correct pre-conditions.
771 * cspi/spi_main.c (SPI_exit): guard vs. double
772 exits, exit the mainloop nicely.
773 (SPI_event_main): make more sense.
774 (SPI_init): move the atexit evilness here so we
776 (SPI_event_main): upd.
778 * test/simple-at.c: update for listener changes.
780 * registryd/registryd.c (main): prune kruft.
782 * libspi/libspi.h: upd.
784 * libspi/eventlistener.[ch]: rename broken macros.
786 * libspi/accessibleeventlistener.[ch]: remove.
788 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
790 * test/test-simple.c: Add - automated tests.
792 * cspi/spi-listener-impl.c (cspi_event),
793 (cspi_key_event): add user_data to invoke.
794 (cspi_keystroke_listener_finalize): impl.
795 (cspi_keystroke_listener_class_init): upd.
798 (createAccessibleEventListener),
799 (AccessibleEventListener_addCallback),
800 (createAccessibleKeystrokeListener),
801 (AccessibleKeystrokeListener_addCallback): upd.
803 * libspi/deviceeventcontroller.c
804 (spi_device_event_controller_check_key_event): add public proto.
807 (impl_accessibility_registry_deregister_global_event_listener):
808 always init listeners.
809 (_registry_notify_listeners): yes it is.
811 * cspi/spi-listener-impl.c (cspi_key_event):
813 (cspi_event_listener_finalize): impl.
814 (cspi_event_listener_class_init): hook up.
815 (event_handler_new, event_handler_free),
816 (event_list_remove_by_callback): impl.
817 (cspi_event_listener_remove_callback),
818 (cspi_keystroke_listener_remove_callback),
819 (cspi_keystroke_listener_add_callback),
820 (cspi_event_listener_add_callback): upd.
822 * libspi/keystrokelistener.c
823 (keystroke_listener_object_finalize): kill
824 (spi_keystroke_listener_class_init): upd.
825 (spi_keystroke_listener_add_callback),
826 (spi_keystroke_listener_remove_callback): kill,
828 (impl_key_event): prune drasticaly.
830 * libspi/eventlistener.c
831 (spi_event_listener_add_callback),
832 (spi_event_listener_remove_callback): kill, use
834 (impl_accessible_event_notify_event): upd.
835 (spi_event_listener_object_finalize): remove.
837 * libspi/Makefile.am: use eventlistener.[ch]
839 2001-12-04 Bill Haneman <bill.haneman@sun.com>
841 * libspi/registry.c (_registry_notify_listeners):
842 Changed listener loop iteration to use preferred convention.
843 Got rid of string memory leaks caused be calling g_strconcat
844 inside function calls.
846 * libspi/registry.c (parse_event_type):
847 Stopped g_strconcat memory leaks, free the g_strsplit return,
848 g_strdup the split pieces when used, etc.
850 2001-12-04 Bill Haneman <bill.haneman@sun.com>
853 Change method 'compare' to return a 'difference set' rather than
854 taking a StateSet as an out parameter (more Java-friendly).
856 * idl/Accessible.idl:
857 Added CORBA struct 'BoundingBox', to faciliate API changes below:
861 Changed methods 'getExtents' and 'getImageExtents' in these
862 interfaces to return a BoundingBox structure.
863 (getPosition and getSize are redundant and possibly should be
864 removed, rather than creating a corresponding Point struct.)
866 * cspi/spi_component.c:
867 Modify implementation of getExtents to reflect the above IDL
872 Add (missing) AccessibleImage_getExtents () API.
874 * docs/reference/cspi/at-spi-cspi-sections.txt:
875 Added AccessibleImage_getImageExtents () to docs.
877 2001-12-03 Bill Haneman <bill.haneman@sun.com>
880 Added two methods, getLayer () and getMDIZOrder (), to reflect
881 the new ATK methods atk_object_get_layer and
882 atk_object_get_mdi_z_order. (Which arguably should be part of the
883 AtkComponent API and AtkObject). Also added an enum,
884 ComponentLayer, for the first method's return value.
886 * libspi/component.c:
887 Added implementations for these methods.
889 * cspi/spi_component.c:
891 Added cspi binding methods for above,
892 AccessibleComponent_getLayer() and
893 AccessibleComponent_getMDIZOrder().
894 Added cspi enum 'AccessibleComponentLayer'.
896 * docs/reference/cspi/at-spi-cspi-sections.txt:
897 Added above methods to docs.
901 Changed typedef for 'boolean' type (and all references to it) to
902 SPIBoolean, to avoid keyword clashes with C++.
905 Changed usages of 'boolean' to SPIBoolean.
907 * test/keysynth-demo.c:
908 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
909 app), except where SPIBoolean is required by the callbacks API.
911 2001-12-02 Bill Haneman <bill.haneman@sun.com>
913 * cspi/spi_registry.c:
914 Removed obsolete X event loop for passive keygrabs (which now
917 * registryd/registryd.c:
918 Removed unnecessary call to gdk_init() [cruft]. This also allows
919 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
922 2001-11-28 Bill Haneman <bill.haneman@sun.com>
924 * docs/reference/cspi:
925 Included docs for SPI_freeString in generated documentation.
928 Renamed spi_freeString to SPI_freeString, for consistency. Added
929 documentation for this function.
932 Renamed spi_freeString to SPI_freeString, for consistency.
933 Removed obsolete method declaration string_from_corba_string.
935 * test/keysynth-demo.c:
936 Small tweak to comments.
939 Stopped leaking the strings returned from CSPI.
941 2001-11-28 Bill Haneman <bill.haneman@sun.com>
943 Merged Michael's branch (see his ChangeLog entries below).
945 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
946 bridge is alive, release on exit.
948 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
949 Fix type check macro.
952 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
955 Added is_gnome_app static, and method cspi_is_gnome_app(),
956 so we can call the appropriate shutdown routine at exit in SPI_exit.
958 * cspi/spi_main.c (cspi_object_ref):
959 Duplicate the corba object passed in, since we're keeping it around.
961 * cspi/SPI_exit.c, cspi_cleanup:
962 Moved the releasing of the live refs to its own function, so we
963 can put it in g_atexit (). Call the appropriate shutdown API
964 depending on whethe calling client is a gnome app or not
965 (bonobo_main_quit or CORBA_ORB_shutdown).
967 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
968 Unref the listener when this method is called, after
969 deregistration. Updated the API docs to note this behavior.
971 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
972 Bugfixes: Ref the bonobo object when returning a parent or child
973 reference, or an AccessibleRelation. Generally made sure
974 BonoboObject refcount is incremented whenever we return an
977 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
978 Fixed typo/bug in signal declaration.
980 * libspi/accessibleeventlistener.h:
983 * libspi/application.c (spi_application_new):
984 Fixed leak in initialization.
987 Remembered to increment bonobo-object refcount when returning
988 children (applications) from desktop object.
989 Added (empty) finalize method.
991 * libspi/deviceeventcontroller.c:
992 Hold a ref to listeners inside DEControllerKeyListeners.
993 Added dec_key_listener_free() method. Use prepend instead of
994 append in key_listener list. Fixed some refcount madness and
995 leaks in the listener registration/deregistration - deregistration
996 now calls dec_key_listener_free() on listeners, and on the
997 temporarily constructed dec_key_listener() used to perform the search/match.
999 * libspi/hypertext.c (spi_hypertest_finalize):
1000 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1001 class. Also fixed spi_hypertext_interface_new() and
1002 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1004 * libspi/hypertext.h:
1005 Removed pointless and duplicate AtkObject pointer from
1008 * libspi/keystrokelistener.c:
1009 Fixed incorrect type of keystroke_listener_parent_class,
1010 renamed keystroke_listener_object_finalize to
1011 spi_keystroke_listener_object_finalize.
1012 Fixed typo in signal declaration
1013 (spi_keystroke_listener_class_init).
1015 * libspi/registry.c:
1016 Added funcsions spi_listener_struct_new() and
1017 spi_listener_struct_free() to help with memory management issues.
1018 We also now use these methods instead of gnew + poking stuff into
1019 the struct, and to decrement listener counts/free the listeners
1020 when deregistering them.
1021 Fix more refcount bugs in getDesktop() and
1022 getDeviceEventController().
1025 De-ref the desktop after enumerating the applications. Explicitly
1026 decrement the refcounts on the created listeners on exit (using
1027 _unref for keystroke listeners, and via the
1028 deregisterGlobalEventListenerAll command for other event
1031 2001-11-27 Michael Meeks <michael@ximian.com>
1033 * cspi/spi-listener.h: fixup enum.
1035 2001-11-27 Michael Meeks <michael@ximian.com>
1037 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1038 (cspi_keystroke_listener_new): Use the cspi variants.
1040 2001-11-26 Michael Meeks <michael@ximian.com>
1042 * test/keysynth-demo.c: fix 2 compile warnings, missing
1045 * test/simple-at.c (report_focussed_accessible),
1046 (report_focus_event, report_button_press),
1047 (check_property_change, is_command_key),
1048 (report_ordinary_key_event, report_command_key_event): upd.
1050 * util/mag_client.h: include pre-requisites.
1052 * libspi/accessibleeventlistener.c
1053 (spi_event_listener_object_finalize): free any lingering
1056 * libspi/keystrokelistener.c
1057 (keystroke_listener_object_finalize): ditto.
1059 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1060 callbacks, with cspi types.
1062 * cspi/spi_event.c (createAccessibleEventListener): chain to
1063 (AccessibleEventListener_addCallback): here.
1064 (createAccessibleKeystrokeListener): chain to
1065 (AccessibleKeystrokeListener_addCallback): here.
1067 * libspi/keystrokelistener.c
1068 (spi_keystroke_listener_class_init): add signal.
1069 (impl_key_event): emit the event.
1070 (boolean_handled_accumulator): impl.
1071 (marshal_BOOLEAN__POINTER): add, gack.
1073 * libspi/accessibleeventlistener.c
1074 (spi_event_listener_class_init): add signal.
1075 (impl_accessible_event_notify_event): emit the signal &
1076 make the loop efficient.
1077 (spi_event_listener_add_callback): prepend the callback.
1079 * libspi/accessibleeventlistener.h: add an 'event' signal,
1080 decl type on callback.
1082 * libspi/keystrokelistener.h: ditto.
1084 * cspi/spi-listener.h: make methods typesafe and
1085 make them use the new event typedefs.
1087 * test/simple-at.c (report_focussed_accessible):
1088 include mag_client.h
1089 Use *(void *)text_interface not the other thing.
1091 * configure.in: add gtk to registryd bits - since we use
1094 * util/magnifier.c: include libbonobo.h
1096 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1098 * test/keysynth-demo.c:
1099 Turned this into a simple scanning keyboard, to demonstrate the
1100 use of g_timeout_add () as a means of creating timers for
1101 scanning, and the use of GtkStyle for visually indicating when
1102 virtual keyboard elements are selected.
1104 keysynth-demo now listens to any keyboard keys with zero-valued
1105 keycodes (i.e. 'unused' keys) and interprets them as
1108 Reworked the shiftlatch code so that shift-down state isn't held
1109 for long periods (it's only synthesized immediately prior to
1110 the keysynth event it's modifying). Note that shiftlatch in this
1111 demo is a convenience, not intended to take the place of AccessX
1112 which is the better choice for getting 'sticky' modifier keys.
1114 * libspi/deviceeventcontroller.c:
1115 * at-bridge/bridge.c:
1116 * cspi/spi_registry.c:
1117 Removed some debug print stuff, and put other verbosity in #ifdef
1122 Implemented some more of the magnifier IDL for the simple
1123 magnifier: namely, getZoomRegionParams.
1124 Added mag_x and mag_y members to MagnifierData struct, aid of this
1126 Added GtkWindow::realize signal handler to magnifier, to keep it
1127 from receiving keyboard focus from the WM.
1129 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1131 * cspi/spi-private.h: my guess at what michael forgot
1132 before he ran off to NZ :-)
1134 2001-11-23 Michael Meeks <michael@ximian.com>
1136 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1137 comment out non existant method invoke so we link.
1139 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1140 use bonobo_exception_get_text for more friendly warnings.
1142 * cspi/spi.c (Obj_Add): move into spi_main & rename
1143 spi_object_add; kill spi.c
1145 * cspi/spi_registry.c
1146 (deregisterGlobalEventListener),
1147 (deregisterGlobalEventListenerAll),
1148 (registerGlobalEventListener): fix exception leaks.
1150 * cspi/spi_main.c (spi_exception): impl. helper, so we
1151 don't leak exceptions.
1153 * cspi/spi_selection.c
1154 (AccessibleSelection_deselectSelectedChild): return the
1157 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1158 (spi_registry): ditto.
1159 (SPI_init): guard against double inits.
1161 * cspi/*.c: use spi_ev (), and spi_registry () where
1162 appropriate - a temporary hack until we have something
1163 better. Use spi_object_add
1165 2001-11-22 Michael Meeks <michael@ximian.com>
1167 * cspi/Makefile.am: re organise, install the headers.
1169 * cspi/*.h: add G_BEGIN/END_DECLS
1171 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1174 Added non-preemptive keylistener for key events with no modifiers
1175 and shift-only modifier.
1177 * libspi/keystrokelistener.c:
1178 Removed some verbose diagnostics printout.
1180 * cspi/spi_registry.c:
1181 Fixed a bug that caused all key listeners to be registered as
1184 * libspi/deviceeventcontroller.c:
1185 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1186 for non-preemptive key masks.
1189 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1191 * docs/reference/idl/at-spi-idl-docs.sgml:
1192 * docs/reference/idl/at-spi-idl-sections.txt:
1193 * docs/reference/idl/at-spi-idl-overrides.txt:
1194 Added missing files.
1196 * docs/reference/Makefile.am:
1197 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1198 to scan the IDL files :-(
1203 Added .cvsignore files.
1205 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1207 * libspi/deviceeventcontroller.c:
1208 * libspi/keystrokelistener.c:
1210 * cspi/spi_registry.c:
1211 Added filters for KeySets, KeyEventSeq, and event types to key
1212 event dispatching, so listeners should only receive those events
1213 that they requested :-)
1215 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1220 * docs/reference:Makefile.am:
1221 * docs/reference/cspi:
1222 * docs/reference/cspi:Makefile.am:
1223 * docs/reference/cspi:tmpl:
1224 * docs/reference/cspi:tmpl:*.sgml:
1225 * docs/reference/idl:
1226 * docs/reference/idl:Makefile.am:
1227 * docs/reference/idl:at-spi-idl-sections.txt:
1228 * docs/reference/idl:at-spi-idl-docs.sgml:
1229 * docs/reference/idl:tmpl:
1230 * docs/reference/idl:tmpl:*.sgml:
1232 Restructured docs directory to allow separate 'reference' docs
1233 section, and forked idl and cspi docs. Added the sgml template
1234 files to CVS. Added the first sections/structural sgml for the
1237 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1239 * configure.in, libspi/Makefile.am: find libXtst.
1241 2001-11-21 Michael Meeks <michael@ximian.com>
1243 * test/accessx-gui.c: s/spi_value/value/ - doh.
1245 * libspi/base.[ch]: add.
1247 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1249 * idl/Accessible.idl:
1250 * idl/Application.idl:
1253 Started gtk-doc cleanup on IDL.
1255 * libspi/deviceeventcontroller.c:
1256 Added and connected non-preemptive key notification from the
1257 toolkits (in addition to the pre-emptive support from XServer
1258 which we had before, but which causes 'focus flashing'). Filters
1259 are presently limited to key modifiers and global/non-global,
1260 KeySets are presently ignored, as are KeyEvent masks.
1262 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1263 structs into the persistant structure rather than just storing
1264 pointers to things that might not persist across servant
1267 The XGrabKey call now does async keygrabs, because synchronous
1268 ones were deadlocking with GDK_event code in a very nasty way.
1270 Added boolean to internal method notify_keylisteners, to indicate
1271 whether the event came from the 'toolkit source' or the 'global
1272 (XServer) source' - this is used in the notification process to
1273 determine which listeners to send the event to.
1275 deviceeventcontroller.c is now warning-free.
1277 * libspi/registry.c:
1278 Fixed regression in application de-registration.
1279 Also fixed some really brain-dead weirdness having to do with
1280 event dispatching - event structs are now duplicated before being
1281 re-marshalled in the dispatch to listeners. This also fixes a
1282 Solaris build problem.
1285 2001-20-11 Michael Meeks <michael@ximian.com>
1288 (impl_accessibility_registry_deregister_global_event_listener):
1291 * libspi/deviceeventcontroller.c
1292 (spi_device_event_controller_check_key_event): return
1293 FALSE on no virtual method.
1295 * libspi/*..h: make includes work on a correctly pathed install.
1297 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1299 * libspi/application.h: kill unused ( and whacked out )
1300 gboolean *spi_application_set_id (AtkObject *app, long id);
1302 2001-20-11 Michael Meeks <michael@ximian.com>
1304 * libspi/*.[ch]: further convert to bonobo's type func
1305 macros, remove redundnant casts etc.
1307 * libspi/text.c s/accessibility_text/spi_text/g,
1308 re-order to de-cruft.
1310 * libspi/hypertext.c: re-order to kill a huge slew
1311 of redundant forward decls.
1313 * libspi/relation.c: ditto.
1315 * libspi/image.c: ditto.
1317 * */.cvsignore: update
1319 2001-20-11 Michael Meeks <michael@ximian.com>
1321 * libspi/deviceeventcontroller.c
1322 (_controller_register_with_devices): use g_getenv,
1323 kill stdlib.h include.
1325 * libspi/keystrokelistener.c
1326 (spi_keystroke_listener_get_type): kill
1327 (spi_keystroke_listener_class_init),
1328 (spi_keystroke_listener_init): rename to this.
1330 * libspi/text.c (impl_getAttributes): fix warning / bug.
1332 * libspi/*.[ch]: more headers, includes and over commenting.
1334 2001-20-11 Michael Meeks <michael@ximian.com>
1336 * libspi/*.[ch]: fixup headers, includes and over commenting.
1338 * libspi/image.c (impl__get_imageDescription): const
1339 correctness warning fix. remove redundant casting.
1341 * libspi/table.c (impl_getRowDescription): ditto.
1342 (impl_getColumnDescription): ditto.
1344 * libspi/libspi.h: add.
1346 2001-19-11 Michael Meeks <michael@ximian.com>
1348 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1350 * libspi/component.c (accessibility_component_get_type):
1351 rename to (spi_component_get_type): and macroify.
1352 (accessibility_component_init): rename to
1353 (spi_component_init): this
1354 (accessibility_component_class_init): rename to
1355 (spi_component_class_init): this
1357 * libspi/action.c (spi_action_get_type): kill, use the macro.
1359 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1362 * libspi/application.c (spi_application_object_event_listener),
1363 (impl_accessibility_application_register_object_event_listener):
1364 warning fixes / const understanding updates.
1366 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1369 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1371 * libspi/spi_accessible.c: Added docs and C bindings for
1372 AccessibleStateSet. (No implementations yet). Documentation
1373 coverage for C bindings now 100%. Made docs for event listeners
1378 boolean notifyListenersSync (in DeviceEventListener listener,
1379 in DeviceEvent event);
1381 oneway void notifyListenersAsync (in DeviceEventListener listener,
1382 in DeviceEvent event);
1384 Added DeviceEventListener and DeviceEvent structs (may deprecate
1385 KeyStroke and KeystrokeListener in favor of this generic
1386 event/listener framework for devices).
1388 * libspi/deviceeventcontroller.c:
1390 Changed some key listener code to take masks, etc., and paved the
1391 way for integration of toolkit/non-preemptive key events. Changed
1392 signatures of some internal methods.
1394 * at-bridge/bridge.c:
1395 Fixed regression connecting to interface signals, apparently
1396 caused by GTK+ changes.
1398 Added an internal bridge_state_listener to deal with
1399 property-change:accessible-state signals.
1401 Changed the key_listeners GList to store structs (including masks,
1402 etc.) instead of just CORBA_Objects (required for full
1403 implementation of key listener API).
1405 Connected the bridge to all currently supported Atk signals.
1406 Events now supported:
1407 object:property-change
1408 object:property-change:accessible-name
1409 object:property-change:accessible-state
1410 object:property-change:accessible-description
1411 object:property-change:accessible-parent
1412 object:property-change:accessible-value
1413 object:property-change:accessible-role
1414 object:property-change:accessible-table-caption
1415 object:property-change:accessible-table-column-description
1416 object:property-change:accessible-table-column-header
1417 object:property-change:accessible-table-row-description
1418 object:property-change:accessible-table-row-header
1419 object:property-change:accessible-table-summary
1420 object:children-changed
1421 object:visible-data-changed
1422 object:selection-changed
1423 object:text-selection-changed
1425 object:text-caret-moved
1427 object:row-reordered
1429 object:column-inserted
1430 object:column-reordered
1431 object:column-deleted
1432 object:model-changed
1434 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1436 * libspi/hyperlink.c,h:
1437 Fixed some broken stuff in hyperlink.
1439 * libspi/relation.h:
1440 * libspi/relation.c:
1441 * cspi/spi_accessible.c:
1442 Initial implementations of AccessibleRelation methods, and docs.
1444 * libspi/accessible.c:
1445 Fixed a bug that caused SEGV if an accessible
1446 object's description is NULL, and a client
1447 requests it. An empty string is now returned.
1449 * cspi/spi_editabletext.c:
1450 * cspi/spi_hypertext.c:
1452 * cspi/spi_hyperlink.c:
1456 Doc coverage now 95%.
1458 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1460 One last namespacing revision:
1461 * libspi/accessibleeventlistener.[ch]:
1462 Renamed SpiAccessibleEventListener to SpiEventListener,
1463 (no need for two namespaces ;-)
1465 And lots of documentation fixes:
1467 * docs/at-spi-docs.sgml:
1468 Fixed 'underscore vs. hyphen' bug that was preventing
1469 the gtk-doc API docs from being automatically generated.
1472 * cspi/spi-listener.h
1474 * cspi/spi_accessible.c
1476 * cspi/spi_application.c
1477 * cspi/spi_component.c
1478 * cspi/spi_editabletext.c
1480 * cspi/spi_hypertext.c
1482 * cspi/spi_registry.c
1483 * cspi/spi_selection.c
1487 * docs/at-spi-docs.sgml
1488 * docs/at-spi-sections.txt
1490 Added and fixed up gtk-doc documentation in cspi.
1492 Interfaces now (fully) documented (subject to revision and enhancement):
1494 Event Listener Support
1496 AccessibleApplication
1500 AccessibleEditableText
1507 AccessibleRelationSet
1512 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1514 * at-bridge/bridge.c:
1515 Initial work for toolkit-level key snooper connection by bridge.
1520 New typedefs and fixes to support new namespacing, and cleaner
1521 separation of cspi bindings from libspi bonobo implementation.
1522 Removed inconsistent and extraneous Spi* namespace prefix that
1523 had crept into cspi headers.
1524 Lots of comment fixes that sed had missed.
1526 * cspi/spi-roletypes.h:
1527 * cspi/spi-statetypes.h:
1528 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1529 to AccessibleRoleType.
1531 * libspi/accessibleeventlistener.h:
1532 Fixed minor namespacing weirdness.
1534 * libspi/deviceeventcontroller.c:
1535 Reordered some internal API for device listeners.
1536 Changed the key registry final boolean to 'is_system_global'
1537 rather than 'is_synchronous', which is more descriptive of its
1539 Added spi_device_event_controller_new().
1540 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1542 * libspi/keystrokelistener.[ch]:
1543 Namespaced KeystrokeListener to SpiKeystrokeListener.
1544 Changed uses of keymasks to use SPI_ prefix, and did other
1547 * libspi/keymasks.h:
1548 Namespaced keymask constants with SPI_ prefix.
1550 * libspi/registry.c:
1551 Some warning fixes, and knock-on fixes from namespace changes.
1554 Added rules for accessx-gui test program.
1556 * test/accessx-gui.c:
1557 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1558 utility. It doesn't actually use at-spi, but it's still cool and
1561 * test/keysynth-demo.c:
1565 Fixes so that these test clients work properly with the namespaced
1566 libraries. (Incompletely tested for technical reasons, fixes may follow)
1569 2001-13-11 Michael Meeks <michael@ximian.com>
1571 * libspi/application.c
1572 (impl_accessibility_application_get_version),
1573 (impl_accessibility_application_get_toolkit_name):
1575 (impl_accessibility_application_set_id),
1576 (impl_accessibility_application_get_id): remove
1577 redundant casting code.
1579 * libspi/action.c (impl_getDescription): fix warnings.
1581 * libspi/accessible.c
1582 (impl_accessibility_accessible_get_parent),
1583 (impl_accessibility_accessible_get_child_at_index),
1584 (impl_accessibility_accessible_get_state),
1585 (impl_accessibility_accessible_get_relation_set):
1586 warning fixes & include action.h
1588 2001-13-11 Michael Meeks <michael@ximian.com>
1590 * *.[ch] fix bits I screwed up:
1592 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1593 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1595 2001-13-11 Michael Meeks <michael@ximian.com>
1597 * *.[ch] Namespace libspi into spi_ and Spi.
1599 2001-13-11 Michael Meeks <michael@ximian.com>
1601 * Makefile.am: dist & install at-spi-1.0.pc
1603 * libspi/Makefile.am: install into at-spi-1.0
1605 * idl/Makefile.am (idldir): install into at-spi-1.0
1607 * at-spi-1.0.pc.in: add.
1609 * configure.in: build it.
1611 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1613 * test/keysynth-demo.c:
1614 Use a 'realize' signal-handler to set the WM properties for
1615 the virtual keyboard, rather than making it a "POPUP" type
1616 override-redirect window (thanks to anders carlsson for that
1619 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1622 * test/keysynth-demo.c:
1623 Added new test of key synthesis, which creates a simple
1624 (mouse-operated) onscreen keyboard. It inserts key events into
1625 the currently-focused window, thus it does not grab keyboard focus
1628 * cspi/spi_registry.c:
1629 Added C binding for AT-SPI generateKeyEvent.
1631 * libspi/deviceeventcontroller.c:
1632 Added call to XFilterEvent so that key listener works with XIM (we
1633 hope). Added event_synth_type to generateKeyEvent, so that we can
1634 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1635 synthesize a press/release pair for KeySyms.
1637 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1639 * libspi/Makefile.am:
1640 * registryd/Makefile.am:
1641 (temporary) hack to include libXtst in libspi and registryd.
1642 (Needed for keystroke synthesis, see below).
1645 Improved API for registerKeystrokeListener, in accordance with
1646 discussions with Gnopernicus team and X server research.
1648 * libspi/registry.c:
1649 * libspi/deviceeventcontroller.c:
1650 * libspi/accessible.c:
1651 * libspi/keystrokelistener.c:
1652 Changes and fixes to support keylisteners for potentially
1653 consumed key events (that is, 'passive grabs').
1654 Added implementation for generateKeyEvent() [untested].
1657 Changes to registerKeystrokeListener() API, as above.
1658 Added deregisterGlobalEventListenerAll(), and
1659 deregisterKeystrokeListener(), which are needed for clean exit of
1661 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1662 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1664 * cspi/spi_registry.c:
1665 Added implementations of function prototypes mentioned above.
1667 * registryd/registryd.c:
1668 Added the key listener event source as a g_timeout(), to allow
1669 receipt of key events that are not caught by GDK (since GDK
1670 doesn't support passive keygrabs, this was necessary).
1673 Changed to attach a keylistener to 'Alt' keys, and
1674 respond to the following keycommands: Alt-M (toggle magnifier);
1675 Alt-F (toggle speech); Alt-Q (quit).
1676 Added an exit routine to deregister the listeners, and a key
1677 listener that prints some key info to the console when a key
1678 matches the listener mask (and is thus received by the listener).
1680 * util/idl/Magnifier.idl:
1681 Changes to magnifier API to support multiple zoom regions,
1682 non-uniform scaling in x and y, markDirty, and a host of other
1683 features that would be useful to magnification.
1686 * util/mag_client.c:
1687 * util/mag_client.h:
1688 * util/mag_control.c:
1690 Source code changes to support the above IDL changes.
1693 As above, and also changes to use a (slower) generic conversion
1694 path for colormap conversions, since the fast RGB conversions have been
1695 reported to fail for 16-bit displays.
1697 2001-10-26 Michael Meeks <michael@ximian.com>
1699 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1701 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1703 * at-bridge/Makefile.am: fix LDFLAGS.
1705 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1707 * at-bridge/bridge.c:
1708 Re-worked listeners for toolkit events, now we have signal
1709 and property listeners. Added a private method
1710 register_atk_event_listeners(), which registers with the
1711 various atk and gtk signals we need to monitor in order to emit
1713 Added emission hook for AtkObject:property-change events, to
1714 support the 'property listeners'.
1715 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1718 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1719 which emit warnings and exit, respectively, if CORBA errors occur
1720 during remote calls, and we now use these methods to check most of
1721 our CORBA calls in the C bindings.
1723 * cspi/spi_accessible.c:
1724 Changed AccessibleSelection_refSelectedChild() to
1725 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1726 now increment refcounts.
1728 * cspi/spi_component.c:
1729 Fixed some long pointer casts (dangerous!) to pass pointers to
1730 CORBA_longs of the proper type to the CORBA stubs, and copy the
1731 data into the longs that were passed into the C bindings code.
1733 * at-bridge/bridge.c:
1735 * libspi/accessible.c:
1736 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1737 hyperlinks, AtkHyperlink is an object type.
1739 * libspi/application.c:
1740 Added various conversions to and from "generic" event types and
1741 atk-specific types; this is really part of the 'bridge'
1742 implementation but is valid for all AtkObject-based accessibility
1745 * libspi/editabletext.c:
1746 Fixed nasty bug wherein editable text's finalize method was
1747 unref'ing tha AtkObject reference that the text parent class was
1748 about to unref _again_. There was also a nasty inheritance bug
1749 that meant that the AccessibleEditableText class was corrupt.
1751 * libspi/selection.c:
1752 Provided implementations for some selection API that was broken.
1754 * idl/Application.idl:
1755 Added registerObjectEventListener () method.
1758 Fixed a number of return values that were Bonobo_Unknowns from
1759 bonobo_object_corba_objref(), which I
1760 forgot to dup before returning. Changed instances of
1761 bonobo_object_corba_objref (bonobo_object(o)) to
1762 BONOBO_OBJREF(o), for concision and clarity.
1764 <2001-10-13 Louise Miller <louise.miller@sun.com>
1766 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1767 idl/Event.idl, idl/Registry.idl
1768 Changed these files to include Bonobo_Unknown.idl instead
1771 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1773 * libspi/component.c libspi/component.h:
1774 Fixed typo. Added assertions for object checks in
1775 AccessibleComponent code.
1777 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1779 * idl/Accessible.idl:
1780 Added 'isEqual (Accessible *object)'
1781 method for Accessible. (Not Yet Implemented).
1784 Changed signature of registerKeystrokeListener() to
1785 take a KeySet and KeyEventSeq so that specific keys and event
1786 types could be requested for monitoring, and added a flag
1787 is_synchronous so that either synchronous or asynchronous
1788 notification could be requested. (However this is not all
1789 implemented yet). This also meant adding two new typedefs,
1790 KeyEventSeq and KeySet.
1793 Added two new relations, RELATION_TOOLTIP_FOR and
1794 RELATION_LEAFNODE_OF.
1797 Added new state, STATE_HAS_TOOLTIP.
1799 * libspi/text.c, editabletext.c:
1800 Added new assertions to all casts of bonobo-objects from
1801 CORBA servants, to prevent Text API calls on non-text objects.
1802 Changed suspect casts of int-pointer types, so that we
1803 always send a valid CORBA_long pointer to the CORBA APIs that use
1804 in/out long parameters. We then have to copy from the CORBA_long
1805 into the regular long or int for return to the C bindings, or
1806 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1809 * libspi/deviceeventcontroller.c:
1810 Cleaned these sources up.
1812 Changed return type for getCharacterAtOffset to
1813 CORBA_unsigned_long, to allow for 32-bit characters.
1816 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1820 Fixed 'make dist' so that distro compiles...
1821 * libspi/keymasks.h:
1823 * cspi/spi-listener.c:
1824 KeystrokeListenerCB now returns a boolean.
1826 Added KeyEventType struct, and KeyStroke.
1827 Also added createKeystrokeListener(),
1828 KeystrokeListener_addCallback(),
1829 KeystrokeListener_removeCallback(), and added a keymask to
1830 registerKeystrokeListener().
1831 * cspi/spi_accessible.c:
1832 Changed numerous return types for interfaces from
1833 AccessibleComponent to Accessible<InterfaceName>; this was
1834 probably a cut-and-paste error.
1836 Implementations of new KeystrokeListener api (from spi.h,
1839 Changes to key modifier mapping.
1840 Created ControllerEventMask struct.
1841 Made DeviceEventController derive from Bonobo::Unknown.
1843 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1844 * libspi/deviceeventcontroller.c:
1845 Added a number of new internal (private) methods.
1846 * libspi/editabletext.c:
1847 * libspi/editabletext.h:
1848 Fixed a number of bugs related to the fact that
1849 editabletext inherits from text. Fixed the EditableText struct,
1850 the init() call, and use correct casts when calling Text methods
1851 from an EditableText object. Removed (duplicate) atko from the
1852 EditableText structure, we use the one in the parent Text
1853 structure via the casts mentioned above.
1854 * libspi/keystrokelistener.[ch]:
1855 * libspi/registry.c:
1856 Changes in support of keyboard handling (above).
1858 Keyboard handling, though partly functional, is still not
1859 recommended for at-spi client use as there is considerable
1860 work yet to be done.
1863 Changed some places where pointers to various int types
1864 are cast to be pointers to CORBA_long types and vice-versa:
1865 pointer casting is not safe so we pass pointers of the correct
1866 types and then cast the result before putting it into the target
1869 * libspi/text.h: minor typos corrected.
1871 We now speak not only the name of a Text element, but the
1872 first sentence of its content, when it receives focus.
1873 I also changed the text compression to 75% from 50%.
1874 * util/Accessibility_Util.server.in:
1875 Changed the default magnifier type to be a 3x vertical
1876 splitscreen magnifier (was previously a 2x horizontal one).
1878 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1880 * libspi/keystrokelistener.h:
1881 * libspi/keystrokelistener.c:
1882 Initial functional implementations of KeystrokeListener.
1885 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1887 Fixed string handling for NULL strings in libspi.
1888 Added spi_freeString to free strings returned by C bindings.
1890 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1892 * libspi/keystrokelistener.h:
1893 * libspi/keystrokelistener.c:
1894 Began (no-op) implementations of KeystrokeListener
1896 * libspi/deviceeventcontroller.c:
1897 * libspi/deviceeventcontroller.h:
1898 Began creating implementations of DeviceEventController,
1899 to handle keystroke and mouse event listening and
1901 * libspi/accessible.c:
1902 Stubbed-in the implementations for
1903 Accessibility_Accessible_getState and
1904 Accessibility_Accessible_getRelationSet.
1905 * libspi/registry.c:
1906 Improved de-registration process and fixed some bugs,
1907 deregistration now works correctly.
1909 Added initialization of applications list (to NULL).
1911 Reduced speech compression from 0.5 to 0.7, for demo.
1912 Changed call to gdk_window_set_decorations()
1913 to gtk_window_set_decorated().
1914 * at-bridge/bridge.c:
1915 Bridge now deregisters when app exits, via
1916 registration of a cleanup function
1917 with the g_atexit() call.
1918 Required making 'app' static, renamed 'this_app'.
1919 Fixed broken use of bonobo_init, passing argv wrongly.
1921 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1925 Created a new directory for
1926 accessibility-related utilities, primarily for
1927 testing and demo purposes, but with possible
1934 Onscreen magnifier utility that
1935 is implemented as a bonobo service.
1937 * util/mag_client.c:
1938 * util/mag_client.h:
1939 Client-side support (simple C bindings)
1940 for Magnification service
1942 * util/mag_control.c:
1943 Client program example for
1944 Magnification service
1946 * util/Accessibility_Magnifier.server.in:
1947 Bonobo-activation file for the
1948 Magnification service.
1951 * util/idl/Magnifier.idl:
1952 IDL defining the bonobo Magnification
1956 Modifications to use the bonobo-activated magnifier
1957 above, in place of trying to connect to an existing
1958 magnifier that uses socket-listening IPC.
1960 If env variable MAGNIFIER is set, a magnifier service
1961 will be started if one does not exist.
1963 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1964 * at-bridge/bridge.c:
1965 applied patch from Marc to build and run
1966 against new glib and gtk+ (seemed like a change
1967 to bonobo_init signature was made ?)
1969 made festival-server support turned off by default.
1970 Added support for a simple magnifier (off by default)
1971 which will be added to a 'util' directory later.
1972 * at-bridge/Makefile.am:
1973 Changed "application.h" header from a 'source'
1974 to a 'dependency' of libat-bridge.
1976 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1984 Added interface implementation c files to list of
1985 includes so they are included in libcspi.
1988 Changed prototype of AccessibleAction_doAction to return a
1990 Changed prototype of AccessibleTable_getCaption to
1991 return an Accessible.
1992 Changed prototype of AccessibleTable_getSelectedRows
1993 and AccessibleTable_getSelectedColumns to
1994 return a long (returns the number of selected rows
1995 or columns respectively).
1996 Changed name of AccessibleText_refRunAttributes to
1997 AccessibleText_getAttributes.
1998 Changed prototype of AccessibleText_getCharacterExtents to
1999 return a void rather than a boolean.
2000 Added support for a AccessibleCoordType parameter
2001 specifying what type of coordinates are desired.
2002 Added an AccessibleCordType parameter to
2003 AccessibleText_getPointAtOffset.
2005 * cspi/spi_accessible.c:
2006 Added code to return the outstanding interfaces from
2007 Accessible_queryInterface.
2009 * cspi/spi_action.c:
2011 Corrected call to getNActions to call the c binding
2014 * cspi/spi_editabletext.c:
2016 Changed name from setRunAttributes to setAttributes.
2018 * cspi/spi_hyperlink.c:
2020 Changed call to getNAnchors to correctly call the c
2021 binding for an attribute.
2023 * cspi/spi_hypertext.c:
2025 Changed getImageDescription to correctly call the
2026 binding for an attribute.
2028 * cspi/spi_selection.c:
2029 Changed getNSelectedChildren to correctly call the c
2030 binding for the attribute.
2031 Changed refSelectedChild to getSelectedChild.
2035 Changed getCaption to return an Accessible.
2036 Fixed calls which retrieve attributes.
2037 Changed refAt to getAccessibleAt.
2038 Changed getNSelectedRows and getNSelectedColumns to
2042 Changed getCharacterExtents and getPointAtOffset to accept an
2043 AccessibleCoordType.
2045 Changed calls which retrieve attributes.
2046 Changed refRunAttributes to getAttributes.
2051 * idl/Hyperlink.idl:
2052 Changed n_anchors attribute to nAnchors to keep naming
2053 convention consistent.
2056 Made Table inherit from Bonobo::Unknown.
2057 Added nSelectedColumns and nSelectedRows attributes.
2060 Made Value inherit from Bonobo::Unknown.
2062 * libspi/hyperlink.c:
2063 Change for nAnchors attributte name change.
2065 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2073 Added interface implementation c files to list of
2074 includes so they are included in libcspi.
2077 Changed prototype of AccessibleAction_doAction to return a
2079 Changed prototype of AccessibleTable_getCaption to
2080 return an Accessible.
2081 Changed prototype of AccessibleTable_getSelectedRows
2082 and AccessibleTable_getSelectedColumns to
2083 return a long (returns the number of selected rows
2084 or columns respectively).
2085 Changed name of AccessibleText_refRunAttributes to
2086 AccessibleText_getAttributes.
2087 Changed prototype of AccessibleText_getCharacterExtents to
2088 return a void rather than a boolean.
2089 Added support for a AccessibleCoordType parameter
2090 specifying what type of coordinates are desired.
2091 Added an AccessibleCordType parameter to
2092 AccessibleText_getPointAtOffset.
2094 * cspi/spi_accessible.c:
2095 Added code to return the outstanding interfaces from
2096 Accessible_queryInterface.
2098 * cspi/spi_action.c:
2100 Corrected call to getNActions to call the c binding
2103 * cspi/spi_editabletext.c:
2105 Changed name from setRunAttributes to setAttributes.
2107 * cspi/spi_hyperlink.c:
2109 Changed call to getNAnchors to correctly call the c
2110 binding for an attribute.
2112 * cspi/spi_hypertext.c:
2114 Changed getImageDescription to correctly call the
2115 binding for an attribute.
2117 * cspi/spi_selection.c:
2118 Changed getNSelectedChildren to correctly call the c
2119 binding for the attribute.
2120 Changed refSelectedChild to getSelectedChild.
2124 Changed getCaption to return an Accessible.
2125 Fixed calls which retrieve attributes.
2126 Changed refAt to getAccessibleAt.
2127 Changed getNSelectedRows and getNSelectedColumns to
2131 Changed getCharacterExtents and getPointAtOffset to accept an
2132 AccessibleCoordType.
2134 Changed calls which retrieve attributes.
2135 Changed refRunAttributes to getAttributes.
2140 * idl/Hyperlink.idl:
2141 Changed n_anchors attribute to nAnchors to keep naming
2142 convention consistent.
2145 Made Table inherit from Bonobo::Unknown.
2146 Added nSelectedColumns and nSelectedRows attributes.
2149 Made Value inherit from Bonobo::Unknown.
2151 * libspi/hyperlink.c:
2152 Change for nAnchors attributte name change.
2155 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2157 implementations-- made server implementations own AtkObject pointers
2158 rather than their respective AtkInterrface pointers to fix
2159 refcounting. AtkHyperlink is still broken.
2161 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2162 * cspi/spi_accessible.c:
2163 Added method Accessible_Role_getName(),
2164 and requisite string array (role_names).
2165 Added conversion string_from_corba_strin() call
2166 to Accessible_getName and _getDescription.
2167 * libspi/accessible.c:
2168 Added implementation for Accessible_getRole()
2170 Added festival support, used if environment variable
2173 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2175 * at-bridge/bridge.c:
2176 Now allocate Accessibility_Event using
2177 Accessibility_Event__alloc() instead of g_new0().
2178 * libspi/accessibleeventlistener.c:
2179 Initialize AccessibleEventListener->callbacks to NULL.
2180 Fixed accessible__event_listener_init() param, changed to
2181 "AccessibleEventListener *" type.
2182 Changed a bonobo_object_release_unref() call to
2183 Accessibility_Accessible_unref().
2184 * libspi/listener.c:
2185 Changed Bonobo_Unknown_unref to (equivalent)
2186 Accessibility_Accessible_unref.
2187 * libspi/registry.c:
2188 Changed bonobo_object_release_unref to
2189 Accessibility_Accessible_unref.
2191 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2194 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2195 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2196 spi-util.c spi-util.h
2197 Implementations for C bindings to remaining accessibility
2200 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2203 changed return value of Action from void to boolean to
2204 bring in line with ATK.
2207 Changed getText funcions to return "out" start and end offsets.
2208 Changed getAttributes to take and offset and return the start
2209 and end offset of the attribute run.
2210 Changed getOffsetAtPoint and getCharacterExtents to take an
2211 enum describing whether coordinates are window or screen.
2214 libspi/action.c libspi/action.h libspi/editabletext.c
2215 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2216 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2217 libspi/image.h libspi/selection.c libspi/selection.h
2218 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2219 libspi/value.c libspi/value.h
2220 Added server implementations for outstanding ATK interfaces
2221 not yet implemented.
2223 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2226 Added (missing) getName() method.
2227 Made nActions an attribute.
2228 * idl/EditableText.idl:
2229 Changed order of params in setAttributes.
2230 * idl/Hyperlink.idl:
2231 Removed getAnchor, added getURI.
2233 Changed attributes to methods, for efficiency
2234 (so that getting extents can be done in one call)
2235 * idl/Selection.idl:
2236 Changed nSelectedChildren to attribute, and re-indented.
2237 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2239 * idl/Text.idl: reformatted to match our coding style.
2240 (temporarily?) removed getRowColumnAtOffset().
2241 Changed text selection API to support multi-select and
2242 non-contiguous selections, as in ATK.
2243 * idl/Value.idl: changed some methods to attributes.
2245 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2247 * libspi/listener.c(impl_notify_event):
2248 BonoboUnkown_unref the source instead
2249 of bonobo_object_release_unref - the ORB
2250 handles the releasing.
2252 * configure.in: require ORBit-2.3.94 for
2255 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2257 Tagged CVS repository 'EA_1_0'.
2258 * README.EARLY_ACCESS:
2259 Alphabetized acknowledgements list, and
2261 Listed some known dependencies of at-spi.
2263 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2265 * docs/at-spi-docs.sgml:
2266 * docs/at-spi-sections.txt:
2267 * docs/at-spi-overrides.txt: (Added zero-length file)
2268 Documentation improvements - gtk-doc should build
2269 docs for all implemented C bindings now.
2272 * cspi/spi.c: (New file)
2273 * cspi/spi_event.c: (New file)
2274 * cspi/spi_registry.c: (New file)
2275 * cspi/spi_accessible.c: (New file)
2276 * cspi/spi_application.c: (New file)
2277 * cspi/spi_component.c: (New file)
2278 Split spi_main.c into six parts, and included them from
2279 "spi.c". This is a bit of a hack, probably temporary,
2280 but required by gtk-doc, apparently.
2282 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2285 * docs/at-spi-docs.sgml:
2286 * docs/at-spi-sections.txt:
2288 Initial checkins/modifications for gtk-doc generation.
2291 Added (missing) interface query methods to Accessible's C binding.
2293 Added GenericInterface type definition.
2295 Added query for AccessibleComponent interface to focus event handler.
2296 Added printout of bounding box for focussed component.
2297 * libspi/component.c:
2298 Added partial implementation for AccessibleComponent to C binding.
2299 * idl/Application.idl:
2300 * libspi/registry.c:
2301 * libspi/listener.c:
2302 * libspi/application.c:
2303 * libspi/application.h:
2304 Changed "ID" attribute type from string to long.
2306 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2310 Made method naming consistent: methods taking object args
2311 start with uppercase, other methods (except those using
2312 acronyms) start with lowercase. Underscores delimit between
2313 object names and method names:
2314 SPI_init() - uppercase since it starts with an acronym.
2315 getDesktopCount () - lowercase start since no object param0.
2316 Accessible_getName() - uppercase object type name, studlyCaps method
2320 Added gtk-doc documentation for all currently implemented
2321 methods in the C bindings API.
2323 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2325 * Makefile.am : changed build order to build test last.
2328 Changed "createEventListener" to "CreateEventListener".
2329 * libspi/accessibleeventlistener.c :
2330 Bugfix for addition of callbacks.
2331 * test/Makefile.am :
2332 * test/simple-at.c :
2333 Added new test that uses the C bindings API.
2335 * libspi/listener.c :
2336 * libspi/registry.c :
2337 * libspi/accessibleeventlistener.c :
2338 * at-bridge/bridge.c :
2339 Renamed member "target" of Accessibility_Event to "source",
2340 which is more descriptive.
2343 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2347 * cspi/Makefile.am :
2348 Added makefile support for at-spi/cspi directory.
2351 * cspi/spi-listener.h : (NEW FILE)
2352 Added support for/use of spi-listener.h.
2354 C bindings now build successfully, with no warnings.
2355 * libspi/accessibleeventlistener.h : (NEW FILE)
2356 * libspi/accessibleeventlistener.c : (NEW FILE)
2357 * libspi/Makefile.am :
2358 Added new object type "AccessibleEventListener"
2359 which inherits from Listener, and allows attachment
2360 of in-process callbacks (so that a client with a listening
2361 object instance can add functionality to the local
2362 implementation, dynamically).
2364 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2366 * libspi/accessible.c:
2367 Add implementation for get_index_in_parent().
2369 Added #include of "spi-roletypes.h", and
2370 added enumerated type AccessibleCoordType.
2371 Added definition for KeystrokeListener (function type).
2374 * cspi/spi-statetypes.h :
2375 * cspi/spi-roletypes.h :
2377 Added these headers, used by spi.h.
2379 Added code (NOTE: not yet built by make).
2381 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2383 * libspi/Makefile.am: generate imodule
2384 at the same time as other idl compiler
2387 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2388 * libspi/registry.c :
2389 * libspi/application.c :
2390 * idl/Application.idl :
2391 Made registration with toolkit an application method,
2392 which is required since each app has its own toolkit static
2393 environment. Thus the bridge must register for
2394 notification of toolkit events from each application in turn.
2395 Toolkit notifications are now successfully registered for, and
2396 sent to the listening at client.
2398 Changed toolkit event string to use hyphens rather than underscores.
2399 * libspi/listener.c :
2400 listner now gives more info in debug mode - it reports the
2401 name of the event received, as well as the name of the source.
2404 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2406 * libspi/registry.c :
2407 added more implementation for toolkit events.
2408 Fixed bug such that toolkit event registrations
2409 (via atk) use the whole event name string, not
2411 Removed a useless call to an ORBit_ method.
2412 * at-bridge/bridge.c :
2413 Removed unused local sbuf[] variable.
2415 We now register for Gtk:GtkWidget:button_press_event
2416 events as well as "focus:" events.
2418 Add some more API from Registry.idl that was missing,
2419 for keystroke listening, keystroke and mouse event
2420 synthesis, and enumeration of accessible desktops.
2422 2001-08-16 Michael Meeks <michael@ximian.com>
2424 * configure.in: use AM_GLIB_GNU_GETTEXT.
2426 * Makefile.am (SUBDIRS): kill intl.
2428 2001-08-15 Michael Meeks <michael@ximian.com>
2430 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2432 * configure.in: upd.
2434 * configure.in: depend on a recent bonobo-activation that
2435 will find our server files ...
2437 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2439 * libspi/accessible.c : accessible_new() :
2440 Now we add the Component interface via bonobo_object_add_interface,
2441 if the contained AtkObject implements AtkComponent.
2442 * libspi/accessible.h : now include "component.h"
2443 * libspi/component.h :
2444 * libspi/component.c : added files - implementation of
2445 bonobo wrapper object for Accessibility/Component
2446 * libspi/listener.c :
2447 Added test code to check for Accessibility/Component:1.0
2448 interface and report whether it is implemented by the
2450 * libspi/registry.c :
2451 Now we check for not only the hash of the whole event
2452 string before relaying the event, we also check the
2453 "minor" event string (without the detail string).
2454 This allows event listeners to be registered against
2455 all events of a certain major+minor type, or just
2456 against a specific major+minor+detail type.
2457 * libspi/accessible.c :
2458 Added implementations for Accessible:get_parent(),
2459 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2460 * libspi/registry.c :
2461 * libspi/listener.c :
2462 Replaced calls to Accessibility_Accessible_ref() and
2463 Accessibility_Accessible_unref() with
2464 calls to bonobo_object_dup_ref() and
2465 bonobo_object_release_unref(), so that the CORBA object
2466 is dup-ed and released when relayed, as well as the bonobo object.
2468 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2470 * libspi/Makefile.am,
2471 registryd/Makefile.am,
2472 at-bridge/Makefile.am.
2473 test/Makefile.am, configure.in:
2474 reverse previous changes.
2476 * /idl/Image.idl: fix typo.
2478 * test/Makefile.am: put DEBUG_FLAGS
2481 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2483 * test/app.c: use argv[0] instead of
2486 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2488 * libspi/Makefile.am,
2489 registryd/Makefile.am,
2490 at-bridge/Makefile.am.
2491 test/Makefile.am, configure.in:
2492 cleanup, replace individual LIBS/CFLAGS with
2493 AT_COMMON_{LIBS|CFLAGS}.
2497 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2499 * configure.in, libspi/Makefile.am:
2500 Change IDL path checking for bonobo-activation
2503 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2505 * registryd/registry.c : separated event listeners to use
2506 3 separate lists (focus, window, toolkit). Began testing
2507 event names against hashes before relaying events.
2508 * test/at.c : now register for events of type "focus:"
2509 * test/app.c : now generate events of type "focus:"
2510 * at-bridge/bridge.c : register with ATK for focus events,
2511 and we now relay those focus events to any "focus:" listeners.
2512 This now works with the bridge as a GTK_MODULE when running test/at.
2513 * libspi/registry.c :
2514 * libspi/listener.c :
2515 now we ref event sources before propagating, and unref on receipt.
2516 * libspi/registry.c :
2517 some changes to internal structs, to support event typestring hashes.
2518 * text/app.c : changed the way the appname is generated.
2519 * cspi : added directory that will hold the C bindings library for
2520 non-CORBA/bonobo-savvy clients.
2521 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2522 * idl/Component.idl : added in parameter to indicate coord system for
2523 geometry-related calls.
2524 * idl/Hyperlink.idl : added readonly n_links attribute
2525 * idl/Image.idl : changed methods to attributes.
2527 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2529 * at-bridge/Makefile.am: link against
2530 ../libspi/libspi.la instead of -lspi.
2532 * at-spi/test/app.c: include
2533 bonobo-activation.h. Use a default appname
2534 if one is not provided.
2536 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2538 * idl/Registry.idl : temporarily changed register_Application
2539 to oneway, to work around issue with initial registration
2541 * idl/Application.idl : changed attribute "id" from readonly
2542 to read-write, since it needs to be assigned by Registry.
2543 * registryd/registryd.c : added call to set application id
2545 * registryd/registry.c : changed de-registration procedure to
2546 use CORBA_Object_hash() to find matching object ref in application
2547 lists and listener lists.
2548 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2549 began distinguishing between event types (work in progress).
2551 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2554 * libspi/application.c:
2555 Added implementations for get/set id, get_toolkitName,
2557 * registryd/registryd.c :
2561 Converted from use of OAF to bonobo-activation.
2562 * libspi/desktop.h :
2563 * libspi/desktop.c :
2565 Removed references to atksimpleobject, since base atkobject
2566 implementation now provides functionality we need.
2567 * libspi/atksimpleobject.c :
2568 * libspi/atksimpleobject.h :
2573 * at-bridge/Makefile.am
2574 * at-bridge/bridge.c
2577 Added directory "bridge" and contents, and added dependencies
2578 in Makefile.am/configure.in.
2579 Initial checkin of "at-bridge".
2580 This code is a GTK_MODULE which automatically registers
2581 GTK+ apps with the accessibility registry, using an object
2582 reference to the root ATK object.
2584 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2586 * po/Makefile.in.in: Remove. Again. If this
2587 doesn't get autogenerated - you need to update
2590 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2592 * po/Makefile.in.in: Add. Again.
2594 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2596 * libspi/accessible.c : added support for 'description' property.
2597 * libspi/accessible.c
2599 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2600 (since the two are now equivalent in libbonobo)
2608 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2609 Bonobo::Unknown as does Accessibility::Accessible.
2610 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2611 interface with Bonobo::Stream, since it was redundant with it.
2612 (The Stream returned by a StreamableContext object is expected to
2613 implement only a subset of Bonobo::Stream)
2615 2001-07-28 Anders Carlsson <andersca@gnome.org>
2617 * libspi/accessible.c (accessible_object_finalize): Change
2618 g_free to g_object_unref since the AtkObject is a GObject.
2620 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2622 * idl/Accessibility.idl: add new IDL files
2625 * idl/Action.idl: Definitions of actionable UI object
2626 * idl/Component.idl: Definitions of UI component geometry, etc.
2627 * idl/Hyperlink.idl: Defs of hyperlink behavior
2628 * idl/Image.idl: Def of accessible image
2629 * idl/Selection.idl: Definition of UI object with selectable children
2630 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2631 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2632 * idl/Text.idl: Interface defs for UI elements with complex textual content
2633 * idl/Value.idl: Definition of UI element that is a value controller or display
2635 2001-07-27 Michael Meeks <michael@ximian.com>
2637 * po/Makefile.in.in: remove autogenerated file from CVS.
2639 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2642 * idl/Registry.idl: include guard.
2644 * idl/Accessibility.idl: Add, and include all the other IDL
2647 * idl/*.idl: remove mass of pragmas etc.
2649 2001-07-26 Michael Meeks <michael@ximian.com>
2651 * registryd/Makefile.am (registryd_SOURCES): remove
2654 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2656 * libspi/.cvsignore, registryd/.cvsignore,
2657 test/.cvsignore: updated.
2659 * po/Makefile.in.in: gettext update.
2661 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2663 * initial CVS checkin
2665 2001-06-29 Michael Meeks <michael@ximian.com>
2667 * configure.in: add AM_CONFIG_HEADER to gen config.h