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, will add GtkRange as well.
8 2001-12-10 Michael Meeks <michael@ximian.com>
10 * cspi/spi_text.c: audit for exception handling,
11 tolerating NULL object references safely etc.
13 * cspi/spi_value.c: ditto.
15 * cspi/spi_table.c (AccessibleTable_getSummary),
16 (AccessibleTable_getAccessibleAt),
17 (AccessibleTable_getRowHeader),
18 (AccessibleTable_getColumnHeader),
19 (AccessibleTable_getCaption): fix bugs hidden by
21 (long_seq_to_array): impl.
22 (AccessibleTable_getSelectedRows),
23 (AccessibleTable_getSelectedColumns): use it.
25 2001-12-10 Bill Haneman <bill.haneman@sun.com>
28 Added a TODO list (rough and short for now).
30 * cspi/spi_hyperlink.c:
31 * cspi/spi_hypertext.c:
32 Fixed macro name typos, and remove use of obsolete macro in
33 AccessibleHyperlink_getLink.
36 * cspi/spi_accessible.c:
37 * cspi/spi_application.c:
38 * cspi/spi_component.c:
39 * cspi/spi_selection.c:
42 Documentation fixes (removed return values from ref/unref methods).
44 2001-12-10 Michael Meeks <michael@ximian.com>
46 * cspi/spi_action.c: audit for exception handling,
47 tolerating NULL object references safely etc.
49 * cspi/spi_accessible.c: ditto.
51 * cspi/spi_component.c: ditto.
53 * cspi/spi_editabletext.c: ditto.
55 * cspi/spi_hyperlink.c: ditto.
57 * cspi/spi_hypertext.c: ditto.
59 * cspi/spi_image.c: ditto.
61 * cspi/spi_selection.c: ditto.
63 2001-12-10 Michael Meeks <michael@ximian.com>
65 * configure.in: use cspi/libspi.pc.in instead.
67 * Makefile.am (pkgconfig_DATA): upd. to match.
69 * test/simple-at.c (report_focus_event): kill hacks around
70 bad return values, use putenv not setenv
72 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
73 fire ChildGone - I killed it.
76 (impl_accessibility_component_get_extents): remove
79 * idl/Accessible.idl: kill ChildGone exception.
81 * cspi/*.[ch]: kill int return from ref / unref.
83 * cspi/spi_main.c (cspi_object_add_check): fold into
84 (cspi_object_add): here.
86 * cspi/spi_component.c (AccessibleComponent_getExtents):
87 handle exceptions elegantly.
89 * cspi/spi-private.h (cspi_check_ev_return),
90 (cspi_return_if_fail): impl.
92 * cspi/spi_accessible.c: use extensively.
93 (AccessibleStateSet_equals): add direct compare check.
95 * cspi/spi_selection.c: tolerate NULL objs, and check
96 exceptions before return.
98 * cspi/spi-util.c (cspi_warn_ev): rename to
99 (cspi_check_ev): this & don't pass ev in; no point.
101 2001-12-10 Michael Meeks <michael@ximian.com>
103 * test/test-simple.c: use putenv not setenv
104 (get_environment_vars): more chatty if you're not using
107 * test/simple-at.c: do the setenv so more people see the
110 2001-12-10 Bill Haneman <bill.haneman@sun.com>
113 Changed check of CORBA_environment on notification to be a warning
114 instead of an error for the moment, since we can recover from this
115 error when caused by a queued notification from a dead app.
118 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
119 used by all current implementors of AtkValue), and coerce to
120 CORBA_float. (Proper general case fix may require change to Value.idl).
122 2001-12-09 Bill Haneman <bill.haneman@sun.com>
126 * cspi/spi_accessible.c:
127 Documentation fixes: added user_data params to documentation for
128 listeners and callbacks.
130 * cspi/spi_accessible.c:
131 Changed AccessibleStateSet_compare to return a
132 StateSet rather than return the difference set into a third parameter.
135 2001-12-09 Bill Haneman <bill.haneman@sun.com>
138 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
139 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
143 Remove subdirectory po from SUBDIRS for now.
145 * at-bridge/bridge.c:
146 Beefed up a couple of debug printouts.
147 One-line fix for signal notification name formatting.
149 * libspi/accessible.c:
150 Added assertion to spi_accessible_new ().
152 * libspi/application.c:
153 Put #ifdef qualifiers around a printf.
156 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
158 * registryd/Makefile.am:
160 Replaces use of XML_I18N_MERGE_SERVER_RULE with
161 INTLTOOL_SERVER_RULE macro.
164 Added an event listener for several ATK signals, for
165 testing and debugging. Removed a few g_warnings.
166 Added test output if focussed item implements the Value interface.
168 * test/test-simple.c:
169 Added test_value () function (known not to pass at the moment, so
170 not actually called yet.
172 2001-12-08 Michael Meeks <michael@ximian.com>
174 * at-bridge/bridge.c (bridge_focus_tracker),
175 (emit_eventv): fix the same ref. leak.
176 (register_atk_event_listeners): don't leak.
178 * cspi/spi-listener-impl.c (cspi_event): more
179 protection from client code.
181 * test/test-simple.c (test_desktop): unref the app.
183 * test/Makefile.am: upd. TESTS.
185 * at-bridge/bridge.c (bridge_exit_func): release the registry.
187 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
189 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
191 * cspi/spi_registry.c: constify in strings.
192 (deregisterGlobalEventListenerAll): don't release the ref.
194 * cspi/spi.h: start removing redundant / conflicting
195 gtkdoc comments, making the API readable at a glance :-)
197 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
199 * test/keysynth-demo.c (keysynth_exit, main): upd.
201 * test/simple-at.c (main, simple_at_exit): upd.
203 * test/test-simple.c (unutterable_horror): kill.
204 (utterable_normal_derefs): kill.
205 (main): upd & do a setenv before gtk_init, so that we
206 can use memprof - and to save the pain of remembering
207 this, if we're running under memprof - don't exit.
209 * cspi/spi_main.c (SPI_exit): return exit status
211 (SPI_event_quit): impl.
212 (SPI_event_main): simplify.
213 (cspi_is_gnome_app): kill.
214 (SPI_init): kill isGNOMEapp arg.
216 * at-bridge/bridge.c (register_atk_event_listeners):
217 re-instate the unref.
218 (bridge_exit_func): don't re-activate the registry,
219 protect vs. theoretical re-entry, use the
220 AT_BRIDGE_SHUTDOWN env. var to determine whether to
221 assert a clean shutdown - for regression tests.
223 2001-12-08 Abel Cheung <maddog@linux.org.hk>
225 * configure.in: Comment out dummy i18n support for now,
226 otherwise it fails to build.
227 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
228 EXTRA_DIST. They are missing in tarball.
230 2001-12-07 Michael Meeks <michael@ximian.com>
232 * util/magnifier.c: kill bonobo activation reg. race.
235 (impl_accessibility_component_get_extents): make it match
238 * libspi/registry.c (_registry_notify_listeners):
239 re-remove X headers & reconcile conflicts.
240 (spi_listener_struct_free): bad conflict resolve.
241 (impl_accessibility_registry_register_application):
242 more bad merging fixed.
243 (impl_accessibility_registry_deregister_application): ditto.
244 (spi_registry_new): ditto.
245 (spi_registry_init): don't have an applications field.
247 [ merge fixups2 branch to here ]
248 2001-12-07 Michael Meeks <michael@ximian.com>
250 * test/simple-at.c (report_focus_event),
251 (report_focussed_accessible): remove g_warning debug.
253 2001-12-07 Michael Meeks <michael@ximian.com>
255 * test/test-simple.c (validate_tree): comment out some checks.
256 (test_desktop): app now not registered idly - horay.
258 2001-12-07 Michael Meeks <michael@ximian.com>
260 * cspi/spi_registry.c
261 (registerAccessibleKeystrokeListener): clean, stop it leaking
262 great swathes of memory, and device event controller references.
263 ensure we always pass valid sequences.
264 (deregisterAccessibleKeystrokeListener): ditto.
265 (generateKeyEvent): upd.
267 * at-bridge/bridge.c (bridge_key_listener): handle
268 registry dead exception gracefully.
269 (bridge_focus_tracker, emit_eventv): free ev.
271 * test/simple-at.c (report_focus_event): fix polarity.
273 * libspi/application.c (notify_listeners): kill the ev
274 argument, and make sure we init the ev we use.
275 (spi_application_object_event_listener): split out a chunk
276 (get_atk_object_ref): here & fixup.
277 (reverse_lookup_name_for_toolkit_event): make const.
278 (spi_application_toolkit_event_listener): fixup, kill leaks
281 * at-bridge/bridge.c (register_atk_event_listeners):
282 don't unref the noop object - causes grief.
284 * libspi/registry.c: remove the X headers.
285 turn off the debug churn.
287 * libspi/accessible.c (spi_accessible_new_return): only
288 release the ref if we are supposed to [doh]
290 * test/simple-at.c (report_button_press, report_focus_event):
291 guard vs. unexpected exit.
293 * at-bridge/bridge.c (gtk_module_init): prune printf.
294 (bridge_exit_func): fix app unref.
296 * libspi/Makefile.am: don't install registry or desktop.h
298 * libspi/*.h: update includes.
300 * libspi/application.h: don't include ourself, or
301 other redundant headers.
303 2001-12-06 Michael Meeks <michael@ximian.com>
305 * libspi/accessible.c
306 (get_accessible_from_servant): impl.
307 Upd. all CORBA impl.s to use it killing cut and paste.
309 * cspi/spi_main.c (cspi_cleanup): guard vs. double
311 (SPI_init): register atexit cleanup handler here.
313 2001-12-06 Michael Meeks <michael@ximian.com>
315 * at-bridge/bridge.c (gtk_module_init): g_error on
318 2001-12-06 Michael Meeks <michael@ximian.com>
320 * at-bridge/bridge.c (gtk_module_init): some sort of
321 confusing merge clash - reverted.
322 (bridge_idle_init): ditto.
324 * test/test-simple.c (main, utterable_normal_derefs):
325 merge from Bill - somehow not committed.
327 2001-12-06 Michael Meeks <michael@ximian.com>
329 * libspi/value.c (spi_value_class_init): upd.
330 (spi_value_finalize): kill.
332 * libspi/table.c (spi_table_finalize): kill.
333 (spi_table_interface_new): upd.
334 (spi_table_class_init): upd.
335 (get_table_from_servant): impl.
336 Upd. all CORBA impl.s to use it killing yet more cut and paste.
338 * libspi/selection.c (spi_selection_finalize): kill.
339 (spi_selection_interface_new): upd.
340 (spi_selection_class_init): upd.
341 (get_selection_from_servant): impl.
342 Upd. all CORBA impl.s to use it killing yet more cut and paste.
344 * libspi/relation.c (spi_relation_finalize): kill.
345 (spi_relation_class_init, spi_relation_new): upd
347 * libspi/image.c (spi_image_finalize): kill.
348 (spi_image_class_init): upd.
349 (spi_image_interface_new): upd.
350 (get_image_from_servant): impl.
351 Upd. all CORBA impl.s to use it killing yet more cut and paste.
353 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
354 (spi_hyperlink_finalize): kill.
355 (spi_hyperlink_new): upd.
356 (get_hyperlink_from_servant): impl.
357 Upd. all CORBA impl.s to use it killing yet more cut and paste.
359 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
360 (spi_hypertext_finalize): kill.
361 (spi_hypertext_class_init): upd.
362 (get_hypertext_from_servant): impl.
363 Upd. all CORBA impl.s to use it killing yet more cut and paste.
365 * libspi/editabletext.c (spi_editable_text_finalize): kill.
366 (spi_editable_text_interface_new): upd.
367 (get_editable_text_from_servant): impl.
368 Upd. all CORBA impl.s to use it killing yet more cut and paste.
370 * libspi/text.c (get_text_from_servant): impl.
371 All impls - update to use it killing more cut and paste,
372 also fix bad string returns on duff args ( a somewhat
373 impossible case to handle - but hey ).
374 (spi_text_construct): impl.
375 (spi_text_interface_new): upd.
376 (spi_text_object_finalize): kill.
379 (accessibility_component_object_finalize): kill.
380 (spi_component_class_init): upd.
381 (get_component_from_servant): impl. helper to kill cut & paste.
382 (impl_accessibility_component_contains):
383 (impl_accessibility_component_get_accessible_at_point):
384 (impl_accessibility_component_get_position):
385 (impl_accessibility_component_get_extents):
386 (impl_accessibility_component_get_mdi_z_order):
387 (impl_accessibility_component_get_layer):
388 (spi_component_interface_new): upd.
390 * libspi/action.c (spi_action_finalize): kill.
391 (spi_action_class_init): upd. inherit from SpiObject.
392 (spi_action_interface_new): upd.
393 (get_action_from_servant): impl. helper to reduce cut & paste.
394 (impl_getKeyBinding, impl_getName, impl_doAction),
395 (impl_getDescription): Use it everywhere.
397 * cspi/spi_main.c (get_live_refs): a pointer hash.
398 (spi_object_hash, spi_object_equal): comment out.
399 There are issues with CORBA object hashing that need
402 * libspi/application.c (spi_application_init),
403 (spi_application_new): upd.
405 * libspi/accessible.c (spi_accessible_object_finalize): kill.
406 (spi_accessible_class_init): upd.
407 s/accessible/object/ in epv methods.
409 2001-12-05 Bill Haneman <bill.haneman@sun.com>
411 * at-bridge/bridge.c:
412 Reorder the bridge initialization into the bridge gtk_module_init,
413 an immediate call to bridge_register_app, and an idle_add for
414 register_atk_event_listeners (the only code that *must* wait until
415 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
416 the activation, creates the application's Accessible object, and
417 queues the bridge_idle_init function. Restored call to
418 Accessibility_Registry_deregisterApplication().
419 Prior to making this call we obtain a new reference to the
420 registry, which is a temporary hack that helps us handle apps that
421 shut down the bonobo mainloop before we get there.
424 Fix string leakage in debug block, and don't segv if a an app
425 dies before its event notifications have been propagated.
428 Modify cspi_check_ev() to call g_warning() rather than g_error(),
429 as stopgap measure until we get proper exception handling when
430 objects die during or before interrogation.
434 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
435 Also changed default value of is_gnome_app to TRUE.
438 * test/keysynth-demo.c:
439 Changed use of SPI_init and SPI_event_main to reflect API change above.
442 Made report_focus_event check the warning value from getName
443 before reporting on focussed accessible; simplifies handling of
444 notifications from dead objects.
446 * test/test-simple.c: (Changes not in this patch since source is
449 2001-12-05 Michael Meeks <michael@ximian.com>
451 * registryd/registryd.c (main): protect against
452 bonobo-activation startup race condition.
454 * cspi/spi_main.c (cspi_object_add_check): cope
455 with the exception elegantly.
457 * idl/Accessible.idl: decl. ChildGone
459 * libspi/desktop.c (spi_desktop_dispose): impl.
460 (spi_desktop_class_init): upd.
461 (spi_desktop_add_application),
462 (spi_desktop_remove_application),
463 (abnormal_application_termination): impl.
464 (impl_desktop_get_child_at_index): re-impl.
467 (impl_accessibility_registry_deregister_application),
468 (impl_accessibility_registry_register_application):
469 kill excessive debug clutter.
471 * test/test-simple.c (test_misc): test some NULL
472 tolerance. (main): upd.
474 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
475 implements no interfaces - so let's not crash.
477 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
479 * libspi/accessible.c (spi_accessible_new_return): impl.
480 helper to calm the cut and paste, to cope with
481 NULL AtkObjects effectively and efficiently, and to kill
482 the referencing bugs.
484 * libspi/table.c (impl_getAccessibleAt),
485 (impl_getRowHeader, impl_getColumnHeader): upd.
487 * libspi/hyperlink.c (impl_getObject): upd.
489 * libspi/accessible.c
490 (impl_accessibility_accessible_get_child_at_index): upd.
493 (impl_accessibility_component_get_accessible_at_point): upd.
495 * test/test-simple.c (test_editable_text, test_text): impl.
498 * cspi/spi_editabletext.c
499 (AccessibleEditableText_insertText): constify.
501 * test/test-simple.c (focus_me): make more robust.
503 * libspi/accessible.c: remove some printfs in methods that
504 we test and work fine, so we can get a clean tree dump.
506 * test/test-simple.c (validate_accessible),
507 (validate_tree): make tree dumping pretty too.
509 * at-bridge/bridge.c (bridge_signal_listener): upd. so
510 it builds without debug on.
512 * test/test-simple.c (validate_accessible): fix the most
515 * cspi/spi_main.c (spi_object_release): leave the nicely
516 blanked memory around if in debug mode.
518 * cspi/spi-listener-impl.c (cspi_event): use add_check.
520 [committed to fixups2]
521 2001-12-05 Michael Meeks <michael@ximian.com>
523 * libspi/editabletext.c
524 (spi_editable_text_class_init): g_type_class_peek_parent,
525 not interface peek - so we finalize cleanly.
527 * libspi/accessible.c (spi_accessible_new): kill debug.
529 * test/test-simple.c (validate_accessible): fix ref.
530 leak, print strings before freeing them; sigh, comment a
531 chunk out due to strangeness.
532 (validate_tree): unref the child after use.
534 * cspi/spi_component.c (AccessibleComponent_getLayer):
535 add missing break statement, switch on zlayer not the
536 uninitialized retval.
538 * cspi/spi_main.c (cspi_object_add): add assert, local ref
539 before (possibly re-entering) remote unref.
541 * test/simple-at.c (main): unref the desktop.
543 * cspi/spi_accessible.c (cspi_accessible_is_a): move
546 * cspi/spi_main.c (cspi_accessible_is_a): here to
547 isolate bonobo API usage more.
549 * libspi/registry.c (impl_accessibility_registry_register_application):
552 2001-12-04 Michael Meeks <michael@ximian.com>
554 * test/test-simple.c (validate_tree): upd.
555 IndexInParent check to make it more lucid.
556 (validate_accessible): dump the tree.
558 * libspi/accessible.c (de_register_public_ref),
559 (get_public_refs): impl.
560 (spi_accessible_new): make more efficient & intuitive.
561 Now IndexInParent check works.
563 2001-12-04 Michael Meeks <michael@ximian.com>
565 * cspi/spi-util.h: remove.
567 * cspi/spi.h: move SPI_freeString here
569 * libspi/component.c (impl_accessibility_component_get_layer):
571 (impl_accessibility_component_get_mdi_z_order): ditto,
572 return -1 on error - is this ok ?
574 * test/test-simple.c (test_application): impl.
576 * cspi/spi_accessible.c (Accessible_getApplication),
577 (Accessible_isApplication): impl.
579 * libspi/registry.c (spi_listener_struct_free): release
580 the CORBA reference too.
582 * libspi/accessible.c
583 (impl_accessibility_accessible_get_parent): fix ref leak.
585 * libspi/registry.c (spi_registry_new): make the registry
586 immortal - we don't want it to go away ever.
588 * libspi/application.c
589 (spi_accessible_application_finalize): impl. cleanup.
591 * cspi/spi_registry.c
592 (deregisterGlobalEventListenerAll),
593 (deregisterGlobalEventListener),
594 (deregisterAccessibleKeystrokeListener): fix ref leak.
596 * cspi/spi_main.c (SPI_init): remove redundant ref.
598 * test/test-simple.c (unutterable_horror): impl. to force a
603 (impl_accessibility_registry_deregister_application): release
604 the application when we de-register it.
606 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
607 until we have the infastructure to get it right.
609 2001-12-03 Michael Meeks <michael@ximian.com>
611 * libspi/Makefile.am: only build eventlistener.[ch]
613 * libspi/accessible.c
614 (impl_accessibility_accessible_get_child_at_index): don't leak.
616 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
617 before we hit the idle handler.
619 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
622 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
624 * libspi/listener.c (impl_notify_event): check source
625 not NIL before unref.
627 * libspi/registry.c (impl_registry_notify_event): ditto.
629 * libspi/eventlistener.c
630 (impl_accessible_event_notify_event): unref the source.
632 * libspi/accessibleeventlistener.c
633 (impl_accessible_event_notify_event): unref the source.
635 * idl/Event.idl: remove 'hash_id' attribute - of no
638 * libspi/application.c (notify_listeners): upd list
640 (spi_application_object_event_listener),
641 (spi_application_toolkit_event_listener): upd to do correct
645 (_registry_notify_listeners): update.
646 (parse_event_type): this method also leaks like a sieve.
647 (impl_accessibility_registry_deregister_global_event_listener):
648 fix ETYPE_WINDOW case.
650 * libspi/application.c
651 (impl_accessibility_application_register_object_event_listener):
654 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
656 * libspi/hypertext.c (impl_getLink): ditto.
658 * cspi/spi_main.c (cspi_object_add): remove
659 bogus CORBA_Object_duplicate.
661 * cspi/spi-listener-impl.c (cspi_event): dup/ref
664 * cspi/spi_accessible.c
665 (Accessible_getRelationSet): fix leak / referencing issue.
667 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
668 (cspi_object_add, cspi_object_unref): upd.
669 (spi_object_release, get_live_refs): impl.
670 (cspi_cleanup): simplify.
672 * *.[ch]: s/boolean/SpiBoolean/
674 * cspi/spi_accessible.c (role_names): actualy order so it
675 corresponds with the enum !
677 * test/test-simple.c (test_roles): check some role strings
678 vs. enums to detect offset errors.
680 2001-12-01 Michael Meeks <michael@ximian.com>
682 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
684 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
686 (Accessible_getChildAtIndex): use cspi_add_check so we
687 check the ev before using a (possibly) invalid value.
689 * libspi/accessible.c
690 (impl_accessibility_accessible_get_parent): don't segv
693 * at-bridge/bridge.c (gtk_module_init): upd.
694 (bridge_property_event_listener): don't leak strings
696 (bridge_state_event_listener),
697 (bridge_property_event_listener): don't use a static
698 buffer in case of recursive event emission &
699 re-enterancy - split out the swathe of cut and paste
701 (emit_eventv): and fix 2 ref leaks here & comply to the
703 (bridge_register_app): rename to
704 (bridge_idle_init): this and kill arg parsing, split
705 various inits & bonobo-activation registration to module
706 init time, kill referencing error.
707 (bridge_exit_func): fix the same leak.
708 (bridge_focus_tracker): don't leak event structures
710 (bridge_signal_listener): more leakage and cut & paste
712 (bridge_key_listener): return the result - FIXME is
713 this polarity correct ?
714 (accessibility_keystroke_from_atk_key_event): rename
715 (accessibility_init_keystroke_from_atk_key_event): and stop
717 (gtk_module_init): return a value - not that it is checked by
719 (bridge_key_listener): register my horror at casting between
721 (bridge_get_registry): kill - not used.
723 * cspi/spi_accessible.c (Accessible_getRole): make return const.
725 * test/test-simple.c (test_roles): impl.
726 (test_desktop, validate_accessible, validate_tree): impl.
728 * cspi/spi_accessible.c (role_names): fixup bogus
729 MAX_ROLES setup, make constants const for efficient linkage
730 (AccessibleRole_getName): conform to coding style, make
733 2001-11-30 Michael Meeks <michael@ximian.com>
735 * cspi/spi.h: add missing prototype.
737 * libspi/registry.c (spi_listener_struct_new): fix sig.
739 * test/Makefile.am: add test-simple
741 * test/test-simple.c: add
745 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
747 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
748 do it straight - since otherwise we often get an activation race.
750 [ work before Bill duplicated a chunk of it ... ]
751 2001-11-30 Michael Meeks <michael@ximian.com>
753 * libspi/keystrokelistener.c
754 (spi_keystroke_listener_class_init): fixup arg
757 * libspi/eventlistener.c
758 (spi_event_listener_class_init): ditto.
760 * tests/test.sh: add.
762 * cspi/spi-listener-impl.h: update macros.
764 * cspi/spi-listener-impl.c
765 (cspi_event_listener_remove_callback): add
766 correct pre-conditions.
768 * cspi/spi_main.c (SPI_exit): guard vs. double
769 exits, exit the mainloop nicely.
770 (SPI_event_main): make more sense.
771 (SPI_init): move the atexit evilness here so we
773 (SPI_event_main): upd.
775 * test/simple-at.c: update for listener changes.
777 * registryd/registryd.c (main): prune kruft.
779 * libspi/libspi.h: upd.
781 * libspi/eventlistener.[ch]: rename broken macros.
783 * libspi/accessibleeventlistener.[ch]: remove.
785 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
787 * test/test-simple.c: Add - automated tests.
789 * cspi/spi-listener-impl.c (cspi_event),
790 (cspi_key_event): add user_data to invoke.
791 (cspi_keystroke_listener_finalize): impl.
792 (cspi_keystroke_listener_class_init): upd.
795 (createAccessibleEventListener),
796 (AccessibleEventListener_addCallback),
797 (createAccessibleKeystrokeListener),
798 (AccessibleKeystrokeListener_addCallback): upd.
800 * libspi/deviceeventcontroller.c
801 (spi_device_event_controller_check_key_event): add public proto.
804 (impl_accessibility_registry_deregister_global_event_listener):
805 always init listeners.
806 (_registry_notify_listeners): yes it is.
808 * cspi/spi-listener-impl.c (cspi_key_event):
810 (cspi_event_listener_finalize): impl.
811 (cspi_event_listener_class_init): hook up.
812 (event_handler_new, event_handler_free),
813 (event_list_remove_by_callback): impl.
814 (cspi_event_listener_remove_callback),
815 (cspi_keystroke_listener_remove_callback),
816 (cspi_keystroke_listener_add_callback),
817 (cspi_event_listener_add_callback): upd.
819 * libspi/keystrokelistener.c
820 (keystroke_listener_object_finalize): kill
821 (spi_keystroke_listener_class_init): upd.
822 (spi_keystroke_listener_add_callback),
823 (spi_keystroke_listener_remove_callback): kill,
825 (impl_key_event): prune drasticaly.
827 * libspi/eventlistener.c
828 (spi_event_listener_add_callback),
829 (spi_event_listener_remove_callback): kill, use
831 (impl_accessible_event_notify_event): upd.
832 (spi_event_listener_object_finalize): remove.
834 * libspi/Makefile.am: use eventlistener.[ch]
836 2001-12-04 Bill Haneman <bill.haneman@sun.com>
838 * libspi/registry.c (_registry_notify_listeners):
839 Changed listener loop iteration to use preferred convention.
840 Got rid of string memory leaks caused be calling g_strconcat
841 inside function calls.
843 * libspi/registry.c (parse_event_type):
844 Stopped g_strconcat memory leaks, free the g_strsplit return,
845 g_strdup the split pieces when used, etc.
847 2001-12-04 Bill Haneman <bill.haneman@sun.com>
850 Change method 'compare' to return a 'difference set' rather than
851 taking a StateSet as an out parameter (more Java-friendly).
853 * idl/Accessible.idl:
854 Added CORBA struct 'BoundingBox', to faciliate API changes below:
858 Changed methods 'getExtents' and 'getImageExtents' in these
859 interfaces to return a BoundingBox structure.
860 (getPosition and getSize are redundant and possibly should be
861 removed, rather than creating a corresponding Point struct.)
863 * cspi/spi_component.c:
864 Modify implementation of getExtents to reflect the above IDL
869 Add (missing) AccessibleImage_getExtents () API.
871 * docs/reference/cspi/at-spi-cspi-sections.txt:
872 Added AccessibleImage_getImageExtents () to docs.
874 2001-12-03 Bill Haneman <bill.haneman@sun.com>
877 Added two methods, getLayer () and getMDIZOrder (), to reflect
878 the new ATK methods atk_object_get_layer and
879 atk_object_get_mdi_z_order. (Which arguably should be part of the
880 AtkComponent API and AtkObject). Also added an enum,
881 ComponentLayer, for the first method's return value.
883 * libspi/component.c:
884 Added implementations for these methods.
886 * cspi/spi_component.c:
888 Added cspi binding methods for above,
889 AccessibleComponent_getLayer() and
890 AccessibleComponent_getMDIZOrder().
891 Added cspi enum 'AccessibleComponentLayer'.
893 * docs/reference/cspi/at-spi-cspi-sections.txt:
894 Added above methods to docs.
898 Changed typedef for 'boolean' type (and all references to it) to
899 SPIBoolean, to avoid keyword clashes with C++.
902 Changed usages of 'boolean' to SPIBoolean.
904 * test/keysynth-demo.c:
905 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
906 app), except where SPIBoolean is required by the callbacks API.
908 2001-12-02 Bill Haneman <bill.haneman@sun.com>
910 * cspi/spi_registry.c:
911 Removed obsolete X event loop for passive keygrabs (which now
914 * registryd/registryd.c:
915 Removed unnecessary call to gdk_init() [cruft]. This also allows
916 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
919 2001-11-28 Bill Haneman <bill.haneman@sun.com>
921 * docs/reference/cspi:
922 Included docs for SPI_freeString in generated documentation.
925 Renamed spi_freeString to SPI_freeString, for consistency. Added
926 documentation for this function.
929 Renamed spi_freeString to SPI_freeString, for consistency.
930 Removed obsolete method declaration string_from_corba_string.
932 * test/keysynth-demo.c:
933 Small tweak to comments.
936 Stopped leaking the strings returned from CSPI.
938 2001-11-28 Bill Haneman <bill.haneman@sun.com>
940 Merged Michael's branch (see his ChangeLog entries below).
942 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
943 bridge is alive, release on exit.
945 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
946 Fix type check macro.
949 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
952 Added is_gnome_app static, and method cspi_is_gnome_app(),
953 so we can call the appropriate shutdown routine at exit in SPI_exit.
955 * cspi/spi_main.c (cspi_object_ref):
956 Duplicate the corba object passed in, since we're keeping it around.
958 * cspi/SPI_exit.c, cspi_cleanup:
959 Moved the releasing of the live refs to its own function, so we
960 can put it in g_atexit (). Call the appropriate shutdown API
961 depending on whethe calling client is a gnome app or not
962 (bonobo_main_quit or CORBA_ORB_shutdown).
964 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
965 Unref the listener when this method is called, after
966 deregistration. Updated the API docs to note this behavior.
968 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
969 Bugfixes: Ref the bonobo object when returning a parent or child
970 reference, or an AccessibleRelation. Generally made sure
971 BonoboObject refcount is incremented whenever we return an
974 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
975 Fixed typo/bug in signal declaration.
977 * libspi/accessibleeventlistener.h:
980 * libspi/application.c (spi_application_new):
981 Fixed leak in initialization.
984 Remembered to increment bonobo-object refcount when returning
985 children (applications) from desktop object.
986 Added (empty) finalize method.
988 * libspi/deviceeventcontroller.c:
989 Hold a ref to listeners inside DEControllerKeyListeners.
990 Added dec_key_listener_free() method. Use prepend instead of
991 append in key_listener list. Fixed some refcount madness and
992 leaks in the listener registration/deregistration - deregistration
993 now calls dec_key_listener_free() on listeners, and on the
994 temporarily constructed dec_key_listener() used to perform the search/match.
996 * libspi/hypertext.c (spi_hypertest_finalize):
997 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
998 class. Also fixed spi_hypertext_interface_new() and
999 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1001 * libspi/hypertext.h:
1002 Removed pointless and duplicate AtkObject pointer from
1005 * libspi/keystrokelistener.c:
1006 Fixed incorrect type of keystroke_listener_parent_class,
1007 renamed keystroke_listener_object_finalize to
1008 spi_keystroke_listener_object_finalize.
1009 Fixed typo in signal declaration
1010 (spi_keystroke_listener_class_init).
1012 * libspi/registry.c:
1013 Added funcsions spi_listener_struct_new() and
1014 spi_listener_struct_free() to help with memory management issues.
1015 We also now use these methods instead of gnew + poking stuff into
1016 the struct, and to decrement listener counts/free the listeners
1017 when deregistering them.
1018 Fix more refcount bugs in getDesktop() and
1019 getDeviceEventController().
1022 De-ref the desktop after enumerating the applications. Explicitly
1023 decrement the refcounts on the created listeners on exit (using
1024 _unref for keystroke listeners, and via the
1025 deregisterGlobalEventListenerAll command for other event
1028 2001-11-27 Michael Meeks <michael@ximian.com>
1030 * cspi/spi-listener.h: fixup enum.
1032 2001-11-27 Michael Meeks <michael@ximian.com>
1034 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1035 (cspi_keystroke_listener_new): Use the cspi variants.
1037 2001-11-26 Michael Meeks <michael@ximian.com>
1039 * test/keysynth-demo.c: fix 2 compile warnings, missing
1042 * test/simple-at.c (report_focussed_accessible),
1043 (report_focus_event, report_button_press),
1044 (check_property_change, is_command_key),
1045 (report_ordinary_key_event, report_command_key_event): upd.
1047 * util/mag_client.h: include pre-requisites.
1049 * libspi/accessibleeventlistener.c
1050 (spi_event_listener_object_finalize): free any lingering
1053 * libspi/keystrokelistener.c
1054 (keystroke_listener_object_finalize): ditto.
1056 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1057 callbacks, with cspi types.
1059 * cspi/spi_event.c (createAccessibleEventListener): chain to
1060 (AccessibleEventListener_addCallback): here.
1061 (createAccessibleKeystrokeListener): chain to
1062 (AccessibleKeystrokeListener_addCallback): here.
1064 * libspi/keystrokelistener.c
1065 (spi_keystroke_listener_class_init): add signal.
1066 (impl_key_event): emit the event.
1067 (boolean_handled_accumulator): impl.
1068 (marshal_BOOLEAN__POINTER): add, gack.
1070 * libspi/accessibleeventlistener.c
1071 (spi_event_listener_class_init): add signal.
1072 (impl_accessible_event_notify_event): emit the signal &
1073 make the loop efficient.
1074 (spi_event_listener_add_callback): prepend the callback.
1076 * libspi/accessibleeventlistener.h: add an 'event' signal,
1077 decl type on callback.
1079 * libspi/keystrokelistener.h: ditto.
1081 * cspi/spi-listener.h: make methods typesafe and
1082 make them use the new event typedefs.
1084 * test/simple-at.c (report_focussed_accessible):
1085 include mag_client.h
1086 Use *(void *)text_interface not the other thing.
1088 * configure.in: add gtk to registryd bits - since we use
1091 * util/magnifier.c: include libbonobo.h
1093 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1095 * test/keysynth-demo.c:
1096 Turned this into a simple scanning keyboard, to demonstrate the
1097 use of g_timeout_add () as a means of creating timers for
1098 scanning, and the use of GtkStyle for visually indicating when
1099 virtual keyboard elements are selected.
1101 keysynth-demo now listens to any keyboard keys with zero-valued
1102 keycodes (i.e. 'unused' keys) and interprets them as
1105 Reworked the shiftlatch code so that shift-down state isn't held
1106 for long periods (it's only synthesized immediately prior to
1107 the keysynth event it's modifying). Note that shiftlatch in this
1108 demo is a convenience, not intended to take the place of AccessX
1109 which is the better choice for getting 'sticky' modifier keys.
1111 * libspi/deviceeventcontroller.c:
1112 * at-bridge/bridge.c:
1113 * cspi/spi_registry.c:
1114 Removed some debug print stuff, and put other verbosity in #ifdef
1119 Implemented some more of the magnifier IDL for the simple
1120 magnifier: namely, getZoomRegionParams.
1121 Added mag_x and mag_y members to MagnifierData struct, aid of this
1123 Added GtkWindow::realize signal handler to magnifier, to keep it
1124 from receiving keyboard focus from the WM.
1126 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1128 * cspi/spi-private.h: my guess at what michael forgot
1129 before he ran off to NZ :-)
1131 2001-11-23 Michael Meeks <michael@ximian.com>
1133 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1134 comment out non existant method invoke so we link.
1136 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1137 use bonobo_exception_get_text for more friendly warnings.
1139 * cspi/spi.c (Obj_Add): move into spi_main & rename
1140 spi_object_add; kill spi.c
1142 * cspi/spi_registry.c
1143 (deregisterGlobalEventListener),
1144 (deregisterGlobalEventListenerAll),
1145 (registerGlobalEventListener): fix exception leaks.
1147 * cspi/spi_main.c (spi_exception): impl. helper, so we
1148 don't leak exceptions.
1150 * cspi/spi_selection.c
1151 (AccessibleSelection_deselectSelectedChild): return the
1154 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1155 (spi_registry): ditto.
1156 (SPI_init): guard against double inits.
1158 * cspi/*.c: use spi_ev (), and spi_registry () where
1159 appropriate - a temporary hack until we have something
1160 better. Use spi_object_add
1162 2001-11-22 Michael Meeks <michael@ximian.com>
1164 * cspi/Makefile.am: re organise, install the headers.
1166 * cspi/*.h: add G_BEGIN/END_DECLS
1168 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1171 Added non-preemptive keylistener for key events with no modifiers
1172 and shift-only modifier.
1174 * libspi/keystrokelistener.c:
1175 Removed some verbose diagnostics printout.
1177 * cspi/spi_registry.c:
1178 Fixed a bug that caused all key listeners to be registered as
1181 * libspi/deviceeventcontroller.c:
1182 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1183 for non-preemptive key masks.
1186 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1188 * docs/reference/idl/at-spi-idl-docs.sgml:
1189 * docs/reference/idl/at-spi-idl-sections.txt:
1190 * docs/reference/idl/at-spi-idl-overrides.txt:
1191 Added missing files.
1193 * docs/reference/Makefile.am:
1194 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1195 to scan the IDL files :-(
1200 Added .cvsignore files.
1202 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1204 * libspi/deviceeventcontroller.c:
1205 * libspi/keystrokelistener.c:
1207 * cspi/spi_registry.c:
1208 Added filters for KeySets, KeyEventSeq, and event types to key
1209 event dispatching, so listeners should only receive those events
1210 that they requested :-)
1212 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1217 * docs/reference:Makefile.am:
1218 * docs/reference/cspi:
1219 * docs/reference/cspi:Makefile.am:
1220 * docs/reference/cspi:tmpl:
1221 * docs/reference/cspi:tmpl:*.sgml:
1222 * docs/reference/idl:
1223 * docs/reference/idl:Makefile.am:
1224 * docs/reference/idl:at-spi-idl-sections.txt:
1225 * docs/reference/idl:at-spi-idl-docs.sgml:
1226 * docs/reference/idl:tmpl:
1227 * docs/reference/idl:tmpl:*.sgml:
1229 Restructured docs directory to allow separate 'reference' docs
1230 section, and forked idl and cspi docs. Added the sgml template
1231 files to CVS. Added the first sections/structural sgml for the
1234 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1236 * configure.in, libspi/Makefile.am: find libXtst.
1238 2001-11-21 Michael Meeks <michael@ximian.com>
1240 * test/accessx-gui.c: s/spi_value/value/ - doh.
1242 * libspi/base.[ch]: add.
1244 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1246 * idl/Accessible.idl:
1247 * idl/Application.idl:
1250 Started gtk-doc cleanup on IDL.
1252 * libspi/deviceeventcontroller.c:
1253 Added and connected non-preemptive key notification from the
1254 toolkits (in addition to the pre-emptive support from XServer
1255 which we had before, but which causes 'focus flashing'). Filters
1256 are presently limited to key modifiers and global/non-global,
1257 KeySets are presently ignored, as are KeyEvent masks.
1259 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1260 structs into the persistant structure rather than just storing
1261 pointers to things that might not persist across servant
1264 The XGrabKey call now does async keygrabs, because synchronous
1265 ones were deadlocking with GDK_event code in a very nasty way.
1267 Added boolean to internal method notify_keylisteners, to indicate
1268 whether the event came from the 'toolkit source' or the 'global
1269 (XServer) source' - this is used in the notification process to
1270 determine which listeners to send the event to.
1272 deviceeventcontroller.c is now warning-free.
1274 * libspi/registry.c:
1275 Fixed regression in application de-registration.
1276 Also fixed some really brain-dead weirdness having to do with
1277 event dispatching - event structs are now duplicated before being
1278 re-marshalled in the dispatch to listeners. This also fixes a
1279 Solaris build problem.
1282 2001-20-11 Michael Meeks <michael@ximian.com>
1285 (impl_accessibility_registry_deregister_global_event_listener):
1288 * libspi/deviceeventcontroller.c
1289 (spi_device_event_controller_check_key_event): return
1290 FALSE on no virtual method.
1292 * libspi/*..h: make includes work on a correctly pathed install.
1294 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1296 * libspi/application.h: kill unused ( and whacked out )
1297 gboolean *spi_application_set_id (AtkObject *app, long id);
1299 2001-20-11 Michael Meeks <michael@ximian.com>
1301 * libspi/*.[ch]: further convert to bonobo's type func
1302 macros, remove redundnant casts etc.
1304 * libspi/text.c s/accessibility_text/spi_text/g,
1305 re-order to de-cruft.
1307 * libspi/hypertext.c: re-order to kill a huge slew
1308 of redundant forward decls.
1310 * libspi/relation.c: ditto.
1312 * libspi/image.c: ditto.
1314 * */.cvsignore: update
1316 2001-20-11 Michael Meeks <michael@ximian.com>
1318 * libspi/deviceeventcontroller.c
1319 (_controller_register_with_devices): use g_getenv,
1320 kill stdlib.h include.
1322 * libspi/keystrokelistener.c
1323 (spi_keystroke_listener_get_type): kill
1324 (spi_keystroke_listener_class_init),
1325 (spi_keystroke_listener_init): rename to this.
1327 * libspi/text.c (impl_getAttributes): fix warning / bug.
1329 * libspi/*.[ch]: more headers, includes and over commenting.
1331 2001-20-11 Michael Meeks <michael@ximian.com>
1333 * libspi/*.[ch]: fixup headers, includes and over commenting.
1335 * libspi/image.c (impl__get_imageDescription): const
1336 correctness warning fix. remove redundant casting.
1338 * libspi/table.c (impl_getRowDescription): ditto.
1339 (impl_getColumnDescription): ditto.
1341 * libspi/libspi.h: add.
1343 2001-19-11 Michael Meeks <michael@ximian.com>
1345 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1347 * libspi/component.c (accessibility_component_get_type):
1348 rename to (spi_component_get_type): and macroify.
1349 (accessibility_component_init): rename to
1350 (spi_component_init): this
1351 (accessibility_component_class_init): rename to
1352 (spi_component_class_init): this
1354 * libspi/action.c (spi_action_get_type): kill, use the macro.
1356 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1359 * libspi/application.c (spi_application_object_event_listener),
1360 (impl_accessibility_application_register_object_event_listener):
1361 warning fixes / const understanding updates.
1363 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1366 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1368 * libspi/spi_accessible.c: Added docs and C bindings for
1369 AccessibleStateSet. (No implementations yet). Documentation
1370 coverage for C bindings now 100%. Made docs for event listeners
1375 boolean notifyListenersSync (in DeviceEventListener listener,
1376 in DeviceEvent event);
1378 oneway void notifyListenersAsync (in DeviceEventListener listener,
1379 in DeviceEvent event);
1381 Added DeviceEventListener and DeviceEvent structs (may deprecate
1382 KeyStroke and KeystrokeListener in favor of this generic
1383 event/listener framework for devices).
1385 * libspi/deviceeventcontroller.c:
1387 Changed some key listener code to take masks, etc., and paved the
1388 way for integration of toolkit/non-preemptive key events. Changed
1389 signatures of some internal methods.
1391 * at-bridge/bridge.c:
1392 Fixed regression connecting to interface signals, apparently
1393 caused by GTK+ changes.
1395 Added an internal bridge_state_listener to deal with
1396 property-change:accessible-state signals.
1398 Changed the key_listeners GList to store structs (including masks,
1399 etc.) instead of just CORBA_Objects (required for full
1400 implementation of key listener API).
1402 Connected the bridge to all currently supported Atk signals.
1403 Events now supported:
1404 object:property-change
1405 object:property-change:accessible-name
1406 object:property-change:accessible-state
1407 object:property-change:accessible-description
1408 object:property-change:accessible-parent
1409 object:property-change:accessible-value
1410 object:property-change:accessible-role
1411 object:property-change:accessible-table-caption
1412 object:property-change:accessible-table-column-description
1413 object:property-change:accessible-table-column-header
1414 object:property-change:accessible-table-row-description
1415 object:property-change:accessible-table-row-header
1416 object:property-change:accessible-table-summary
1417 object:children-changed
1418 object:visible-data-changed
1419 object:selection-changed
1420 object:text-selection-changed
1422 object:text-caret-moved
1424 object:row-reordered
1426 object:column-inserted
1427 object:column-reordered
1428 object:column-deleted
1429 object:model-changed
1431 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1433 * libspi/hyperlink.c,h:
1434 Fixed some broken stuff in hyperlink.
1436 * libspi/relation.h:
1437 * libspi/relation.c:
1438 * cspi/spi_accessible.c:
1439 Initial implementations of AccessibleRelation methods, and docs.
1441 * libspi/accessible.c:
1442 Fixed a bug that caused SEGV if an accessible
1443 object's description is NULL, and a client
1444 requests it. An empty string is now returned.
1446 * cspi/spi_editabletext.c:
1447 * cspi/spi_hypertext.c:
1449 * cspi/spi_hyperlink.c:
1453 Doc coverage now 95%.
1455 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1457 One last namespacing revision:
1458 * libspi/accessibleeventlistener.[ch]:
1459 Renamed SpiAccessibleEventListener to SpiEventListener,
1460 (no need for two namespaces ;-)
1462 And lots of documentation fixes:
1464 * docs/at-spi-docs.sgml:
1465 Fixed 'underscore vs. hyphen' bug that was preventing
1466 the gtk-doc API docs from being automatically generated.
1469 * cspi/spi-listener.h
1471 * cspi/spi_accessible.c
1473 * cspi/spi_application.c
1474 * cspi/spi_component.c
1475 * cspi/spi_editabletext.c
1477 * cspi/spi_hypertext.c
1479 * cspi/spi_registry.c
1480 * cspi/spi_selection.c
1484 * docs/at-spi-docs.sgml
1485 * docs/at-spi-sections.txt
1487 Added and fixed up gtk-doc documentation in cspi.
1489 Interfaces now (fully) documented (subject to revision and enhancement):
1491 Event Listener Support
1493 AccessibleApplication
1497 AccessibleEditableText
1504 AccessibleRelationSet
1509 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1511 * at-bridge/bridge.c:
1512 Initial work for toolkit-level key snooper connection by bridge.
1517 New typedefs and fixes to support new namespacing, and cleaner
1518 separation of cspi bindings from libspi bonobo implementation.
1519 Removed inconsistent and extraneous Spi* namespace prefix that
1520 had crept into cspi headers.
1521 Lots of comment fixes that sed had missed.
1523 * cspi/spi-roletypes.h:
1524 * cspi/spi-statetypes.h:
1525 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1526 to AccessibleRoleType.
1528 * libspi/accessibleeventlistener.h:
1529 Fixed minor namespacing weirdness.
1531 * libspi/deviceeventcontroller.c:
1532 Reordered some internal API for device listeners.
1533 Changed the key registry final boolean to 'is_system_global'
1534 rather than 'is_synchronous', which is more descriptive of its
1536 Added spi_device_event_controller_new().
1537 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1539 * libspi/keystrokelistener.[ch]:
1540 Namespaced KeystrokeListener to SpiKeystrokeListener.
1541 Changed uses of keymasks to use SPI_ prefix, and did other
1544 * libspi/keymasks.h:
1545 Namespaced keymask constants with SPI_ prefix.
1547 * libspi/registry.c:
1548 Some warning fixes, and knock-on fixes from namespace changes.
1551 Added rules for accessx-gui test program.
1553 * test/accessx-gui.c:
1554 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1555 utility. It doesn't actually use at-spi, but it's still cool and
1558 * test/keysynth-demo.c:
1562 Fixes so that these test clients work properly with the namespaced
1563 libraries. (Incompletely tested for technical reasons, fixes may follow)
1566 2001-13-11 Michael Meeks <michael@ximian.com>
1568 * libspi/application.c
1569 (impl_accessibility_application_get_version),
1570 (impl_accessibility_application_get_toolkit_name):
1572 (impl_accessibility_application_set_id),
1573 (impl_accessibility_application_get_id): remove
1574 redundant casting code.
1576 * libspi/action.c (impl_getDescription): fix warnings.
1578 * libspi/accessible.c
1579 (impl_accessibility_accessible_get_parent),
1580 (impl_accessibility_accessible_get_child_at_index),
1581 (impl_accessibility_accessible_get_state),
1582 (impl_accessibility_accessible_get_relation_set):
1583 warning fixes & include action.h
1585 2001-13-11 Michael Meeks <michael@ximian.com>
1587 * *.[ch] fix bits I screwed up:
1589 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1590 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1592 2001-13-11 Michael Meeks <michael@ximian.com>
1594 * *.[ch] Namespace libspi into spi_ and Spi.
1596 2001-13-11 Michael Meeks <michael@ximian.com>
1598 * Makefile.am: dist & install at-spi-1.0.pc
1600 * libspi/Makefile.am: install into at-spi-1.0
1602 * idl/Makefile.am (idldir): install into at-spi-1.0
1604 * at-spi-1.0.pc.in: add.
1606 * configure.in: build it.
1608 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1610 * test/keysynth-demo.c:
1611 Use a 'realize' signal-handler to set the WM properties for
1612 the virtual keyboard, rather than making it a "POPUP" type
1613 override-redirect window (thanks to anders carlsson for that
1616 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1619 * test/keysynth-demo.c:
1620 Added new test of key synthesis, which creates a simple
1621 (mouse-operated) onscreen keyboard. It inserts key events into
1622 the currently-focused window, thus it does not grab keyboard focus
1625 * cspi/spi_registry.c:
1626 Added C binding for AT-SPI generateKeyEvent.
1628 * libspi/deviceeventcontroller.c:
1629 Added call to XFilterEvent so that key listener works with XIM (we
1630 hope). Added event_synth_type to generateKeyEvent, so that we can
1631 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1632 synthesize a press/release pair for KeySyms.
1634 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1636 * libspi/Makefile.am:
1637 * registryd/Makefile.am:
1638 (temporary) hack to include libXtst in libspi and registryd.
1639 (Needed for keystroke synthesis, see below).
1642 Improved API for registerKeystrokeListener, in accordance with
1643 discussions with Gnopernicus team and X server research.
1645 * libspi/registry.c:
1646 * libspi/deviceeventcontroller.c:
1647 * libspi/accessible.c:
1648 * libspi/keystrokelistener.c:
1649 Changes and fixes to support keylisteners for potentially
1650 consumed key events (that is, 'passive grabs').
1651 Added implementation for generateKeyEvent() [untested].
1654 Changes to registerKeystrokeListener() API, as above.
1655 Added deregisterGlobalEventListenerAll(), and
1656 deregisterKeystrokeListener(), which are needed for clean exit of
1658 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1659 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1661 * cspi/spi_registry.c:
1662 Added implementations of function prototypes mentioned above.
1664 * registryd/registryd.c:
1665 Added the key listener event source as a g_timeout(), to allow
1666 receipt of key events that are not caught by GDK (since GDK
1667 doesn't support passive keygrabs, this was necessary).
1670 Changed to attach a keylistener to 'Alt' keys, and
1671 respond to the following keycommands: Alt-M (toggle magnifier);
1672 Alt-F (toggle speech); Alt-Q (quit).
1673 Added an exit routine to deregister the listeners, and a key
1674 listener that prints some key info to the console when a key
1675 matches the listener mask (and is thus received by the listener).
1677 * util/idl/Magnifier.idl:
1678 Changes to magnifier API to support multiple zoom regions,
1679 non-uniform scaling in x and y, markDirty, and a host of other
1680 features that would be useful to magnification.
1683 * util/mag_client.c:
1684 * util/mag_client.h:
1685 * util/mag_control.c:
1687 Source code changes to support the above IDL changes.
1690 As above, and also changes to use a (slower) generic conversion
1691 path for colormap conversions, since the fast RGB conversions have been
1692 reported to fail for 16-bit displays.
1694 2001-10-26 Michael Meeks <michael@ximian.com>
1696 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1698 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1700 * at-bridge/Makefile.am: fix LDFLAGS.
1702 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1704 * at-bridge/bridge.c:
1705 Re-worked listeners for toolkit events, now we have signal
1706 and property listeners. Added a private method
1707 register_atk_event_listeners(), which registers with the
1708 various atk and gtk signals we need to monitor in order to emit
1710 Added emission hook for AtkObject:property-change events, to
1711 support the 'property listeners'.
1712 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1715 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1716 which emit warnings and exit, respectively, if CORBA errors occur
1717 during remote calls, and we now use these methods to check most of
1718 our CORBA calls in the C bindings.
1720 * cspi/spi_accessible.c:
1721 Changed AccessibleSelection_refSelectedChild() to
1722 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1723 now increment refcounts.
1725 * cspi/spi_component.c:
1726 Fixed some long pointer casts (dangerous!) to pass pointers to
1727 CORBA_longs of the proper type to the CORBA stubs, and copy the
1728 data into the longs that were passed into the C bindings code.
1730 * at-bridge/bridge.c:
1732 * libspi/accessible.c:
1733 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1734 hyperlinks, AtkHyperlink is an object type.
1736 * libspi/application.c:
1737 Added various conversions to and from "generic" event types and
1738 atk-specific types; this is really part of the 'bridge'
1739 implementation but is valid for all AtkObject-based accessibility
1742 * libspi/editabletext.c:
1743 Fixed nasty bug wherein editable text's finalize method was
1744 unref'ing tha AtkObject reference that the text parent class was
1745 about to unref _again_. There was also a nasty inheritance bug
1746 that meant that the AccessibleEditableText class was corrupt.
1748 * libspi/selection.c:
1749 Provided implementations for some selection API that was broken.
1751 * idl/Application.idl:
1752 Added registerObjectEventListener () method.
1755 Fixed a number of return values that were Bonobo_Unknowns from
1756 bonobo_object_corba_objref(), which I
1757 forgot to dup before returning. Changed instances of
1758 bonobo_object_corba_objref (bonobo_object(o)) to
1759 BONOBO_OBJREF(o), for concision and clarity.
1761 <2001-10-13 Louise Miller <louise.miller@sun.com>
1763 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1764 idl/Event.idl, idl/Registry.idl
1765 Changed these files to include Bonobo_Unknown.idl instead
1768 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1770 * libspi/component.c libspi/component.h:
1771 Fixed typo. Added assertions for object checks in
1772 AccessibleComponent code.
1774 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1776 * idl/Accessible.idl:
1777 Added 'isEqual (Accessible *object)'
1778 method for Accessible. (Not Yet Implemented).
1781 Changed signature of registerKeystrokeListener() to
1782 take a KeySet and KeyEventSeq so that specific keys and event
1783 types could be requested for monitoring, and added a flag
1784 is_synchronous so that either synchronous or asynchronous
1785 notification could be requested. (However this is not all
1786 implemented yet). This also meant adding two new typedefs,
1787 KeyEventSeq and KeySet.
1790 Added two new relations, RELATION_TOOLTIP_FOR and
1791 RELATION_LEAFNODE_OF.
1794 Added new state, STATE_HAS_TOOLTIP.
1796 * libspi/text.c, editabletext.c:
1797 Added new assertions to all casts of bonobo-objects from
1798 CORBA servants, to prevent Text API calls on non-text objects.
1799 Changed suspect casts of int-pointer types, so that we
1800 always send a valid CORBA_long pointer to the CORBA APIs that use
1801 in/out long parameters. We then have to copy from the CORBA_long
1802 into the regular long or int for return to the C bindings, or
1803 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1806 * libspi/deviceeventcontroller.c:
1807 Cleaned these sources up.
1809 Changed return type for getCharacterAtOffset to
1810 CORBA_unsigned_long, to allow for 32-bit characters.
1813 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1817 Fixed 'make dist' so that distro compiles...
1818 * libspi/keymasks.h:
1820 * cspi/spi-listener.c:
1821 KeystrokeListenerCB now returns a boolean.
1823 Added KeyEventType struct, and KeyStroke.
1824 Also added createKeystrokeListener(),
1825 KeystrokeListener_addCallback(),
1826 KeystrokeListener_removeCallback(), and added a keymask to
1827 registerKeystrokeListener().
1828 * cspi/spi_accessible.c:
1829 Changed numerous return types for interfaces from
1830 AccessibleComponent to Accessible<InterfaceName>; this was
1831 probably a cut-and-paste error.
1833 Implementations of new KeystrokeListener api (from spi.h,
1836 Changes to key modifier mapping.
1837 Created ControllerEventMask struct.
1838 Made DeviceEventController derive from Bonobo::Unknown.
1840 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1841 * libspi/deviceeventcontroller.c:
1842 Added a number of new internal (private) methods.
1843 * libspi/editabletext.c:
1844 * libspi/editabletext.h:
1845 Fixed a number of bugs related to the fact that
1846 editabletext inherits from text. Fixed the EditableText struct,
1847 the init() call, and use correct casts when calling Text methods
1848 from an EditableText object. Removed (duplicate) atko from the
1849 EditableText structure, we use the one in the parent Text
1850 structure via the casts mentioned above.
1851 * libspi/keystrokelistener.[ch]:
1852 * libspi/registry.c:
1853 Changes in support of keyboard handling (above).
1855 Keyboard handling, though partly functional, is still not
1856 recommended for at-spi client use as there is considerable
1857 work yet to be done.
1860 Changed some places where pointers to various int types
1861 are cast to be pointers to CORBA_long types and vice-versa:
1862 pointer casting is not safe so we pass pointers of the correct
1863 types and then cast the result before putting it into the target
1866 * libspi/text.h: minor typos corrected.
1868 We now speak not only the name of a Text element, but the
1869 first sentence of its content, when it receives focus.
1870 I also changed the text compression to 75% from 50%.
1871 * util/Accessibility_Util.server.in:
1872 Changed the default magnifier type to be a 3x vertical
1873 splitscreen magnifier (was previously a 2x horizontal one).
1875 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1877 * libspi/keystrokelistener.h:
1878 * libspi/keystrokelistener.c:
1879 Initial functional implementations of KeystrokeListener.
1882 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1884 Fixed string handling for NULL strings in libspi.
1885 Added spi_freeString to free strings returned by C bindings.
1887 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1889 * libspi/keystrokelistener.h:
1890 * libspi/keystrokelistener.c:
1891 Began (no-op) implementations of KeystrokeListener
1893 * libspi/deviceeventcontroller.c:
1894 * libspi/deviceeventcontroller.h:
1895 Began creating implementations of DeviceEventController,
1896 to handle keystroke and mouse event listening and
1898 * libspi/accessible.c:
1899 Stubbed-in the implementations for
1900 Accessibility_Accessible_getState and
1901 Accessibility_Accessible_getRelationSet.
1902 * libspi/registry.c:
1903 Improved de-registration process and fixed some bugs,
1904 deregistration now works correctly.
1906 Added initialization of applications list (to NULL).
1908 Reduced speech compression from 0.5 to 0.7, for demo.
1909 Changed call to gdk_window_set_decorations()
1910 to gtk_window_set_decorated().
1911 * at-bridge/bridge.c:
1912 Bridge now deregisters when app exits, via
1913 registration of a cleanup function
1914 with the g_atexit() call.
1915 Required making 'app' static, renamed 'this_app'.
1916 Fixed broken use of bonobo_init, passing argv wrongly.
1918 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1922 Created a new directory for
1923 accessibility-related utilities, primarily for
1924 testing and demo purposes, but with possible
1931 Onscreen magnifier utility that
1932 is implemented as a bonobo service.
1934 * util/mag_client.c:
1935 * util/mag_client.h:
1936 Client-side support (simple C bindings)
1937 for Magnification service
1939 * util/mag_control.c:
1940 Client program example for
1941 Magnification service
1943 * util/Accessibility_Magnifier.server.in:
1944 Bonobo-activation file for the
1945 Magnification service.
1948 * util/idl/Magnifier.idl:
1949 IDL defining the bonobo Magnification
1953 Modifications to use the bonobo-activated magnifier
1954 above, in place of trying to connect to an existing
1955 magnifier that uses socket-listening IPC.
1957 If env variable MAGNIFIER is set, a magnifier service
1958 will be started if one does not exist.
1960 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1961 * at-bridge/bridge.c:
1962 applied patch from Marc to build and run
1963 against new glib and gtk+ (seemed like a change
1964 to bonobo_init signature was made ?)
1966 made festival-server support turned off by default.
1967 Added support for a simple magnifier (off by default)
1968 which will be added to a 'util' directory later.
1969 * at-bridge/Makefile.am:
1970 Changed "application.h" header from a 'source'
1971 to a 'dependency' of libat-bridge.
1973 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1981 Added interface implementation c files to list of
1982 includes so they are included in libcspi.
1985 Changed prototype of AccessibleAction_doAction to return a
1987 Changed prototype of AccessibleTable_getCaption to
1988 return an Accessible.
1989 Changed prototype of AccessibleTable_getSelectedRows
1990 and AccessibleTable_getSelectedColumns to
1991 return a long (returns the number of selected rows
1992 or columns respectively).
1993 Changed name of AccessibleText_refRunAttributes to
1994 AccessibleText_getAttributes.
1995 Changed prototype of AccessibleText_getCharacterExtents to
1996 return a void rather than a boolean.
1997 Added support for a AccessibleCoordType parameter
1998 specifying what type of coordinates are desired.
1999 Added an AccessibleCordType parameter to
2000 AccessibleText_getPointAtOffset.
2002 * cspi/spi_accessible.c:
2003 Added code to return the outstanding interfaces from
2004 Accessible_queryInterface.
2006 * cspi/spi_action.c:
2008 Corrected call to getNActions to call the c binding
2011 * cspi/spi_editabletext.c:
2013 Changed name from setRunAttributes to setAttributes.
2015 * cspi/spi_hyperlink.c:
2017 Changed call to getNAnchors to correctly call the c
2018 binding for an attribute.
2020 * cspi/spi_hypertext.c:
2022 Changed getImageDescription to correctly call the
2023 binding for an attribute.
2025 * cspi/spi_selection.c:
2026 Changed getNSelectedChildren to correctly call the c
2027 binding for the attribute.
2028 Changed refSelectedChild to getSelectedChild.
2032 Changed getCaption to return an Accessible.
2033 Fixed calls which retrieve attributes.
2034 Changed refAt to getAccessibleAt.
2035 Changed getNSelectedRows and getNSelectedColumns to
2039 Changed getCharacterExtents and getPointAtOffset to accept an
2040 AccessibleCoordType.
2042 Changed calls which retrieve attributes.
2043 Changed refRunAttributes to getAttributes.
2048 * idl/Hyperlink.idl:
2049 Changed n_anchors attribute to nAnchors to keep naming
2050 convention consistent.
2053 Made Table inherit from Bonobo::Unknown.
2054 Added nSelectedColumns and nSelectedRows attributes.
2057 Made Value inherit from Bonobo::Unknown.
2059 * libspi/hyperlink.c:
2060 Change for nAnchors attributte name change.
2062 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2070 Added interface implementation c files to list of
2071 includes so they are included in libcspi.
2074 Changed prototype of AccessibleAction_doAction to return a
2076 Changed prototype of AccessibleTable_getCaption to
2077 return an Accessible.
2078 Changed prototype of AccessibleTable_getSelectedRows
2079 and AccessibleTable_getSelectedColumns to
2080 return a long (returns the number of selected rows
2081 or columns respectively).
2082 Changed name of AccessibleText_refRunAttributes to
2083 AccessibleText_getAttributes.
2084 Changed prototype of AccessibleText_getCharacterExtents to
2085 return a void rather than a boolean.
2086 Added support for a AccessibleCoordType parameter
2087 specifying what type of coordinates are desired.
2088 Added an AccessibleCordType parameter to
2089 AccessibleText_getPointAtOffset.
2091 * cspi/spi_accessible.c:
2092 Added code to return the outstanding interfaces from
2093 Accessible_queryInterface.
2095 * cspi/spi_action.c:
2097 Corrected call to getNActions to call the c binding
2100 * cspi/spi_editabletext.c:
2102 Changed name from setRunAttributes to setAttributes.
2104 * cspi/spi_hyperlink.c:
2106 Changed call to getNAnchors to correctly call the c
2107 binding for an attribute.
2109 * cspi/spi_hypertext.c:
2111 Changed getImageDescription to correctly call the
2112 binding for an attribute.
2114 * cspi/spi_selection.c:
2115 Changed getNSelectedChildren to correctly call the c
2116 binding for the attribute.
2117 Changed refSelectedChild to getSelectedChild.
2121 Changed getCaption to return an Accessible.
2122 Fixed calls which retrieve attributes.
2123 Changed refAt to getAccessibleAt.
2124 Changed getNSelectedRows and getNSelectedColumns to
2128 Changed getCharacterExtents and getPointAtOffset to accept an
2129 AccessibleCoordType.
2131 Changed calls which retrieve attributes.
2132 Changed refRunAttributes to getAttributes.
2137 * idl/Hyperlink.idl:
2138 Changed n_anchors attribute to nAnchors to keep naming
2139 convention consistent.
2142 Made Table inherit from Bonobo::Unknown.
2143 Added nSelectedColumns and nSelectedRows attributes.
2146 Made Value inherit from Bonobo::Unknown.
2148 * libspi/hyperlink.c:
2149 Change for nAnchors attributte name change.
2152 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2154 implementations-- made server implementations own AtkObject pointers
2155 rather than their respective AtkInterrface pointers to fix
2156 refcounting. AtkHyperlink is still broken.
2158 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2159 * cspi/spi_accessible.c:
2160 Added method Accessible_Role_getName(),
2161 and requisite string array (role_names).
2162 Added conversion string_from_corba_strin() call
2163 to Accessible_getName and _getDescription.
2164 * libspi/accessible.c:
2165 Added implementation for Accessible_getRole()
2167 Added festival support, used if environment variable
2170 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2172 * at-bridge/bridge.c:
2173 Now allocate Accessibility_Event using
2174 Accessibility_Event__alloc() instead of g_new0().
2175 * libspi/accessibleeventlistener.c:
2176 Initialize AccessibleEventListener->callbacks to NULL.
2177 Fixed accessible__event_listener_init() param, changed to
2178 "AccessibleEventListener *" type.
2179 Changed a bonobo_object_release_unref() call to
2180 Accessibility_Accessible_unref().
2181 * libspi/listener.c:
2182 Changed Bonobo_Unknown_unref to (equivalent)
2183 Accessibility_Accessible_unref.
2184 * libspi/registry.c:
2185 Changed bonobo_object_release_unref to
2186 Accessibility_Accessible_unref.
2188 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2191 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2192 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2193 spi-util.c spi-util.h
2194 Implementations for C bindings to remaining accessibility
2197 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2200 changed return value of Action from void to boolean to
2201 bring in line with ATK.
2204 Changed getText funcions to return "out" start and end offsets.
2205 Changed getAttributes to take and offset and return the start
2206 and end offset of the attribute run.
2207 Changed getOffsetAtPoint and getCharacterExtents to take an
2208 enum describing whether coordinates are window or screen.
2211 libspi/action.c libspi/action.h libspi/editabletext.c
2212 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2213 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2214 libspi/image.h libspi/selection.c libspi/selection.h
2215 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2216 libspi/value.c libspi/value.h
2217 Added server implementations for outstanding ATK interfaces
2218 not yet implemented.
2220 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2223 Added (missing) getName() method.
2224 Made nActions an attribute.
2225 * idl/EditableText.idl:
2226 Changed order of params in setAttributes.
2227 * idl/Hyperlink.idl:
2228 Removed getAnchor, added getURI.
2230 Changed attributes to methods, for efficiency
2231 (so that getting extents can be done in one call)
2232 * idl/Selection.idl:
2233 Changed nSelectedChildren to attribute, and re-indented.
2234 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2236 * idl/Text.idl: reformatted to match our coding style.
2237 (temporarily?) removed getRowColumnAtOffset().
2238 Changed text selection API to support multi-select and
2239 non-contiguous selections, as in ATK.
2240 * idl/Value.idl: changed some methods to attributes.
2242 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2244 * libspi/listener.c(impl_notify_event):
2245 BonoboUnkown_unref the source instead
2246 of bonobo_object_release_unref - the ORB
2247 handles the releasing.
2249 * configure.in: require ORBit-2.3.94 for
2252 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2254 Tagged CVS repository 'EA_1_0'.
2255 * README.EARLY_ACCESS:
2256 Alphabetized acknowledgements list, and
2258 Listed some known dependencies of at-spi.
2260 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2262 * docs/at-spi-docs.sgml:
2263 * docs/at-spi-sections.txt:
2264 * docs/at-spi-overrides.txt: (Added zero-length file)
2265 Documentation improvements - gtk-doc should build
2266 docs for all implemented C bindings now.
2269 * cspi/spi.c: (New file)
2270 * cspi/spi_event.c: (New file)
2271 * cspi/spi_registry.c: (New file)
2272 * cspi/spi_accessible.c: (New file)
2273 * cspi/spi_application.c: (New file)
2274 * cspi/spi_component.c: (New file)
2275 Split spi_main.c into six parts, and included them from
2276 "spi.c". This is a bit of a hack, probably temporary,
2277 but required by gtk-doc, apparently.
2279 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2282 * docs/at-spi-docs.sgml:
2283 * docs/at-spi-sections.txt:
2285 Initial checkins/modifications for gtk-doc generation.
2288 Added (missing) interface query methods to Accessible's C binding.
2290 Added GenericInterface type definition.
2292 Added query for AccessibleComponent interface to focus event handler.
2293 Added printout of bounding box for focussed component.
2294 * libspi/component.c:
2295 Added partial implementation for AccessibleComponent to C binding.
2296 * idl/Application.idl:
2297 * libspi/registry.c:
2298 * libspi/listener.c:
2299 * libspi/application.c:
2300 * libspi/application.h:
2301 Changed "ID" attribute type from string to long.
2303 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2307 Made method naming consistent: methods taking object args
2308 start with uppercase, other methods (except those using
2309 acronyms) start with lowercase. Underscores delimit between
2310 object names and method names:
2311 SPI_init() - uppercase since it starts with an acronym.
2312 getDesktopCount () - lowercase start since no object param0.
2313 Accessible_getName() - uppercase object type name, studlyCaps method
2317 Added gtk-doc documentation for all currently implemented
2318 methods in the C bindings API.
2320 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2322 * Makefile.am : changed build order to build test last.
2325 Changed "createEventListener" to "CreateEventListener".
2326 * libspi/accessibleeventlistener.c :
2327 Bugfix for addition of callbacks.
2328 * test/Makefile.am :
2329 * test/simple-at.c :
2330 Added new test that uses the C bindings API.
2332 * libspi/listener.c :
2333 * libspi/registry.c :
2334 * libspi/accessibleeventlistener.c :
2335 * at-bridge/bridge.c :
2336 Renamed member "target" of Accessibility_Event to "source",
2337 which is more descriptive.
2340 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2344 * cspi/Makefile.am :
2345 Added makefile support for at-spi/cspi directory.
2348 * cspi/spi-listener.h : (NEW FILE)
2349 Added support for/use of spi-listener.h.
2351 C bindings now build successfully, with no warnings.
2352 * libspi/accessibleeventlistener.h : (NEW FILE)
2353 * libspi/accessibleeventlistener.c : (NEW FILE)
2354 * libspi/Makefile.am :
2355 Added new object type "AccessibleEventListener"
2356 which inherits from Listener, and allows attachment
2357 of in-process callbacks (so that a client with a listening
2358 object instance can add functionality to the local
2359 implementation, dynamically).
2361 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2363 * libspi/accessible.c:
2364 Add implementation for get_index_in_parent().
2366 Added #include of "spi-roletypes.h", and
2367 added enumerated type AccessibleCoordType.
2368 Added definition for KeystrokeListener (function type).
2371 * cspi/spi-statetypes.h :
2372 * cspi/spi-roletypes.h :
2374 Added these headers, used by spi.h.
2376 Added code (NOTE: not yet built by make).
2378 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2380 * libspi/Makefile.am: generate imodule
2381 at the same time as other idl compiler
2384 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2385 * libspi/registry.c :
2386 * libspi/application.c :
2387 * idl/Application.idl :
2388 Made registration with toolkit an application method,
2389 which is required since each app has its own toolkit static
2390 environment. Thus the bridge must register for
2391 notification of toolkit events from each application in turn.
2392 Toolkit notifications are now successfully registered for, and
2393 sent to the listening at client.
2395 Changed toolkit event string to use hyphens rather than underscores.
2396 * libspi/listener.c :
2397 listner now gives more info in debug mode - it reports the
2398 name of the event received, as well as the name of the source.
2401 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2403 * libspi/registry.c :
2404 added more implementation for toolkit events.
2405 Fixed bug such that toolkit event registrations
2406 (via atk) use the whole event name string, not
2408 Removed a useless call to an ORBit_ method.
2409 * at-bridge/bridge.c :
2410 Removed unused local sbuf[] variable.
2412 We now register for Gtk:GtkWidget:button_press_event
2413 events as well as "focus:" events.
2415 Add some more API from Registry.idl that was missing,
2416 for keystroke listening, keystroke and mouse event
2417 synthesis, and enumeration of accessible desktops.
2419 2001-08-16 Michael Meeks <michael@ximian.com>
2421 * configure.in: use AM_GLIB_GNU_GETTEXT.
2423 * Makefile.am (SUBDIRS): kill intl.
2425 2001-08-15 Michael Meeks <michael@ximian.com>
2427 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2429 * configure.in: upd.
2431 * configure.in: depend on a recent bonobo-activation that
2432 will find our server files ...
2434 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2436 * libspi/accessible.c : accessible_new() :
2437 Now we add the Component interface via bonobo_object_add_interface,
2438 if the contained AtkObject implements AtkComponent.
2439 * libspi/accessible.h : now include "component.h"
2440 * libspi/component.h :
2441 * libspi/component.c : added files - implementation of
2442 bonobo wrapper object for Accessibility/Component
2443 * libspi/listener.c :
2444 Added test code to check for Accessibility/Component:1.0
2445 interface and report whether it is implemented by the
2447 * libspi/registry.c :
2448 Now we check for not only the hash of the whole event
2449 string before relaying the event, we also check the
2450 "minor" event string (without the detail string).
2451 This allows event listeners to be registered against
2452 all events of a certain major+minor type, or just
2453 against a specific major+minor+detail type.
2454 * libspi/accessible.c :
2455 Added implementations for Accessible:get_parent(),
2456 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2457 * libspi/registry.c :
2458 * libspi/listener.c :
2459 Replaced calls to Accessibility_Accessible_ref() and
2460 Accessibility_Accessible_unref() with
2461 calls to bonobo_object_dup_ref() and
2462 bonobo_object_release_unref(), so that the CORBA object
2463 is dup-ed and released when relayed, as well as the bonobo object.
2465 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2467 * libspi/Makefile.am,
2468 registryd/Makefile.am,
2469 at-bridge/Makefile.am.
2470 test/Makefile.am, configure.in:
2471 reverse previous changes.
2473 * /idl/Image.idl: fix typo.
2475 * test/Makefile.am: put DEBUG_FLAGS
2478 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2480 * test/app.c: use argv[0] instead of
2483 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2485 * libspi/Makefile.am,
2486 registryd/Makefile.am,
2487 at-bridge/Makefile.am.
2488 test/Makefile.am, configure.in:
2489 cleanup, replace individual LIBS/CFLAGS with
2490 AT_COMMON_{LIBS|CFLAGS}.
2494 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2496 * configure.in, libspi/Makefile.am:
2497 Change IDL path checking for bonobo-activation
2500 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2502 * registryd/registry.c : separated event listeners to use
2503 3 separate lists (focus, window, toolkit). Began testing
2504 event names against hashes before relaying events.
2505 * test/at.c : now register for events of type "focus:"
2506 * test/app.c : now generate events of type "focus:"
2507 * at-bridge/bridge.c : register with ATK for focus events,
2508 and we now relay those focus events to any "focus:" listeners.
2509 This now works with the bridge as a GTK_MODULE when running test/at.
2510 * libspi/registry.c :
2511 * libspi/listener.c :
2512 now we ref event sources before propagating, and unref on receipt.
2513 * libspi/registry.c :
2514 some changes to internal structs, to support event typestring hashes.
2515 * text/app.c : changed the way the appname is generated.
2516 * cspi : added directory that will hold the C bindings library for
2517 non-CORBA/bonobo-savvy clients.
2518 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2519 * idl/Component.idl : added in parameter to indicate coord system for
2520 geometry-related calls.
2521 * idl/Hyperlink.idl : added readonly n_links attribute
2522 * idl/Image.idl : changed methods to attributes.
2524 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2526 * at-bridge/Makefile.am: link against
2527 ../libspi/libspi.la instead of -lspi.
2529 * at-spi/test/app.c: include
2530 bonobo-activation.h. Use a default appname
2531 if one is not provided.
2533 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2535 * idl/Registry.idl : temporarily changed register_Application
2536 to oneway, to work around issue with initial registration
2538 * idl/Application.idl : changed attribute "id" from readonly
2539 to read-write, since it needs to be assigned by Registry.
2540 * registryd/registryd.c : added call to set application id
2542 * registryd/registry.c : changed de-registration procedure to
2543 use CORBA_Object_hash() to find matching object ref in application
2544 lists and listener lists.
2545 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2546 began distinguishing between event types (work in progress).
2548 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2551 * libspi/application.c:
2552 Added implementations for get/set id, get_toolkitName,
2554 * registryd/registryd.c :
2558 Converted from use of OAF to bonobo-activation.
2559 * libspi/desktop.h :
2560 * libspi/desktop.c :
2562 Removed references to atksimpleobject, since base atkobject
2563 implementation now provides functionality we need.
2564 * libspi/atksimpleobject.c :
2565 * libspi/atksimpleobject.h :
2570 * at-bridge/Makefile.am
2571 * at-bridge/bridge.c
2574 Added directory "bridge" and contents, and added dependencies
2575 in Makefile.am/configure.in.
2576 Initial checkin of "at-bridge".
2577 This code is a GTK_MODULE which automatically registers
2578 GTK+ apps with the accessibility registry, using an object
2579 reference to the root ATK object.
2581 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2583 * po/Makefile.in.in: Remove. Again. If this
2584 doesn't get autogenerated - you need to update
2587 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2589 * po/Makefile.in.in: Add. Again.
2591 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2593 * libspi/accessible.c : added support for 'description' property.
2594 * libspi/accessible.c
2596 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2597 (since the two are now equivalent in libbonobo)
2605 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2606 Bonobo::Unknown as does Accessibility::Accessible.
2607 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2608 interface with Bonobo::Stream, since it was redundant with it.
2609 (The Stream returned by a StreamableContext object is expected to
2610 implement only a subset of Bonobo::Stream)
2612 2001-07-28 Anders Carlsson <andersca@gnome.org>
2614 * libspi/accessible.c (accessible_object_finalize): Change
2615 g_free to g_object_unref since the AtkObject is a GObject.
2617 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2619 * idl/Accessibility.idl: add new IDL files
2622 * idl/Action.idl: Definitions of actionable UI object
2623 * idl/Component.idl: Definitions of UI component geometry, etc.
2624 * idl/Hyperlink.idl: Defs of hyperlink behavior
2625 * idl/Image.idl: Def of accessible image
2626 * idl/Selection.idl: Definition of UI object with selectable children
2627 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2628 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2629 * idl/Text.idl: Interface defs for UI elements with complex textual content
2630 * idl/Value.idl: Definition of UI element that is a value controller or display
2632 2001-07-27 Michael Meeks <michael@ximian.com>
2634 * po/Makefile.in.in: remove autogenerated file from CVS.
2636 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2639 * idl/Registry.idl: include guard.
2641 * idl/Accessibility.idl: Add, and include all the other IDL
2644 * idl/*.idl: remove mass of pragmas etc.
2646 2001-07-26 Michael Meeks <michael@ximian.com>
2648 * registryd/Makefile.am (registryd_SOURCES): remove
2651 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2653 * libspi/.cvsignore, registryd/.cvsignore,
2654 test/.cvsignore: updated.
2656 * po/Makefile.in.in: gettext update.
2658 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2660 * initial CVS checkin
2662 2001-06-29 Michael Meeks <michael@ximian.com>
2664 * configure.in: add AM_CONFIG_HEADER to gen config.h