1 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4 Changed Value interface to use SValue (scalars) rather than
5 assuming all values are floats. This allows floats, doubles,
6 longs, shorts, and unsigned values to be manipulated.
7 Introduced Accessibility:SValue union.
10 Updated to use new API above, and to work correctly with GValues
11 of different types in AtkValue.
14 Updated to use new API above. cspi's API is as yet unchanged.
17 Updated the Value revision action item.
19 2001-12-10 Bill Haneman <bill.haneman@sun.com>
22 Added test_table (GtkTreeView widget in test window to follow).
23 Un-commented test_value, added GtkRange widget.
24 Added GtkTreeView widget with GtkListStore. It passes regression
25 test but leaks one SPI object for some reason.
28 Fixed bug in impl__set_currentValue.
30 2001-12-10 Michael Meeks <michael@ximian.com>
32 * cspi/spi_text.c: audit for exception handling,
33 tolerating NULL object references safely etc.
35 * cspi/spi_value.c: ditto.
37 * cspi/spi_table.c (AccessibleTable_getSummary),
38 (AccessibleTable_getAccessibleAt),
39 (AccessibleTable_getRowHeader),
40 (AccessibleTable_getColumnHeader),
41 (AccessibleTable_getCaption): fix bugs hidden by
43 (long_seq_to_array): impl.
44 (AccessibleTable_getSelectedRows),
45 (AccessibleTable_getSelectedColumns): use it.
47 2001-12-10 Bill Haneman <bill.haneman@sun.com>
50 Added a TODO list (rough and short for now).
52 * cspi/spi_hyperlink.c:
53 * cspi/spi_hypertext.c:
54 Fixed macro name typos, and remove use of obsolete macro in
55 AccessibleHyperlink_getLink.
58 * cspi/spi_accessible.c:
59 * cspi/spi_application.c:
60 * cspi/spi_component.c:
61 * cspi/spi_selection.c:
64 Documentation fixes (removed return values from ref/unref methods).
66 2001-12-10 Michael Meeks <michael@ximian.com>
68 * cspi/spi_action.c: audit for exception handling,
69 tolerating NULL object references safely etc.
71 * cspi/spi_accessible.c: ditto.
73 * cspi/spi_component.c: ditto.
75 * cspi/spi_editabletext.c: ditto.
77 * cspi/spi_hyperlink.c: ditto.
79 * cspi/spi_hypertext.c: ditto.
81 * cspi/spi_image.c: ditto.
83 * cspi/spi_selection.c: ditto.
85 2001-12-10 Michael Meeks <michael@ximian.com>
87 * configure.in: use cspi/libspi.pc.in instead.
89 * Makefile.am (pkgconfig_DATA): upd. to match.
91 * test/simple-at.c (report_focus_event): kill hacks around
92 bad return values, use putenv not setenv
94 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
95 fire ChildGone - I killed it.
98 (impl_accessibility_component_get_extents): remove
101 * idl/Accessible.idl: kill ChildGone exception.
103 * cspi/*.[ch]: kill int return from ref / unref.
105 * cspi/spi_main.c (cspi_object_add_check): fold into
106 (cspi_object_add): here.
108 * cspi/spi_component.c (AccessibleComponent_getExtents):
109 handle exceptions elegantly.
111 * cspi/spi-private.h (cspi_check_ev_return),
112 (cspi_return_if_fail): impl.
114 * cspi/spi_accessible.c: use extensively.
115 (AccessibleStateSet_equals): add direct compare check.
117 * cspi/spi_selection.c: tolerate NULL objs, and check
118 exceptions before return.
120 * cspi/spi-util.c (cspi_warn_ev): rename to
121 (cspi_check_ev): this & don't pass ev in; no point.
123 2001-12-10 Michael Meeks <michael@ximian.com>
125 * test/test-simple.c: use putenv not setenv
126 (get_environment_vars): more chatty if you're not using
129 * test/simple-at.c: do the setenv so more people see the
132 2001-12-10 Bill Haneman <bill.haneman@sun.com>
135 Changed check of CORBA_environment on notification to be a warning
136 instead of an error for the moment, since we can recover from this
137 error when caused by a queued notification from a dead app.
140 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
141 used by all current implementors of AtkValue), and coerce to
142 CORBA_float. (Proper general case fix may require change to Value.idl).
144 2001-12-09 Bill Haneman <bill.haneman@sun.com>
148 * cspi/spi_accessible.c:
149 Documentation fixes: added user_data params to documentation for
150 listeners and callbacks.
152 * cspi/spi_accessible.c:
153 Changed AccessibleStateSet_compare to return a
154 StateSet rather than return the difference set into a third parameter.
157 2001-12-09 Bill Haneman <bill.haneman@sun.com>
160 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
161 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
165 Remove subdirectory po from SUBDIRS for now.
167 * at-bridge/bridge.c:
168 Beefed up a couple of debug printouts.
169 One-line fix for signal notification name formatting.
171 * libspi/accessible.c:
172 Added assertion to spi_accessible_new ().
174 * libspi/application.c:
175 Put #ifdef qualifiers around a printf.
178 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
180 * registryd/Makefile.am:
182 Replaces use of XML_I18N_MERGE_SERVER_RULE with
183 INTLTOOL_SERVER_RULE macro.
186 Added an event listener for several ATK signals, for
187 testing and debugging. Removed a few g_warnings.
188 Added test output if focussed item implements the Value interface.
190 * test/test-simple.c:
191 Added test_value () function (known not to pass at the moment, so
192 not actually called yet.
194 2001-12-08 Michael Meeks <michael@ximian.com>
196 * at-bridge/bridge.c (bridge_focus_tracker),
197 (emit_eventv): fix the same ref. leak.
198 (register_atk_event_listeners): don't leak.
200 * cspi/spi-listener-impl.c (cspi_event): more
201 protection from client code.
203 * test/test-simple.c (test_desktop): unref the app.
205 * test/Makefile.am: upd. TESTS.
207 * at-bridge/bridge.c (bridge_exit_func): release the registry.
209 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
211 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
213 * cspi/spi_registry.c: constify in strings.
214 (deregisterGlobalEventListenerAll): don't release the ref.
216 * cspi/spi.h: start removing redundant / conflicting
217 gtkdoc comments, making the API readable at a glance :-)
219 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
221 * test/keysynth-demo.c (keysynth_exit, main): upd.
223 * test/simple-at.c (main, simple_at_exit): upd.
225 * test/test-simple.c (unutterable_horror): kill.
226 (utterable_normal_derefs): kill.
227 (main): upd & do a setenv before gtk_init, so that we
228 can use memprof - and to save the pain of remembering
229 this, if we're running under memprof - don't exit.
231 * cspi/spi_main.c (SPI_exit): return exit status
233 (SPI_event_quit): impl.
234 (SPI_event_main): simplify.
235 (cspi_is_gnome_app): kill.
236 (SPI_init): kill isGNOMEapp arg.
238 * at-bridge/bridge.c (register_atk_event_listeners):
239 re-instate the unref.
240 (bridge_exit_func): don't re-activate the registry,
241 protect vs. theoretical re-entry, use the
242 AT_BRIDGE_SHUTDOWN env. var to determine whether to
243 assert a clean shutdown - for regression tests.
245 2001-12-08 Abel Cheung <maddog@linux.org.hk>
247 * configure.in: Comment out dummy i18n support for now,
248 otherwise it fails to build.
249 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
250 EXTRA_DIST. They are missing in tarball.
252 2001-12-07 Michael Meeks <michael@ximian.com>
254 * util/magnifier.c: kill bonobo activation reg. race.
257 (impl_accessibility_component_get_extents): make it match
260 * libspi/registry.c (_registry_notify_listeners):
261 re-remove X headers & reconcile conflicts.
262 (spi_listener_struct_free): bad conflict resolve.
263 (impl_accessibility_registry_register_application):
264 more bad merging fixed.
265 (impl_accessibility_registry_deregister_application): ditto.
266 (spi_registry_new): ditto.
267 (spi_registry_init): don't have an applications field.
269 [ merge fixups2 branch to here ]
270 2001-12-07 Michael Meeks <michael@ximian.com>
272 * test/simple-at.c (report_focus_event),
273 (report_focussed_accessible): remove g_warning debug.
275 2001-12-07 Michael Meeks <michael@ximian.com>
277 * test/test-simple.c (validate_tree): comment out some checks.
278 (test_desktop): app now not registered idly - horay.
280 2001-12-07 Michael Meeks <michael@ximian.com>
282 * cspi/spi_registry.c
283 (registerAccessibleKeystrokeListener): clean, stop it leaking
284 great swathes of memory, and device event controller references.
285 ensure we always pass valid sequences.
286 (deregisterAccessibleKeystrokeListener): ditto.
287 (generateKeyEvent): upd.
289 * at-bridge/bridge.c (bridge_key_listener): handle
290 registry dead exception gracefully.
291 (bridge_focus_tracker, emit_eventv): free ev.
293 * test/simple-at.c (report_focus_event): fix polarity.
295 * libspi/application.c (notify_listeners): kill the ev
296 argument, and make sure we init the ev we use.
297 (spi_application_object_event_listener): split out a chunk
298 (get_atk_object_ref): here & fixup.
299 (reverse_lookup_name_for_toolkit_event): make const.
300 (spi_application_toolkit_event_listener): fixup, kill leaks
303 * at-bridge/bridge.c (register_atk_event_listeners):
304 don't unref the noop object - causes grief.
306 * libspi/registry.c: remove the X headers.
307 turn off the debug churn.
309 * libspi/accessible.c (spi_accessible_new_return): only
310 release the ref if we are supposed to [doh]
312 * test/simple-at.c (report_button_press, report_focus_event):
313 guard vs. unexpected exit.
315 * at-bridge/bridge.c (gtk_module_init): prune printf.
316 (bridge_exit_func): fix app unref.
318 * libspi/Makefile.am: don't install registry or desktop.h
320 * libspi/*.h: update includes.
322 * libspi/application.h: don't include ourself, or
323 other redundant headers.
325 2001-12-06 Michael Meeks <michael@ximian.com>
327 * libspi/accessible.c
328 (get_accessible_from_servant): impl.
329 Upd. all CORBA impl.s to use it killing cut and paste.
331 * cspi/spi_main.c (cspi_cleanup): guard vs. double
333 (SPI_init): register atexit cleanup handler here.
335 2001-12-06 Michael Meeks <michael@ximian.com>
337 * at-bridge/bridge.c (gtk_module_init): g_error on
340 2001-12-06 Michael Meeks <michael@ximian.com>
342 * at-bridge/bridge.c (gtk_module_init): some sort of
343 confusing merge clash - reverted.
344 (bridge_idle_init): ditto.
346 * test/test-simple.c (main, utterable_normal_derefs):
347 merge from Bill - somehow not committed.
349 2001-12-06 Michael Meeks <michael@ximian.com>
351 * libspi/value.c (spi_value_class_init): upd.
352 (spi_value_finalize): kill.
354 * libspi/table.c (spi_table_finalize): kill.
355 (spi_table_interface_new): upd.
356 (spi_table_class_init): upd.
357 (get_table_from_servant): impl.
358 Upd. all CORBA impl.s to use it killing yet more cut and paste.
360 * libspi/selection.c (spi_selection_finalize): kill.
361 (spi_selection_interface_new): upd.
362 (spi_selection_class_init): upd.
363 (get_selection_from_servant): impl.
364 Upd. all CORBA impl.s to use it killing yet more cut and paste.
366 * libspi/relation.c (spi_relation_finalize): kill.
367 (spi_relation_class_init, spi_relation_new): upd
369 * libspi/image.c (spi_image_finalize): kill.
370 (spi_image_class_init): upd.
371 (spi_image_interface_new): upd.
372 (get_image_from_servant): impl.
373 Upd. all CORBA impl.s to use it killing yet more cut and paste.
375 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
376 (spi_hyperlink_finalize): kill.
377 (spi_hyperlink_new): upd.
378 (get_hyperlink_from_servant): impl.
379 Upd. all CORBA impl.s to use it killing yet more cut and paste.
381 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
382 (spi_hypertext_finalize): kill.
383 (spi_hypertext_class_init): upd.
384 (get_hypertext_from_servant): impl.
385 Upd. all CORBA impl.s to use it killing yet more cut and paste.
387 * libspi/editabletext.c (spi_editable_text_finalize): kill.
388 (spi_editable_text_interface_new): upd.
389 (get_editable_text_from_servant): impl.
390 Upd. all CORBA impl.s to use it killing yet more cut and paste.
392 * libspi/text.c (get_text_from_servant): impl.
393 All impls - update to use it killing more cut and paste,
394 also fix bad string returns on duff args ( a somewhat
395 impossible case to handle - but hey ).
396 (spi_text_construct): impl.
397 (spi_text_interface_new): upd.
398 (spi_text_object_finalize): kill.
401 (accessibility_component_object_finalize): kill.
402 (spi_component_class_init): upd.
403 (get_component_from_servant): impl. helper to kill cut & paste.
404 (impl_accessibility_component_contains):
405 (impl_accessibility_component_get_accessible_at_point):
406 (impl_accessibility_component_get_position):
407 (impl_accessibility_component_get_extents):
408 (impl_accessibility_component_get_mdi_z_order):
409 (impl_accessibility_component_get_layer):
410 (spi_component_interface_new): upd.
412 * libspi/action.c (spi_action_finalize): kill.
413 (spi_action_class_init): upd. inherit from SpiObject.
414 (spi_action_interface_new): upd.
415 (get_action_from_servant): impl. helper to reduce cut & paste.
416 (impl_getKeyBinding, impl_getName, impl_doAction),
417 (impl_getDescription): Use it everywhere.
419 * cspi/spi_main.c (get_live_refs): a pointer hash.
420 (spi_object_hash, spi_object_equal): comment out.
421 There are issues with CORBA object hashing that need
424 * libspi/application.c (spi_application_init),
425 (spi_application_new): upd.
427 * libspi/accessible.c (spi_accessible_object_finalize): kill.
428 (spi_accessible_class_init): upd.
429 s/accessible/object/ in epv methods.
431 2001-12-05 Bill Haneman <bill.haneman@sun.com>
433 * at-bridge/bridge.c:
434 Reorder the bridge initialization into the bridge gtk_module_init,
435 an immediate call to bridge_register_app, and an idle_add for
436 register_atk_event_listeners (the only code that *must* wait until
437 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
438 the activation, creates the application's Accessible object, and
439 queues the bridge_idle_init function. Restored call to
440 Accessibility_Registry_deregisterApplication().
441 Prior to making this call we obtain a new reference to the
442 registry, which is a temporary hack that helps us handle apps that
443 shut down the bonobo mainloop before we get there.
446 Fix string leakage in debug block, and don't segv if a an app
447 dies before its event notifications have been propagated.
450 Modify cspi_check_ev() to call g_warning() rather than g_error(),
451 as stopgap measure until we get proper exception handling when
452 objects die during or before interrogation.
456 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
457 Also changed default value of is_gnome_app to TRUE.
460 * test/keysynth-demo.c:
461 Changed use of SPI_init and SPI_event_main to reflect API change above.
464 Made report_focus_event check the warning value from getName
465 before reporting on focussed accessible; simplifies handling of
466 notifications from dead objects.
468 * test/test-simple.c: (Changes not in this patch since source is
471 2001-12-05 Michael Meeks <michael@ximian.com>
473 * registryd/registryd.c (main): protect against
474 bonobo-activation startup race condition.
476 * cspi/spi_main.c (cspi_object_add_check): cope
477 with the exception elegantly.
479 * idl/Accessible.idl: decl. ChildGone
481 * libspi/desktop.c (spi_desktop_dispose): impl.
482 (spi_desktop_class_init): upd.
483 (spi_desktop_add_application),
484 (spi_desktop_remove_application),
485 (abnormal_application_termination): impl.
486 (impl_desktop_get_child_at_index): re-impl.
489 (impl_accessibility_registry_deregister_application),
490 (impl_accessibility_registry_register_application):
491 kill excessive debug clutter.
493 * test/test-simple.c (test_misc): test some NULL
494 tolerance. (main): upd.
496 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
497 implements no interfaces - so let's not crash.
499 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
501 * libspi/accessible.c (spi_accessible_new_return): impl.
502 helper to calm the cut and paste, to cope with
503 NULL AtkObjects effectively and efficiently, and to kill
504 the referencing bugs.
506 * libspi/table.c (impl_getAccessibleAt),
507 (impl_getRowHeader, impl_getColumnHeader): upd.
509 * libspi/hyperlink.c (impl_getObject): upd.
511 * libspi/accessible.c
512 (impl_accessibility_accessible_get_child_at_index): upd.
515 (impl_accessibility_component_get_accessible_at_point): upd.
517 * test/test-simple.c (test_editable_text, test_text): impl.
520 * cspi/spi_editabletext.c
521 (AccessibleEditableText_insertText): constify.
523 * test/test-simple.c (focus_me): make more robust.
525 * libspi/accessible.c: remove some printfs in methods that
526 we test and work fine, so we can get a clean tree dump.
528 * test/test-simple.c (validate_accessible),
529 (validate_tree): make tree dumping pretty too.
531 * at-bridge/bridge.c (bridge_signal_listener): upd. so
532 it builds without debug on.
534 * test/test-simple.c (validate_accessible): fix the most
537 * cspi/spi_main.c (spi_object_release): leave the nicely
538 blanked memory around if in debug mode.
540 * cspi/spi-listener-impl.c (cspi_event): use add_check.
542 [committed to fixups2]
543 2001-12-05 Michael Meeks <michael@ximian.com>
545 * libspi/editabletext.c
546 (spi_editable_text_class_init): g_type_class_peek_parent,
547 not interface peek - so we finalize cleanly.
549 * libspi/accessible.c (spi_accessible_new): kill debug.
551 * test/test-simple.c (validate_accessible): fix ref.
552 leak, print strings before freeing them; sigh, comment a
553 chunk out due to strangeness.
554 (validate_tree): unref the child after use.
556 * cspi/spi_component.c (AccessibleComponent_getLayer):
557 add missing break statement, switch on zlayer not the
558 uninitialized retval.
560 * cspi/spi_main.c (cspi_object_add): add assert, local ref
561 before (possibly re-entering) remote unref.
563 * test/simple-at.c (main): unref the desktop.
565 * cspi/spi_accessible.c (cspi_accessible_is_a): move
568 * cspi/spi_main.c (cspi_accessible_is_a): here to
569 isolate bonobo API usage more.
571 * libspi/registry.c (impl_accessibility_registry_register_application):
574 2001-12-04 Michael Meeks <michael@ximian.com>
576 * test/test-simple.c (validate_tree): upd.
577 IndexInParent check to make it more lucid.
578 (validate_accessible): dump the tree.
580 * libspi/accessible.c (de_register_public_ref),
581 (get_public_refs): impl.
582 (spi_accessible_new): make more efficient & intuitive.
583 Now IndexInParent check works.
585 2001-12-04 Michael Meeks <michael@ximian.com>
587 * cspi/spi-util.h: remove.
589 * cspi/spi.h: move SPI_freeString here
591 * libspi/component.c (impl_accessibility_component_get_layer):
593 (impl_accessibility_component_get_mdi_z_order): ditto,
594 return -1 on error - is this ok ?
596 * test/test-simple.c (test_application): impl.
598 * cspi/spi_accessible.c (Accessible_getApplication),
599 (Accessible_isApplication): impl.
601 * libspi/registry.c (spi_listener_struct_free): release
602 the CORBA reference too.
604 * libspi/accessible.c
605 (impl_accessibility_accessible_get_parent): fix ref leak.
607 * libspi/registry.c (spi_registry_new): make the registry
608 immortal - we don't want it to go away ever.
610 * libspi/application.c
611 (spi_accessible_application_finalize): impl. cleanup.
613 * cspi/spi_registry.c
614 (deregisterGlobalEventListenerAll),
615 (deregisterGlobalEventListener),
616 (deregisterAccessibleKeystrokeListener): fix ref leak.
618 * cspi/spi_main.c (SPI_init): remove redundant ref.
620 * test/test-simple.c (unutterable_horror): impl. to force a
625 (impl_accessibility_registry_deregister_application): release
626 the application when we de-register it.
628 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
629 until we have the infastructure to get it right.
631 2001-12-03 Michael Meeks <michael@ximian.com>
633 * libspi/Makefile.am: only build eventlistener.[ch]
635 * libspi/accessible.c
636 (impl_accessibility_accessible_get_child_at_index): don't leak.
638 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
639 before we hit the idle handler.
641 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
644 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
646 * libspi/listener.c (impl_notify_event): check source
647 not NIL before unref.
649 * libspi/registry.c (impl_registry_notify_event): ditto.
651 * libspi/eventlistener.c
652 (impl_accessible_event_notify_event): unref the source.
654 * libspi/accessibleeventlistener.c
655 (impl_accessible_event_notify_event): unref the source.
657 * idl/Event.idl: remove 'hash_id' attribute - of no
660 * libspi/application.c (notify_listeners): upd list
662 (spi_application_object_event_listener),
663 (spi_application_toolkit_event_listener): upd to do correct
667 (_registry_notify_listeners): update.
668 (parse_event_type): this method also leaks like a sieve.
669 (impl_accessibility_registry_deregister_global_event_listener):
670 fix ETYPE_WINDOW case.
672 * libspi/application.c
673 (impl_accessibility_application_register_object_event_listener):
676 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
678 * libspi/hypertext.c (impl_getLink): ditto.
680 * cspi/spi_main.c (cspi_object_add): remove
681 bogus CORBA_Object_duplicate.
683 * cspi/spi-listener-impl.c (cspi_event): dup/ref
686 * cspi/spi_accessible.c
687 (Accessible_getRelationSet): fix leak / referencing issue.
689 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
690 (cspi_object_add, cspi_object_unref): upd.
691 (spi_object_release, get_live_refs): impl.
692 (cspi_cleanup): simplify.
694 * *.[ch]: s/boolean/SpiBoolean/
696 * cspi/spi_accessible.c (role_names): actualy order so it
697 corresponds with the enum !
699 * test/test-simple.c (test_roles): check some role strings
700 vs. enums to detect offset errors.
702 2001-12-01 Michael Meeks <michael@ximian.com>
704 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
706 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
708 (Accessible_getChildAtIndex): use cspi_add_check so we
709 check the ev before using a (possibly) invalid value.
711 * libspi/accessible.c
712 (impl_accessibility_accessible_get_parent): don't segv
715 * at-bridge/bridge.c (gtk_module_init): upd.
716 (bridge_property_event_listener): don't leak strings
718 (bridge_state_event_listener),
719 (bridge_property_event_listener): don't use a static
720 buffer in case of recursive event emission &
721 re-enterancy - split out the swathe of cut and paste
723 (emit_eventv): and fix 2 ref leaks here & comply to the
725 (bridge_register_app): rename to
726 (bridge_idle_init): this and kill arg parsing, split
727 various inits & bonobo-activation registration to module
728 init time, kill referencing error.
729 (bridge_exit_func): fix the same leak.
730 (bridge_focus_tracker): don't leak event structures
732 (bridge_signal_listener): more leakage and cut & paste
734 (bridge_key_listener): return the result - FIXME is
735 this polarity correct ?
736 (accessibility_keystroke_from_atk_key_event): rename
737 (accessibility_init_keystroke_from_atk_key_event): and stop
739 (gtk_module_init): return a value - not that it is checked by
741 (bridge_key_listener): register my horror at casting between
743 (bridge_get_registry): kill - not used.
745 * cspi/spi_accessible.c (Accessible_getRole): make return const.
747 * test/test-simple.c (test_roles): impl.
748 (test_desktop, validate_accessible, validate_tree): impl.
750 * cspi/spi_accessible.c (role_names): fixup bogus
751 MAX_ROLES setup, make constants const for efficient linkage
752 (AccessibleRole_getName): conform to coding style, make
755 2001-11-30 Michael Meeks <michael@ximian.com>
757 * cspi/spi.h: add missing prototype.
759 * libspi/registry.c (spi_listener_struct_new): fix sig.
761 * test/Makefile.am: add test-simple
763 * test/test-simple.c: add
767 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
769 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
770 do it straight - since otherwise we often get an activation race.
772 [ work before Bill duplicated a chunk of it ... ]
773 2001-11-30 Michael Meeks <michael@ximian.com>
775 * libspi/keystrokelistener.c
776 (spi_keystroke_listener_class_init): fixup arg
779 * libspi/eventlistener.c
780 (spi_event_listener_class_init): ditto.
782 * tests/test.sh: add.
784 * cspi/spi-listener-impl.h: update macros.
786 * cspi/spi-listener-impl.c
787 (cspi_event_listener_remove_callback): add
788 correct pre-conditions.
790 * cspi/spi_main.c (SPI_exit): guard vs. double
791 exits, exit the mainloop nicely.
792 (SPI_event_main): make more sense.
793 (SPI_init): move the atexit evilness here so we
795 (SPI_event_main): upd.
797 * test/simple-at.c: update for listener changes.
799 * registryd/registryd.c (main): prune kruft.
801 * libspi/libspi.h: upd.
803 * libspi/eventlistener.[ch]: rename broken macros.
805 * libspi/accessibleeventlistener.[ch]: remove.
807 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
809 * test/test-simple.c: Add - automated tests.
811 * cspi/spi-listener-impl.c (cspi_event),
812 (cspi_key_event): add user_data to invoke.
813 (cspi_keystroke_listener_finalize): impl.
814 (cspi_keystroke_listener_class_init): upd.
817 (createAccessibleEventListener),
818 (AccessibleEventListener_addCallback),
819 (createAccessibleKeystrokeListener),
820 (AccessibleKeystrokeListener_addCallback): upd.
822 * libspi/deviceeventcontroller.c
823 (spi_device_event_controller_check_key_event): add public proto.
826 (impl_accessibility_registry_deregister_global_event_listener):
827 always init listeners.
828 (_registry_notify_listeners): yes it is.
830 * cspi/spi-listener-impl.c (cspi_key_event):
832 (cspi_event_listener_finalize): impl.
833 (cspi_event_listener_class_init): hook up.
834 (event_handler_new, event_handler_free),
835 (event_list_remove_by_callback): impl.
836 (cspi_event_listener_remove_callback),
837 (cspi_keystroke_listener_remove_callback),
838 (cspi_keystroke_listener_add_callback),
839 (cspi_event_listener_add_callback): upd.
841 * libspi/keystrokelistener.c
842 (keystroke_listener_object_finalize): kill
843 (spi_keystroke_listener_class_init): upd.
844 (spi_keystroke_listener_add_callback),
845 (spi_keystroke_listener_remove_callback): kill,
847 (impl_key_event): prune drasticaly.
849 * libspi/eventlistener.c
850 (spi_event_listener_add_callback),
851 (spi_event_listener_remove_callback): kill, use
853 (impl_accessible_event_notify_event): upd.
854 (spi_event_listener_object_finalize): remove.
856 * libspi/Makefile.am: use eventlistener.[ch]
858 2001-12-04 Bill Haneman <bill.haneman@sun.com>
860 * libspi/registry.c (_registry_notify_listeners):
861 Changed listener loop iteration to use preferred convention.
862 Got rid of string memory leaks caused be calling g_strconcat
863 inside function calls.
865 * libspi/registry.c (parse_event_type):
866 Stopped g_strconcat memory leaks, free the g_strsplit return,
867 g_strdup the split pieces when used, etc.
869 2001-12-04 Bill Haneman <bill.haneman@sun.com>
872 Change method 'compare' to return a 'difference set' rather than
873 taking a StateSet as an out parameter (more Java-friendly).
875 * idl/Accessible.idl:
876 Added CORBA struct 'BoundingBox', to faciliate API changes below:
880 Changed methods 'getExtents' and 'getImageExtents' in these
881 interfaces to return a BoundingBox structure.
882 (getPosition and getSize are redundant and possibly should be
883 removed, rather than creating a corresponding Point struct.)
885 * cspi/spi_component.c:
886 Modify implementation of getExtents to reflect the above IDL
891 Add (missing) AccessibleImage_getExtents () API.
893 * docs/reference/cspi/at-spi-cspi-sections.txt:
894 Added AccessibleImage_getImageExtents () to docs.
896 2001-12-03 Bill Haneman <bill.haneman@sun.com>
899 Added two methods, getLayer () and getMDIZOrder (), to reflect
900 the new ATK methods atk_object_get_layer and
901 atk_object_get_mdi_z_order. (Which arguably should be part of the
902 AtkComponent API and AtkObject). Also added an enum,
903 ComponentLayer, for the first method's return value.
905 * libspi/component.c:
906 Added implementations for these methods.
908 * cspi/spi_component.c:
910 Added cspi binding methods for above,
911 AccessibleComponent_getLayer() and
912 AccessibleComponent_getMDIZOrder().
913 Added cspi enum 'AccessibleComponentLayer'.
915 * docs/reference/cspi/at-spi-cspi-sections.txt:
916 Added above methods to docs.
920 Changed typedef for 'boolean' type (and all references to it) to
921 SPIBoolean, to avoid keyword clashes with C++.
924 Changed usages of 'boolean' to SPIBoolean.
926 * test/keysynth-demo.c:
927 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
928 app), except where SPIBoolean is required by the callbacks API.
930 2001-12-02 Bill Haneman <bill.haneman@sun.com>
932 * cspi/spi_registry.c:
933 Removed obsolete X event loop for passive keygrabs (which now
936 * registryd/registryd.c:
937 Removed unnecessary call to gdk_init() [cruft]. This also allows
938 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
941 2001-11-28 Bill Haneman <bill.haneman@sun.com>
943 * docs/reference/cspi:
944 Included docs for SPI_freeString in generated documentation.
947 Renamed spi_freeString to SPI_freeString, for consistency. Added
948 documentation for this function.
951 Renamed spi_freeString to SPI_freeString, for consistency.
952 Removed obsolete method declaration string_from_corba_string.
954 * test/keysynth-demo.c:
955 Small tweak to comments.
958 Stopped leaking the strings returned from CSPI.
960 2001-11-28 Bill Haneman <bill.haneman@sun.com>
962 Merged Michael's branch (see his ChangeLog entries below).
964 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
965 bridge is alive, release on exit.
967 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
968 Fix type check macro.
971 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
974 Added is_gnome_app static, and method cspi_is_gnome_app(),
975 so we can call the appropriate shutdown routine at exit in SPI_exit.
977 * cspi/spi_main.c (cspi_object_ref):
978 Duplicate the corba object passed in, since we're keeping it around.
980 * cspi/SPI_exit.c, cspi_cleanup:
981 Moved the releasing of the live refs to its own function, so we
982 can put it in g_atexit (). Call the appropriate shutdown API
983 depending on whethe calling client is a gnome app or not
984 (bonobo_main_quit or CORBA_ORB_shutdown).
986 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
987 Unref the listener when this method is called, after
988 deregistration. Updated the API docs to note this behavior.
990 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
991 Bugfixes: Ref the bonobo object when returning a parent or child
992 reference, or an AccessibleRelation. Generally made sure
993 BonoboObject refcount is incremented whenever we return an
996 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
997 Fixed typo/bug in signal declaration.
999 * libspi/accessibleeventlistener.h:
1002 * libspi/application.c (spi_application_new):
1003 Fixed leak in initialization.
1006 Remembered to increment bonobo-object refcount when returning
1007 children (applications) from desktop object.
1008 Added (empty) finalize method.
1010 * libspi/deviceeventcontroller.c:
1011 Hold a ref to listeners inside DEControllerKeyListeners.
1012 Added dec_key_listener_free() method. Use prepend instead of
1013 append in key_listener list. Fixed some refcount madness and
1014 leaks in the listener registration/deregistration - deregistration
1015 now calls dec_key_listener_free() on listeners, and on the
1016 temporarily constructed dec_key_listener() used to perform the search/match.
1018 * libspi/hypertext.c (spi_hypertest_finalize):
1019 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1020 class. Also fixed spi_hypertext_interface_new() and
1021 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1023 * libspi/hypertext.h:
1024 Removed pointless and duplicate AtkObject pointer from
1027 * libspi/keystrokelistener.c:
1028 Fixed incorrect type of keystroke_listener_parent_class,
1029 renamed keystroke_listener_object_finalize to
1030 spi_keystroke_listener_object_finalize.
1031 Fixed typo in signal declaration
1032 (spi_keystroke_listener_class_init).
1034 * libspi/registry.c:
1035 Added funcsions spi_listener_struct_new() and
1036 spi_listener_struct_free() to help with memory management issues.
1037 We also now use these methods instead of gnew + poking stuff into
1038 the struct, and to decrement listener counts/free the listeners
1039 when deregistering them.
1040 Fix more refcount bugs in getDesktop() and
1041 getDeviceEventController().
1044 De-ref the desktop after enumerating the applications. Explicitly
1045 decrement the refcounts on the created listeners on exit (using
1046 _unref for keystroke listeners, and via the
1047 deregisterGlobalEventListenerAll command for other event
1050 2001-11-27 Michael Meeks <michael@ximian.com>
1052 * cspi/spi-listener.h: fixup enum.
1054 2001-11-27 Michael Meeks <michael@ximian.com>
1056 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1057 (cspi_keystroke_listener_new): Use the cspi variants.
1059 2001-11-26 Michael Meeks <michael@ximian.com>
1061 * test/keysynth-demo.c: fix 2 compile warnings, missing
1064 * test/simple-at.c (report_focussed_accessible),
1065 (report_focus_event, report_button_press),
1066 (check_property_change, is_command_key),
1067 (report_ordinary_key_event, report_command_key_event): upd.
1069 * util/mag_client.h: include pre-requisites.
1071 * libspi/accessibleeventlistener.c
1072 (spi_event_listener_object_finalize): free any lingering
1075 * libspi/keystrokelistener.c
1076 (keystroke_listener_object_finalize): ditto.
1078 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1079 callbacks, with cspi types.
1081 * cspi/spi_event.c (createAccessibleEventListener): chain to
1082 (AccessibleEventListener_addCallback): here.
1083 (createAccessibleKeystrokeListener): chain to
1084 (AccessibleKeystrokeListener_addCallback): here.
1086 * libspi/keystrokelistener.c
1087 (spi_keystroke_listener_class_init): add signal.
1088 (impl_key_event): emit the event.
1089 (boolean_handled_accumulator): impl.
1090 (marshal_BOOLEAN__POINTER): add, gack.
1092 * libspi/accessibleeventlistener.c
1093 (spi_event_listener_class_init): add signal.
1094 (impl_accessible_event_notify_event): emit the signal &
1095 make the loop efficient.
1096 (spi_event_listener_add_callback): prepend the callback.
1098 * libspi/accessibleeventlistener.h: add an 'event' signal,
1099 decl type on callback.
1101 * libspi/keystrokelistener.h: ditto.
1103 * cspi/spi-listener.h: make methods typesafe and
1104 make them use the new event typedefs.
1106 * test/simple-at.c (report_focussed_accessible):
1107 include mag_client.h
1108 Use *(void *)text_interface not the other thing.
1110 * configure.in: add gtk to registryd bits - since we use
1113 * util/magnifier.c: include libbonobo.h
1115 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1117 * test/keysynth-demo.c:
1118 Turned this into a simple scanning keyboard, to demonstrate the
1119 use of g_timeout_add () as a means of creating timers for
1120 scanning, and the use of GtkStyle for visually indicating when
1121 virtual keyboard elements are selected.
1123 keysynth-demo now listens to any keyboard keys with zero-valued
1124 keycodes (i.e. 'unused' keys) and interprets them as
1127 Reworked the shiftlatch code so that shift-down state isn't held
1128 for long periods (it's only synthesized immediately prior to
1129 the keysynth event it's modifying). Note that shiftlatch in this
1130 demo is a convenience, not intended to take the place of AccessX
1131 which is the better choice for getting 'sticky' modifier keys.
1133 * libspi/deviceeventcontroller.c:
1134 * at-bridge/bridge.c:
1135 * cspi/spi_registry.c:
1136 Removed some debug print stuff, and put other verbosity in #ifdef
1141 Implemented some more of the magnifier IDL for the simple
1142 magnifier: namely, getZoomRegionParams.
1143 Added mag_x and mag_y members to MagnifierData struct, aid of this
1145 Added GtkWindow::realize signal handler to magnifier, to keep it
1146 from receiving keyboard focus from the WM.
1148 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1150 * cspi/spi-private.h: my guess at what michael forgot
1151 before he ran off to NZ :-)
1153 2001-11-23 Michael Meeks <michael@ximian.com>
1155 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1156 comment out non existant method invoke so we link.
1158 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1159 use bonobo_exception_get_text for more friendly warnings.
1161 * cspi/spi.c (Obj_Add): move into spi_main & rename
1162 spi_object_add; kill spi.c
1164 * cspi/spi_registry.c
1165 (deregisterGlobalEventListener),
1166 (deregisterGlobalEventListenerAll),
1167 (registerGlobalEventListener): fix exception leaks.
1169 * cspi/spi_main.c (spi_exception): impl. helper, so we
1170 don't leak exceptions.
1172 * cspi/spi_selection.c
1173 (AccessibleSelection_deselectSelectedChild): return the
1176 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1177 (spi_registry): ditto.
1178 (SPI_init): guard against double inits.
1180 * cspi/*.c: use spi_ev (), and spi_registry () where
1181 appropriate - a temporary hack until we have something
1182 better. Use spi_object_add
1184 2001-11-22 Michael Meeks <michael@ximian.com>
1186 * cspi/Makefile.am: re organise, install the headers.
1188 * cspi/*.h: add G_BEGIN/END_DECLS
1190 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1193 Added non-preemptive keylistener for key events with no modifiers
1194 and shift-only modifier.
1196 * libspi/keystrokelistener.c:
1197 Removed some verbose diagnostics printout.
1199 * cspi/spi_registry.c:
1200 Fixed a bug that caused all key listeners to be registered as
1203 * libspi/deviceeventcontroller.c:
1204 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1205 for non-preemptive key masks.
1208 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1210 * docs/reference/idl/at-spi-idl-docs.sgml:
1211 * docs/reference/idl/at-spi-idl-sections.txt:
1212 * docs/reference/idl/at-spi-idl-overrides.txt:
1213 Added missing files.
1215 * docs/reference/Makefile.am:
1216 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1217 to scan the IDL files :-(
1222 Added .cvsignore files.
1224 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1226 * libspi/deviceeventcontroller.c:
1227 * libspi/keystrokelistener.c:
1229 * cspi/spi_registry.c:
1230 Added filters for KeySets, KeyEventSeq, and event types to key
1231 event dispatching, so listeners should only receive those events
1232 that they requested :-)
1234 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1239 * docs/reference:Makefile.am:
1240 * docs/reference/cspi:
1241 * docs/reference/cspi:Makefile.am:
1242 * docs/reference/cspi:tmpl:
1243 * docs/reference/cspi:tmpl:*.sgml:
1244 * docs/reference/idl:
1245 * docs/reference/idl:Makefile.am:
1246 * docs/reference/idl:at-spi-idl-sections.txt:
1247 * docs/reference/idl:at-spi-idl-docs.sgml:
1248 * docs/reference/idl:tmpl:
1249 * docs/reference/idl:tmpl:*.sgml:
1251 Restructured docs directory to allow separate 'reference' docs
1252 section, and forked idl and cspi docs. Added the sgml template
1253 files to CVS. Added the first sections/structural sgml for the
1256 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1258 * configure.in, libspi/Makefile.am: find libXtst.
1260 2001-11-21 Michael Meeks <michael@ximian.com>
1262 * test/accessx-gui.c: s/spi_value/value/ - doh.
1264 * libspi/base.[ch]: add.
1266 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1268 * idl/Accessible.idl:
1269 * idl/Application.idl:
1272 Started gtk-doc cleanup on IDL.
1274 * libspi/deviceeventcontroller.c:
1275 Added and connected non-preemptive key notification from the
1276 toolkits (in addition to the pre-emptive support from XServer
1277 which we had before, but which causes 'focus flashing'). Filters
1278 are presently limited to key modifiers and global/non-global,
1279 KeySets are presently ignored, as are KeyEvent masks.
1281 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1282 structs into the persistant structure rather than just storing
1283 pointers to things that might not persist across servant
1286 The XGrabKey call now does async keygrabs, because synchronous
1287 ones were deadlocking with GDK_event code in a very nasty way.
1289 Added boolean to internal method notify_keylisteners, to indicate
1290 whether the event came from the 'toolkit source' or the 'global
1291 (XServer) source' - this is used in the notification process to
1292 determine which listeners to send the event to.
1294 deviceeventcontroller.c is now warning-free.
1296 * libspi/registry.c:
1297 Fixed regression in application de-registration.
1298 Also fixed some really brain-dead weirdness having to do with
1299 event dispatching - event structs are now duplicated before being
1300 re-marshalled in the dispatch to listeners. This also fixes a
1301 Solaris build problem.
1304 2001-20-11 Michael Meeks <michael@ximian.com>
1307 (impl_accessibility_registry_deregister_global_event_listener):
1310 * libspi/deviceeventcontroller.c
1311 (spi_device_event_controller_check_key_event): return
1312 FALSE on no virtual method.
1314 * libspi/*..h: make includes work on a correctly pathed install.
1316 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1318 * libspi/application.h: kill unused ( and whacked out )
1319 gboolean *spi_application_set_id (AtkObject *app, long id);
1321 2001-20-11 Michael Meeks <michael@ximian.com>
1323 * libspi/*.[ch]: further convert to bonobo's type func
1324 macros, remove redundnant casts etc.
1326 * libspi/text.c s/accessibility_text/spi_text/g,
1327 re-order to de-cruft.
1329 * libspi/hypertext.c: re-order to kill a huge slew
1330 of redundant forward decls.
1332 * libspi/relation.c: ditto.
1334 * libspi/image.c: ditto.
1336 * */.cvsignore: update
1338 2001-20-11 Michael Meeks <michael@ximian.com>
1340 * libspi/deviceeventcontroller.c
1341 (_controller_register_with_devices): use g_getenv,
1342 kill stdlib.h include.
1344 * libspi/keystrokelistener.c
1345 (spi_keystroke_listener_get_type): kill
1346 (spi_keystroke_listener_class_init),
1347 (spi_keystroke_listener_init): rename to this.
1349 * libspi/text.c (impl_getAttributes): fix warning / bug.
1351 * libspi/*.[ch]: more headers, includes and over commenting.
1353 2001-20-11 Michael Meeks <michael@ximian.com>
1355 * libspi/*.[ch]: fixup headers, includes and over commenting.
1357 * libspi/image.c (impl__get_imageDescription): const
1358 correctness warning fix. remove redundant casting.
1360 * libspi/table.c (impl_getRowDescription): ditto.
1361 (impl_getColumnDescription): ditto.
1363 * libspi/libspi.h: add.
1365 2001-19-11 Michael Meeks <michael@ximian.com>
1367 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1369 * libspi/component.c (accessibility_component_get_type):
1370 rename to (spi_component_get_type): and macroify.
1371 (accessibility_component_init): rename to
1372 (spi_component_init): this
1373 (accessibility_component_class_init): rename to
1374 (spi_component_class_init): this
1376 * libspi/action.c (spi_action_get_type): kill, use the macro.
1378 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1381 * libspi/application.c (spi_application_object_event_listener),
1382 (impl_accessibility_application_register_object_event_listener):
1383 warning fixes / const understanding updates.
1385 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1388 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1390 * libspi/spi_accessible.c: Added docs and C bindings for
1391 AccessibleStateSet. (No implementations yet). Documentation
1392 coverage for C bindings now 100%. Made docs for event listeners
1397 boolean notifyListenersSync (in DeviceEventListener listener,
1398 in DeviceEvent event);
1400 oneway void notifyListenersAsync (in DeviceEventListener listener,
1401 in DeviceEvent event);
1403 Added DeviceEventListener and DeviceEvent structs (may deprecate
1404 KeyStroke and KeystrokeListener in favor of this generic
1405 event/listener framework for devices).
1407 * libspi/deviceeventcontroller.c:
1409 Changed some key listener code to take masks, etc., and paved the
1410 way for integration of toolkit/non-preemptive key events. Changed
1411 signatures of some internal methods.
1413 * at-bridge/bridge.c:
1414 Fixed regression connecting to interface signals, apparently
1415 caused by GTK+ changes.
1417 Added an internal bridge_state_listener to deal with
1418 property-change:accessible-state signals.
1420 Changed the key_listeners GList to store structs (including masks,
1421 etc.) instead of just CORBA_Objects (required for full
1422 implementation of key listener API).
1424 Connected the bridge to all currently supported Atk signals.
1425 Events now supported:
1426 object:property-change
1427 object:property-change:accessible-name
1428 object:property-change:accessible-state
1429 object:property-change:accessible-description
1430 object:property-change:accessible-parent
1431 object:property-change:accessible-value
1432 object:property-change:accessible-role
1433 object:property-change:accessible-table-caption
1434 object:property-change:accessible-table-column-description
1435 object:property-change:accessible-table-column-header
1436 object:property-change:accessible-table-row-description
1437 object:property-change:accessible-table-row-header
1438 object:property-change:accessible-table-summary
1439 object:children-changed
1440 object:visible-data-changed
1441 object:selection-changed
1442 object:text-selection-changed
1444 object:text-caret-moved
1446 object:row-reordered
1448 object:column-inserted
1449 object:column-reordered
1450 object:column-deleted
1451 object:model-changed
1453 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1455 * libspi/hyperlink.c,h:
1456 Fixed some broken stuff in hyperlink.
1458 * libspi/relation.h:
1459 * libspi/relation.c:
1460 * cspi/spi_accessible.c:
1461 Initial implementations of AccessibleRelation methods, and docs.
1463 * libspi/accessible.c:
1464 Fixed a bug that caused SEGV if an accessible
1465 object's description is NULL, and a client
1466 requests it. An empty string is now returned.
1468 * cspi/spi_editabletext.c:
1469 * cspi/spi_hypertext.c:
1471 * cspi/spi_hyperlink.c:
1475 Doc coverage now 95%.
1477 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1479 One last namespacing revision:
1480 * libspi/accessibleeventlistener.[ch]:
1481 Renamed SpiAccessibleEventListener to SpiEventListener,
1482 (no need for two namespaces ;-)
1484 And lots of documentation fixes:
1486 * docs/at-spi-docs.sgml:
1487 Fixed 'underscore vs. hyphen' bug that was preventing
1488 the gtk-doc API docs from being automatically generated.
1491 * cspi/spi-listener.h
1493 * cspi/spi_accessible.c
1495 * cspi/spi_application.c
1496 * cspi/spi_component.c
1497 * cspi/spi_editabletext.c
1499 * cspi/spi_hypertext.c
1501 * cspi/spi_registry.c
1502 * cspi/spi_selection.c
1506 * docs/at-spi-docs.sgml
1507 * docs/at-spi-sections.txt
1509 Added and fixed up gtk-doc documentation in cspi.
1511 Interfaces now (fully) documented (subject to revision and enhancement):
1513 Event Listener Support
1515 AccessibleApplication
1519 AccessibleEditableText
1526 AccessibleRelationSet
1531 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1533 * at-bridge/bridge.c:
1534 Initial work for toolkit-level key snooper connection by bridge.
1539 New typedefs and fixes to support new namespacing, and cleaner
1540 separation of cspi bindings from libspi bonobo implementation.
1541 Removed inconsistent and extraneous Spi* namespace prefix that
1542 had crept into cspi headers.
1543 Lots of comment fixes that sed had missed.
1545 * cspi/spi-roletypes.h:
1546 * cspi/spi-statetypes.h:
1547 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1548 to AccessibleRoleType.
1550 * libspi/accessibleeventlistener.h:
1551 Fixed minor namespacing weirdness.
1553 * libspi/deviceeventcontroller.c:
1554 Reordered some internal API for device listeners.
1555 Changed the key registry final boolean to 'is_system_global'
1556 rather than 'is_synchronous', which is more descriptive of its
1558 Added spi_device_event_controller_new().
1559 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1561 * libspi/keystrokelistener.[ch]:
1562 Namespaced KeystrokeListener to SpiKeystrokeListener.
1563 Changed uses of keymasks to use SPI_ prefix, and did other
1566 * libspi/keymasks.h:
1567 Namespaced keymask constants with SPI_ prefix.
1569 * libspi/registry.c:
1570 Some warning fixes, and knock-on fixes from namespace changes.
1573 Added rules for accessx-gui test program.
1575 * test/accessx-gui.c:
1576 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1577 utility. It doesn't actually use at-spi, but it's still cool and
1580 * test/keysynth-demo.c:
1584 Fixes so that these test clients work properly with the namespaced
1585 libraries. (Incompletely tested for technical reasons, fixes may follow)
1588 2001-13-11 Michael Meeks <michael@ximian.com>
1590 * libspi/application.c
1591 (impl_accessibility_application_get_version),
1592 (impl_accessibility_application_get_toolkit_name):
1594 (impl_accessibility_application_set_id),
1595 (impl_accessibility_application_get_id): remove
1596 redundant casting code.
1598 * libspi/action.c (impl_getDescription): fix warnings.
1600 * libspi/accessible.c
1601 (impl_accessibility_accessible_get_parent),
1602 (impl_accessibility_accessible_get_child_at_index),
1603 (impl_accessibility_accessible_get_state),
1604 (impl_accessibility_accessible_get_relation_set):
1605 warning fixes & include action.h
1607 2001-13-11 Michael Meeks <michael@ximian.com>
1609 * *.[ch] fix bits I screwed up:
1611 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1612 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1614 2001-13-11 Michael Meeks <michael@ximian.com>
1616 * *.[ch] Namespace libspi into spi_ and Spi.
1618 2001-13-11 Michael Meeks <michael@ximian.com>
1620 * Makefile.am: dist & install at-spi-1.0.pc
1622 * libspi/Makefile.am: install into at-spi-1.0
1624 * idl/Makefile.am (idldir): install into at-spi-1.0
1626 * at-spi-1.0.pc.in: add.
1628 * configure.in: build it.
1630 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1632 * test/keysynth-demo.c:
1633 Use a 'realize' signal-handler to set the WM properties for
1634 the virtual keyboard, rather than making it a "POPUP" type
1635 override-redirect window (thanks to anders carlsson for that
1638 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1641 * test/keysynth-demo.c:
1642 Added new test of key synthesis, which creates a simple
1643 (mouse-operated) onscreen keyboard. It inserts key events into
1644 the currently-focused window, thus it does not grab keyboard focus
1647 * cspi/spi_registry.c:
1648 Added C binding for AT-SPI generateKeyEvent.
1650 * libspi/deviceeventcontroller.c:
1651 Added call to XFilterEvent so that key listener works with XIM (we
1652 hope). Added event_synth_type to generateKeyEvent, so that we can
1653 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1654 synthesize a press/release pair for KeySyms.
1656 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1658 * libspi/Makefile.am:
1659 * registryd/Makefile.am:
1660 (temporary) hack to include libXtst in libspi and registryd.
1661 (Needed for keystroke synthesis, see below).
1664 Improved API for registerKeystrokeListener, in accordance with
1665 discussions with Gnopernicus team and X server research.
1667 * libspi/registry.c:
1668 * libspi/deviceeventcontroller.c:
1669 * libspi/accessible.c:
1670 * libspi/keystrokelistener.c:
1671 Changes and fixes to support keylisteners for potentially
1672 consumed key events (that is, 'passive grabs').
1673 Added implementation for generateKeyEvent() [untested].
1676 Changes to registerKeystrokeListener() API, as above.
1677 Added deregisterGlobalEventListenerAll(), and
1678 deregisterKeystrokeListener(), which are needed for clean exit of
1680 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1681 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1683 * cspi/spi_registry.c:
1684 Added implementations of function prototypes mentioned above.
1686 * registryd/registryd.c:
1687 Added the key listener event source as a g_timeout(), to allow
1688 receipt of key events that are not caught by GDK (since GDK
1689 doesn't support passive keygrabs, this was necessary).
1692 Changed to attach a keylistener to 'Alt' keys, and
1693 respond to the following keycommands: Alt-M (toggle magnifier);
1694 Alt-F (toggle speech); Alt-Q (quit).
1695 Added an exit routine to deregister the listeners, and a key
1696 listener that prints some key info to the console when a key
1697 matches the listener mask (and is thus received by the listener).
1699 * util/idl/Magnifier.idl:
1700 Changes to magnifier API to support multiple zoom regions,
1701 non-uniform scaling in x and y, markDirty, and a host of other
1702 features that would be useful to magnification.
1705 * util/mag_client.c:
1706 * util/mag_client.h:
1707 * util/mag_control.c:
1709 Source code changes to support the above IDL changes.
1712 As above, and also changes to use a (slower) generic conversion
1713 path for colormap conversions, since the fast RGB conversions have been
1714 reported to fail for 16-bit displays.
1716 2001-10-26 Michael Meeks <michael@ximian.com>
1718 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1720 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1722 * at-bridge/Makefile.am: fix LDFLAGS.
1724 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1726 * at-bridge/bridge.c:
1727 Re-worked listeners for toolkit events, now we have signal
1728 and property listeners. Added a private method
1729 register_atk_event_listeners(), which registers with the
1730 various atk and gtk signals we need to monitor in order to emit
1732 Added emission hook for AtkObject:property-change events, to
1733 support the 'property listeners'.
1734 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1737 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1738 which emit warnings and exit, respectively, if CORBA errors occur
1739 during remote calls, and we now use these methods to check most of
1740 our CORBA calls in the C bindings.
1742 * cspi/spi_accessible.c:
1743 Changed AccessibleSelection_refSelectedChild() to
1744 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1745 now increment refcounts.
1747 * cspi/spi_component.c:
1748 Fixed some long pointer casts (dangerous!) to pass pointers to
1749 CORBA_longs of the proper type to the CORBA stubs, and copy the
1750 data into the longs that were passed into the C bindings code.
1752 * at-bridge/bridge.c:
1754 * libspi/accessible.c:
1755 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1756 hyperlinks, AtkHyperlink is an object type.
1758 * libspi/application.c:
1759 Added various conversions to and from "generic" event types and
1760 atk-specific types; this is really part of the 'bridge'
1761 implementation but is valid for all AtkObject-based accessibility
1764 * libspi/editabletext.c:
1765 Fixed nasty bug wherein editable text's finalize method was
1766 unref'ing tha AtkObject reference that the text parent class was
1767 about to unref _again_. There was also a nasty inheritance bug
1768 that meant that the AccessibleEditableText class was corrupt.
1770 * libspi/selection.c:
1771 Provided implementations for some selection API that was broken.
1773 * idl/Application.idl:
1774 Added registerObjectEventListener () method.
1777 Fixed a number of return values that were Bonobo_Unknowns from
1778 bonobo_object_corba_objref(), which I
1779 forgot to dup before returning. Changed instances of
1780 bonobo_object_corba_objref (bonobo_object(o)) to
1781 BONOBO_OBJREF(o), for concision and clarity.
1783 <2001-10-13 Louise Miller <louise.miller@sun.com>
1785 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1786 idl/Event.idl, idl/Registry.idl
1787 Changed these files to include Bonobo_Unknown.idl instead
1790 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1792 * libspi/component.c libspi/component.h:
1793 Fixed typo. Added assertions for object checks in
1794 AccessibleComponent code.
1796 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1798 * idl/Accessible.idl:
1799 Added 'isEqual (Accessible *object)'
1800 method for Accessible. (Not Yet Implemented).
1803 Changed signature of registerKeystrokeListener() to
1804 take a KeySet and KeyEventSeq so that specific keys and event
1805 types could be requested for monitoring, and added a flag
1806 is_synchronous so that either synchronous or asynchronous
1807 notification could be requested. (However this is not all
1808 implemented yet). This also meant adding two new typedefs,
1809 KeyEventSeq and KeySet.
1812 Added two new relations, RELATION_TOOLTIP_FOR and
1813 RELATION_LEAFNODE_OF.
1816 Added new state, STATE_HAS_TOOLTIP.
1818 * libspi/text.c, editabletext.c:
1819 Added new assertions to all casts of bonobo-objects from
1820 CORBA servants, to prevent Text API calls on non-text objects.
1821 Changed suspect casts of int-pointer types, so that we
1822 always send a valid CORBA_long pointer to the CORBA APIs that use
1823 in/out long parameters. We then have to copy from the CORBA_long
1824 into the regular long or int for return to the C bindings, or
1825 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1828 * libspi/deviceeventcontroller.c:
1829 Cleaned these sources up.
1831 Changed return type for getCharacterAtOffset to
1832 CORBA_unsigned_long, to allow for 32-bit characters.
1835 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1839 Fixed 'make dist' so that distro compiles...
1840 * libspi/keymasks.h:
1842 * cspi/spi-listener.c:
1843 KeystrokeListenerCB now returns a boolean.
1845 Added KeyEventType struct, and KeyStroke.
1846 Also added createKeystrokeListener(),
1847 KeystrokeListener_addCallback(),
1848 KeystrokeListener_removeCallback(), and added a keymask to
1849 registerKeystrokeListener().
1850 * cspi/spi_accessible.c:
1851 Changed numerous return types for interfaces from
1852 AccessibleComponent to Accessible<InterfaceName>; this was
1853 probably a cut-and-paste error.
1855 Implementations of new KeystrokeListener api (from spi.h,
1858 Changes to key modifier mapping.
1859 Created ControllerEventMask struct.
1860 Made DeviceEventController derive from Bonobo::Unknown.
1862 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1863 * libspi/deviceeventcontroller.c:
1864 Added a number of new internal (private) methods.
1865 * libspi/editabletext.c:
1866 * libspi/editabletext.h:
1867 Fixed a number of bugs related to the fact that
1868 editabletext inherits from text. Fixed the EditableText struct,
1869 the init() call, and use correct casts when calling Text methods
1870 from an EditableText object. Removed (duplicate) atko from the
1871 EditableText structure, we use the one in the parent Text
1872 structure via the casts mentioned above.
1873 * libspi/keystrokelistener.[ch]:
1874 * libspi/registry.c:
1875 Changes in support of keyboard handling (above).
1877 Keyboard handling, though partly functional, is still not
1878 recommended for at-spi client use as there is considerable
1879 work yet to be done.
1882 Changed some places where pointers to various int types
1883 are cast to be pointers to CORBA_long types and vice-versa:
1884 pointer casting is not safe so we pass pointers of the correct
1885 types and then cast the result before putting it into the target
1888 * libspi/text.h: minor typos corrected.
1890 We now speak not only the name of a Text element, but the
1891 first sentence of its content, when it receives focus.
1892 I also changed the text compression to 75% from 50%.
1893 * util/Accessibility_Util.server.in:
1894 Changed the default magnifier type to be a 3x vertical
1895 splitscreen magnifier (was previously a 2x horizontal one).
1897 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1899 * libspi/keystrokelistener.h:
1900 * libspi/keystrokelistener.c:
1901 Initial functional implementations of KeystrokeListener.
1904 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1906 Fixed string handling for NULL strings in libspi.
1907 Added spi_freeString to free strings returned by C bindings.
1909 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1911 * libspi/keystrokelistener.h:
1912 * libspi/keystrokelistener.c:
1913 Began (no-op) implementations of KeystrokeListener
1915 * libspi/deviceeventcontroller.c:
1916 * libspi/deviceeventcontroller.h:
1917 Began creating implementations of DeviceEventController,
1918 to handle keystroke and mouse event listening and
1920 * libspi/accessible.c:
1921 Stubbed-in the implementations for
1922 Accessibility_Accessible_getState and
1923 Accessibility_Accessible_getRelationSet.
1924 * libspi/registry.c:
1925 Improved de-registration process and fixed some bugs,
1926 deregistration now works correctly.
1928 Added initialization of applications list (to NULL).
1930 Reduced speech compression from 0.5 to 0.7, for demo.
1931 Changed call to gdk_window_set_decorations()
1932 to gtk_window_set_decorated().
1933 * at-bridge/bridge.c:
1934 Bridge now deregisters when app exits, via
1935 registration of a cleanup function
1936 with the g_atexit() call.
1937 Required making 'app' static, renamed 'this_app'.
1938 Fixed broken use of bonobo_init, passing argv wrongly.
1940 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1944 Created a new directory for
1945 accessibility-related utilities, primarily for
1946 testing and demo purposes, but with possible
1953 Onscreen magnifier utility that
1954 is implemented as a bonobo service.
1956 * util/mag_client.c:
1957 * util/mag_client.h:
1958 Client-side support (simple C bindings)
1959 for Magnification service
1961 * util/mag_control.c:
1962 Client program example for
1963 Magnification service
1965 * util/Accessibility_Magnifier.server.in:
1966 Bonobo-activation file for the
1967 Magnification service.
1970 * util/idl/Magnifier.idl:
1971 IDL defining the bonobo Magnification
1975 Modifications to use the bonobo-activated magnifier
1976 above, in place of trying to connect to an existing
1977 magnifier that uses socket-listening IPC.
1979 If env variable MAGNIFIER is set, a magnifier service
1980 will be started if one does not exist.
1982 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1983 * at-bridge/bridge.c:
1984 applied patch from Marc to build and run
1985 against new glib and gtk+ (seemed like a change
1986 to bonobo_init signature was made ?)
1988 made festival-server support turned off by default.
1989 Added support for a simple magnifier (off by default)
1990 which will be added to a 'util' directory later.
1991 * at-bridge/Makefile.am:
1992 Changed "application.h" header from a 'source'
1993 to a 'dependency' of libat-bridge.
1995 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2003 Added interface implementation c files to list of
2004 includes so they are included in libcspi.
2007 Changed prototype of AccessibleAction_doAction to return a
2009 Changed prototype of AccessibleTable_getCaption to
2010 return an Accessible.
2011 Changed prototype of AccessibleTable_getSelectedRows
2012 and AccessibleTable_getSelectedColumns to
2013 return a long (returns the number of selected rows
2014 or columns respectively).
2015 Changed name of AccessibleText_refRunAttributes to
2016 AccessibleText_getAttributes.
2017 Changed prototype of AccessibleText_getCharacterExtents to
2018 return a void rather than a boolean.
2019 Added support for a AccessibleCoordType parameter
2020 specifying what type of coordinates are desired.
2021 Added an AccessibleCordType parameter to
2022 AccessibleText_getPointAtOffset.
2024 * cspi/spi_accessible.c:
2025 Added code to return the outstanding interfaces from
2026 Accessible_queryInterface.
2028 * cspi/spi_action.c:
2030 Corrected call to getNActions to call the c binding
2033 * cspi/spi_editabletext.c:
2035 Changed name from setRunAttributes to setAttributes.
2037 * cspi/spi_hyperlink.c:
2039 Changed call to getNAnchors to correctly call the c
2040 binding for an attribute.
2042 * cspi/spi_hypertext.c:
2044 Changed getImageDescription to correctly call the
2045 binding for an attribute.
2047 * cspi/spi_selection.c:
2048 Changed getNSelectedChildren to correctly call the c
2049 binding for the attribute.
2050 Changed refSelectedChild to getSelectedChild.
2054 Changed getCaption to return an Accessible.
2055 Fixed calls which retrieve attributes.
2056 Changed refAt to getAccessibleAt.
2057 Changed getNSelectedRows and getNSelectedColumns to
2061 Changed getCharacterExtents and getPointAtOffset to accept an
2062 AccessibleCoordType.
2064 Changed calls which retrieve attributes.
2065 Changed refRunAttributes to getAttributes.
2070 * idl/Hyperlink.idl:
2071 Changed n_anchors attribute to nAnchors to keep naming
2072 convention consistent.
2075 Made Table inherit from Bonobo::Unknown.
2076 Added nSelectedColumns and nSelectedRows attributes.
2079 Made Value inherit from Bonobo::Unknown.
2081 * libspi/hyperlink.c:
2082 Change for nAnchors attributte name change.
2084 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2092 Added interface implementation c files to list of
2093 includes so they are included in libcspi.
2096 Changed prototype of AccessibleAction_doAction to return a
2098 Changed prototype of AccessibleTable_getCaption to
2099 return an Accessible.
2100 Changed prototype of AccessibleTable_getSelectedRows
2101 and AccessibleTable_getSelectedColumns to
2102 return a long (returns the number of selected rows
2103 or columns respectively).
2104 Changed name of AccessibleText_refRunAttributes to
2105 AccessibleText_getAttributes.
2106 Changed prototype of AccessibleText_getCharacterExtents to
2107 return a void rather than a boolean.
2108 Added support for a AccessibleCoordType parameter
2109 specifying what type of coordinates are desired.
2110 Added an AccessibleCordType parameter to
2111 AccessibleText_getPointAtOffset.
2113 * cspi/spi_accessible.c:
2114 Added code to return the outstanding interfaces from
2115 Accessible_queryInterface.
2117 * cspi/spi_action.c:
2119 Corrected call to getNActions to call the c binding
2122 * cspi/spi_editabletext.c:
2124 Changed name from setRunAttributes to setAttributes.
2126 * cspi/spi_hyperlink.c:
2128 Changed call to getNAnchors to correctly call the c
2129 binding for an attribute.
2131 * cspi/spi_hypertext.c:
2133 Changed getImageDescription to correctly call the
2134 binding for an attribute.
2136 * cspi/spi_selection.c:
2137 Changed getNSelectedChildren to correctly call the c
2138 binding for the attribute.
2139 Changed refSelectedChild to getSelectedChild.
2143 Changed getCaption to return an Accessible.
2144 Fixed calls which retrieve attributes.
2145 Changed refAt to getAccessibleAt.
2146 Changed getNSelectedRows and getNSelectedColumns to
2150 Changed getCharacterExtents and getPointAtOffset to accept an
2151 AccessibleCoordType.
2153 Changed calls which retrieve attributes.
2154 Changed refRunAttributes to getAttributes.
2159 * idl/Hyperlink.idl:
2160 Changed n_anchors attribute to nAnchors to keep naming
2161 convention consistent.
2164 Made Table inherit from Bonobo::Unknown.
2165 Added nSelectedColumns and nSelectedRows attributes.
2168 Made Value inherit from Bonobo::Unknown.
2170 * libspi/hyperlink.c:
2171 Change for nAnchors attributte name change.
2174 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2176 implementations-- made server implementations own AtkObject pointers
2177 rather than their respective AtkInterrface pointers to fix
2178 refcounting. AtkHyperlink is still broken.
2180 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2181 * cspi/spi_accessible.c:
2182 Added method Accessible_Role_getName(),
2183 and requisite string array (role_names).
2184 Added conversion string_from_corba_strin() call
2185 to Accessible_getName and _getDescription.
2186 * libspi/accessible.c:
2187 Added implementation for Accessible_getRole()
2189 Added festival support, used if environment variable
2192 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2194 * at-bridge/bridge.c:
2195 Now allocate Accessibility_Event using
2196 Accessibility_Event__alloc() instead of g_new0().
2197 * libspi/accessibleeventlistener.c:
2198 Initialize AccessibleEventListener->callbacks to NULL.
2199 Fixed accessible__event_listener_init() param, changed to
2200 "AccessibleEventListener *" type.
2201 Changed a bonobo_object_release_unref() call to
2202 Accessibility_Accessible_unref().
2203 * libspi/listener.c:
2204 Changed Bonobo_Unknown_unref to (equivalent)
2205 Accessibility_Accessible_unref.
2206 * libspi/registry.c:
2207 Changed bonobo_object_release_unref to
2208 Accessibility_Accessible_unref.
2210 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2213 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2214 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2215 spi-util.c spi-util.h
2216 Implementations for C bindings to remaining accessibility
2219 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2222 changed return value of Action from void to boolean to
2223 bring in line with ATK.
2226 Changed getText funcions to return "out" start and end offsets.
2227 Changed getAttributes to take and offset and return the start
2228 and end offset of the attribute run.
2229 Changed getOffsetAtPoint and getCharacterExtents to take an
2230 enum describing whether coordinates are window or screen.
2233 libspi/action.c libspi/action.h libspi/editabletext.c
2234 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2235 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2236 libspi/image.h libspi/selection.c libspi/selection.h
2237 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2238 libspi/value.c libspi/value.h
2239 Added server implementations for outstanding ATK interfaces
2240 not yet implemented.
2242 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2245 Added (missing) getName() method.
2246 Made nActions an attribute.
2247 * idl/EditableText.idl:
2248 Changed order of params in setAttributes.
2249 * idl/Hyperlink.idl:
2250 Removed getAnchor, added getURI.
2252 Changed attributes to methods, for efficiency
2253 (so that getting extents can be done in one call)
2254 * idl/Selection.idl:
2255 Changed nSelectedChildren to attribute, and re-indented.
2256 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2258 * idl/Text.idl: reformatted to match our coding style.
2259 (temporarily?) removed getRowColumnAtOffset().
2260 Changed text selection API to support multi-select and
2261 non-contiguous selections, as in ATK.
2262 * idl/Value.idl: changed some methods to attributes.
2264 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2266 * libspi/listener.c(impl_notify_event):
2267 BonoboUnkown_unref the source instead
2268 of bonobo_object_release_unref - the ORB
2269 handles the releasing.
2271 * configure.in: require ORBit-2.3.94 for
2274 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2276 Tagged CVS repository 'EA_1_0'.
2277 * README.EARLY_ACCESS:
2278 Alphabetized acknowledgements list, and
2280 Listed some known dependencies of at-spi.
2282 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2284 * docs/at-spi-docs.sgml:
2285 * docs/at-spi-sections.txt:
2286 * docs/at-spi-overrides.txt: (Added zero-length file)
2287 Documentation improvements - gtk-doc should build
2288 docs for all implemented C bindings now.
2291 * cspi/spi.c: (New file)
2292 * cspi/spi_event.c: (New file)
2293 * cspi/spi_registry.c: (New file)
2294 * cspi/spi_accessible.c: (New file)
2295 * cspi/spi_application.c: (New file)
2296 * cspi/spi_component.c: (New file)
2297 Split spi_main.c into six parts, and included them from
2298 "spi.c". This is a bit of a hack, probably temporary,
2299 but required by gtk-doc, apparently.
2301 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2304 * docs/at-spi-docs.sgml:
2305 * docs/at-spi-sections.txt:
2307 Initial checkins/modifications for gtk-doc generation.
2310 Added (missing) interface query methods to Accessible's C binding.
2312 Added GenericInterface type definition.
2314 Added query for AccessibleComponent interface to focus event handler.
2315 Added printout of bounding box for focussed component.
2316 * libspi/component.c:
2317 Added partial implementation for AccessibleComponent to C binding.
2318 * idl/Application.idl:
2319 * libspi/registry.c:
2320 * libspi/listener.c:
2321 * libspi/application.c:
2322 * libspi/application.h:
2323 Changed "ID" attribute type from string to long.
2325 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2329 Made method naming consistent: methods taking object args
2330 start with uppercase, other methods (except those using
2331 acronyms) start with lowercase. Underscores delimit between
2332 object names and method names:
2333 SPI_init() - uppercase since it starts with an acronym.
2334 getDesktopCount () - lowercase start since no object param0.
2335 Accessible_getName() - uppercase object type name, studlyCaps method
2339 Added gtk-doc documentation for all currently implemented
2340 methods in the C bindings API.
2342 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2344 * Makefile.am : changed build order to build test last.
2347 Changed "createEventListener" to "CreateEventListener".
2348 * libspi/accessibleeventlistener.c :
2349 Bugfix for addition of callbacks.
2350 * test/Makefile.am :
2351 * test/simple-at.c :
2352 Added new test that uses the C bindings API.
2354 * libspi/listener.c :
2355 * libspi/registry.c :
2356 * libspi/accessibleeventlistener.c :
2357 * at-bridge/bridge.c :
2358 Renamed member "target" of Accessibility_Event to "source",
2359 which is more descriptive.
2362 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2366 * cspi/Makefile.am :
2367 Added makefile support for at-spi/cspi directory.
2370 * cspi/spi-listener.h : (NEW FILE)
2371 Added support for/use of spi-listener.h.
2373 C bindings now build successfully, with no warnings.
2374 * libspi/accessibleeventlistener.h : (NEW FILE)
2375 * libspi/accessibleeventlistener.c : (NEW FILE)
2376 * libspi/Makefile.am :
2377 Added new object type "AccessibleEventListener"
2378 which inherits from Listener, and allows attachment
2379 of in-process callbacks (so that a client with a listening
2380 object instance can add functionality to the local
2381 implementation, dynamically).
2383 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2385 * libspi/accessible.c:
2386 Add implementation for get_index_in_parent().
2388 Added #include of "spi-roletypes.h", and
2389 added enumerated type AccessibleCoordType.
2390 Added definition for KeystrokeListener (function type).
2393 * cspi/spi-statetypes.h :
2394 * cspi/spi-roletypes.h :
2396 Added these headers, used by spi.h.
2398 Added code (NOTE: not yet built by make).
2400 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2402 * libspi/Makefile.am: generate imodule
2403 at the same time as other idl compiler
2406 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2407 * libspi/registry.c :
2408 * libspi/application.c :
2409 * idl/Application.idl :
2410 Made registration with toolkit an application method,
2411 which is required since each app has its own toolkit static
2412 environment. Thus the bridge must register for
2413 notification of toolkit events from each application in turn.
2414 Toolkit notifications are now successfully registered for, and
2415 sent to the listening at client.
2417 Changed toolkit event string to use hyphens rather than underscores.
2418 * libspi/listener.c :
2419 listner now gives more info in debug mode - it reports the
2420 name of the event received, as well as the name of the source.
2423 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2425 * libspi/registry.c :
2426 added more implementation for toolkit events.
2427 Fixed bug such that toolkit event registrations
2428 (via atk) use the whole event name string, not
2430 Removed a useless call to an ORBit_ method.
2431 * at-bridge/bridge.c :
2432 Removed unused local sbuf[] variable.
2434 We now register for Gtk:GtkWidget:button_press_event
2435 events as well as "focus:" events.
2437 Add some more API from Registry.idl that was missing,
2438 for keystroke listening, keystroke and mouse event
2439 synthesis, and enumeration of accessible desktops.
2441 2001-08-16 Michael Meeks <michael@ximian.com>
2443 * configure.in: use AM_GLIB_GNU_GETTEXT.
2445 * Makefile.am (SUBDIRS): kill intl.
2447 2001-08-15 Michael Meeks <michael@ximian.com>
2449 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2451 * configure.in: upd.
2453 * configure.in: depend on a recent bonobo-activation that
2454 will find our server files ...
2456 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2458 * libspi/accessible.c : accessible_new() :
2459 Now we add the Component interface via bonobo_object_add_interface,
2460 if the contained AtkObject implements AtkComponent.
2461 * libspi/accessible.h : now include "component.h"
2462 * libspi/component.h :
2463 * libspi/component.c : added files - implementation of
2464 bonobo wrapper object for Accessibility/Component
2465 * libspi/listener.c :
2466 Added test code to check for Accessibility/Component:1.0
2467 interface and report whether it is implemented by the
2469 * libspi/registry.c :
2470 Now we check for not only the hash of the whole event
2471 string before relaying the event, we also check the
2472 "minor" event string (without the detail string).
2473 This allows event listeners to be registered against
2474 all events of a certain major+minor type, or just
2475 against a specific major+minor+detail type.
2476 * libspi/accessible.c :
2477 Added implementations for Accessible:get_parent(),
2478 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2479 * libspi/registry.c :
2480 * libspi/listener.c :
2481 Replaced calls to Accessibility_Accessible_ref() and
2482 Accessibility_Accessible_unref() with
2483 calls to bonobo_object_dup_ref() and
2484 bonobo_object_release_unref(), so that the CORBA object
2485 is dup-ed and released when relayed, as well as the bonobo object.
2487 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2489 * libspi/Makefile.am,
2490 registryd/Makefile.am,
2491 at-bridge/Makefile.am.
2492 test/Makefile.am, configure.in:
2493 reverse previous changes.
2495 * /idl/Image.idl: fix typo.
2497 * test/Makefile.am: put DEBUG_FLAGS
2500 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2502 * test/app.c: use argv[0] instead of
2505 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2507 * libspi/Makefile.am,
2508 registryd/Makefile.am,
2509 at-bridge/Makefile.am.
2510 test/Makefile.am, configure.in:
2511 cleanup, replace individual LIBS/CFLAGS with
2512 AT_COMMON_{LIBS|CFLAGS}.
2516 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2518 * configure.in, libspi/Makefile.am:
2519 Change IDL path checking for bonobo-activation
2522 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2524 * registryd/registry.c : separated event listeners to use
2525 3 separate lists (focus, window, toolkit). Began testing
2526 event names against hashes before relaying events.
2527 * test/at.c : now register for events of type "focus:"
2528 * test/app.c : now generate events of type "focus:"
2529 * at-bridge/bridge.c : register with ATK for focus events,
2530 and we now relay those focus events to any "focus:" listeners.
2531 This now works with the bridge as a GTK_MODULE when running test/at.
2532 * libspi/registry.c :
2533 * libspi/listener.c :
2534 now we ref event sources before propagating, and unref on receipt.
2535 * libspi/registry.c :
2536 some changes to internal structs, to support event typestring hashes.
2537 * text/app.c : changed the way the appname is generated.
2538 * cspi : added directory that will hold the C bindings library for
2539 non-CORBA/bonobo-savvy clients.
2540 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2541 * idl/Component.idl : added in parameter to indicate coord system for
2542 geometry-related calls.
2543 * idl/Hyperlink.idl : added readonly n_links attribute
2544 * idl/Image.idl : changed methods to attributes.
2546 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2548 * at-bridge/Makefile.am: link against
2549 ../libspi/libspi.la instead of -lspi.
2551 * at-spi/test/app.c: include
2552 bonobo-activation.h. Use a default appname
2553 if one is not provided.
2555 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2557 * idl/Registry.idl : temporarily changed register_Application
2558 to oneway, to work around issue with initial registration
2560 * idl/Application.idl : changed attribute "id" from readonly
2561 to read-write, since it needs to be assigned by Registry.
2562 * registryd/registryd.c : added call to set application id
2564 * registryd/registry.c : changed de-registration procedure to
2565 use CORBA_Object_hash() to find matching object ref in application
2566 lists and listener lists.
2567 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2568 began distinguishing between event types (work in progress).
2570 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2573 * libspi/application.c:
2574 Added implementations for get/set id, get_toolkitName,
2576 * registryd/registryd.c :
2580 Converted from use of OAF to bonobo-activation.
2581 * libspi/desktop.h :
2582 * libspi/desktop.c :
2584 Removed references to atksimpleobject, since base atkobject
2585 implementation now provides functionality we need.
2586 * libspi/atksimpleobject.c :
2587 * libspi/atksimpleobject.h :
2592 * at-bridge/Makefile.am
2593 * at-bridge/bridge.c
2596 Added directory "bridge" and contents, and added dependencies
2597 in Makefile.am/configure.in.
2598 Initial checkin of "at-bridge".
2599 This code is a GTK_MODULE which automatically registers
2600 GTK+ apps with the accessibility registry, using an object
2601 reference to the root ATK object.
2603 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2605 * po/Makefile.in.in: Remove. Again. If this
2606 doesn't get autogenerated - you need to update
2609 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2611 * po/Makefile.in.in: Add. Again.
2613 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2615 * libspi/accessible.c : added support for 'description' property.
2616 * libspi/accessible.c
2618 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2619 (since the two are now equivalent in libbonobo)
2627 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2628 Bonobo::Unknown as does Accessibility::Accessible.
2629 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2630 interface with Bonobo::Stream, since it was redundant with it.
2631 (The Stream returned by a StreamableContext object is expected to
2632 implement only a subset of Bonobo::Stream)
2634 2001-07-28 Anders Carlsson <andersca@gnome.org>
2636 * libspi/accessible.c (accessible_object_finalize): Change
2637 g_free to g_object_unref since the AtkObject is a GObject.
2639 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2641 * idl/Accessibility.idl: add new IDL files
2644 * idl/Action.idl: Definitions of actionable UI object
2645 * idl/Component.idl: Definitions of UI component geometry, etc.
2646 * idl/Hyperlink.idl: Defs of hyperlink behavior
2647 * idl/Image.idl: Def of accessible image
2648 * idl/Selection.idl: Definition of UI object with selectable children
2649 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2650 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2651 * idl/Text.idl: Interface defs for UI elements with complex textual content
2652 * idl/Value.idl: Definition of UI element that is a value controller or display
2654 2001-07-27 Michael Meeks <michael@ximian.com>
2656 * po/Makefile.in.in: remove autogenerated file from CVS.
2658 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2661 * idl/Registry.idl: include guard.
2663 * idl/Accessibility.idl: Add, and include all the other IDL
2666 * idl/*.idl: remove mass of pragmas etc.
2668 2001-07-26 Michael Meeks <michael@ximian.com>
2670 * registryd/Makefile.am (registryd_SOURCES): remove
2673 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2675 * libspi/.cvsignore, registryd/.cvsignore,
2676 test/.cvsignore: updated.
2678 * po/Makefile.in.in: gettext update.
2680 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2682 * initial CVS checkin
2684 2001-06-29 Michael Meeks <michael@ximian.com>
2686 * configure.in: add AM_CONFIG_HEADER to gen config.h