1 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4 Added a TODO list (rough and short for now).
6 * cspi/spi_hyperlink.c:
7 * cspi/spi_hypertext.c:
8 Fixed macro name typos, and remove use of obsolete macro in
9 AccessibleHyperlink_getLink.
12 * cspi/spi_accessible.c:
13 * cspi/spi_application.c:
14 * cspi/spi_component.c:
15 * cspi/spi_selection.c:
18 Documentation fixes (removed return values from ref/unref methods).
20 2001-12-10 Michael Meeks <michael@ximian.com>
22 * cspi/spi_action.c: audit for exception handling,
23 tolerating NULL object references safely etc.
25 * cspi/spi_accessible.c: ditto.
27 * cspi/spi_component.c: ditto.
29 * cspi/spi_editabletext.c: ditto.
31 * cspi/spi_hyperlink.c: ditto.
33 * cspi/spi_hypertext.c: ditto.
35 * cspi/spi_image.c: ditto.
37 * cspi/spi_selection.c: ditto.
39 2001-12-10 Michael Meeks <michael@ximian.com>
41 * configure.in: use cspi/libspi.pc.in instead.
43 * Makefile.am (pkgconfig_DATA): upd. to match.
45 * test/simple-at.c (report_focus_event): kill hacks around
46 bad return values, use putenv not setenv
48 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
49 fire ChildGone - I killed it.
52 (impl_accessibility_component_get_extents): remove
55 * idl/Accessible.idl: kill ChildGone exception.
57 * cspi/*.[ch]: kill int return from ref / unref.
59 * cspi/spi_main.c (cspi_object_add_check): fold into
60 (cspi_object_add): here.
62 * cspi/spi_component.c (AccessibleComponent_getExtents):
63 handle exceptions elegantly.
65 * cspi/spi-private.h (cspi_check_ev_return),
66 (cspi_return_if_fail): impl.
68 * cspi/spi_accessible.c: use extensively.
69 (AccessibleStateSet_equals): add direct compare check.
71 * cspi/spi_selection.c: tolerate NULL objs, and check
72 exceptions before return.
74 * cspi/spi-util.c (cspi_warn_ev): rename to
75 (cspi_check_ev): this & don't pass ev in; no point.
77 2001-12-10 Michael Meeks <michael@ximian.com>
79 * test/test-simple.c: use putenv not setenv
80 (get_environment_vars): more chatty if you're not using
83 * test/simple-at.c: do the setenv so more people see the
86 2001-12-10 Bill Haneman <bill.haneman@sun.com>
89 Changed check of CORBA_environment on notification to be a warning
90 instead of an error for the moment, since we can recover from this
91 error when caused by a queued notification from a dead app.
94 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
95 used by all current implementors of AtkValue), and coerce to
96 CORBA_float. (Proper general case fix may require change to Value.idl).
98 2001-12-09 Bill Haneman <bill.haneman@sun.com>
102 * cspi/spi_accessible.c:
103 Documentation fixes: added user_data params to documentation for
104 listeners and callbacks.
106 * cspi/spi_accessible.c:
107 Changed AccessibleStateSet_compare to return a
108 StateSet rather than return the difference set into a third parameter.
111 2001-12-09 Bill Haneman <bill.haneman@sun.com>
114 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
115 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
119 Remove subdirectory po from SUBDIRS for now.
121 * at-bridge/bridge.c:
122 Beefed up a couple of debug printouts.
123 One-line fix for signal notification name formatting.
125 * libspi/accessible.c:
126 Added assertion to spi_accessible_new ().
128 * libspi/application.c:
129 Put #ifdef qualifiers around a printf.
132 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
134 * registryd/Makefile.am:
136 Replaces use of XML_I18N_MERGE_SERVER_RULE with
137 INTLTOOL_SERVER_RULE macro.
140 Added an event listener for several ATK signals, for
141 testing and debugging. Removed a few g_warnings.
142 Added test output if focussed item implements the Value interface.
144 * test/test-simple.c:
145 Added test_value () function (known not to pass at the moment, so
146 not actually called yet.
148 2001-12-08 Michael Meeks <michael@ximian.com>
150 * at-bridge/bridge.c (bridge_focus_tracker),
151 (emit_eventv): fix the same ref. leak.
152 (register_atk_event_listeners): don't leak.
154 * cspi/spi-listener-impl.c (cspi_event): more
155 protection from client code.
157 * test/test-simple.c (test_desktop): unref the app.
159 * test/Makefile.am: upd. TESTS.
161 * at-bridge/bridge.c (bridge_exit_func): release the registry.
163 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
165 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
167 * cspi/spi_registry.c: constify in strings.
168 (deregisterGlobalEventListenerAll): don't release the ref.
170 * cspi/spi.h: start removing redundant / conflicting
171 gtkdoc comments, making the API readable at a glance :-)
173 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
175 * test/keysynth-demo.c (keysynth_exit, main): upd.
177 * test/simple-at.c (main, simple_at_exit): upd.
179 * test/test-simple.c (unutterable_horror): kill.
180 (utterable_normal_derefs): kill.
181 (main): upd & do a setenv before gtk_init, so that we
182 can use memprof - and to save the pain of remembering
183 this, if we're running under memprof - don't exit.
185 * cspi/spi_main.c (SPI_exit): return exit status
187 (SPI_event_quit): impl.
188 (SPI_event_main): simplify.
189 (cspi_is_gnome_app): kill.
190 (SPI_init): kill isGNOMEapp arg.
192 * at-bridge/bridge.c (register_atk_event_listeners):
193 re-instate the unref.
194 (bridge_exit_func): don't re-activate the registry,
195 protect vs. theoretical re-entry, use the
196 AT_BRIDGE_SHUTDOWN env. var to determine whether to
197 assert a clean shutdown - for regression tests.
199 2001-12-08 Abel Cheung <maddog@linux.org.hk>
201 * configure.in: Comment out dummy i18n support for now,
202 otherwise it fails to build.
203 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
204 EXTRA_DIST. They are missing in tarball.
206 2001-12-07 Michael Meeks <michael@ximian.com>
208 * util/magnifier.c: kill bonobo activation reg. race.
211 (impl_accessibility_component_get_extents): make it match
214 * libspi/registry.c (_registry_notify_listeners):
215 re-remove X headers & reconcile conflicts.
216 (spi_listener_struct_free): bad conflict resolve.
217 (impl_accessibility_registry_register_application):
218 more bad merging fixed.
219 (impl_accessibility_registry_deregister_application): ditto.
220 (spi_registry_new): ditto.
221 (spi_registry_init): don't have an applications field.
223 [ merge fixups2 branch to here ]
224 2001-12-07 Michael Meeks <michael@ximian.com>
226 * test/simple-at.c (report_focus_event),
227 (report_focussed_accessible): remove g_warning debug.
229 2001-12-07 Michael Meeks <michael@ximian.com>
231 * test/test-simple.c (validate_tree): comment out some checks.
232 (test_desktop): app now not registered idly - horay.
234 2001-12-07 Michael Meeks <michael@ximian.com>
236 * cspi/spi_registry.c
237 (registerAccessibleKeystrokeListener): clean, stop it leaking
238 great swathes of memory, and device event controller references.
239 ensure we always pass valid sequences.
240 (deregisterAccessibleKeystrokeListener): ditto.
241 (generateKeyEvent): upd.
243 * at-bridge/bridge.c (bridge_key_listener): handle
244 registry dead exception gracefully.
245 (bridge_focus_tracker, emit_eventv): free ev.
247 * test/simple-at.c (report_focus_event): fix polarity.
249 * libspi/application.c (notify_listeners): kill the ev
250 argument, and make sure we init the ev we use.
251 (spi_application_object_event_listener): split out a chunk
252 (get_atk_object_ref): here & fixup.
253 (reverse_lookup_name_for_toolkit_event): make const.
254 (spi_application_toolkit_event_listener): fixup, kill leaks
257 * at-bridge/bridge.c (register_atk_event_listeners):
258 don't unref the noop object - causes grief.
260 * libspi/registry.c: remove the X headers.
261 turn off the debug churn.
263 * libspi/accessible.c (spi_accessible_new_return): only
264 release the ref if we are supposed to [doh]
266 * test/simple-at.c (report_button_press, report_focus_event):
267 guard vs. unexpected exit.
269 * at-bridge/bridge.c (gtk_module_init): prune printf.
270 (bridge_exit_func): fix app unref.
272 * libspi/Makefile.am: don't install registry or desktop.h
274 * libspi/*.h: update includes.
276 * libspi/application.h: don't include ourself, or
277 other redundant headers.
279 2001-12-06 Michael Meeks <michael@ximian.com>
281 * libspi/accessible.c
282 (get_accessible_from_servant): impl.
283 Upd. all CORBA impl.s to use it killing cut and paste.
285 * cspi/spi_main.c (cspi_cleanup): guard vs. double
287 (SPI_init): register atexit cleanup handler here.
289 2001-12-06 Michael Meeks <michael@ximian.com>
291 * at-bridge/bridge.c (gtk_module_init): g_error on
294 2001-12-06 Michael Meeks <michael@ximian.com>
296 * at-bridge/bridge.c (gtk_module_init): some sort of
297 confusing merge clash - reverted.
298 (bridge_idle_init): ditto.
300 * test/test-simple.c (main, utterable_normal_derefs):
301 merge from Bill - somehow not committed.
303 2001-12-06 Michael Meeks <michael@ximian.com>
305 * libspi/value.c (spi_value_class_init): upd.
306 (spi_value_finalize): kill.
308 * libspi/table.c (spi_table_finalize): kill.
309 (spi_table_interface_new): upd.
310 (spi_table_class_init): upd.
311 (get_table_from_servant): impl.
312 Upd. all CORBA impl.s to use it killing yet more cut and paste.
314 * libspi/selection.c (spi_selection_finalize): kill.
315 (spi_selection_interface_new): upd.
316 (spi_selection_class_init): upd.
317 (get_selection_from_servant): impl.
318 Upd. all CORBA impl.s to use it killing yet more cut and paste.
320 * libspi/relation.c (spi_relation_finalize): kill.
321 (spi_relation_class_init, spi_relation_new): upd
323 * libspi/image.c (spi_image_finalize): kill.
324 (spi_image_class_init): upd.
325 (spi_image_interface_new): upd.
326 (get_image_from_servant): impl.
327 Upd. all CORBA impl.s to use it killing yet more cut and paste.
329 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
330 (spi_hyperlink_finalize): kill.
331 (spi_hyperlink_new): upd.
332 (get_hyperlink_from_servant): impl.
333 Upd. all CORBA impl.s to use it killing yet more cut and paste.
335 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
336 (spi_hypertext_finalize): kill.
337 (spi_hypertext_class_init): upd.
338 (get_hypertext_from_servant): impl.
339 Upd. all CORBA impl.s to use it killing yet more cut and paste.
341 * libspi/editabletext.c (spi_editable_text_finalize): kill.
342 (spi_editable_text_interface_new): upd.
343 (get_editable_text_from_servant): impl.
344 Upd. all CORBA impl.s to use it killing yet more cut and paste.
346 * libspi/text.c (get_text_from_servant): impl.
347 All impls - update to use it killing more cut and paste,
348 also fix bad string returns on duff args ( a somewhat
349 impossible case to handle - but hey ).
350 (spi_text_construct): impl.
351 (spi_text_interface_new): upd.
352 (spi_text_object_finalize): kill.
355 (accessibility_component_object_finalize): kill.
356 (spi_component_class_init): upd.
357 (get_component_from_servant): impl. helper to kill cut & paste.
358 (impl_accessibility_component_contains):
359 (impl_accessibility_component_get_accessible_at_point):
360 (impl_accessibility_component_get_position):
361 (impl_accessibility_component_get_extents):
362 (impl_accessibility_component_get_mdi_z_order):
363 (impl_accessibility_component_get_layer):
364 (spi_component_interface_new): upd.
366 * libspi/action.c (spi_action_finalize): kill.
367 (spi_action_class_init): upd. inherit from SpiObject.
368 (spi_action_interface_new): upd.
369 (get_action_from_servant): impl. helper to reduce cut & paste.
370 (impl_getKeyBinding, impl_getName, impl_doAction),
371 (impl_getDescription): Use it everywhere.
373 * cspi/spi_main.c (get_live_refs): a pointer hash.
374 (spi_object_hash, spi_object_equal): comment out.
375 There are issues with CORBA object hashing that need
378 * libspi/application.c (spi_application_init),
379 (spi_application_new): upd.
381 * libspi/accessible.c (spi_accessible_object_finalize): kill.
382 (spi_accessible_class_init): upd.
383 s/accessible/object/ in epv methods.
385 2001-12-05 Bill Haneman <bill.haneman@sun.com>
387 * at-bridge/bridge.c:
388 Reorder the bridge initialization into the bridge gtk_module_init,
389 an immediate call to bridge_register_app, and an idle_add for
390 register_atk_event_listeners (the only code that *must* wait until
391 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
392 the activation, creates the application's Accessible object, and
393 queues the bridge_idle_init function. Restored call to
394 Accessibility_Registry_deregisterApplication().
395 Prior to making this call we obtain a new reference to the
396 registry, which is a temporary hack that helps us handle apps that
397 shut down the bonobo mainloop before we get there.
400 Fix string leakage in debug block, and don't segv if a an app
401 dies before its event notifications have been propagated.
404 Modify cspi_check_ev() to call g_warning() rather than g_error(),
405 as stopgap measure until we get proper exception handling when
406 objects die during or before interrogation.
410 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
411 Also changed default value of is_gnome_app to TRUE.
414 * test/keysynth-demo.c:
415 Changed use of SPI_init and SPI_event_main to reflect API change above.
418 Made report_focus_event check the warning value from getName
419 before reporting on focussed accessible; simplifies handling of
420 notifications from dead objects.
422 * test/test-simple.c: (Changes not in this patch since source is
425 2001-12-05 Michael Meeks <michael@ximian.com>
427 * registryd/registryd.c (main): protect against
428 bonobo-activation startup race condition.
430 * cspi/spi_main.c (cspi_object_add_check): cope
431 with the exception elegantly.
433 * idl/Accessible.idl: decl. ChildGone
435 * libspi/desktop.c (spi_desktop_dispose): impl.
436 (spi_desktop_class_init): upd.
437 (spi_desktop_add_application),
438 (spi_desktop_remove_application),
439 (abnormal_application_termination): impl.
440 (impl_desktop_get_child_at_index): re-impl.
443 (impl_accessibility_registry_deregister_application),
444 (impl_accessibility_registry_register_application):
445 kill excessive debug clutter.
447 * test/test-simple.c (test_misc): test some NULL
448 tolerance. (main): upd.
450 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
451 implements no interfaces - so let's not crash.
453 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
455 * libspi/accessible.c (spi_accessible_new_return): impl.
456 helper to calm the cut and paste, to cope with
457 NULL AtkObjects effectively and efficiently, and to kill
458 the referencing bugs.
460 * libspi/table.c (impl_getAccessibleAt),
461 (impl_getRowHeader, impl_getColumnHeader): upd.
463 * libspi/hyperlink.c (impl_getObject): upd.
465 * libspi/accessible.c
466 (impl_accessibility_accessible_get_child_at_index): upd.
469 (impl_accessibility_component_get_accessible_at_point): upd.
471 * test/test-simple.c (test_editable_text, test_text): impl.
474 * cspi/spi_editabletext.c
475 (AccessibleEditableText_insertText): constify.
477 * test/test-simple.c (focus_me): make more robust.
479 * libspi/accessible.c: remove some printfs in methods that
480 we test and work fine, so we can get a clean tree dump.
482 * test/test-simple.c (validate_accessible),
483 (validate_tree): make tree dumping pretty too.
485 * at-bridge/bridge.c (bridge_signal_listener): upd. so
486 it builds without debug on.
488 * test/test-simple.c (validate_accessible): fix the most
491 * cspi/spi_main.c (spi_object_release): leave the nicely
492 blanked memory around if in debug mode.
494 * cspi/spi-listener-impl.c (cspi_event): use add_check.
496 [committed to fixups2]
497 2001-12-05 Michael Meeks <michael@ximian.com>
499 * libspi/editabletext.c
500 (spi_editable_text_class_init): g_type_class_peek_parent,
501 not interface peek - so we finalize cleanly.
503 * libspi/accessible.c (spi_accessible_new): kill debug.
505 * test/test-simple.c (validate_accessible): fix ref.
506 leak, print strings before freeing them; sigh, comment a
507 chunk out due to strangeness.
508 (validate_tree): unref the child after use.
510 * cspi/spi_component.c (AccessibleComponent_getLayer):
511 add missing break statement, switch on zlayer not the
512 uninitialized retval.
514 * cspi/spi_main.c (cspi_object_add): add assert, local ref
515 before (possibly re-entering) remote unref.
517 * test/simple-at.c (main): unref the desktop.
519 * cspi/spi_accessible.c (cspi_accessible_is_a): move
522 * cspi/spi_main.c (cspi_accessible_is_a): here to
523 isolate bonobo API usage more.
525 * libspi/registry.c (impl_accessibility_registry_register_application):
528 2001-12-04 Michael Meeks <michael@ximian.com>
530 * test/test-simple.c (validate_tree): upd.
531 IndexInParent check to make it more lucid.
532 (validate_accessible): dump the tree.
534 * libspi/accessible.c (de_register_public_ref),
535 (get_public_refs): impl.
536 (spi_accessible_new): make more efficient & intuitive.
537 Now IndexInParent check works.
539 2001-12-04 Michael Meeks <michael@ximian.com>
541 * cspi/spi-util.h: remove.
543 * cspi/spi.h: move SPI_freeString here
545 * libspi/component.c (impl_accessibility_component_get_layer):
547 (impl_accessibility_component_get_mdi_z_order): ditto,
548 return -1 on error - is this ok ?
550 * test/test-simple.c (test_application): impl.
552 * cspi/spi_accessible.c (Accessible_getApplication),
553 (Accessible_isApplication): impl.
555 * libspi/registry.c (spi_listener_struct_free): release
556 the CORBA reference too.
558 * libspi/accessible.c
559 (impl_accessibility_accessible_get_parent): fix ref leak.
561 * libspi/registry.c (spi_registry_new): make the registry
562 immortal - we don't want it to go away ever.
564 * libspi/application.c
565 (spi_accessible_application_finalize): impl. cleanup.
567 * cspi/spi_registry.c
568 (deregisterGlobalEventListenerAll),
569 (deregisterGlobalEventListener),
570 (deregisterAccessibleKeystrokeListener): fix ref leak.
572 * cspi/spi_main.c (SPI_init): remove redundant ref.
574 * test/test-simple.c (unutterable_horror): impl. to force a
579 (impl_accessibility_registry_deregister_application): release
580 the application when we de-register it.
582 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
583 until we have the infastructure to get it right.
585 2001-12-03 Michael Meeks <michael@ximian.com>
587 * libspi/Makefile.am: only build eventlistener.[ch]
589 * libspi/accessible.c
590 (impl_accessibility_accessible_get_child_at_index): don't leak.
592 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
593 before we hit the idle handler.
595 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
598 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
600 * libspi/listener.c (impl_notify_event): check source
601 not NIL before unref.
603 * libspi/registry.c (impl_registry_notify_event): ditto.
605 * libspi/eventlistener.c
606 (impl_accessible_event_notify_event): unref the source.
608 * libspi/accessibleeventlistener.c
609 (impl_accessible_event_notify_event): unref the source.
611 * idl/Event.idl: remove 'hash_id' attribute - of no
614 * libspi/application.c (notify_listeners): upd list
616 (spi_application_object_event_listener),
617 (spi_application_toolkit_event_listener): upd to do correct
621 (_registry_notify_listeners): update.
622 (parse_event_type): this method also leaks like a sieve.
623 (impl_accessibility_registry_deregister_global_event_listener):
624 fix ETYPE_WINDOW case.
626 * libspi/application.c
627 (impl_accessibility_application_register_object_event_listener):
630 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
632 * libspi/hypertext.c (impl_getLink): ditto.
634 * cspi/spi_main.c (cspi_object_add): remove
635 bogus CORBA_Object_duplicate.
637 * cspi/spi-listener-impl.c (cspi_event): dup/ref
640 * cspi/spi_accessible.c
641 (Accessible_getRelationSet): fix leak / referencing issue.
643 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
644 (cspi_object_add, cspi_object_unref): upd.
645 (spi_object_release, get_live_refs): impl.
646 (cspi_cleanup): simplify.
648 * *.[ch]: s/boolean/SpiBoolean/
650 * cspi/spi_accessible.c (role_names): actualy order so it
651 corresponds with the enum !
653 * test/test-simple.c (test_roles): check some role strings
654 vs. enums to detect offset errors.
656 2001-12-01 Michael Meeks <michael@ximian.com>
658 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
660 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
662 (Accessible_getChildAtIndex): use cspi_add_check so we
663 check the ev before using a (possibly) invalid value.
665 * libspi/accessible.c
666 (impl_accessibility_accessible_get_parent): don't segv
669 * at-bridge/bridge.c (gtk_module_init): upd.
670 (bridge_property_event_listener): don't leak strings
672 (bridge_state_event_listener),
673 (bridge_property_event_listener): don't use a static
674 buffer in case of recursive event emission &
675 re-enterancy - split out the swathe of cut and paste
677 (emit_eventv): and fix 2 ref leaks here & comply to the
679 (bridge_register_app): rename to
680 (bridge_idle_init): this and kill arg parsing, split
681 various inits & bonobo-activation registration to module
682 init time, kill referencing error.
683 (bridge_exit_func): fix the same leak.
684 (bridge_focus_tracker): don't leak event structures
686 (bridge_signal_listener): more leakage and cut & paste
688 (bridge_key_listener): return the result - FIXME is
689 this polarity correct ?
690 (accessibility_keystroke_from_atk_key_event): rename
691 (accessibility_init_keystroke_from_atk_key_event): and stop
693 (gtk_module_init): return a value - not that it is checked by
695 (bridge_key_listener): register my horror at casting between
697 (bridge_get_registry): kill - not used.
699 * cspi/spi_accessible.c (Accessible_getRole): make return const.
701 * test/test-simple.c (test_roles): impl.
702 (test_desktop, validate_accessible, validate_tree): impl.
704 * cspi/spi_accessible.c (role_names): fixup bogus
705 MAX_ROLES setup, make constants const for efficient linkage
706 (AccessibleRole_getName): conform to coding style, make
709 2001-11-30 Michael Meeks <michael@ximian.com>
711 * cspi/spi.h: add missing prototype.
713 * libspi/registry.c (spi_listener_struct_new): fix sig.
715 * test/Makefile.am: add test-simple
717 * test/test-simple.c: add
721 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
723 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
724 do it straight - since otherwise we often get an activation race.
726 [ work before Bill duplicated a chunk of it ... ]
727 2001-11-30 Michael Meeks <michael@ximian.com>
729 * libspi/keystrokelistener.c
730 (spi_keystroke_listener_class_init): fixup arg
733 * libspi/eventlistener.c
734 (spi_event_listener_class_init): ditto.
736 * tests/test.sh: add.
738 * cspi/spi-listener-impl.h: update macros.
740 * cspi/spi-listener-impl.c
741 (cspi_event_listener_remove_callback): add
742 correct pre-conditions.
744 * cspi/spi_main.c (SPI_exit): guard vs. double
745 exits, exit the mainloop nicely.
746 (SPI_event_main): make more sense.
747 (SPI_init): move the atexit evilness here so we
749 (SPI_event_main): upd.
751 * test/simple-at.c: update for listener changes.
753 * registryd/registryd.c (main): prune kruft.
755 * libspi/libspi.h: upd.
757 * libspi/eventlistener.[ch]: rename broken macros.
759 * libspi/accessibleeventlistener.[ch]: remove.
761 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
763 * test/test-simple.c: Add - automated tests.
765 * cspi/spi-listener-impl.c (cspi_event),
766 (cspi_key_event): add user_data to invoke.
767 (cspi_keystroke_listener_finalize): impl.
768 (cspi_keystroke_listener_class_init): upd.
771 (createAccessibleEventListener),
772 (AccessibleEventListener_addCallback),
773 (createAccessibleKeystrokeListener),
774 (AccessibleKeystrokeListener_addCallback): upd.
776 * libspi/deviceeventcontroller.c
777 (spi_device_event_controller_check_key_event): add public proto.
780 (impl_accessibility_registry_deregister_global_event_listener):
781 always init listeners.
782 (_registry_notify_listeners): yes it is.
784 * cspi/spi-listener-impl.c (cspi_key_event):
786 (cspi_event_listener_finalize): impl.
787 (cspi_event_listener_class_init): hook up.
788 (event_handler_new, event_handler_free),
789 (event_list_remove_by_callback): impl.
790 (cspi_event_listener_remove_callback),
791 (cspi_keystroke_listener_remove_callback),
792 (cspi_keystroke_listener_add_callback),
793 (cspi_event_listener_add_callback): upd.
795 * libspi/keystrokelistener.c
796 (keystroke_listener_object_finalize): kill
797 (spi_keystroke_listener_class_init): upd.
798 (spi_keystroke_listener_add_callback),
799 (spi_keystroke_listener_remove_callback): kill,
801 (impl_key_event): prune drasticaly.
803 * libspi/eventlistener.c
804 (spi_event_listener_add_callback),
805 (spi_event_listener_remove_callback): kill, use
807 (impl_accessible_event_notify_event): upd.
808 (spi_event_listener_object_finalize): remove.
810 * libspi/Makefile.am: use eventlistener.[ch]
812 2001-12-04 Bill Haneman <bill.haneman@sun.com>
814 * libspi/registry.c (_registry_notify_listeners):
815 Changed listener loop iteration to use preferred convention.
816 Got rid of string memory leaks caused be calling g_strconcat
817 inside function calls.
819 * libspi/registry.c (parse_event_type):
820 Stopped g_strconcat memory leaks, free the g_strsplit return,
821 g_strdup the split pieces when used, etc.
823 2001-12-04 Bill Haneman <bill.haneman@sun.com>
826 Change method 'compare' to return a 'difference set' rather than
827 taking a StateSet as an out parameter (more Java-friendly).
829 * idl/Accessible.idl:
830 Added CORBA struct 'BoundingBox', to faciliate API changes below:
834 Changed methods 'getExtents' and 'getImageExtents' in these
835 interfaces to return a BoundingBox structure.
836 (getPosition and getSize are redundant and possibly should be
837 removed, rather than creating a corresponding Point struct.)
839 * cspi/spi_component.c:
840 Modify implementation of getExtents to reflect the above IDL
845 Add (missing) AccessibleImage_getExtents () API.
847 * docs/reference/cspi/at-spi-cspi-sections.txt:
848 Added AccessibleImage_getImageExtents () to docs.
850 2001-12-03 Bill Haneman <bill.haneman@sun.com>
853 Added two methods, getLayer () and getMDIZOrder (), to reflect
854 the new ATK methods atk_object_get_layer and
855 atk_object_get_mdi_z_order. (Which arguably should be part of the
856 AtkComponent API and AtkObject). Also added an enum,
857 ComponentLayer, for the first method's return value.
859 * libspi/component.c:
860 Added implementations for these methods.
862 * cspi/spi_component.c:
864 Added cspi binding methods for above,
865 AccessibleComponent_getLayer() and
866 AccessibleComponent_getMDIZOrder().
867 Added cspi enum 'AccessibleComponentLayer'.
869 * docs/reference/cspi/at-spi-cspi-sections.txt:
870 Added above methods to docs.
874 Changed typedef for 'boolean' type (and all references to it) to
875 SPIBoolean, to avoid keyword clashes with C++.
878 Changed usages of 'boolean' to SPIBoolean.
880 * test/keysynth-demo.c:
881 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
882 app), except where SPIBoolean is required by the callbacks API.
884 2001-12-02 Bill Haneman <bill.haneman@sun.com>
886 * cspi/spi_registry.c:
887 Removed obsolete X event loop for passive keygrabs (which now
890 * registryd/registryd.c:
891 Removed unnecessary call to gdk_init() [cruft]. This also allows
892 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
895 2001-11-28 Bill Haneman <bill.haneman@sun.com>
897 * docs/reference/cspi:
898 Included docs for SPI_freeString in generated documentation.
901 Renamed spi_freeString to SPI_freeString, for consistency. Added
902 documentation for this function.
905 Renamed spi_freeString to SPI_freeString, for consistency.
906 Removed obsolete method declaration string_from_corba_string.
908 * test/keysynth-demo.c:
909 Small tweak to comments.
912 Stopped leaking the strings returned from CSPI.
914 2001-11-28 Bill Haneman <bill.haneman@sun.com>
916 Merged Michael's branch (see his ChangeLog entries below).
918 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
919 bridge is alive, release on exit.
921 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
922 Fix type check macro.
925 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
928 Added is_gnome_app static, and method cspi_is_gnome_app(),
929 so we can call the appropriate shutdown routine at exit in SPI_exit.
931 * cspi/spi_main.c (cspi_object_ref):
932 Duplicate the corba object passed in, since we're keeping it around.
934 * cspi/SPI_exit.c, cspi_cleanup:
935 Moved the releasing of the live refs to its own function, so we
936 can put it in g_atexit (). Call the appropriate shutdown API
937 depending on whethe calling client is a gnome app or not
938 (bonobo_main_quit or CORBA_ORB_shutdown).
940 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
941 Unref the listener when this method is called, after
942 deregistration. Updated the API docs to note this behavior.
944 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
945 Bugfixes: Ref the bonobo object when returning a parent or child
946 reference, or an AccessibleRelation. Generally made sure
947 BonoboObject refcount is incremented whenever we return an
950 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
951 Fixed typo/bug in signal declaration.
953 * libspi/accessibleeventlistener.h:
956 * libspi/application.c (spi_application_new):
957 Fixed leak in initialization.
960 Remembered to increment bonobo-object refcount when returning
961 children (applications) from desktop object.
962 Added (empty) finalize method.
964 * libspi/deviceeventcontroller.c:
965 Hold a ref to listeners inside DEControllerKeyListeners.
966 Added dec_key_listener_free() method. Use prepend instead of
967 append in key_listener list. Fixed some refcount madness and
968 leaks in the listener registration/deregistration - deregistration
969 now calls dec_key_listener_free() on listeners, and on the
970 temporarily constructed dec_key_listener() used to perform the search/match.
972 * libspi/hypertext.c (spi_hypertest_finalize):
973 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
974 class. Also fixed spi_hypertext_interface_new() and
975 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
977 * libspi/hypertext.h:
978 Removed pointless and duplicate AtkObject pointer from
981 * libspi/keystrokelistener.c:
982 Fixed incorrect type of keystroke_listener_parent_class,
983 renamed keystroke_listener_object_finalize to
984 spi_keystroke_listener_object_finalize.
985 Fixed typo in signal declaration
986 (spi_keystroke_listener_class_init).
989 Added funcsions spi_listener_struct_new() and
990 spi_listener_struct_free() to help with memory management issues.
991 We also now use these methods instead of gnew + poking stuff into
992 the struct, and to decrement listener counts/free the listeners
993 when deregistering them.
994 Fix more refcount bugs in getDesktop() and
995 getDeviceEventController().
998 De-ref the desktop after enumerating the applications. Explicitly
999 decrement the refcounts on the created listeners on exit (using
1000 _unref for keystroke listeners, and via the
1001 deregisterGlobalEventListenerAll command for other event
1004 2001-11-27 Michael Meeks <michael@ximian.com>
1006 * cspi/spi-listener.h: fixup enum.
1008 2001-11-27 Michael Meeks <michael@ximian.com>
1010 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1011 (cspi_keystroke_listener_new): Use the cspi variants.
1013 2001-11-26 Michael Meeks <michael@ximian.com>
1015 * test/keysynth-demo.c: fix 2 compile warnings, missing
1018 * test/simple-at.c (report_focussed_accessible),
1019 (report_focus_event, report_button_press),
1020 (check_property_change, is_command_key),
1021 (report_ordinary_key_event, report_command_key_event): upd.
1023 * util/mag_client.h: include pre-requisites.
1025 * libspi/accessibleeventlistener.c
1026 (spi_event_listener_object_finalize): free any lingering
1029 * libspi/keystrokelistener.c
1030 (keystroke_listener_object_finalize): ditto.
1032 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1033 callbacks, with cspi types.
1035 * cspi/spi_event.c (createAccessibleEventListener): chain to
1036 (AccessibleEventListener_addCallback): here.
1037 (createAccessibleKeystrokeListener): chain to
1038 (AccessibleKeystrokeListener_addCallback): here.
1040 * libspi/keystrokelistener.c
1041 (spi_keystroke_listener_class_init): add signal.
1042 (impl_key_event): emit the event.
1043 (boolean_handled_accumulator): impl.
1044 (marshal_BOOLEAN__POINTER): add, gack.
1046 * libspi/accessibleeventlistener.c
1047 (spi_event_listener_class_init): add signal.
1048 (impl_accessible_event_notify_event): emit the signal &
1049 make the loop efficient.
1050 (spi_event_listener_add_callback): prepend the callback.
1052 * libspi/accessibleeventlistener.h: add an 'event' signal,
1053 decl type on callback.
1055 * libspi/keystrokelistener.h: ditto.
1057 * cspi/spi-listener.h: make methods typesafe and
1058 make them use the new event typedefs.
1060 * test/simple-at.c (report_focussed_accessible):
1061 include mag_client.h
1062 Use *(void *)text_interface not the other thing.
1064 * configure.in: add gtk to registryd bits - since we use
1067 * util/magnifier.c: include libbonobo.h
1069 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1071 * test/keysynth-demo.c:
1072 Turned this into a simple scanning keyboard, to demonstrate the
1073 use of g_timeout_add () as a means of creating timers for
1074 scanning, and the use of GtkStyle for visually indicating when
1075 virtual keyboard elements are selected.
1077 keysynth-demo now listens to any keyboard keys with zero-valued
1078 keycodes (i.e. 'unused' keys) and interprets them as
1081 Reworked the shiftlatch code so that shift-down state isn't held
1082 for long periods (it's only synthesized immediately prior to
1083 the keysynth event it's modifying). Note that shiftlatch in this
1084 demo is a convenience, not intended to take the place of AccessX
1085 which is the better choice for getting 'sticky' modifier keys.
1087 * libspi/deviceeventcontroller.c:
1088 * at-bridge/bridge.c:
1089 * cspi/spi_registry.c:
1090 Removed some debug print stuff, and put other verbosity in #ifdef
1095 Implemented some more of the magnifier IDL for the simple
1096 magnifier: namely, getZoomRegionParams.
1097 Added mag_x and mag_y members to MagnifierData struct, aid of this
1099 Added GtkWindow::realize signal handler to magnifier, to keep it
1100 from receiving keyboard focus from the WM.
1102 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1104 * cspi/spi-private.h: my guess at what michael forgot
1105 before he ran off to NZ :-)
1107 2001-11-23 Michael Meeks <michael@ximian.com>
1109 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1110 comment out non existant method invoke so we link.
1112 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1113 use bonobo_exception_get_text for more friendly warnings.
1115 * cspi/spi.c (Obj_Add): move into spi_main & rename
1116 spi_object_add; kill spi.c
1118 * cspi/spi_registry.c
1119 (deregisterGlobalEventListener),
1120 (deregisterGlobalEventListenerAll),
1121 (registerGlobalEventListener): fix exception leaks.
1123 * cspi/spi_main.c (spi_exception): impl. helper, so we
1124 don't leak exceptions.
1126 * cspi/spi_selection.c
1127 (AccessibleSelection_deselectSelectedChild): return the
1130 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1131 (spi_registry): ditto.
1132 (SPI_init): guard against double inits.
1134 * cspi/*.c: use spi_ev (), and spi_registry () where
1135 appropriate - a temporary hack until we have something
1136 better. Use spi_object_add
1138 2001-11-22 Michael Meeks <michael@ximian.com>
1140 * cspi/Makefile.am: re organise, install the headers.
1142 * cspi/*.h: add G_BEGIN/END_DECLS
1144 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1147 Added non-preemptive keylistener for key events with no modifiers
1148 and shift-only modifier.
1150 * libspi/keystrokelistener.c:
1151 Removed some verbose diagnostics printout.
1153 * cspi/spi_registry.c:
1154 Fixed a bug that caused all key listeners to be registered as
1157 * libspi/deviceeventcontroller.c:
1158 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1159 for non-preemptive key masks.
1162 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1164 * docs/reference/idl/at-spi-idl-docs.sgml:
1165 * docs/reference/idl/at-spi-idl-sections.txt:
1166 * docs/reference/idl/at-spi-idl-overrides.txt:
1167 Added missing files.
1169 * docs/reference/Makefile.am:
1170 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1171 to scan the IDL files :-(
1176 Added .cvsignore files.
1178 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1180 * libspi/deviceeventcontroller.c:
1181 * libspi/keystrokelistener.c:
1183 * cspi/spi_registry.c:
1184 Added filters for KeySets, KeyEventSeq, and event types to key
1185 event dispatching, so listeners should only receive those events
1186 that they requested :-)
1188 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1193 * docs/reference:Makefile.am:
1194 * docs/reference/cspi:
1195 * docs/reference/cspi:Makefile.am:
1196 * docs/reference/cspi:tmpl:
1197 * docs/reference/cspi:tmpl:*.sgml:
1198 * docs/reference/idl:
1199 * docs/reference/idl:Makefile.am:
1200 * docs/reference/idl:at-spi-idl-sections.txt:
1201 * docs/reference/idl:at-spi-idl-docs.sgml:
1202 * docs/reference/idl:tmpl:
1203 * docs/reference/idl:tmpl:*.sgml:
1205 Restructured docs directory to allow separate 'reference' docs
1206 section, and forked idl and cspi docs. Added the sgml template
1207 files to CVS. Added the first sections/structural sgml for the
1210 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1212 * configure.in, libspi/Makefile.am: find libXtst.
1214 2001-11-21 Michael Meeks <michael@ximian.com>
1216 * test/accessx-gui.c: s/spi_value/value/ - doh.
1218 * libspi/base.[ch]: add.
1220 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1222 * idl/Accessible.idl:
1223 * idl/Application.idl:
1226 Started gtk-doc cleanup on IDL.
1228 * libspi/deviceeventcontroller.c:
1229 Added and connected non-preemptive key notification from the
1230 toolkits (in addition to the pre-emptive support from XServer
1231 which we had before, but which causes 'focus flashing'). Filters
1232 are presently limited to key modifiers and global/non-global,
1233 KeySets are presently ignored, as are KeyEvent masks.
1235 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1236 structs into the persistant structure rather than just storing
1237 pointers to things that might not persist across servant
1240 The XGrabKey call now does async keygrabs, because synchronous
1241 ones were deadlocking with GDK_event code in a very nasty way.
1243 Added boolean to internal method notify_keylisteners, to indicate
1244 whether the event came from the 'toolkit source' or the 'global
1245 (XServer) source' - this is used in the notification process to
1246 determine which listeners to send the event to.
1248 deviceeventcontroller.c is now warning-free.
1250 * libspi/registry.c:
1251 Fixed regression in application de-registration.
1252 Also fixed some really brain-dead weirdness having to do with
1253 event dispatching - event structs are now duplicated before being
1254 re-marshalled in the dispatch to listeners. This also fixes a
1255 Solaris build problem.
1258 2001-20-11 Michael Meeks <michael@ximian.com>
1261 (impl_accessibility_registry_deregister_global_event_listener):
1264 * libspi/deviceeventcontroller.c
1265 (spi_device_event_controller_check_key_event): return
1266 FALSE on no virtual method.
1268 * libspi/*..h: make includes work on a correctly pathed install.
1270 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1272 * libspi/application.h: kill unused ( and whacked out )
1273 gboolean *spi_application_set_id (AtkObject *app, long id);
1275 2001-20-11 Michael Meeks <michael@ximian.com>
1277 * libspi/*.[ch]: further convert to bonobo's type func
1278 macros, remove redundnant casts etc.
1280 * libspi/text.c s/accessibility_text/spi_text/g,
1281 re-order to de-cruft.
1283 * libspi/hypertext.c: re-order to kill a huge slew
1284 of redundant forward decls.
1286 * libspi/relation.c: ditto.
1288 * libspi/image.c: ditto.
1290 * */.cvsignore: update
1292 2001-20-11 Michael Meeks <michael@ximian.com>
1294 * libspi/deviceeventcontroller.c
1295 (_controller_register_with_devices): use g_getenv,
1296 kill stdlib.h include.
1298 * libspi/keystrokelistener.c
1299 (spi_keystroke_listener_get_type): kill
1300 (spi_keystroke_listener_class_init),
1301 (spi_keystroke_listener_init): rename to this.
1303 * libspi/text.c (impl_getAttributes): fix warning / bug.
1305 * libspi/*.[ch]: more headers, includes and over commenting.
1307 2001-20-11 Michael Meeks <michael@ximian.com>
1309 * libspi/*.[ch]: fixup headers, includes and over commenting.
1311 * libspi/image.c (impl__get_imageDescription): const
1312 correctness warning fix. remove redundant casting.
1314 * libspi/table.c (impl_getRowDescription): ditto.
1315 (impl_getColumnDescription): ditto.
1317 * libspi/libspi.h: add.
1319 2001-19-11 Michael Meeks <michael@ximian.com>
1321 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1323 * libspi/component.c (accessibility_component_get_type):
1324 rename to (spi_component_get_type): and macroify.
1325 (accessibility_component_init): rename to
1326 (spi_component_init): this
1327 (accessibility_component_class_init): rename to
1328 (spi_component_class_init): this
1330 * libspi/action.c (spi_action_get_type): kill, use the macro.
1332 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1335 * libspi/application.c (spi_application_object_event_listener),
1336 (impl_accessibility_application_register_object_event_listener):
1337 warning fixes / const understanding updates.
1339 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1342 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1344 * libspi/spi_accessible.c: Added docs and C bindings for
1345 AccessibleStateSet. (No implementations yet). Documentation
1346 coverage for C bindings now 100%. Made docs for event listeners
1351 boolean notifyListenersSync (in DeviceEventListener listener,
1352 in DeviceEvent event);
1354 oneway void notifyListenersAsync (in DeviceEventListener listener,
1355 in DeviceEvent event);
1357 Added DeviceEventListener and DeviceEvent structs (may deprecate
1358 KeyStroke and KeystrokeListener in favor of this generic
1359 event/listener framework for devices).
1361 * libspi/deviceeventcontroller.c:
1363 Changed some key listener code to take masks, etc., and paved the
1364 way for integration of toolkit/non-preemptive key events. Changed
1365 signatures of some internal methods.
1367 * at-bridge/bridge.c:
1368 Fixed regression connecting to interface signals, apparently
1369 caused by GTK+ changes.
1371 Added an internal bridge_state_listener to deal with
1372 property-change:accessible-state signals.
1374 Changed the key_listeners GList to store structs (including masks,
1375 etc.) instead of just CORBA_Objects (required for full
1376 implementation of key listener API).
1378 Connected the bridge to all currently supported Atk signals.
1379 Events now supported:
1380 object:property-change
1381 object:property-change:accessible-name
1382 object:property-change:accessible-state
1383 object:property-change:accessible-description
1384 object:property-change:accessible-parent
1385 object:property-change:accessible-value
1386 object:property-change:accessible-role
1387 object:property-change:accessible-table-caption
1388 object:property-change:accessible-table-column-description
1389 object:property-change:accessible-table-column-header
1390 object:property-change:accessible-table-row-description
1391 object:property-change:accessible-table-row-header
1392 object:property-change:accessible-table-summary
1393 object:children-changed
1394 object:visible-data-changed
1395 object:selection-changed
1396 object:text-selection-changed
1398 object:text-caret-moved
1400 object:row-reordered
1402 object:column-inserted
1403 object:column-reordered
1404 object:column-deleted
1405 object:model-changed
1407 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1409 * libspi/hyperlink.c,h:
1410 Fixed some broken stuff in hyperlink.
1412 * libspi/relation.h:
1413 * libspi/relation.c:
1414 * cspi/spi_accessible.c:
1415 Initial implementations of AccessibleRelation methods, and docs.
1417 * libspi/accessible.c:
1418 Fixed a bug that caused SEGV if an accessible
1419 object's description is NULL, and a client
1420 requests it. An empty string is now returned.
1422 * cspi/spi_editabletext.c:
1423 * cspi/spi_hypertext.c:
1425 * cspi/spi_hyperlink.c:
1429 Doc coverage now 95%.
1431 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1433 One last namespacing revision:
1434 * libspi/accessibleeventlistener.[ch]:
1435 Renamed SpiAccessibleEventListener to SpiEventListener,
1436 (no need for two namespaces ;-)
1438 And lots of documentation fixes:
1440 * docs/at-spi-docs.sgml:
1441 Fixed 'underscore vs. hyphen' bug that was preventing
1442 the gtk-doc API docs from being automatically generated.
1445 * cspi/spi-listener.h
1447 * cspi/spi_accessible.c
1449 * cspi/spi_application.c
1450 * cspi/spi_component.c
1451 * cspi/spi_editabletext.c
1453 * cspi/spi_hypertext.c
1455 * cspi/spi_registry.c
1456 * cspi/spi_selection.c
1460 * docs/at-spi-docs.sgml
1461 * docs/at-spi-sections.txt
1463 Added and fixed up gtk-doc documentation in cspi.
1465 Interfaces now (fully) documented (subject to revision and enhancement):
1467 Event Listener Support
1469 AccessibleApplication
1473 AccessibleEditableText
1480 AccessibleRelationSet
1485 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1487 * at-bridge/bridge.c:
1488 Initial work for toolkit-level key snooper connection by bridge.
1493 New typedefs and fixes to support new namespacing, and cleaner
1494 separation of cspi bindings from libspi bonobo implementation.
1495 Removed inconsistent and extraneous Spi* namespace prefix that
1496 had crept into cspi headers.
1497 Lots of comment fixes that sed had missed.
1499 * cspi/spi-roletypes.h:
1500 * cspi/spi-statetypes.h:
1501 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1502 to AccessibleRoleType.
1504 * libspi/accessibleeventlistener.h:
1505 Fixed minor namespacing weirdness.
1507 * libspi/deviceeventcontroller.c:
1508 Reordered some internal API for device listeners.
1509 Changed the key registry final boolean to 'is_system_global'
1510 rather than 'is_synchronous', which is more descriptive of its
1512 Added spi_device_event_controller_new().
1513 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1515 * libspi/keystrokelistener.[ch]:
1516 Namespaced KeystrokeListener to SpiKeystrokeListener.
1517 Changed uses of keymasks to use SPI_ prefix, and did other
1520 * libspi/keymasks.h:
1521 Namespaced keymask constants with SPI_ prefix.
1523 * libspi/registry.c:
1524 Some warning fixes, and knock-on fixes from namespace changes.
1527 Added rules for accessx-gui test program.
1529 * test/accessx-gui.c:
1530 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1531 utility. It doesn't actually use at-spi, but it's still cool and
1534 * test/keysynth-demo.c:
1538 Fixes so that these test clients work properly with the namespaced
1539 libraries. (Incompletely tested for technical reasons, fixes may follow)
1542 2001-13-11 Michael Meeks <michael@ximian.com>
1544 * libspi/application.c
1545 (impl_accessibility_application_get_version),
1546 (impl_accessibility_application_get_toolkit_name):
1548 (impl_accessibility_application_set_id),
1549 (impl_accessibility_application_get_id): remove
1550 redundant casting code.
1552 * libspi/action.c (impl_getDescription): fix warnings.
1554 * libspi/accessible.c
1555 (impl_accessibility_accessible_get_parent),
1556 (impl_accessibility_accessible_get_child_at_index),
1557 (impl_accessibility_accessible_get_state),
1558 (impl_accessibility_accessible_get_relation_set):
1559 warning fixes & include action.h
1561 2001-13-11 Michael Meeks <michael@ximian.com>
1563 * *.[ch] fix bits I screwed up:
1565 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1566 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1568 2001-13-11 Michael Meeks <michael@ximian.com>
1570 * *.[ch] Namespace libspi into spi_ and Spi.
1572 2001-13-11 Michael Meeks <michael@ximian.com>
1574 * Makefile.am: dist & install at-spi-1.0.pc
1576 * libspi/Makefile.am: install into at-spi-1.0
1578 * idl/Makefile.am (idldir): install into at-spi-1.0
1580 * at-spi-1.0.pc.in: add.
1582 * configure.in: build it.
1584 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1586 * test/keysynth-demo.c:
1587 Use a 'realize' signal-handler to set the WM properties for
1588 the virtual keyboard, rather than making it a "POPUP" type
1589 override-redirect window (thanks to anders carlsson for that
1592 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1595 * test/keysynth-demo.c:
1596 Added new test of key synthesis, which creates a simple
1597 (mouse-operated) onscreen keyboard. It inserts key events into
1598 the currently-focused window, thus it does not grab keyboard focus
1601 * cspi/spi_registry.c:
1602 Added C binding for AT-SPI generateKeyEvent.
1604 * libspi/deviceeventcontroller.c:
1605 Added call to XFilterEvent so that key listener works with XIM (we
1606 hope). Added event_synth_type to generateKeyEvent, so that we can
1607 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1608 synthesize a press/release pair for KeySyms.
1610 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1612 * libspi/Makefile.am:
1613 * registryd/Makefile.am:
1614 (temporary) hack to include libXtst in libspi and registryd.
1615 (Needed for keystroke synthesis, see below).
1618 Improved API for registerKeystrokeListener, in accordance with
1619 discussions with Gnopernicus team and X server research.
1621 * libspi/registry.c:
1622 * libspi/deviceeventcontroller.c:
1623 * libspi/accessible.c:
1624 * libspi/keystrokelistener.c:
1625 Changes and fixes to support keylisteners for potentially
1626 consumed key events (that is, 'passive grabs').
1627 Added implementation for generateKeyEvent() [untested].
1630 Changes to registerKeystrokeListener() API, as above.
1631 Added deregisterGlobalEventListenerAll(), and
1632 deregisterKeystrokeListener(), which are needed for clean exit of
1634 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1635 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1637 * cspi/spi_registry.c:
1638 Added implementations of function prototypes mentioned above.
1640 * registryd/registryd.c:
1641 Added the key listener event source as a g_timeout(), to allow
1642 receipt of key events that are not caught by GDK (since GDK
1643 doesn't support passive keygrabs, this was necessary).
1646 Changed to attach a keylistener to 'Alt' keys, and
1647 respond to the following keycommands: Alt-M (toggle magnifier);
1648 Alt-F (toggle speech); Alt-Q (quit).
1649 Added an exit routine to deregister the listeners, and a key
1650 listener that prints some key info to the console when a key
1651 matches the listener mask (and is thus received by the listener).
1653 * util/idl/Magnifier.idl:
1654 Changes to magnifier API to support multiple zoom regions,
1655 non-uniform scaling in x and y, markDirty, and a host of other
1656 features that would be useful to magnification.
1659 * util/mag_client.c:
1660 * util/mag_client.h:
1661 * util/mag_control.c:
1663 Source code changes to support the above IDL changes.
1666 As above, and also changes to use a (slower) generic conversion
1667 path for colormap conversions, since the fast RGB conversions have been
1668 reported to fail for 16-bit displays.
1670 2001-10-26 Michael Meeks <michael@ximian.com>
1672 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1674 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1676 * at-bridge/Makefile.am: fix LDFLAGS.
1678 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1680 * at-bridge/bridge.c:
1681 Re-worked listeners for toolkit events, now we have signal
1682 and property listeners. Added a private method
1683 register_atk_event_listeners(), which registers with the
1684 various atk and gtk signals we need to monitor in order to emit
1686 Added emission hook for AtkObject:property-change events, to
1687 support the 'property listeners'.
1688 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1691 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1692 which emit warnings and exit, respectively, if CORBA errors occur
1693 during remote calls, and we now use these methods to check most of
1694 our CORBA calls in the C bindings.
1696 * cspi/spi_accessible.c:
1697 Changed AccessibleSelection_refSelectedChild() to
1698 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1699 now increment refcounts.
1701 * cspi/spi_component.c:
1702 Fixed some long pointer casts (dangerous!) to pass pointers to
1703 CORBA_longs of the proper type to the CORBA stubs, and copy the
1704 data into the longs that were passed into the C bindings code.
1706 * at-bridge/bridge.c:
1708 * libspi/accessible.c:
1709 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1710 hyperlinks, AtkHyperlink is an object type.
1712 * libspi/application.c:
1713 Added various conversions to and from "generic" event types and
1714 atk-specific types; this is really part of the 'bridge'
1715 implementation but is valid for all AtkObject-based accessibility
1718 * libspi/editabletext.c:
1719 Fixed nasty bug wherein editable text's finalize method was
1720 unref'ing tha AtkObject reference that the text parent class was
1721 about to unref _again_. There was also a nasty inheritance bug
1722 that meant that the AccessibleEditableText class was corrupt.
1724 * libspi/selection.c:
1725 Provided implementations for some selection API that was broken.
1727 * idl/Application.idl:
1728 Added registerObjectEventListener () method.
1731 Fixed a number of return values that were Bonobo_Unknowns from
1732 bonobo_object_corba_objref(), which I
1733 forgot to dup before returning. Changed instances of
1734 bonobo_object_corba_objref (bonobo_object(o)) to
1735 BONOBO_OBJREF(o), for concision and clarity.
1737 <2001-10-13 Louise Miller <louise.miller@sun.com>
1739 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1740 idl/Event.idl, idl/Registry.idl
1741 Changed these files to include Bonobo_Unknown.idl instead
1744 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1746 * libspi/component.c libspi/component.h:
1747 Fixed typo. Added assertions for object checks in
1748 AccessibleComponent code.
1750 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1752 * idl/Accessible.idl:
1753 Added 'isEqual (Accessible *object)'
1754 method for Accessible. (Not Yet Implemented).
1757 Changed signature of registerKeystrokeListener() to
1758 take a KeySet and KeyEventSeq so that specific keys and event
1759 types could be requested for monitoring, and added a flag
1760 is_synchronous so that either synchronous or asynchronous
1761 notification could be requested. (However this is not all
1762 implemented yet). This also meant adding two new typedefs,
1763 KeyEventSeq and KeySet.
1766 Added two new relations, RELATION_TOOLTIP_FOR and
1767 RELATION_LEAFNODE_OF.
1770 Added new state, STATE_HAS_TOOLTIP.
1772 * libspi/text.c, editabletext.c:
1773 Added new assertions to all casts of bonobo-objects from
1774 CORBA servants, to prevent Text API calls on non-text objects.
1775 Changed suspect casts of int-pointer types, so that we
1776 always send a valid CORBA_long pointer to the CORBA APIs that use
1777 in/out long parameters. We then have to copy from the CORBA_long
1778 into the regular long or int for return to the C bindings, or
1779 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1782 * libspi/deviceeventcontroller.c:
1783 Cleaned these sources up.
1785 Changed return type for getCharacterAtOffset to
1786 CORBA_unsigned_long, to allow for 32-bit characters.
1789 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1793 Fixed 'make dist' so that distro compiles...
1794 * libspi/keymasks.h:
1796 * cspi/spi-listener.c:
1797 KeystrokeListenerCB now returns a boolean.
1799 Added KeyEventType struct, and KeyStroke.
1800 Also added createKeystrokeListener(),
1801 KeystrokeListener_addCallback(),
1802 KeystrokeListener_removeCallback(), and added a keymask to
1803 registerKeystrokeListener().
1804 * cspi/spi_accessible.c:
1805 Changed numerous return types for interfaces from
1806 AccessibleComponent to Accessible<InterfaceName>; this was
1807 probably a cut-and-paste error.
1809 Implementations of new KeystrokeListener api (from spi.h,
1812 Changes to key modifier mapping.
1813 Created ControllerEventMask struct.
1814 Made DeviceEventController derive from Bonobo::Unknown.
1816 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1817 * libspi/deviceeventcontroller.c:
1818 Added a number of new internal (private) methods.
1819 * libspi/editabletext.c:
1820 * libspi/editabletext.h:
1821 Fixed a number of bugs related to the fact that
1822 editabletext inherits from text. Fixed the EditableText struct,
1823 the init() call, and use correct casts when calling Text methods
1824 from an EditableText object. Removed (duplicate) atko from the
1825 EditableText structure, we use the one in the parent Text
1826 structure via the casts mentioned above.
1827 * libspi/keystrokelistener.[ch]:
1828 * libspi/registry.c:
1829 Changes in support of keyboard handling (above).
1831 Keyboard handling, though partly functional, is still not
1832 recommended for at-spi client use as there is considerable
1833 work yet to be done.
1836 Changed some places where pointers to various int types
1837 are cast to be pointers to CORBA_long types and vice-versa:
1838 pointer casting is not safe so we pass pointers of the correct
1839 types and then cast the result before putting it into the target
1842 * libspi/text.h: minor typos corrected.
1844 We now speak not only the name of a Text element, but the
1845 first sentence of its content, when it receives focus.
1846 I also changed the text compression to 75% from 50%.
1847 * util/Accessibility_Util.server.in:
1848 Changed the default magnifier type to be a 3x vertical
1849 splitscreen magnifier (was previously a 2x horizontal one).
1851 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1853 * libspi/keystrokelistener.h:
1854 * libspi/keystrokelistener.c:
1855 Initial functional implementations of KeystrokeListener.
1858 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1860 Fixed string handling for NULL strings in libspi.
1861 Added spi_freeString to free strings returned by C bindings.
1863 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1865 * libspi/keystrokelistener.h:
1866 * libspi/keystrokelistener.c:
1867 Began (no-op) implementations of KeystrokeListener
1869 * libspi/deviceeventcontroller.c:
1870 * libspi/deviceeventcontroller.h:
1871 Began creating implementations of DeviceEventController,
1872 to handle keystroke and mouse event listening and
1874 * libspi/accessible.c:
1875 Stubbed-in the implementations for
1876 Accessibility_Accessible_getState and
1877 Accessibility_Accessible_getRelationSet.
1878 * libspi/registry.c:
1879 Improved de-registration process and fixed some bugs,
1880 deregistration now works correctly.
1882 Added initialization of applications list (to NULL).
1884 Reduced speech compression from 0.5 to 0.7, for demo.
1885 Changed call to gdk_window_set_decorations()
1886 to gtk_window_set_decorated().
1887 * at-bridge/bridge.c:
1888 Bridge now deregisters when app exits, via
1889 registration of a cleanup function
1890 with the g_atexit() call.
1891 Required making 'app' static, renamed 'this_app'.
1892 Fixed broken use of bonobo_init, passing argv wrongly.
1894 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1898 Created a new directory for
1899 accessibility-related utilities, primarily for
1900 testing and demo purposes, but with possible
1907 Onscreen magnifier utility that
1908 is implemented as a bonobo service.
1910 * util/mag_client.c:
1911 * util/mag_client.h:
1912 Client-side support (simple C bindings)
1913 for Magnification service
1915 * util/mag_control.c:
1916 Client program example for
1917 Magnification service
1919 * util/Accessibility_Magnifier.server.in:
1920 Bonobo-activation file for the
1921 Magnification service.
1924 * util/idl/Magnifier.idl:
1925 IDL defining the bonobo Magnification
1929 Modifications to use the bonobo-activated magnifier
1930 above, in place of trying to connect to an existing
1931 magnifier that uses socket-listening IPC.
1933 If env variable MAGNIFIER is set, a magnifier service
1934 will be started if one does not exist.
1936 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1937 * at-bridge/bridge.c:
1938 applied patch from Marc to build and run
1939 against new glib and gtk+ (seemed like a change
1940 to bonobo_init signature was made ?)
1942 made festival-server support turned off by default.
1943 Added support for a simple magnifier (off by default)
1944 which will be added to a 'util' directory later.
1945 * at-bridge/Makefile.am:
1946 Changed "application.h" header from a 'source'
1947 to a 'dependency' of libat-bridge.
1949 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1957 Added interface implementation c files to list of
1958 includes so they are included in libcspi.
1961 Changed prototype of AccessibleAction_doAction to return a
1963 Changed prototype of AccessibleTable_getCaption to
1964 return an Accessible.
1965 Changed prototype of AccessibleTable_getSelectedRows
1966 and AccessibleTable_getSelectedColumns to
1967 return a long (returns the number of selected rows
1968 or columns respectively).
1969 Changed name of AccessibleText_refRunAttributes to
1970 AccessibleText_getAttributes.
1971 Changed prototype of AccessibleText_getCharacterExtents to
1972 return a void rather than a boolean.
1973 Added support for a AccessibleCoordType parameter
1974 specifying what type of coordinates are desired.
1975 Added an AccessibleCordType parameter to
1976 AccessibleText_getPointAtOffset.
1978 * cspi/spi_accessible.c:
1979 Added code to return the outstanding interfaces from
1980 Accessible_queryInterface.
1982 * cspi/spi_action.c:
1984 Corrected call to getNActions to call the c binding
1987 * cspi/spi_editabletext.c:
1989 Changed name from setRunAttributes to setAttributes.
1991 * cspi/spi_hyperlink.c:
1993 Changed call to getNAnchors to correctly call the c
1994 binding for an attribute.
1996 * cspi/spi_hypertext.c:
1998 Changed getImageDescription to correctly call the
1999 binding for an attribute.
2001 * cspi/spi_selection.c:
2002 Changed getNSelectedChildren to correctly call the c
2003 binding for the attribute.
2004 Changed refSelectedChild to getSelectedChild.
2008 Changed getCaption to return an Accessible.
2009 Fixed calls which retrieve attributes.
2010 Changed refAt to getAccessibleAt.
2011 Changed getNSelectedRows and getNSelectedColumns to
2015 Changed getCharacterExtents and getPointAtOffset to accept an
2016 AccessibleCoordType.
2018 Changed calls which retrieve attributes.
2019 Changed refRunAttributes to getAttributes.
2024 * idl/Hyperlink.idl:
2025 Changed n_anchors attribute to nAnchors to keep naming
2026 convention consistent.
2029 Made Table inherit from Bonobo::Unknown.
2030 Added nSelectedColumns and nSelectedRows attributes.
2033 Made Value inherit from Bonobo::Unknown.
2035 * libspi/hyperlink.c:
2036 Change for nAnchors attributte name change.
2038 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2046 Added interface implementation c files to list of
2047 includes so they are included in libcspi.
2050 Changed prototype of AccessibleAction_doAction to return a
2052 Changed prototype of AccessibleTable_getCaption to
2053 return an Accessible.
2054 Changed prototype of AccessibleTable_getSelectedRows
2055 and AccessibleTable_getSelectedColumns to
2056 return a long (returns the number of selected rows
2057 or columns respectively).
2058 Changed name of AccessibleText_refRunAttributes to
2059 AccessibleText_getAttributes.
2060 Changed prototype of AccessibleText_getCharacterExtents to
2061 return a void rather than a boolean.
2062 Added support for a AccessibleCoordType parameter
2063 specifying what type of coordinates are desired.
2064 Added an AccessibleCordType parameter to
2065 AccessibleText_getPointAtOffset.
2067 * cspi/spi_accessible.c:
2068 Added code to return the outstanding interfaces from
2069 Accessible_queryInterface.
2071 * cspi/spi_action.c:
2073 Corrected call to getNActions to call the c binding
2076 * cspi/spi_editabletext.c:
2078 Changed name from setRunAttributes to setAttributes.
2080 * cspi/spi_hyperlink.c:
2082 Changed call to getNAnchors to correctly call the c
2083 binding for an attribute.
2085 * cspi/spi_hypertext.c:
2087 Changed getImageDescription to correctly call the
2088 binding for an attribute.
2090 * cspi/spi_selection.c:
2091 Changed getNSelectedChildren to correctly call the c
2092 binding for the attribute.
2093 Changed refSelectedChild to getSelectedChild.
2097 Changed getCaption to return an Accessible.
2098 Fixed calls which retrieve attributes.
2099 Changed refAt to getAccessibleAt.
2100 Changed getNSelectedRows and getNSelectedColumns to
2104 Changed getCharacterExtents and getPointAtOffset to accept an
2105 AccessibleCoordType.
2107 Changed calls which retrieve attributes.
2108 Changed refRunAttributes to getAttributes.
2113 * idl/Hyperlink.idl:
2114 Changed n_anchors attribute to nAnchors to keep naming
2115 convention consistent.
2118 Made Table inherit from Bonobo::Unknown.
2119 Added nSelectedColumns and nSelectedRows attributes.
2122 Made Value inherit from Bonobo::Unknown.
2124 * libspi/hyperlink.c:
2125 Change for nAnchors attributte name change.
2128 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2130 implementations-- made server implementations own AtkObject pointers
2131 rather than their respective AtkInterrface pointers to fix
2132 refcounting. AtkHyperlink is still broken.
2134 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2135 * cspi/spi_accessible.c:
2136 Added method Accessible_Role_getName(),
2137 and requisite string array (role_names).
2138 Added conversion string_from_corba_strin() call
2139 to Accessible_getName and _getDescription.
2140 * libspi/accessible.c:
2141 Added implementation for Accessible_getRole()
2143 Added festival support, used if environment variable
2146 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2148 * at-bridge/bridge.c:
2149 Now allocate Accessibility_Event using
2150 Accessibility_Event__alloc() instead of g_new0().
2151 * libspi/accessibleeventlistener.c:
2152 Initialize AccessibleEventListener->callbacks to NULL.
2153 Fixed accessible__event_listener_init() param, changed to
2154 "AccessibleEventListener *" type.
2155 Changed a bonobo_object_release_unref() call to
2156 Accessibility_Accessible_unref().
2157 * libspi/listener.c:
2158 Changed Bonobo_Unknown_unref to (equivalent)
2159 Accessibility_Accessible_unref.
2160 * libspi/registry.c:
2161 Changed bonobo_object_release_unref to
2162 Accessibility_Accessible_unref.
2164 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2167 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2168 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2169 spi-util.c spi-util.h
2170 Implementations for C bindings to remaining accessibility
2173 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2176 changed return value of Action from void to boolean to
2177 bring in line with ATK.
2180 Changed getText funcions to return "out" start and end offsets.
2181 Changed getAttributes to take and offset and return the start
2182 and end offset of the attribute run.
2183 Changed getOffsetAtPoint and getCharacterExtents to take an
2184 enum describing whether coordinates are window or screen.
2187 libspi/action.c libspi/action.h libspi/editabletext.c
2188 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2189 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2190 libspi/image.h libspi/selection.c libspi/selection.h
2191 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2192 libspi/value.c libspi/value.h
2193 Added server implementations for outstanding ATK interfaces
2194 not yet implemented.
2196 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2199 Added (missing) getName() method.
2200 Made nActions an attribute.
2201 * idl/EditableText.idl:
2202 Changed order of params in setAttributes.
2203 * idl/Hyperlink.idl:
2204 Removed getAnchor, added getURI.
2206 Changed attributes to methods, for efficiency
2207 (so that getting extents can be done in one call)
2208 * idl/Selection.idl:
2209 Changed nSelectedChildren to attribute, and re-indented.
2210 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2212 * idl/Text.idl: reformatted to match our coding style.
2213 (temporarily?) removed getRowColumnAtOffset().
2214 Changed text selection API to support multi-select and
2215 non-contiguous selections, as in ATK.
2216 * idl/Value.idl: changed some methods to attributes.
2218 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2220 * libspi/listener.c(impl_notify_event):
2221 BonoboUnkown_unref the source instead
2222 of bonobo_object_release_unref - the ORB
2223 handles the releasing.
2225 * configure.in: require ORBit-2.3.94 for
2228 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2230 Tagged CVS repository 'EA_1_0'.
2231 * README.EARLY_ACCESS:
2232 Alphabetized acknowledgements list, and
2234 Listed some known dependencies of at-spi.
2236 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2238 * docs/at-spi-docs.sgml:
2239 * docs/at-spi-sections.txt:
2240 * docs/at-spi-overrides.txt: (Added zero-length file)
2241 Documentation improvements - gtk-doc should build
2242 docs for all implemented C bindings now.
2245 * cspi/spi.c: (New file)
2246 * cspi/spi_event.c: (New file)
2247 * cspi/spi_registry.c: (New file)
2248 * cspi/spi_accessible.c: (New file)
2249 * cspi/spi_application.c: (New file)
2250 * cspi/spi_component.c: (New file)
2251 Split spi_main.c into six parts, and included them from
2252 "spi.c". This is a bit of a hack, probably temporary,
2253 but required by gtk-doc, apparently.
2255 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2258 * docs/at-spi-docs.sgml:
2259 * docs/at-spi-sections.txt:
2261 Initial checkins/modifications for gtk-doc generation.
2264 Added (missing) interface query methods to Accessible's C binding.
2266 Added GenericInterface type definition.
2268 Added query for AccessibleComponent interface to focus event handler.
2269 Added printout of bounding box for focussed component.
2270 * libspi/component.c:
2271 Added partial implementation for AccessibleComponent to C binding.
2272 * idl/Application.idl:
2273 * libspi/registry.c:
2274 * libspi/listener.c:
2275 * libspi/application.c:
2276 * libspi/application.h:
2277 Changed "ID" attribute type from string to long.
2279 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2283 Made method naming consistent: methods taking object args
2284 start with uppercase, other methods (except those using
2285 acronyms) start with lowercase. Underscores delimit between
2286 object names and method names:
2287 SPI_init() - uppercase since it starts with an acronym.
2288 getDesktopCount () - lowercase start since no object param0.
2289 Accessible_getName() - uppercase object type name, studlyCaps method
2293 Added gtk-doc documentation for all currently implemented
2294 methods in the C bindings API.
2296 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2298 * Makefile.am : changed build order to build test last.
2301 Changed "createEventListener" to "CreateEventListener".
2302 * libspi/accessibleeventlistener.c :
2303 Bugfix for addition of callbacks.
2304 * test/Makefile.am :
2305 * test/simple-at.c :
2306 Added new test that uses the C bindings API.
2308 * libspi/listener.c :
2309 * libspi/registry.c :
2310 * libspi/accessibleeventlistener.c :
2311 * at-bridge/bridge.c :
2312 Renamed member "target" of Accessibility_Event to "source",
2313 which is more descriptive.
2316 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2320 * cspi/Makefile.am :
2321 Added makefile support for at-spi/cspi directory.
2324 * cspi/spi-listener.h : (NEW FILE)
2325 Added support for/use of spi-listener.h.
2327 C bindings now build successfully, with no warnings.
2328 * libspi/accessibleeventlistener.h : (NEW FILE)
2329 * libspi/accessibleeventlistener.c : (NEW FILE)
2330 * libspi/Makefile.am :
2331 Added new object type "AccessibleEventListener"
2332 which inherits from Listener, and allows attachment
2333 of in-process callbacks (so that a client with a listening
2334 object instance can add functionality to the local
2335 implementation, dynamically).
2337 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2339 * libspi/accessible.c:
2340 Add implementation for get_index_in_parent().
2342 Added #include of "spi-roletypes.h", and
2343 added enumerated type AccessibleCoordType.
2344 Added definition for KeystrokeListener (function type).
2347 * cspi/spi-statetypes.h :
2348 * cspi/spi-roletypes.h :
2350 Added these headers, used by spi.h.
2352 Added code (NOTE: not yet built by make).
2354 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2356 * libspi/Makefile.am: generate imodule
2357 at the same time as other idl compiler
2360 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2361 * libspi/registry.c :
2362 * libspi/application.c :
2363 * idl/Application.idl :
2364 Made registration with toolkit an application method,
2365 which is required since each app has its own toolkit static
2366 environment. Thus the bridge must register for
2367 notification of toolkit events from each application in turn.
2368 Toolkit notifications are now successfully registered for, and
2369 sent to the listening at client.
2371 Changed toolkit event string to use hyphens rather than underscores.
2372 * libspi/listener.c :
2373 listner now gives more info in debug mode - it reports the
2374 name of the event received, as well as the name of the source.
2377 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2379 * libspi/registry.c :
2380 added more implementation for toolkit events.
2381 Fixed bug such that toolkit event registrations
2382 (via atk) use the whole event name string, not
2384 Removed a useless call to an ORBit_ method.
2385 * at-bridge/bridge.c :
2386 Removed unused local sbuf[] variable.
2388 We now register for Gtk:GtkWidget:button_press_event
2389 events as well as "focus:" events.
2391 Add some more API from Registry.idl that was missing,
2392 for keystroke listening, keystroke and mouse event
2393 synthesis, and enumeration of accessible desktops.
2395 2001-08-16 Michael Meeks <michael@ximian.com>
2397 * configure.in: use AM_GLIB_GNU_GETTEXT.
2399 * Makefile.am (SUBDIRS): kill intl.
2401 2001-08-15 Michael Meeks <michael@ximian.com>
2403 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2405 * configure.in: upd.
2407 * configure.in: depend on a recent bonobo-activation that
2408 will find our server files ...
2410 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2412 * libspi/accessible.c : accessible_new() :
2413 Now we add the Component interface via bonobo_object_add_interface,
2414 if the contained AtkObject implements AtkComponent.
2415 * libspi/accessible.h : now include "component.h"
2416 * libspi/component.h :
2417 * libspi/component.c : added files - implementation of
2418 bonobo wrapper object for Accessibility/Component
2419 * libspi/listener.c :
2420 Added test code to check for Accessibility/Component:1.0
2421 interface and report whether it is implemented by the
2423 * libspi/registry.c :
2424 Now we check for not only the hash of the whole event
2425 string before relaying the event, we also check the
2426 "minor" event string (without the detail string).
2427 This allows event listeners to be registered against
2428 all events of a certain major+minor type, or just
2429 against a specific major+minor+detail type.
2430 * libspi/accessible.c :
2431 Added implementations for Accessible:get_parent(),
2432 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2433 * libspi/registry.c :
2434 * libspi/listener.c :
2435 Replaced calls to Accessibility_Accessible_ref() and
2436 Accessibility_Accessible_unref() with
2437 calls to bonobo_object_dup_ref() and
2438 bonobo_object_release_unref(), so that the CORBA object
2439 is dup-ed and released when relayed, as well as the bonobo object.
2441 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2443 * libspi/Makefile.am,
2444 registryd/Makefile.am,
2445 at-bridge/Makefile.am.
2446 test/Makefile.am, configure.in:
2447 reverse previous changes.
2449 * /idl/Image.idl: fix typo.
2451 * test/Makefile.am: put DEBUG_FLAGS
2454 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2456 * test/app.c: use argv[0] instead of
2459 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2461 * libspi/Makefile.am,
2462 registryd/Makefile.am,
2463 at-bridge/Makefile.am.
2464 test/Makefile.am, configure.in:
2465 cleanup, replace individual LIBS/CFLAGS with
2466 AT_COMMON_{LIBS|CFLAGS}.
2470 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2472 * configure.in, libspi/Makefile.am:
2473 Change IDL path checking for bonobo-activation
2476 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2478 * registryd/registry.c : separated event listeners to use
2479 3 separate lists (focus, window, toolkit). Began testing
2480 event names against hashes before relaying events.
2481 * test/at.c : now register for events of type "focus:"
2482 * test/app.c : now generate events of type "focus:"
2483 * at-bridge/bridge.c : register with ATK for focus events,
2484 and we now relay those focus events to any "focus:" listeners.
2485 This now works with the bridge as a GTK_MODULE when running test/at.
2486 * libspi/registry.c :
2487 * libspi/listener.c :
2488 now we ref event sources before propagating, and unref on receipt.
2489 * libspi/registry.c :
2490 some changes to internal structs, to support event typestring hashes.
2491 * text/app.c : changed the way the appname is generated.
2492 * cspi : added directory that will hold the C bindings library for
2493 non-CORBA/bonobo-savvy clients.
2494 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2495 * idl/Component.idl : added in parameter to indicate coord system for
2496 geometry-related calls.
2497 * idl/Hyperlink.idl : added readonly n_links attribute
2498 * idl/Image.idl : changed methods to attributes.
2500 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2502 * at-bridge/Makefile.am: link against
2503 ../libspi/libspi.la instead of -lspi.
2505 * at-spi/test/app.c: include
2506 bonobo-activation.h. Use a default appname
2507 if one is not provided.
2509 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2511 * idl/Registry.idl : temporarily changed register_Application
2512 to oneway, to work around issue with initial registration
2514 * idl/Application.idl : changed attribute "id" from readonly
2515 to read-write, since it needs to be assigned by Registry.
2516 * registryd/registryd.c : added call to set application id
2518 * registryd/registry.c : changed de-registration procedure to
2519 use CORBA_Object_hash() to find matching object ref in application
2520 lists and listener lists.
2521 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2522 began distinguishing between event types (work in progress).
2524 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2527 * libspi/application.c:
2528 Added implementations for get/set id, get_toolkitName,
2530 * registryd/registryd.c :
2534 Converted from use of OAF to bonobo-activation.
2535 * libspi/desktop.h :
2536 * libspi/desktop.c :
2538 Removed references to atksimpleobject, since base atkobject
2539 implementation now provides functionality we need.
2540 * libspi/atksimpleobject.c :
2541 * libspi/atksimpleobject.h :
2546 * at-bridge/Makefile.am
2547 * at-bridge/bridge.c
2550 Added directory "bridge" and contents, and added dependencies
2551 in Makefile.am/configure.in.
2552 Initial checkin of "at-bridge".
2553 This code is a GTK_MODULE which automatically registers
2554 GTK+ apps with the accessibility registry, using an object
2555 reference to the root ATK object.
2557 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2559 * po/Makefile.in.in: Remove. Again. If this
2560 doesn't get autogenerated - you need to update
2563 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2565 * po/Makefile.in.in: Add. Again.
2567 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2569 * libspi/accessible.c : added support for 'description' property.
2570 * libspi/accessible.c
2572 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2573 (since the two are now equivalent in libbonobo)
2581 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2582 Bonobo::Unknown as does Accessibility::Accessible.
2583 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2584 interface with Bonobo::Stream, since it was redundant with it.
2585 (The Stream returned by a StreamableContext object is expected to
2586 implement only a subset of Bonobo::Stream)
2588 2001-07-28 Anders Carlsson <andersca@gnome.org>
2590 * libspi/accessible.c (accessible_object_finalize): Change
2591 g_free to g_object_unref since the AtkObject is a GObject.
2593 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2595 * idl/Accessibility.idl: add new IDL files
2598 * idl/Action.idl: Definitions of actionable UI object
2599 * idl/Component.idl: Definitions of UI component geometry, etc.
2600 * idl/Hyperlink.idl: Defs of hyperlink behavior
2601 * idl/Image.idl: Def of accessible image
2602 * idl/Selection.idl: Definition of UI object with selectable children
2603 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2604 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2605 * idl/Text.idl: Interface defs for UI elements with complex textual content
2606 * idl/Value.idl: Definition of UI element that is a value controller or display
2608 2001-07-27 Michael Meeks <michael@ximian.com>
2610 * po/Makefile.in.in: remove autogenerated file from CVS.
2612 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2615 * idl/Registry.idl: include guard.
2617 * idl/Accessibility.idl: Add, and include all the other IDL
2620 * idl/*.idl: remove mass of pragmas etc.
2622 2001-07-26 Michael Meeks <michael@ximian.com>
2624 * registryd/Makefile.am (registryd_SOURCES): remove
2627 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2629 * libspi/.cvsignore, registryd/.cvsignore,
2630 test/.cvsignore: updated.
2632 * po/Makefile.in.in: gettext update.
2634 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2636 * initial CVS checkin
2638 2001-06-29 Michael Meeks <michael@ximian.com>
2640 * configure.in: add AM_CONFIG_HEADER to gen config.h