1 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3 * configure.in: Comment out dummy i18n support for now,
4 otherwise it fails to build.
6 2001-12-07 Michael Meeks <michael@ximian.com>
9 (impl_accessibility_component_get_extents): make it match
12 * libspi/registry.c (_registry_notify_listeners):
13 re-remove X headers & reconcile conflicts.
14 (spi_listener_struct_free): bad conflict resolve.
15 (impl_accessibility_registry_register_application):
16 more bad merging fixed.
17 (impl_accessibility_registry_deregister_application): ditto.
18 (spi_registry_new): ditto.
19 (spi_registry_init): don't have an applications field.
21 [ merge fixups2 branch to here ]
22 2001-12-07 Michael Meeks <michael@ximian.com>
24 * test/simple-at.c (report_focus_event),
25 (report_focussed_accessible): remove g_warning debug.
27 2001-12-07 Michael Meeks <michael@ximian.com>
29 * test/test-simple.c (validate_tree): comment out some checks.
30 (test_desktop): app now not registered idly - horay.
32 2001-12-07 Michael Meeks <michael@ximian.com>
35 (registerAccessibleKeystrokeListener): clean, stop it leaking
36 great swathes of memory, and device event controller references.
37 ensure we always pass valid sequences.
38 (deregisterAccessibleKeystrokeListener): ditto.
39 (generateKeyEvent): upd.
41 * at-bridge/bridge.c (bridge_key_listener): handle
42 registry dead exception gracefully.
43 (bridge_focus_tracker, emit_eventv): free ev.
45 * test/simple-at.c (report_focus_event): fix polarity.
47 * libspi/application.c (notify_listeners): kill the ev
48 argument, and make sure we init the ev we use.
49 (spi_application_object_event_listener): split out a chunk
50 (get_atk_object_ref): here & fixup.
51 (reverse_lookup_name_for_toolkit_event): make const.
52 (spi_application_toolkit_event_listener): fixup, kill leaks
55 * at-bridge/bridge.c (register_atk_event_listeners):
56 don't unref the noop object - causes grief.
58 * libspi/registry.c: remove the X headers.
59 turn off the debug churn.
61 * libspi/accessible.c (spi_accessible_new_return): only
62 release the ref if we are supposed to [doh]
64 * test/simple-at.c (report_button_press, report_focus_event):
65 guard vs. unexpected exit.
67 * at-bridge/bridge.c (gtk_module_init): prune printf.
68 (bridge_exit_func): fix app unref.
70 * libspi/Makefile.am: don't install registry or desktop.h
72 * libspi/*.h: update includes.
74 * libspi/application.h: don't include ourself, or
75 other redundant headers.
77 2001-12-06 Michael Meeks <michael@ximian.com>
80 (get_accessible_from_servant): impl.
81 Upd. all CORBA impl.s to use it killing cut and paste.
83 * cspi/spi_main.c (cspi_cleanup): guard vs. double
85 (SPI_init): register atexit cleanup handler here.
87 2001-12-06 Michael Meeks <michael@ximian.com>
89 * at-bridge/bridge.c (gtk_module_init): g_error on
92 2001-12-06 Michael Meeks <michael@ximian.com>
94 * at-bridge/bridge.c (gtk_module_init): some sort of
95 confusing merge clash - reverted.
96 (bridge_idle_init): ditto.
98 * test/test-simple.c (main, utterable_normal_derefs):
99 merge from Bill - somehow not committed.
101 2001-12-06 Michael Meeks <michael@ximian.com>
103 * libspi/value.c (spi_value_class_init): upd.
104 (spi_value_finalize): kill.
106 * libspi/table.c (spi_table_finalize): kill.
107 (spi_table_interface_new): upd.
108 (spi_table_class_init): upd.
109 (get_table_from_servant): impl.
110 Upd. all CORBA impl.s to use it killing yet more cut and paste.
112 * libspi/selection.c (spi_selection_finalize): kill.
113 (spi_selection_interface_new): upd.
114 (spi_selection_class_init): upd.
115 (get_selection_from_servant): impl.
116 Upd. all CORBA impl.s to use it killing yet more cut and paste.
118 * libspi/relation.c (spi_relation_finalize): kill.
119 (spi_relation_class_init, spi_relation_new): upd
121 * libspi/image.c (spi_image_finalize): kill.
122 (spi_image_class_init): upd.
123 (spi_image_interface_new): upd.
124 (get_image_from_servant): impl.
125 Upd. all CORBA impl.s to use it killing yet more cut and paste.
127 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
128 (spi_hyperlink_finalize): kill.
129 (spi_hyperlink_new): upd.
130 (get_hyperlink_from_servant): impl.
131 Upd. all CORBA impl.s to use it killing yet more cut and paste.
133 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
134 (spi_hypertext_finalize): kill.
135 (spi_hypertext_class_init): upd.
136 (get_hypertext_from_servant): impl.
137 Upd. all CORBA impl.s to use it killing yet more cut and paste.
139 * libspi/editabletext.c (spi_editable_text_finalize): kill.
140 (spi_editable_text_interface_new): upd.
141 (get_editable_text_from_servant): impl.
142 Upd. all CORBA impl.s to use it killing yet more cut and paste.
144 * libspi/text.c (get_text_from_servant): impl.
145 All impls - update to use it killing more cut and paste,
146 also fix bad string returns on duff args ( a somewhat
147 impossible case to handle - but hey ).
148 (spi_text_construct): impl.
149 (spi_text_interface_new): upd.
150 (spi_text_object_finalize): kill.
153 (accessibility_component_object_finalize): kill.
154 (spi_component_class_init): upd.
155 (get_component_from_servant): impl. helper to kill cut & paste.
156 (impl_accessibility_component_contains):
157 (impl_accessibility_component_get_accessible_at_point):
158 (impl_accessibility_component_get_position):
159 (impl_accessibility_component_get_extents):
160 (impl_accessibility_component_get_mdi_z_order):
161 (impl_accessibility_component_get_layer):
162 (spi_component_interface_new): upd.
164 * libspi/action.c (spi_action_finalize): kill.
165 (spi_action_class_init): upd. inherit from SpiObject.
166 (spi_action_interface_new): upd.
167 (get_action_from_servant): impl. helper to reduce cut & paste.
168 (impl_getKeyBinding, impl_getName, impl_doAction),
169 (impl_getDescription): Use it everywhere.
171 * cspi/spi_main.c (get_live_refs): a pointer hash.
172 (spi_object_hash, spi_object_equal): comment out.
173 There are issues with CORBA object hashing that need
176 * libspi/application.c (spi_application_init),
177 (spi_application_new): upd.
179 * libspi/accessible.c (spi_accessible_object_finalize): kill.
180 (spi_accessible_class_init): upd.
181 s/accessible/object/ in epv methods.
183 2001-12-05 Bill Haneman <bill.haneman@sun.com>
185 * at-bridge/bridge.c:
186 Reorder the bridge initialization into the bridge gtk_module_init,
187 an immediate call to bridge_register_app, and an idle_add for
188 register_atk_event_listeners (the only code that *must* wait until
189 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
190 the activation, creates the application's Accessible object, and
191 queues the bridge_idle_init function. Restored call to
192 Accessibility_Registry_deregisterApplication().
193 Prior to making this call we obtain a new reference to the
194 registry, which is a temporary hack that helps us handle apps that
195 shut down the bonobo mainloop before we get there.
198 Fix string leakage in debug block, and don't segv if a an app
199 dies before its event notifications have been propagated.
202 Modify cspi_check_ev() to call g_warning() rather than g_error(),
203 as stopgap measure until we get proper exception handling when
204 objects die during or before interrogation.
208 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
209 Also changed default value of is_gnome_app to TRUE.
212 * test/keysynth-demo.c:
213 Changed use of SPI_init and SPI_event_main to reflect API change above.
216 Made report_focus_event check the warning value from getName
217 before reporting on focussed accessible; simplifies handling of
218 notifications from dead objects.
220 * test/test-simple.c: (Changes not in this patch since source is
223 2001-12-05 Michael Meeks <michael@ximian.com>
225 * registryd/registryd.c (main): protect against
226 bonobo-activation startup race condition.
228 * cspi/spi_main.c (cspi_object_add_check): cope
229 with the exception elegantly.
231 * idl/Accessible.idl: decl. ChildGone
233 * libspi/desktop.c (spi_desktop_dispose): impl.
234 (spi_desktop_class_init): upd.
235 (spi_desktop_add_application),
236 (spi_desktop_remove_application),
237 (abnormal_application_termination): impl.
238 (impl_desktop_get_child_at_index): re-impl.
241 (impl_accessibility_registry_deregister_application),
242 (impl_accessibility_registry_register_application):
243 kill excessive debug clutter.
245 * test/test-simple.c (test_misc): test some NULL
246 tolerance. (main): upd.
248 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
249 implements no interfaces - so let's not crash.
251 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
253 * libspi/accessible.c (spi_accessible_new_return): impl.
254 helper to calm the cut and paste, to cope with
255 NULL AtkObjects effectively and efficiently, and to kill
256 the referencing bugs.
258 * libspi/table.c (impl_getAccessibleAt),
259 (impl_getRowHeader, impl_getColumnHeader): upd.
261 * libspi/hyperlink.c (impl_getObject): upd.
263 * libspi/accessible.c
264 (impl_accessibility_accessible_get_child_at_index): upd.
267 (impl_accessibility_component_get_accessible_at_point): upd.
269 * test/test-simple.c (test_editable_text, test_text): impl.
272 * cspi/spi_editabletext.c
273 (AccessibleEditableText_insertText): constify.
275 * test/test-simple.c (focus_me): make more robust.
277 * libspi/accessible.c: remove some printfs in methods that
278 we test and work fine, so we can get a clean tree dump.
280 * test/test-simple.c (validate_accessible),
281 (validate_tree): make tree dumping pretty too.
283 * at-bridge/bridge.c (bridge_signal_listener): upd. so
284 it builds without debug on.
286 * test/test-simple.c (validate_accessible): fix the most
289 * cspi/spi_main.c (spi_object_release): leave the nicely
290 blanked memory around if in debug mode.
292 * cspi/spi-listener-impl.c (cspi_event): use add_check.
294 [committed to fixups2]
295 2001-12-05 Michael Meeks <michael@ximian.com>
297 * libspi/editabletext.c
298 (spi_editable_text_class_init): g_type_class_peek_parent,
299 not interface peek - so we finalize cleanly.
301 * libspi/accessible.c (spi_accessible_new): kill debug.
303 * test/test-simple.c (validate_accessible): fix ref.
304 leak, print strings before freeing them; sigh, comment a
305 chunk out due to strangeness.
306 (validate_tree): unref the child after use.
308 * cspi/spi_component.c (AccessibleComponent_getLayer):
309 add missing break statement, switch on zlayer not the
310 uninitialized retval.
312 * cspi/spi_main.c (cspi_object_add): add assert, local ref
313 before (possibly re-entering) remote unref.
315 * test/simple-at.c (main): unref the desktop.
317 * cspi/spi_accessible.c (cspi_accessible_is_a): move
320 * cspi/spi_main.c (cspi_accessible_is_a): here to
321 isolate bonobo API usage more.
323 * libspi/registry.c (impl_accessibility_registry_register_application):
326 2001-12-04 Michael Meeks <michael@ximian.com>
328 * test/test-simple.c (validate_tree): upd.
329 IndexInParent check to make it more lucid.
330 (validate_accessible): dump the tree.
332 * libspi/accessible.c (de_register_public_ref),
333 (get_public_refs): impl.
334 (spi_accessible_new): make more efficient & intuitive.
335 Now IndexInParent check works.
337 2001-12-04 Michael Meeks <michael@ximian.com>
339 * cspi/spi-util.h: remove.
341 * cspi/spi.h: move SPI_freeString here
343 * libspi/component.c (impl_accessibility_component_get_layer):
345 (impl_accessibility_component_get_mdi_z_order): ditto,
346 return -1 on error - is this ok ?
348 * test/test-simple.c (test_application): impl.
350 * cspi/spi_accessible.c (Accessible_getApplication),
351 (Accessible_isApplication): impl.
353 * libspi/registry.c (spi_listener_struct_free): release
354 the CORBA reference too.
356 * libspi/accessible.c
357 (impl_accessibility_accessible_get_parent): fix ref leak.
359 * libspi/registry.c (spi_registry_new): make the registry
360 immortal - we don't want it to go away ever.
362 * libspi/application.c
363 (spi_accessible_application_finalize): impl. cleanup.
365 * cspi/spi_registry.c
366 (deregisterGlobalEventListenerAll),
367 (deregisterGlobalEventListener),
368 (deregisterAccessibleKeystrokeListener): fix ref leak.
370 * cspi/spi_main.c (SPI_init): remove redundant ref.
372 * test/test-simple.c (unutterable_horror): impl. to force a
377 (impl_accessibility_registry_deregister_application): release
378 the application when we de-register it.
380 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
381 until we have the infastructure to get it right.
383 2001-12-03 Michael Meeks <michael@ximian.com>
385 * libspi/Makefile.am: only build eventlistener.[ch]
387 * libspi/accessible.c
388 (impl_accessibility_accessible_get_child_at_index): don't leak.
390 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
391 before we hit the idle handler.
393 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
396 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
398 * libspi/listener.c (impl_notify_event): check source
399 not NIL before unref.
401 * libspi/registry.c (impl_registry_notify_event): ditto.
403 * libspi/eventlistener.c
404 (impl_accessible_event_notify_event): unref the source.
406 * libspi/accessibleeventlistener.c
407 (impl_accessible_event_notify_event): unref the source.
409 * idl/Event.idl: remove 'hash_id' attribute - of no
412 * libspi/application.c (notify_listeners): upd list
414 (spi_application_object_event_listener),
415 (spi_application_toolkit_event_listener): upd to do correct
419 (_registry_notify_listeners): update.
420 (parse_event_type): this method also leaks like a sieve.
421 (impl_accessibility_registry_deregister_global_event_listener):
422 fix ETYPE_WINDOW case.
424 * libspi/application.c
425 (impl_accessibility_application_register_object_event_listener):
428 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
430 * libspi/hypertext.c (impl_getLink): ditto.
432 * cspi/spi_main.c (cspi_object_add): remove
433 bogus CORBA_Object_duplicate.
435 * cspi/spi-listener-impl.c (cspi_event): dup/ref
438 * cspi/spi_accessible.c
439 (Accessible_getRelationSet): fix leak / referencing issue.
441 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
442 (cspi_object_add, cspi_object_unref): upd.
443 (spi_object_release, get_live_refs): impl.
444 (cspi_cleanup): simplify.
446 * *.[ch]: s/boolean/SpiBoolean/
448 * cspi/spi_accessible.c (role_names): actualy order so it
449 corresponds with the enum !
451 * test/test-simple.c (test_roles): check some role strings
452 vs. enums to detect offset errors.
454 2001-12-01 Michael Meeks <michael@ximian.com>
456 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
458 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
460 (Accessible_getChildAtIndex): use cspi_add_check so we
461 check the ev before using a (possibly) invalid value.
463 * libspi/accessible.c
464 (impl_accessibility_accessible_get_parent): don't segv
467 * at-bridge/bridge.c (gtk_module_init): upd.
468 (bridge_property_event_listener): don't leak strings
470 (bridge_state_event_listener),
471 (bridge_property_event_listener): don't use a static
472 buffer in case of recursive event emission &
473 re-enterancy - split out the swathe of cut and paste
475 (emit_eventv): and fix 2 ref leaks here & comply to the
477 (bridge_register_app): rename to
478 (bridge_idle_init): this and kill arg parsing, split
479 various inits & bonobo-activation registration to module
480 init time, kill referencing error.
481 (bridge_exit_func): fix the same leak.
482 (bridge_focus_tracker): don't leak event structures
484 (bridge_signal_listener): more leakage and cut & paste
486 (bridge_key_listener): return the result - FIXME is
487 this polarity correct ?
488 (accessibility_keystroke_from_atk_key_event): rename
489 (accessibility_init_keystroke_from_atk_key_event): and stop
491 (gtk_module_init): return a value - not that it is checked by
493 (bridge_key_listener): register my horror at casting between
495 (bridge_get_registry): kill - not used.
497 * cspi/spi_accessible.c (Accessible_getRole): make return const.
499 * test/test-simple.c (test_roles): impl.
500 (test_desktop, validate_accessible, validate_tree): impl.
502 * cspi/spi_accessible.c (role_names): fixup bogus
503 MAX_ROLES setup, make constants const for efficient linkage
504 (AccessibleRole_getName): conform to coding style, make
507 2001-11-30 Michael Meeks <michael@ximian.com>
509 * cspi/spi.h: add missing prototype.
511 * libspi/registry.c (spi_listener_struct_new): fix sig.
513 * test/Makefile.am: add test-simple
515 * test/test-simple.c: add
519 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
521 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
522 do it straight - since otherwise we often get an activation race.
524 [ work before Bill duplicated a chunk of it ... ]
525 2001-11-30 Michael Meeks <michael@ximian.com>
527 * libspi/keystrokelistener.c
528 (spi_keystroke_listener_class_init): fixup arg
531 * libspi/eventlistener.c
532 (spi_event_listener_class_init): ditto.
534 * tests/test.sh: add.
536 * cspi/spi-listener-impl.h: update macros.
538 * cspi/spi-listener-impl.c
539 (cspi_event_listener_remove_callback): add
540 correct pre-conditions.
542 * cspi/spi_main.c (SPI_exit): guard vs. double
543 exits, exit the mainloop nicely.
544 (SPI_event_main): make more sense.
545 (SPI_init): move the atexit evilness here so we
547 (SPI_event_main): upd.
549 * test/simple-at.c: update for listener changes.
551 * registryd/registryd.c (main): prune kruft.
553 * libspi/libspi.h: upd.
555 * libspi/eventlistener.[ch]: rename broken macros.
557 * libspi/accessibleeventlistener.[ch]: remove.
559 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
561 * test/test-simple.c: Add - automated tests.
563 * cspi/spi-listener-impl.c (cspi_event),
564 (cspi_key_event): add user_data to invoke.
565 (cspi_keystroke_listener_finalize): impl.
566 (cspi_keystroke_listener_class_init): upd.
569 (createAccessibleEventListener),
570 (AccessibleEventListener_addCallback),
571 (createAccessibleKeystrokeListener),
572 (AccessibleKeystrokeListener_addCallback): upd.
574 * libspi/deviceeventcontroller.c
575 (spi_device_event_controller_check_key_event): add public proto.
578 (impl_accessibility_registry_deregister_global_event_listener):
579 always init listeners.
580 (_registry_notify_listeners): yes it is.
582 * cspi/spi-listener-impl.c (cspi_key_event):
584 (cspi_event_listener_finalize): impl.
585 (cspi_event_listener_class_init): hook up.
586 (event_handler_new, event_handler_free),
587 (event_list_remove_by_callback): impl.
588 (cspi_event_listener_remove_callback),
589 (cspi_keystroke_listener_remove_callback),
590 (cspi_keystroke_listener_add_callback),
591 (cspi_event_listener_add_callback): upd.
593 * libspi/keystrokelistener.c
594 (keystroke_listener_object_finalize): kill
595 (spi_keystroke_listener_class_init): upd.
596 (spi_keystroke_listener_add_callback),
597 (spi_keystroke_listener_remove_callback): kill,
599 (impl_key_event): prune drasticaly.
601 * libspi/eventlistener.c
602 (spi_event_listener_add_callback),
603 (spi_event_listener_remove_callback): kill, use
605 (impl_accessible_event_notify_event): upd.
606 (spi_event_listener_object_finalize): remove.
608 * libspi/Makefile.am: use eventlistener.[ch]
610 2001-12-04 Bill Haneman <bill.haneman@sun.com>
612 * libspi/registry.c (_registry_notify_listeners):
613 Changed listener loop iteration to use preferred convention.
614 Got rid of string memory leaks caused be calling g_strconcat
615 inside function calls.
617 * libspi/registry.c (parse_event_type):
618 Stopped g_strconcat memory leaks, free the g_strsplit return,
619 g_strdup the split pieces when used, etc.
621 2001-12-04 Bill Haneman <bill.haneman@sun.com>
624 Change method 'compare' to return a 'difference set' rather than
625 taking a StateSet as an out parameter (more Java-friendly).
627 * idl/Accessible.idl:
628 Added CORBA struct 'BoundingBox', to faciliate API changes below:
632 Changed methods 'getExtents' and 'getImageExtents' in these
633 interfaces to return a BoundingBox structure.
634 (getPosition and getSize are redundant and possibly should be
635 removed, rather than creating a corresponding Point struct.)
637 * cspi/spi_component.c:
638 Modify implementation of getExtents to reflect the above IDL
643 Add (missing) AccessibleImage_getExtents () API.
645 * docs/reference/cspi/at-spi-cspi-sections.txt:
646 Added AccessibleImage_getImageExtents () to docs.
648 2001-12-03 Bill Haneman <bill.haneman@sun.com>
651 Added two methods, getLayer () and getMDIZOrder (), to reflect
652 the new ATK methods atk_object_get_layer and
653 atk_object_get_mdi_z_order. (Which arguably should be part of the
654 AtkComponent API and AtkObject). Also added an enum,
655 ComponentLayer, for the first method's return value.
657 * libspi/component.c:
658 Added implementations for these methods.
660 * cspi/spi_component.c:
662 Added cspi binding methods for above,
663 AccessibleComponent_getLayer() and
664 AccessibleComponent_getMDIZOrder().
665 Added cspi enum 'AccessibleComponentLayer'.
667 * docs/reference/cspi/at-spi-cspi-sections.txt:
668 Added above methods to docs.
672 Changed typedef for 'boolean' type (and all references to it) to
673 SPIBoolean, to avoid keyword clashes with C++.
676 Changed usages of 'boolean' to SPIBoolean.
678 * test/keysynth-demo.c:
679 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
680 app), except where SPIBoolean is required by the callbacks API.
682 2001-12-02 Bill Haneman <bill.haneman@sun.com>
684 * cspi/spi_registry.c:
685 Removed obsolete X event loop for passive keygrabs (which now
688 * registryd/registryd.c:
689 Removed unnecessary call to gdk_init() [cruft]. This also allows
690 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
693 2001-11-28 Bill Haneman <bill.haneman@sun.com>
695 * docs/reference/cspi:
696 Included docs for SPI_freeString in generated documentation.
699 Renamed spi_freeString to SPI_freeString, for consistency. Added
700 documentation for this function.
703 Renamed spi_freeString to SPI_freeString, for consistency.
704 Removed obsolete method declaration string_from_corba_string.
706 * test/keysynth-demo.c:
707 Small tweak to comments.
710 Stopped leaking the strings returned from CSPI.
712 2001-11-28 Bill Haneman <bill.haneman@sun.com>
714 Merged Michael's branch (see his ChangeLog entries below).
716 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
717 bridge is alive, release on exit.
719 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
720 Fix type check macro.
723 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
726 Added is_gnome_app static, and method cspi_is_gnome_app(),
727 so we can call the appropriate shutdown routine at exit in SPI_exit.
729 * cspi/spi_main.c (cspi_object_ref):
730 Duplicate the corba object passed in, since we're keeping it around.
732 * cspi/SPI_exit.c, cspi_cleanup:
733 Moved the releasing of the live refs to its own function, so we
734 can put it in g_atexit (). Call the appropriate shutdown API
735 depending on whethe calling client is a gnome app or not
736 (bonobo_main_quit or CORBA_ORB_shutdown).
738 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
739 Unref the listener when this method is called, after
740 deregistration. Updated the API docs to note this behavior.
742 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
743 Bugfixes: Ref the bonobo object when returning a parent or child
744 reference, or an AccessibleRelation. Generally made sure
745 BonoboObject refcount is incremented whenever we return an
748 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
749 Fixed typo/bug in signal declaration.
751 * libspi/accessibleeventlistener.h:
754 * libspi/application.c (spi_application_new):
755 Fixed leak in initialization.
758 Remembered to increment bonobo-object refcount when returning
759 children (applications) from desktop object.
760 Added (empty) finalize method.
762 * libspi/deviceeventcontroller.c:
763 Hold a ref to listeners inside DEControllerKeyListeners.
764 Added dec_key_listener_free() method. Use prepend instead of
765 append in key_listener list. Fixed some refcount madness and
766 leaks in the listener registration/deregistration - deregistration
767 now calls dec_key_listener_free() on listeners, and on the
768 temporarily constructed dec_key_listener() used to perform the search/match.
770 * libspi/hypertext.c (spi_hypertest_finalize):
771 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
772 class. Also fixed spi_hypertext_interface_new() and
773 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
775 * libspi/hypertext.h:
776 Removed pointless and duplicate AtkObject pointer from
779 * libspi/keystrokelistener.c:
780 Fixed incorrect type of keystroke_listener_parent_class,
781 renamed keystroke_listener_object_finalize to
782 spi_keystroke_listener_object_finalize.
783 Fixed typo in signal declaration
784 (spi_keystroke_listener_class_init).
787 Added funcsions spi_listener_struct_new() and
788 spi_listener_struct_free() to help with memory management issues.
789 We also now use these methods instead of gnew + poking stuff into
790 the struct, and to decrement listener counts/free the listeners
791 when deregistering them.
792 Fix more refcount bugs in getDesktop() and
793 getDeviceEventController().
796 De-ref the desktop after enumerating the applications. Explicitly
797 decrement the refcounts on the created listeners on exit (using
798 _unref for keystroke listeners, and via the
799 deregisterGlobalEventListenerAll command for other event
802 2001-11-27 Michael Meeks <michael@ximian.com>
804 * cspi/spi-listener.h: fixup enum.
806 2001-11-27 Michael Meeks <michael@ximian.com>
808 * cspi/spi-listener-impl.c (cspi_event_listener_new),
809 (cspi_keystroke_listener_new): Use the cspi variants.
811 2001-11-26 Michael Meeks <michael@ximian.com>
813 * test/keysynth-demo.c: fix 2 compile warnings, missing
816 * test/simple-at.c (report_focussed_accessible),
817 (report_focus_event, report_button_press),
818 (check_property_change, is_command_key),
819 (report_ordinary_key_event, report_command_key_event): upd.
821 * util/mag_client.h: include pre-requisites.
823 * libspi/accessibleeventlistener.c
824 (spi_event_listener_object_finalize): free any lingering
827 * libspi/keystrokelistener.c
828 (keystroke_listener_object_finalize): ditto.
830 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
831 callbacks, with cspi types.
833 * cspi/spi_event.c (createAccessibleEventListener): chain to
834 (AccessibleEventListener_addCallback): here.
835 (createAccessibleKeystrokeListener): chain to
836 (AccessibleKeystrokeListener_addCallback): here.
838 * libspi/keystrokelistener.c
839 (spi_keystroke_listener_class_init): add signal.
840 (impl_key_event): emit the event.
841 (boolean_handled_accumulator): impl.
842 (marshal_BOOLEAN__POINTER): add, gack.
844 * libspi/accessibleeventlistener.c
845 (spi_event_listener_class_init): add signal.
846 (impl_accessible_event_notify_event): emit the signal &
847 make the loop efficient.
848 (spi_event_listener_add_callback): prepend the callback.
850 * libspi/accessibleeventlistener.h: add an 'event' signal,
851 decl type on callback.
853 * libspi/keystrokelistener.h: ditto.
855 * cspi/spi-listener.h: make methods typesafe and
856 make them use the new event typedefs.
858 * test/simple-at.c (report_focussed_accessible):
860 Use *(void *)text_interface not the other thing.
862 * configure.in: add gtk to registryd bits - since we use
865 * util/magnifier.c: include libbonobo.h
867 2001-11-25 Bill Haneman <bill.haneman@sun.com>
869 * test/keysynth-demo.c:
870 Turned this into a simple scanning keyboard, to demonstrate the
871 use of g_timeout_add () as a means of creating timers for
872 scanning, and the use of GtkStyle for visually indicating when
873 virtual keyboard elements are selected.
875 keysynth-demo now listens to any keyboard keys with zero-valued
876 keycodes (i.e. 'unused' keys) and interprets them as
879 Reworked the shiftlatch code so that shift-down state isn't held
880 for long periods (it's only synthesized immediately prior to
881 the keysynth event it's modifying). Note that shiftlatch in this
882 demo is a convenience, not intended to take the place of AccessX
883 which is the better choice for getting 'sticky' modifier keys.
885 * libspi/deviceeventcontroller.c:
886 * at-bridge/bridge.c:
887 * cspi/spi_registry.c:
888 Removed some debug print stuff, and put other verbosity in #ifdef
893 Implemented some more of the magnifier IDL for the simple
894 magnifier: namely, getZoomRegionParams.
895 Added mag_x and mag_y members to MagnifierData struct, aid of this
897 Added GtkWindow::realize signal handler to magnifier, to keep it
898 from receiving keyboard focus from the WM.
900 2001-11-23 Mark McLoughlin <mark@skynet.ie>
902 * cspi/spi-private.h: my guess at what michael forgot
903 before he ran off to NZ :-)
905 2001-11-23 Michael Meeks <michael@ximian.com>
907 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
908 comment out non existant method invoke so we link.
910 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
911 use bonobo_exception_get_text for more friendly warnings.
913 * cspi/spi.c (Obj_Add): move into spi_main & rename
914 spi_object_add; kill spi.c
916 * cspi/spi_registry.c
917 (deregisterGlobalEventListener),
918 (deregisterGlobalEventListenerAll),
919 (registerGlobalEventListener): fix exception leaks.
921 * cspi/spi_main.c (spi_exception): impl. helper, so we
922 don't leak exceptions.
924 * cspi/spi_selection.c
925 (AccessibleSelection_deselectSelectedChild): return the
928 * cspi/spi_main.c (spi_ev): impl; hack - gack.
929 (spi_registry): ditto.
930 (SPI_init): guard against double inits.
932 * cspi/*.c: use spi_ev (), and spi_registry () where
933 appropriate - a temporary hack until we have something
934 better. Use spi_object_add
936 2001-11-22 Michael Meeks <michael@ximian.com>
938 * cspi/Makefile.am: re organise, install the headers.
940 * cspi/*.h: add G_BEGIN/END_DECLS
942 2001-22-11 Bill Haneman <bill.haneman@sun.com>
945 Added non-preemptive keylistener for key events with no modifiers
946 and shift-only modifier.
948 * libspi/keystrokelistener.c:
949 Removed some verbose diagnostics printout.
951 * cspi/spi_registry.c:
952 Fixed a bug that caused all key listeners to be registered as
955 * libspi/deviceeventcontroller.c:
956 Fixed bug that caused XGrabKey (preemptive key grab) to be called
957 for non-preemptive key masks.
960 2001-22-11 Bill Haneman <bill.haneman@sun.com>
962 * docs/reference/idl/at-spi-idl-docs.sgml:
963 * docs/reference/idl/at-spi-idl-sections.txt:
964 * docs/reference/idl/at-spi-idl-overrides.txt:
967 * docs/reference/Makefile.am:
968 removed idl from SUBDIRS until we can figure a way to get gtk-doc
969 to scan the IDL files :-(
974 Added .cvsignore files.
976 2001-21-11 Bill Haneman <bill.haneman@sun.com>
978 * libspi/deviceeventcontroller.c:
979 * libspi/keystrokelistener.c:
981 * cspi/spi_registry.c:
982 Added filters for KeySets, KeyEventSeq, and event types to key
983 event dispatching, so listeners should only receive those events
984 that they requested :-)
986 2001-21-11 Bill Haneman <bill.haneman@sun.com>
991 * docs/reference:Makefile.am:
992 * docs/reference/cspi:
993 * docs/reference/cspi:Makefile.am:
994 * docs/reference/cspi:tmpl:
995 * docs/reference/cspi:tmpl:*.sgml:
996 * docs/reference/idl:
997 * docs/reference/idl:Makefile.am:
998 * docs/reference/idl:at-spi-idl-sections.txt:
999 * docs/reference/idl:at-spi-idl-docs.sgml:
1000 * docs/reference/idl:tmpl:
1001 * docs/reference/idl:tmpl:*.sgml:
1003 Restructured docs directory to allow separate 'reference' docs
1004 section, and forked idl and cspi docs. Added the sgml template
1005 files to CVS. Added the first sections/structural sgml for the
1008 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1010 * configure.in, libspi/Makefile.am: find libXtst.
1012 2001-11-21 Michael Meeks <michael@ximian.com>
1014 * test/accessx-gui.c: s/spi_value/value/ - doh.
1016 * libspi/base.[ch]: add.
1018 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1020 * idl/Accessible.idl:
1021 * idl/Application.idl:
1024 Started gtk-doc cleanup on IDL.
1026 * libspi/deviceeventcontroller.c:
1027 Added and connected non-preemptive key notification from the
1028 toolkits (in addition to the pre-emptive support from XServer
1029 which we had before, but which causes 'focus flashing'). Filters
1030 are presently limited to key modifiers and global/non-global,
1031 KeySets are presently ignored, as are KeyEvent masks.
1033 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1034 structs into the persistant structure rather than just storing
1035 pointers to things that might not persist across servant
1038 The XGrabKey call now does async keygrabs, because synchronous
1039 ones were deadlocking with GDK_event code in a very nasty way.
1041 Added boolean to internal method notify_keylisteners, to indicate
1042 whether the event came from the 'toolkit source' or the 'global
1043 (XServer) source' - this is used in the notification process to
1044 determine which listeners to send the event to.
1046 deviceeventcontroller.c is now warning-free.
1048 * libspi/registry.c:
1049 Fixed regression in application de-registration.
1050 Also fixed some really brain-dead weirdness having to do with
1051 event dispatching - event structs are now duplicated before being
1052 re-marshalled in the dispatch to listeners. This also fixes a
1053 Solaris build problem.
1056 2001-20-11 Michael Meeks <michael@ximian.com>
1059 (impl_accessibility_registry_deregister_global_event_listener):
1062 * libspi/deviceeventcontroller.c
1063 (spi_device_event_controller_check_key_event): return
1064 FALSE on no virtual method.
1066 * libspi/*..h: make includes work on a correctly pathed install.
1068 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1070 * libspi/application.h: kill unused ( and whacked out )
1071 gboolean *spi_application_set_id (AtkObject *app, long id);
1073 2001-20-11 Michael Meeks <michael@ximian.com>
1075 * libspi/*.[ch]: further convert to bonobo's type func
1076 macros, remove redundnant casts etc.
1078 * libspi/text.c s/accessibility_text/spi_text/g,
1079 re-order to de-cruft.
1081 * libspi/hypertext.c: re-order to kill a huge slew
1082 of redundant forward decls.
1084 * libspi/relation.c: ditto.
1086 * libspi/image.c: ditto.
1088 * */.cvsignore: update
1090 2001-20-11 Michael Meeks <michael@ximian.com>
1092 * libspi/deviceeventcontroller.c
1093 (_controller_register_with_devices): use g_getenv,
1094 kill stdlib.h include.
1096 * libspi/keystrokelistener.c
1097 (spi_keystroke_listener_get_type): kill
1098 (spi_keystroke_listener_class_init),
1099 (spi_keystroke_listener_init): rename to this.
1101 * libspi/text.c (impl_getAttributes): fix warning / bug.
1103 * libspi/*.[ch]: more headers, includes and over commenting.
1105 2001-20-11 Michael Meeks <michael@ximian.com>
1107 * libspi/*.[ch]: fixup headers, includes and over commenting.
1109 * libspi/image.c (impl__get_imageDescription): const
1110 correctness warning fix. remove redundant casting.
1112 * libspi/table.c (impl_getRowDescription): ditto.
1113 (impl_getColumnDescription): ditto.
1115 * libspi/libspi.h: add.
1117 2001-19-11 Michael Meeks <michael@ximian.com>
1119 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1121 * libspi/component.c (accessibility_component_get_type):
1122 rename to (spi_component_get_type): and macroify.
1123 (accessibility_component_init): rename to
1124 (spi_component_init): this
1125 (accessibility_component_class_init): rename to
1126 (spi_component_class_init): this
1128 * libspi/action.c (spi_action_get_type): kill, use the macro.
1130 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1133 * libspi/application.c (spi_application_object_event_listener),
1134 (impl_accessibility_application_register_object_event_listener):
1135 warning fixes / const understanding updates.
1137 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1140 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1142 * libspi/spi_accessible.c: Added docs and C bindings for
1143 AccessibleStateSet. (No implementations yet). Documentation
1144 coverage for C bindings now 100%. Made docs for event listeners
1149 boolean notifyListenersSync (in DeviceEventListener listener,
1150 in DeviceEvent event);
1152 oneway void notifyListenersAsync (in DeviceEventListener listener,
1153 in DeviceEvent event);
1155 Added DeviceEventListener and DeviceEvent structs (may deprecate
1156 KeyStroke and KeystrokeListener in favor of this generic
1157 event/listener framework for devices).
1159 * libspi/deviceeventcontroller.c:
1161 Changed some key listener code to take masks, etc., and paved the
1162 way for integration of toolkit/non-preemptive key events. Changed
1163 signatures of some internal methods.
1165 * at-bridge/bridge.c:
1166 Fixed regression connecting to interface signals, apparently
1167 caused by GTK+ changes.
1169 Added an internal bridge_state_listener to deal with
1170 property-change:accessible-state signals.
1172 Changed the key_listeners GList to store structs (including masks,
1173 etc.) instead of just CORBA_Objects (required for full
1174 implementation of key listener API).
1176 Connected the bridge to all currently supported Atk signals.
1177 Events now supported:
1178 object:property-change
1179 object:property-change:accessible-name
1180 object:property-change:accessible-state
1181 object:property-change:accessible-description
1182 object:property-change:accessible-parent
1183 object:property-change:accessible-value
1184 object:property-change:accessible-role
1185 object:property-change:accessible-table-caption
1186 object:property-change:accessible-table-column-description
1187 object:property-change:accessible-table-column-header
1188 object:property-change:accessible-table-row-description
1189 object:property-change:accessible-table-row-header
1190 object:property-change:accessible-table-summary
1191 object:children-changed
1192 object:visible-data-changed
1193 object:selection-changed
1194 object:text-selection-changed
1196 object:text-caret-moved
1198 object:row-reordered
1200 object:column-inserted
1201 object:column-reordered
1202 object:column-deleted
1203 object:model-changed
1205 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1207 * libspi/hyperlink.c,h:
1208 Fixed some broken stuff in hyperlink.
1210 * libspi/relation.h:
1211 * libspi/relation.c:
1212 * cspi/spi_accessible.c:
1213 Initial implementations of AccessibleRelation methods, and docs.
1215 * libspi/accessible.c:
1216 Fixed a bug that caused SEGV if an accessible
1217 object's description is NULL, and a client
1218 requests it. An empty string is now returned.
1220 * cspi/spi_editabletext.c:
1221 * cspi/spi_hypertext.c:
1223 * cspi/spi_hyperlink.c:
1227 Doc coverage now 95%.
1229 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1231 One last namespacing revision:
1232 * libspi/accessibleeventlistener.[ch]:
1233 Renamed SpiAccessibleEventListener to SpiEventListener,
1234 (no need for two namespaces ;-)
1236 And lots of documentation fixes:
1238 * docs/at-spi-docs.sgml:
1239 Fixed 'underscore vs. hyphen' bug that was preventing
1240 the gtk-doc API docs from being automatically generated.
1243 * cspi/spi-listener.h
1245 * cspi/spi_accessible.c
1247 * cspi/spi_application.c
1248 * cspi/spi_component.c
1249 * cspi/spi_editabletext.c
1251 * cspi/spi_hypertext.c
1253 * cspi/spi_registry.c
1254 * cspi/spi_selection.c
1258 * docs/at-spi-docs.sgml
1259 * docs/at-spi-sections.txt
1261 Added and fixed up gtk-doc documentation in cspi.
1263 Interfaces now (fully) documented (subject to revision and enhancement):
1265 Event Listener Support
1267 AccessibleApplication
1271 AccessibleEditableText
1278 AccessibleRelationSet
1283 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1285 * at-bridge/bridge.c:
1286 Initial work for toolkit-level key snooper connection by bridge.
1291 New typedefs and fixes to support new namespacing, and cleaner
1292 separation of cspi bindings from libspi bonobo implementation.
1293 Removed inconsistent and extraneous Spi* namespace prefix that
1294 had crept into cspi headers.
1295 Lots of comment fixes that sed had missed.
1297 * cspi/spi-roletypes.h:
1298 * cspi/spi-statetypes.h:
1299 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1300 to AccessibleRoleType.
1302 * libspi/accessibleeventlistener.h:
1303 Fixed minor namespacing weirdness.
1305 * libspi/deviceeventcontroller.c:
1306 Reordered some internal API for device listeners.
1307 Changed the key registry final boolean to 'is_system_global'
1308 rather than 'is_synchronous', which is more descriptive of its
1310 Added spi_device_event_controller_new().
1311 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1313 * libspi/keystrokelistener.[ch]:
1314 Namespaced KeystrokeListener to SpiKeystrokeListener.
1315 Changed uses of keymasks to use SPI_ prefix, and did other
1318 * libspi/keymasks.h:
1319 Namespaced keymask constants with SPI_ prefix.
1321 * libspi/registry.c:
1322 Some warning fixes, and knock-on fixes from namespace changes.
1325 Added rules for accessx-gui test program.
1327 * test/accessx-gui.c:
1328 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1329 utility. It doesn't actually use at-spi, but it's still cool and
1332 * test/keysynth-demo.c:
1336 Fixes so that these test clients work properly with the namespaced
1337 libraries. (Incompletely tested for technical reasons, fixes may follow)
1340 2001-13-11 Michael Meeks <michael@ximian.com>
1342 * libspi/application.c
1343 (impl_accessibility_application_get_version),
1344 (impl_accessibility_application_get_toolkit_name):
1346 (impl_accessibility_application_set_id),
1347 (impl_accessibility_application_get_id): remove
1348 redundant casting code.
1350 * libspi/action.c (impl_getDescription): fix warnings.
1352 * libspi/accessible.c
1353 (impl_accessibility_accessible_get_parent),
1354 (impl_accessibility_accessible_get_child_at_index),
1355 (impl_accessibility_accessible_get_state),
1356 (impl_accessibility_accessible_get_relation_set):
1357 warning fixes & include action.h
1359 2001-13-11 Michael Meeks <michael@ximian.com>
1361 * *.[ch] fix bits I screwed up:
1363 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1364 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1366 2001-13-11 Michael Meeks <michael@ximian.com>
1368 * *.[ch] Namespace libspi into spi_ and Spi.
1370 2001-13-11 Michael Meeks <michael@ximian.com>
1372 * Makefile.am: dist & install at-spi-1.0.pc
1374 * libspi/Makefile.am: install into at-spi-1.0
1376 * idl/Makefile.am (idldir): install into at-spi-1.0
1378 * at-spi-1.0.pc.in: add.
1380 * configure.in: build it.
1382 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1384 * test/keysynth-demo.c:
1385 Use a 'realize' signal-handler to set the WM properties for
1386 the virtual keyboard, rather than making it a "POPUP" type
1387 override-redirect window (thanks to anders carlsson for that
1390 2001-11-11 Bill Haneman <bill.haneman@sun.com>
1393 * test/keysynth-demo.c:
1394 Added new test of key synthesis, which creates a simple
1395 (mouse-operated) onscreen keyboard. It inserts key events into
1396 the currently-focused window, thus it does not grab keyboard focus
1399 * cspi/spi_registry.c:
1400 Added C binding for AT-SPI generateKeyEvent.
1402 * libspi/deviceeventcontroller.c:
1403 Added call to XFilterEvent so that key listener works with XIM (we
1404 hope). Added event_synth_type to generateKeyEvent, so that we can
1405 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1406 synthesize a press/release pair for KeySyms.
1408 2001-11-09 Bill Haneman <bill.haneman@sun.com>
1410 * libspi/Makefile.am:
1411 * registryd/Makefile.am:
1412 (temporary) hack to include libXtst in libspi and registryd.
1413 (Needed for keystroke synthesis, see below).
1416 Improved API for registerKeystrokeListener, in accordance with
1417 discussions with Gnopernicus team and X server research.
1419 * libspi/registry.c:
1420 * libspi/deviceeventcontroller.c:
1421 * libspi/accessible.c:
1422 * libspi/keystrokelistener.c:
1423 Changes and fixes to support keylisteners for potentially
1424 consumed key events (that is, 'passive grabs').
1425 Added implementation for generateKeyEvent() [untested].
1428 Changes to registerKeystrokeListener() API, as above.
1429 Added deregisterGlobalEventListenerAll(), and
1430 deregisterKeystrokeListener(), which are needed for clean exit of
1432 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1433 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1435 * cspi/spi_registry.c:
1436 Added implementations of function prototypes mentioned above.
1438 * registryd/registryd.c:
1439 Added the key listener event source as a g_timeout(), to allow
1440 receipt of key events that are not caught by GDK (since GDK
1441 doesn't support passive keygrabs, this was necessary).
1444 Changed to attach a keylistener to 'Alt' keys, and
1445 respond to the following keycommands: Alt-M (toggle magnifier);
1446 Alt-F (toggle speech); Alt-Q (quit).
1447 Added an exit routine to deregister the listeners, and a key
1448 listener that prints some key info to the console when a key
1449 matches the listener mask (and is thus received by the listener).
1451 * util/idl/Magnifier.idl:
1452 Changes to magnifier API to support multiple zoom regions,
1453 non-uniform scaling in x and y, markDirty, and a host of other
1454 features that would be useful to magnification.
1457 * util/mag_client.c:
1458 * util/mag_client.h:
1459 * util/mag_control.c:
1461 Source code changes to support the above IDL changes.
1464 As above, and also changes to use a (slower) generic conversion
1465 path for colormap conversions, since the fast RGB conversions have been
1466 reported to fail for 16-bit displays.
1468 2001-10-26 Michael Meeks <michael@ximian.com>
1470 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1472 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
1474 * at-bridge/Makefile.am: fix LDFLAGS.
1476 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1478 * at-bridge/bridge.c:
1479 Re-worked listeners for toolkit events, now we have signal
1480 and property listeners. Added a private method
1481 register_atk_event_listeners(), which registers with the
1482 various atk and gtk signals we need to monitor in order to emit
1484 Added emission hook for AtkObject:property-change events, to
1485 support the 'property listeners'.
1486 Fixed some alloc()s of Accessibility_Event structs to use CORBA
1489 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1490 which emit warnings and exit, respectively, if CORBA errors occur
1491 during remote calls, and we now use these methods to check most of
1492 our CORBA calls in the C bindings.
1494 * cspi/spi_accessible.c:
1495 Changed AccessibleSelection_refSelectedChild() to
1496 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1497 now increment refcounts.
1499 * cspi/spi_component.c:
1500 Fixed some long pointer casts (dangerous!) to pass pointers to
1501 CORBA_longs of the proper type to the CORBA stubs, and copy the
1502 data into the longs that were passed into the C bindings code.
1504 * at-bridge/bridge.c:
1506 * libspi/accessible.c:
1507 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1508 hyperlinks, AtkHyperlink is an object type.
1510 * libspi/application.c:
1511 Added various conversions to and from "generic" event types and
1512 atk-specific types; this is really part of the 'bridge'
1513 implementation but is valid for all AtkObject-based accessibility
1516 * libspi/editabletext.c:
1517 Fixed nasty bug wherein editable text's finalize method was
1518 unref'ing tha AtkObject reference that the text parent class was
1519 about to unref _again_. There was also a nasty inheritance bug
1520 that meant that the AccessibleEditableText class was corrupt.
1522 * libspi/selection.c:
1523 Provided implementations for some selection API that was broken.
1525 * idl/Application.idl:
1526 Added registerObjectEventListener () method.
1529 Fixed a number of return values that were Bonobo_Unknowns from
1530 bonobo_object_corba_objref(), which I
1531 forgot to dup before returning. Changed instances of
1532 bonobo_object_corba_objref (bonobo_object(o)) to
1533 BONOBO_OBJREF(o), for concision and clarity.
1535 <2001-10-13 Louise Miller <louise.miller@sun.com>
1537 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1538 idl/Event.idl, idl/Registry.idl
1539 Changed these files to include Bonobo_Unknown.idl instead
1542 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
1544 * libspi/component.c libspi/component.h:
1545 Fixed typo. Added assertions for object checks in
1546 AccessibleComponent code.
1548 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
1550 * idl/Accessible.idl:
1551 Added 'isEqual (Accessible *object)'
1552 method for Accessible. (Not Yet Implemented).
1555 Changed signature of registerKeystrokeListener() to
1556 take a KeySet and KeyEventSeq so that specific keys and event
1557 types could be requested for monitoring, and added a flag
1558 is_synchronous so that either synchronous or asynchronous
1559 notification could be requested. (However this is not all
1560 implemented yet). This also meant adding two new typedefs,
1561 KeyEventSeq and KeySet.
1564 Added two new relations, RELATION_TOOLTIP_FOR and
1565 RELATION_LEAFNODE_OF.
1568 Added new state, STATE_HAS_TOOLTIP.
1570 * libspi/text.c, editabletext.c:
1571 Added new assertions to all casts of bonobo-objects from
1572 CORBA servants, to prevent Text API calls on non-text objects.
1573 Changed suspect casts of int-pointer types, so that we
1574 always send a valid CORBA_long pointer to the CORBA APIs that use
1575 in/out long parameters. We then have to copy from the CORBA_long
1576 into the regular long or int for return to the C bindings, or
1577 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1580 * libspi/deviceeventcontroller.c:
1581 Cleaned these sources up.
1583 Changed return type for getCharacterAtOffset to
1584 CORBA_unsigned_long, to allow for 32-bit characters.
1587 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
1591 Fixed 'make dist' so that distro compiles...
1592 * libspi/keymasks.h:
1594 * cspi/spi-listener.c:
1595 KeystrokeListenerCB now returns a boolean.
1597 Added KeyEventType struct, and KeyStroke.
1598 Also added createKeystrokeListener(),
1599 KeystrokeListener_addCallback(),
1600 KeystrokeListener_removeCallback(), and added a keymask to
1601 registerKeystrokeListener().
1602 * cspi/spi_accessible.c:
1603 Changed numerous return types for interfaces from
1604 AccessibleComponent to Accessible<InterfaceName>; this was
1605 probably a cut-and-paste error.
1607 Implementations of new KeystrokeListener api (from spi.h,
1610 Changes to key modifier mapping.
1611 Created ControllerEventMask struct.
1612 Made DeviceEventController derive from Bonobo::Unknown.
1614 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1615 * libspi/deviceeventcontroller.c:
1616 Added a number of new internal (private) methods.
1617 * libspi/editabletext.c:
1618 * libspi/editabletext.h:
1619 Fixed a number of bugs related to the fact that
1620 editabletext inherits from text. Fixed the EditableText struct,
1621 the init() call, and use correct casts when calling Text methods
1622 from an EditableText object. Removed (duplicate) atko from the
1623 EditableText structure, we use the one in the parent Text
1624 structure via the casts mentioned above.
1625 * libspi/keystrokelistener.[ch]:
1626 * libspi/registry.c:
1627 Changes in support of keyboard handling (above).
1629 Keyboard handling, though partly functional, is still not
1630 recommended for at-spi client use as there is considerable
1631 work yet to be done.
1634 Changed some places where pointers to various int types
1635 are cast to be pointers to CORBA_long types and vice-versa:
1636 pointer casting is not safe so we pass pointers of the correct
1637 types and then cast the result before putting it into the target
1640 * libspi/text.h: minor typos corrected.
1642 We now speak not only the name of a Text element, but the
1643 first sentence of its content, when it receives focus.
1644 I also changed the text compression to 75% from 50%.
1645 * util/Accessibility_Util.server.in:
1646 Changed the default magnifier type to be a 3x vertical
1647 splitscreen magnifier (was previously a 2x horizontal one).
1649 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
1651 * libspi/keystrokelistener.h:
1652 * libspi/keystrokelistener.c:
1653 Initial functional implementations of KeystrokeListener.
1656 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
1658 Fixed string handling for NULL strings in libspi.
1659 Added spi_freeString to free strings returned by C bindings.
1661 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
1663 * libspi/keystrokelistener.h:
1664 * libspi/keystrokelistener.c:
1665 Began (no-op) implementations of KeystrokeListener
1667 * libspi/deviceeventcontroller.c:
1668 * libspi/deviceeventcontroller.h:
1669 Began creating implementations of DeviceEventController,
1670 to handle keystroke and mouse event listening and
1672 * libspi/accessible.c:
1673 Stubbed-in the implementations for
1674 Accessibility_Accessible_getState and
1675 Accessibility_Accessible_getRelationSet.
1676 * libspi/registry.c:
1677 Improved de-registration process and fixed some bugs,
1678 deregistration now works correctly.
1680 Added initialization of applications list (to NULL).
1682 Reduced speech compression from 0.5 to 0.7, for demo.
1683 Changed call to gdk_window_set_decorations()
1684 to gtk_window_set_decorated().
1685 * at-bridge/bridge.c:
1686 Bridge now deregisters when app exits, via
1687 registration of a cleanup function
1688 with the g_atexit() call.
1689 Required making 'app' static, renamed 'this_app'.
1690 Fixed broken use of bonobo_init, passing argv wrongly.
1692 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
1696 Created a new directory for
1697 accessibility-related utilities, primarily for
1698 testing and demo purposes, but with possible
1705 Onscreen magnifier utility that
1706 is implemented as a bonobo service.
1708 * util/mag_client.c:
1709 * util/mag_client.h:
1710 Client-side support (simple C bindings)
1711 for Magnification service
1713 * util/mag_control.c:
1714 Client program example for
1715 Magnification service
1717 * util/Accessibility_Magnifier.server.in:
1718 Bonobo-activation file for the
1719 Magnification service.
1722 * util/idl/Magnifier.idl:
1723 IDL defining the bonobo Magnification
1727 Modifications to use the bonobo-activated magnifier
1728 above, in place of trying to connect to an existing
1729 magnifier that uses socket-listening IPC.
1731 If env variable MAGNIFIER is set, a magnifier service
1732 will be started if one does not exist.
1734 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
1735 * at-bridge/bridge.c:
1736 applied patch from Marc to build and run
1737 against new glib and gtk+ (seemed like a change
1738 to bonobo_init signature was made ?)
1740 made festival-server support turned off by default.
1741 Added support for a simple magnifier (off by default)
1742 which will be added to a 'util' directory later.
1743 * at-bridge/Makefile.am:
1744 Changed "application.h" header from a 'source'
1745 to a 'dependency' of libat-bridge.
1747 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1755 Added interface implementation c files to list of
1756 includes so they are included in libcspi.
1759 Changed prototype of AccessibleAction_doAction to return a
1761 Changed prototype of AccessibleTable_getCaption to
1762 return an Accessible.
1763 Changed prototype of AccessibleTable_getSelectedRows
1764 and AccessibleTable_getSelectedColumns to
1765 return a long (returns the number of selected rows
1766 or columns respectively).
1767 Changed name of AccessibleText_refRunAttributes to
1768 AccessibleText_getAttributes.
1769 Changed prototype of AccessibleText_getCharacterExtents to
1770 return a void rather than a boolean.
1771 Added support for a AccessibleCoordType parameter
1772 specifying what type of coordinates are desired.
1773 Added an AccessibleCordType parameter to
1774 AccessibleText_getPointAtOffset.
1776 * cspi/spi_accessible.c:
1777 Added code to return the outstanding interfaces from
1778 Accessible_queryInterface.
1780 * cspi/spi_action.c:
1782 Corrected call to getNActions to call the c binding
1785 * cspi/spi_editabletext.c:
1787 Changed name from setRunAttributes to setAttributes.
1789 * cspi/spi_hyperlink.c:
1791 Changed call to getNAnchors to correctly call the c
1792 binding for an attribute.
1794 * cspi/spi_hypertext.c:
1796 Changed getImageDescription to correctly call the
1797 binding for an attribute.
1799 * cspi/spi_selection.c:
1800 Changed getNSelectedChildren to correctly call the c
1801 binding for the attribute.
1802 Changed refSelectedChild to getSelectedChild.
1806 Changed getCaption to return an Accessible.
1807 Fixed calls which retrieve attributes.
1808 Changed refAt to getAccessibleAt.
1809 Changed getNSelectedRows and getNSelectedColumns to
1813 Changed getCharacterExtents and getPointAtOffset to accept an
1814 AccessibleCoordType.
1816 Changed calls which retrieve attributes.
1817 Changed refRunAttributes to getAttributes.
1822 * idl/Hyperlink.idl:
1823 Changed n_anchors attribute to nAnchors to keep naming
1824 convention consistent.
1827 Made Table inherit from Bonobo::Unknown.
1828 Added nSelectedColumns and nSelectedRows attributes.
1831 Made Value inherit from Bonobo::Unknown.
1833 * libspi/hyperlink.c:
1834 Change for nAnchors attributte name change.
1836 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
1844 Added interface implementation c files to list of
1845 includes so they are included in libcspi.
1848 Changed prototype of AccessibleAction_doAction to return a
1850 Changed prototype of AccessibleTable_getCaption to
1851 return an Accessible.
1852 Changed prototype of AccessibleTable_getSelectedRows
1853 and AccessibleTable_getSelectedColumns to
1854 return a long (returns the number of selected rows
1855 or columns respectively).
1856 Changed name of AccessibleText_refRunAttributes to
1857 AccessibleText_getAttributes.
1858 Changed prototype of AccessibleText_getCharacterExtents to
1859 return a void rather than a boolean.
1860 Added support for a AccessibleCoordType parameter
1861 specifying what type of coordinates are desired.
1862 Added an AccessibleCordType parameter to
1863 AccessibleText_getPointAtOffset.
1865 * cspi/spi_accessible.c:
1866 Added code to return the outstanding interfaces from
1867 Accessible_queryInterface.
1869 * cspi/spi_action.c:
1871 Corrected call to getNActions to call the c binding
1874 * cspi/spi_editabletext.c:
1876 Changed name from setRunAttributes to setAttributes.
1878 * cspi/spi_hyperlink.c:
1880 Changed call to getNAnchors to correctly call the c
1881 binding for an attribute.
1883 * cspi/spi_hypertext.c:
1885 Changed getImageDescription to correctly call the
1886 binding for an attribute.
1888 * cspi/spi_selection.c:
1889 Changed getNSelectedChildren to correctly call the c
1890 binding for the attribute.
1891 Changed refSelectedChild to getSelectedChild.
1895 Changed getCaption to return an Accessible.
1896 Fixed calls which retrieve attributes.
1897 Changed refAt to getAccessibleAt.
1898 Changed getNSelectedRows and getNSelectedColumns to
1902 Changed getCharacterExtents and getPointAtOffset to accept an
1903 AccessibleCoordType.
1905 Changed calls which retrieve attributes.
1906 Changed refRunAttributes to getAttributes.
1911 * idl/Hyperlink.idl:
1912 Changed n_anchors attribute to nAnchors to keep naming
1913 convention consistent.
1916 Made Table inherit from Bonobo::Unknown.
1917 Added nSelectedColumns and nSelectedRows attributes.
1920 Made Value inherit from Bonobo::Unknown.
1922 * libspi/hyperlink.c:
1923 Change for nAnchors attributte name change.
1926 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
1928 implementations-- made server implementations own AtkObject pointers
1929 rather than their respective AtkInterrface pointers to fix
1930 refcounting. AtkHyperlink is still broken.
1932 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
1933 * cspi/spi_accessible.c:
1934 Added method Accessible_Role_getName(),
1935 and requisite string array (role_names).
1936 Added conversion string_from_corba_strin() call
1937 to Accessible_getName and _getDescription.
1938 * libspi/accessible.c:
1939 Added implementation for Accessible_getRole()
1941 Added festival support, used if environment variable
1944 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1946 * at-bridge/bridge.c:
1947 Now allocate Accessibility_Event using
1948 Accessibility_Event__alloc() instead of g_new0().
1949 * libspi/accessibleeventlistener.c:
1950 Initialize AccessibleEventListener->callbacks to NULL.
1951 Fixed accessible__event_listener_init() param, changed to
1952 "AccessibleEventListener *" type.
1953 Changed a bonobo_object_release_unref() call to
1954 Accessibility_Accessible_unref().
1955 * libspi/listener.c:
1956 Changed Bonobo_Unknown_unref to (equivalent)
1957 Accessibility_Accessible_unref.
1958 * libspi/registry.c:
1959 Changed bonobo_object_release_unref to
1960 Accessibility_Accessible_unref.
1962 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1965 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
1966 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
1967 spi-util.c spi-util.h
1968 Implementations for C bindings to remaining accessibility
1971 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1974 changed return value of Action from void to boolean to
1975 bring in line with ATK.
1978 Changed getText funcions to return "out" start and end offsets.
1979 Changed getAttributes to take and offset and return the start
1980 and end offset of the attribute run.
1981 Changed getOffsetAtPoint and getCharacterExtents to take an
1982 enum describing whether coordinates are window or screen.
1985 libspi/action.c libspi/action.h libspi/editabletext.c
1986 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
1987 libspi/hypertext.c libspi/hypertext.h libspi/image.c
1988 libspi/image.h libspi/selection.c libspi/selection.h
1989 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
1990 libspi/value.c libspi/value.h
1991 Added server implementations for outstanding ATK interfaces
1992 not yet implemented.
1994 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1997 Added (missing) getName() method.
1998 Made nActions an attribute.
1999 * idl/EditableText.idl:
2000 Changed order of params in setAttributes.
2001 * idl/Hyperlink.idl:
2002 Removed getAnchor, added getURI.
2004 Changed attributes to methods, for efficiency
2005 (so that getting extents can be done in one call)
2006 * idl/Selection.idl:
2007 Changed nSelectedChildren to attribute, and re-indented.
2008 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2010 * idl/Text.idl: reformatted to match our coding style.
2011 (temporarily?) removed getRowColumnAtOffset().
2012 Changed text selection API to support multi-select and
2013 non-contiguous selections, as in ATK.
2014 * idl/Value.idl: changed some methods to attributes.
2016 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2018 * libspi/listener.c(impl_notify_event):
2019 BonoboUnkown_unref the source instead
2020 of bonobo_object_release_unref - the ORB
2021 handles the releasing.
2023 * configure.in: require ORBit-2.3.94 for
2026 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2028 Tagged CVS repository 'EA_1_0'.
2029 * README.EARLY_ACCESS:
2030 Alphabetized acknowledgements list, and
2032 Listed some known dependencies of at-spi.
2034 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2036 * docs/at-spi-docs.sgml:
2037 * docs/at-spi-sections.txt:
2038 * docs/at-spi-overrides.txt: (Added zero-length file)
2039 Documentation improvements - gtk-doc should build
2040 docs for all implemented C bindings now.
2043 * cspi/spi.c: (New file)
2044 * cspi/spi_event.c: (New file)
2045 * cspi/spi_registry.c: (New file)
2046 * cspi/spi_accessible.c: (New file)
2047 * cspi/spi_application.c: (New file)
2048 * cspi/spi_component.c: (New file)
2049 Split spi_main.c into six parts, and included them from
2050 "spi.c". This is a bit of a hack, probably temporary,
2051 but required by gtk-doc, apparently.
2053 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2056 * docs/at-spi-docs.sgml:
2057 * docs/at-spi-sections.txt:
2059 Initial checkins/modifications for gtk-doc generation.
2062 Added (missing) interface query methods to Accessible's C binding.
2064 Added GenericInterface type definition.
2066 Added query for AccessibleComponent interface to focus event handler.
2067 Added printout of bounding box for focussed component.
2068 * libspi/component.c:
2069 Added partial implementation for AccessibleComponent to C binding.
2070 * idl/Application.idl:
2071 * libspi/registry.c:
2072 * libspi/listener.c:
2073 * libspi/application.c:
2074 * libspi/application.h:
2075 Changed "ID" attribute type from string to long.
2077 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2081 Made method naming consistent: methods taking object args
2082 start with uppercase, other methods (except those using
2083 acronyms) start with lowercase. Underscores delimit between
2084 object names and method names:
2085 SPI_init() - uppercase since it starts with an acronym.
2086 getDesktopCount () - lowercase start since no object param0.
2087 Accessible_getName() - uppercase object type name, studlyCaps method
2091 Added gtk-doc documentation for all currently implemented
2092 methods in the C bindings API.
2094 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2096 * Makefile.am : changed build order to build test last.
2099 Changed "createEventListener" to "CreateEventListener".
2100 * libspi/accessibleeventlistener.c :
2101 Bugfix for addition of callbacks.
2102 * test/Makefile.am :
2103 * test/simple-at.c :
2104 Added new test that uses the C bindings API.
2106 * libspi/listener.c :
2107 * libspi/registry.c :
2108 * libspi/accessibleeventlistener.c :
2109 * at-bridge/bridge.c :
2110 Renamed member "target" of Accessibility_Event to "source",
2111 which is more descriptive.
2114 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2118 * cspi/Makefile.am :
2119 Added makefile support for at-spi/cspi directory.
2122 * cspi/spi-listener.h : (NEW FILE)
2123 Added support for/use of spi-listener.h.
2125 C bindings now build successfully, with no warnings.
2126 * libspi/accessibleeventlistener.h : (NEW FILE)
2127 * libspi/accessibleeventlistener.c : (NEW FILE)
2128 * libspi/Makefile.am :
2129 Added new object type "AccessibleEventListener"
2130 which inherits from Listener, and allows attachment
2131 of in-process callbacks (so that a client with a listening
2132 object instance can add functionality to the local
2133 implementation, dynamically).
2135 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2137 * libspi/accessible.c:
2138 Add implementation for get_index_in_parent().
2140 Added #include of "spi-roletypes.h", and
2141 added enumerated type AccessibleCoordType.
2142 Added definition for KeystrokeListener (function type).
2145 * cspi/spi-statetypes.h :
2146 * cspi/spi-roletypes.h :
2148 Added these headers, used by spi.h.
2150 Added code (NOTE: not yet built by make).
2152 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2154 * libspi/Makefile.am: generate imodule
2155 at the same time as other idl compiler
2158 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2159 * libspi/registry.c :
2160 * libspi/application.c :
2161 * idl/Application.idl :
2162 Made registration with toolkit an application method,
2163 which is required since each app has its own toolkit static
2164 environment. Thus the bridge must register for
2165 notification of toolkit events from each application in turn.
2166 Toolkit notifications are now successfully registered for, and
2167 sent to the listening at client.
2169 Changed toolkit event string to use hyphens rather than underscores.
2170 * libspi/listener.c :
2171 listner now gives more info in debug mode - it reports the
2172 name of the event received, as well as the name of the source.
2175 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2177 * libspi/registry.c :
2178 added more implementation for toolkit events.
2179 Fixed bug such that toolkit event registrations
2180 (via atk) use the whole event name string, not
2182 Removed a useless call to an ORBit_ method.
2183 * at-bridge/bridge.c :
2184 Removed unused local sbuf[] variable.
2186 We now register for Gtk:GtkWidget:button_press_event
2187 events as well as "focus:" events.
2189 Add some more API from Registry.idl that was missing,
2190 for keystroke listening, keystroke and mouse event
2191 synthesis, and enumeration of accessible desktops.
2193 2001-08-16 Michael Meeks <michael@ximian.com>
2195 * configure.in: use AM_GLIB_GNU_GETTEXT.
2197 * Makefile.am (SUBDIRS): kill intl.
2199 2001-08-15 Michael Meeks <michael@ximian.com>
2201 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2203 * configure.in: upd.
2205 * configure.in: depend on a recent bonobo-activation that
2206 will find our server files ...
2208 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2210 * libspi/accessible.c : accessible_new() :
2211 Now we add the Component interface via bonobo_object_add_interface,
2212 if the contained AtkObject implements AtkComponent.
2213 * libspi/accessible.h : now include "component.h"
2214 * libspi/component.h :
2215 * libspi/component.c : added files - implementation of
2216 bonobo wrapper object for Accessibility/Component
2217 * libspi/listener.c :
2218 Added test code to check for Accessibility/Component:1.0
2219 interface and report whether it is implemented by the
2221 * libspi/registry.c :
2222 Now we check for not only the hash of the whole event
2223 string before relaying the event, we also check the
2224 "minor" event string (without the detail string).
2225 This allows event listeners to be registered against
2226 all events of a certain major+minor type, or just
2227 against a specific major+minor+detail type.
2228 * libspi/accessible.c :
2229 Added implementations for Accessible:get_parent(),
2230 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2231 * libspi/registry.c :
2232 * libspi/listener.c :
2233 Replaced calls to Accessibility_Accessible_ref() and
2234 Accessibility_Accessible_unref() with
2235 calls to bonobo_object_dup_ref() and
2236 bonobo_object_release_unref(), so that the CORBA object
2237 is dup-ed and released when relayed, as well as the bonobo object.
2239 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2241 * libspi/Makefile.am,
2242 registryd/Makefile.am,
2243 at-bridge/Makefile.am.
2244 test/Makefile.am, configure.in:
2245 reverse previous changes.
2247 * /idl/Image.idl: fix typo.
2249 * test/Makefile.am: put DEBUG_FLAGS
2252 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2254 * test/app.c: use argv[0] instead of
2257 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2259 * libspi/Makefile.am,
2260 registryd/Makefile.am,
2261 at-bridge/Makefile.am.
2262 test/Makefile.am, configure.in:
2263 cleanup, replace individual LIBS/CFLAGS with
2264 AT_COMMON_{LIBS|CFLAGS}.
2268 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2270 * configure.in, libspi/Makefile.am:
2271 Change IDL path checking for bonobo-activation
2274 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2276 * registryd/registry.c : separated event listeners to use
2277 3 separate lists (focus, window, toolkit). Began testing
2278 event names against hashes before relaying events.
2279 * test/at.c : now register for events of type "focus:"
2280 * test/app.c : now generate events of type "focus:"
2281 * at-bridge/bridge.c : register with ATK for focus events,
2282 and we now relay those focus events to any "focus:" listeners.
2283 This now works with the bridge as a GTK_MODULE when running test/at.
2284 * libspi/registry.c :
2285 * libspi/listener.c :
2286 now we ref event sources before propagating, and unref on receipt.
2287 * libspi/registry.c :
2288 some changes to internal structs, to support event typestring hashes.
2289 * text/app.c : changed the way the appname is generated.
2290 * cspi : added directory that will hold the C bindings library for
2291 non-CORBA/bonobo-savvy clients.
2292 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2293 * idl/Component.idl : added in parameter to indicate coord system for
2294 geometry-related calls.
2295 * idl/Hyperlink.idl : added readonly n_links attribute
2296 * idl/Image.idl : changed methods to attributes.
2298 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2300 * at-bridge/Makefile.am: link against
2301 ../libspi/libspi.la instead of -lspi.
2303 * at-spi/test/app.c: include
2304 bonobo-activation.h. Use a default appname
2305 if one is not provided.
2307 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2309 * idl/Registry.idl : temporarily changed register_Application
2310 to oneway, to work around issue with initial registration
2312 * idl/Application.idl : changed attribute "id" from readonly
2313 to read-write, since it needs to be assigned by Registry.
2314 * registryd/registryd.c : added call to set application id
2316 * registryd/registry.c : changed de-registration procedure to
2317 use CORBA_Object_hash() to find matching object ref in application
2318 lists and listener lists.
2319 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2320 began distinguishing between event types (work in progress).
2322 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2325 * libspi/application.c:
2326 Added implementations for get/set id, get_toolkitName,
2328 * registryd/registryd.c :
2332 Converted from use of OAF to bonobo-activation.
2333 * libspi/desktop.h :
2334 * libspi/desktop.c :
2336 Removed references to atksimpleobject, since base atkobject
2337 implementation now provides functionality we need.
2338 * libspi/atksimpleobject.c :
2339 * libspi/atksimpleobject.h :
2344 * at-bridge/Makefile.am
2345 * at-bridge/bridge.c
2348 Added directory "bridge" and contents, and added dependencies
2349 in Makefile.am/configure.in.
2350 Initial checkin of "at-bridge".
2351 This code is a GTK_MODULE which automatically registers
2352 GTK+ apps with the accessibility registry, using an object
2353 reference to the root ATK object.
2355 2001-08-10 Mark McLoughlin <mark@skynet.ie>
2357 * po/Makefile.in.in: Remove. Again. If this
2358 doesn't get autogenerated - you need to update
2361 2001-08-07 Mark McLoughlin <mark@skynet.ie>
2363 * po/Makefile.in.in: Add. Again.
2365 2001-07-31 Bill Haneman <bill.haneman@sun.com>
2367 * libspi/accessible.c : added support for 'description' property.
2368 * libspi/accessible.c
2370 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2371 (since the two are now equivalent in libbonobo)
2379 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2380 Bonobo::Unknown as does Accessibility::Accessible.
2381 * idl/StreamableContent.idl : as above, and replaced internal InputStream
2382 interface with Bonobo::Stream, since it was redundant with it.
2383 (The Stream returned by a StreamableContext object is expected to
2384 implement only a subset of Bonobo::Stream)
2386 2001-07-28 Anders Carlsson <andersca@gnome.org>
2388 * libspi/accessible.c (accessible_object_finalize): Change
2389 g_free to g_object_unref since the AtkObject is a GObject.
2391 2001-07-30 Bill Haneman <bill.haneman@sun.com>
2393 * idl/Accessibility.idl: add new IDL files
2396 * idl/Action.idl: Definitions of actionable UI object
2397 * idl/Component.idl: Definitions of UI component geometry, etc.
2398 * idl/Hyperlink.idl: Defs of hyperlink behavior
2399 * idl/Image.idl: Def of accessible image
2400 * idl/Selection.idl: Definition of UI object with selectable children
2401 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2402 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2403 * idl/Text.idl: Interface defs for UI elements with complex textual content
2404 * idl/Value.idl: Definition of UI element that is a value controller or display
2406 2001-07-27 Michael Meeks <michael@ximian.com>
2408 * po/Makefile.in.in: remove autogenerated file from CVS.
2410 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2413 * idl/Registry.idl: include guard.
2415 * idl/Accessibility.idl: Add, and include all the other IDL
2418 * idl/*.idl: remove mass of pragmas etc.
2420 2001-07-26 Michael Meeks <michael@ximian.com>
2422 * registryd/Makefile.am (registryd_SOURCES): remove
2425 2001-07-27 Mark McLoughlin <mark@skynet.ie>
2427 * libspi/.cvsignore, registryd/.cvsignore,
2428 test/.cvsignore: updated.
2430 * po/Makefile.in.in: gettext update.
2432 2001-07-25 Bill Haneman <bill.haneman@sun.com>
2434 * initial CVS checkin
2436 2001-06-29 Michael Meeks <michael@ximian.com>
2438 * configure.in: add AM_CONFIG_HEADER to gen config.h