1 2001-12-07 Michael Meeks <michael@ximian.com>
4 (impl_accessibility_component_get_extents): make it match
7 * libspi/registry.c (_registry_notify_listeners):
8 re-remove X headers & reconcile conflicts.
9 (spi_listener_struct_free): bad conflict resolve.
10 (impl_accessibility_registry_register_application):
11 more bad merging fixed.
12 (impl_accessibility_registry_deregister_application): ditto.
13 (spi_registry_new): ditto.
14 (spi_registry_init): don't have an applications field.
16 [ merge fixups2 branch to here ]
17 2001-12-07 Michael Meeks <michael@ximian.com>
19 * test/simple-at.c (report_focus_event),
20 (report_focussed_accessible): remove g_warning debug.
22 2001-12-07 Michael Meeks <michael@ximian.com>
24 * test/test-simple.c (validate_tree): comment out some checks.
25 (test_desktop): app now not registered idly - horay.
27 2001-12-07 Michael Meeks <michael@ximian.com>
30 (registerAccessibleKeystrokeListener): clean, stop it leaking
31 great swathes of memory, and device event controller references.
32 ensure we always pass valid sequences.
33 (deregisterAccessibleKeystrokeListener): ditto.
34 (generateKeyEvent): upd.
36 * at-bridge/bridge.c (bridge_key_listener): handle
37 registry dead exception gracefully.
38 (bridge_focus_tracker, emit_eventv): free ev.
40 * test/simple-at.c (report_focus_event): fix polarity.
42 * libspi/application.c (notify_listeners): kill the ev
43 argument, and make sure we init the ev we use.
44 (spi_application_object_event_listener): split out a chunk
45 (get_atk_object_ref): here & fixup.
46 (reverse_lookup_name_for_toolkit_event): make const.
47 (spi_application_toolkit_event_listener): fixup, kill leaks
50 * at-bridge/bridge.c (register_atk_event_listeners):
51 don't unref the noop object - causes grief.
53 * libspi/registry.c: remove the X headers.
54 turn off the debug churn.
56 * libspi/accessible.c (spi_accessible_new_return): only
57 release the ref if we are supposed to [doh]
59 * test/simple-at.c (report_button_press, report_focus_event):
60 guard vs. unexpected exit.
62 * at-bridge/bridge.c (gtk_module_init): prune printf.
63 (bridge_exit_func): fix app unref.
65 * libspi/Makefile.am: don't install registry or desktop.h
67 * libspi/*.h: update includes.
69 * libspi/application.h: don't include ourself, or
70 other redundant headers.
72 2001-12-06 Michael Meeks <michael@ximian.com>
75 (get_accessible_from_servant): impl.
76 Upd. all CORBA impl.s to use it killing cut and paste.
78 * cspi/spi_main.c (cspi_cleanup): guard vs. double
80 (SPI_init): register atexit cleanup handler here.
82 2001-12-06 Michael Meeks <michael@ximian.com>
84 * at-bridge/bridge.c (gtk_module_init): g_error on
87 2001-12-06 Michael Meeks <michael@ximian.com>
89 * at-bridge/bridge.c (gtk_module_init): some sort of
90 confusing merge clash - reverted.
91 (bridge_idle_init): ditto.
93 * test/test-simple.c (main, utterable_normal_derefs):
94 merge from Bill - somehow not committed.
96 2001-12-06 Michael Meeks <michael@ximian.com>
98 * libspi/value.c (spi_value_class_init): upd.
99 (spi_value_finalize): kill.
101 * libspi/table.c (spi_table_finalize): kill.
102 (spi_table_interface_new): upd.
103 (spi_table_class_init): upd.
104 (get_table_from_servant): impl.
105 Upd. all CORBA impl.s to use it killing yet more cut and paste.
107 * libspi/selection.c (spi_selection_finalize): kill.
108 (spi_selection_interface_new): upd.
109 (spi_selection_class_init): upd.
110 (get_selection_from_servant): impl.
111 Upd. all CORBA impl.s to use it killing yet more cut and paste.
113 * libspi/relation.c (spi_relation_finalize): kill.
114 (spi_relation_class_init, spi_relation_new): upd
116 * libspi/image.c (spi_image_finalize): kill.
117 (spi_image_class_init): upd.
118 (spi_image_interface_new): upd.
119 (get_image_from_servant): impl.
120 Upd. all CORBA impl.s to use it killing yet more cut and paste.
122 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
123 (spi_hyperlink_finalize): kill.
124 (spi_hyperlink_new): upd.
125 (get_hyperlink_from_servant): impl.
126 Upd. all CORBA impl.s to use it killing yet more cut and paste.
128 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
129 (spi_hypertext_finalize): kill.
130 (spi_hypertext_class_init): upd.
131 (get_hypertext_from_servant): impl.
132 Upd. all CORBA impl.s to use it killing yet more cut and paste.
134 * libspi/editabletext.c (spi_editable_text_finalize): kill.
135 (spi_editable_text_interface_new): upd.
136 (get_editable_text_from_servant): impl.
137 Upd. all CORBA impl.s to use it killing yet more cut and paste.
139 * libspi/text.c (get_text_from_servant): impl.
140 All impls - update to use it killing more cut and paste,
141 also fix bad string returns on duff args ( a somewhat
142 impossible case to handle - but hey ).
143 (spi_text_construct): impl.
144 (spi_text_interface_new): upd.
145 (spi_text_object_finalize): kill.
148 (accessibility_component_object_finalize): kill.
149 (spi_component_class_init): upd.
150 (get_component_from_servant): impl. helper to kill cut & paste.
151 (impl_accessibility_component_contains):
152 (impl_accessibility_component_get_accessible_at_point):
153 (impl_accessibility_component_get_position):
154 (impl_accessibility_component_get_extents):
155 (impl_accessibility_component_get_mdi_z_order):
156 (impl_accessibility_component_get_layer):
157 (spi_component_interface_new): upd.
159 * libspi/action.c (spi_action_finalize): kill.
160 (spi_action_class_init): upd. inherit from SpiObject.
161 (spi_action_interface_new): upd.
162 (get_action_from_servant): impl. helper to reduce cut & paste.
163 (impl_getKeyBinding, impl_getName, impl_doAction),
164 (impl_getDescription): Use it everywhere.
166 * cspi/spi_main.c (get_live_refs): a pointer hash.
167 (spi_object_hash, spi_object_equal): comment out.
168 There are issues with CORBA object hashing that need
171 * libspi/application.c (spi_application_init),
172 (spi_application_new): upd.
174 * libspi/accessible.c (spi_accessible_object_finalize): kill.
175 (spi_accessible_class_init): upd.
176 s/accessible/object/ in epv methods.
178 2001-12-05 Bill Haneman <bill.haneman@sun.com>
180 * at-bridge/bridge.c:
181 Reorder the bridge initialization into the bridge gtk_module_init,
182 an immediate call to bridge_register_app, and an idle_add for
183 register_atk_event_listeners (the only code that *must* wait until
184 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
185 the activation, creates the application's Accessible object, and
186 queues the bridge_idle_init function. Restored call to
187 Accessibility_Registry_deregisterApplication().
188 Prior to making this call we obtain a new reference to the
189 registry, which is a temporary hack that helps us handle apps that
190 shut down the bonobo mainloop before we get there.
193 Fix string leakage in debug block, and don't segv if a an app
194 dies before its event notifications have been propagated.
197 Modify cspi_check_ev() to call g_warning() rather than g_error(),
198 as stopgap measure until we get proper exception handling when
199 objects die during or before interrogation.
203 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
204 Also changed default value of is_gnome_app to TRUE.
207 * test/keysynth-demo.c:
208 Changed use of SPI_init and SPI_event_main to reflect API change above.
211 Made report_focus_event check the warning value from getName
212 before reporting on focussed accessible; simplifies handling of
213 notifications from dead objects.
215 * test/test-simple.c: (Changes not in this patch since source is
218 2001-12-05 Michael Meeks <michael@ximian.com>
220 * registryd/registryd.c (main): protect against
221 bonobo-activation startup race condition.
223 * cspi/spi_main.c (cspi_object_add_check): cope
224 with the exception elegantly.
226 * idl/Accessible.idl: decl. ChildGone
228 * libspi/desktop.c (spi_desktop_dispose): impl.
229 (spi_desktop_class_init): upd.
230 (spi_desktop_add_application),
231 (spi_desktop_remove_application),
232 (abnormal_application_termination): impl.
233 (impl_desktop_get_child_at_index): re-impl.
236 (impl_accessibility_registry_deregister_application),
237 (impl_accessibility_registry_register_application):
238 kill excessive debug clutter.
240 * test/test-simple.c (test_misc): test some NULL
241 tolerance. (main): upd.
243 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
244 implements no interfaces - so let's not crash.
246 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
248 * libspi/accessible.c (spi_accessible_new_return): impl.
249 helper to calm the cut and paste, to cope with
250 NULL AtkObjects effectively and efficiently, and to kill
251 the referencing bugs.
253 * libspi/table.c (impl_getAccessibleAt),
254 (impl_getRowHeader, impl_getColumnHeader): upd.
256 * libspi/hyperlink.c (impl_getObject): upd.
258 * libspi/accessible.c
259 (impl_accessibility_accessible_get_child_at_index): upd.
262 (impl_accessibility_component_get_accessible_at_point): upd.
264 * test/test-simple.c (test_editable_text, test_text): impl.
267 * cspi/spi_editabletext.c
268 (AccessibleEditableText_insertText): constify.
270 * test/test-simple.c (focus_me): make more robust.
272 * libspi/accessible.c: remove some printfs in methods that
273 we test and work fine, so we can get a clean tree dump.
275 * test/test-simple.c (validate_accessible),
276 (validate_tree): make tree dumping pretty too.
278 * at-bridge/bridge.c (bridge_signal_listener): upd. so
279 it builds without debug on.
281 * test/test-simple.c (validate_accessible): fix the most
284 * cspi/spi_main.c (spi_object_release): leave the nicely
285 blanked memory around if in debug mode.
287 * cspi/spi-listener-impl.c (cspi_event): use add_check.
289 [committed to fixups2]
290 2001-12-05 Michael Meeks <michael@ximian.com>
292 * libspi/editabletext.c
293 (spi_editable_text_class_init): g_type_class_peek_parent,
294 not interface peek - so we finalize cleanly.
296 * libspi/accessible.c (spi_accessible_new): kill debug.
298 * test/test-simple.c (validate_accessible): fix ref.
299 leak, print strings before freeing them; sigh, comment a
300 chunk out due to strangeness.
301 (validate_tree): unref the child after use.
303 * cspi/spi_component.c (AccessibleComponent_getLayer):
304 add missing break statement, switch on zlayer not the
305 uninitialized retval.
307 * cspi/spi_main.c (cspi_object_add): add assert, local ref
308 before (possibly re-entering) remote unref.
310 * test/simple-at.c (main): unref the desktop.
312 * cspi/spi_accessible.c (cspi_accessible_is_a): move
315 * cspi/spi_main.c (cspi_accessible_is_a): here to
316 isolate bonobo API usage more.
318 * libspi/registry.c (impl_accessibility_registry_register_application):
321 2001-12-04 Michael Meeks <michael@ximian.com>
323 * test/test-simple.c (validate_tree): upd.
324 IndexInParent check to make it more lucid.
325 (validate_accessible): dump the tree.
327 * libspi/accessible.c (de_register_public_ref),
328 (get_public_refs): impl.
329 (spi_accessible_new): make more efficient & intuitive.
330 Now IndexInParent check works.
332 2001-12-04 Michael Meeks <michael@ximian.com>
334 * cspi/spi-util.h: remove.
336 * cspi/spi.h: move SPI_freeString here
338 * libspi/component.c (impl_accessibility_component_get_layer):
340 (impl_accessibility_component_get_mdi_z_order): ditto,
341 return -1 on error - is this ok ?
343 * test/test-simple.c (test_application): impl.
345 * cspi/spi_accessible.c (Accessible_getApplication),
346 (Accessible_isApplication): impl.
348 * libspi/registry.c (spi_listener_struct_free): release
349 the CORBA reference too.
351 * libspi/accessible.c
352 (impl_accessibility_accessible_get_parent): fix ref leak.
354 * libspi/registry.c (spi_registry_new): make the registry
355 immortal - we don't want it to go away ever.
357 * libspi/application.c
358 (spi_accessible_application_finalize): impl. cleanup.
360 * cspi/spi_registry.c
361 (deregisterGlobalEventListenerAll),
362 (deregisterGlobalEventListener),
363 (deregisterAccessibleKeystrokeListener): fix ref leak.
365 * cspi/spi_main.c (SPI_init): remove redundant ref.
367 * test/test-simple.c (unutterable_horror): impl. to force a
372 (impl_accessibility_registry_deregister_application): release
373 the application when we de-register it.
375 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
376 until we have the infastructure to get it right.
378 2001-12-03 Michael Meeks <michael@ximian.com>
380 * libspi/Makefile.am: only build eventlistener.[ch]
382 * libspi/accessible.c
383 (impl_accessibility_accessible_get_child_at_index): don't leak.
385 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
386 before we hit the idle handler.
388 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
391 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
393 * libspi/listener.c (impl_notify_event): check source
394 not NIL before unref.
396 * libspi/registry.c (impl_registry_notify_event): ditto.
398 * libspi/eventlistener.c
399 (impl_accessible_event_notify_event): unref the source.
401 * libspi/accessibleeventlistener.c
402 (impl_accessible_event_notify_event): unref the source.
404 * idl/Event.idl: remove 'hash_id' attribute - of no
407 * libspi/application.c (notify_listeners): upd list
409 (spi_application_object_event_listener),
410 (spi_application_toolkit_event_listener): upd to do correct
414 (_registry_notify_listeners): update.
415 (parse_event_type): this method also leaks like a sieve.
416 (impl_accessibility_registry_deregister_global_event_listener):
417 fix ETYPE_WINDOW case.
419 * libspi/application.c
420 (impl_accessibility_application_register_object_event_listener):
423 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
425 * libspi/hypertext.c (impl_getLink): ditto.
427 * cspi/spi_main.c (cspi_object_add): remove
428 bogus CORBA_Object_duplicate.
430 * cspi/spi-listener-impl.c (cspi_event): dup/ref
433 * cspi/spi_accessible.c
434 (Accessible_getRelationSet): fix leak / referencing issue.
436 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
437 (cspi_object_add, cspi_object_unref): upd.
438 (spi_object_release, get_live_refs): impl.
439 (cspi_cleanup): simplify.
441 * *.[ch]: s/boolean/SpiBoolean/
443 * cspi/spi_accessible.c (role_names): actualy order so it
444 corresponds with the enum !
446 * test/test-simple.c (test_roles): check some role strings
447 vs. enums to detect offset errors.
449 2001-12-01 Michael Meeks <michael@ximian.com>
451 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
453 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
455 (Accessible_getChildAtIndex): use cspi_add_check so we
456 check the ev before using a (possibly) invalid value.
458 * libspi/accessible.c
459 (impl_accessibility_accessible_get_parent): don't segv
462 * at-bridge/bridge.c (gtk_module_init): upd.
463 (bridge_property_event_listener): don't leak strings
465 (bridge_state_event_listener),
466 (bridge_property_event_listener): don't use a static
467 buffer in case of recursive event emission &
468 re-enterancy - split out the swathe of cut and paste
470 (emit_eventv): and fix 2 ref leaks here & comply to the
472 (bridge_register_app): rename to
473 (bridge_idle_init): this and kill arg parsing, split
474 various inits & bonobo-activation registration to module
475 init time, kill referencing error.
476 (bridge_exit_func): fix the same leak.
477 (bridge_focus_tracker): don't leak event structures
479 (bridge_signal_listener): more leakage and cut & paste
481 (bridge_key_listener): return the result - FIXME is
482 this polarity correct ?
483 (accessibility_keystroke_from_atk_key_event): rename
484 (accessibility_init_keystroke_from_atk_key_event): and stop
486 (gtk_module_init): return a value - not that it is checked by
488 (bridge_key_listener): register my horror at casting between
490 (bridge_get_registry): kill - not used.
492 * cspi/spi_accessible.c (Accessible_getRole): make return const.
494 * test/test-simple.c (test_roles): impl.
495 (test_desktop, validate_accessible, validate_tree): impl.
497 * cspi/spi_accessible.c (role_names): fixup bogus
498 MAX_ROLES setup, make constants const for efficient linkage
499 (AccessibleRole_getName): conform to coding style, make
502 2001-11-30 Michael Meeks <michael@ximian.com>
504 * cspi/spi.h: add missing prototype.
506 * libspi/registry.c (spi_listener_struct_new): fix sig.
508 * test/Makefile.am: add test-simple
510 * test/test-simple.c: add
514 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
516 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
517 do it straight - since otherwise we often get an activation race.
519 [ work before Bill duplicated a chunk of it ... ]
520 2001-11-30 Michael Meeks <michael@ximian.com>
522 * libspi/keystrokelistener.c
523 (spi_keystroke_listener_class_init): fixup arg
526 * libspi/eventlistener.c
527 (spi_event_listener_class_init): ditto.
529 * tests/test.sh: add.
531 * cspi/spi-listener-impl.h: update macros.
533 * cspi/spi-listener-impl.c
534 (cspi_event_listener_remove_callback): add
535 correct pre-conditions.
537 * cspi/spi_main.c (SPI_exit): guard vs. double
538 exits, exit the mainloop nicely.
539 (SPI_event_main): make more sense.
540 (SPI_init): move the atexit evilness here so we
542 (SPI_event_main): upd.
544 * test/simple-at.c: update for listener changes.
546 * registryd/registryd.c (main): prune kruft.
548 * libspi/libspi.h: upd.
550 * libspi/eventlistener.[ch]: rename broken macros.
552 * libspi/accessibleeventlistener.[ch]: remove.
554 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
556 * test/test-simple.c: Add - automated tests.
558 * cspi/spi-listener-impl.c (cspi_event),
559 (cspi_key_event): add user_data to invoke.
560 (cspi_keystroke_listener_finalize): impl.
561 (cspi_keystroke_listener_class_init): upd.
564 (createAccessibleEventListener),
565 (AccessibleEventListener_addCallback),
566 (createAccessibleKeystrokeListener),
567 (AccessibleKeystrokeListener_addCallback): upd.
569 * libspi/deviceeventcontroller.c
570 (spi_device_event_controller_check_key_event): add public proto.
573 (impl_accessibility_registry_deregister_global_event_listener):
574 always init listeners.
575 (_registry_notify_listeners): yes it is.
577 * cspi/spi-listener-impl.c (cspi_key_event):
579 (cspi_event_listener_finalize): impl.
580 (cspi_event_listener_class_init): hook up.
581 (event_handler_new, event_handler_free),
582 (event_list_remove_by_callback): impl.
583 (cspi_event_listener_remove_callback),
584 (cspi_keystroke_listener_remove_callback),
585 (cspi_keystroke_listener_add_callback),
586 (cspi_event_listener_add_callback): upd.
588 * libspi/keystrokelistener.c
589 (keystroke_listener_object_finalize): kill
590 (spi_keystroke_listener_class_init): upd.
591 (spi_keystroke_listener_add_callback),
592 (spi_keystroke_listener_remove_callback): kill,
594 (impl_key_event): prune drasticaly.
596 * libspi/eventlistener.c
597 (spi_event_listener_add_callback),
598 (spi_event_listener_remove_callback): kill, use
600 (impl_accessible_event_notify_event): upd.
601 (spi_event_listener_object_finalize): remove.
603 * libspi/Makefile.am: use eventlistener.[ch]
605 2001-12-04 Bill Haneman <bill.haneman@sun.com>
607 * libspi/registry.c (_registry_notify_listeners):
608 Changed listener loop iteration to use preferred convention.
609 Got rid of string memory leaks caused be calling g_strconcat
610 inside function calls.
612 * libspi/registry.c (parse_event_type):
613 Stopped g_strconcat memory leaks, free the g_strsplit return,
614 g_strdup the split pieces when used, etc.
616 2001-12-04 Bill Haneman <bill.haneman@sun.com>
619 Change method 'compare' to return a 'difference set' rather than
620 taking a StateSet as an out parameter (more Java-friendly).
622 * idl/Accessible.idl:
623 Added CORBA struct 'BoundingBox', to faciliate API changes below:
627 Changed methods 'getExtents' and 'getImageExtents' in these
628 interfaces to return a BoundingBox structure.
629 (getPosition and getSize are redundant and possibly should be
630 removed, rather than creating a corresponding Point struct.)
632 * cspi/spi_component.c:
633 Modify implementation of getExtents to reflect the above IDL
638 Add (missing) AccessibleImage_getExtents () API.
640 * docs/reference/cspi/at-spi-cspi-sections.txt:
641 Added AccessibleImage_getImageExtents () to docs.
643 2001-12-03 Bill Haneman <bill.haneman@sun.com>
646 Added two methods, getLayer () and getMDIZOrder (), to reflect
647 the new ATK methods atk_object_get_layer and
648 atk_object_get_mdi_z_order. (Which arguably should be part of the
649 AtkComponent API and AtkObject). Also added an enum,
650 ComponentLayer, for the first method's return value.
652 * libspi/component.c:
653 Added implementations for these methods.
655 * cspi/spi_component.c:
657 Added cspi binding methods for above,
658 AccessibleComponent_getLayer() and
659 AccessibleComponent_getMDIZOrder().
660 Added cspi enum 'AccessibleComponentLayer'.
662 * docs/reference/cspi/at-spi-cspi-sections.txt:
663 Added above methods to docs.
667 Changed typedef for 'boolean' type (and all references to it) to
668 SPIBoolean, to avoid keyword clashes with C++.
671 Changed usages of 'boolean' to SPIBoolean.
673 * test/keysynth-demo.c:
674 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
675 app), except where SPIBoolean is required by the callbacks API.
677 2001-12-02 Bill Haneman <bill.haneman@sun.com>
679 * cspi/spi_registry.c:
680 Removed obsolete X event loop for passive keygrabs (which now
683 * registryd/registryd.c:
684 Removed unnecessary call to gdk_init() [cruft]. This also allows
685 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
688 2001-11-28 Bill Haneman <bill.haneman@sun.com>
690 * docs/reference/cspi:
691 Included docs for SPI_freeString in generated documentation.
694 Renamed spi_freeString to SPI_freeString, for consistency. Added
695 documentation for this function.
698 Renamed spi_freeString to SPI_freeString, for consistency.
699 Removed obsolete method declaration string_from_corba_string.
701 * test/keysynth-demo.c:
702 Small tweak to comments.
705 Stopped leaking the strings returned from CSPI.
707 2001-11-28 Bill Haneman <bill.haneman@sun.com>
709 Merged Michael's branch (see his ChangeLog entries below).
711 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
712 bridge is alive, release on exit.
714 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
715 Fix type check macro.
718 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
721 Added is_gnome_app static, and method cspi_is_gnome_app(),
722 so we can call the appropriate shutdown routine at exit in SPI_exit.
724 * cspi/spi_main.c (cspi_object_ref):
725 Duplicate the corba object passed in, since we're keeping it around.
727 * cspi/SPI_exit.c, cspi_cleanup:
728 Moved the releasing of the live refs to its own function, so we
729 can put it in g_atexit (). Call the appropriate shutdown API
730 depending on whethe calling client is a gnome app or not
731 (bonobo_main_quit or CORBA_ORB_shutdown).
733 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
734 Unref the listener when this method is called, after
735 deregistration. Updated the API docs to note this behavior.
737 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
738 Bugfixes: Ref the bonobo object when returning a parent or child
739 reference, or an AccessibleRelation. Generally made sure
740 BonoboObject refcount is incremented whenever we return an
743 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
744 Fixed typo/bug in signal declaration.
746 * libspi/accessibleeventlistener.h:
749 * libspi/application.c (spi_application_new):
750 Fixed leak in initialization.
753 Remembered to increment bonobo-object refcount when returning
754 children (applications) from desktop object.
755 Added (empty) finalize method.
757 * libspi/deviceeventcontroller.c:
758 Hold a ref to listeners inside DEControllerKeyListeners.
759 Added dec_key_listener_free() method. Use prepend instead of
760 append in key_listener list. Fixed some refcount madness and
761 leaks in the listener registration/deregistration - deregistration
762 now calls dec_key_listener_free() on listeners, and on the
763 temporarily constructed dec_key_listener() used to perform the search/match.
765 * libspi/hypertext.c (spi_hypertest_finalize):
766 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
767 class. Also fixed spi_hypertext_interface_new() and
768 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
770 * libspi/hypertext.h:
771 Removed pointless and duplicate AtkObject pointer from
774 * libspi/keystrokelistener.c:
775 Fixed incorrect type of keystroke_listener_parent_class,
776 renamed keystroke_listener_object_finalize to
777 spi_keystroke_listener_object_finalize.
778 Fixed typo in signal declaration
779 (spi_keystroke_listener_class_init).
782 Added funcsions spi_listener_struct_new() and
783 spi_listener_struct_free() to help with memory management issues.
784 We also now use these methods instead of gnew + poking stuff into
785 the struct, and to decrement listener counts/free the listeners
786 when deregistering them.
787 Fix more refcount bugs in getDesktop() and
788 getDeviceEventController().
791 De-ref the desktop after enumerating the applications. Explicitly
792 decrement the refcounts on the created listeners on exit (using
793 _unref for keystroke listeners, and via the
794 deregisterGlobalEventListenerAll command for other event
797 2001-11-27 Michael Meeks <michael@ximian.com>
799 * cspi/spi-listener.h: fixup enum.
801 2001-11-27 Michael Meeks <michael@ximian.com>
803 * cspi/spi-listener-impl.c (cspi_event_listener_new),
804 (cspi_keystroke_listener_new): Use the cspi variants.
806 2001-11-26 Michael Meeks <michael@ximian.com>
808 * test/keysynth-demo.c: fix 2 compile warnings, missing
811 * test/simple-at.c (report_focussed_accessible),
812 (report_focus_event, report_button_press),
813 (check_property_change, is_command_key),
814 (report_ordinary_key_event, report_command_key_event): upd.
816 * util/mag_client.h: include pre-requisites.
818 * libspi/accessibleeventlistener.c
819 (spi_event_listener_object_finalize): free any lingering
822 * libspi/keystrokelistener.c
823 (keystroke_listener_object_finalize): ditto.
825 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
826 callbacks, with cspi types.
828 * cspi/spi_event.c (createAccessibleEventListener): chain to
829 (AccessibleEventListener_addCallback): here.
830 (createAccessibleKeystrokeListener): chain to
831 (AccessibleKeystrokeListener_addCallback): here.
833 * libspi/keystrokelistener.c
834 (spi_keystroke_listener_class_init): add signal.
835 (impl_key_event): emit the event.
836 (boolean_handled_accumulator): impl.
837 (marshal_BOOLEAN__POINTER): add, gack.
839 * libspi/accessibleeventlistener.c
840 (spi_event_listener_class_init): add signal.
841 (impl_accessible_event_notify_event): emit the signal &
842 make the loop efficient.
843 (spi_event_listener_add_callback): prepend the callback.
845 * libspi/accessibleeventlistener.h: add an 'event' signal,
846 decl type on callback.
848 * libspi/keystrokelistener.h: ditto.
850 * cspi/spi-listener.h: make methods typesafe and
851 make them use the new event typedefs.
853 * test/simple-at.c (report_focussed_accessible):
855 Use *(void *)text_interface not the other thing.
857 * configure.in: add gtk to registryd bits - since we use
860 * util/magnifier.c: include libbonobo.h
862 2001-11-25 Bill Haneman <bill.haneman@sun.com>
864 * test/keysynth-demo.c:
865 Turned this into a simple scanning keyboard, to demonstrate the
866 use of g_timeout_add () as a means of creating timers for
867 scanning, and the use of GtkStyle for visually indicating when
868 virtual keyboard elements are selected.
870 keysynth-demo now listens to any keyboard keys with zero-valued
871 keycodes (i.e. 'unused' keys) and interprets them as
874 Reworked the shiftlatch code so that shift-down state isn't held
875 for long periods (it's only synthesized immediately prior to
876 the keysynth event it's modifying). Note that shiftlatch in this
877 demo is a convenience, not intended to take the place of AccessX
878 which is the better choice for getting 'sticky' modifier keys.
880 * libspi/deviceeventcontroller.c:
881 * at-bridge/bridge.c:
882 * cspi/spi_registry.c:
883 Removed some debug print stuff, and put other verbosity in #ifdef
888 Implemented some more of the magnifier IDL for the simple
889 magnifier: namely, getZoomRegionParams.
890 Added mag_x and mag_y members to MagnifierData struct, aid of this
892 Added GtkWindow::realize signal handler to magnifier, to keep it
893 from receiving keyboard focus from the WM.
895 2001-11-23 Mark McLoughlin <mark@skynet.ie>
897 * cspi/spi-private.h: my guess at what michael forgot
898 before he ran off to NZ :-)
900 2001-11-23 Michael Meeks <michael@ximian.com>
902 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
903 comment out non existant method invoke so we link.
905 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
906 use bonobo_exception_get_text for more friendly warnings.
908 * cspi/spi.c (Obj_Add): move into spi_main & rename
909 spi_object_add; kill spi.c
911 * cspi/spi_registry.c
912 (deregisterGlobalEventListener),
913 (deregisterGlobalEventListenerAll),
914 (registerGlobalEventListener): fix exception leaks.
916 * cspi/spi_main.c (spi_exception): impl. helper, so we
917 don't leak exceptions.
919 * cspi/spi_selection.c
920 (AccessibleSelection_deselectSelectedChild): return the
923 * cspi/spi_main.c (spi_ev): impl; hack - gack.
924 (spi_registry): ditto.
925 (SPI_init): guard against double inits.
927 * cspi/*.c: use spi_ev (), and spi_registry () where
928 appropriate - a temporary hack until we have something
929 better. Use spi_object_add
931 2001-11-22 Michael Meeks <michael@ximian.com>
933 * cspi/Makefile.am: re organise, install the headers.
935 * cspi/*.h: add G_BEGIN/END_DECLS
937 2001-22-11 Bill Haneman <bill.haneman@sun.com>
940 Added non-preemptive keylistener for key events with no modifiers
941 and shift-only modifier.
943 * libspi/keystrokelistener.c:
944 Removed some verbose diagnostics printout.
946 * cspi/spi_registry.c:
947 Fixed a bug that caused all key listeners to be registered as
950 * libspi/deviceeventcontroller.c:
951 Fixed bug that caused XGrabKey (preemptive key grab) to be called
952 for non-preemptive key masks.
955 2001-22-11 Bill Haneman <bill.haneman@sun.com>
957 * docs/reference/idl/at-spi-idl-docs.sgml:
958 * docs/reference/idl/at-spi-idl-sections.txt:
959 * docs/reference/idl/at-spi-idl-overrides.txt:
962 * docs/reference/Makefile.am:
963 removed idl from SUBDIRS until we can figure a way to get gtk-doc
964 to scan the IDL files :-(
969 Added .cvsignore files.
971 2001-21-11 Bill Haneman <bill.haneman@sun.com>
973 * libspi/deviceeventcontroller.c:
974 * libspi/keystrokelistener.c:
976 * cspi/spi_registry.c:
977 Added filters for KeySets, KeyEventSeq, and event types to key
978 event dispatching, so listeners should only receive those events
979 that they requested :-)
981 2001-21-11 Bill Haneman <bill.haneman@sun.com>
986 * docs/reference:Makefile.am:
987 * docs/reference/cspi:
988 * docs/reference/cspi:Makefile.am:
989 * docs/reference/cspi:tmpl:
990 * docs/reference/cspi:tmpl:*.sgml:
991 * docs/reference/idl:
992 * docs/reference/idl:Makefile.am:
993 * docs/reference/idl:at-spi-idl-sections.txt:
994 * docs/reference/idl:at-spi-idl-docs.sgml:
995 * docs/reference/idl:tmpl:
996 * docs/reference/idl:tmpl:*.sgml:
998 Restructured docs directory to allow separate 'reference' docs
999 section, and forked idl and cspi docs. Added the sgml template
1000 files to CVS. Added the first sections/structural sgml for the
1003 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1005 * configure.in, libspi/Makefile.am: find libXtst.
1007 2001-11-21 Michael Meeks <michael@ximian.com>
1009 * test/accessx-gui.c: s/spi_value/value/ - doh.
1011 * libspi/base.[ch]: add.
1013 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1015 * idl/Accessible.idl:
1016 * idl/Application.idl:
1019 Started gtk-doc cleanup on IDL.
1021 * libspi/deviceeventcontroller.c:
1022 Added and connected non-preemptive key notification from the
1023 toolkits (in addition to the pre-emptive support from XServer
1024 which we had before, but which causes 'focus flashing'). Filters
1025 are presently limited to key modifiers and global/non-global,
1026 KeySets are presently ignored, as are KeyEvent masks.
1028 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1029 structs into the persistant structure rather than just storing
1030 pointers to things that might not persist across servant
1033 The XGrabKey call now does async keygrabs, because synchronous
1034 ones were deadlocking with GDK_event code in a very nasty way.
1036 Added boolean to internal method notify_keylisteners, to indicate
1037 whether the event came from the 'toolkit source' or the 'global
1038 (XServer) source' - this is used in the notification process to
1039 determine which listeners to send the event to.
1041 deviceeventcontroller.c is now warning-free.
1043 * libspi/registry.c:
1044 Fixed regression in application de-registration.
1045 Also fixed some really brain-dead weirdness having to do with
1046 event dispatching - event structs are now duplicated before being
1047 re-marshalled in the dispatch to listeners. This also fixes a
1048 Solaris build problem.
1051 2001-20-11 Michael Meeks <michael@ximian.com>
1054 (impl_accessibility_registry_deregister_global_event_listener):
1057 * libspi/deviceeventcontroller.c
1058 (spi_device_event_controller_check_key_event): return
1059 FALSE on no virtual method.
1061 * libspi/*..h: make includes work on a correctly pathed install.
1063 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1065 * libspi/application.h: kill unused ( and whacked out )
1066 gboolean *spi_application_set_id (AtkObject *app, long id);
1068 2001-20-11 Michael Meeks <michael@ximian.com>
1070 * libspi/*.[ch]: further convert to bonobo's type func
1071 macros, remove redundnant casts etc.
1073 * libspi/text.c s/accessibility_text/spi_text/g,
1074 re-order to de-cruft.
1076 * libspi/hypertext.c: re-order to kill a huge slew
1077 of redundant forward decls.
1079 * libspi/relation.c: ditto.
1081 * libspi/image.c: ditto.
1083 * */.cvsignore: update
1085 2001-20-11 Michael Meeks <michael@ximian.com>
1087 * libspi/deviceeventcontroller.c
1088 (_controller_register_with_devices): use g_getenv,
1089 kill stdlib.h include.
1091 * libspi/keystrokelistener.c
1092 (spi_keystroke_listener_get_type): kill
1093 (spi_keystroke_listener_class_init),
1094 (spi_keystroke_listener_init): rename to this.
1096 * libspi/text.c (impl_getAttributes): fix warning / bug.
1098 * libspi/*.[ch]: more headers, includes and over commenting.
1100 2001-20-11 Michael Meeks <michael@ximian.com>
1102 * libspi/*.[ch]: fixup headers, includes and over commenting.
1104 * libspi/image.c (impl__get_imageDescription): const
1105 correctness warning fix. remove redundant casting.
1107 * libspi/table.c (impl_getRowDescription): ditto.
1108 (impl_getColumnDescription): ditto.
1110 * libspi/libspi.h: add.
1112 2001-19-11 Michael Meeks <michael@ximian.com>
1114 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1116 * libspi/component.c (accessibility_component_get_type):
1117 rename to (spi_component_get_type): and macroify.
1118 (accessibility_component_init): rename to
1119 (spi_component_init): this
1120 (accessibility_component_class_init): rename to
1121 (spi_component_class_init): this
1123 * libspi/action.c (spi_action_get_type): kill, use the macro.
1125 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1128 * libspi/application.c (spi_application_object_event_listener),
1129 (impl_accessibility_application_register_object_event_listener):
1130 warning fixes / const understanding updates.
1132 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1135 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1137 * libspi/spi_accessible.c: Added docs and C bindings for
1138 AccessibleStateSet. (No implementations yet). Documentation
1139 coverage for C bindings now 100%. Made docs for event listeners
1144 boolean notifyListenersSync (in DeviceEventListener listener,
1145 in DeviceEvent event);
1147 oneway void notifyListenersAsync (in DeviceEventListener listener,
1148 in DeviceEvent event);
1150 Added DeviceEventListener and DeviceEvent structs (may deprecate
1151 KeyStroke and KeystrokeListener in favor of this generic
1152 event/listener framework for devices).
1154 * libspi/deviceeventcontroller.c:
1156 Changed some key listener code to take masks, etc., and paved the
1157 way for integration of toolkit/non-preemptive key events. Changed
1158 signatures of some internal methods.
1160 * at-bridge/bridge.c:
1161 Fixed regression connecting to interface signals, apparently
1162 caused by GTK+ changes.
1164 Added an internal bridge_state_listener to deal with
1165 property-change:accessible-state signals.
1167 Changed the key_listeners GList to store structs (including masks,
1168 etc.) instead of just CORBA_Objects (required for full
1169 implementation of key listener API).
1171 Connected the bridge to all currently supported Atk signals.
1172 Events now supported:
1173 object:property-change
1174 object:property-change:accessible-name
1175 object:property-change:accessible-state
1176 object:property-change:accessible-description
1177 object:property-change:accessible-parent
1178 object:property-change:accessible-value
1179 object:property-change:accessible-role
1180 object:property-change:accessible-table-caption
1181 object:property-change:accessible-table-column-description
1182 object:property-change:accessible-table-column-header
1183 object:property-change:accessible-table-row-description
1184 object:property-change:accessible-table-row-header
1185 object:property-change:accessible-table-summary
1186 object:children-changed
1187 object:visible-data-changed
1188 object:selection-changed
1189 object:text-selection-changed
1191 object:text-caret-moved
1193 object:row-reordered
1195 object:column-inserted
1196 object:column-reordered
1197 object:column-deleted
1198 object:model-changed
1200 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1202 * libspi/hyperlink.c,h:
1203 Fixed some broken stuff in hyperlink.
1205 * libspi/relation.h:
1206 * libspi/relation.c:
1207 * cspi/spi_accessible.c:
1208 Initial implementations of AccessibleRelation methods, and docs.
1210 * libspi/accessible.c:
1211 Fixed a bug that caused SEGV if an accessible
1212 object's description is NULL, and a client
1213 requests it. An empty string is now returned.
1215 * cspi/spi_editabletext.c:
1216 * cspi/spi_hypertext.c:
1218 * cspi/spi_hyperlink.c:
1222 Doc coverage now 95%.
1224 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1226 One last namespacing revision:
1227 * libspi/accessibleeventlistener.[ch]:
1228 Renamed SpiAccessibleEventListener to SpiEventListener,
1229 (no need for two namespaces ;-)
1231 And lots of documentation fixes:
1233 * docs/at-spi-docs.sgml:
1234 Fixed 'underscore vs. hyphen' bug that was preventing
1235 the gtk-doc API docs from being automatically generated.
1238 * cspi/spi-listener.h
1240 * cspi/spi_accessible.c
1242 * cspi/spi_application.c
1243 * cspi/spi_component.c
1244 * cspi/spi_editabletext.c
1246 * cspi/spi_hypertext.c
1248 * cspi/spi_registry.c
1249 * cspi/spi_selection.c
1253 * docs/at-spi-docs.sgml
1254 * docs/at-spi-sections.txt
1256 Added and fixed up gtk-doc documentation in cspi.
1258 Interfaces now (fully) documented (subject to revision and enhancement):
1260 Event Listener Support
1262 AccessibleApplication
1266 AccessibleEditableText
1273 AccessibleRelationSet
1278 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1280 * at-bridge/bridge.c:
1281 Initial work for toolkit-level key snooper connection by bridge.
1286 New typedefs and fixes to support new namespacing, and cleaner
1287 separation of cspi bindings from libspi bonobo implementation.
1288 Removed inconsistent and extraneous Spi* namespace prefix that
1289 had crept into cspi headers.
1290 Lots of comment fixes that sed had missed.
1292 * cspi/spi-roletypes.h:
1293 * cspi/spi-statetypes.h:
1294 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1295 to AccessibleRoleType.
1297 * libspi/accessibleeventlistener.h:
1298 Fixed minor namespacing weirdness.
1300 * libspi/deviceeventcontroller.c:
1301 Reordered some internal API for device listeners.
1302 Changed the key registry final boolean to 'is_system_global'
1303 rather than 'is_synchronous', which is more descriptive of its
1305 Added spi_device_event_controller_new().
1306 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1308 * libspi/keystrokelistener.[ch]:
1309 Namespaced KeystrokeListener to SpiKeystrokeListener.
1310 Changed uses of keymasks to use SPI_ prefix, and did other
1313 * libspi/keymasks.h:
1314 Namespaced keymask constants with SPI_ prefix.
1316 * libspi/registry.c:
1317 Some warning fixes, and knock-on fixes from namespace changes.
1320 Added rules for accessx-gui test program.
1322 * test/accessx-gui.c:
1323 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1324 utility. It doesn't actually use at-spi, but it's still cool and
1327 * test/keysynth-demo.c:
1331 Fixes so that these test clients work properly with the namespaced
1332 libraries. (Incompletely tested for technical reasons, fixes may follow)
1335 2001-13-11 Michael Meeks <michael@ximian.com>
1337 * libspi/application.c
1338 (impl_accessibility_application_get_version),
1339 (impl_accessibility_application_get_toolkit_name):
1341 (impl_accessibility_application_set_id),
1342 (impl_accessibility_application_get_id): remove
1343 redundant casting code.
1345 * libspi/action.c (impl_getDescription): fix warnings.
1347 * libspi/accessible.c
1348 (impl_accessibility_accessible_get_parent),
1349 (impl_accessibility_accessible_get_child_at_index),
1350 (impl_accessibility_accessible_get_state),
1351 (impl_accessibility_accessible_get_relation_set):
1352 warning fixes & include action.h
1354 2001-13-11 Michael Meeks <michael@ximian.com>
1356 * *.[ch] fix bits I screwed up:
1358 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1359 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1361 2001-13-11 Michael Meeks <michael@ximian.com>
1363 * *.[ch] Namespace libspi into spi_ and Spi.
1365 2001-13-11 Michael Meeks <michael@ximian.com>
1367 * Makefile.am: dist & install at-spi-1.0.pc
1369 * libspi/Makefile.am: install into at-spi-1.0
1371 * idl/Makefile.am (idldir): install into at-spi-1.0
1373 * at-spi-1.0.pc.in: add.
1375 * configure.in: build it.
1377 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1379 * test/keysynth-demo.c:
1380 Use a 'realize' signal-handler to set the WM properties for
1381 the virtual keyboard, rather than making it a "POPUP" type
1382 override-redirect window (thanks to anders carlsson for that
1385 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1388 * test/keysynth-demo.c:
1389 Added new test of key synthesis, which creates a simple
1390 (mouse-operated) onscreen keyboard. It inserts key events into
1391 the currently-focused window, thus it does not grab keyboard focus
1394 * cspi/spi_registry.c:
1395 Added C binding for AT-SPI generateKeyEvent.
1397 * libspi/deviceeventcontroller.c:
1398 Added call to XFilterEvent so that key listener works with XIM (we
1399 hope). Added event_synth_type to generateKeyEvent, so that we can
1400 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1401 synthesize a press/release pair for KeySyms.
1403 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1405 * libspi/Makefile.am:
1406 * registryd/Makefile.am:
1407 (temporary) hack to include libXtst in libspi and registryd.
1408 (Needed for keystroke synthesis, see below).
1411 Improved API for registerKeystrokeListener, in accordance with
1412 discussions with Gnopernicus team and X server research.
1414 * libspi/registry.c:
1415 * libspi/deviceeventcontroller.c:
1416 * libspi/accessible.c:
1417 * libspi/keystrokelistener.c:
1418 Changes and fixes to support keylisteners for potentially
1419 consumed key events (that is, 'passive grabs').
1420 Added implementation for generateKeyEvent() [untested].
1423 Changes to registerKeystrokeListener() API, as above.
1424 Added deregisterGlobalEventListenerAll(), and
1425 deregisterKeystrokeListener(), which are needed for clean exit of
1427 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1428 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1430 * cspi/spi_registry.c:
1431 Added implementations of function prototypes mentioned above.
1433 * registryd/registryd.c:
1434 Added the key listener event source as a g_timeout(), to allow
1435 receipt of key events that are not caught by GDK (since GDK
1436 doesn't support passive keygrabs, this was necessary).
1439 Changed to attach a keylistener to 'Alt' keys, and
1440 respond to the following keycommands: Alt-M (toggle magnifier);
1441 Alt-F (toggle speech); Alt-Q (quit).
1442 Added an exit routine to deregister the listeners, and a key
1443 listener that prints some key info to the console when a key
1444 matches the listener mask (and is thus received by the listener).
1446 * util/idl/Magnifier.idl:
1447 Changes to magnifier API to support multiple zoom regions,
1448 non-uniform scaling in x and y, markDirty, and a host of other
1449 features that would be useful to magnification.
1452 * util/mag_client.c:
1453 * util/mag_client.h:
1454 * util/mag_control.c:
1456 Source code changes to support the above IDL changes.
1459 As above, and also changes to use a (slower) generic conversion
1460 path for colormap conversions, since the fast RGB conversions have been
1461 reported to fail for 16-bit displays.
1463 2001-10-26 Michael Meeks <michael@ximian.com>
1465 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1467 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1469 * at-bridge/Makefile.am: fix LDFLAGS.
1471 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1473 * at-bridge/bridge.c:
1474 Re-worked listeners for toolkit events, now we have signal
1475 and property listeners. Added a private method
1476 register_atk_event_listeners(), which registers with the
1477 various atk and gtk signals we need to monitor in order to emit
1479 Added emission hook for AtkObject:property-change events, to
1480 support the 'property listeners'.
1481 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1484 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1485 which emit warnings and exit, respectively, if CORBA errors occur
1486 during remote calls, and we now use these methods to check most of
1487 our CORBA calls in the C bindings.
1489 * cspi/spi_accessible.c:
1490 Changed AccessibleSelection_refSelectedChild() to
1491 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1492 now increment refcounts.
1494 * cspi/spi_component.c:
1495 Fixed some long pointer casts (dangerous!) to pass pointers to
1496 CORBA_longs of the proper type to the CORBA stubs, and copy the
1497 data into the longs that were passed into the C bindings code.
1499 * at-bridge/bridge.c:
1501 * libspi/accessible.c:
1502 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1503 hyperlinks, AtkHyperlink is an object type.
1505 * libspi/application.c:
1506 Added various conversions to and from "generic" event types and
1507 atk-specific types; this is really part of the 'bridge'
1508 implementation but is valid for all AtkObject-based accessibility
1511 * libspi/editabletext.c:
1512 Fixed nasty bug wherein editable text's finalize method was
1513 unref'ing tha AtkObject reference that the text parent class was
1514 about to unref _again_. There was also a nasty inheritance bug
1515 that meant that the AccessibleEditableText class was corrupt.
1517 * libspi/selection.c:
1518 Provided implementations for some selection API that was broken.
1520 * idl/Application.idl:
1521 Added registerObjectEventListener () method.
1524 Fixed a number of return values that were Bonobo_Unknowns from
1525 bonobo_object_corba_objref(), which I
1526 forgot to dup before returning. Changed instances of
1527 bonobo_object_corba_objref (bonobo_object(o)) to
1528 BONOBO_OBJREF(o), for concision and clarity.
1530 <2001-10-13 Louise Miller <louise.miller@sun.com>
1532 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1533 idl/Event.idl, idl/Registry.idl
1534 Changed these files to include Bonobo_Unknown.idl instead
1537 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1539 * libspi/component.c libspi/component.h:
1540 Fixed typo. Added assertions for object checks in
1541 AccessibleComponent code.
1543 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1545 * idl/Accessible.idl:
1546 Added 'isEqual (Accessible *object)'
1547 method for Accessible. (Not Yet Implemented).
1550 Changed signature of registerKeystrokeListener() to
1551 take a KeySet and KeyEventSeq so that specific keys and event
1552 types could be requested for monitoring, and added a flag
1553 is_synchronous so that either synchronous or asynchronous
1554 notification could be requested. (However this is not all
1555 implemented yet). This also meant adding two new typedefs,
1556 KeyEventSeq and KeySet.
1559 Added two new relations, RELATION_TOOLTIP_FOR and
1560 RELATION_LEAFNODE_OF.
1563 Added new state, STATE_HAS_TOOLTIP.
1565 * libspi/text.c, editabletext.c:
1566 Added new assertions to all casts of bonobo-objects from
1567 CORBA servants, to prevent Text API calls on non-text objects.
1568 Changed suspect casts of int-pointer types, so that we
1569 always send a valid CORBA_long pointer to the CORBA APIs that use
1570 in/out long parameters. We then have to copy from the CORBA_long
1571 into the regular long or int for return to the C bindings, or
1572 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1575 * libspi/deviceeventcontroller.c:
1576 Cleaned these sources up.
1578 Changed return type for getCharacterAtOffset to
1579 CORBA_unsigned_long, to allow for 32-bit characters.
1582 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1586 Fixed 'make dist' so that distro compiles...
1587 * libspi/keymasks.h:
1589 * cspi/spi-listener.c:
1590 KeystrokeListenerCB now returns a boolean.
1592 Added KeyEventType struct, and KeyStroke.
1593 Also added createKeystrokeListener(),
1594 KeystrokeListener_addCallback(),
1595 KeystrokeListener_removeCallback(), and added a keymask to
1596 registerKeystrokeListener().
1597 * cspi/spi_accessible.c:
1598 Changed numerous return types for interfaces from
1599 AccessibleComponent to Accessible<InterfaceName>; this was
1600 probably a cut-and-paste error.
1602 Implementations of new KeystrokeListener api (from spi.h,
1605 Changes to key modifier mapping.
1606 Created ControllerEventMask struct.
1607 Made DeviceEventController derive from Bonobo::Unknown.
1609 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1610 * libspi/deviceeventcontroller.c:
1611 Added a number of new internal (private) methods.
1612 * libspi/editabletext.c:
1613 * libspi/editabletext.h:
1614 Fixed a number of bugs related to the fact that
1615 editabletext inherits from text. Fixed the EditableText struct,
1616 the init() call, and use correct casts when calling Text methods
1617 from an EditableText object. Removed (duplicate) atko from the
1618 EditableText structure, we use the one in the parent Text
1619 structure via the casts mentioned above.
1620 * libspi/keystrokelistener.[ch]:
1621 * libspi/registry.c:
1622 Changes in support of keyboard handling (above).
1624 Keyboard handling, though partly functional, is still not
1625 recommended for at-spi client use as there is considerable
1626 work yet to be done.
1629 Changed some places where pointers to various int types
1630 are cast to be pointers to CORBA_long types and vice-versa:
1631 pointer casting is not safe so we pass pointers of the correct
1632 types and then cast the result before putting it into the target
1635 * libspi/text.h: minor typos corrected.
1637 We now speak not only the name of a Text element, but the
1638 first sentence of its content, when it receives focus.
1639 I also changed the text compression to 75% from 50%.
1640 * util/Accessibility_Util.server.in:
1641 Changed the default magnifier type to be a 3x vertical
1642 splitscreen magnifier (was previously a 2x horizontal one).
1644 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1646 * libspi/keystrokelistener.h:
1647 * libspi/keystrokelistener.c:
1648 Initial functional implementations of KeystrokeListener.
1651 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1653 Fixed string handling for NULL strings in libspi.
1654 Added spi_freeString to free strings returned by C bindings.
1656 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1658 * libspi/keystrokelistener.h:
1659 * libspi/keystrokelistener.c:
1660 Began (no-op) implementations of KeystrokeListener
1662 * libspi/deviceeventcontroller.c:
1663 * libspi/deviceeventcontroller.h:
1664 Began creating implementations of DeviceEventController,
1665 to handle keystroke and mouse event listening and
1667 * libspi/accessible.c:
1668 Stubbed-in the implementations for
1669 Accessibility_Accessible_getState and
1670 Accessibility_Accessible_getRelationSet.
1671 * libspi/registry.c:
1672 Improved de-registration process and fixed some bugs,
1673 deregistration now works correctly.
1675 Added initialization of applications list (to NULL).
1677 Reduced speech compression from 0.5 to 0.7, for demo.
1678 Changed call to gdk_window_set_decorations()
1679 to gtk_window_set_decorated().
1680 * at-bridge/bridge.c:
1681 Bridge now deregisters when app exits, via
1682 registration of a cleanup function
1683 with the g_atexit() call.
1684 Required making 'app' static, renamed 'this_app'.
1685 Fixed broken use of bonobo_init, passing argv wrongly.
1687 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1691 Created a new directory for
1692 accessibility-related utilities, primarily for
1693 testing and demo purposes, but with possible
1700 Onscreen magnifier utility that
1701 is implemented as a bonobo service.
1703 * util/mag_client.c:
1704 * util/mag_client.h:
1705 Client-side support (simple C bindings)
1706 for Magnification service
1708 * util/mag_control.c:
1709 Client program example for
1710 Magnification service
1712 * util/Accessibility_Magnifier.server.in:
1713 Bonobo-activation file for the
1714 Magnification service.
1717 * util/idl/Magnifier.idl:
1718 IDL defining the bonobo Magnification
1722 Modifications to use the bonobo-activated magnifier
1723 above, in place of trying to connect to an existing
1724 magnifier that uses socket-listening IPC.
1726 If env variable MAGNIFIER is set, a magnifier service
1727 will be started if one does not exist.
1729 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1730 * at-bridge/bridge.c:
1731 applied patch from Marc to build and run
1732 against new glib and gtk+ (seemed like a change
1733 to bonobo_init signature was made ?)
1735 made festival-server support turned off by default.
1736 Added support for a simple magnifier (off by default)
1737 which will be added to a 'util' directory later.
1738 * at-bridge/Makefile.am:
1739 Changed "application.h" header from a 'source'
1740 to a 'dependency' of libat-bridge.
1742 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1750 Added interface implementation c files to list of
1751 includes so they are included in libcspi.
1754 Changed prototype of AccessibleAction_doAction to return a
1756 Changed prototype of AccessibleTable_getCaption to
1757 return an Accessible.
1758 Changed prototype of AccessibleTable_getSelectedRows
1759 and AccessibleTable_getSelectedColumns to
1760 return a long (returns the number of selected rows
1761 or columns respectively).
1762 Changed name of AccessibleText_refRunAttributes to
1763 AccessibleText_getAttributes.
1764 Changed prototype of AccessibleText_getCharacterExtents to
1765 return a void rather than a boolean.
1766 Added support for a AccessibleCoordType parameter
1767 specifying what type of coordinates are desired.
1768 Added an AccessibleCordType parameter to
1769 AccessibleText_getPointAtOffset.
1771 * cspi/spi_accessible.c:
1772 Added code to return the outstanding interfaces from
1773 Accessible_queryInterface.
1775 * cspi/spi_action.c:
1777 Corrected call to getNActions to call the c binding
1780 * cspi/spi_editabletext.c:
1782 Changed name from setRunAttributes to setAttributes.
1784 * cspi/spi_hyperlink.c:
1786 Changed call to getNAnchors to correctly call the c
1787 binding for an attribute.
1789 * cspi/spi_hypertext.c:
1791 Changed getImageDescription to correctly call the
1792 binding for an attribute.
1794 * cspi/spi_selection.c:
1795 Changed getNSelectedChildren to correctly call the c
1796 binding for the attribute.
1797 Changed refSelectedChild to getSelectedChild.
1801 Changed getCaption to return an Accessible.
1802 Fixed calls which retrieve attributes.
1803 Changed refAt to getAccessibleAt.
1804 Changed getNSelectedRows and getNSelectedColumns to
1808 Changed getCharacterExtents and getPointAtOffset to accept an
1809 AccessibleCoordType.
1811 Changed calls which retrieve attributes.
1812 Changed refRunAttributes to getAttributes.
1817 * idl/Hyperlink.idl:
1818 Changed n_anchors attribute to nAnchors to keep naming
1819 convention consistent.
1822 Made Table inherit from Bonobo::Unknown.
1823 Added nSelectedColumns and nSelectedRows attributes.
1826 Made Value inherit from Bonobo::Unknown.
1828 * libspi/hyperlink.c:
1829 Change for nAnchors attributte name change.
1831 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1839 Added interface implementation c files to list of
1840 includes so they are included in libcspi.
1843 Changed prototype of AccessibleAction_doAction to return a
1845 Changed prototype of AccessibleTable_getCaption to
1846 return an Accessible.
1847 Changed prototype of AccessibleTable_getSelectedRows
1848 and AccessibleTable_getSelectedColumns to
1849 return a long (returns the number of selected rows
1850 or columns respectively).
1851 Changed name of AccessibleText_refRunAttributes to
1852 AccessibleText_getAttributes.
1853 Changed prototype of AccessibleText_getCharacterExtents to
1854 return a void rather than a boolean.
1855 Added support for a AccessibleCoordType parameter
1856 specifying what type of coordinates are desired.
1857 Added an AccessibleCordType parameter to
1858 AccessibleText_getPointAtOffset.
1860 * cspi/spi_accessible.c:
1861 Added code to return the outstanding interfaces from
1862 Accessible_queryInterface.
1864 * cspi/spi_action.c:
1866 Corrected call to getNActions to call the c binding
1869 * cspi/spi_editabletext.c:
1871 Changed name from setRunAttributes to setAttributes.
1873 * cspi/spi_hyperlink.c:
1875 Changed call to getNAnchors to correctly call the c
1876 binding for an attribute.
1878 * cspi/spi_hypertext.c:
1880 Changed getImageDescription to correctly call the
1881 binding for an attribute.
1883 * cspi/spi_selection.c:
1884 Changed getNSelectedChildren to correctly call the c
1885 binding for the attribute.
1886 Changed refSelectedChild to getSelectedChild.
1890 Changed getCaption to return an Accessible.
1891 Fixed calls which retrieve attributes.
1892 Changed refAt to getAccessibleAt.
1893 Changed getNSelectedRows and getNSelectedColumns to
1897 Changed getCharacterExtents and getPointAtOffset to accept an
1898 AccessibleCoordType.
1900 Changed calls which retrieve attributes.
1901 Changed refRunAttributes to getAttributes.
1906 * idl/Hyperlink.idl:
1907 Changed n_anchors attribute to nAnchors to keep naming
1908 convention consistent.
1911 Made Table inherit from Bonobo::Unknown.
1912 Added nSelectedColumns and nSelectedRows attributes.
1915 Made Value inherit from Bonobo::Unknown.
1917 * libspi/hyperlink.c:
1918 Change for nAnchors attributte name change.
1921 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
1923 implementations-- made server implementations own AtkObject pointers
1924 rather than their respective AtkInterrface pointers to fix
1925 refcounting. AtkHyperlink is still broken.
1927 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
1928 * cspi/spi_accessible.c:
1929 Added method Accessible_Role_getName(),
1930 and requisite string array (role_names).
1931 Added conversion string_from_corba_strin() call
1932 to Accessible_getName and _getDescription.
1933 * libspi/accessible.c:
1934 Added implementation for Accessible_getRole()
1936 Added festival support, used if environment variable
1939 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1941 * at-bridge/bridge.c:
1942 Now allocate Accessibility_Event using
1943 Accessibility_Event__alloc() instead of g_new0().
1944 * libspi/accessibleeventlistener.c:
1945 Initialize AccessibleEventListener->callbacks to NULL.
1946 Fixed accessible__event_listener_init() param, changed to
1947 "AccessibleEventListener *" type.
1948 Changed a bonobo_object_release_unref() call to
1949 Accessibility_Accessible_unref().
1950 * libspi/listener.c:
1951 Changed Bonobo_Unknown_unref to (equivalent)
1952 Accessibility_Accessible_unref.
1953 * libspi/registry.c:
1954 Changed bonobo_object_release_unref to
1955 Accessibility_Accessible_unref.
1957 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1960 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
1961 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
1962 spi-util.c spi-util.h
1963 Implementations for C bindings to remaining accessibility
1966 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1969 changed return value of Action from void to boolean to
1970 bring in line with ATK.
1973 Changed getText funcions to return "out" start and end offsets.
1974 Changed getAttributes to take and offset and return the start
1975 and end offset of the attribute run.
1976 Changed getOffsetAtPoint and getCharacterExtents to take an
1977 enum describing whether coordinates are window or screen.
1980 libspi/action.c libspi/action.h libspi/editabletext.c
1981 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
1982 libspi/hypertext.c libspi/hypertext.h libspi/image.c
1983 libspi/image.h libspi/selection.c libspi/selection.h
1984 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
1985 libspi/value.c libspi/value.h
1986 Added server implementations for outstanding ATK interfaces
1987 not yet implemented.
1989 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1992 Added (missing) getName() method.
1993 Made nActions an attribute.
1994 * idl/EditableText.idl:
1995 Changed order of params in setAttributes.
1996 * idl/Hyperlink.idl:
1997 Removed getAnchor, added getURI.
1999 Changed attributes to methods, for efficiency
2000 (so that getting extents can be done in one call)
2001 * idl/Selection.idl:
2002 Changed nSelectedChildren to attribute, and re-indented.
2003 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2005 * idl/Text.idl: reformatted to match our coding style.
2006 (temporarily?) removed getRowColumnAtOffset().
2007 Changed text selection API to support multi-select and
2008 non-contiguous selections, as in ATK.
2009 * idl/Value.idl: changed some methods to attributes.
2011 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2013 * libspi/listener.c(impl_notify_event):
2014 BonoboUnkown_unref the source instead
2015 of bonobo_object_release_unref - the ORB
2016 handles the releasing.
2018 * configure.in: require ORBit-2.3.94 for
2021 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2023 Tagged CVS repository 'EA_1_0'.
2024 * README.EARLY_ACCESS:
2025 Alphabetized acknowledgements list, and
2027 Listed some known dependencies of at-spi.
2029 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2031 * docs/at-spi-docs.sgml:
2032 * docs/at-spi-sections.txt:
2033 * docs/at-spi-overrides.txt: (Added zero-length file)
2034 Documentation improvements - gtk-doc should build
2035 docs for all implemented C bindings now.
2038 * cspi/spi.c: (New file)
2039 * cspi/spi_event.c: (New file)
2040 * cspi/spi_registry.c: (New file)
2041 * cspi/spi_accessible.c: (New file)
2042 * cspi/spi_application.c: (New file)
2043 * cspi/spi_component.c: (New file)
2044 Split spi_main.c into six parts, and included them from
2045 "spi.c". This is a bit of a hack, probably temporary,
2046 but required by gtk-doc, apparently.
2048 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2051 * docs/at-spi-docs.sgml:
2052 * docs/at-spi-sections.txt:
2054 Initial checkins/modifications for gtk-doc generation.
2057 Added (missing) interface query methods to Accessible's C binding.
2059 Added GenericInterface type definition.
2061 Added query for AccessibleComponent interface to focus event handler.
2062 Added printout of bounding box for focussed component.
2063 * libspi/component.c:
2064 Added partial implementation for AccessibleComponent to C binding.
2065 * idl/Application.idl:
2066 * libspi/registry.c:
2067 * libspi/listener.c:
2068 * libspi/application.c:
2069 * libspi/application.h:
2070 Changed "ID" attribute type from string to long.
2072 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2076 Made method naming consistent: methods taking object args
2077 start with uppercase, other methods (except those using
2078 acronyms) start with lowercase. Underscores delimit between
2079 object names and method names:
2080 SPI_init() - uppercase since it starts with an acronym.
2081 getDesktopCount () - lowercase start since no object param0.
2082 Accessible_getName() - uppercase object type name, studlyCaps method
2086 Added gtk-doc documentation for all currently implemented
2087 methods in the C bindings API.
2089 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2091 * Makefile.am : changed build order to build test last.
2094 Changed "createEventListener" to "CreateEventListener".
2095 * libspi/accessibleeventlistener.c :
2096 Bugfix for addition of callbacks.
2097 * test/Makefile.am :
2098 * test/simple-at.c :
2099 Added new test that uses the C bindings API.
2101 * libspi/listener.c :
2102 * libspi/registry.c :
2103 * libspi/accessibleeventlistener.c :
2104 * at-bridge/bridge.c :
2105 Renamed member "target" of Accessibility_Event to "source",
2106 which is more descriptive.
2109 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2113 * cspi/Makefile.am :
2114 Added makefile support for at-spi/cspi directory.
2117 * cspi/spi-listener.h : (NEW FILE)
2118 Added support for/use of spi-listener.h.
2120 C bindings now build successfully, with no warnings.
2121 * libspi/accessibleeventlistener.h : (NEW FILE)
2122 * libspi/accessibleeventlistener.c : (NEW FILE)
2123 * libspi/Makefile.am :
2124 Added new object type "AccessibleEventListener"
2125 which inherits from Listener, and allows attachment
2126 of in-process callbacks (so that a client with a listening
2127 object instance can add functionality to the local
2128 implementation, dynamically).
2130 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2132 * libspi/accessible.c:
2133 Add implementation for get_index_in_parent().
2135 Added #include of "spi-roletypes.h", and
2136 added enumerated type AccessibleCoordType.
2137 Added definition for KeystrokeListener (function type).
2140 * cspi/spi-statetypes.h :
2141 * cspi/spi-roletypes.h :
2143 Added these headers, used by spi.h.
2145 Added code (NOTE: not yet built by make).
2147 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2149 * libspi/Makefile.am: generate imodule
2150 at the same time as other idl compiler
2153 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2154 * libspi/registry.c :
2155 * libspi/application.c :
2156 * idl/Application.idl :
2157 Made registration with toolkit an application method,
2158 which is required since each app has its own toolkit static
2159 environment. Thus the bridge must register for
2160 notification of toolkit events from each application in turn.
2161 Toolkit notifications are now successfully registered for, and
2162 sent to the listening at client.
2164 Changed toolkit event string to use hyphens rather than underscores.
2165 * libspi/listener.c :
2166 listner now gives more info in debug mode - it reports the
2167 name of the event received, as well as the name of the source.
2170 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2172 * libspi/registry.c :
2173 added more implementation for toolkit events.
2174 Fixed bug such that toolkit event registrations
2175 (via atk) use the whole event name string, not
2177 Removed a useless call to an ORBit_ method.
2178 * at-bridge/bridge.c :
2179 Removed unused local sbuf[] variable.
2181 We now register for Gtk:GtkWidget:button_press_event
2182 events as well as "focus:" events.
2184 Add some more API from Registry.idl that was missing,
2185 for keystroke listening, keystroke and mouse event
2186 synthesis, and enumeration of accessible desktops.
2188 2001-08-16 Michael Meeks <michael@ximian.com>
2190 * configure.in: use AM_GLIB_GNU_GETTEXT.
2192 * Makefile.am (SUBDIRS): kill intl.
2194 2001-08-15 Michael Meeks <michael@ximian.com>
2196 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2198 * configure.in: upd.
2200 * configure.in: depend on a recent bonobo-activation that
2201 will find our server files ...
2203 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2205 * libspi/accessible.c : accessible_new() :
2206 Now we add the Component interface via bonobo_object_add_interface,
2207 if the contained AtkObject implements AtkComponent.
2208 * libspi/accessible.h : now include "component.h"
2209 * libspi/component.h :
2210 * libspi/component.c : added files - implementation of
2211 bonobo wrapper object for Accessibility/Component
2212 * libspi/listener.c :
2213 Added test code to check for Accessibility/Component:1.0
2214 interface and report whether it is implemented by the
2216 * libspi/registry.c :
2217 Now we check for not only the hash of the whole event
2218 string before relaying the event, we also check the
2219 "minor" event string (without the detail string).
2220 This allows event listeners to be registered against
2221 all events of a certain major+minor type, or just
2222 against a specific major+minor+detail type.
2223 * libspi/accessible.c :
2224 Added implementations for Accessible:get_parent(),
2225 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2226 * libspi/registry.c :
2227 * libspi/listener.c :
2228 Replaced calls to Accessibility_Accessible_ref() and
2229 Accessibility_Accessible_unref() with
2230 calls to bonobo_object_dup_ref() and
2231 bonobo_object_release_unref(), so that the CORBA object
2232 is dup-ed and released when relayed, as well as the bonobo object.
2234 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2236 * libspi/Makefile.am,
2237 registryd/Makefile.am,
2238 at-bridge/Makefile.am.
2239 test/Makefile.am, configure.in:
2240 reverse previous changes.
2242 * /idl/Image.idl: fix typo.
2244 * test/Makefile.am: put DEBUG_FLAGS
2247 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2249 * test/app.c: use argv[0] instead of
2252 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2254 * libspi/Makefile.am,
2255 registryd/Makefile.am,
2256 at-bridge/Makefile.am.
2257 test/Makefile.am, configure.in:
2258 cleanup, replace individual LIBS/CFLAGS with
2259 AT_COMMON_{LIBS|CFLAGS}.
2263 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2265 * configure.in, libspi/Makefile.am:
2266 Change IDL path checking for bonobo-activation
2269 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2271 * registryd/registry.c : separated event listeners to use
2272 3 separate lists (focus, window, toolkit). Began testing
2273 event names against hashes before relaying events.
2274 * test/at.c : now register for events of type "focus:"
2275 * test/app.c : now generate events of type "focus:"
2276 * at-bridge/bridge.c : register with ATK for focus events,
2277 and we now relay those focus events to any "focus:" listeners.
2278 This now works with the bridge as a GTK_MODULE when running test/at.
2279 * libspi/registry.c :
2280 * libspi/listener.c :
2281 now we ref event sources before propagating, and unref on receipt.
2282 * libspi/registry.c :
2283 some changes to internal structs, to support event typestring hashes.
2284 * text/app.c : changed the way the appname is generated.
2285 * cspi : added directory that will hold the C bindings library for
2286 non-CORBA/bonobo-savvy clients.
2287 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2288 * idl/Component.idl : added in parameter to indicate coord system for
2289 geometry-related calls.
2290 * idl/Hyperlink.idl : added readonly n_links attribute
2291 * idl/Image.idl : changed methods to attributes.
2293 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2295 * at-bridge/Makefile.am: link against
2296 ../libspi/libspi.la instead of -lspi.
2298 * at-spi/test/app.c: include
2299 bonobo-activation.h. Use a default appname
2300 if one is not provided.
2302 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2304 * idl/Registry.idl : temporarily changed register_Application
2305 to oneway, to work around issue with initial registration
2307 * idl/Application.idl : changed attribute "id" from readonly
2308 to read-write, since it needs to be assigned by Registry.
2309 * registryd/registryd.c : added call to set application id
2311 * registryd/registry.c : changed de-registration procedure to
2312 use CORBA_Object_hash() to find matching object ref in application
2313 lists and listener lists.
2314 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2315 began distinguishing between event types (work in progress).
2317 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2320 * libspi/application.c:
2321 Added implementations for get/set id, get_toolkitName,
2323 * registryd/registryd.c :
2327 Converted from use of OAF to bonobo-activation.
2328 * libspi/desktop.h :
2329 * libspi/desktop.c :
2331 Removed references to atksimpleobject, since base atkobject
2332 implementation now provides functionality we need.
2333 * libspi/atksimpleobject.c :
2334 * libspi/atksimpleobject.h :
2339 * at-bridge/Makefile.am
2340 * at-bridge/bridge.c
2343 Added directory "bridge" and contents, and added dependencies
2344 in Makefile.am/configure.in.
2345 Initial checkin of "at-bridge".
2346 This code is a GTK_MODULE which automatically registers
2347 GTK+ apps with the accessibility registry, using an object
2348 reference to the root ATK object.
2350 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2352 * po/Makefile.in.in: Remove. Again. If this
2353 doesn't get autogenerated - you need to update
2356 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2358 * po/Makefile.in.in: Add. Again.
2360 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2362 * libspi/accessible.c : added support for 'description' property.
2363 * libspi/accessible.c
2365 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2366 (since the two are now equivalent in libbonobo)
2374 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2375 Bonobo::Unknown as does Accessibility::Accessible.
2376 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2377 interface with Bonobo::Stream, since it was redundant with it.
2378 (The Stream returned by a StreamableContext object is expected to
2379 implement only a subset of Bonobo::Stream)
2381 2001-07-28 Anders Carlsson <andersca@gnome.org>
2383 * libspi/accessible.c (accessible_object_finalize): Change
2384 g_free to g_object_unref since the AtkObject is a GObject.
2386 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2388 * idl/Accessibility.idl: add new IDL files
2391 * idl/Action.idl: Definitions of actionable UI object
2392 * idl/Component.idl: Definitions of UI component geometry, etc.
2393 * idl/Hyperlink.idl: Defs of hyperlink behavior
2394 * idl/Image.idl: Def of accessible image
2395 * idl/Selection.idl: Definition of UI object with selectable children
2396 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2397 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2398 * idl/Text.idl: Interface defs for UI elements with complex textual content
2399 * idl/Value.idl: Definition of UI element that is a value controller or display
2401 2001-07-27 Michael Meeks <michael@ximian.com>
2403 * po/Makefile.in.in: remove autogenerated file from CVS.
2405 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2408 * idl/Registry.idl: include guard.
2410 * idl/Accessibility.idl: Add, and include all the other IDL
2413 * idl/*.idl: remove mass of pragmas etc.
2415 2001-07-26 Michael Meeks <michael@ximian.com>
2417 * registryd/Makefile.am (registryd_SOURCES): remove
2420 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2422 * libspi/.cvsignore, registryd/.cvsignore,
2423 test/.cvsignore: updated.
2425 * po/Makefile.in.in: gettext update.
2427 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2429 * initial CVS checkin
2431 2001-06-29 Michael Meeks <michael@ximian.com>
2433 * configure.in: add AM_CONFIG_HEADER to gen config.h