1 2001-12-08 Michael Meeks <michael@ximian.com>
3 * at-bridge/bridge.c (bridge_focus_tracker),
4 (emit_eventv): fix the same ref. leak.
5 (register_atk_event_listeners): don't leak.
7 * cspi/spi-listener-impl.c (cspi_event): more
8 protection from client code.
10 * test/test-simple.c (test_desktop): unref the app.
12 * test/Makefile.am: upd. TESTS.
14 * at-bridge/bridge.c (bridge_exit_func): release the registry.
16 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
18 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
20 * cspi/spi_registry.c: constify in strings.
21 (deregisterGlobalEventListenerAll): don't release the ref.
23 * cspi/spi.h: start removing redundant / conflicting
24 gtkdoc comments, making the API readable at a glance :-)
26 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
28 * test/keysynth-demo.c (keysynth_exit, main): upd.
30 * test/simple-at.c (main, simple_at_exit): upd.
32 * test/test-simple.c (unutterable_horror): kill.
33 (utterable_normal_derefs): kill.
34 (main): upd & do a setenv before gtk_init, so that we
35 can use memprof - and to save the pain of remembering
36 this, if we're running under memprof - don't exit.
38 * cspi/spi_main.c (SPI_exit): return exit status
40 (SPI_event_quit): impl.
41 (SPI_event_main): simplify.
42 (cspi_is_gnome_app): kill.
43 (SPI_init): kill isGNOMEapp arg.
45 * at-bridge/bridge.c (register_atk_event_listeners):
47 (bridge_exit_func): don't re-activate the registry,
48 protect vs. theoretical re-entry, use the
49 AT_BRIDGE_SHUTDOWN env. var to determine whether to
50 assert a clean shutdown - for regression tests.
52 2001-12-08 Abel Cheung <maddog@linux.org.hk>
54 * configure.in: Comment out dummy i18n support for now,
55 otherwise it fails to build.
56 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
57 EXTRA_DIST. They are missing in tarball.
59 2001-12-07 Michael Meeks <michael@ximian.com>
61 * util/magnifier.c: kill bonobo activation reg. race.
64 (impl_accessibility_component_get_extents): make it match
67 * libspi/registry.c (_registry_notify_listeners):
68 re-remove X headers & reconcile conflicts.
69 (spi_listener_struct_free): bad conflict resolve.
70 (impl_accessibility_registry_register_application):
71 more bad merging fixed.
72 (impl_accessibility_registry_deregister_application): ditto.
73 (spi_registry_new): ditto.
74 (spi_registry_init): don't have an applications field.
76 [ merge fixups2 branch to here ]
77 2001-12-07 Michael Meeks <michael@ximian.com>
79 * test/simple-at.c (report_focus_event),
80 (report_focussed_accessible): remove g_warning debug.
82 2001-12-07 Michael Meeks <michael@ximian.com>
84 * test/test-simple.c (validate_tree): comment out some checks.
85 (test_desktop): app now not registered idly - horay.
87 2001-12-07 Michael Meeks <michael@ximian.com>
90 (registerAccessibleKeystrokeListener): clean, stop it leaking
91 great swathes of memory, and device event controller references.
92 ensure we always pass valid sequences.
93 (deregisterAccessibleKeystrokeListener): ditto.
94 (generateKeyEvent): upd.
96 * at-bridge/bridge.c (bridge_key_listener): handle
97 registry dead exception gracefully.
98 (bridge_focus_tracker, emit_eventv): free ev.
100 * test/simple-at.c (report_focus_event): fix polarity.
102 * libspi/application.c (notify_listeners): kill the ev
103 argument, and make sure we init the ev we use.
104 (spi_application_object_event_listener): split out a chunk
105 (get_atk_object_ref): here & fixup.
106 (reverse_lookup_name_for_toolkit_event): make const.
107 (spi_application_toolkit_event_listener): fixup, kill leaks
110 * at-bridge/bridge.c (register_atk_event_listeners):
111 don't unref the noop object - causes grief.
113 * libspi/registry.c: remove the X headers.
114 turn off the debug churn.
116 * libspi/accessible.c (spi_accessible_new_return): only
117 release the ref if we are supposed to [doh]
119 * test/simple-at.c (report_button_press, report_focus_event):
120 guard vs. unexpected exit.
122 * at-bridge/bridge.c (gtk_module_init): prune printf.
123 (bridge_exit_func): fix app unref.
125 * libspi/Makefile.am: don't install registry or desktop.h
127 * libspi/*.h: update includes.
129 * libspi/application.h: don't include ourself, or
130 other redundant headers.
132 2001-12-06 Michael Meeks <michael@ximian.com>
134 * libspi/accessible.c
135 (get_accessible_from_servant): impl.
136 Upd. all CORBA impl.s to use it killing cut and paste.
138 * cspi/spi_main.c (cspi_cleanup): guard vs. double
140 (SPI_init): register atexit cleanup handler here.
142 2001-12-06 Michael Meeks <michael@ximian.com>
144 * at-bridge/bridge.c (gtk_module_init): g_error on
147 2001-12-06 Michael Meeks <michael@ximian.com>
149 * at-bridge/bridge.c (gtk_module_init): some sort of
150 confusing merge clash - reverted.
151 (bridge_idle_init): ditto.
153 * test/test-simple.c (main, utterable_normal_derefs):
154 merge from Bill - somehow not committed.
156 2001-12-06 Michael Meeks <michael@ximian.com>
158 * libspi/value.c (spi_value_class_init): upd.
159 (spi_value_finalize): kill.
161 * libspi/table.c (spi_table_finalize): kill.
162 (spi_table_interface_new): upd.
163 (spi_table_class_init): upd.
164 (get_table_from_servant): impl.
165 Upd. all CORBA impl.s to use it killing yet more cut and paste.
167 * libspi/selection.c (spi_selection_finalize): kill.
168 (spi_selection_interface_new): upd.
169 (spi_selection_class_init): upd.
170 (get_selection_from_servant): impl.
171 Upd. all CORBA impl.s to use it killing yet more cut and paste.
173 * libspi/relation.c (spi_relation_finalize): kill.
174 (spi_relation_class_init, spi_relation_new): upd
176 * libspi/image.c (spi_image_finalize): kill.
177 (spi_image_class_init): upd.
178 (spi_image_interface_new): upd.
179 (get_image_from_servant): impl.
180 Upd. all CORBA impl.s to use it killing yet more cut and paste.
182 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
183 (spi_hyperlink_finalize): kill.
184 (spi_hyperlink_new): upd.
185 (get_hyperlink_from_servant): impl.
186 Upd. all CORBA impl.s to use it killing yet more cut and paste.
188 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
189 (spi_hypertext_finalize): kill.
190 (spi_hypertext_class_init): upd.
191 (get_hypertext_from_servant): impl.
192 Upd. all CORBA impl.s to use it killing yet more cut and paste.
194 * libspi/editabletext.c (spi_editable_text_finalize): kill.
195 (spi_editable_text_interface_new): upd.
196 (get_editable_text_from_servant): impl.
197 Upd. all CORBA impl.s to use it killing yet more cut and paste.
199 * libspi/text.c (get_text_from_servant): impl.
200 All impls - update to use it killing more cut and paste,
201 also fix bad string returns on duff args ( a somewhat
202 impossible case to handle - but hey ).
203 (spi_text_construct): impl.
204 (spi_text_interface_new): upd.
205 (spi_text_object_finalize): kill.
208 (accessibility_component_object_finalize): kill.
209 (spi_component_class_init): upd.
210 (get_component_from_servant): impl. helper to kill cut & paste.
211 (impl_accessibility_component_contains):
212 (impl_accessibility_component_get_accessible_at_point):
213 (impl_accessibility_component_get_position):
214 (impl_accessibility_component_get_extents):
215 (impl_accessibility_component_get_mdi_z_order):
216 (impl_accessibility_component_get_layer):
217 (spi_component_interface_new): upd.
219 * libspi/action.c (spi_action_finalize): kill.
220 (spi_action_class_init): upd. inherit from SpiObject.
221 (spi_action_interface_new): upd.
222 (get_action_from_servant): impl. helper to reduce cut & paste.
223 (impl_getKeyBinding, impl_getName, impl_doAction),
224 (impl_getDescription): Use it everywhere.
226 * cspi/spi_main.c (get_live_refs): a pointer hash.
227 (spi_object_hash, spi_object_equal): comment out.
228 There are issues with CORBA object hashing that need
231 * libspi/application.c (spi_application_init),
232 (spi_application_new): upd.
234 * libspi/accessible.c (spi_accessible_object_finalize): kill.
235 (spi_accessible_class_init): upd.
236 s/accessible/object/ in epv methods.
238 2001-12-05 Bill Haneman <bill.haneman@sun.com>
240 * at-bridge/bridge.c:
241 Reorder the bridge initialization into the bridge gtk_module_init,
242 an immediate call to bridge_register_app, and an idle_add for
243 register_atk_event_listeners (the only code that *must* wait until
244 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
245 the activation, creates the application's Accessible object, and
246 queues the bridge_idle_init function. Restored call to
247 Accessibility_Registry_deregisterApplication().
248 Prior to making this call we obtain a new reference to the
249 registry, which is a temporary hack that helps us handle apps that
250 shut down the bonobo mainloop before we get there.
253 Fix string leakage in debug block, and don't segv if a an app
254 dies before its event notifications have been propagated.
257 Modify cspi_check_ev() to call g_warning() rather than g_error(),
258 as stopgap measure until we get proper exception handling when
259 objects die during or before interrogation.
263 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
264 Also changed default value of is_gnome_app to TRUE.
267 * test/keysynth-demo.c:
268 Changed use of SPI_init and SPI_event_main to reflect API change above.
271 Made report_focus_event check the warning value from getName
272 before reporting on focussed accessible; simplifies handling of
273 notifications from dead objects.
275 * test/test-simple.c: (Changes not in this patch since source is
278 2001-12-05 Michael Meeks <michael@ximian.com>
280 * registryd/registryd.c (main): protect against
281 bonobo-activation startup race condition.
283 * cspi/spi_main.c (cspi_object_add_check): cope
284 with the exception elegantly.
286 * idl/Accessible.idl: decl. ChildGone
288 * libspi/desktop.c (spi_desktop_dispose): impl.
289 (spi_desktop_class_init): upd.
290 (spi_desktop_add_application),
291 (spi_desktop_remove_application),
292 (abnormal_application_termination): impl.
293 (impl_desktop_get_child_at_index): re-impl.
296 (impl_accessibility_registry_deregister_application),
297 (impl_accessibility_registry_register_application):
298 kill excessive debug clutter.
300 * test/test-simple.c (test_misc): test some NULL
301 tolerance. (main): upd.
303 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
304 implements no interfaces - so let's not crash.
306 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
308 * libspi/accessible.c (spi_accessible_new_return): impl.
309 helper to calm the cut and paste, to cope with
310 NULL AtkObjects effectively and efficiently, and to kill
311 the referencing bugs.
313 * libspi/table.c (impl_getAccessibleAt),
314 (impl_getRowHeader, impl_getColumnHeader): upd.
316 * libspi/hyperlink.c (impl_getObject): upd.
318 * libspi/accessible.c
319 (impl_accessibility_accessible_get_child_at_index): upd.
322 (impl_accessibility_component_get_accessible_at_point): upd.
324 * test/test-simple.c (test_editable_text, test_text): impl.
327 * cspi/spi_editabletext.c
328 (AccessibleEditableText_insertText): constify.
330 * test/test-simple.c (focus_me): make more robust.
332 * libspi/accessible.c: remove some printfs in methods that
333 we test and work fine, so we can get a clean tree dump.
335 * test/test-simple.c (validate_accessible),
336 (validate_tree): make tree dumping pretty too.
338 * at-bridge/bridge.c (bridge_signal_listener): upd. so
339 it builds without debug on.
341 * test/test-simple.c (validate_accessible): fix the most
344 * cspi/spi_main.c (spi_object_release): leave the nicely
345 blanked memory around if in debug mode.
347 * cspi/spi-listener-impl.c (cspi_event): use add_check.
349 [committed to fixups2]
350 2001-12-05 Michael Meeks <michael@ximian.com>
352 * libspi/editabletext.c
353 (spi_editable_text_class_init): g_type_class_peek_parent,
354 not interface peek - so we finalize cleanly.
356 * libspi/accessible.c (spi_accessible_new): kill debug.
358 * test/test-simple.c (validate_accessible): fix ref.
359 leak, print strings before freeing them; sigh, comment a
360 chunk out due to strangeness.
361 (validate_tree): unref the child after use.
363 * cspi/spi_component.c (AccessibleComponent_getLayer):
364 add missing break statement, switch on zlayer not the
365 uninitialized retval.
367 * cspi/spi_main.c (cspi_object_add): add assert, local ref
368 before (possibly re-entering) remote unref.
370 * test/simple-at.c (main): unref the desktop.
372 * cspi/spi_accessible.c (cspi_accessible_is_a): move
375 * cspi/spi_main.c (cspi_accessible_is_a): here to
376 isolate bonobo API usage more.
378 * libspi/registry.c (impl_accessibility_registry_register_application):
381 2001-12-04 Michael Meeks <michael@ximian.com>
383 * test/test-simple.c (validate_tree): upd.
384 IndexInParent check to make it more lucid.
385 (validate_accessible): dump the tree.
387 * libspi/accessible.c (de_register_public_ref),
388 (get_public_refs): impl.
389 (spi_accessible_new): make more efficient & intuitive.
390 Now IndexInParent check works.
392 2001-12-04 Michael Meeks <michael@ximian.com>
394 * cspi/spi-util.h: remove.
396 * cspi/spi.h: move SPI_freeString here
398 * libspi/component.c (impl_accessibility_component_get_layer):
400 (impl_accessibility_component_get_mdi_z_order): ditto,
401 return -1 on error - is this ok ?
403 * test/test-simple.c (test_application): impl.
405 * cspi/spi_accessible.c (Accessible_getApplication),
406 (Accessible_isApplication): impl.
408 * libspi/registry.c (spi_listener_struct_free): release
409 the CORBA reference too.
411 * libspi/accessible.c
412 (impl_accessibility_accessible_get_parent): fix ref leak.
414 * libspi/registry.c (spi_registry_new): make the registry
415 immortal - we don't want it to go away ever.
417 * libspi/application.c
418 (spi_accessible_application_finalize): impl. cleanup.
420 * cspi/spi_registry.c
421 (deregisterGlobalEventListenerAll),
422 (deregisterGlobalEventListener),
423 (deregisterAccessibleKeystrokeListener): fix ref leak.
425 * cspi/spi_main.c (SPI_init): remove redundant ref.
427 * test/test-simple.c (unutterable_horror): impl. to force a
432 (impl_accessibility_registry_deregister_application): release
433 the application when we de-register it.
435 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
436 until we have the infastructure to get it right.
438 2001-12-03 Michael Meeks <michael@ximian.com>
440 * libspi/Makefile.am: only build eventlistener.[ch]
442 * libspi/accessible.c
443 (impl_accessibility_accessible_get_child_at_index): don't leak.
445 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
446 before we hit the idle handler.
448 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
451 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
453 * libspi/listener.c (impl_notify_event): check source
454 not NIL before unref.
456 * libspi/registry.c (impl_registry_notify_event): ditto.
458 * libspi/eventlistener.c
459 (impl_accessible_event_notify_event): unref the source.
461 * libspi/accessibleeventlistener.c
462 (impl_accessible_event_notify_event): unref the source.
464 * idl/Event.idl: remove 'hash_id' attribute - of no
467 * libspi/application.c (notify_listeners): upd list
469 (spi_application_object_event_listener),
470 (spi_application_toolkit_event_listener): upd to do correct
474 (_registry_notify_listeners): update.
475 (parse_event_type): this method also leaks like a sieve.
476 (impl_accessibility_registry_deregister_global_event_listener):
477 fix ETYPE_WINDOW case.
479 * libspi/application.c
480 (impl_accessibility_application_register_object_event_listener):
483 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
485 * libspi/hypertext.c (impl_getLink): ditto.
487 * cspi/spi_main.c (cspi_object_add): remove
488 bogus CORBA_Object_duplicate.
490 * cspi/spi-listener-impl.c (cspi_event): dup/ref
493 * cspi/spi_accessible.c
494 (Accessible_getRelationSet): fix leak / referencing issue.
496 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
497 (cspi_object_add, cspi_object_unref): upd.
498 (spi_object_release, get_live_refs): impl.
499 (cspi_cleanup): simplify.
501 * *.[ch]: s/boolean/SpiBoolean/
503 * cspi/spi_accessible.c (role_names): actualy order so it
504 corresponds with the enum !
506 * test/test-simple.c (test_roles): check some role strings
507 vs. enums to detect offset errors.
509 2001-12-01 Michael Meeks <michael@ximian.com>
511 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
513 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
515 (Accessible_getChildAtIndex): use cspi_add_check so we
516 check the ev before using a (possibly) invalid value.
518 * libspi/accessible.c
519 (impl_accessibility_accessible_get_parent): don't segv
522 * at-bridge/bridge.c (gtk_module_init): upd.
523 (bridge_property_event_listener): don't leak strings
525 (bridge_state_event_listener),
526 (bridge_property_event_listener): don't use a static
527 buffer in case of recursive event emission &
528 re-enterancy - split out the swathe of cut and paste
530 (emit_eventv): and fix 2 ref leaks here & comply to the
532 (bridge_register_app): rename to
533 (bridge_idle_init): this and kill arg parsing, split
534 various inits & bonobo-activation registration to module
535 init time, kill referencing error.
536 (bridge_exit_func): fix the same leak.
537 (bridge_focus_tracker): don't leak event structures
539 (bridge_signal_listener): more leakage and cut & paste
541 (bridge_key_listener): return the result - FIXME is
542 this polarity correct ?
543 (accessibility_keystroke_from_atk_key_event): rename
544 (accessibility_init_keystroke_from_atk_key_event): and stop
546 (gtk_module_init): return a value - not that it is checked by
548 (bridge_key_listener): register my horror at casting between
550 (bridge_get_registry): kill - not used.
552 * cspi/spi_accessible.c (Accessible_getRole): make return const.
554 * test/test-simple.c (test_roles): impl.
555 (test_desktop, validate_accessible, validate_tree): impl.
557 * cspi/spi_accessible.c (role_names): fixup bogus
558 MAX_ROLES setup, make constants const for efficient linkage
559 (AccessibleRole_getName): conform to coding style, make
562 2001-11-30 Michael Meeks <michael@ximian.com>
564 * cspi/spi.h: add missing prototype.
566 * libspi/registry.c (spi_listener_struct_new): fix sig.
568 * test/Makefile.am: add test-simple
570 * test/test-simple.c: add
574 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
576 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
577 do it straight - since otherwise we often get an activation race.
579 [ work before Bill duplicated a chunk of it ... ]
580 2001-11-30 Michael Meeks <michael@ximian.com>
582 * libspi/keystrokelistener.c
583 (spi_keystroke_listener_class_init): fixup arg
586 * libspi/eventlistener.c
587 (spi_event_listener_class_init): ditto.
589 * tests/test.sh: add.
591 * cspi/spi-listener-impl.h: update macros.
593 * cspi/spi-listener-impl.c
594 (cspi_event_listener_remove_callback): add
595 correct pre-conditions.
597 * cspi/spi_main.c (SPI_exit): guard vs. double
598 exits, exit the mainloop nicely.
599 (SPI_event_main): make more sense.
600 (SPI_init): move the atexit evilness here so we
602 (SPI_event_main): upd.
604 * test/simple-at.c: update for listener changes.
606 * registryd/registryd.c (main): prune kruft.
608 * libspi/libspi.h: upd.
610 * libspi/eventlistener.[ch]: rename broken macros.
612 * libspi/accessibleeventlistener.[ch]: remove.
614 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
616 * test/test-simple.c: Add - automated tests.
618 * cspi/spi-listener-impl.c (cspi_event),
619 (cspi_key_event): add user_data to invoke.
620 (cspi_keystroke_listener_finalize): impl.
621 (cspi_keystroke_listener_class_init): upd.
624 (createAccessibleEventListener),
625 (AccessibleEventListener_addCallback),
626 (createAccessibleKeystrokeListener),
627 (AccessibleKeystrokeListener_addCallback): upd.
629 * libspi/deviceeventcontroller.c
630 (spi_device_event_controller_check_key_event): add public proto.
633 (impl_accessibility_registry_deregister_global_event_listener):
634 always init listeners.
635 (_registry_notify_listeners): yes it is.
637 * cspi/spi-listener-impl.c (cspi_key_event):
639 (cspi_event_listener_finalize): impl.
640 (cspi_event_listener_class_init): hook up.
641 (event_handler_new, event_handler_free),
642 (event_list_remove_by_callback): impl.
643 (cspi_event_listener_remove_callback),
644 (cspi_keystroke_listener_remove_callback),
645 (cspi_keystroke_listener_add_callback),
646 (cspi_event_listener_add_callback): upd.
648 * libspi/keystrokelistener.c
649 (keystroke_listener_object_finalize): kill
650 (spi_keystroke_listener_class_init): upd.
651 (spi_keystroke_listener_add_callback),
652 (spi_keystroke_listener_remove_callback): kill,
654 (impl_key_event): prune drasticaly.
656 * libspi/eventlistener.c
657 (spi_event_listener_add_callback),
658 (spi_event_listener_remove_callback): kill, use
660 (impl_accessible_event_notify_event): upd.
661 (spi_event_listener_object_finalize): remove.
663 * libspi/Makefile.am: use eventlistener.[ch]
665 2001-12-04 Bill Haneman <bill.haneman@sun.com>
667 * libspi/registry.c (_registry_notify_listeners):
668 Changed listener loop iteration to use preferred convention.
669 Got rid of string memory leaks caused be calling g_strconcat
670 inside function calls.
672 * libspi/registry.c (parse_event_type):
673 Stopped g_strconcat memory leaks, free the g_strsplit return,
674 g_strdup the split pieces when used, etc.
676 2001-12-04 Bill Haneman <bill.haneman@sun.com>
679 Change method 'compare' to return a 'difference set' rather than
680 taking a StateSet as an out parameter (more Java-friendly).
682 * idl/Accessible.idl:
683 Added CORBA struct 'BoundingBox', to faciliate API changes below:
687 Changed methods 'getExtents' and 'getImageExtents' in these
688 interfaces to return a BoundingBox structure.
689 (getPosition and getSize are redundant and possibly should be
690 removed, rather than creating a corresponding Point struct.)
692 * cspi/spi_component.c:
693 Modify implementation of getExtents to reflect the above IDL
698 Add (missing) AccessibleImage_getExtents () API.
700 * docs/reference/cspi/at-spi-cspi-sections.txt:
701 Added AccessibleImage_getImageExtents () to docs.
703 2001-12-03 Bill Haneman <bill.haneman@sun.com>
706 Added two methods, getLayer () and getMDIZOrder (), to reflect
707 the new ATK methods atk_object_get_layer and
708 atk_object_get_mdi_z_order. (Which arguably should be part of the
709 AtkComponent API and AtkObject). Also added an enum,
710 ComponentLayer, for the first method's return value.
712 * libspi/component.c:
713 Added implementations for these methods.
715 * cspi/spi_component.c:
717 Added cspi binding methods for above,
718 AccessibleComponent_getLayer() and
719 AccessibleComponent_getMDIZOrder().
720 Added cspi enum 'AccessibleComponentLayer'.
722 * docs/reference/cspi/at-spi-cspi-sections.txt:
723 Added above methods to docs.
727 Changed typedef for 'boolean' type (and all references to it) to
728 SPIBoolean, to avoid keyword clashes with C++.
731 Changed usages of 'boolean' to SPIBoolean.
733 * test/keysynth-demo.c:
734 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
735 app), except where SPIBoolean is required by the callbacks API.
737 2001-12-02 Bill Haneman <bill.haneman@sun.com>
739 * cspi/spi_registry.c:
740 Removed obsolete X event loop for passive keygrabs (which now
743 * registryd/registryd.c:
744 Removed unnecessary call to gdk_init() [cruft]. This also allows
745 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
748 2001-11-28 Bill Haneman <bill.haneman@sun.com>
750 * docs/reference/cspi:
751 Included docs for SPI_freeString in generated documentation.
754 Renamed spi_freeString to SPI_freeString, for consistency. Added
755 documentation for this function.
758 Renamed spi_freeString to SPI_freeString, for consistency.
759 Removed obsolete method declaration string_from_corba_string.
761 * test/keysynth-demo.c:
762 Small tweak to comments.
765 Stopped leaking the strings returned from CSPI.
767 2001-11-28 Bill Haneman <bill.haneman@sun.com>
769 Merged Michael's branch (see his ChangeLog entries below).
771 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
772 bridge is alive, release on exit.
774 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
775 Fix type check macro.
778 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
781 Added is_gnome_app static, and method cspi_is_gnome_app(),
782 so we can call the appropriate shutdown routine at exit in SPI_exit.
784 * cspi/spi_main.c (cspi_object_ref):
785 Duplicate the corba object passed in, since we're keeping it around.
787 * cspi/SPI_exit.c, cspi_cleanup:
788 Moved the releasing of the live refs to its own function, so we
789 can put it in g_atexit (). Call the appropriate shutdown API
790 depending on whethe calling client is a gnome app or not
791 (bonobo_main_quit or CORBA_ORB_shutdown).
793 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
794 Unref the listener when this method is called, after
795 deregistration. Updated the API docs to note this behavior.
797 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
798 Bugfixes: Ref the bonobo object when returning a parent or child
799 reference, or an AccessibleRelation. Generally made sure
800 BonoboObject refcount is incremented whenever we return an
803 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
804 Fixed typo/bug in signal declaration.
806 * libspi/accessibleeventlistener.h:
809 * libspi/application.c (spi_application_new):
810 Fixed leak in initialization.
813 Remembered to increment bonobo-object refcount when returning
814 children (applications) from desktop object.
815 Added (empty) finalize method.
817 * libspi/deviceeventcontroller.c:
818 Hold a ref to listeners inside DEControllerKeyListeners.
819 Added dec_key_listener_free() method. Use prepend instead of
820 append in key_listener list. Fixed some refcount madness and
821 leaks in the listener registration/deregistration - deregistration
822 now calls dec_key_listener_free() on listeners, and on the
823 temporarily constructed dec_key_listener() used to perform the search/match.
825 * libspi/hypertext.c (spi_hypertest_finalize):
826 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
827 class. Also fixed spi_hypertext_interface_new() and
828 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
830 * libspi/hypertext.h:
831 Removed pointless and duplicate AtkObject pointer from
834 * libspi/keystrokelistener.c:
835 Fixed incorrect type of keystroke_listener_parent_class,
836 renamed keystroke_listener_object_finalize to
837 spi_keystroke_listener_object_finalize.
838 Fixed typo in signal declaration
839 (spi_keystroke_listener_class_init).
842 Added funcsions spi_listener_struct_new() and
843 spi_listener_struct_free() to help with memory management issues.
844 We also now use these methods instead of gnew + poking stuff into
845 the struct, and to decrement listener counts/free the listeners
846 when deregistering them.
847 Fix more refcount bugs in getDesktop() and
848 getDeviceEventController().
851 De-ref the desktop after enumerating the applications. Explicitly
852 decrement the refcounts on the created listeners on exit (using
853 _unref for keystroke listeners, and via the
854 deregisterGlobalEventListenerAll command for other event
857 2001-11-27 Michael Meeks <michael@ximian.com>
859 * cspi/spi-listener.h: fixup enum.
861 2001-11-27 Michael Meeks <michael@ximian.com>
863 * cspi/spi-listener-impl.c (cspi_event_listener_new),
864 (cspi_keystroke_listener_new): Use the cspi variants.
866 2001-11-26 Michael Meeks <michael@ximian.com>
868 * test/keysynth-demo.c: fix 2 compile warnings, missing
871 * test/simple-at.c (report_focussed_accessible),
872 (report_focus_event, report_button_press),
873 (check_property_change, is_command_key),
874 (report_ordinary_key_event, report_command_key_event): upd.
876 * util/mag_client.h: include pre-requisites.
878 * libspi/accessibleeventlistener.c
879 (spi_event_listener_object_finalize): free any lingering
882 * libspi/keystrokelistener.c
883 (keystroke_listener_object_finalize): ditto.
885 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
886 callbacks, with cspi types.
888 * cspi/spi_event.c (createAccessibleEventListener): chain to
889 (AccessibleEventListener_addCallback): here.
890 (createAccessibleKeystrokeListener): chain to
891 (AccessibleKeystrokeListener_addCallback): here.
893 * libspi/keystrokelistener.c
894 (spi_keystroke_listener_class_init): add signal.
895 (impl_key_event): emit the event.
896 (boolean_handled_accumulator): impl.
897 (marshal_BOOLEAN__POINTER): add, gack.
899 * libspi/accessibleeventlistener.c
900 (spi_event_listener_class_init): add signal.
901 (impl_accessible_event_notify_event): emit the signal &
902 make the loop efficient.
903 (spi_event_listener_add_callback): prepend the callback.
905 * libspi/accessibleeventlistener.h: add an 'event' signal,
906 decl type on callback.
908 * libspi/keystrokelistener.h: ditto.
910 * cspi/spi-listener.h: make methods typesafe and
911 make them use the new event typedefs.
913 * test/simple-at.c (report_focussed_accessible):
915 Use *(void *)text_interface not the other thing.
917 * configure.in: add gtk to registryd bits - since we use
920 * util/magnifier.c: include libbonobo.h
922 2001-11-25 Bill Haneman <bill.haneman@sun.com>
924 * test/keysynth-demo.c:
925 Turned this into a simple scanning keyboard, to demonstrate the
926 use of g_timeout_add () as a means of creating timers for
927 scanning, and the use of GtkStyle for visually indicating when
928 virtual keyboard elements are selected.
930 keysynth-demo now listens to any keyboard keys with zero-valued
931 keycodes (i.e. 'unused' keys) and interprets them as
934 Reworked the shiftlatch code so that shift-down state isn't held
935 for long periods (it's only synthesized immediately prior to
936 the keysynth event it's modifying). Note that shiftlatch in this
937 demo is a convenience, not intended to take the place of AccessX
938 which is the better choice for getting 'sticky' modifier keys.
940 * libspi/deviceeventcontroller.c:
941 * at-bridge/bridge.c:
942 * cspi/spi_registry.c:
943 Removed some debug print stuff, and put other verbosity in #ifdef
948 Implemented some more of the magnifier IDL for the simple
949 magnifier: namely, getZoomRegionParams.
950 Added mag_x and mag_y members to MagnifierData struct, aid of this
952 Added GtkWindow::realize signal handler to magnifier, to keep it
953 from receiving keyboard focus from the WM.
955 2001-11-23 Mark McLoughlin <mark@skynet.ie>
957 * cspi/spi-private.h: my guess at what michael forgot
958 before he ran off to NZ :-)
960 2001-11-23 Michael Meeks <michael@ximian.com>
962 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
963 comment out non existant method invoke so we link.
965 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
966 use bonobo_exception_get_text for more friendly warnings.
968 * cspi/spi.c (Obj_Add): move into spi_main & rename
969 spi_object_add; kill spi.c
971 * cspi/spi_registry.c
972 (deregisterGlobalEventListener),
973 (deregisterGlobalEventListenerAll),
974 (registerGlobalEventListener): fix exception leaks.
976 * cspi/spi_main.c (spi_exception): impl. helper, so we
977 don't leak exceptions.
979 * cspi/spi_selection.c
980 (AccessibleSelection_deselectSelectedChild): return the
983 * cspi/spi_main.c (spi_ev): impl; hack - gack.
984 (spi_registry): ditto.
985 (SPI_init): guard against double inits.
987 * cspi/*.c: use spi_ev (), and spi_registry () where
988 appropriate - a temporary hack until we have something
989 better. Use spi_object_add
991 2001-11-22 Michael Meeks <michael@ximian.com>
993 * cspi/Makefile.am: re organise, install the headers.
995 * cspi/*.h: add G_BEGIN/END_DECLS
997 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1000 Added non-preemptive keylistener for key events with no modifiers
1001 and shift-only modifier.
1003 * libspi/keystrokelistener.c:
1004 Removed some verbose diagnostics printout.
1006 * cspi/spi_registry.c:
1007 Fixed a bug that caused all key listeners to be registered as
1010 * libspi/deviceeventcontroller.c:
1011 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1012 for non-preemptive key masks.
1015 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1017 * docs/reference/idl/at-spi-idl-docs.sgml:
1018 * docs/reference/idl/at-spi-idl-sections.txt:
1019 * docs/reference/idl/at-spi-idl-overrides.txt:
1020 Added missing files.
1022 * docs/reference/Makefile.am:
1023 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1024 to scan the IDL files :-(
1029 Added .cvsignore files.
1031 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1033 * libspi/deviceeventcontroller.c:
1034 * libspi/keystrokelistener.c:
1036 * cspi/spi_registry.c:
1037 Added filters for KeySets, KeyEventSeq, and event types to key
1038 event dispatching, so listeners should only receive those events
1039 that they requested :-)
1041 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1046 * docs/reference:Makefile.am:
1047 * docs/reference/cspi:
1048 * docs/reference/cspi:Makefile.am:
1049 * docs/reference/cspi:tmpl:
1050 * docs/reference/cspi:tmpl:*.sgml:
1051 * docs/reference/idl:
1052 * docs/reference/idl:Makefile.am:
1053 * docs/reference/idl:at-spi-idl-sections.txt:
1054 * docs/reference/idl:at-spi-idl-docs.sgml:
1055 * docs/reference/idl:tmpl:
1056 * docs/reference/idl:tmpl:*.sgml:
1058 Restructured docs directory to allow separate 'reference' docs
1059 section, and forked idl and cspi docs. Added the sgml template
1060 files to CVS. Added the first sections/structural sgml for the
1063 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1065 * configure.in, libspi/Makefile.am: find libXtst.
1067 2001-11-21 Michael Meeks <michael@ximian.com>
1069 * test/accessx-gui.c: s/spi_value/value/ - doh.
1071 * libspi/base.[ch]: add.
1073 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1075 * idl/Accessible.idl:
1076 * idl/Application.idl:
1079 Started gtk-doc cleanup on IDL.
1081 * libspi/deviceeventcontroller.c:
1082 Added and connected non-preemptive key notification from the
1083 toolkits (in addition to the pre-emptive support from XServer
1084 which we had before, but which causes 'focus flashing'). Filters
1085 are presently limited to key modifiers and global/non-global,
1086 KeySets are presently ignored, as are KeyEvent masks.
1088 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1089 structs into the persistant structure rather than just storing
1090 pointers to things that might not persist across servant
1093 The XGrabKey call now does async keygrabs, because synchronous
1094 ones were deadlocking with GDK_event code in a very nasty way.
1096 Added boolean to internal method notify_keylisteners, to indicate
1097 whether the event came from the 'toolkit source' or the 'global
1098 (XServer) source' - this is used in the notification process to
1099 determine which listeners to send the event to.
1101 deviceeventcontroller.c is now warning-free.
1103 * libspi/registry.c:
1104 Fixed regression in application de-registration.
1105 Also fixed some really brain-dead weirdness having to do with
1106 event dispatching - event structs are now duplicated before being
1107 re-marshalled in the dispatch to listeners. This also fixes a
1108 Solaris build problem.
1111 2001-20-11 Michael Meeks <michael@ximian.com>
1114 (impl_accessibility_registry_deregister_global_event_listener):
1117 * libspi/deviceeventcontroller.c
1118 (spi_device_event_controller_check_key_event): return
1119 FALSE on no virtual method.
1121 * libspi/*..h: make includes work on a correctly pathed install.
1123 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1125 * libspi/application.h: kill unused ( and whacked out )
1126 gboolean *spi_application_set_id (AtkObject *app, long id);
1128 2001-20-11 Michael Meeks <michael@ximian.com>
1130 * libspi/*.[ch]: further convert to bonobo's type func
1131 macros, remove redundnant casts etc.
1133 * libspi/text.c s/accessibility_text/spi_text/g,
1134 re-order to de-cruft.
1136 * libspi/hypertext.c: re-order to kill a huge slew
1137 of redundant forward decls.
1139 * libspi/relation.c: ditto.
1141 * libspi/image.c: ditto.
1143 * */.cvsignore: update
1145 2001-20-11 Michael Meeks <michael@ximian.com>
1147 * libspi/deviceeventcontroller.c
1148 (_controller_register_with_devices): use g_getenv,
1149 kill stdlib.h include.
1151 * libspi/keystrokelistener.c
1152 (spi_keystroke_listener_get_type): kill
1153 (spi_keystroke_listener_class_init),
1154 (spi_keystroke_listener_init): rename to this.
1156 * libspi/text.c (impl_getAttributes): fix warning / bug.
1158 * libspi/*.[ch]: more headers, includes and over commenting.
1160 2001-20-11 Michael Meeks <michael@ximian.com>
1162 * libspi/*.[ch]: fixup headers, includes and over commenting.
1164 * libspi/image.c (impl__get_imageDescription): const
1165 correctness warning fix. remove redundant casting.
1167 * libspi/table.c (impl_getRowDescription): ditto.
1168 (impl_getColumnDescription): ditto.
1170 * libspi/libspi.h: add.
1172 2001-19-11 Michael Meeks <michael@ximian.com>
1174 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1176 * libspi/component.c (accessibility_component_get_type):
1177 rename to (spi_component_get_type): and macroify.
1178 (accessibility_component_init): rename to
1179 (spi_component_init): this
1180 (accessibility_component_class_init): rename to
1181 (spi_component_class_init): this
1183 * libspi/action.c (spi_action_get_type): kill, use the macro.
1185 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1188 * libspi/application.c (spi_application_object_event_listener),
1189 (impl_accessibility_application_register_object_event_listener):
1190 warning fixes / const understanding updates.
1192 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1195 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1197 * libspi/spi_accessible.c: Added docs and C bindings for
1198 AccessibleStateSet. (No implementations yet). Documentation
1199 coverage for C bindings now 100%. Made docs for event listeners
1204 boolean notifyListenersSync (in DeviceEventListener listener,
1205 in DeviceEvent event);
1207 oneway void notifyListenersAsync (in DeviceEventListener listener,
1208 in DeviceEvent event);
1210 Added DeviceEventListener and DeviceEvent structs (may deprecate
1211 KeyStroke and KeystrokeListener in favor of this generic
1212 event/listener framework for devices).
1214 * libspi/deviceeventcontroller.c:
1216 Changed some key listener code to take masks, etc., and paved the
1217 way for integration of toolkit/non-preemptive key events. Changed
1218 signatures of some internal methods.
1220 * at-bridge/bridge.c:
1221 Fixed regression connecting to interface signals, apparently
1222 caused by GTK+ changes.
1224 Added an internal bridge_state_listener to deal with
1225 property-change:accessible-state signals.
1227 Changed the key_listeners GList to store structs (including masks,
1228 etc.) instead of just CORBA_Objects (required for full
1229 implementation of key listener API).
1231 Connected the bridge to all currently supported Atk signals.
1232 Events now supported:
1233 object:property-change
1234 object:property-change:accessible-name
1235 object:property-change:accessible-state
1236 object:property-change:accessible-description
1237 object:property-change:accessible-parent
1238 object:property-change:accessible-value
1239 object:property-change:accessible-role
1240 object:property-change:accessible-table-caption
1241 object:property-change:accessible-table-column-description
1242 object:property-change:accessible-table-column-header
1243 object:property-change:accessible-table-row-description
1244 object:property-change:accessible-table-row-header
1245 object:property-change:accessible-table-summary
1246 object:children-changed
1247 object:visible-data-changed
1248 object:selection-changed
1249 object:text-selection-changed
1251 object:text-caret-moved
1253 object:row-reordered
1255 object:column-inserted
1256 object:column-reordered
1257 object:column-deleted
1258 object:model-changed
1260 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1262 * libspi/hyperlink.c,h:
1263 Fixed some broken stuff in hyperlink.
1265 * libspi/relation.h:
1266 * libspi/relation.c:
1267 * cspi/spi_accessible.c:
1268 Initial implementations of AccessibleRelation methods, and docs.
1270 * libspi/accessible.c:
1271 Fixed a bug that caused SEGV if an accessible
1272 object's description is NULL, and a client
1273 requests it. An empty string is now returned.
1275 * cspi/spi_editabletext.c:
1276 * cspi/spi_hypertext.c:
1278 * cspi/spi_hyperlink.c:
1282 Doc coverage now 95%.
1284 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1286 One last namespacing revision:
1287 * libspi/accessibleeventlistener.[ch]:
1288 Renamed SpiAccessibleEventListener to SpiEventListener,
1289 (no need for two namespaces ;-)
1291 And lots of documentation fixes:
1293 * docs/at-spi-docs.sgml:
1294 Fixed 'underscore vs. hyphen' bug that was preventing
1295 the gtk-doc API docs from being automatically generated.
1298 * cspi/spi-listener.h
1300 * cspi/spi_accessible.c
1302 * cspi/spi_application.c
1303 * cspi/spi_component.c
1304 * cspi/spi_editabletext.c
1306 * cspi/spi_hypertext.c
1308 * cspi/spi_registry.c
1309 * cspi/spi_selection.c
1313 * docs/at-spi-docs.sgml
1314 * docs/at-spi-sections.txt
1316 Added and fixed up gtk-doc documentation in cspi.
1318 Interfaces now (fully) documented (subject to revision and enhancement):
1320 Event Listener Support
1322 AccessibleApplication
1326 AccessibleEditableText
1333 AccessibleRelationSet
1338 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1340 * at-bridge/bridge.c:
1341 Initial work for toolkit-level key snooper connection by bridge.
1346 New typedefs and fixes to support new namespacing, and cleaner
1347 separation of cspi bindings from libspi bonobo implementation.
1348 Removed inconsistent and extraneous Spi* namespace prefix that
1349 had crept into cspi headers.
1350 Lots of comment fixes that sed had missed.
1352 * cspi/spi-roletypes.h:
1353 * cspi/spi-statetypes.h:
1354 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1355 to AccessibleRoleType.
1357 * libspi/accessibleeventlistener.h:
1358 Fixed minor namespacing weirdness.
1360 * libspi/deviceeventcontroller.c:
1361 Reordered some internal API for device listeners.
1362 Changed the key registry final boolean to 'is_system_global'
1363 rather than 'is_synchronous', which is more descriptive of its
1365 Added spi_device_event_controller_new().
1366 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1368 * libspi/keystrokelistener.[ch]:
1369 Namespaced KeystrokeListener to SpiKeystrokeListener.
1370 Changed uses of keymasks to use SPI_ prefix, and did other
1373 * libspi/keymasks.h:
1374 Namespaced keymask constants with SPI_ prefix.
1376 * libspi/registry.c:
1377 Some warning fixes, and knock-on fixes from namespace changes.
1380 Added rules for accessx-gui test program.
1382 * test/accessx-gui.c:
1383 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1384 utility. It doesn't actually use at-spi, but it's still cool and
1387 * test/keysynth-demo.c:
1391 Fixes so that these test clients work properly with the namespaced
1392 libraries. (Incompletely tested for technical reasons, fixes may follow)
1395 2001-13-11 Michael Meeks <michael@ximian.com>
1397 * libspi/application.c
1398 (impl_accessibility_application_get_version),
1399 (impl_accessibility_application_get_toolkit_name):
1401 (impl_accessibility_application_set_id),
1402 (impl_accessibility_application_get_id): remove
1403 redundant casting code.
1405 * libspi/action.c (impl_getDescription): fix warnings.
1407 * libspi/accessible.c
1408 (impl_accessibility_accessible_get_parent),
1409 (impl_accessibility_accessible_get_child_at_index),
1410 (impl_accessibility_accessible_get_state),
1411 (impl_accessibility_accessible_get_relation_set):
1412 warning fixes & include action.h
1414 2001-13-11 Michael Meeks <michael@ximian.com>
1416 * *.[ch] fix bits I screwed up:
1418 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1419 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1421 2001-13-11 Michael Meeks <michael@ximian.com>
1423 * *.[ch] Namespace libspi into spi_ and Spi.
1425 2001-13-11 Michael Meeks <michael@ximian.com>
1427 * Makefile.am: dist & install at-spi-1.0.pc
1429 * libspi/Makefile.am: install into at-spi-1.0
1431 * idl/Makefile.am (idldir): install into at-spi-1.0
1433 * at-spi-1.0.pc.in: add.
1435 * configure.in: build it.
1437 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1439 * test/keysynth-demo.c:
1440 Use a 'realize' signal-handler to set the WM properties for
1441 the virtual keyboard, rather than making it a "POPUP" type
1442 override-redirect window (thanks to anders carlsson for that
1445 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1448 * test/keysynth-demo.c:
1449 Added new test of key synthesis, which creates a simple
1450 (mouse-operated) onscreen keyboard. It inserts key events into
1451 the currently-focused window, thus it does not grab keyboard focus
1454 * cspi/spi_registry.c:
1455 Added C binding for AT-SPI generateKeyEvent.
1457 * libspi/deviceeventcontroller.c:
1458 Added call to XFilterEvent so that key listener works with XIM (we
1459 hope). Added event_synth_type to generateKeyEvent, so that we can
1460 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1461 synthesize a press/release pair for KeySyms.
1463 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1465 * libspi/Makefile.am:
1466 * registryd/Makefile.am:
1467 (temporary) hack to include libXtst in libspi and registryd.
1468 (Needed for keystroke synthesis, see below).
1471 Improved API for registerKeystrokeListener, in accordance with
1472 discussions with Gnopernicus team and X server research.
1474 * libspi/registry.c:
1475 * libspi/deviceeventcontroller.c:
1476 * libspi/accessible.c:
1477 * libspi/keystrokelistener.c:
1478 Changes and fixes to support keylisteners for potentially
1479 consumed key events (that is, 'passive grabs').
1480 Added implementation for generateKeyEvent() [untested].
1483 Changes to registerKeystrokeListener() API, as above.
1484 Added deregisterGlobalEventListenerAll(), and
1485 deregisterKeystrokeListener(), which are needed for clean exit of
1487 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1488 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1490 * cspi/spi_registry.c:
1491 Added implementations of function prototypes mentioned above.
1493 * registryd/registryd.c:
1494 Added the key listener event source as a g_timeout(), to allow
1495 receipt of key events that are not caught by GDK (since GDK
1496 doesn't support passive keygrabs, this was necessary).
1499 Changed to attach a keylistener to 'Alt' keys, and
1500 respond to the following keycommands: Alt-M (toggle magnifier);
1501 Alt-F (toggle speech); Alt-Q (quit).
1502 Added an exit routine to deregister the listeners, and a key
1503 listener that prints some key info to the console when a key
1504 matches the listener mask (and is thus received by the listener).
1506 * util/idl/Magnifier.idl:
1507 Changes to magnifier API to support multiple zoom regions,
1508 non-uniform scaling in x and y, markDirty, and a host of other
1509 features that would be useful to magnification.
1512 * util/mag_client.c:
1513 * util/mag_client.h:
1514 * util/mag_control.c:
1516 Source code changes to support the above IDL changes.
1519 As above, and also changes to use a (slower) generic conversion
1520 path for colormap conversions, since the fast RGB conversions have been
1521 reported to fail for 16-bit displays.
1523 2001-10-26 Michael Meeks <michael@ximian.com>
1525 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1527 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1529 * at-bridge/Makefile.am: fix LDFLAGS.
1531 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1533 * at-bridge/bridge.c:
1534 Re-worked listeners for toolkit events, now we have signal
1535 and property listeners. Added a private method
1536 register_atk_event_listeners(), which registers with the
1537 various atk and gtk signals we need to monitor in order to emit
1539 Added emission hook for AtkObject:property-change events, to
1540 support the 'property listeners'.
1541 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1544 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1545 which emit warnings and exit, respectively, if CORBA errors occur
1546 during remote calls, and we now use these methods to check most of
1547 our CORBA calls in the C bindings.
1549 * cspi/spi_accessible.c:
1550 Changed AccessibleSelection_refSelectedChild() to
1551 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1552 now increment refcounts.
1554 * cspi/spi_component.c:
1555 Fixed some long pointer casts (dangerous!) to pass pointers to
1556 CORBA_longs of the proper type to the CORBA stubs, and copy the
1557 data into the longs that were passed into the C bindings code.
1559 * at-bridge/bridge.c:
1561 * libspi/accessible.c:
1562 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1563 hyperlinks, AtkHyperlink is an object type.
1565 * libspi/application.c:
1566 Added various conversions to and from "generic" event types and
1567 atk-specific types; this is really part of the 'bridge'
1568 implementation but is valid for all AtkObject-based accessibility
1571 * libspi/editabletext.c:
1572 Fixed nasty bug wherein editable text's finalize method was
1573 unref'ing tha AtkObject reference that the text parent class was
1574 about to unref _again_. There was also a nasty inheritance bug
1575 that meant that the AccessibleEditableText class was corrupt.
1577 * libspi/selection.c:
1578 Provided implementations for some selection API that was broken.
1580 * idl/Application.idl:
1581 Added registerObjectEventListener () method.
1584 Fixed a number of return values that were Bonobo_Unknowns from
1585 bonobo_object_corba_objref(), which I
1586 forgot to dup before returning. Changed instances of
1587 bonobo_object_corba_objref (bonobo_object(o)) to
1588 BONOBO_OBJREF(o), for concision and clarity.
1590 <2001-10-13 Louise Miller <louise.miller@sun.com>
1592 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1593 idl/Event.idl, idl/Registry.idl
1594 Changed these files to include Bonobo_Unknown.idl instead
1597 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1599 * libspi/component.c libspi/component.h:
1600 Fixed typo. Added assertions for object checks in
1601 AccessibleComponent code.
1603 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1605 * idl/Accessible.idl:
1606 Added 'isEqual (Accessible *object)'
1607 method for Accessible. (Not Yet Implemented).
1610 Changed signature of registerKeystrokeListener() to
1611 take a KeySet and KeyEventSeq so that specific keys and event
1612 types could be requested for monitoring, and added a flag
1613 is_synchronous so that either synchronous or asynchronous
1614 notification could be requested. (However this is not all
1615 implemented yet). This also meant adding two new typedefs,
1616 KeyEventSeq and KeySet.
1619 Added two new relations, RELATION_TOOLTIP_FOR and
1620 RELATION_LEAFNODE_OF.
1623 Added new state, STATE_HAS_TOOLTIP.
1625 * libspi/text.c, editabletext.c:
1626 Added new assertions to all casts of bonobo-objects from
1627 CORBA servants, to prevent Text API calls on non-text objects.
1628 Changed suspect casts of int-pointer types, so that we
1629 always send a valid CORBA_long pointer to the CORBA APIs that use
1630 in/out long parameters. We then have to copy from the CORBA_long
1631 into the regular long or int for return to the C bindings, or
1632 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1635 * libspi/deviceeventcontroller.c:
1636 Cleaned these sources up.
1638 Changed return type for getCharacterAtOffset to
1639 CORBA_unsigned_long, to allow for 32-bit characters.
1642 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1646 Fixed 'make dist' so that distro compiles...
1647 * libspi/keymasks.h:
1649 * cspi/spi-listener.c:
1650 KeystrokeListenerCB now returns a boolean.
1652 Added KeyEventType struct, and KeyStroke.
1653 Also added createKeystrokeListener(),
1654 KeystrokeListener_addCallback(),
1655 KeystrokeListener_removeCallback(), and added a keymask to
1656 registerKeystrokeListener().
1657 * cspi/spi_accessible.c:
1658 Changed numerous return types for interfaces from
1659 AccessibleComponent to Accessible<InterfaceName>; this was
1660 probably a cut-and-paste error.
1662 Implementations of new KeystrokeListener api (from spi.h,
1665 Changes to key modifier mapping.
1666 Created ControllerEventMask struct.
1667 Made DeviceEventController derive from Bonobo::Unknown.
1669 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1670 * libspi/deviceeventcontroller.c:
1671 Added a number of new internal (private) methods.
1672 * libspi/editabletext.c:
1673 * libspi/editabletext.h:
1674 Fixed a number of bugs related to the fact that
1675 editabletext inherits from text. Fixed the EditableText struct,
1676 the init() call, and use correct casts when calling Text methods
1677 from an EditableText object. Removed (duplicate) atko from the
1678 EditableText structure, we use the one in the parent Text
1679 structure via the casts mentioned above.
1680 * libspi/keystrokelistener.[ch]:
1681 * libspi/registry.c:
1682 Changes in support of keyboard handling (above).
1684 Keyboard handling, though partly functional, is still not
1685 recommended for at-spi client use as there is considerable
1686 work yet to be done.
1689 Changed some places where pointers to various int types
1690 are cast to be pointers to CORBA_long types and vice-versa:
1691 pointer casting is not safe so we pass pointers of the correct
1692 types and then cast the result before putting it into the target
1695 * libspi/text.h: minor typos corrected.
1697 We now speak not only the name of a Text element, but the
1698 first sentence of its content, when it receives focus.
1699 I also changed the text compression to 75% from 50%.
1700 * util/Accessibility_Util.server.in:
1701 Changed the default magnifier type to be a 3x vertical
1702 splitscreen magnifier (was previously a 2x horizontal one).
1704 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1706 * libspi/keystrokelistener.h:
1707 * libspi/keystrokelistener.c:
1708 Initial functional implementations of KeystrokeListener.
1711 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1713 Fixed string handling for NULL strings in libspi.
1714 Added spi_freeString to free strings returned by C bindings.
1716 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1718 * libspi/keystrokelistener.h:
1719 * libspi/keystrokelistener.c:
1720 Began (no-op) implementations of KeystrokeListener
1722 * libspi/deviceeventcontroller.c:
1723 * libspi/deviceeventcontroller.h:
1724 Began creating implementations of DeviceEventController,
1725 to handle keystroke and mouse event listening and
1727 * libspi/accessible.c:
1728 Stubbed-in the implementations for
1729 Accessibility_Accessible_getState and
1730 Accessibility_Accessible_getRelationSet.
1731 * libspi/registry.c:
1732 Improved de-registration process and fixed some bugs,
1733 deregistration now works correctly.
1735 Added initialization of applications list (to NULL).
1737 Reduced speech compression from 0.5 to 0.7, for demo.
1738 Changed call to gdk_window_set_decorations()
1739 to gtk_window_set_decorated().
1740 * at-bridge/bridge.c:
1741 Bridge now deregisters when app exits, via
1742 registration of a cleanup function
1743 with the g_atexit() call.
1744 Required making 'app' static, renamed 'this_app'.
1745 Fixed broken use of bonobo_init, passing argv wrongly.
1747 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1751 Created a new directory for
1752 accessibility-related utilities, primarily for
1753 testing and demo purposes, but with possible
1760 Onscreen magnifier utility that
1761 is implemented as a bonobo service.
1763 * util/mag_client.c:
1764 * util/mag_client.h:
1765 Client-side support (simple C bindings)
1766 for Magnification service
1768 * util/mag_control.c:
1769 Client program example for
1770 Magnification service
1772 * util/Accessibility_Magnifier.server.in:
1773 Bonobo-activation file for the
1774 Magnification service.
1777 * util/idl/Magnifier.idl:
1778 IDL defining the bonobo Magnification
1782 Modifications to use the bonobo-activated magnifier
1783 above, in place of trying to connect to an existing
1784 magnifier that uses socket-listening IPC.
1786 If env variable MAGNIFIER is set, a magnifier service
1787 will be started if one does not exist.
1789 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1790 * at-bridge/bridge.c:
1791 applied patch from Marc to build and run
1792 against new glib and gtk+ (seemed like a change
1793 to bonobo_init signature was made ?)
1795 made festival-server support turned off by default.
1796 Added support for a simple magnifier (off by default)
1797 which will be added to a 'util' directory later.
1798 * at-bridge/Makefile.am:
1799 Changed "application.h" header from a 'source'
1800 to a 'dependency' of libat-bridge.
1802 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1810 Added interface implementation c files to list of
1811 includes so they are included in libcspi.
1814 Changed prototype of AccessibleAction_doAction to return a
1816 Changed prototype of AccessibleTable_getCaption to
1817 return an Accessible.
1818 Changed prototype of AccessibleTable_getSelectedRows
1819 and AccessibleTable_getSelectedColumns to
1820 return a long (returns the number of selected rows
1821 or columns respectively).
1822 Changed name of AccessibleText_refRunAttributes to
1823 AccessibleText_getAttributes.
1824 Changed prototype of AccessibleText_getCharacterExtents to
1825 return a void rather than a boolean.
1826 Added support for a AccessibleCoordType parameter
1827 specifying what type of coordinates are desired.
1828 Added an AccessibleCordType parameter to
1829 AccessibleText_getPointAtOffset.
1831 * cspi/spi_accessible.c:
1832 Added code to return the outstanding interfaces from
1833 Accessible_queryInterface.
1835 * cspi/spi_action.c:
1837 Corrected call to getNActions to call the c binding
1840 * cspi/spi_editabletext.c:
1842 Changed name from setRunAttributes to setAttributes.
1844 * cspi/spi_hyperlink.c:
1846 Changed call to getNAnchors to correctly call the c
1847 binding for an attribute.
1849 * cspi/spi_hypertext.c:
1851 Changed getImageDescription to correctly call the
1852 binding for an attribute.
1854 * cspi/spi_selection.c:
1855 Changed getNSelectedChildren to correctly call the c
1856 binding for the attribute.
1857 Changed refSelectedChild to getSelectedChild.
1861 Changed getCaption to return an Accessible.
1862 Fixed calls which retrieve attributes.
1863 Changed refAt to getAccessibleAt.
1864 Changed getNSelectedRows and getNSelectedColumns to
1868 Changed getCharacterExtents and getPointAtOffset to accept an
1869 AccessibleCoordType.
1871 Changed calls which retrieve attributes.
1872 Changed refRunAttributes to getAttributes.
1877 * idl/Hyperlink.idl:
1878 Changed n_anchors attribute to nAnchors to keep naming
1879 convention consistent.
1882 Made Table inherit from Bonobo::Unknown.
1883 Added nSelectedColumns and nSelectedRows attributes.
1886 Made Value inherit from Bonobo::Unknown.
1888 * libspi/hyperlink.c:
1889 Change for nAnchors attributte name change.
1891 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1899 Added interface implementation c files to list of
1900 includes so they are included in libcspi.
1903 Changed prototype of AccessibleAction_doAction to return a
1905 Changed prototype of AccessibleTable_getCaption to
1906 return an Accessible.
1907 Changed prototype of AccessibleTable_getSelectedRows
1908 and AccessibleTable_getSelectedColumns to
1909 return a long (returns the number of selected rows
1910 or columns respectively).
1911 Changed name of AccessibleText_refRunAttributes to
1912 AccessibleText_getAttributes.
1913 Changed prototype of AccessibleText_getCharacterExtents to
1914 return a void rather than a boolean.
1915 Added support for a AccessibleCoordType parameter
1916 specifying what type of coordinates are desired.
1917 Added an AccessibleCordType parameter to
1918 AccessibleText_getPointAtOffset.
1920 * cspi/spi_accessible.c:
1921 Added code to return the outstanding interfaces from
1922 Accessible_queryInterface.
1924 * cspi/spi_action.c:
1926 Corrected call to getNActions to call the c binding
1929 * cspi/spi_editabletext.c:
1931 Changed name from setRunAttributes to setAttributes.
1933 * cspi/spi_hyperlink.c:
1935 Changed call to getNAnchors to correctly call the c
1936 binding for an attribute.
1938 * cspi/spi_hypertext.c:
1940 Changed getImageDescription to correctly call the
1941 binding for an attribute.
1943 * cspi/spi_selection.c:
1944 Changed getNSelectedChildren to correctly call the c
1945 binding for the attribute.
1946 Changed refSelectedChild to getSelectedChild.
1950 Changed getCaption to return an Accessible.
1951 Fixed calls which retrieve attributes.
1952 Changed refAt to getAccessibleAt.
1953 Changed getNSelectedRows and getNSelectedColumns to
1957 Changed getCharacterExtents and getPointAtOffset to accept an
1958 AccessibleCoordType.
1960 Changed calls which retrieve attributes.
1961 Changed refRunAttributes to getAttributes.
1966 * idl/Hyperlink.idl:
1967 Changed n_anchors attribute to nAnchors to keep naming
1968 convention consistent.
1971 Made Table inherit from Bonobo::Unknown.
1972 Added nSelectedColumns and nSelectedRows attributes.
1975 Made Value inherit from Bonobo::Unknown.
1977 * libspi/hyperlink.c:
1978 Change for nAnchors attributte name change.
1981 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
1983 implementations-- made server implementations own AtkObject pointers
1984 rather than their respective AtkInterrface pointers to fix
1985 refcounting. AtkHyperlink is still broken.
1987 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
1988 * cspi/spi_accessible.c:
1989 Added method Accessible_Role_getName(),
1990 and requisite string array (role_names).
1991 Added conversion string_from_corba_strin() call
1992 to Accessible_getName and _getDescription.
1993 * libspi/accessible.c:
1994 Added implementation for Accessible_getRole()
1996 Added festival support, used if environment variable
1999 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2001 * at-bridge/bridge.c:
2002 Now allocate Accessibility_Event using
2003 Accessibility_Event__alloc() instead of g_new0().
2004 * libspi/accessibleeventlistener.c:
2005 Initialize AccessibleEventListener->callbacks to NULL.
2006 Fixed accessible__event_listener_init() param, changed to
2007 "AccessibleEventListener *" type.
2008 Changed a bonobo_object_release_unref() call to
2009 Accessibility_Accessible_unref().
2010 * libspi/listener.c:
2011 Changed Bonobo_Unknown_unref to (equivalent)
2012 Accessibility_Accessible_unref.
2013 * libspi/registry.c:
2014 Changed bonobo_object_release_unref to
2015 Accessibility_Accessible_unref.
2017 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2020 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2021 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2022 spi-util.c spi-util.h
2023 Implementations for C bindings to remaining accessibility
2026 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2029 changed return value of Action from void to boolean to
2030 bring in line with ATK.
2033 Changed getText funcions to return "out" start and end offsets.
2034 Changed getAttributes to take and offset and return the start
2035 and end offset of the attribute run.
2036 Changed getOffsetAtPoint and getCharacterExtents to take an
2037 enum describing whether coordinates are window or screen.
2040 libspi/action.c libspi/action.h libspi/editabletext.c
2041 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2042 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2043 libspi/image.h libspi/selection.c libspi/selection.h
2044 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2045 libspi/value.c libspi/value.h
2046 Added server implementations for outstanding ATK interfaces
2047 not yet implemented.
2049 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2052 Added (missing) getName() method.
2053 Made nActions an attribute.
2054 * idl/EditableText.idl:
2055 Changed order of params in setAttributes.
2056 * idl/Hyperlink.idl:
2057 Removed getAnchor, added getURI.
2059 Changed attributes to methods, for efficiency
2060 (so that getting extents can be done in one call)
2061 * idl/Selection.idl:
2062 Changed nSelectedChildren to attribute, and re-indented.
2063 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2065 * idl/Text.idl: reformatted to match our coding style.
2066 (temporarily?) removed getRowColumnAtOffset().
2067 Changed text selection API to support multi-select and
2068 non-contiguous selections, as in ATK.
2069 * idl/Value.idl: changed some methods to attributes.
2071 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2073 * libspi/listener.c(impl_notify_event):
2074 BonoboUnkown_unref the source instead
2075 of bonobo_object_release_unref - the ORB
2076 handles the releasing.
2078 * configure.in: require ORBit-2.3.94 for
2081 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2083 Tagged CVS repository 'EA_1_0'.
2084 * README.EARLY_ACCESS:
2085 Alphabetized acknowledgements list, and
2087 Listed some known dependencies of at-spi.
2089 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2091 * docs/at-spi-docs.sgml:
2092 * docs/at-spi-sections.txt:
2093 * docs/at-spi-overrides.txt: (Added zero-length file)
2094 Documentation improvements - gtk-doc should build
2095 docs for all implemented C bindings now.
2098 * cspi/spi.c: (New file)
2099 * cspi/spi_event.c: (New file)
2100 * cspi/spi_registry.c: (New file)
2101 * cspi/spi_accessible.c: (New file)
2102 * cspi/spi_application.c: (New file)
2103 * cspi/spi_component.c: (New file)
2104 Split spi_main.c into six parts, and included them from
2105 "spi.c". This is a bit of a hack, probably temporary,
2106 but required by gtk-doc, apparently.
2108 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2111 * docs/at-spi-docs.sgml:
2112 * docs/at-spi-sections.txt:
2114 Initial checkins/modifications for gtk-doc generation.
2117 Added (missing) interface query methods to Accessible's C binding.
2119 Added GenericInterface type definition.
2121 Added query for AccessibleComponent interface to focus event handler.
2122 Added printout of bounding box for focussed component.
2123 * libspi/component.c:
2124 Added partial implementation for AccessibleComponent to C binding.
2125 * idl/Application.idl:
2126 * libspi/registry.c:
2127 * libspi/listener.c:
2128 * libspi/application.c:
2129 * libspi/application.h:
2130 Changed "ID" attribute type from string to long.
2132 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2136 Made method naming consistent: methods taking object args
2137 start with uppercase, other methods (except those using
2138 acronyms) start with lowercase. Underscores delimit between
2139 object names and method names:
2140 SPI_init() - uppercase since it starts with an acronym.
2141 getDesktopCount () - lowercase start since no object param0.
2142 Accessible_getName() - uppercase object type name, studlyCaps method
2146 Added gtk-doc documentation for all currently implemented
2147 methods in the C bindings API.
2149 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2151 * Makefile.am : changed build order to build test last.
2154 Changed "createEventListener" to "CreateEventListener".
2155 * libspi/accessibleeventlistener.c :
2156 Bugfix for addition of callbacks.
2157 * test/Makefile.am :
2158 * test/simple-at.c :
2159 Added new test that uses the C bindings API.
2161 * libspi/listener.c :
2162 * libspi/registry.c :
2163 * libspi/accessibleeventlistener.c :
2164 * at-bridge/bridge.c :
2165 Renamed member "target" of Accessibility_Event to "source",
2166 which is more descriptive.
2169 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2173 * cspi/Makefile.am :
2174 Added makefile support for at-spi/cspi directory.
2177 * cspi/spi-listener.h : (NEW FILE)
2178 Added support for/use of spi-listener.h.
2180 C bindings now build successfully, with no warnings.
2181 * libspi/accessibleeventlistener.h : (NEW FILE)
2182 * libspi/accessibleeventlistener.c : (NEW FILE)
2183 * libspi/Makefile.am :
2184 Added new object type "AccessibleEventListener"
2185 which inherits from Listener, and allows attachment
2186 of in-process callbacks (so that a client with a listening
2187 object instance can add functionality to the local
2188 implementation, dynamically).
2190 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2192 * libspi/accessible.c:
2193 Add implementation for get_index_in_parent().
2195 Added #include of "spi-roletypes.h", and
2196 added enumerated type AccessibleCoordType.
2197 Added definition for KeystrokeListener (function type).
2200 * cspi/spi-statetypes.h :
2201 * cspi/spi-roletypes.h :
2203 Added these headers, used by spi.h.
2205 Added code (NOTE: not yet built by make).
2207 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2209 * libspi/Makefile.am: generate imodule
2210 at the same time as other idl compiler
2213 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2214 * libspi/registry.c :
2215 * libspi/application.c :
2216 * idl/Application.idl :
2217 Made registration with toolkit an application method,
2218 which is required since each app has its own toolkit static
2219 environment. Thus the bridge must register for
2220 notification of toolkit events from each application in turn.
2221 Toolkit notifications are now successfully registered for, and
2222 sent to the listening at client.
2224 Changed toolkit event string to use hyphens rather than underscores.
2225 * libspi/listener.c :
2226 listner now gives more info in debug mode - it reports the
2227 name of the event received, as well as the name of the source.
2230 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2232 * libspi/registry.c :
2233 added more implementation for toolkit events.
2234 Fixed bug such that toolkit event registrations
2235 (via atk) use the whole event name string, not
2237 Removed a useless call to an ORBit_ method.
2238 * at-bridge/bridge.c :
2239 Removed unused local sbuf[] variable.
2241 We now register for Gtk:GtkWidget:button_press_event
2242 events as well as "focus:" events.
2244 Add some more API from Registry.idl that was missing,
2245 for keystroke listening, keystroke and mouse event
2246 synthesis, and enumeration of accessible desktops.
2248 2001-08-16 Michael Meeks <michael@ximian.com>
2250 * configure.in: use AM_GLIB_GNU_GETTEXT.
2252 * Makefile.am (SUBDIRS): kill intl.
2254 2001-08-15 Michael Meeks <michael@ximian.com>
2256 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2258 * configure.in: upd.
2260 * configure.in: depend on a recent bonobo-activation that
2261 will find our server files ...
2263 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2265 * libspi/accessible.c : accessible_new() :
2266 Now we add the Component interface via bonobo_object_add_interface,
2267 if the contained AtkObject implements AtkComponent.
2268 * libspi/accessible.h : now include "component.h"
2269 * libspi/component.h :
2270 * libspi/component.c : added files - implementation of
2271 bonobo wrapper object for Accessibility/Component
2272 * libspi/listener.c :
2273 Added test code to check for Accessibility/Component:1.0
2274 interface and report whether it is implemented by the
2276 * libspi/registry.c :
2277 Now we check for not only the hash of the whole event
2278 string before relaying the event, we also check the
2279 "minor" event string (without the detail string).
2280 This allows event listeners to be registered against
2281 all events of a certain major+minor type, or just
2282 against a specific major+minor+detail type.
2283 * libspi/accessible.c :
2284 Added implementations for Accessible:get_parent(),
2285 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2286 * libspi/registry.c :
2287 * libspi/listener.c :
2288 Replaced calls to Accessibility_Accessible_ref() and
2289 Accessibility_Accessible_unref() with
2290 calls to bonobo_object_dup_ref() and
2291 bonobo_object_release_unref(), so that the CORBA object
2292 is dup-ed and released when relayed, as well as the bonobo object.
2294 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2296 * libspi/Makefile.am,
2297 registryd/Makefile.am,
2298 at-bridge/Makefile.am.
2299 test/Makefile.am, configure.in:
2300 reverse previous changes.
2302 * /idl/Image.idl: fix typo.
2304 * test/Makefile.am: put DEBUG_FLAGS
2307 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2309 * test/app.c: use argv[0] instead of
2312 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2314 * libspi/Makefile.am,
2315 registryd/Makefile.am,
2316 at-bridge/Makefile.am.
2317 test/Makefile.am, configure.in:
2318 cleanup, replace individual LIBS/CFLAGS with
2319 AT_COMMON_{LIBS|CFLAGS}.
2323 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2325 * configure.in, libspi/Makefile.am:
2326 Change IDL path checking for bonobo-activation
2329 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2331 * registryd/registry.c : separated event listeners to use
2332 3 separate lists (focus, window, toolkit). Began testing
2333 event names against hashes before relaying events.
2334 * test/at.c : now register for events of type "focus:"
2335 * test/app.c : now generate events of type "focus:"
2336 * at-bridge/bridge.c : register with ATK for focus events,
2337 and we now relay those focus events to any "focus:" listeners.
2338 This now works with the bridge as a GTK_MODULE when running test/at.
2339 * libspi/registry.c :
2340 * libspi/listener.c :
2341 now we ref event sources before propagating, and unref on receipt.
2342 * libspi/registry.c :
2343 some changes to internal structs, to support event typestring hashes.
2344 * text/app.c : changed the way the appname is generated.
2345 * cspi : added directory that will hold the C bindings library for
2346 non-CORBA/bonobo-savvy clients.
2347 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2348 * idl/Component.idl : added in parameter to indicate coord system for
2349 geometry-related calls.
2350 * idl/Hyperlink.idl : added readonly n_links attribute
2351 * idl/Image.idl : changed methods to attributes.
2353 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2355 * at-bridge/Makefile.am: link against
2356 ../libspi/libspi.la instead of -lspi.
2358 * at-spi/test/app.c: include
2359 bonobo-activation.h. Use a default appname
2360 if one is not provided.
2362 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2364 * idl/Registry.idl : temporarily changed register_Application
2365 to oneway, to work around issue with initial registration
2367 * idl/Application.idl : changed attribute "id" from readonly
2368 to read-write, since it needs to be assigned by Registry.
2369 * registryd/registryd.c : added call to set application id
2371 * registryd/registry.c : changed de-registration procedure to
2372 use CORBA_Object_hash() to find matching object ref in application
2373 lists and listener lists.
2374 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2375 began distinguishing between event types (work in progress).
2377 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2380 * libspi/application.c:
2381 Added implementations for get/set id, get_toolkitName,
2383 * registryd/registryd.c :
2387 Converted from use of OAF to bonobo-activation.
2388 * libspi/desktop.h :
2389 * libspi/desktop.c :
2391 Removed references to atksimpleobject, since base atkobject
2392 implementation now provides functionality we need.
2393 * libspi/atksimpleobject.c :
2394 * libspi/atksimpleobject.h :
2399 * at-bridge/Makefile.am
2400 * at-bridge/bridge.c
2403 Added directory "bridge" and contents, and added dependencies
2404 in Makefile.am/configure.in.
2405 Initial checkin of "at-bridge".
2406 This code is a GTK_MODULE which automatically registers
2407 GTK+ apps with the accessibility registry, using an object
2408 reference to the root ATK object.
2410 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2412 * po/Makefile.in.in: Remove. Again. If this
2413 doesn't get autogenerated - you need to update
2416 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2418 * po/Makefile.in.in: Add. Again.
2420 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2422 * libspi/accessible.c : added support for 'description' property.
2423 * libspi/accessible.c
2425 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2426 (since the two are now equivalent in libbonobo)
2434 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2435 Bonobo::Unknown as does Accessibility::Accessible.
2436 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2437 interface with Bonobo::Stream, since it was redundant with it.
2438 (The Stream returned by a StreamableContext object is expected to
2439 implement only a subset of Bonobo::Stream)
2441 2001-07-28 Anders Carlsson <andersca@gnome.org>
2443 * libspi/accessible.c (accessible_object_finalize): Change
2444 g_free to g_object_unref since the AtkObject is a GObject.
2446 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2448 * idl/Accessibility.idl: add new IDL files
2451 * idl/Action.idl: Definitions of actionable UI object
2452 * idl/Component.idl: Definitions of UI component geometry, etc.
2453 * idl/Hyperlink.idl: Defs of hyperlink behavior
2454 * idl/Image.idl: Def of accessible image
2455 * idl/Selection.idl: Definition of UI object with selectable children
2456 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2457 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2458 * idl/Text.idl: Interface defs for UI elements with complex textual content
2459 * idl/Value.idl: Definition of UI element that is a value controller or display
2461 2001-07-27 Michael Meeks <michael@ximian.com>
2463 * po/Makefile.in.in: remove autogenerated file from CVS.
2465 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2468 * idl/Registry.idl: include guard.
2470 * idl/Accessibility.idl: Add, and include all the other IDL
2473 * idl/*.idl: remove mass of pragmas etc.
2475 2001-07-26 Michael Meeks <michael@ximian.com>
2477 * registryd/Makefile.am (registryd_SOURCES): remove
2480 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2482 * libspi/.cvsignore, registryd/.cvsignore,
2483 test/.cvsignore: updated.
2485 * po/Makefile.in.in: gettext update.
2487 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2489 * initial CVS checkin
2491 2001-06-29 Michael Meeks <michael@ximian.com>
2493 * configure.in: add AM_CONFIG_HEADER to gen config.h