1 2008-03-19 Li Yuan <li.yuan@sun.com>
3 * idl/Accessibility_Accessible.idl:
4 Bug #431053. add accessible-role event in idl doc.
6 2008-03-19 Li Yuan <li.yuan@sun.com>
8 * libspi/document.c: (impl_getAttributes):
9 Bug #451553. Return NULL is there are no attributes. Patch from Ginn
12 2008-03-19 Li Yuan <li.yuan@sun.com>
14 * atk-bridge/bridge.c: (spi_atk_emit_eventv):
15 Bug #520490. Remove unused call.
17 2008-03-19 Li Yuan <li.yuan@sun.com>
19 * libspi/collection.c: (match_attributes_none_p), (inorder),
21 * registryd/deviceeventcontroller.c:
22 (impl_generate_keyboard_event):
23 Bug #521667. Patch from Jens Granseuer <jensgr@gmx.net>.
24 Fixes several C99 idioms that lead to compilation errors
25 with older compilers like gcc 2.x. Also removes a few unused
28 2008-03-14 Li Yuan <li.yuan@sun.com>
30 * atk-bridge/bridge.c: (deregister_application):
31 Bug #522356. Since in desktop.c:spi_desktop_remove_application, we
32 call bonobo_object_release_unref for the object, we don't need to
33 unref the object again.
35 2008-03-10 Li Yuan <li.yuan@sun.com>
42 2008-02-27 Ariel Rios <ariel@gnu.org>
44 * idl/Accessibility_Collection.idl:(getMatchesTo,
45 getMatchesFrom) API Change that adds in order querys.
46 * libspi/collection.c:
47 (sort_order_rev_canonical): Method to do querys and get results in
48 canonical reverse. New.
49 (inorder): Help method for getMatchesInOrder.
50 (getMatchesInOrder):New method to get next matches from a given object
52 (getMatchesInBackOrder): New method to get previous matches from a
53 given object in order.
54 (getMatchesFrom), (getMatchesTo): Old impl_getMatches[From/To] to be
55 able to accomodate in order querys.
56 (impl_getMatchesFrom), (impl_getMatchesTo): New implementation that
57 accomodate in order querys.
58 (spi_collection_interface_new),
59 (get_collection_from_servant), (impl_createMatchRule),
60 (child_interface_p), (match_states_all_p), (match_states_any_p),
61 (match_states_none_p), (match_states_lookup), (match_roles_all_p),
62 (match_roles_any_p), (match_roles_none_p), (match_roles_lookup),
63 (match_interfaces_all_p), (match_interfaces_any_p),
64 (match_interfaces_none_p), (match_interfaces_lookup),
65 (match_attributes_all_p), (match_attributes_any_p),
66 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
67 (sort_order_canonical), (query_exec), (impl_getMatches),
68 (spi_collection_init): Clean code.
70 Bug #496232. Work by Ariel Rios <ariel@gnu.org> and
71 Scott Haeger <scott@bashautomation.com>.
73 2008-02-25 Li Yuan <li.yuan@sun.com>
78 Uprev/release 1.21.92.
80 2008-02-25 Li Yuan <li.yuan@sun.com>
82 * registryd/deviceeventcontroller.c: (global_filter_fn),
83 (dec_lock_modifiers), (dec_unlock_modifiers),
84 (impl_generate_keyboard_event): patch from Franz.Netykafka@runbox.no.
85 Bug #508147. Lock/Unlock modifier keys when xkb extension is
88 2008-02-22 Scott Haeger <scott@bashautomation.com>
90 * libspi/collection.c:
91 Fixed bug #517761, Collection match rules not working for attributes.
93 2008-02-19 Li Yuan <li.yuan@sun.com>
95 Patch from Scott Haeger <scott@bashautomation.com>
96 * libspi/collection.c: (impl_freeMatchRule):
97 Bug #517250. Clear spimatchrule->_mrp when free match rule.
99 2008-01-14 Li Yuan <li.yuan@sun.com>
104 Uprev/release 1.21.5.
106 2008-01-03 Li Yuan <li.yuan@sun.com>
108 Patch from Gilles Casse <gcasse@oralux.org>
109 * atk-bridge/bridge.c: (spi_atk_register_event_listeners):
110 Bug #474480. Fix memory leak.
112 2008-01-02 Li Yuan <li.yuan@sun.com>
114 Patch from Luke Yelavich <themuso@themuso.com>
115 * registryd/Accessibility_Registry.server.in.in:
116 Marks translatable strings in
117 registryd/Accessibility_Registry.server.in.in, so that intltool picks
120 2007-12-03 Li Yuan <li.yuan@sun.com>
122 * configure.in, README, NEWS:
123 Uprev/release 1.21.3.
125 2007-12-03 Li Yuan <li.yuan@sun.com>
127 * idl/Accessibility_Collection.idl:
128 * libspi/collection.c:
129 (impl_getMatchesFrom), (impl_getMatchesTo):
130 Fix build error in Solaris, for restrict is a keyword in SS cc.
132 2007-12-03 Li Yuan <li.yuan@sun.com>
134 * idl/Accessibility_Collection.idl:
135 * libspi/accessible.c: (spi_accessible_construct):
136 * libspi/collection.c: (spi_collection_interface_new),
137 (get_atkobject_from_servant), (get_collection_from_servant),
138 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
139 (match_states_all_p), (match_states_any_p), (match_states_none_p),
140 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
141 (match_roles_none_p), (match_roles_lookup),
142 (match_interfaces_all_p), (match_interfaces_any_p),
143 (match_interfaces_none_p), (match_interfaces_lookup),
144 (match_attributes_all_p), (match_attributes_any_p),
145 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
146 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
147 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
148 (spi_collection_class_init), (spi_collection_init):
149 * libspi/collection.h:
150 Bug #326516. Patch from Ariel. Enhance collection support.
152 2007-12-03 Li Yuan <li.yuan@sun.com>
154 * atk-bridge/Makefile.am:
155 * libspi/Makefile.am:
156 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
158 2007-11-12 Li Yuan <li.yuan@sun.com>
160 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
161 (impl_accessibility_accessible_get_relation_set):
162 Fix for #446277. Decrease the ref count to 1.
164 2007-10-29 Li Yuan <li.yuan@sun.com>
166 * configure.in, README, NEWS:
167 Uprev/release 1.21.1.
169 2007-10-15 Li Yuan <li.yuan@sun.com>
171 * MAINTAINERS: add Willie Walker and Eitan Isaacson
174 2007-09-17 Li Yuan <li.yuan@sun.com>
176 * configure.in, README, NEWS:
177 Uprev/release 1.20.0.
179 2007-09-08 Li Yuan <li.yuan@sun.com>
181 * registryd/deviceeventcontroller.c:
182 (spi_key_event_matches_listener):
183 Bug #474796. Should not checkmask bit 14 when sond out
186 2007-08-20 Li Yuan <li.yuan@sun.com>
188 * libspi/base.c: (spi_base_construct):
189 Avoid unnecessary crash. Bug #467612.
191 2007-08-01 Li Yuan <li.yuan@sun.com>
193 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
194 Fix a potential dead-lock issue. Bug #462412.
196 2007-07-09 Li Yuan <li.yuan@sun.com>
198 * configure.in, README, NEWS:
199 Uprev/release 1.19.5.
201 2007-07-09 Li Yuan <li.yuan@sun.com>
203 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
204 Bug #446277. Control the ref_count to 1, so Orca can unref the
205 state_set and avoid the memory leak.
207 2007-06-26 Li Yuan <li.yuan@sun.com>
209 * atk-bridge/Makefile.am:
210 Bug #450897. Set logging domain.
211 * registryd/registry.c: (parse_event_type):
213 Handle the "document:" signal, set the type to
216 2007-06-04 Li Yuan <li.yuan@sun.com>
218 * configure.in, README, NEWS:
219 Uprev/release 1.19.3 for GNOME 2.19.3.
221 2007-05-30 Willie Walker <william.walker@sun.com>
223 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
224 439436 to add pyatspi to autotools stuff so it gets installed as
225 part of a make install.
227 2007-05-17 Li Yuan <li.yuan@sun.com>
230 Bug #439057. Add the original PATH to PATH.
232 2007-04-23 Li Yuan <li.yuan@sun.com>
234 * configure.in, NEWS:
235 Uprev/release 1.19.1 for GNOME 2.19.1.
237 2007-04-18 Li Yuan <li.yuan@sun.com>
239 * pyatspi/__init__.py:
240 * pyatspi/accessible.py:
241 * pyatspi/constants.py:
243 * pyatspi/registry.py:
245 Bug #430938. Add some files to create the uniform Python
248 2007-04-12 Li Yuan <li.yuan@sun.com>
250 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
251 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
252 Fix #427836. Fix leak and unify the code style.
254 2007-04-12 Yi Jin <yi.jin@sun.com>
256 * atk-bridge/bridge.c:
257 (spi_atk_bridge_focus_tracker):
258 Bug #428007. Fix a memory leak.
260 2007-04-02 Ariel Rios <ariel@gnu.org>
262 Implement the Matchrule interface required for Collection.
268 * cspi/spi_accessible.c: (Accessible_isCollection),
269 (Accessible_isMatchRule), (Accessible_getCollection),
270 (Accessible_getMatchRule):
271 * cspi/spi_collection.c: new file.
272 * cspi/spi_matchrule.c: new file.
273 * idl/Accessibility.idl:
274 * idl/Accessibility_Collection.idl: new file.
276 * libspi/Makefile.am:
277 * libspi/collection.c: new file.
278 * libspi/collection.h: new file.
280 * libspi/matchrule.c: new file.
281 * libspi/matchrule.h: new file.
283 2007-03-29 Ariel Rios <ariel@gnu.org>
285 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
287 2007-03-22 Li Yuan <li.yuan@sun.com>
289 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
290 main context. Fix for #329454.
292 2007-03-12 Li Yuan <li.yuan@sun.com>
294 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
296 2007-03-02 Li Yuan <li.yuan@sun.com>
298 * atk-bridge/bridge.c
299 (spi_atk_bridge_register_application),
300 (deregister_application), (spi_atk_bridge_focus_tracker),
301 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
302 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
303 to prevent calling threads_enter/leave during the init and shutdown.
305 2007-02-27 Li Yuan <li.yuan@sun.com>
308 (spi_re_entrant_list_delete_link):
309 Bug #412286. Reverse previous patch.
310 * configure.in, NEWS: Uprev/release 1.17.2.
312 2007-02-26 Li Yuan <li.yuan@sun.com>
314 * libspi/accessible.c:
315 (impl_accessibility_accessible_get_attributes),
316 (impl_accessibility_accessible_get_relation_set):
317 Bug #404584 and #401299. Return an empty object instead of return NULL.
318 * configure.in, NEWS: Uprev/release 1.17.1.
320 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
322 * Makefile.am: Dist MAINTAINERS.
324 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
326 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
327 (atk_bridge_init), (spi_atk_bridge_get_registry),
328 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
329 Fix some compiler warnings and plug a leak. Closes part of
332 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
334 * cspi/bonobo/cspi-bonobo-listener.h:
335 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
336 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
337 * cspi/spi_main.c: (SPI_eventIsReady):
338 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
339 * libspi/streamablecontent.c:
340 * libspi/util.c: (spi_re_entrant_list_delete_link):
341 * login-helper/login-helper.c:
342 * registryd/deviceeventcontroller.c:
343 (spi_controller_update_key_grabs), (isEvent):
344 * registryd/registry.c:
345 * test/key-listener-test.c: (simple_at_exit):
346 * test/login-helper-server-test.c: (test_set_wm_dock),
348 Fix a bunch of warnings from sparse:
349 - ANSIfication of function declarations
351 - Add some prototypes
352 - make some stuff static
354 2007-02-14 Li Yuan <li.yuan@sun.com>
356 * libspi/accessible.c:
357 (impl_accessibility_accessible_get_attributes):
358 Bug #404584. If there is no attributes, just return NULL.
360 2007-02-12 Li Yuan <li.yuan@sun.com>
362 * configure.in, NEWS: Uprev/release 1.17.0.
364 2007-02-12 Li Yuan <li.yuan@sun.com>
366 * atk-bridge/bridge.c:
367 (atk_bridge_init): bug #400709. we must emit events even if we are not
368 registered as a full-fledged app.
369 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
370 application like openoffice shutdown. They need to unload gtk before
371 the is spi_atk_bridge_exit_func called.
373 2007-01-22 Li Yuan <li.yuan@sun.com>
375 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
377 2007-01-22 Li Yuan <li.yuan@sun.com>
379 * cspi/bonobo/cspi-bonobo.c:
380 (cspi_get_registry_ior), (cspi_init):
381 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
383 2007-01-19 Li Yuan <li.yuan@sun.com>
385 * atk-bridge/bridge.c:
386 (atk_bridge_init), (spi_atk_bridge_register_application),
387 (deregister_application), (spi_atk_bridge_focus_tracker),
388 (spi_atk_emit_eventv):
389 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
392 2007-01-08 Li Yuan <li.yuan@sun.com>
394 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
396 2007-01-08 Li Yuan <li.yuan@sun.com>
398 * registryd/registry-main.c:
399 (main): set registry ior only when register server successfully.
400 * atk-bridge/bridge.c:
401 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
402 Bug #372988, #381670. Fix memory leak.
404 2007-01-02 Bill Haneman <billh@gnome.org>
407 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
408 appending default attributes to a text attribute set.
411 2006-12-28 Li Yuan <li.yuan@sun.com>
413 * atk-bridge/bridge.c:
414 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
415 the second time, because spi_atk_emit_eventv will free any. Bug
418 2006-12-15 Li Yuan <li.yuan@sun.com>
420 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
422 2006-12-14 Li Yuan <li.yuan@sun.com>
425 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
426 (spi_atk_bridge_property_event_listener),
427 (spi_atk_bridge_signal_listener):
428 Free some CORBA objects to fix memory leak and crash.
430 2006-12-13 Li Yuan <li.yuan@sun.com>
432 Patch from Ariel Rios to fix #163132 and #377079.
433 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
434 (spi_atk_bridge_get_registry_ior):
435 Use g_warning instead of g_error and g_critical to avoid crash.
437 2006-12-11 Bill Haneman <bill.haneman@sun.com>
440 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
441 if there are no non-default attributes defined at the current offset.
444 2006-12-04 Bill Haneman <bill.haneman@sun.com>
446 * idl/Accessibility_Role.idl: Fixed the documentation for
447 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
449 2006-12-04 Bill Haneman <bill.haneman@sun.com>
451 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
453 2006-11-07 Bill Haneman <bill.haneman@sun.com>
455 Patches from Padraig O'Briain for bugs #361386 and #369377.
457 * registryd/registry.c:
458 (struct NotifyContext): Change the e_out
459 member from an Accessibility_Event struct to a pointer to
461 (notify_listeners_cb): Modify to use the new struct definition above.
462 Allows use of ORBit_copy_value instead of CORBA_any__copy.
464 * registryd/deviceeventcontroller.c:
465 (spi_dec_button_update_and_emit): Free the event's any_data
467 (spi_dec_mouse_check):Free the event details any struct
469 (spi_device_event_controller_forward_mouse_event): Free any.
470 (spi_device_event_controller_forward_key_event): Ditto.
472 2006-11-07 Bill Haneman <bill.haneman@sun.com>
474 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
475 Don't require gtk+ and gail for building most of at-spi
478 * registryd/registry-main.c (main): We now get te value of display
479 using the env var DISPLAY rather than using the gdk_display_get_default
480 to avoid dependancy of gdk. Also, once the registry is started, we set
481 the ior of the registry as an X property.
482 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
484 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
485 the registration was successfull.
486 (spi_atk_bridge_do_registration): This function now returns success
487 or not on activating the registry.
488 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
489 has been set in the X root window and return it if available.
490 (spi_atk_bridge_get_registry): We now get the registry using the IOR
491 saved as a X property rather than using the OAFID.
493 2006-10-01 Bill Haneman <bill.haneman@sun.com>
495 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
497 2006-09-25 Bill Haneman <bill.haneman@sun.com>
499 * registryd/registry.c:
500 (desktop_remove_application): Don't pass a ref to the
501 dead application with the event, since it's probably
502 defunct and will cause SEGV if we try to unref,
503 extract app name, etc.
506 2006-09-20 Bill Haneman <bill.haneman@sun.com>
508 Patch from Neo Liu <nian.liu@sun.com>,
511 * atk-bridge/bridge.c:
512 (spi_atk_bridge_document_event_listener): New, for
515 2006-08-30 Bill Haneman <bill.haneman@sun.com>
518 Changed some parameter names so as not to
519 collide with class names - allows IDL to be compiled with
520 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
522 2006-08-22 Bill Haneman <bill.haneman@sun.com>
524 * atk-bridge/bridge.c:
525 (spi_atk_bridge_signal_listener):
526 Patch from Ginn Chen, assign detail1 in children-changed
527 so that the child object can be assigned to the Any when the
528 at-spi event is emitted. Bug #350552.
530 * libspi/application.c:
531 (spi_application_finalize): Remove g_print debug output.
534 2006-08-21 Bill Haneman <bill.haneman@sun.com>
536 * configure.in: Revved to AT-SPI 1.7.11.
538 * libspi/accessible.c:
539 (spi_accessible_new): Aggregate Hyperlink interface
540 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
542 * libspi/hyperlink.c:
543 (spi_hyperlink_new): Don't aggregate Action a second time if this
544 interface is created for an AtkHyperlinkImpl object (i.e. for a
545 child Accessible, as opposed to the Hyperlink instance from
547 (get_hyperlink_from_servant): Obtain the hyperlink from
548 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
550 Patch section from Ginn Chen...
552 * cspi/spi_accessible.c:
553 (_cspi_accessible_set_from_sequence):
554 Changed g_newa to g_new0 on Ginn Chen's suggestion.
556 * libspi/accessible.c:
557 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
558 (spi_accessible_new): Add the Document interface if present.
561 (impl_getAttributes): Fixed to use AtkAttribute properly.
564 (impl_getAttributes, impl_getDefaultAttributes):
565 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
567 2006-08-17 Bill Haneman <bill.haneman@sun.com>
569 * cspi/spi-private.h, cspi/spi_accessible.c:
570 (_cspi_attribute_set_from_sequence): Renamed from
571 cspi_attribute_set_from_sequence, to suppress export.
574 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
575 inline docs, which was keeping the doc from appearing.
576 (SPIExceptionHandler): Doc this.
578 * cspi/spi_document.c:
579 Added inline gtk-docs cut-n-pasted from the doxygen
580 docs in the corresponding IDL files.
581 (AccessibleDocument_getAttributes): Fix the retval here.
583 * cspi/spi_streamablecontent.c:
584 Fixed some 'Since' tags that were accidentally doxygen-style.
587 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
588 docs from the IDL file.
590 * docs/reference/cspi/at-spi-cspi-docs.sgml:
591 Added entities for Document and StreamableContent interfaces.
593 * docs/reference/cspi/at-spi-cspi-sections.txt:
594 Added some docs that were present inline but not getting
597 2006-07-31 Bill Haneman <bill.haneman@sun.com>
600 (impl_getRangeExtents): Use the atk_text_get_range_extents
601 API instead of looping over character bounds, now that
603 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
604 (_spi_text_bounds_contain): Remove, not needed anymore.
605 (_spi_text_rect_union): Remove, not needed anymore.
607 2006-07-31 Bill Haneman <bill.haneman@sun.com>
609 * atk-bridge/bridge.c:
610 (spi_atk_emit_eventv): Fix the CORBA_free call which was
611 causing 64-bit troubles and memory leaks.
612 Special thanks to Alexander Larsson who finally seems to
613 have tracked down the problem, not just here but in
617 (spi_init_any_object): Make sure we copy the CORBA value
618 when initializing an object for passing as a CORBA_Any.
621 2006-07-21 Bill Haneman <billh@gnome.org>
623 * idl/Accessibility.idl:
624 Reverted pragma changes, this broke the build in some envs
625 including the Debian team's build and some tinderbox builds.
627 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
630 Revved to 1.7.10, and edited the Xevie check (bug #319994).
632 * idl/Accessibility.idl:
633 Reworked inclusion of Bonobo_Unknown.idl, to
634 avoid double-linking libs in the Bonobo environment.
635 Thanks to Michael Meeks for the workaround, see bug #313122.
637 * registryd/deviceeventcontroller.c:
638 (spi_controller_notify_keylisteners):
639 Set the SPI_NUMLOCK_MASK bit if the modifier
640 corresponding to the conceptual numlock state is set.
643 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
645 * idl/Accessibility_Selection.idl:
646 (deselectChild): New method.
648 * libspi/selection.c:
649 (impl_deselectChild): Implement the new IDL method.
652 (AccessibleSelection_deselectChild): Added new method.
654 * cspi/spi_selection.c:
655 (AccessibleSelection_deselectChild): New method implemented.
657 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
659 * cspi/bonobo/cspi-bonobo.c:
660 (cspi_init): Replace g_error with g_warning, prevent
661 SEGV if the registry cannot be activated. Bug #346393.
663 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
665 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
667 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
668 2006-07-12 Ariel Rios <arios@us.ibm.com>
672 * idl/Accessibility_Table.idl:
673 (getRowColumnExtentsAtIndex): New method for getting
674 selection status and extents in one API call.
677 (impl_getRowColumnExtentsAtIndex): Implementation of
679 (spi_table_class_init): Add above to epv.
683 (AccessibleTable_getRowColumnExtentsAtIndex): New
684 method, retrieves selection status and row/col extents
685 for a table cell in a single API call.
687 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
688 2006-07-12 Ariel Rios <arios@us.ibm.com>
690 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
693 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
694 New bindings for new methods defined in idl and libspi.
697 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
698 Added prototype functions.
701 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
703 (spi_text_class_init): Added previous methods.
706 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
707 * libspi/spi-private.h: Corrections.
709 2006-06-29 Bill Haneman <bill.haneman@sun.com>
711 Added Document interface (see bug #326520),
712 with work from Ariel Rios <arios@us.ibm.com>.
714 * configure.in: Bump to 1.7.8.
716 * libspi/Makefile.am: Added document.[ch] to sources
719 (SpiDocument, SpiDocumentClass):
720 New interface implementation.
721 (spi_document_get_type, spi_document_construct)
722 (spi_document_interface_new): New methods added.
723 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
724 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
725 Added macros for SpiDocument
729 (spi_document_interface_new): Get a
730 new document interface. New.
731 (get_document_from_servant): Get an AtkDocument from servant New.
732 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
733 Implementation of methods defined on idl.
734 (spi_document_class_init, spi_document_init)
735 Init methods for SpiDocument. new
737 * idl/Accessibility.idl: Added Accessibility_Document.idl.
739 * cspi/Makefile.am: Added spi_document.c to sources.
741 * cspi/spi_document.c:
742 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
743 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
744 (AccessibleDocument_getAttributes): Bindings for methods defined
747 * cspi/spi_accessible.c:
748 (Accessible_isDocument, Accessible_getDocument) New.
750 (Accessible_isDocument, Accessible_getDocument)
751 (AccessibleDocument_ref, AccessibleDocument_unref)
752 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
753 (AccessibleDocument_getAttributes): Bindings added.
755 * idl/Makefile.am: Added Accessibility_Document.idl to
758 2006-06-29 Bill Haneman <bill.haneman@sun.com>
760 * idl/Accessibility_Document.idl: New interface
761 for complex documents. First stage of fix for RFE
764 2006-06-27 Bill Haneman <bill.haneman@sun.com>
766 * libspi/streamablecontent.c:
767 (impl_content_stream_close):
768 Unref the GIOChannel on close.
770 2006-06-23 Bill Haneman <bill.haneman@sun.com>
772 * idl/Accessibility_Role.idl:
773 * libspi/accessiblerole.c:
774 * cspi/spi_accessible.c: Added ROLE_LINK,
775 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
776 Bug #345758 and bug #140635.
779 2006-06-22 Bill Haneman <bill.haneman@sun.com>
783 * idl/Accessibility_StreamableContent.idl:
784 Fix derivation of StreamableContent and ContentStream.
786 * cspi/spi_streamablecontent.c:
787 (accessible_content_stream_client_read):
788 Fix the datatype of the content stream used.
789 Interpret short reads as EOF, and stop trying to
790 read when we've fulfilled the request.
791 (AccessibleStreamableContent_getContentTypes):
792 Use g_strdup, not CORBA_string_dup, for the strings.
793 (AccessibleStreamableContent_open):
794 Correctly use the new getStream method for opening,
795 not the deprecated getContent method.
796 Use the object reference as the stream hash key.
797 Make note of the 'one stream per client per streamable'
798 limitation in the docs.
801 Add streamablecontent.h to the list of #includes.
803 * libspi/streamablecontent.c:
804 (impl_content_stream_read): Initialize the GError.
805 Allocate the incoming buffer if reading a fixed length of
806 data. Use g_memmove instead of memcpy.
807 (impl_accessibility_streamable_get_content_types):
808 Init typelist->_maximum. Only allocate the buffer if
809 there is a non-zero number of content types available.
810 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
812 * libspi/streamablecontent.h:
813 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
816 (SPI_IS_VALUE): Fix a typo in this macro too.
818 2006-06-16 Bill Haneman <bill.haneman@sun.com>
822 * idl/Accessibility_StreambleContent.idl:
823 Deprecate the Bonobo_Stream-based methods in favor of
824 a self-contained "ContentStream" interface. This should
825 allow us to remove BonoboStream dependencies entirely, since
826 there were no non-NIL implementations of the old methods anyway.
827 (ContentStream): New interface.
828 (ContentStream::SeekType): Enum.
829 (ContentStream::seek): New.
830 (ContentStream::read): New.
831 (ContentStream::close): New.
832 (getContent): Deprecate.
833 (getURI): New method, returns a URI pointing to the content, if available.
835 * libspi/streamablecontent.c:
836 (SpiContentStream): Internal object type definition used to
837 implement Accessibility::StreamableContent::ContentStream via
838 AtkStreamableContent's GIOChannel back-end.
839 (spi_content_stream_new, spi_content_stream_dispose): See above;
841 (impl_content_stream_seek, impl_content_stream_read):
842 (impl_content_stream_close): New, implementations of
844 (impl_accessibility_streamable_get_stream): Implement the
845 public method Accessibility::StreamableContent::getStream.
846 (impl_accessibility_streamable_get_uri): Implement the
847 public method Accessibility::StreamableContent::getURI.
849 * cspi/spi_streamablecontent.c:
850 (accessible_bonobo_stream_client_seek): Replaced by
851 (accessible_content_stream_client_seek).
852 (accessible_bonobo_stream_client_read): Replaced by
853 (accessible_content_stream_client_read).
854 (AccessibleStreamableContent_open):
855 (AccessibleStreamableContent_seek):
856 (AccessibleStreamableContent_read):
857 (AccessibleStreamableContent_close): Use the new 'getStream'
858 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
860 2006-06-15 Bill Haneman <bill.haneman@sun.com>
862 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
863 remove from other .idl files (except LoginHelper).
866 2006-06-14 Bill Haneman <bill.haneman@sun.com>
868 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
871 * configure.in, */Makefile.am: mingw patch, modified from
872 original patch by yselkowitz. Bug #314216.
874 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
875 for completeness. Bug #163111.
877 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
878 * libspi/util.c, registryd/registry-main.c:
879 Fix guint/char* casts.
880 Patch from chpe, bug #333883.
882 2006-06-12 Bill Haneman <bill.haneman@sun.com>
884 * configure.in: Require atk-1.12.0, to pick up
885 new API. (bug #344412).
887 * libspi-1.0-uninstalled.pc.in:
889 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
890 Fix for #341488 from Samual Thibault.
892 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
893 Thanks to Brian Pepple.
895 2006-06-09 Bill Haneman <bill.haneman@sun.com>
898 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
899 New, missing implementations of attribute reading methods
902 * cspi/spi.h, spi_value.c:
903 (AccessibleValue_getMinimumIncrement): New methods wrapping
904 the (formerly unimplemented) property from Value.idl.
907 (impl_get_minimumIncrement): Implementation for retrieving
908 the minimum valuator increment, (formerly unimplemented).
911 2006-06-09 Bill Haneman <bill.haneman@sun.com>
913 * idl/Accessibility_State.idl:
914 Added STATE_VISITED (bug #338369).
916 * cspi/spi_accessible.c:
917 (spi_state_to_corba) Fixed marshalling of new statetypes.
920 (spi_init_state_tables, impl_getStates):
921 Fixed conversion of new statetypes to/from ATK.
923 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
925 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
926 definitions/conversions for new roles from ATK.
928 * idl/Accessibility_Relation.idl:
930 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
931 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
932 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
934 * libspi/accessible.c: Fixed marshalling of new role types from
937 2006-04-17 Matthias Clasen <mclasen@redhat.com>
939 * revert my previous change
941 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
943 * configure.in: Remove obssolete no_NO locale
944 * po/no.po: And the translation.
946 2006-04-05 Matthias Clasen <mclasen@redhat.com>
948 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
949 memory-management error that caused crashes on x86_64.
952 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
954 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
956 2006-03-27 Bill Haneman <bill.haneman@sun.com>
958 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
959 to strip "cspi_*" from the symbol table.
961 * cspi/spi_streamablecontent.c:
962 (get_streams): Make this method static.
965 (_cspi_exception_throw): rename to cspi_exception_throw,
966 so we can strip it with the rest...
969 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
971 2006-03-27 Bill Haneman <bill.haneman@sun.com>
973 Add doxygen-generated IDL docs to tarball, and enable
974 doxygen during build/install when available. Bug #301345.
976 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
978 * docs/reference/Makefile.am: Add idl to SUBDIRS.
980 * docs/reference/idl/Makefile.am: Optionally use
981 doxygen to create docs.
983 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
985 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
987 2006-03-20 Bill Haneman <bill.haneman@sun.com>
990 (impl_get_selected_rows): Don't free the selection if it's
991 empty or has not been assigned; init it to NULL so you can tell.
992 Also, allow for zero selected rows.
993 (impl_getSelectedColumns): Ditto. Bug #319088.
995 2006-03-11 Vincent Untz <vuntz@gnome.org>
997 Leak fix for bug #334217.
999 * libspi/application.c: spi_application_toolkit_event_listener():
1000 don't duplicate the string we pass as an argument to
1001 spi_init_any_nil() since spi_init_any_nil() already does it
1002 * registryd/deviceeventcontroller.c:
1003 (spi_dec_button_update_and_emit): ditto
1004 (spi_dec_mouse_check): ditto
1005 (spi_dec_emit_modifier_event): ditto
1006 (spi_device_event_controller_forward_mouse): ditto
1007 * registryd/registry.c:
1008 (desktop_add_application): ditto
1009 (desktop_remove_application): ditto
1011 2006-02-20 Bill Haneman <billh@gnome.org>
1013 * configure.in: Rev to 1.7.6.
1015 Leak fixes for bug #331924.
1017 * atk-bridge/bridge.c:
1018 (spi_atk_bridge_init_base): Don't dup the string, it's already
1019 been dup-ed. Fixes a leak.
1020 (spi_atk_emit_eventv): Move the CORBA_free call here,
1021 instead of spi_atk_state_event_listener; fixes another leak.
1022 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
1023 notifying the registry; fixes another leak.
1025 * registryd/registry.c:
1026 (registry_flush_event_queue): Free the CORBA_any when
1027 flushing the event, not just the string. Fixes another leak.
1028 (registry_queue_event): Free the CORBA_any when dropping
1029 events on the floor; fixes another leak.
1032 (spi_init_any_object, spi_init_any_nil):
1033 Always set _release to TRUE. Fixes another leak.
1035 2006-02-20 Bill Haneman <billh@gnome.org>
1037 * configure.in: Rev to 1.7.5.
1038 Reinstate localization of this module. Thanks for Rodney
1039 Dawes for fixing my patch.
1041 * registryd/Makefile.am: Remove Accessibility_Registry.server
1042 from dist, since it needs to be re-created at configure time.
1045 2006-01-31 Bill Haneman <billh@gnome.org>
1047 * configure.in: Rev to 1.7.4 (to include build fix below).
1049 * idl/Makefile.am: Include Selector.idl in dist.
1053 (cspi_internal_event_get_object): Handle case where
1054 "object" isn't present, i.e. CORBA_TC_Object doesn't match
1055 the EventDetails data.
1056 (cspi_internal_event_get_text): Handle NULL string.
1057 (cspi_internal_event_get_rect): Handle missing/empty rect
1058 data, Accessibility_TC_RectBounds doesn't match any_data.
1060 2006-01-30 Bill Haneman <billh@gnome.org>
1064 * atk-bridge/bridge.c:
1065 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
1066 interface and use that when instantiating a new source
1067 accessible. Better fix for bug #321814.
1069 2006-01-27 Bill Haneman <billh@gnome.org>
1071 * idl/Accessibility_Selector.idl: Added to the cvs repository.
1073 * configure.in: Revved to 1.7.3.
1075 2006-01-17 Bill Haneman <billh@gnome.org>
1077 * configure.in: Revved to 1.7.2, re-dist to include docs.
1079 2006-01-09 Bill Haneman <billh@gnome.org>
1081 * configure.in: Removed po/Makefile.in inclusion, we do not need
1082 it. Revved to 1.7.0.
1084 * idl/Accessibility.idl: Improved documentation here, and for all
1085 IDL in the 'GNOME::Accessibility' namespace.
1087 * idl/Accessibility_Accessible.idl:
1088 (LOCALE_TYPE): Added enum.
1089 (AttributeSet): New, for returning multiple name/value attribute pairs.
1090 (RoleSet): New, sequence of Roles, to be used in upcoming
1092 (getAttributes): New API, allows retrieval of name/value pair
1093 annotations for all kinds of Accessible objects. C.f.
1094 Text:getAttributes, which is only for typographic/textual/semantic tags in
1096 (getApplication): New, retrieves the host/containing Application
1097 instance for an object (without having to walk up the whole tree).
1099 * idl/Accessibility_Component.idl:
1100 (getAlpha): New method, returns the alpha blending (aka 'opacity')
1101 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
1104 * idl/Accessibility_Event.idl:
1105 (EventDetails): New struct definition, for encapsulating
1106 commonly-queried information about emitted events. The use of
1107 this structure in emitted events (in the 'any' member of
1108 Accessibility_Event) should greatly reduce the number of
1109 client-server roundtrips necessary.
1111 * idl/Accessibility_Image.idl:
1112 (imageLocale): New, a readonly attribute indicating the POSIX
1113 LC_MESSAGES locale of the image and associated Alt/descriptive
1116 * idl/Accessibility_Relation.idl:
1117 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1120 * idl/Accessibility_Role.idl:
1121 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1122 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1123 complex document and form support.
1125 * idl/Accessibility_State.idl:
1126 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1127 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1128 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1129 for support of complex documents and forms.
1131 * idl/Accessibility_StreamableContent.idl:
1132 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1133 allow old bonobo-stream interfaces to be deprecated in the next
1136 * idl/Accessibility_Text.idl:
1137 (getAttributeValue): New method, allows query-by-name of single
1140 * libspi/accessible.c:
1141 Added support for new roles. Implemented new methods
1142 (impl_accessibility_accessible_get_application): New
1143 (impl_accessibility_accessible_get_attributes): New
1145 * libspi/component.c:
1146 (impl_accessibility_component_get_alpha): New.
1149 (impl_accessibility_image_get_locale): New.
1151 * libspi/relation.c: Added support for new relation type.
1153 * libspi/stateset.c: Added support for new state types.
1156 (impl_getAttributeValue): New.
1159 New prototypes for private methods
1161 spi_init_any_object, spi_init_any_string,
1164 * libspi/spi_event.c:
1165 Use EventDetails in the event emission methods.
1167 * cspi/spi-private.h:
1168 (cspi_role_from_spi_role): Expose this adapter method, since
1169 we need it in the bridge (see below).
1172 (AccessibleEvent_getSourceName):
1173 (AccessibleEvent_getSourceRole):
1174 (AccessibleEvent_getSourceApplication):
1175 (AccessibleEvent_getSourceDetails):
1176 New methods for interrogating/demarshalling
1177 event details (i.e. source's accessible name, role,
1180 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1181 Make use of the new EventDetails struct in events, if present.
1182 (AccessibleEvent_getSourceName)
1183 (AccessibleEvent_getSourceRole)
1184 (AccessibleEvent_getSourceApplication)
1185 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1187 (Accessible_getAttributes): New, wraps
1188 Accessibility_Accessible_getAttributes.
1189 (Accessible_getHostApplication): New, wraps
1190 Accessibility_Accessible_getApplication.
1193 (AccessibleImage_getImageLocale): New wrapper for
1194 Accessibility_Image_get_imageLocale.
1196 * cspi/spi_component.c:
1197 (AccessibleComponent_getAlpha): New wrapper for
1198 Accessibility_Component_getAlpha.
1200 * atk-bridge/bridge.c:
1201 Use new prototyped for init_any methods.
1202 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1203 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1204 (spi_atk_bridge_init_base): Wrappers
1205 for spi_init_any_* methods, due to refactor; include extended
1206 information in the Accessibility_EventDetails struct, for instance
1207 accessible-name, Role, and containing Application.
1209 * registryd/registry.c:
1210 Use new event emission (with EventDetails).
1212 * registryd/deviceeventcontroller.c:
1213 Use new event emission (with EventDetails).
1215 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1217 * configure.in: Generate po/Makefile.in
1218 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1219 * cspi/spi_streamablecontent.c:
1220 (accessible_bonobo_stream_client_seek),
1221 (AccessibleStreamableContent_seek): Remove unused vars.
1222 * libspi/application.c: Missing header.
1223 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1224 * login-helper/login-helper.c: (login_helper_finalize),
1225 (login_helper_init): Remove unused stuff
1226 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1227 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1228 and surround some with #ifdef GRAB_BUTTON.
1229 * test/event-listener-test.c: (main), (report_event),
1230 (report_caret_event), (report_detail_event),
1231 (report_detail1_event), (report_bounds_event), (report_text_event),
1232 (report_text_selection_event),
1233 (report_active_descendant_changed_event),
1234 (report_children_changed_event), (report_name_changed_event),
1235 (report_description_changed_event), (report_parent_changed_event),
1236 (report_window_event), (report_table_summary_event),
1237 (report_table_header_event), (report_table_caption_event),
1238 (report_table_row_description_event),
1239 (report_table_column_description_event), (timing_test_event):
1240 Remove a bunch of unused variables and fix a slew of format specifiers
1241 * test/key-listener-test.c: (report_all_key_event): Format specifier
1242 * test/keypad-test.c: (print_key_event): Same
1243 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1245 * test/screen-review-test.c: (main), (print_chunk_debug),
1246 (review_buffer_get_text_chunk), (debug_chunk_list),
1247 (string_guess_clip), (text_chunk_get_clipped_string),
1248 (text_chunk_list_to_string), (get_screen_review_line_at):
1249 Remove unused variables and fix format specifiers.
1250 * test/simple-at.c: (report_text_event): Format specifier fix.
1251 * test/stress-test.c: (main): Remove unused var.
1253 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1255 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1256 (yes I know that's useless)
1258 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1260 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1262 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1264 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1265 urgh-fix embarassing typo.
1267 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1269 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1270 do a faster, less problematic _unref call on this local
1271 object, rather than a slower (potentially cross-thread
1272 complicated) CORBA call.
1274 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1276 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1277 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1278 * registryd/deviceeventcontroller.c:
1279 (spi_controller_notify_mouselisteners),
1280 (impl_generate_keyboard_event):
1281 * test/screen-review-test.c: (chunk_bounds_within):
1282 * test/test-simple.c: (test_desktop): Remove some unused code
1283 and fix compiler warnings. Closes bug #320049.
1285 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1287 * registryd/deviceeventcontroller.c:
1288 (spi_controller_notify_keylisteners): Check
1289 to make sure the event listener has requested 'preemptive'
1290 status before pre-empting an event.
1292 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1294 * configure.in, README, NEWS: Release 1.6.5.
1296 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1298 * test/window-listener-test.c: Fix a printf
1299 format error. (#169453)
1301 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1303 * tests/test-simple.c:
1304 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1305 relying on the old string from the key event hanging around after
1306 the event handler returns. Fixes broken 'make check'.
1308 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1310 * Added Marathi (mr_IN) translations.
1312 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1314 * cspi/bonobo/cspi-bonobo-listener.c:
1315 (cspi_event_list_remove_by_cb): Fix the build.
1317 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1319 * cspi/bonobo/cspi-bonobo-listener.c
1320 (cspi_event_list_remove_by_cb): actually filter by callback.
1322 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1324 * registryd/registry.c (remove_listener_cb):
1325 Make deregistration filter rules match the event emission rules.
1327 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1329 * registryd/registry.c (remove_listener_cb),
1330 (impl_accessibility_registry_deregister_global_event_listener),
1331 (impl_accessibility_registry_deregister_global_event_listener_all):
1332 pass a closure to the remove callback to filter listeners more
1333 accurately on remove.
1335 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1337 * configure.in: Revved to 1.6.4.
1338 Remember to put quotes around XEVIE_LIBS assignment.
1339 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1342 * tests/event-listener-test.c: Tweaked the tests - more detail
1343 from caret events, and some interrogation of AccessibleText APIs.
1344 Commented-out the bounds-changed events by default, since they can
1347 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1349 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1350 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1351 Same here. Closes bug #167806
1353 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1355 * atk-bridge/bridge.c:
1356 (spi_atk_bridge_signal_listener):
1357 Free the any._value if any._release is TRUE,
1358 since the ORB won't do it for us in this case
1359 [because this method is not a skel].
1360 Fix for bug #168679.
1362 2005-03-30 Steve Murphy <murf@e-tools.com>
1364 * configure.in: Added "rw" to ALL_LINGUAS.
1366 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1368 * configure.in: Improved check for HAVE_XEVIE, to detect
1369 presence on XOrg, where -lXevie is a separate library.
1371 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1373 * configure.in, NEWS, README: Revved to 1.6.3.
1375 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1377 * configure.in: Added "xh" to ALL_LINGUAS.
1379 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1381 * atk-bridge/bridge.c:
1382 (atk_bridge_init): Added missing NULL in g_strconcat(),
1383 also check for symlink before logging to
1384 insecure directory. Thanks to meissner@suse.de.
1386 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1388 * tests/login-helper-server-test.c: Add return call to main
1389 function. Patch from Chris Lahey. Fixes bug #165129.
1391 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1393 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1395 2004-12-09 Bill Haneman <billh@gnome.org>
1397 * registryd/registry-main.c:
1398 Added #define <string.h> for strrchr. (bug 160862).
1399 Thanks to Vincent Berger for catching.
1401 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1403 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1404 restart registry process if the registry process is found to have died
1405 and the current process is exiting.
1406 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1407 application if the registry process has died.
1408 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1409 does not return a registry object.
1410 (spi_atk_tidy_windows): Give up if the registry process has died.
1412 This fixes problems with hangs and crashes when logging out.
1414 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1416 * registryd/desktop.c: Add checking that we are not exiting before
1417 calling spi_desktop_remove_application in
1418 abnormal_application_termination. Fix for bug #152147.
1420 2004-12-02 Bill Haneman <billh@gnome.org>
1422 * configure.in, NEWS, README: Revved to 1.6.1.
1424 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1425 * atk-bridge/bridge.c:
1426 (atk_bridge_init): Save the pid when we start, to detect forks.
1427 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1428 if we're in a forked pid.
1430 2004-10-09 Bill Haneman <billh@gnome.org>
1432 * idl/Accessibility_LoginHelper.idl:
1433 Improved inline documentation.
1435 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1437 * configure.in: Added gl (Galician) to ALL_LINGUAS
1439 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1441 * libspi/accessible.c:
1442 (impl_accessibility_accessible_get_role_name),
1443 (impl_accessibility_accessible_get_local_role_name):
1444 NULL vs. 0 cleanups.
1445 * libspi/component.c:
1446 (impl_accessibility_component_get_accessible_at_point):
1448 * libspi/eventlistener.c: (spi_event_listener_new):
1450 * libspi/stateset.c: (impl_compare): More of the same
1451 * libspi/table.c: (impl_getRowDescription): Again.
1452 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1453 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1454 (impl_generate_keyboard_event): Same.
1455 * registryd/registry-main.c: (main): Same
1456 * test/event-listener-test.c: (test_exit): Same
1457 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1458 * test/keysynth-test.c: (test_key_synthesis): Same
1459 * test/login-helper-server-test.c: (main): Fix warning.
1460 * test/screen-review-test.c: (test_exit): Fix include.
1461 * test/simple-at.c: (simple_at_exit), (_festival_init):
1464 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1466 * configure.in, NEWS, README: Revved to 1.6.0.
1468 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1470 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1471 was missing the HTML docs.
1473 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1475 * configure.in: only cleanups:
1476 - better looking PKG_CHECK_MODULES() output,
1478 - declare in one common place required versions of other tools using
1481 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1483 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1484 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1485 required ATK version accordingly.
1487 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1489 * cspi/bonobo/cspi-bonobo.c:
1490 (cspi_display_name): Fix C99ism.
1491 * atk-bridge/bridge.c:
1492 (spi_display_name): Fix C99ism.
1493 Patch from Jens Granseuer, jensgr@gmx.net.
1495 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1497 * configure.in: Added "or" to ALL_LINGUAS.
1499 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1501 * configure.in, NEWS, README: Revved to 1.5.4.
1503 * registryd/registry-main.c:
1504 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1507 * cspi/bonobo/cspi-bonobo.c:
1508 (cspi_display_name): New convenience method, gets DISPLAY with
1509 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1510 (cspi_init): Set the activation env value above before getting
1513 * atk-bridge/bridge.c:
1514 (spi_display_name): Create the AT_SPI_DISPLAY activation
1515 environment for an app, based on the DISPLAY environment with the
1516 screen number stripped off.
1517 (atk_bridge_init): Allow redirection of error messages to a log.
1518 (spi_atk_bridge_get_registry): Call
1519 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1521 Fixes for bugs #149962, #136986, #144086.
1523 2004-08-16 Christian Rose <menthos@menthos.com>
1525 * configure.in: Added "bs" to ALL_LINGUAS.
1527 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1529 * configure.in: Added nb to ALL_LINGUAS.
1531 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1534 (SPI_init): Return error code '2' if the activated
1535 registry cannot be pinged. Fixes bug #147648.
1537 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1539 * registryd/deviceeventcontroller.c:
1540 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1541 rely on timer-poll instead, to avoid conflict with
1544 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1546 * configure.in: Revved to 1.5.3.
1548 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1550 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1552 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1554 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1556 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1558 * atk-bridge/bridge.c:
1559 (spi_atk_bridge_do_registration):
1560 Register with ATK for AtkComponent:bounds-changed events.
1561 (api_atk_bridge_signal_listener):
1562 Marshal the AtkRectangle info into the event notification
1563 for object:bounds-changed events.
1566 (spi_init_any_rect): New method, inits a corba struct of
1567 type Accessibility_BoundingBox from an AtkRectangle.
1569 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1572 (SPIRect): New struct definition.
1573 (SPI_freeRect): New declaration.
1574 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1577 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1578 implemented. Gets the bounding box data from the CORBA_any
1579 associated with a bounds-changed event notification.
1580 (cspi_internal_event_get_rect): New, used internally by above method.
1583 (SPI_freeRect): Implemented this new method, for freeing
1586 * test/event-listener-test.c:
1587 (main, report_bounds_event):
1588 Added a test for object:bounds-changed events.
1590 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1592 * test/login-helper-server-test.c:
1593 (main): Fix C99-ism. Thanks to Jens Granseuer.
1595 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1597 * libloginhelper-1.0.pc.in:
1598 * idl/Accessibility_LoginHelper.idl:
1599 * login-helper/Makefile.am:
1600 * login-helper/login-helper.[ch]:
1601 * test/login-helper-client-test.c:
1602 * test/login-helper-server-test.c: Added files missing from CVS.
1603 Files obtained from at-spi-1.5.2 tarball.
1605 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1607 * configure.in: Create login-helper/Makefile.
1608 Incremented micro version.
1610 * Makefile.am: Add login-helper subdir and pkgconfig data.
1612 * login-helper: New subdir.
1614 * libloginhelper-1.0.pc.in: New.
1616 * idl/Accessibility_LoginHelper.idl: New file, defines
1617 interface whereby authentication clients can identify agents which
1618 need access to services during the login process, e.g. screen lock
1621 * login-helper/Makefile.am : New.
1623 * login-helper/login-helper.[ch] : New, implementation of
1624 a LoginHelper base class. Services needing LoginHelper can subclass.
1626 * test/Makefile.am : Added test for login-helper, client and
1629 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1630 Use proper prefix in #include files.
1632 * test/login-helper-client-test.c: New.
1634 * test/login-helper-server-test.c: New.
1636 2004-05-27 Alexander Shopov <ash@contact.bg>
1638 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1640 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1642 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1643 is positive. This should make it easier to detect inapprorpiate unref
1646 2004-05-11 James Henstridge <james@daa.com.au>
1648 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1649 no-op and deprecated.
1651 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1653 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1655 2004-04-28 Bill Haneman <billh@gnome.org>
1657 * Makefile.am: Added --enable-gtk-doc to
1658 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1660 2004-04-19 Bill Haneman <billh@gnome.org>
1662 * configure.in: Revved to 1.5.1.
1664 * registryd/deviceeventcontroller.c:
1666 (DEControllerPrivateData): Added fields for
1667 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1668 (spi_dec_replace_map_keysym): New internal utility for
1669 replacing a keysym in the keymap - used to allow
1670 synthesis of individual characters which aren't in the
1672 (spi_dec_reset_reserved): New; resets the changed keysym value
1674 (keycode_for_keysym): We now try to deal with failed
1675 XKeysymToKeycode requests by changing a keymap value
1676 and returning a reserved keycode. We now take
1677 a DEController pointer as first arg.
1678 (spi_controller_register_with_devices): Call XkbGetMap with
1679 the XkbKeySymsMask. Find the highest keycode in the current
1680 keymap which doesn't have any grabs, and mark that one for
1681 temporary re-mapping when out-of-range KeySyms are synthesized.
1682 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1685 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1687 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1689 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1691 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1693 2004-03-24 Bill Haneman <billh@gnome.org>
1696 (AccessibleTable_addRowSelection),
1697 (AccessibleTable_addColumnSelection),
1698 (AccessibleTable_removeRowSelection),
1699 (AccessibleTable_removeColumnSelection):
1700 Add declarations for spi wrappers which were
1701 inadvertantly omitted. Fixes bug #133413.
1704 Revved to 1.5.0 (unstable series for GNOME 2.7).
1706 2004-03-24 Bill Haneman <billh@gnome.org>
1708 * atk-bridge/bridge.c:
1709 Bracketed some debug output in
1710 conditionals, to avoid printing it in normal use.
1713 * libspi/hyperlink.c:
1714 Don't cast 'object' to ATK_OBJECT when constructing
1715 an AtkAction interface for a hyperlink.
1716 See discussion in bug #120659.
1718 * test/key-listener-test.c:
1719 (report_all_key_event): Send output to stderr,
1720 not stdout, for consistency with the rest of the test callbacks.
1723 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1724 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1725 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1726 try incrementing the revision AFTER doing a dist, at least
1729 2004-03-22 Bill Haneman <billh@gnome.org>
1731 * configure.in: Revved to 1.4.0, libtool 9.14.9
1733 2004-03-17 Laszlo Peter <laca@sun.com>
1735 * libspi-1.0-uninstalled.pc.in: add idldir
1737 * cspi-1.0-uninstalled.pc.in: add idldir
1739 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1741 * configure.in: Added "en_GB" to ALL_LINGUAS
1743 2004-03-15 Bill Haneman <billh@gnome.org>
1745 * configure.in: Revved to 1.3.16,
1748 2004-03-15 Laszlo Peter <laca@sun.com>
1750 * libspi-1.0-uninstalled.pc.in: new file
1752 * cspi-1.0-uninstalled.pc.in: new file
1754 * configure.in: add the new pc files to AC_OUTPUT
1756 * Makefile.am: add the new pc files to EXTRA_DIST
1758 2004-03-12 Bill Haneman <billh@gnome.org>
1760 * atk-bridge/bridge.c:
1761 (spi_atk_bridge_key_listener):
1762 Make sure to return consumed=FALSE if snoop
1763 event is not dispatched to listener.
1766 2004-03-01 Bill Haneman <billh@gnome.org>
1768 * configure.in: Revved to 1.3.15,
1771 2004-03-07 Danilo Segan <dsegan@gmx.net>
1773 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1775 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1777 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1779 2004-03-01 Bill Haneman <billh@gnome.org>
1781 * configure.in: Revved to 1.3.14.
1784 (SPI_exit): Removed "bye-bye" exit message.
1785 Moved "leak" report to happen before the
1786 iteration over the leaked refs list.
1787 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1789 2004-02-24 Bill Haneman <billh@gnome.org>
1791 * configure.in: Revved to 1.3.13.
1793 * docs/reference/cspi/Makefile.am:
1794 Correct typo that was breaking the docs build.
1796 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1798 * autogen.sh: Require version 1.7 of automake.
1800 * configure.in: call GTK_DOC_CHECK([1.0])
1802 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1804 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1806 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1808 * test/Makefile.am: Remove use of CFLAGS.
1810 This fixes bug #132987.
1812 2004-02-11 Bill Haneman <billh@gnome.org>
1814 * reverted most of Tomasz' patch below, since it was breaking
1815 builds (see bug #134058).
1817 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1819 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1820 correct pass "make dist" (empty .. because seems no sach types in
1821 header files with gtk-doc markups).
1822 * docs/reference/cspi/Makefile.am, configure.in:
1823 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1824 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1825 * Makefile.am: added:
1826 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1827 for force correct pass generate documentation on "make distcheck".
1828 * libspi/Makefile.am: fixes for automake >= 1.6.
1829 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1830 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1833 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1835 * docs/reference/cspi/Makefile.am (install-data-local): Install
1836 index.sgml since the doc autobuilder on widget.gnome.org looks for
1839 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1841 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1844 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1846 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1848 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1850 * test/simple-at.c: Fixed null string problems that cause core
1851 dumping problems on Solaris.
1853 2004-01-12 Bill Haneman <billh@gnome.org>
1855 * configure.in: Incremented version to 1.3.11.
1857 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1859 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1860 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1863 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1865 * configure.in: Added "fa" to ALL_LINGUAS.
1867 2003-12-20 Arafat Medini <lumina@silverpen.de>
1869 * configure.in: Added "ar" to ALL_LINGUAS
1871 2003-12-16 Bill Haneman <billh@gnome.org>
1873 * registryd/registry-main.c:
1875 Set the reg_env DISPLAY variable before registering the
1876 activated registry service. Fixes bug #129479.
1878 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1880 * configure.in: Added "id" in ALL_LINGUAS
1881 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1883 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1885 * registryd/deviceeventcontroller.c (global_filter_fn):
1886 When an event is consumed discard any XEvents were added to
1887 the queue while dealing with the the event. This can happen if
1888 processing of the event takes a long time. Call XUngrabKeyboard
1889 if an event was discarded. This fixes bug $124837.
1890 Only call wait_for_release_event for a KeyPress.
1891 Use local variable display instead of spi_get_display().
1892 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1895 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1897 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1898 Allow for mask to contain values other than NumLock mask.
1901 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1903 * registryd/devieceventcontroller.c:
1904 (wait_for_release_event): Change first parameter from GdkEvent to
1906 (global_filter_fn); Correct call to wait_for_release_event.
1910 2003-12-08 Bill Haneman <billh@gnome.org>
1914 * registryd/ucs2keysym.c: New file.
1916 * registryd/deviceeventcontroller.c:
1917 (dec_keysym_for_unichar): Remove old partial implementation and
1918 replace with call to ucs2keysym(), which is much more complete.
1919 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1924 2003-12-05 Bill Haneman <billh@gnome.org>
1926 * configure.in: Version 1.3.9.
1928 * docs/reference/cspi/tmpl/spi_registry.sgml:
1929 Added reference to libspi/keymasks.h to the
1930 description of Registry queries: AccessibleKeyMaskType.
1933 2003-12-04 Bill Haneman <billh@gnome.org>
1935 Fix for bug #121974.
1937 * idl/Accessibility_Application.idl:
1938 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1939 setlocale's LC_TYPEs.
1940 (Accessibility::Application::getLocale): New method.
1941 Allows clients to query the locale, by type, of an app.
1944 * cspi/spi_application.c:
1945 (AccessibleApplication_getLocale): New method, wraps IDL above.
1947 * libspi/application.c:
1948 (spi_application_class_init): Init epv entry for getLocale.
1949 (impl_accessibility_application_get_locale): Impl for above.
1951 * test/test-simple.c:
1952 (test_application): Added assertion for getLocale, i.e.
1953 that the string from AccessibleApplication_getLocale (app, type)
1954 is the same as that from setlocale (type, NULL);
1956 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1958 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1959 the keyboard on a timeout intil the key state goes from pressed to
1960 released. Fixes bug #111429.
1962 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1964 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1965 root object so that it is present when a context menu in an
1966 out-of-process applet is popped up.
1967 (spi_atk_bridge_do_registration): Create acceessible application root
1968 object only if it does not exist.
1970 This fixes bug #125834.
1972 2003-12-01 Bill Haneman <billh@gnome.org>
1974 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1977 Added enum for AccessibleStreamableContentSeekType.
1978 (AccessibleStreamableContent_freeContentTypeList): New.
1980 * cspi/spi_streamablecontent.c:
1981 (accessible_bonobo_stream_client_seek): New private method.
1982 (AccessibleStreamableContent_seek): Implemented this method,
1983 using Bonobo_Stream_seek.
1984 (AccessibleStreamableContent_freeContentTypeList): New method
1985 for freeing the return value from
1986 AccessibleStreamableContent_getContentTypes.
1987 (stream_cache_item_free): Replaces stream_release; stop leaks.
1988 (stream_release): removed.
1989 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1990 free the memory properly.
1992 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1994 Fix for bug #116009.
1996 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1998 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
2000 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
2002 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
2004 2003-12-01 Bill Haneman <billh@gnome.org>
2006 Fix for bug/rfe #127463.
2008 * idl/Accessibility_Accessible.idl:
2009 (getLocalizedRoleName): New.
2010 (unimplemented4): Removed (replaced by above).
2012 * libspi/accessible.c:
2013 (impl_accessibility_accessible_get_local_role_name): New.
2014 (spi_accessible_class_init): Add getLocalizedRoleName entry to
2018 (Accessible_getLocalizedRoleName): New.
2020 * cspi/spi_accessible.c:
2021 (Accessible_getLocalizedRoleName): New.
2023 2003-12-01 Bill Haneman <billh@gnome.org>
2025 Fix for bug #118581.
2026 * idl/Accessibility_Text.idl:
2027 (getDefaultAttributes): New.
2028 (unimplemented4): Removed (replaced by above method).
2031 (impl_getDefaultAttributes): New method.
2032 (spi_text_class_init):
2033 initialize the get_default_attributes slot in the epv.
2036 (AccessibleText_getDefaultAttributes): New prototype.
2039 (AccessibleText_getDefaultAttributes): New method.
2041 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
2043 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
2044 write beyond the end of the table. Fixes bug #120473.
2046 2003-09-30 Christian Rose <menthos@menthos.com>
2048 * configure.in: Added "eu" to ALL_LINGUAS.
2050 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
2052 * configure.in: ALL_LINGUAS: Added no.
2054 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
2056 * configure.in: Added lt to ALL_LINGUAS.
2058 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
2060 * atk-bridge/bridge.c:
2061 (atk_bridge_init): Register event listeners always even for
2062 out-of-process applet.
2063 (spi_atk_bridge_toplevel_added): Remove call to
2064 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
2065 (spi_atk_bridge_toplevelk_removed): Remove call to
2066 spi_atk_deregister_event_listenersa as the listeners are now always
2068 (spi_atk_bridge_register_application): Remove call to
2069 spi_atk_register_event_listeners as it is not done in atk_bridge_init
2071 This fixes bug #120991.
2073 * libspi/table.c (impl_getColumnDescription): Correct typo,
2074 pointed out by Bolian.Yin@sun.com.
2076 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
2078 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
2080 2003-09-08 Bill Haneman <billh@gnome.org>
2082 * configure.in: Revved to 1.3.7.
2084 This is the GNOME 2.4.0 release of at-spi.
2086 * docs/reference/cspi/Makefile.am:
2087 Removed spurious inclusion of 'index.sgml' in the
2088 html directory; this was breaking make distcheck and
2089 also some other build environments.
2091 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
2093 * registryd/registry.[ch}:
2094 Add queue_handler_id and focus_object to SpiRegistry data structure.
2095 (registry_flush_event_queue): If event being discarded is
2096 "state-change:focused" store object as focus_object.
2097 (registry_start_queue): Remove queue handler and focus object
2099 (registry_discard_event): New function which discards a focus event
2100 if we had stored focus object in the registry.
2101 (registry_queue_event): Add new check that is_queueing is set as this
2102 function is reentrant.
2103 (registry_filer_event): Add call to registry_discard_event.
2105 This resolves issues raised in bug #108664.
2107 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
2109 * configure.in: Added "bn" to ALL_LINGUAS.
2111 2003-09-04 Bill Haneman <billh@gnome.org>
2113 * cspi/spi_event.c: Documentation improvements for
2114 (SPI_registerAccessibleKeylistener).
2116 * docs/reference/tmpl/spi_registry.sgml:
2117 Documentation improvements for SpiAccessibleKeylistenerCB.
2119 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2121 * configure.in: Added "ro" to ALL_LINGUAS.
2124 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2126 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2127 not decremented to zero. Fixes bug #120725.
2129 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2131 * configure.in: Added "ja" to ALL_LINGUAS.
2133 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2135 * configure.in: Added "is" to ALL_LINGUAS.
2137 2003-08-22 Christian Rose <menthos@menthos.com>
2139 * configure.in: Added "nl" to ALL_LINGUAS.
2141 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2143 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2144 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2146 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2148 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2149 type for unspecified exception.
2150 * cspi_streamablecontect): Add include of string.h for memcpy.
2151 (stream_release): Correct call to bonobo_object_release_unref
2152 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2153 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2154 argument of _cspi_expection_throw.
2155 * libspi/hyperlink.c: Add include of libspi/action.h:
2156 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2157 * libspi/streamablecontent.c: add include of libspi/component.h.
2158 * regisrtyd/deviceeventcontroller.c:
2159 (spi_dec_translate_mask): Removed unused variable priv.
2160 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2161 * registryd/registry.c:
2162 (registry_filter_event): Remove unused variable queue_is-empty.
2163 (impl_registry_notify_event): Use correct modifier in fprintf call.
2165 This fixes compiler warnings reported in bug #120220.
2167 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2169 * registryd/registryd.c: Remove this file.
2171 2003-08-17 Sanlig Badral <badral@openmn.org>
2173 * configure.in: Added mn to ALL_LINGUAS.
2175 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2177 * configure.in: Added et to ALL_LINGUAS.
2179 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2181 * test/event-listener-test.c: Change active-descendant to
2182 active-descendant-changed.
2184 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2186 * configure.in: Added "fi" in ALL_LINGUAS.
2188 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2190 * configure.in: Added "hi" in ALL_LINGUAS.
2192 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2194 * configure.in: Revved to 1.3.6.
2198 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2200 * registryd/deviceeventcontroller.c
2201 (spi_device_event_controller_object_finalize): Fix typo in previous
2204 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2206 * registryd/deviceeventcontroller.c
2207 (spi_device_event_controller_object_finalize): Fix build on
2208 systems without XEvIE.
2210 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2212 * acconfig.h, configure.in, registryd/Makefile.am,
2213 registryd/devicecontoller.[ch]: Add XEViE support.
2215 2003-08-06 Wang Jian <lark@linux.net.cn>
2217 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2219 2003-08-06 Metin Amiroff<metin@karegen.com>
2221 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2223 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2225 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2226 MODIFIER_ALT in correct place.
2228 This fixes part of bug #118114.
2230 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2232 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2234 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2236 * configure.in: Added "ko" to ALL_LINGUAS.
2238 2003-07-28 Ole Laursen <olau@hardworking.dk>
2240 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2242 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2244 * configure.in: Added "sq" to ALL_LINGUAS.
2246 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2248 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2250 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2252 * configure.in: updated ALL_LINGUAS list
2254 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2256 * configure.in: Added Belarusian to ALL_LINGUAS.
2258 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2260 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2262 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2263 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2265 This fixes bug #116949.
2267 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2269 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2270 Correct CSPI to SPI in function documentation.
2272 This fixes bug #118054.
2274 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2276 * configure.in: Added Russian to ALL_LINGUAS.
2278 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2280 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2282 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2284 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2286 2003-07-10 Joel Brich <joel.brich@laposte.net>
2288 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2290 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2292 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2294 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2296 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2297 resources allocated for AccessibleEvent. See cspi_event().
2299 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2300 static variable streams to NULL.
2302 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2303 Update so that AcessibleEvent_ref will work.
2305 This fixes bug #116624.
2307 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2309 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2311 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2313 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2315 2003-07-02 Christian Neumair <chris@gnome-de.org>
2317 * configure.in: Added "de" (German) to ALL_LINGUAS.
2319 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2321 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2323 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2325 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2327 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2329 * configure.in: Added "pl" to ALL_LINGUAS.
2331 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2333 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2335 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2338 (get_action_from_servant):
2339 Removed assertion that action is implemented on an AtkObject.
2341 * libspi/hyperlink.c:
2342 (spi_hyperlink_new):
2343 Aggregate AccessibleAction interface on the hyperlink object if
2344 the object implements AtkAction. (This convention is used in
2347 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2349 * configure.in: Revved to 1.3.5.
2351 * registryd/Accessibility_Registry.server.in.in:
2352 Marked up appropriate strings for translation.
2354 * atk-bridge/bridge.c: Marked a couple of
2355 user-visible warnings for translation. Questionable
2356 whether they are really useful, but possibly so.
2359 2003-06-28 Christian Rose <menthos@menthos.com>
2361 * configure.in: Added "sv" to ALL_LINGUAS.
2363 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2365 * registryd/registry.c:
2366 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2367 (registry_defer_on_event): Defer focus: events, this is an
2368 improvement to the patch for bug #108664.
2370 * TODO: Update with 2.4/"Dev Complete" items.
2372 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2374 * atk-bridge/bridge.c:
2375 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2376 looks up signals once.
2377 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2378 if doing registration.
2379 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2380 when doing registration.
2382 This fixes bug #115014.
2384 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2386 * atk-bridge/bridge.c:
2387 (atk_bridge_init): Add signal handler for children-changed:remove on
2388 root when in a BonoboComponent.
2389 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2390 for first toplevel only other incrememt variable toplevels.
2391 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2392 application and remove listeners.
2393 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2395 (spi_atk_deregister_event_listeners): New function which removes
2397 (reinit_register_vars): New fuction which reinitializes variables.
2399 This fixes bug #111578.
2401 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2403 * configure.in: version 1.3.4.
2405 * cspi/spi_accessible.c:
2406 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2409 2003-06-13 Michael Meeks <michael@ximian.com>
2411 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2413 * cspi/spi_main.c (cspi_peek_ev): impl.
2415 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2417 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2419 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2421 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2422 SPI_ROLE_AUTOCOMPLETE
2424 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2426 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2427 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2429 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2431 * libspi/streamablecontent.h:
2432 * libspi/streamablecontent.c:
2433 New files, provide implementation/wrappers for
2434 Accessibility_StreamableContent.
2436 * cspi/spi_streamablecontent.c:
2437 Connected the C wrappers to the libspi C bindings.
2438 (AccessibleStreamableContent_close): New method.
2441 (AccessibleStreamableContent_close): New method, needed
2442 since we have an "open, [seek], read, close" model in cspi.
2444 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2446 Fix for #108664; Padraig's revision of my original patch.
2448 * registryd/registry.h:
2449 Added event queue list, is_queuing, and exit_notify_timeout
2450 to the registry struct.
2452 * registryd/registry.c:
2453 (registry_init): Initialize new struct from registry.h.
2454 (impl_registry_notify_event):
2455 Filter events before notifying, in case some need to be
2457 (registry_filter_event): New,
2458 we defer certain incoming events (for instance
2459 window:deactivate) because we may wish to hide
2460 or reject them based on pending events. This is
2461 mostly a workaround for bug #108664.
2462 (registry_queue_event, registry_start_queue): New.
2463 (registry_defer_on_event): Test event to see if it
2465 (registry_reset_on_event): Returns TRUE if the
2466 event should cause a queue reset.
2467 (registry_discard_on_event): Returns TRUE if the event
2468 should cause the previous queue contents to be discarded.
2469 (registry_timeout_flush_queue): Flushes the pending event
2470 queue if no reset/discard-triggering events have come in
2471 within the timeout period.
2472 (registry_emit_event): New.
2473 (registry_clone_notify_context): New, used when queueing the
2474 event notify contexts.
2476 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2478 * configure.in: Version revved to 1.3.2, lt 0.9.2
2479 Incremented ATK required version to 1.3.4.
2481 * cspi/spi_registry.c:
2482 (SPI_generateKeyEvent):
2483 We now pass the keystring along if it's non-null.
2485 * registryd/deviceeventcontroller.c:
2486 (keysym_mod_mask): New method, returns modifier mask
2487 required to generate a keysym from a given keycode.
2488 (dec_synth_keysym): New method.
2489 (dec_synth_keystring): New method.
2490 (dec_get_modifier_state): New method.
2491 (dec_lock_modifiers): New
2492 (dec_unlock_modifiers): New.
2493 (dec_keysym_for_unichar): New, rather brute-force
2494 conversion from UCS-4 to X KeySyms. Only works for
2495 Latin at the moment, with partial implementations for
2496 Greek, Hebrew, and (incomplete) Katakana.
2497 (impl_generate_keyboard_event): Now implement
2498 "KEYSTRING" synthesis and implement "KEYSYM"
2500 (keycode_from_keysym): Improved, passes a returned
2501 modmask value now if the corresponding param is non-NULL.
2503 Fixes bugs #92143 and #109776.
2506 * test/keysynth-test.c:
2507 New test program for key synthesis, to confirm fixes for
2511 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2513 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2515 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2516 Add line for RELATION_POPUP_FOR
2518 * docs/reference/cspi/tmpl/spi_relation.sgml:
2519 Add relation SPI_RELATION_POPUP_FOR
2521 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2522 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2524 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2526 * libspi/relation.c (spi_init_relation_type_table):
2527 Add line for RELATION_POPUP_FOR
2529 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2531 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2532 there are still windows which have not been deleted and emit
2533 window:deactivate, if necessary and window:destroy events.
2534 This fixes bug #114370. The change on June 5th was not correct.
2536 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2538 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2541 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2543 New methods for client exception handling and interception.
2544 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2545 (SPI_exceptionHandlerPop): You guessed it...
2546 (SPI_getSourceType): Return the type of object which offended.
2547 (SPI_getExceptionCode): Return an enum code telling, possibly,
2548 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2549 (SPIAccessibleException_getSource): get the source object for
2550 exceptions that come from Accessibles, if SPIExceptionSourceType is
2551 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2552 (SPIException_getDescription): New, returns a string description of
2553 the problem. [Not yet a stable ABI, strings are not frozen]
2555 * cspi/spi-private.h:
2556 Added implementation details of opaque SPIException
2560 Implementations of above. Also
2561 (_cspi_exception_throw): new private method that
2562 dispatches exceptions to handlers, called from cspi-bonobo.c
2564 * cspi/bonobo/cspi-bonobo.c:
2565 (cspi_check_ev): call _cspi_exception_throw.
2566 Don't print a warning message if the exception has been
2567 handled by _cspi_exception_throw.
2569 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2571 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2572 there are still windows which have not been deleted and emit
2573 window:deactivate, if necessary and window:destroy events.
2574 This fixes bug #114370.
2576 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2579 (cspi_accessible_is_a): Make non-fatal
2580 if the object reference is dead.
2582 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2584 * cspi/spi_main.c: #include <stdio.h>
2585 * test/simple-at.c: ditto
2586 * test/event-listener-test.c: ditto
2587 * test/screen-review-test.c: ditto
2589 2003-05-30 Michael Meeks <michael@ximian.com>
2591 * test/test-simple.c (main): use CORBA_ORB_perform_work
2592 instead of an unnecessary linc_ call.
2594 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2596 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2597 Add SPI_STATE_INDETERMINATE.
2599 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2602 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2604 * libspi/stateset.c (init_state_type_tables): Add support for
2607 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2609 * configure: Update versions of atk and gail required.
2610 This fixes bug #113268.
2612 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2614 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2616 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2618 * libspi/Makefile.am:
2619 Ensure headers are generated before being used by c sources.
2621 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2624 Simplified lt versioning rules.
2625 Incremented version to 1.3.0, to indicate that we're on the
2626 unstable branch now.
2628 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2630 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2631 Add MKDB_OPTIONS=--outtput-format=xml
2633 * docs/reference/cspi/at-spi-cspi-docs.sgml
2634 docs/reference/idl/at-spi-idl-docs.sgml:
2635 Convert to Docbook XML.
2637 This fixes bug #111793.
2639 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2641 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2642 AcccessibleKeyEventType, AccessibleKeyMaskType.
2644 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2646 * cspi/state-types.h: Add documentation for AccessibleState.
2648 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2649 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2650 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2651 AccessibleComponentLayer.
2653 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2656 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2658 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2659 Accessible. Add description of AccessibleEvent,
2660 AccessibleEventListenerCB.
2662 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2665 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2666 documentation. Add description of AccessibleKeystrokeListenerCB,
2667 AccessibleKeyEventMask, AccessibleModifierMaskType,
2668 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2669 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2671 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2674 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2677 This fixes bug #104730.
2679 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2681 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2682 Set is_text field of Accessibility_DeviceEvent data structure.
2684 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2685 is-text field of AccessibleDeviceEvent data structure.
2687 This addresses part of bug #108666.
2689 * registryd/devcieeventcontroller.c: Unset debug option.
2691 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2693 * cspi/accessible.c:
2694 (cpi_initial_relation_type_table): New function which initializes
2695 mapping between Accessibility_RelationType and AccessibleRelationType.
2696 (cspi_relation_type_from_spi_relation_type): New function which
2697 translates an Accessibility_RelationType into an AccessibleRelationType.
2698 (AccessibleRelation_getRelationType): Use
2699 cpi_relation_type_get_spi_relation_type to return correct value.
2700 (spi_state_to_corba): Return correct type for default case.
2702 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2703 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2705 * cspi/cspi-bonobo-listener.c:
2706 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2709 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2710 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2711 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2712 libspi/image.c, libspi/listener.c, libspi/selection.c,
2713 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2714 registryd/desktop.c, registryd/registry.c:
2715 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2717 * libspi/eventlistener.c
2718 Remove semicolon after BONOBO_TYPE_FUNC.
2720 * libspi/relation.c:
2721 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2722 (spi_init_relation_type_table): Initialize using correct type.
2724 * registryd/desktop.c:
2725 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2726 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2727 of Accessibility_KeyEventType.
2729 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2732 * tests/simple-at.c, tests/screen-review-test.c:
2733 Add include for <strings.h>.
2735 * tests.stress-test.c:
2736 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2738 These changes fix compiler warnings when using FORTE compiler on
2739 Solaris; fixes bug #107479.
2742 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2745 * configure.in: revved to 1.1.10
2747 * libspi/keymasks.h:
2748 (SPI_KEYMASK_NUMLOCK): Added.
2750 * registryd/deviceeventcontroller.c:
2751 (spi_key_event_matches_listener): AND with a smaller
2752 bitmask (as we should).
2753 (spi_dec_translate_mask):
2754 New method, sets the virtual NumLock modifier bit
2755 if numlock is on. Eventually it can handle other virtual
2756 modifier bits if needed, or other marshalling from
2757 at-spi modifier masks to platform (X) masks.
2758 (spi_dec_key_listener_new):
2759 Call spi_dec_translate_mask to set up virtual mod bits
2760 in the 'mask' field when creating a new listener struct.
2761 (spi_dec_emit_modifier_event):
2762 Set the virtual (i.e. NumLock) bits before emitting event.
2763 (spi_controller_register_with_devices):
2764 Query for the NumLock modifier 'physical' bit if Xkb is
2765 present, for use in above methods.
2769 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2771 * registryd/deviceeventcontroller.c:
2772 (spi_keystroke_from_x_key_event):
2773 Instead of checking to see if the keysym is
2774 printable, check the string from XLookupString
2775 if available, get the first unicode character from it,
2776 and call g_unichar_isprint to determine whether the
2777 is_text flag should be TRUE or FALSE.
2781 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2783 * atk-bridge/bridge.c: Add support for extended events
2784 * cspi/spi_event.c: Add documentation and implementation for
2786 * tests/event-listener-test.c: Add tests for extended events.
2788 This fixes bugs #100424 and #100426.
2790 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2792 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2793 of LT_CURRENT. This fixes bug #89350.
2795 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2797 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2798 number of signal parameter values before accessing them. This fixes
2801 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2803 * configure.in: Fixed duplicate inclusion of -lspi.
2804 * branched for gnome-2-2/HEAD.
2805 [created tag "gnome-2-2"]
2807 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2809 * configure.in: 1.1.9 release.
2812 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2814 [needed by GOK, to fix bugs 107985 and 107988]
2815 * registryd/deviceeventcontroller.c:
2816 (spi_dec_clear_unlatch_pending):
2817 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2818 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2819 (spi_dec_init_mouse_listener):Emit warning if mouse button
2821 (spi_device_event_controller_forward_mouse_event):
2822 Removed unnecessary parens from a conditional.
2823 (global_filter_fn):Added TODO comment.
2824 (impl_generate_keyboard_event):
2825 Cancel a pending relatch if a 'delatching' key was
2828 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2830 * atk-bridge/bridge.c:
2831 Change atk_signal_child_changed to atk_signal_children_changed.
2832 Reorganize code in spi_atk_bridge_signal_listener().
2834 * test/event-listener-test.c:
2835 Add children_changed_listener and report_children_changed_event()
2836 to test AccessibleChildEvent_getChildAccessible.
2838 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2840 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2841 g_strdup to CORBA_String_dup (bug #105291)
2843 * test/event-listener-test.c (report_text_event): Add call to
2846 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2848 * registryd/deviceeventcontroller.c:
2849 (spi_keystroke_from_x_key_event):
2850 Fix string and keysym return codes to match modifier state.
2853 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2855 * registryd/deviceeventcontroller.c:
2856 (spi_keystroke_from_x_key_event):
2857 Fix segv due to improper use of isprint(c). [bug #107254]
2859 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2862 (get_accessible_text_boundary_type):
2863 Move default return value to (new) default case in switch.
2864 (get_accessible_text_clip_type):
2865 Move default return value to (new) default case in switch.
2867 * libspi/application.c:
2868 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2869 Remove unused methods.
2870 (impl_accessibility_application_register_object_event_listener):
2871 Remove unused methods.
2874 Added #include of <math.h>.
2876 * registryd/deviceeventcontroller.c:
2877 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2878 we don't currently use this method.
2879 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2881 (impl_generate_key_event):
2882 Remove unused variables.
2883 (impl_generate_mouse_event):
2884 Initialize button to zero, just in case we get an invalid
2885 input. Added support for mouse buttons 4 and 5.
2886 (spi_device_event_controller_new):
2887 Removed unused variable declaration for 'private'.
2889 Added #include of <gdk/gdk.h>
2891 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2893 * configure.in: Update to work when X is not installed in expected
2894 location. Fixes bug #105836.
2896 * atk-bridge/bridge.c
2897 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2899 (spi_atk_register_event_listener): Add signal listener for
2901 (spi_atk_bridge_signal_listener): Event event when link-selected
2902 signal is emitted. (bug #104622)
2904 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2905 on returned string. (bug #105291)
2907 * test/event-listener-test.c: Add test for link-selected.
2909 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2911 * atk-bridge/Makefile.am: Correct typo in previous commit.
2913 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2915 * atk-bridge/Makefile.am: Allow for build directory to be different
2916 from source directory
2918 * registryd/Makefile.am: Allow for build directory to be different
2919 from source directory
2923 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2926 Fixed dependencies for libcspi so that libspi gets pulled in
2927 properly. Fixes 104741.
2931 Clean up inline docs a little.
2933 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2935 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2936 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2937 the AtkObject within an SpiDesktop.
2938 This addresses bug #101524.
2940 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2941 Remove call to gdk_init().
2943 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2944 so that Display is set when SpiDesktop is created.
2946 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2948 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2949 This fixes bug #102830.
2951 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2953 * test/test-simple.c: Update to take account of fact that GailButton
2954 now implements AtkText.
2955 (create_text_window): Set name on AtkObject for GtkEntry.
2956 (validate_accessible): Check accessible name before calling test_text().
2958 * libspi/Makefile.am: Fix problem with building outside of source
2959 directory. Bug #98120.
2961 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2962 typo in documentation comments. Bug #94275.
2964 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2966 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2968 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2971 Add includes to avoid compiler warnings on Solaris.
2972 (impl_getRangeExtents): Bug fix.
2974 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2976 Fix for 100944, [API addition approved by Gman and murrayc].
2983 * idl/Accessibility_Text.idl:
2984 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2985 (Text::getRangeExtents): New method for efficient
2986 bounds query of a text range.
2987 (Text::getBoundedRanges): New method for efficient
2988 clipping of text to bounding boxes.
2989 (unImplemented7, unImplemented8):
2990 Removed these padding methods to preserve bincompat.
2993 (impl_getRangeExtents): implementation of new IDL.
2994 (impl_getBoundedRanges): implementation of new IDL.
2995 (SpiTextRect): Internal use struct.
2996 (_spi_text_rect_union): internal method, calculates union of two
2997 SpiTextRect bounding rects.
2998 (_spi_text_range_seq_from_gslist): internal method, allows us
2999 to build our sequence efficiently as a gslist then convert it
3001 (_spi_bounds_contain): internal method, determines whether
3002 a text character is "in" or "out" of a clip rect according to
3003 values of TEXT_CLIP_TYPE.
3004 (spi_text_class_init): Initialize the new methods in the epv.
3007 (AccessibleTextClipType): New enum used by screen review api.
3008 (AccessibleTextRange): New struct used by screen review api.
3009 (AccessibleText_getRangeExtents):
3010 cspi binding for Accessibility_Text_getRangeExtents.
3011 (AccessibleText_getBoundedRanges):
3012 cspi binding for Accessibility_Text_getBoundedRanges.
3013 (AccessibleTextRange_freeRanges): convenience method.
3016 (AccessibleText_getRangeExtents):
3017 cspi binding for Accessibility_Text_getRangeExtents.
3018 (AccessibleText_getBoundedRanges):
3019 cspi binding for Accessibility_Text_getBoundedRanges.
3020 (AccessibleTextRange_freeRanges): convenience method.
3021 (get_accessible_text_clip_type): internal conversion method.
3022 (get_accessible_text_ranges_from_range_seq): internal conversion method.
3024 * registryd/deviceeventcontroller.c:
3025 (spi_dec_mouse_check):
3026 Improved behavior for mouse:abs events
3027 [same granularity as mouse:rel events, and no
3028 events when mouse is idle].
3030 2002-12-16 Michael Meeks <michael@ximian.com>
3032 * cspi/spi_accessible.c (spi_state_to_corba): rename.
3034 * libspi/stateset.c (state_spi_to_atk): split out
3035 ( fix several remote array bounds nasties )
3036 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
3037 (impl_remove): make safe from array bounds issues.
3038 (spi_atk_state_from_spi_state): impl.
3040 * libspi/stateset.h (spi_state_set_cache_is_empty):
3041 add a set of wrapper defines to get layering right.
3043 * cspi/spi_accessible.c: update state set stuff to
3046 2002-12-14 Michael Meeks <michael@ximian.com>
3048 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
3049 to avoid 2 roundtrips to the registry per key event
3050 (spi_atk_bridge_key_listener): upd.
3051 (deregister_application): release the dec.
3053 * registryd/registry.c (notify_listeners_cb):
3054 bin lots of re-enterant complexity - we no longer
3055 do a round-trip bonobo ref here, ensure that a single
3056 listener's exception failure won't poison all other
3058 (impl_registry_notify_event): bin obvious memory leak.
3060 2002-12-13 Michael Meeks <michael@ximian.com>
3062 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
3063 init the ev so the error is meaningful.
3064 (spi_atk_bridge_key_listener): ditto.
3066 * cspi/spi_main.c (cspi_ev): init the ev so we start
3067 with a clean slate, otherwise the first exception
3068 kills us completely.
3070 * cspi/spi_text.c (get_accessible_text_boundary_type):
3071 add a fallthrough for no warnings.
3073 * cspi/spi_registry.c: prune unused warnings.
3075 * cspi/spi_main.c (cspi_object_take): fix
3076 mind-blowing brokenness ( by watching the compile
3079 * cspi/spi_accessible.c (Accessible_getStateSet):
3080 re-impl. to use an AtkStateSet.
3081 (spi_state_type_from_accessible_state),
3082 (init_state_table): bin these.
3084 * libspi/stateset.c (spi_atk_state_set_from_sequence):
3086 (atk_state_set_from_accessibility_state_set): here.
3088 * cspi/spi_accessible.c (spi_state_to_atk): impl.
3089 (AccessibleStateSet_contains, AccessibleStateSet_ref),
3090 (AccessibleStateSet_unref, AccessibleStateSet_contains),
3091 (AccessibleStateSet_add, AccessibleStateSet_remove),
3092 (AccessibleStateSet_equals, AccessibleStateSet_compare),
3093 (AccessibleStateSet_isEmpty): re-write to use a local
3096 2002-12-13 Bill Haneman <bill.haneman@sun.com>
3098 * configure.in: Revved to 1.1.7 (new keymask vals).
3100 2002-12-10 Bill Haneman <bill.haneman@sun.com>
3102 * libspi/keymasks.h:
3103 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
3105 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
3108 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
3109 to compare two CORBA_TypeCodes.
3110 (cspi_internal_event_add): Silence warning from FORTE compiler.
3112 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
3113 avoid implicit declaration of functions.
3115 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3117 * atk-bridge/bridge.c:
3118 (spi_atk_bridge_init_event_type_consts): Store signal id for
3119 active-descendant-changed signal.
3120 (spi_atk_register_event_listeners): Add signal listener for
3121 active-descendant-changed signal,
3122 (spi_atk_bridge_signal_listener): Move code in function
3123 spi_atk-signal_emit_event() into this function.
3124 Add support for active-descendant-changed
3125 Update support for child-changed signal.
3126 (spi_bridge_window_event_listener): Silence warning.
3128 * libspi/spi_private.[ch]:
3129 (spi_init_any_object): Change second parameter from CORBA_Object to
3131 Omit call to CORBA_Object_duplicate().
3132 Set CORBA_any's _value to CORBA_Object*.
3134 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3140 (AccessibleEvent_ref, AccessibleEvent_unref):
3141 New methods, for persisting an event outside the emission context.
3142 Must be used if the new accessor methods are to be called
3143 outside of the event listener's callback.
3145 * cspi/bonobo/cspi-bonobo.c:
3146 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3147 as second parameter instead of NULL, so we can call
3148 cspi_check_ev afterwards.
3151 (cspi_object_take): New internal method,
3152 converts a CORBA_Object reference to a hard ref on
3153 an Accessible if possible, returning NULL if the object
3154 reference is invalid or an Accessible * otherwise.
3157 (AccessibleEvent_ref):
3158 Increment the event's internal private refcount, and
3159 add the event's internal struct to an internal cache
3160 if it's not already there.
3161 (AccessibleEvent_unref):
3162 Decrement the event's refcount and remove it from
3163 the cspi event cache if refcount==0.
3164 (cspi_event_compare): New private method.
3165 Compares two event structs via their ids. Used
3167 (cspi_internal_event_lookup): New private method.
3168 (cspi_internal_event_check): New private method,
3169 a 0-order sanity check for events to make sure their
3170 private data is intact.
3171 (cspi_internal_event_add, cspi_internal_event_remove):
3172 New private methods for managiing the event cache.
3174 * cspi/bonobo/cspi-bonobo-listener.c:
3176 Initialize the new private data elements (id, magic, ref_count).
3178 * atk-bridge/bridge.c:
3179 (spi_atk_bridge_signal_listener):
3180 Fixed bug #100530, passing wrong params to emission func.
3182 * registryd/deviceeventcontroller.c:
3183 (spi_dec_button_update_and_emit):
3184 Fixed type in mask bit operations; fix for #99799.
3186 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3188 Removed some of the more dangerous workarounds from
3189 previous commit; they are only needed by GOK, which
3190 in reality should be using another method to accomplish
3191 the goals. So on reconsideration some of the workarounds
3192 need to be reverted:
3194 * registryd/deviceeventcontroller.c:
3195 (spi_keycodes_contain, spi_dec_init_keycode_list):
3196 Removed these methods, used only by a nasty hack to try
3197 and detect whether a key synthesis should be allowed
3198 to reset the XKB latch state or not. This code was only
3199 required to work around an interaction between GOK,
3200 button events, and XKB.
3201 (impl_generate_key_event):
3202 Removed hack at end of key generation that tried to
3203 "do the right thing" if XKB latch keys were generated
3204 in the midst of button press/release pairs.
3207 Added a check for HAVE_XINPUT. Not normally used yet.
3209 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3211 Workarounds and fixes for mouse event/XKB interaction.
3213 * registryd/deviceeventcontroller.c:
3214 (spi_keycodes_contain, spi_dec_init_keycode_list):
3215 New internal methods.
3216 (spi_dec_set_unlatch_pending):
3217 Split the method that tells XKB to expect an
3218 unlatch (and revert it) out of the rest of the
3219 event handling code. This method is called by the
3220 two mouse event handlers (the poll and the filter).
3221 (spi_dec_update_and_emit, spi_dec_mouse_check):
3222 New methods split from spi_dec_poll_mouse_moved.
3223 The second one is now called from inside the filterFn
3224 when an XKB delatch event is received, to determine
3225 whether to revert the delatch or not.
3226 (spi_poll_mouse_moved): Refactor; also we can now
3227 properly handle the case where multiple button states
3228 have changed between polling cycles and we didn't get
3229 notified due to another client's grab.
3231 Synchronize the server while handling an XKB notification.
3232 Ugly, but apparently necessary to avoid nasty races.
3233 Check the mouse state on receipt of an XKB latch change,
3234 to decide whether to revert the latch or not. (Latches are
3235 reverted if there is an immediately preceding mouse button
3236 event that a client has consumed, in which case we don't want
3237 the user to see the side-effect of the event).
3238 (spi_device_event_controller_forward_mouse_event):
3239 Check for modifier events and fire before resetting mouse_mask_state,
3240 prevents losing modifier events.
3242 (impl_generate_keyboard_event):
3243 If we've just generated a keyboard event for a non-shift key,
3244 we don't want to revert the pending XKB latch.
3245 Otherwise, check the modifier state (via a call to
3246 spi_dev_mouse_check) and set the relatch mask to
3247 that state before returning.
3249 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3252 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3255 * atk-bridge/bridge.c:
3256 (spi_atk_register_event_listeners):
3257 Don't re-register for ATK events if the registry has died
3258 and the app needs to re-register; the ATK listeners are in
3259 process and doing so will cause duplicate emission.
3261 * registryd/deviceeventcontroller.c:
3262 (spi_poll_mouse_moved):
3263 Reformat the source, detect and emit multiple button-change
3264 events (i.e. if multiple buttons have changed between poll
3266 Add code to detect mouse-down events even when the pointer
3267 is grabbed; workaround for GOK bug 98420.
3268 (spi_controller_register_with_devices):
3269 Call XTestGrabControl with 'impervious' flag set to True,
3270 allows us to synthesize events and query the pointer even during
3271 an active grab by another client.
3272 (spi_device_event_controller_forward_mouse_event):
3273 Set the mouse_mask_state to the mouse_button_state from
3274 the intercepted event, to synchronize the grab listener with
3277 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3279 * cspi/spi_accessible.c:
3280 (AccessibleRole_getName):
3281 Added necessary strings for making this (deprecated)
3282 method work with the new role types.
3283 (init_role_table, role_table):
3284 Added definition of SPI_ROLE_APPLICATION.
3286 * libspi/spi-roletypes.h:
3287 Added SPI_ROLE_APPLICATION.
3289 * idl/Accessibility_Role.idl:
3290 Added ROLE_APPLICATION.
3292 * docs/reference/cspi/at-spi-cspi-decl.txt:
3293 Added SPI_ROLE_APPLICATION to docs.
3295 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3297 * cspi/spi_accessible.c
3298 (cspi_init_role_table): Do not write beyond end of role_table.
3299 (Accessible_getRole): Use correct type for value returned by
3300 Accessibility_Accessible_getRole().
3302 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3303 beyond end of role_table. (This fixes bug #98269)
3305 * libspi/application.c: Add include file spi-private.h for
3306 definition of spi_init_any_nil.
3308 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3312 * libspi/spi-private.h:
3313 Added DGB() macro, and extern int _dbg declaration.
3315 * registryd/registry.c:
3316 (definitions) storage for _dbg.
3317 (spi_registry_init):
3318 Get environment variable "AT_SPI_DEBUG".
3319 (spi_registry_set_debug):
3320 New method, to initialize _dbg value.
3321 (spi_listener_struct_new, spi_registry_object_finalize):
3322 (notify_listeners_cb):
3323 Changed fprintfs to use DBG and g_warning().
3325 * registryd/deviceeventcontroller.c:
3326 (_deregister_keygrab, spi_controller_register_device_listener):
3327 Changed debug/warning messages to use DBG macro.
3329 * libspi/listener.c:
3330 (impl_notify_event):
3331 Changed warning messages to use DBG macro and g_warning().
3333 * atk-bridge/bridge.c:
3334 (atk_bridge_init, spi_atk_bridge_get_registry):
3335 (spi_atk_bridge_exit_func):
3336 (spi_atk_bridge_property_event_listener):
3337 Changed status, warning, and error messages to use
3338 g_warning, g_message, and DBG macros.
3341 Read the state of the AT_SPI_DEBUG environment variable
3342 and set a local '_dbg' accordingly.
3344 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3346 FIXES for 98836, 98842, other bugs.
3349 Revved to 1.1.4, interface-age=4, binary-age=4.
3351 * registryd/deviceeventcontroller.c:
3353 Fixed crasher bug in last_mouse_pos initialization.
3355 * registryd/registry.c:
3356 (desktop_add_application, desktop_remove_application):
3357 Added (and then commented out) some support for
3358 object context marshalling. [TODO]
3360 * atk-bridge/bridge.c:
3361 (spi_atk_bridge_event_context_create):
3362 Commented out object context creation until it can
3363 be properly tested and debugged.
3365 * registryd/registry.c:
3366 (impl_registry_notify_event):
3367 Fixed crasher bug, we were calling
3368 spi_re_entrant_list_foreach () with an empty list.
3370 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3372 * idl/Accessibility_Action.idl:
3373 * idl/Accessibility_Component.idl:
3374 * idl/Accessibility_Desktop.idl:
3375 * idl/Accessibility_Event.idl:
3376 * idl/Accessibility_Hyperlink.idl:
3377 * idl/Accessibility_Image.idl:
3378 * idl/Accessibility_Relation.idl:
3379 * idl/Accessibility_Selection.idl:
3380 * idl/Accessibility_State.idl:
3381 * idl/Accessibility_Value.idl:
3382 Updated unimplemented slot count to minimum of
3383 four for all interfaces, for ABI freeze.
3385 * idl/Accessibility_EditableText.idl:
3386 * idl/Accessibility_Text.idl:
3387 Updated unimplemented slot count to six
3390 * idl/Accessibility_Registry.idl:
3391 Updated unimplemented slot count to six
3392 (also for DeviceEventController),
3395 * idl/Accessibility_Table.idl:
3396 Updated unimplemented slot count to eight,
3399 * idl/Accessibility_Event.idl:
3400 Added CORBA_any "any_data" member to Event struct.
3402 * idl/Accessibility_Event.idl:
3403 Added CORBA_any "any_data" member to Event struct.
3405 * atk-bridge/bridge.c:
3407 atk_signal_text_changed, atk_signal_child_changed,
3408 signal ids queried from gtype system.
3409 (AtkBridgeEventContextType): New enum.
3410 (AtkBridgeEventContextData): New struct.
3411 (AtkBridgeEventContext): New struct.
3412 (atk_bridge_init_event_type_consts):
3413 New method, initializes type contants for comparison
3414 prior to emit_eventv.
3415 (atk_bridge_event_context_init): New method,
3416 initializes a CORBA_any from an AtkBridgeEventContext.
3417 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3418 initialize the event.any_data struct.
3419 (spi_atk_bridge_event_context_create): New method,
3420 creates an AtkBridgeEventContext from signal/event info.
3421 (spi_atk_bridge_event_context_free): New method.
3422 (spi_atk_emit_eventv): Changed to take an
3423 AtkBridgeEventContext parameter. We now initialize
3424 the event.any_data member prior to notifying the
3425 Registry, via the AtkBridgeEventContext.
3426 (spi_atk_bridge_property_event_listener):
3427 (spi_atk_bridge_state_event_listener):
3428 Match emit_eventv signature.
3429 (spi_atk_bridge_object_event_listener):
3430 Match emit_eventv signature, and create an
3431 event context from the event details.
3432 Free the event context afterwards.
3433 (spi_atk_bridge_window_event_listener):
3434 Create an event context, pass it to the
3438 (AccessibleEvent_getContextString):
3439 (AccessibleEvent_getContextObject):
3440 New methods, allow query of AccessibleEvent objects
3441 for more context details (via the "any_data" member
3442 of the Event struct, above).
3445 Definitions for AccessibleEvent_getContextString
3446 and AccessibleEvent_getContextObject.
3448 * cspi/spi_listener.h:
3449 (InternalEvent): New struct.
3452 (AccessibleEvent_getContextString):
3453 (AccessibleEvent_getContextObject):
3454 Implementations of new methods, for obtaining
3455 additional context information from some event types.
3457 * cspi/spi_registry.c:
3458 (SPI_registerGlobalEventListener):
3459 Added mention of active-descendant-changed event in docs.
3461 * cspi/cspi-bonobo-listener.c:
3463 Marshal the any into the AccessibleEvent via
3466 * libspi/spi-private.h:
3467 #include <orbit/orbit.h>
3469 (spi_init_any_string):
3470 (spi_init_any_object):
3471 New convenience function declarations.
3475 (spi_init_any_string):
3476 (spi_init_any_object):
3477 New convenience function implementations.
3479 * registryd/deviceeventcontroller.c:
3480 (spi_poll_dec_mouse_moved):
3481 (spi_device_event_controller_forward_mous_event):
3482 Initialize any_data member of event.
3483 (spi_deregister_controller_device_listener):
3484 Fix incorrect param pass which was preventing deregistration.
3486 * registryd/registry.c:
3487 (desktop_add_application):
3488 (desktop_remove_application):
3489 Add object data to event's any_data before dispatch.
3491 Fix for error messages from GAIL.
3493 * test/event-listener-test.c:
3494 Test new ContextString and "any_data" API:
3495 (report_text_event): New method query and output context string.
3496 (main): register a new text listener with report_text_event
3499 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3501 Fixes for bugs 98127 and 97914.
3502 * cspi/spi-roletypes.h:
3503 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3505 * cspi/spi-statetypes.h:
3506 Added SPI_STATE_MANAGES_DESCENDANTS
3508 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3509 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3510 * cspi/spi_accessible.c:
3511 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3512 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3513 Accessibility_STATE_MANAGES_DESCENDANTS
3514 * libspi/accessible.c:
3515 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3516 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3517 As requested by Bill, I also cleaned up the alignment.
3518 * libspi/relation.c:
3519 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3520 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3521 * libspi/stateset.c:
3522 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3523 Accessibility_STATE_MANAGES_DESCENDANTS
3524 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3525 Document changes reflecting modifications to roles.
3526 * docs/reference/cspi/tmpl/spi_relation.sgml:
3527 Document changes reflecting modifications to relations.
3528 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3529 Document changes reflecting modifications to states.
3531 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3534 Revved to 1.1.3, interface-age=3, binary-age=3.
3535 Added REBUILD macro.
3538 Removed accessx-gui from the tests, since we have a nice
3539 keyboard accessibility capplet now :-)
3541 * test/keysynth-demo.c:
3542 (increment_scan): removed do-nothing default: case,
3545 * test/visual-bell.c:
3546 (main) : removed do-nothing default: case,
3549 * cspi/spi_action.c:
3550 (AccessibleAction_getKeyBinding_):
3551 Documented keybinding string format.
3555 (AccessibleText_getAttributes):
3556 Documented the text attribute string format.
3557 It's changed to use semicolon delimiters also,
3558 to prevent clashes with CSS attributes, but the old
3559 trick of looking for ", " strings will still work
3560 (as unreliably as ever). Fix for bug related to 97916.
3563 Include <cspi/bonobo/cspi-bonobo-listener.h>
3564 Fixes build warning.
3565 (SPI_freeAccessibleKeySet):
3566 (AccessibleKeystrokeListener_addCallback):
3567 (AccessibleKeystrokeListener_removeCallback):
3568 Modify to use AccessibleDeviceListener API internally,
3569 instead of AccessibleKeystrokeListener.
3571 * idl/Accessibility_Event.idl:
3572 Added two more empty slots to EventListener (for a total of four).
3574 * idl/Accessibility_Accessible.idl:
3575 Added four empty slots to Accessible interface.
3577 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3579 * idl/Accessibility_Registry.idl:
3580 (KeyEventType, EventType):
3581 Marked KeyEventType as deprecated; it duplicates
3582 functionality of EventType, which has been extended to
3583 include Mouse-button events.
3584 (KeyEventTypeSeq): defined in terms of EventType.
3585 (registerDeviceEventListener, deregisterDeviceEventListener):
3586 New methods, for managing listeners to device events,
3587 which potentially may consume them.
3590 Added definition for AccessibleDeviceListener.
3592 * cspi/spi-listener.h:
3593 (enum AccessibleDeviceEventType):
3594 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3595 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3596 for backwards compat.
3597 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3598 and typedef'd AccessibleKeystroke to it for back-compat.
3599 (AccessibleDeviceListenerCB):
3600 New function prototype typedef.
3603 (AccessibleDeviceEventMask): New typedef.
3604 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3605 (AccessibleKeyMaskType):
3606 Set equivalent to AccessibleModifierMaskType for back-compat.
3607 (SPI_createAccessibleKeystrokeListener):
3608 (AccessibleKeystrokeListener_unref):
3609 Deprecated in favor of equivalent (better-named) new API below..
3610 keystroke listeners are like all device listeners.
3611 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3612 New API names for old features :-).
3613 (AccessibleDeviceListener_addCallback):
3614 (AccessibleDeviceListener_removeCallback):
3615 (SPI_registerDeviceEventListener):
3616 (SPI_deregisterDeviceEventListener):
3620 (SPI_createAccessibleKeystrokeListener):
3621 Use new preferred API, cspi_device_listener_new() and
3622 cspi_device_listener_add_cb().
3623 (AccessibleKeystrokeListener_removeCallback):
3624 Use new preferred API, cspi_device_listener_remove_cb().
3625 (AccessibleKeystrokeListener_unref):
3626 Use new preferred API, cspi_device_listener_unref().
3627 (SPI_createAccessibleDeviceListener):
3628 (AccessibleDeviceListener_addCallback):
3629 (AccessibleDeviceListener_removeCallback):
3630 Implementation of new API.
3632 * cspi/spi_registry.c:
3633 (SPI_registerDeviceEventListener):
3634 (SPI_deregisterDeviceEventListener):
3635 Implementation of new API. Fixed memory leak and removed need to
3636 allocate EventTypeSeq (thanks Michael for catching this).
3637 Squashed a wayward CORBA_exception_free that shouldn't get called.
3639 * cspi/bonobo/cspi-bonobo-listener.c:
3641 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3642 (cspi_key_event): renamed to cspi_device_event().
3643 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3644 Extended to handle mouse button events as well as key events.
3645 (CSpiKeystrokeListener):
3646 Class superceded by CSpiDeviceListener.
3647 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3648 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3650 * cspi/bonobo/cspi-bonobo-listener.h:
3651 (CSpiKeystrokeListener):
3652 Class superceded by CSpiDeviceListener.
3653 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3654 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3656 * libspi/Makefile.am:
3657 Replaced keystrokelistener.h and keystrokelistener.c
3658 with devicelistener.h and devicelistener.c; keystrokelisener.h
3659 stub retained for back-compat.
3661 * libspi/keystrokelistener.c:
3665 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3667 * registryd/deviceeventcontroller.c:
3668 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3669 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3670 (DEControllerPrivateData): Added xkb settings data.
3671 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3672 button release events (which can't be captured via XGrabButton).
3673 Don't dispatch via the 'normal' event mechanism if the device event was
3675 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3676 Handle the typeseq data in its new location (see above).
3677 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3678 New methods, for "generic" device listeners.
3679 (spi_controller_register_device_listener):
3680 Now handle mouse event listeners as well as key listeners.
3681 (spi_controller_notify_mouselisteners):
3682 New internal method.
3683 (spi_device_event_controller_forward_mouse_event):
3684 Now we notify mouse device listeners as well as generating the
3685 non-consumable "mouse:" events.
3687 We must check and restore the XKB
3688 modifier map if we consume the event, since the act of triggering
3689 a mouse event will normally reset the XKB latch. This is required for
3691 (spi_controller_register_with_devices):
3692 Load the XKB settings when registering, and register for XKB
3693 state notify events.
3694 (spi_key_eventtype_seq_contains_event):
3695 Renamed spi_eventtype_seq_contains_event, since it's used
3696 internally for all device event types now.
3697 (spi_key_event_matches_listener):
3698 Uses spi_eventtype_seq_contains_event now.
3699 (spi_device_event_controller_object_finalize):
3700 Free the private data and the XkbKeyboard struct.
3701 (impl_register_device_listener, impl_deregister_device_listener):
3702 Implementation of new IDL.
3703 (spi_deregister_controller_device_listener):
3704 New internal method.
3705 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3706 More efficient implementation, we don't have to create a new
3707 XkbControls structure every time we query.
3708 (spi_device_event_controller_class_init):
3709 Initialize the epv entries for the new IDL. Assign the
3710 "spi-dec-private" quark.
3711 (spi_device_event_controller_init):
3712 Initialize the private data.
3713 (spi_device_event_controller_forward_key_event):
3714 Removed a bogus CORBA_exception_free() call.
3716 * registryd/deviceeventcontroller.h:
3717 Replaced inclusion of keystrokelistener.h with
3720 * test/event-listener-test.c:
3721 (report_mouse_event):
3724 Added mouse-event device listener.
3726 * test/test-simple.c:
3727 (create_test_window):
3728 Fixed regression (we were instantiating a GtkRange,
3729 which is now an abstract class). Also fixed to match
3730 existing AtkRole names, this seems to have changed in ATK
3731 awhile ago; too late now I think, and the new
3732 mechanism is at least elegant and consistent with the
3733 glib enum "nick" APIs.
3735 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3737 * idl/Accessibility_Relation.idl:
3738 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3739 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3740 * idl/Accessibility_Role.idl:
3741 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3742 * idl/Accessibility_State.idl:
3743 add STATE_MANAGES_DESCENDANTS
3744 * test/event-listener-test.c:
3745 Added a listener for active-descendant events.
3747 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3749 * atk-bridge/bridge.c
3750 (atk_bridge_init): If application is Bonobo component wait until top
3751 level is added before registering
3752 (spi_atk_bridge_do_registration): New function which contains code,
3753 formerly in atk_bridge_init, to do application registration.
3754 (spi_atk_bridge_toplevel_added): Signal called when top level
3755 added to Bonobo component
3757 This fixes bug #83134.
3759 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3761 * registryd/deviceeventcontroller.c
3762 Fixed compilation error caused by calling gettimeofday()
3765 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3770 Added template for HAVE_XKB.
3773 Changes to check for XKB, and to set the HAVE_XKB #define if it
3776 * libspi/listener.c:
3777 ()impl_notify_event): Make failure to get event source name
3780 * registryd/deviceeventcontroller.c:
3781 (#include): include X11/XKBlib.h.
3782 (DEControllerPrivateData) : New struct.
3783 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3785 (dec_synth_keycode_press) (dec_synth_keycode_release):
3786 New methods; split the key synthesis code into these methods.
3787 They check XKB settings before determining the "time" values to
3788 pass to Xtest; this fixes bug #95828.
3789 (impl_generate_keyboard_event): Changed to use methods above,
3790 instead of callng Xtest directly.
3791 (spi_device_event_controller_init): Initialize new privae struct s
3793 (spi_device_event_controllr_object_finalize):
3794 Free the (new) private data.
3796 * registryd/deviceeventcontroller.h:
3797 Add new gpointer to end of struct data.
3799 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3802 Incremented revision to 1.1.2, SONAME is still '.so', library
3803 extensions are ".so.0.0.2".
3805 * registryd/deviceeventcontroller.c:
3806 FIXES FOR #93592 and #95940.
3807 (statics): renamed mouse_button_state to mouse_mask_state,
3808 added key_modifier_mask.
3809 (spi_dec_poll_mouse_moved):
3810 Added key modifier checks, and emit "keyboard:modifiers"
3811 events when the key modifiers currently in use change.
3812 Also generate "mouse:abs" events periodically, even if the mouse
3813 is stationary (should we?).
3814 Alternatively we could generate "mouse:abs" events for either all
3815 mouse movements, or every 'nth' mouse movement, or at the
3816 beginning and end of every "active" mouse period.
3818 * test/event-listener-test.c:
3819 (main): Added listener for "keyboard:modifiers" events.
3821 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3823 * libspi/keymasks.h:
3824 Added key mask #defines for mouse buttons; e.g.
3825 SPI_KEYMASK_BUTTON1, etc.
3828 Incremented dependency on ATK to version 1.1.0. (This dependency
3829 is probably premature but will soon be real enough).
3831 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3833 * libspi/hyperlink.[ch]
3834 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3835 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3838 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3843 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3845 * registryd/deviceeventcontroller.c
3846 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3847 events to be ignored.
3848 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3849 keyboard_mode so that XAllowEvents() can be called.
3853 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3855 * cspi/spi-accessible.c: Correct names of roles returned by
3856 AccessibleRole_getName(). Fixes bug #95055.
3858 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3860 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3863 * registryd/registry.c
3864 (desktop_remove_application: Write diagnostic message to stderr for
3867 (impl_accessibility_registry_deregister_global_event_listener):
3868 Correct size of lists array. This addresses bug #94555).
3870 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3872 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3875 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3877 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3880 * registryd/registry.c (impl_registry_notify_event): Remove
3881 unnecessary call to parser_event_type().
3883 * docs/reference/cspi/tmpl/spi_component.sgml:
3884 Add reference to SPI_LAYER_WINDOW.
3886 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3888 * registryd/registry.c
3889 (desktop_add_application): Remove leak.
3890 (desktop_remove_application): Remove leak.
3891 (parser_event_type): Remove leak.
3893 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3895 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3896 bogus call to CORBA_string_dup(). Also removed unnecessary
3897 g_string_dup/g_free calls.
3899 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3901 * registryd/deviceeventcontroller.c:
3902 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3904 * test/event-listener-test.c:
3905 main: commented out three redundant listeners, to reduce output
3906 noise. (They still are potentially useful for testing).
3909 2002-09-13 Michael Meeks <michael@ximian.com>
3911 * Update all the copyrights to include Ximian.
3913 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3915 * cspi/spi.h: add SPI_LAYER_WINDOW.
3917 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3918 add Accessibility_LAYER_WINDOW case.
3920 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3922 * libspi/component.c: (impl_accessibility_component_get_layer):
3923 add ATK_LAYER_WINDOW case.
3925 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3927 * configure.in: incremented micro version.
3929 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3931 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3934 Clarified and reworded our commit policy.
3937 Started an API "todo" addition list for 2.2.
3940 (impl_getSelection):
3941 Free char pointer from atk_text_get_selection, which was being leaked.
3943 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3946 Small revision to author acknowledgement.
3948 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3950 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3951 If signal has detail add it to the type of the event.
3954 2002-08-12 Michael Meeks <michael@ximian.com>
3956 * test/test-simple.c (global_listener_cb): bin bogosity.
3957 (test_keylisteners): disable, still doesn't work reliably,
3958 certainly not on my system anyway.
3960 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3961 don't leak a reference on the DEC. This round-trip
3962 fetching of the DEC per keystroke sucks, it should be
3965 * cspi/spi-private.h,
3966 * cspi/cspi-lowlevel.h,
3967 * cspi/bonobo/cspi-bonobo-listener.[ch],
3968 * cspi/bonobo/cspi-bonobo.c: get the copyright
3969 notices better - there is still a large amount of
3970 work in at-spi falsely attributed solely to Sun.
3972 * cspi/spi_main.c (cspi_object_ref): kill bogus
3973 hash lookup, just increment the ref.
3974 (SPI_freeString): make explicit the fact that we
3975 handle NULL strings just fine.
3976 (report_leaked_ref): obey coding standards.
3977 (cspi_object_hash, cspi_object_equal): kill retval.
3978 (cspi_object_release): only release if not on loan.
3979 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3980 (cspi_object_borrow, cspi_object_return): impl.
3982 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3983 use cspi_object_borrow / return.
3985 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3987 * cspi/bonobo/cspi-bonobo-listener.c:
3989 Don't call cspi_oject_new() because this is creating a new Accessible
3990 every single time that an event is fired. This causes ATs like at-poke
3991 to nolonger recognise the source of the event and thus ignore it.
3992 Re-use the object from the cache, ref it and then unref it after the
3993 listeners have been called.
3995 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3997 * test/event-listener-test.c:
3998 Added command-line options to disable mouse events (m) and
4001 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
4003 * configure.in: Update required versions of ATK, GTK+ and GAIL
4005 * cspi-1.0.pc.in: Add dependency for X include files
4008 * cspi/bonobo/Makefile.am:
4009 Add $(X_CFLAGS) so that X include files
4010 are picked up even if not in standard place (bug #71686)
4012 2002-06-25 Bill Haneman <bill.haneman@sun.com>
4014 * registryd/deviceeventcontroller.c: fix for 84261
4015 (spi_dec_mouse_moved):
4016 Added test of mouse button mask, so that we can detect mouse
4017 button release. Unfortunately we can't otherwise detect mouse
4018 button release events without consuming the mouse press event,
4019 because of the way XGrabButton works. This means that our mouse
4020 release events have a latency dependent on the polling period
4021 while the mouse button is down. At least in this case we only
4022 have to poll while the button is down, and not at other times.
4023 If the button masks don't match with what the last press event
4024 reported, we report the appropriate button release event.
4025 (spi_dec_ungrab_mouse):
4026 New method (not yet called).
4027 (spi_device_event_controller_forward_mouse_event):
4028 New method, sends mouse press event from GdkFilter.
4029 (spi_dec_init_mouse_listener):
4030 Added code to call XGrabButton, redirecting mouse button events to
4031 the root window and our Gdk event loop.
4033 Added code to filter mouse button events, and reordered.
4035 * test/event-listener-test.c:
4037 Added registration for mouse events of type "mouse:button".
4039 2002-06-25 Bill Haneman <bill.haneman@sun.com>
4041 * registryd/deviceeventcontroller.c: partial fix for 84261
4042 (spi_dec_poll_mouse_idle):
4043 New method, a timeout which checks to see if the mouse
4045 (spi_dec_poll_mouse_moving):
4046 A timeout to be called when mouse motion is underway.
4047 (spi_dec_poll_mouse_moved):
4048 A method which fires an event if the mouse has moved, and reports
4049 whether or not it did so.
4050 (spi_dec_init_mouse_listener):
4051 A method which sets up the timeouts above.
4052 (spi_device_event_controller_new):
4053 Now calls spi_dec_init_mouse_listener.
4055 * registryd/registry.c:
4056 (spi_registry_init):
4057 Now we initialize the device event controller when the registry is
4058 initialized, instead of waiting until a client has requested a key
4059 event notification; this is because we need the event controller
4060 for mouse events, but the mouse event registration API is a
4061 "registry" call and doesn't explicitly call the
4062 deviceeventcontroller.
4063 We now report mouse motion events with a 100 ms idle latency and
4064 a 20 ms granularity when motion is in progress.
4066 * test/event-listener-test.c:
4068 We now register the "detail listener" for events of type
4069 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
4070 delivered only for the first mouse event received, and thereafter
4071 "mouse:abs" events are delivered.)
4073 * cspi/spi_registry.c:
4074 DOCS: Documented the above mouse event typestrings.
4076 2002-06-21 Bill Haneman <bill.haneman@sun.com>
4078 Happy Summer Solstice...
4080 * registryd/deviceeventcontroller.c: [fix for bug 84100]
4081 (spi_controller_notify_keylisteners):
4082 Changes to remove a listener from the listener list, freeing its
4083 open keygrabs, if a notification to that listener fails. This
4084 means that although a dead listener can continue to hold a passive
4085 keygrab, a maximum of one dispatch to such a listener can fail
4086 before the listener is removed from the list, thus the keygrab
4087 will be released on the next occurrence.
4088 As part of this fix:
4089 (spi_notify_keylisteners):
4090 Renamed to spi_controller_notify_keylisteners, as the controller
4091 instance must now be passed as an argument.
4092 The copied 'notify' GList is now a list of DEControllerKeyListener
4093 objects, since we need more than just the CORBA reference if a
4094 notify fails and we need to deregister the listener.
4095 (impl_notify_listeners_sync):
4096 (impl_notify_listeners_async):
4097 (spi_device_event_controller_forward_key_event):
4098 Modify use of notify_keylisteners in accordance with above
4100 (spi_deregister_controller_key_listener):
4101 New method introduced by refactoring, from
4102 impl_deregister_keystroke_listener.
4103 (impl_deregister_keystroke_listener):
4104 Call spi_deregister_controller_key_listener.
4105 (spi_key_listener_clone):
4106 New method to copy a key listner without doing a 'ref' on the
4107 remote object instance; used to create a notifier list.
4108 (spi_key_listener_data_free):
4109 New method, frees data without unreffing the source.
4111 (spi_key_listener_clone_free): new method.
4112 (spi_key_listener_free):
4113 refactored to call spi_key_listener_data_free.
4115 2002-06-20 Bill Haneman <bill.haneman@sun.com>
4117 * registryd/registry.c: [fix for bug 86048]
4118 (notify_listeners_cb):
4119 Clear CORBA system exceptions which occur when notifying
4120 listeners, before returning to the source of the original event,
4121 since the event source doesn't care if the relayed notify failed.
4122 In other words, don't complain to the atk-bridge if the registry
4123 could not notify all its listeners, that's no fault of the
4124 application and thus should not appear to be an error from the
4125 application's perspective.
4127 * cspi/spi_main.c: [fix for bug 85980]
4129 Replaced use of bonobo_object_dup_ref with call to the wrapper
4130 method, csou_dup_ref (); this silences a compiler warning and
4131 provided more portability.
4133 Ping the registry before return, and restart if necessary.
4135 * cspi/bonobo/cspi-bonobo.c:
4137 New internal method.
4139 Fixed this method to return an object reference, as it should have
4142 * cspi/cspi-lowlevel.h:
4143 Added internal definition for cspi_ping() and fixed
4144 return type of cspi_dup_ref().
4147 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4149 * atk-bridge/bridge.c: [fix for bug 85305]
4150 (spi_atk_bridge_register_application):
4151 New method where the initial application registry calls have been
4152 moved; it allows an application to re-register in response to
4153 certain error conditions (such as a registry restart, see below).
4155 Moved some initialization code to the method
4156 spi_atk_bridge_get_registry, below.
4157 (spi_atk_bridge_get_registry):
4158 New, private accessor function for the Accessibility_Registry
4159 instance. If the registry has not been started before, or has
4160 died (as detected by failure of a CORBA exception), it is
4161 restarted before return, and spi_atk_bridge_register_application
4162 is called again to register with the new bridge instance.
4163 (spi_atk_emit_eventv):
4164 Set registry_died on error; use spi_atk_bridge_get_registry () to
4165 access the registry.
4167 * registryd/registry.c:
4168 (impl_accessibility_registry_register_global_event_listener):
4169 Set listener's event_type_quark to etype.minor instead of
4170 etype.major (fix for bug 84856).
4172 * test/event-listener-test.c:
4173 (report_detail_event):
4174 Change the output string so that user/tester can tell that the
4175 'detail listener' was called instead of the 'generic listener'.
4177 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4179 Fixes for bugs 84900, 84908, 84897, 84898.
4184 Revved version to 1.1.0
4185 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4186 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4188 * idl/Accessibility_Registry.idl:
4189 (EventListener::notifyEvent):
4190 Removed 'oneway' directive after extensive consulation with
4191 ORBit2 team and others. This means also that unref() of the event
4192 source can and should be done synchronously after emission, rather
4193 than remotely in the client, after servicing the notify call on
4196 NOTE: This change speeds up listener performance considerably, but
4197 introduces new latency on the application side. We may want to
4198 add an event queue to the atk-bridge.
4200 * atk-bridge/bridge.c:
4201 (spi_atk_bridge_focus_tracker):
4202 Do a local unref() on the event source after emission.
4204 * registryd/registry.c:
4205 (desktop_remove_application):
4206 Do an unref() on the event source after emission.
4207 (desktop_add_application):
4208 Do an unref() on the event source after emission.
4209 (notify_listeners_cb):
4210 When relaying an event, don't automatically add the event source
4211 to the local object cache, just CORBA_dup it instead. Likewise,
4212 if this method reenters, release the ref rather than calling
4214 (impl_registry_notify_event):
4215 No longer call remote unref() on the event source after dispatch.
4217 * libspi/eventlistener.c:
4218 (impl_accessible_event_notify_event):
4219 Removed remote unref ()
4221 * cspi/bonobo/cspi-bonobo-listener.c:
4223 We now call cspi_object_new() instead of cspi_object_add() on
4224 receipt of an event; thus we only have an implicit object ref
4225 while the cspi_event method is being executed. If we need to keep
4226 a reference to the object, the listener must call ref() on the
4227 object. Thus also we don't need to call cspi_object_unref() after
4228 invoking the listener callbacks in this method.
4232 New internal API for creating a new cspi object, without adding it
4233 to the object cache.
4235 Now uses cspi_object_new() to create the cspi object instance.
4237 Now checks to see if the object is in the internal object cache,
4238 and adds it if necessary before incrementing its refcount (note
4239 that new objects are added with a refcount of 1).
4240 (report_leaked_ref):
4241 New method which gives some information on leaked object instances
4242 if leak detection is turned on.
4244 * test/event-listener-test.c:
4245 (timing_test_event):
4246 New method, used for testing event delivery timing for special
4247 events of type "object:test". It reports elapsed time and
4248 events/sec every 500 events.
4250 Added a new listener, 'test listener', to check timing of event
4251 receipt as noted above.
4253 Added some timing output here also, reports elapsed time every 100
4256 * test/stress-test.c:
4257 Emit events of type "object:test", for use with "event-listener-test".
4259 * test/test-simple.c:
4260 (global_listener_cb):
4261 Call Accessible_ref() on the event source before calling
4262 validate_accessible, since the validation process does pointer
4263 comparisons on the event source, meaning that the event source
4264 needs to be added to the local object cache first. Any use of
4265 such pointer comparisons between Accessible objects requires that
4266 the caller hold an explicit reference to those objects.
4267 We also must therefore call Accessible_unref() when leaving this method.
4269 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4271 * registryd/deviceeventcontroller.c:
4272 (spi_controller_update_key_grabs):
4273 Fix for #84735, subsequent keygrab listeners not informed of
4274 registration failure.
4277 (spi_base_construct):
4278 Add an assertion on construct, to make sure the GObject passed in
4279 is really a GObject.
4281 Explicitly initialize object->gobj pointer to NULL;
4283 * cspi/bonobo/cspi-bonobo-listener.c:
4284 (cspi_object_add_ref):
4285 New method, can specify whether to dup-ref a bonobo object passed
4286 in if it's newly added to the object cache.
4288 Now calls cspi_object_add_ref with second param of "FALSE". This
4289 prevents us from doing a pointless dup-ref followed by
4290 release-unref for all those cases where the object is already in
4291 our object cache (fix for #85205).
4293 * atk-bridge/bridge.c:
4294 (spi_atk_bridge_idle_init):
4295 Removed this method, we don't need to initialize in an idle
4298 Changed to call spi_atk_register_event_listeners directly, not via an
4299 idle handler. (fix for #81139)
4300 (gnome_accessibility_module_shutdown):
4301 Removed conditional around deregistration of listeners, since we
4302 don't use the idle handler and thus have always registered when
4304 (spi_init_keystroke_from_atk_key_event):
4305 Changed references to Accessibility_KEY_PRESSED to
4306 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4308 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4310 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4315 * test/stress-test.c:
4318 (may have been an incomplete commit yesterday?)
4320 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4323 Added target for new stress-test.
4325 * test/stress-test.c:
4326 New test, sends 1000 focus notifies in quick succession.
4328 * test/key-listener-test.c:
4329 Now we report whether a keylistener registration
4330 request succeeded or failed.
4332 * test/event-listener-test.c:
4333 Uncommented some listeners which are now implemented.
4336 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4338 * registryd/deviceeventcontroller.c:
4339 (spi_controller_update_key_grabs):
4340 Fix for #82509, lack of failure notification when
4341 ALL_WINDOWS keygrabs fail due to XGrabKey
4342 failure: we synchronize the server when
4343 registering a passive grab, to make sure we get the
4344 error message before the call returns.
4346 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4348 * test/test-simple.c:
4350 Removed #ifdef KEY_IMPL_WORKS guards.
4351 (test_keylisteners):
4352 Removed #ifdef KEY_IMPL_WORKS guards.
4353 Fixed bug which was causing a hang waiting for a
4354 "press" event (which was already overwritten by a "release"
4355 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4357 Added code to set globals 'key_press_received' and
4358 'key_release_received'.
4361 Added section "1.1 API Proposed Additions" which
4362 lists API additions desired for at-spi-1.1 (only one so far).
4363 Updated TODO list a little.
4365 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4367 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4370 * configure.in: Revved to 1.0.0.
4372 * idl/Accessibility_Registry.idl:
4373 (registerKeystrokeListener):
4374 Added boolean return value.
4376 * registryd/registry.c:
4377 (notify_listeners_cb): Minor fix to debug output.
4379 * registryd/Accessibility_Registry.server.in.in:
4380 Revved version number in OAFIID to 1.0.
4382 * registryd/registryd.c:
4384 Use new OAFIID version.
4386 * cspi/bonobo/cspi-bonobo.c:
4388 Use new OAFIID version.
4394 * atk-bridge/bridge.c:
4396 Use new OAFIID version.
4398 * registryd/deviceeventcontroller.c:
4399 (impl_register_keystroke_listener):
4400 Added CORBA_boolean return value.
4401 (spi_controller_register_device_listener):
4402 Added gboolean return value.
4403 (spi_controller_register_global_keygrabs):
4404 Added gboolean return value.
4405 (spi_key_set_contains_key):
4406 Added implementation for many more control keys,
4407 for instance F1-F12, arrow keys, End, Home, Page_Up,
4409 [TODO: some still not implemented].
4411 * text/screen-review-test.c:
4412 (text_chunk_pad_string):
4413 New function: it provides mapping between coordinate
4414 positions of text chunks and character positions in the
4415 screen-review-line output string.
4416 (text_chunk_to_string):
4417 New function, calls text_chunk_pad_string with various
4418 pad/delimiter characters. Pushbuttons are delimited with
4419 square brackets, Frames with vertical 'pipe' lines, and
4420 other text with double quotes.
4421 (text_chunk_list_to_string):
4422 Calls new function text_chunk_to_string.
4423 (toplevel_composite):
4424 New function to composite layers CANVAS through
4425 POPUP in each toplevel (other layers are composited
4426 across toplevels, i.e. BACKGROUND and OVERLAY).
4427 (review_buffer_composite):
4428 Revise to use new methods.
4434 2002-05-31 Laszlo Peter <laca@sun.com>
4436 * configure.in: add the Xtst libdir to the runpath on Solaris,
4437 since it's not in the default library search path.
4439 2002-05-29 jacob berkman <jacob@ximian.com>
4441 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4443 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4445 * test/screen-review-test.c:
4446 (text_chunk_pad_string):
4447 Added method, which pads the string according to the
4448 text bounds of the chunk. It also takes a 3-character
4449 string as a param which indicates the characters to be
4450 used for start, padding, and end delimitation of the chunk.
4451 (text_chunk_to_string):
4452 Changed to use text_chunk_pad_string.
4454 * configure.in: Fixed bug in AC_OUTPUT that was
4455 causing path substitution in Accessibility_Registry.server
4458 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4460 * text/screen-review-test.c:
4461 (guess_string_clip):
4462 New method which attempts a best-guess at clipping
4463 text from components (like Java labels) which don't
4464 actually implement AccessibleText. This inaccurate
4465 clip is based on the assumption that the label is
4466 justified left-and-right, and monospaced.
4467 (text_chunk_get_clipped_string):
4468 We now call guess_string_clip() for text-containing
4469 components that don't implement AccessibleText.
4471 * test/screen-review-test.c:
4472 (review_buffer_get_text_chunk):
4473 We now pull "name" from labels if they do not implement
4474 AccessibleText (i.e. for Java labels).
4475 (get_screen_review_line_at):
4476 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4479 Replaceded AC_OUTPUT target
4480 registryd/Accessibility_Registry.server with
4481 registryd/Accessibility_Registry.server.in.
4483 * registryd/Accessibility_Registry.server.in:
4484 Removed (this is now a Makefile target).
4486 * registryd/Accessibility_Registry.server.in.in:
4487 Added (source for target above). We now use $(libexecdir) as
4488 prefix for the executable at-spi-registryd.
4490 * registry/Makefile.am:
4491 Now install at-spi-registryd into $(libexecdir), and build .server
4492 file with path (see above).
4494 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4496 * test/screen-review-test.c:
4497 (text_chunk_get_clipped_string):
4498 We now check to see if words fall within clip bounds
4499 before resorting to character-by-character clip bounds testing.
4501 * TODO: Added a section for "2.2 Proposed API Additions".
4503 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4505 * test/screen-review-test.c:
4507 Added a screen review benchmarking and test program to test
4510 * cspi/spi_accessible.c:
4512 Made some of the debug strings passed to cspi_check_ev a
4513 little more specific.
4515 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4517 * test/screen-review-test.c: Fix crashes in debug statements
4519 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4521 * test/screen-review-test.c: Added this file.
4523 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4525 * atk-bridge/bridge.c: changed "object:state-change" to
4526 "object:state-changed" to match docs.
4528 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4530 * atk-bridge/bridge.c: Hooked up state-change event details.
4532 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4534 * registryd/registry.c:
4535 Fixed quarking bug in event string parsing; now events with
4536 detail parameters get matched correctly to listeners.
4539 * util/idl/Magnifier.idl: remove.
4541 * util/*.[ch]: Remove.
4542 Magnification utilities and IDL are now in module gnome-mag.
4544 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4546 * registryd/deviceeventcontroller.c:
4547 Fixed bug in grab key conversion which was causing keycode grabs
4548 to be converted to AnyKey grabs.
4551 updated NEWS file to reflect recent spin-off of gnome-mag.
4553 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4555 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4556 busted AccessibleStateSet_compare. Removed redundant casts.
4558 * cspi/spi-action.c: Removed redundant casts.
4560 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4562 * cspi/spi_component.c: Fixed typos and casting error.
4564 * cspi/spi_editabletext.c: Removed redundant casts.
4566 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4568 * cspi/spi_hypertext.c: Eliminated redundant casts.
4570 * cspi/spi_image.c: Eliminated redundant casts.
4572 * cspi/spi_registry.c: Eliminated redundant casts.
4573 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4574 * cspi/spi_selection.c: Removed redundant casts.
4575 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4576 handling. Screen geometry and text offsets were being returned as 0
4577 on error which is technically valid-- changed these to return -1.
4578 Added marshaller for text boundary types to fix bug with boundary
4579 types being passed incorrectly to atk.
4581 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4584 * cspi/spi_registry.c:
4585 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4586 which was uncovered by the recent key changes.
4588 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4590 * test/event-listener-test.c:
4592 Added new test, "event-listener-test";
4593 this code does two things; it benchmarks traversal time
4594 for the accessible hierarchy for the first running accessible
4595 app, and it connects listeners for all supported event types.
4596 It is thus useful as an example event listener and for
4597 diagnostics/debugging of event generation.
4599 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4602 Removed unnecessary dependency on libutil.
4605 Revved micro version: 0.13.1
4607 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4610 Removed util/Makefile from targets.
4613 Removed util subdir from SUBDIRS (temporarily,
4614 pending removal of magnifier-only code
4618 #ifdef-ed out magnifier dependencies, since
4619 magnifier IDL, headers, and binary now live in
4620 module gnome-mag and we don't want at-spi to depend
4621 on gnome-mag. A magnifier demo which can run alongside
4622 simple-at is forthcoming in the gnome-mag module.
4624 NOTE: Split magnifier binary, IDL, and magnification
4625 activation code from at-spi into module gnome-mag.
4627 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4629 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4630 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4632 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4635 Revved to version 0.13.0
4637 * idl/Accessibility_Registry.idl:
4638 Changed definition of KeySet from sequence of longs to sequence of
4639 KeyDefinitions, and added KeyDefinition struct.
4640 Required for fix to bug 80616.
4642 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4643 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4644 to use new definition (see above).
4646 * registryd/deviceeventcontroller.c: handle_keygrab(),
4647 spi_keyset_contains_key():
4648 Changed to make use of new struct; this allows matching based on
4649 string key-name, for instance "Tab". This also allows matching of
4650 composed characters, non-alphanumeric characters in a way that
4651 doesn't involve dependencies on X keysym codes directly, etc.
4653 * test/key-listener-test.c:
4654 Added test for Alt-Tab key using "string" specification of keyset,
4655 and modified one of the tests to use a keycode-based keyset.
4656 Thus this test both tests and demonstrates the creation and use of
4657 keysets of three forms: specified via keycode array,
4658 keysym array, and string array. (The string case only contains a
4659 single string, i.e. a string array of length 1).
4662 Turned on PRINT_TREE option by default. Also fixed a
4663 string-freeing bug in the PRINT_TREE code.
4664 Added a listener to window:minimize events.
4666 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4668 * atk-bridge/bridge.c:
4669 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4670 for window:activate and window:deactiveate
4671 (atk_bridge_property_event_listener atk_bridge_signal_listener
4672 atk_bridge_window_event_listener) Tidy debug code
4674 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4676 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4677 Fixed handling for NULL return value from ATK.
4679 * libspi/action.c libspi/component.c libspi/editabletext.
4680 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4681 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4682 Removed redundant casts.
4684 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4685 Fixed off by one bug.
4687 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4688 function not present in idl)
4690 2002-05-02 jacob berkman <jacob@ximian.com>
4692 * atk-bridge/Makefile.am: make atk-bridge a real module
4694 2002-04-26 Radek Doulik <rodo@ximian.com>
4696 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4697 atk_state_types table
4699 2002-04-22 jacob berkman <jacob@ximian.com>
4702 * libspi/Makefile.am: add deps on the built files to help
4703 automake, and don't version the ORBit typelib
4705 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4707 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4708 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4709 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4710 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4711 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4712 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4713 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4714 libspi/accessible.h libspi/accessible.h libspi/base.h
4715 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4716 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4717 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4718 libspi/spi-private.h libspi/statetset.h libspi/table.h
4719 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4720 util/mag_client.h util/mag_control.c util/mag_image.c
4721 util/mag_image.h util/magnifier.c util/magnifier.h:
4722 Add missing file headers; standardize existing ones
4724 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4726 * atk-bridge/bridge.c: Added window event support.
4728 2002-04-18 Michael Meeks <michael@ximian.com>
4730 * libspi/relation.c (impl_getNTargets): impl.
4731 (impl_getTarget): impl.
4733 * libspi/Makefile.am: fix stateset install.
4735 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4738 Started putting useful info in this file.
4740 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4742 * atk-bridge/bridge.c:
4743 Propagate state-changed notifications to ATs
4745 * cspi/spi_registry.c: update docs to reflect actual behavior of
4746 state-change events.
4748 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4751 Incremented version to 0.12.1
4753 * util/mag_client.h:
4754 Add missing declaration for magnifier_exit,
4755 used by mag_control.c - Forte compiler didn't like
4756 the implicit redeclaration of the function :-(
4759 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4762 Revved version to 0.12 due to API change (see below).
4764 * cspi/spi-roletypes.h:
4765 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4766 definition from the inline docs, and added docs
4767 for SPI_ROLE_LAST_DEFINED.
4770 * cspi/spi_streamablecontent.c:
4771 Added missing seek_type parameter to
4772 (so far unused) method,
4773 AccessibleStreamableContent_seek().
4774 [ RT approval JodyG. ]
4777 Fixed docs for SPI_createAccessibleKeystrokeListener.
4779 * cspi/spi_registry.c:
4780 Fixed docs for SPI_KEYSET_ALL_KEYS.
4782 * docs/reference/cspi/at-spi-cspi-sections.txt:
4783 Added a number of missing APIs to SECTIONS.
4785 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4787 * registryd/Makefile.am:
4789 * cspi/bonobo/Makefile.am:
4790 Add $(X_LIBS) to makefiles.
4792 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4795 Revved version to 0.11.
4797 * libspi/component.c:
4798 Added implementation for grabFocus.
4800 * idl/Accessibility_Component.idl
4801 (Accessibility_Component_grabFocus):
4802 Made this method return boolean to indicate success or failure, to
4803 be consistent with cspi and the corresponding ATK method.
4805 * idl/Accessibility_Selection.idl
4806 (Accessibility_Selection_selectAll) :
4807 Made these methods return boolean to indicate success or
4808 failure, to be consistent with cspi and the corresponding ATK methods.
4810 * idl/Accessibility_EditableText.idl
4811 (Accessibility_EditableText_setTextContents,
4812 Accessibility_EditableText_insertText,
4813 Accessibility_EditableText_cutText,
4814 Accessibility_EditableText_deleteText,
4815 Accessibility_EditableText_pasteText):
4816 Made these methods return boolean to indicate
4819 * cspi/spi_editabletext.c:
4820 Made these methods return booleans.
4822 * libspi/selection.c:
4823 * libspi/component.c:
4824 * libspi/editabletext.c:
4825 Connected the boolean returns from ATK
4826 to the server-side code referenced above.
4828 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4830 * idl/Accessibility_Table.idl: Added missing methods,
4831 Accessibility_Table_addRowSelection,
4832 Accessibility_Table_addColumnSelection,
4833 Accessibility_Table_removeRowSelection,
4834 Accessibility_Table_removeColumnSelection.
4837 Added C wrappers for above IDL:
4838 AccessibleTable_addRowSelection,
4839 AccessibleTable_addColumnSelection,
4840 AccessibleTable_removeRowSelection,
4841 AccessibleTable_removeColumnSelection.
4844 Added server-side implementation code for IDL above, connecting
4845 to pre-existing ATK api.
4847 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4849 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4851 * libspi/accessible.c: Added implementation fo
4852 Accessibility_Accessible_get_state.
4854 * libspi/libspi.h: Added stateset.h to the list of includes.
4856 * libspi/stateset.c: Fixed broken implementation.
4858 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4861 Added implementation code for Accessibility_Magnifier_exit ().
4863 * util/mag_control.c:
4864 Added test code for above method; you can
4865 now kill an existing magnifier via
4866 ./mag_control q, from the util directory.
4868 * test/key-listener-test.c:
4870 Added a new test, for our key listener API.
4872 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4874 * test/app.c, test/keysynth-demo.c:
4876 Replace use of snprintf with g_snprintf.
4877 (fix for bugzilla 78249)
4879 2002-03-27 Michael Meeks <michael@ximian.com>
4883 * util/Makefile.am (INCLUDES): fix.
4884 (DONT_DIST_SOURCE): don't distribute the
4887 * libspi/Makefile.am (dist-hook): ditto.
4889 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4891 * libspi/hypertext.c:
4892 Fix warnings when yelp is used with atk-bridge
4894 2002-03-21 Michael Meeks <michael@ximian.com>
4896 * libspi/application.c (spi_application_new):
4897 use spi_accessible_construct so we use the AtkObject
4900 2002-03-19 Michael Meeks <michael@ximian.com>
4902 * registryd/registry.c (desktop_remove_application),
4903 (desktop_add_application): clean coding style.
4905 * registryd/desktop.c (spi_desktop_remove_application),
4906 (spi_desktop_add_application): kill re-enterency hazards.
4907 (spi_desktop_dispose): remove bogus redundant cast
4908 obscuring bug; fix bug too.
4909 (spi_desktop_init): make the desktop object immortal.
4911 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4914 Added a #define-guarded tree-traversal step
4915 when enumerating the apps (diagnostic tool).
4917 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4919 * idl/Accessibility_Role.idl:
4920 Added ROLE_DRAWING_AREA which seemed to be missing from the
4923 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4925 * cspi/spi-roletypes.h cspi/spi_accessible.c
4926 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4929 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4930 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4931 AT when applications are added and removed from the desktop. This
4932 reverts the previous broken implementation using the backing
4933 AtkObject for the SpiDesktop.
4935 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4937 * registryd/desktop.c: emit the "children-changed::add" and
4938 "children-changed::remove" signals on the backing ATK object for
4939 the desktop so AT can tell when applications are started and shut
4942 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4944 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4946 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4948 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4950 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4952 * cspi/state-types.h: synched with IDL and ATK
4954 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4956 * libspi/accessible.c
4957 (impl_accessibility_accessible_get_child_at_index):
4958 Change return value for g_return_if_fail ()
4959 to CORBA_OBJECT_NIL instead of "0" (!)
4961 * registryd/Makefile.am:
4962 * registryd/Accessibility_Register.server.in:
4963 Changed name of executable, "registryd",
4964 to something more informative:
4967 2002-03-13 Michael Meeks <michael@ximian.com>
4969 * atk-bridge/bridge.c (atk_bridge_init): don't register
4970 if we're in a bonobo-component, rather than a bonobo app.
4972 2002-03-13 Michael Meeks <michael@ximian.com>
4974 * atk-bridge/bridge.c (gtk_module_init): split
4975 out body to (atk_bridge_init): here, since otherwise
4976 we get symbol conflicts and oddness when invoked
4977 from (gnome_accessibility_module_init): here (upd.)
4979 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4982 New file. Explicitly allow "build sheriff" putbacks provided
4983 they are tested on Solaris.
4985 * docs/reference/cspi/Makefile.am:
4986 Added '-' to the "cp" command for index.sgml.
4987 ("patch by thomasvs, soon coming to a GUADEC near you")
4990 Incremented version number (0.9.0) for new release.
4991 Changed macro that checks for popt, to better detect
4992 obsolete versions of popt.
4995 Added X_LIBS to AC_SUBST, for applications
4996 that call Xlib API directly.
4999 2002-03-07 Bill Haneman <bill.haneman@sun.com>
5002 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
5005 Fix regression caused by hard-coding major
5006 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
5009 * test/test-simple.c (test_editable_text),
5010 (test_test): revert previous change (error was
5011 a regression in gail which is now fixed).
5013 2002-03-04 Michael Meeks <michael@ximian.com>
5015 * test/test-simple.c (test_editable_text),
5016 (test_text): pass G_MAXINT instead of '-1' for
5017 whole string - is this a good thing !?
5019 * cspi/spi_accessible.c
5020 (Accessible_getRelationSet): fix crasher bug
5021 overwriting the end of the array.
5023 * test/test-simple.c (validate_accessible): free,
5024 not g_free returned relation set.
5026 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
5028 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
5029 implemented stateset support
5031 * idl/Accessibility_State.idl: Made necessary changes to
5032 the IDL to support state sets.
5034 2002-02-12 Bill Haneman <bill.haneman@sun.com>
5036 * registryd/deviceeventcontroller.c:
5037 Added implementation for generateMouseEvent.
5039 * cspi/spi_registry.c:
5040 Connected new implementation for generateMouseEvent
5043 2002-02-12 Bill Haneman <bill.haneman@sun.com>
5046 Incremented revision (but no change in public API
5047 outside of 'utils', which are not installed public yet.)
5049 * libspi/component.c:
5050 Changed to use atk_component API for layers and
5051 mdi_zorder, instead of deprecated atk_object API.
5053 Magnification Utility Enhancements:
5056 Added implementation of createZoomRegion, clearAllZoomRegions,
5057 resizeZoomRegion. Added new commandline argument
5058 "--no-initial-region". Note that clearAllZoomRegions doesn't
5059 unmap the old '0' region as it should (yet), and the other
5060 methods only work when creating/resizing a single region,
5061 which is "region 0".
5062 (Code for multiple region support will be added later.)
5065 Now we raise the magnifier window each time it's refreshed;
5066 this will help keep it on top.
5068 * util/mag_client.h:
5069 Added simple wrappers for above, used by mag_control.
5070 For general use, it's recommended to use the bonobo magnifier
5071 control API directly instead of using these wrappers.
5074 Moved ZoomRegionData from magnifier.c to this file.
5076 * util/mag_control.c:
5077 Added some code to exercise new IDL implementations.
5079 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
5081 * libspi/text.c: Provide implementation for getAttributes.
5083 2002-02-04 Bill Haneman <bill.haneman@sun.com>
5086 Incremented revision.
5088 * test/test-simple.c:
5089 Replaced use of deprecated g_main_iteration with
5090 g_main_context_iteration.
5092 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
5095 Incremented revision for desktop alpha 2.
5097 2002-01-28 Mark McLoughlin <mark@skynet.ie>
5099 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
5102 * test/simple-at.c: include netinet/in.h.
5104 2002-01-24 Mark McLoughlin <mark@skynet.ie>
5106 * cspi/spi_accessible.c: (Accessible_getRelationSet):
5107 use NULL, not CORBA_OBJECT_NIL.
5109 * libspi/accessible.c:
5110 (impl_accessibility_accessible_get_relation_set):
5111 allocate the sequence correctly.
5113 * libspi/remoteobject.h: kill spi_remote_object_new.
5115 * test/test-simple.c: (validate_accessible): add code
5116 to test relation sets, now all we need is to figure
5117 out how to excercise this code path :/
5119 2002-01-18 Michael Meeks <michael@ximian.com>
5121 * test/test-simple.c
5122 (key_listener_cb): consume the key.
5123 (test_keylisteners): update.
5124 (main): wait for any pending unrefs on events.
5126 * registryd/deviceeventcontroller.c
5127 (spi_controller_update_key_grabs): only re-issue the
5128 grab on a key release.
5129 (spi_device_event_controller_forward_key_event):
5130 refresh the keygrabs before we notify the listeners,
5131 to reduce the X ungrab / re-grab race.
5132 (spi_controller_register_with_devices): remove
5133 XSelectInput - we do that with the gdk_window_ call.
5134 (_spi_controller_device_error_handler): return a value.
5135 s/GDK_DISPLAY/spi_get_display/
5137 2002-01-17 Michael Meeks <michael@ximian.com>
5139 * registryd/deviceeventcontroller.c
5140 (_deregister_keygrab): don't blow out the later
5143 * test/test-simple.c (test_keylisteners): do a
5144 more intelligent validation.
5146 2002-01-14 Michael Meeks <michael@ximian.com>
5148 * atk-bridge/bridge.c
5149 (gnome_accessibility_module_init),
5150 (gnome_accessibility_module_shutdown): impl.
5151 (gtk_module_init): protect vs. double inits.
5152 (add_signal_listener): impl.
5153 (spi_atk_bridge_state_event_listener): kill
5154 (deregister_application): split out of
5155 (spi_atk_bridge_exit_func): here.
5157 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5160 Added caret tracking when using magnifier, and
5161 now use text bounds for focus tracking of text elements, rather than
5162 the component bounds - this is helpful for short text fields in long
5163 table cells, at high magnification.
5165 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5167 * registryd/deviceeventcontroller.c:
5168 Regression fix for keylistener de-registration; global keygrabs
5169 were not being released when deregisterKeystrokeListener was
5170 called in cspi, since
5171 Accessibility_DeviceEventController_deregisterKeystrokeListener
5172 was called with a zero-length keyset. That is because the cspi
5173 method, SPI_deregisterKeystrokeListener, does not take a keyset
5174 parameter but instead should remove all the key grabs held be a
5176 The code in impl_deregister_keystroke_listener was changed to copy
5177 the keylist from the listener instance previously registered with
5178 the DeviceEventController before releasing the grabs.
5180 * registryd/registry.c:
5181 * registryd/deviceeventcontroller.c:
5182 * libspi/spi-private.h:
5184 Changed spelling of "re-enterant" to "re-entrant" globally.
5186 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5188 * test/test-simple.c:
5189 Changed key listeners test - the test was slightly mis-using the
5190 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5191 It now uses '=' as the key event listened to and generated,
5192 relying on a keysym match rather than assuming that keycode 33
5193 is always equal to keysym '!'.
5195 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5198 Changed simple-at to use a specific keyset, rather than
5199 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5200 manager, desktop, etc.
5202 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5204 * registryd/deviceeventcontroller.c:
5205 Replaced standard X error handler with a special handler that
5206 is non-fatal for failed keygrabs. This works around
5207 problems with keygrab clashes sometimes observed on
5209 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5210 mouse handling code as yet).
5212 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5215 Incremented revision for desktop alpha release.
5218 Fixed a couple of the more glaring errors (still not
5221 2002-01-11 Michael Meeks <michael@ximian.com>
5223 * registryd/deviceeventcontroller.c
5224 (spi_device_event_controller_forward_key_event): kill
5225 XUngrabKey / XKeyGrab race.
5226 (spi_controller_grab_keyboard): rename to
5227 (spi_controller_update_key_grabs): this, and deal
5228 with incremental adding / removing grabs more
5230 (_register_keygrab): ensure we're not pending a remove.
5231 (spi_grab_mask_free): impl.
5232 (spi_controller_register_global_keygrabs): split out
5234 (handle_keygrab): impl.
5235 (_deregister_keygrab): impl.
5236 (spi_controller_deregister_global_keygrabs): impl.
5237 (spi_controller_update_key_grabs): re-issue the grab if
5238 we just recieved a notification.
5240 * test/test-simple.c (key_listener_cb): remove debug.
5242 * registryd/deviceeventcontroller.c
5243 (spi_controller_register_device_listener): after
5244 registering a global keygrab, actualy register it !
5245 don't wait for a timeout; doh !
5247 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5248 to make it more readable / manipulable.
5249 s/grabmask/grab_mask/ s/refcount/ref_count/
5250 s/keyval/key_val/ s/modmask/mod_mask
5252 2002-01-08 Michael Meeks <michael@ximian.com>
5254 * registryd/deviceeventcontroller.c
5255 (spi_controller_register_with_devices): use gdk calls to
5257 (global_filter_fn): implement the filter.
5258 (spi_device_event_controller_check_key_event): rename to
5259 (spi_device_event_controller_forward_key_event): this & upd.
5260 (spi_get_display): replace with GDK_DISPLAY.
5262 * registryd/deviceeventcontroller.c
5263 (spi_controller_deregister_device_listener): unroll into
5264 (impl_deregister_keystroke_listener): here to simplify.
5265 (spi_controller_register_global_keygrabs): split cut and
5266 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5267 (spi_controller_deregister_device_listener): remove.
5268 (impl_register_mouse_listener): remove, no mouse listener
5269 support in at-spi-1.0
5271 * registryd/registry.c
5272 (_device_event_controller_hook): kill.
5273 (spi_registry_init): upd.
5275 * registryd/deviceeventcontroller.c
5276 (spi_device_event_controller_class_init): upd.
5277 (spi_check_key_event): merge into.
5278 (spi_device_event_controller_check_key_event):
5279 here and kill strange static ev init, don't leak
5280 the x_event - nor dynamicaly allocate it.
5282 * registryd/registry-main.c (main): re-direct
5283 timeout to remove strange vtable mess.
5285 * registryd/deviceeventcontroller.c
5286 (remove_listener_cb): impl.
5287 (spi_controller_deregister_device_listener):
5288 fix re-enterancy hazard.
5290 2002-01-07 Michael Meeks <michael@ximian.com>
5292 * registryd/deviceeventcontroller.c
5293 (spi_device_event_controller_new): upd.
5294 (impl_notify_listeners_sync): upd. debug.
5295 (spi_notify_keylisteners): fix re-enterancy hazards,
5296 prettify, remove O(n*n) iteration.
5297 (spi_controller_grab_keyboard): fix iteration.
5298 (spi_check_key_event): re-format to suit coding style.
5299 Clean all the warnings - we're warning free.
5301 * registryd/deviceeventcontroller.h:
5302 * registryd/registry.h: make mutualy referential with
5303 typesafe forward references instead of (!) void pointer
5306 2002-01-11 Michael Meeks <michael@ximian.com>
5308 * cspi/spi_accessible.c (role_names): add a role name
5309 to sync this array with the enum; and make the regression
5312 2002-01-10 Michael Meeks <michael@ximian.com>
5314 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5315 allow expansion of enumeration & kill warning.
5317 * test/test-simple.c (key_listener_cb): impl.
5318 (test_keylisteners): impl.
5320 * cspi/spi-listener.h: make listener signatures const
5321 on the provided (const) events.
5323 * test/keysynth-demo.c: upd. to const events.
5325 * test/simple-at.c: ditto.
5327 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5330 Rev the version to 0.5 (the previous tarball was named 0.4,
5331 even though the micro number was 3), so we need to rev upwards
5332 again for beta2/"desktop-alpha"
5335 Checked in a demo script, which requires editing before use!
5336 Proceed with caution.
5339 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5341 * cspi/spi_accessible.c:
5342 Add a couple of missing enum initializations, and fix some enum
5345 * cspi/spi_registry.c:
5346 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5348 * docs/reference/cspi/at-spi-cspi-sections.txt:
5349 Remove/fix a couple of broken document references.
5352 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5353 as Alt-Control to listen for commands, since on some systems
5354 Control-Alt may already be grabbed.
5356 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5359 Update version number to 0.4 for Beta2.
5361 * libspi/accessible.c, libspi/accessible.h:
5362 Expose spi_accessible_construct, to enable libgail-gnome
5363 construction from spi_accessible subtype.
5365 * utils/magnifier.c:
5366 Workaround for bug in some non-gnome-compliant window managers
5367 which made magnifier resize improperly.
5369 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5371 * libspi/accessible.c: (spi_accessible_new) :
5372 Move the test for SPI_IS_REMOTE_OBJECT to
5373 spi_accessible_new_return, fixing a bug and compile time warning.
5375 2002-01-08 Michael Meeks <michael@ximian.com>
5377 * registryd/registry.c (parse_event_type): remove strndup.
5379 * libspi/Makefile.am (libspi_la_SOURCES): remove
5380 sources already included in the headers section.
5382 * libspi/util.c: add.
5384 * libspi/spi-private.h: add.
5386 * registryd/registry.c: update to moved list iterators.
5388 2002-01-05 Michael Meeks <michael@ximian.com>
5390 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5392 * test/test-simple.c (main): ditto.
5394 2002-01-04 Michael Meeks <michael@ximian.com>
5396 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5397 redundant construct.
5399 * registryd/registry.c
5400 (get_listener_list): impl.
5401 (impl_accessibility_registry_register_global_event_listener):
5402 re-impl. to simplify using ~, remove dodgy const cast off.
5403 (parse_event_type): constify.
5404 (impl_accessibility_registry_deregister_global_event_listener_all):
5405 re-write, more efficiency and simplicity, kill re-enterancy
5407 (compare_listener_corbaref, compare_corba_objects),
5408 (compare_listener_quarks): define out.
5409 (impl_accessibility_registry_deregister_global_event_listener):
5410 re-write for effiency, and nail re-enterancy hazard.
5411 (impl_accessibility_registry_get_desktop_list): impl.
5412 (re_enterant_list_delete_link): impl.
5413 (re_enterant_list_foreach): impl.
5414 (remove_listener_cb): impl.
5415 (_registry_notify_listeners): kill.
5416 (notify_listeners_cb): impl.
5418 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5419 (SPI_getDesktopList): impl.
5421 * test/test-simple.c (test_desktop): test the methods.
5423 2002-01-03 Michael Meeks <michael@ximian.com>
5425 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5426 keystrings since we free them
5427 (SPI_freeAccessibleKeySet): in here.
5429 * libspi/accessible.c (spi_accessible_new): kill warning,
5430 wonder what is going on with the constructor here.
5432 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5434 * libspi/accessible.c (spi_accessible_new ()) :
5435 Added check to see if AtkObject is an SpiRemoteObject before
5436 creating an SpiAccessible.
5438 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5440 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5441 Enable keygrabs using the Control modifier, now that they are
5442 working properly (they were previously disabled).
5445 Change the command keygrab for this demo to "Control+Alt", so as
5446 to conflict with fewer other key commands on the system; this
5447 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5449 Removed a pointlessly-chatty keylistener for unshifted keys
5450 (shifted keys are still reported).
5452 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5454 * libspi/remoteobject.h:
5455 * libspi/remoteobject.c:
5456 Added definitions for special AtkObject subtype, required for
5457 support of remote components (specifically, used by BonoboControl
5458 accessibility implementation).
5460 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5462 * cspi/spi.h: synched relation types with ATK
5464 * cspi/spi_accessible.c: Added implementations of
5465 AcccessibleRelation_* methods
5467 * idl/Accessibility_Relation.idl: added getRelationTypeName
5468 method. Synched known relation types with ATK. Allowed for
5469 relation type extension with the RELATION_EXTENDED type.
5471 * libspi/relation.c: Provided implementations for
5472 AccessibleRelation methods.
5474 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5476 API tweaks for today's API 'freeze'.
5479 Added placeholder functions to allow future compatible expansion
5480 of the IDL interfaces.
5482 * idl/Accessibility_Registry.idl:
5483 Changed generateKeyEvent to generateKeyboardEvent. Changed
5484 signature of this method to accept an optional keystring in
5485 parameter (for complex text input synthesis) and changed use of
5486 simple 'boolean' parameter in registerKeystrokeListener to a
5487 struct, EventListenerMode.
5489 * cspi/spi_accessible.c:
5491 * cspi/spi_streamablecontent.c:
5492 Added references to AccessibleStreamableContent interface, and
5493 definition and implementation of AccessibleStreamableContent
5496 * cspi/spi_registry.c:
5498 Changed generateKeyEvent API to generateKeyboardEvent,
5499 taking a new (optional) keystring parameter to support complex
5504 Renamed directory (to better reflect its actual purpose, bridging
5505 from at-spi to ATK). The .so module is also now named
5508 * idl/Accessibility_Hypertext.idl:
5509 * libspi/accessible.c:
5510 * libspi/hypertext.h:
5511 * libspi/hypertext.c:
5512 Changed Accessibility_Hypertext to *not* derive from
5515 * cspi/spi_registry.c:
5516 Added list of legal event type names for 'window' events, which
5517 completes the registry event API.
5519 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5521 * at-bridge/bridge.c: Added registration for separate
5522 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5523 signals. If either of the first two parameters to the generic
5524 bridge signal handler are ints, they are passed on as event
5525 details. This allows an AT to determine what text was inserted.
5527 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5529 * registryd/deviceeventcontroller.c:
5530 Fixed regressions in generateKeyEvent caused by the removal of
5531 gdk_init from registryd; we now use pure X calls to connect to the
5532 display, which makes sense because deviceeventcontroller already
5533 uses a fair bit of X API (should eventually be migrated to a
5534 'portability layer').
5536 * registryd/desktop.c:
5537 Fixed minor regression in spi_desktop_init, changed the way the
5538 desktop name is being set to work with new spi_base API
5539 (gobject-based, rather than AtkObject-based).
5541 * registryd/Makefile.am:
5542 Minor revision of makefile to use XTST_LIBS variable rather than
5543 hard-wiring the Xtst LD_ADD element.
5545 * test/keysynth-demo.c:
5546 Tweaked an output message; added initialization of the
5547 'keystrings' member of the "switch listener" key_set.
5549 * libspi/relation.c:
5550 Squashed compile-time warning.
5552 * libspi/accessible.c:
5553 Cosmetic and formatting fixes, renamed a static method.
5555 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5557 * libspi/accessible.c
5559 * libspi/application.c
5562 * libspi/component.c
5563 * libspi/editabletext.c
5564 * libspi/hyperlink.c
5565 * libspi/hypertext.c
5567 * libspi/selection.c
5571 * registryd/desktop.c:
5572 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5574 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5576 * idl/Accessibility_Registry.idl:
5577 Added boolean member 'is_text' to DeviceEvent. This is for the
5578 use of key events, and helps prevent ambiguity between composed
5579 key strings and keysym names, since both may potentially be
5580 returned in the 'event_string' member.
5582 * at-bridge/bridge.c:
5583 * registryd/deviceeventcontroller.c:
5584 Use the 'is_text' member when notifying device event listeners.
5585 Knon issue: composed characters are not dealt with correctly by
5586 the global key listener implementation yet.
5588 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5590 * at-bridge/bridge.c:
5591 Namespaced local static methods to spi_atk_bridge_* where
5592 previously named bridge_*, and spi_* elsewhere.
5594 * at-bridge/bridge.c:
5595 * cspi/bonobo/cspi-bonobo-listener.c:
5596 Added demarshalling/conversion for string member of
5597 Accessibility_DeviceEvent to AccessibleKeystroke.
5599 * registryd/deviceeventcontroller.c:
5600 Added code to fill the Accessibility_DeviceEvent key string value
5601 member for global key events (i.e. from XGrabKey), to match
5602 behavior of Accessibility_DeviceEvent from the toolkit key events
5603 from the bridge. Fixed timestamp in global key event notifications.
5606 Added printout of key event's string value to
5607 report_ordinary_key_event, for demo/debugging purposes.
5609 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5611 * idl/Accessibility_Registry.idl:
5612 Removed Accessibility_KeyStroke structure in favor of generic
5613 Accessibility_DeviceEvent structure.
5614 Changed Accessibility_ControllerEventMask from a struct to an
5617 * at-bridge/bridge.c:
5618 Changed APIs to use DeviceEvent structure as above, and removed
5619 bogus casting between these event structures.
5621 * cspi/spi-listener.h:
5622 Added keystring member of AccessibleKeystroke structure, to enable
5623 matching on event "names" rather than only hardware codes and
5627 Added keystrings member of AccessibleKeySet struct, to allow
5628 matching on event names (as above).
5629 Added declarations for SPI_createAccessibleKeySet and
5630 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5631 event modmasks directly as unsigned ints rather than structs with
5632 refcounts, in the DeviceEventController methods.
5634 * cspi/spi_registry.c:
5635 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5637 * cspi/spi-roletypes.h:
5638 Added documentation of newly added SPI Roles.
5640 * cspi/bonobo/cspi-bonobo-listener.c:
5641 Changes in support of API changes above.
5643 * libspi/accessible.c:
5644 Converted APIs to use DeviceEvent structure (see IDL changes
5647 * registryd/deviceeventcontroller.c:
5648 Added DEControllerGrabMask structure to track keygrabs not only by
5649 modmask but by keyset as well; this allows us to do "global"
5650 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5651 grabbing on AnyKey and then filtering after-the-fact.
5652 Bugfixes for event filtration mean that we don't get false matches
5653 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5655 * registryd/deviceeventcontroller.c:
5656 Namespaced a number of static methods to use spi_ prefix. Major
5657 revision to internals of global (i.e. X) key grabs.
5659 * registryd/deviceeventcontroller.h:
5660 Removed keymask_list and added keygrabs_list to
5661 SpiDeviceEventController struct.
5664 Added use of SPI_createAccessibleKeySet API when creating a
5665 listener for only one key. Attach a listener to "shift spacebar
5666 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5667 X key event names to SPI key event names, so that listeners are
5668 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5670 * test/keysynth-demo.c:
5671 Changed (incorrect) use of X key event names (KeyPressed,
5672 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5675 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5677 * libspi/accessible.c:
5678 Convert all AtkRole enumerations to Accessibility_Role enums when
5679 getting a role from an AtkObject.
5681 * cspi/spi_accessible.c:
5682 Complete the conversion of Accessibility_Role enums at runtime to
5683 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5684 role enums correctly match those given in spi-roletypes.h.
5685 Re-synchronize the local names list for AccessibleRole_getName ().
5686 AccessibleRole_getName is now deprecated, since it duplicates the
5687 more reliable Accessible_getRoleName.
5688 Added some role types from Accessibility_Role.idl.
5690 * idl/Accessibility_Role.idl:
5691 Added some role types used by AtkRole.
5693 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5696 * cspi/spi_registry.c:
5698 * cspi/cspi-bonobo-listener.c:
5699 Namespaced all methods that did not begin with an "SPI_" or
5700 "Accessible" prefix to "SPI_".
5703 Homogenized internal function namespace to "cspi_" for statics.
5706 Patched tests to use the new CSPI API.
5708 * docs/reference/cspi/at-spi-cspi-sections.txt:
5709 Updated docs to reflect namespace changes, and added a number of
5710 methods to the documentation.
5712 * registryd/registry.c:
5713 Changed use of strings and string hashes in listener event
5714 matching and parse_event_string to use GQuark, which is guaranteed
5717 * registryd/registry.h:
5718 Squashed annoying warning.
5720 * idl/Accessibility_Role.idl:
5721 Extended range of available Accessibility_Role values.
5723 * cspi/spi_accessible.c:
5724 Re-ordered role names.
5726 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5728 * idl/Accessibility_Value.idl:
5729 Revert use of union back to CORBA_double, since the double type is
5730 more efficient and can contain the other types without loss of
5733 * idl/Accessibility_Accessible.idl:
5734 Added method Accessibility:Accessible:getRoleName, to complement
5735 Accessibility:Accessible:getRole.
5737 * cspi/spi_accessible.c:
5739 Added C binding for above, Accessible_getRoleName (), and changed
5740 signature of Accessible_getRole () to return an AccessibleRole.
5742 * cspi/spi-roletypes.h:
5743 Changed AccessibleRole_getName to return a char * instead of a
5744 const char *. This method is now at least temporarily deprecated
5745 in favor of asking Accessibles for their RoleNames directly.
5748 Revert to match Accessibility_Value.idl;
5752 Change signature of AccessibleValue methods to use double rather
5756 * cspi/spi_accessible.c:
5757 Changed Accessible_getRole to return an AccessibleRole enum rather
5758 than a UTF-8 string. The UTF-8 string can still be obtained via
5759 AccessibleRole_getName ().
5761 * test/test-simple.c:
5762 Add test_action. Small fixup to match API change to Accessible_getRole.
5765 Bugfix for get_action_from_servant ().
5767 2001-12-11 Michael Meeks <michael@ximian.com>
5769 * libspi/libspi.h: remove registry.h and
5770 desktop.h, deviceeventcontroller.h
5772 * libspi/Makefile.am: remove registry.[ch],
5773 desktop.[ch], deviceeventcontroller.[ch]
5775 * registryd/Makefile.am: add registry.[ch],
5776 desktop.[ch], rename registryd.c to registry-main.c.
5777 add deviceeventcontroller.[ch]
5779 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5782 Replace setenv() call with putenv ().
5784 * libspi/component.c:
5785 Bugfix in AccessibleComponent_getExtents (),
5788 2001-12-11 Michael Meeks <michael@ximian.com>
5790 * libspi/image.c (impl_getImageExtents): impl.
5791 (spi_image_class_init): upd.
5794 (AccessibleImage_getImageDescription): fix daft bug
5797 * test/test-simple.c (global_listener_cb): update
5798 to only quit if not --poke
5799 (main): catch --poke.
5800 (validate_accessible): upd. dumping, call test_image
5803 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5806 * idl/Accessibility.idl: update all IDL includes.
5808 * idl/*.idl - rename to namespace - this sucks, blame
5809 mjs' bad decision for oafd.
5811 * test/test-simple.c (create_test_window): add more tests.
5812 (create_tree): split this out.
5813 (validate_accessible): bugfix.
5815 2001-12-11 Michael Meeks <michael@ximian.com>
5817 * cspi/bonobo/cspi-bonobo-listener.c:
5818 (cspi_kestroke_listener_unref),
5819 (cspi_event_listener_unref): impl. undoing previous
5820 homenous environment - for Bill.
5822 * cspi/spi_table.c (long_seq_to_array): use
5825 * cspi/spi_main.c: split out all bonoboish bits into
5828 * cspi/spi-impl.h: upd. typedefs.
5830 * cspi/spi_registry.c: update to lowlevel API,
5831 return booleans to indicate success in some places.
5833 * cspi/spi_event.c: update to lowlevel API.
5835 * cspi/bonobo/Makefile.am: add.
5837 * cspi/bonobo/cspi-lowlevel.h: add
5839 * cspi/bonobo/cspi-bonobo.c: add
5841 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5843 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5844 (SUBDIRS): add bonobo, link in the libs.
5846 * cspi/spi-util.c: kill this file.
5848 * TODO: merge in my bits.
5850 2001-12-11 Michael Meeks <michael@ximian.com>
5852 * test/test-simple.c (test_value, test_table, main):
5853 remove unused variables causing warnings.
5855 * configure.in: cleanup checks - require gail.
5857 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5860 Changed Value interface to use SValue (scalars) rather than
5861 assuming all values are floats. This allows floats, doubles,
5862 longs, shorts, and unsigned values to be manipulated.
5863 Introduced Accessibility:SValue union.
5866 Updated to use new API above, and to work correctly with GValues
5867 of different types in AtkValue.
5870 Updated to use new API above. cspi's API is as yet unchanged.
5873 Updated the Value revision action item.
5875 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5877 * test/test-simple.c:
5878 Added test_table (GtkTreeView widget in test window to follow).
5879 Un-commented test_value, added GtkRange widget.
5880 Added GtkTreeView widget with GtkListStore. It passes regression
5881 test but leaks one SPI object for some reason.
5884 Fixed bug in impl__set_currentValue.
5886 2001-12-10 Michael Meeks <michael@ximian.com>
5888 * cspi/spi_text.c: audit for exception handling,
5889 tolerating NULL object references safely etc.
5891 * cspi/spi_value.c: ditto.
5893 * cspi/spi_table.c (AccessibleTable_getSummary),
5894 (AccessibleTable_getAccessibleAt),
5895 (AccessibleTable_getRowHeader),
5896 (AccessibleTable_getColumnHeader),
5897 (AccessibleTable_getCaption): fix bugs hidden by
5899 (long_seq_to_array): impl.
5900 (AccessibleTable_getSelectedRows),
5901 (AccessibleTable_getSelectedColumns): use it.
5903 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5906 Added a TODO list (rough and short for now).
5908 * cspi/spi_hyperlink.c:
5909 * cspi/spi_hypertext.c:
5910 Fixed macro name typos, and remove use of obsolete macro in
5911 AccessibleHyperlink_getLink.
5913 * cspi/spi_action.c:
5914 * cspi/spi_accessible.c:
5915 * cspi/spi_application.c:
5916 * cspi/spi_component.c:
5917 * cspi/spi_selection.c:
5920 Documentation fixes (removed return values from ref/unref methods).
5922 2001-12-10 Michael Meeks <michael@ximian.com>
5924 * cspi/spi_action.c: audit for exception handling,
5925 tolerating NULL object references safely etc.
5927 * cspi/spi_accessible.c: ditto.
5929 * cspi/spi_component.c: ditto.
5931 * cspi/spi_editabletext.c: ditto.
5933 * cspi/spi_hyperlink.c: ditto.
5935 * cspi/spi_hypertext.c: ditto.
5937 * cspi/spi_image.c: ditto.
5939 * cspi/spi_selection.c: ditto.
5941 2001-12-10 Michael Meeks <michael@ximian.com>
5943 * configure.in: use cspi/libspi.pc.in instead.
5945 * Makefile.am (pkgconfig_DATA): upd. to match.
5947 * test/simple-at.c (report_focus_event): kill hacks around
5948 bad return values, use putenv not setenv
5950 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5951 fire ChildGone - I killed it.
5953 * libspi/component.c
5954 (impl_accessibility_component_get_extents): remove
5957 * idl/Accessible.idl: kill ChildGone exception.
5959 * cspi/*.[ch]: kill int return from ref / unref.
5961 * cspi/spi_main.c (cspi_object_add_check): fold into
5962 (cspi_object_add): here.
5964 * cspi/spi_component.c (AccessibleComponent_getExtents):
5965 handle exceptions elegantly.
5967 * cspi/spi-private.h (cspi_check_ev_return),
5968 (cspi_return_if_fail): impl.
5970 * cspi/spi_accessible.c: use extensively.
5971 (AccessibleStateSet_equals): add direct compare check.
5973 * cspi/spi_selection.c: tolerate NULL objs, and check
5974 exceptions before return.
5976 * cspi/spi-util.c (cspi_warn_ev): rename to
5977 (cspi_check_ev): this & don't pass ev in; no point.
5979 2001-12-10 Michael Meeks <michael@ximian.com>
5981 * test/test-simple.c: use putenv not setenv
5982 (get_environment_vars): more chatty if you're not using
5985 * test/simple-at.c: do the setenv so more people see the
5988 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5990 * libspi/registry.c:
5991 Changed check of CORBA_environment on notification to be a warning
5992 instead of an error for the moment, since we can recover from this
5993 error when caused by a queued notification from a dead app.
5996 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5997 used by all current implementors of AtkValue), and coerce to
5998 CORBA_float. (Proper general case fix may require change to Value.idl).
6000 2001-12-09 Bill Haneman <bill.haneman@sun.com>
6004 * cspi/spi_accessible.c:
6005 Documentation fixes: added user_data params to documentation for
6006 listeners and callbacks.
6008 * cspi/spi_accessible.c:
6009 Changed AccessibleStateSet_compare to return a
6010 StateSet rather than return the difference set into a third parameter.
6013 2001-12-09 Bill Haneman <bill.haneman@sun.com>
6016 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
6017 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
6021 Remove subdirectory po from SUBDIRS for now.
6023 * at-bridge/bridge.c:
6024 Beefed up a couple of debug printouts.
6025 One-line fix for signal notification name formatting.
6027 * libspi/accessible.c:
6028 Added assertion to spi_accessible_new ().
6030 * libspi/application.c:
6031 Put #ifdef qualifiers around a printf.
6034 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
6036 * registryd/Makefile.am:
6038 Replaces use of XML_I18N_MERGE_SERVER_RULE with
6039 INTLTOOL_SERVER_RULE macro.
6042 Added an event listener for several ATK signals, for
6043 testing and debugging. Removed a few g_warnings.
6044 Added test output if focussed item implements the Value interface.
6046 * test/test-simple.c:
6047 Added test_value () function (known not to pass at the moment, so
6048 not actually called yet.
6050 2001-12-08 Michael Meeks <michael@ximian.com>
6052 * at-bridge/bridge.c (bridge_focus_tracker),
6053 (emit_eventv): fix the same ref. leak.
6054 (register_atk_event_listeners): don't leak.
6056 * cspi/spi-listener-impl.c (cspi_event): more
6057 protection from client code.
6059 * test/test-simple.c (test_desktop): unref the app.
6061 * test/Makefile.am: upd. TESTS.
6063 * at-bridge/bridge.c (bridge_exit_func): release the registry.
6065 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
6067 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
6069 * cspi/spi_registry.c: constify in strings.
6070 (deregisterGlobalEventListenerAll): don't release the ref.
6072 * cspi/spi.h: start removing redundant / conflicting
6073 gtkdoc comments, making the API readable at a glance :-)
6075 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
6077 * test/keysynth-demo.c (keysynth_exit, main): upd.
6079 * test/simple-at.c (main, simple_at_exit): upd.
6081 * test/test-simple.c (unutterable_horror): kill.
6082 (utterable_normal_derefs): kill.
6083 (main): upd & do a setenv before gtk_init, so that we
6084 can use memprof - and to save the pain of remembering
6085 this, if we're running under memprof - don't exit.
6087 * cspi/spi_main.c (SPI_exit): return exit status
6089 (SPI_event_quit): impl.
6090 (SPI_event_main): simplify.
6091 (cspi_is_gnome_app): kill.
6092 (SPI_init): kill isGNOMEapp arg.
6094 * at-bridge/bridge.c (register_atk_event_listeners):
6095 re-instate the unref.
6096 (bridge_exit_func): don't re-activate the registry,
6097 protect vs. theoretical re-entry, use the
6098 AT_BRIDGE_SHUTDOWN env. var to determine whether to
6099 assert a clean shutdown - for regression tests.
6101 2001-12-08 Abel Cheung <maddog@linux.org.hk>
6103 * configure.in: Comment out dummy i18n support for now,
6104 otherwise it fails to build.
6105 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
6106 EXTRA_DIST. They are missing in tarball.
6108 2001-12-07 Michael Meeks <michael@ximian.com>
6110 * util/magnifier.c: kill bonobo activation reg. race.
6112 * libspi/component.c
6113 (impl_accessibility_component_get_extents): make it match
6116 * libspi/registry.c (_registry_notify_listeners):
6117 re-remove X headers & reconcile conflicts.
6118 (spi_listener_struct_free): bad conflict resolve.
6119 (impl_accessibility_registry_register_application):
6120 more bad merging fixed.
6121 (impl_accessibility_registry_deregister_application): ditto.
6122 (spi_registry_new): ditto.
6123 (spi_registry_init): don't have an applications field.
6125 [ merge fixups2 branch to here ]
6126 2001-12-07 Michael Meeks <michael@ximian.com>
6128 * test/simple-at.c (report_focus_event),
6129 (report_focussed_accessible): remove g_warning debug.
6131 2001-12-07 Michael Meeks <michael@ximian.com>
6133 * test/test-simple.c (validate_tree): comment out some checks.
6134 (test_desktop): app now not registered idly - horay.
6136 2001-12-07 Michael Meeks <michael@ximian.com>
6138 * cspi/spi_registry.c
6139 (registerAccessibleKeystrokeListener): clean, stop it leaking
6140 great swathes of memory, and device event controller references.
6141 ensure we always pass valid sequences.
6142 (deregisterAccessibleKeystrokeListener): ditto.
6143 (generateKeyEvent): upd.
6145 * at-bridge/bridge.c (bridge_key_listener): handle
6146 registry dead exception gracefully.
6147 (bridge_focus_tracker, emit_eventv): free ev.
6149 * test/simple-at.c (report_focus_event): fix polarity.
6151 * libspi/application.c (notify_listeners): kill the ev
6152 argument, and make sure we init the ev we use.
6153 (spi_application_object_event_listener): split out a chunk
6154 (get_atk_object_ref): here & fixup.
6155 (reverse_lookup_name_for_toolkit_event): make const.
6156 (spi_application_toolkit_event_listener): fixup, kill leaks
6159 * at-bridge/bridge.c (register_atk_event_listeners):
6160 don't unref the noop object - causes grief.
6162 * libspi/registry.c: remove the X headers.
6163 turn off the debug churn.
6165 * libspi/accessible.c (spi_accessible_new_return): only
6166 release the ref if we are supposed to [doh]
6168 * test/simple-at.c (report_button_press, report_focus_event):
6169 guard vs. unexpected exit.
6171 * at-bridge/bridge.c (gtk_module_init): prune printf.
6172 (bridge_exit_func): fix app unref.
6174 * libspi/Makefile.am: don't install registry or desktop.h
6176 * libspi/*.h: update includes.
6178 * libspi/application.h: don't include ourself, or
6179 other redundant headers.
6181 2001-12-06 Michael Meeks <michael@ximian.com>
6183 * libspi/accessible.c
6184 (get_accessible_from_servant): impl.
6185 Upd. all CORBA impl.s to use it killing cut and paste.
6187 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6189 (SPI_init): register atexit cleanup handler here.
6191 2001-12-06 Michael Meeks <michael@ximian.com>
6193 * at-bridge/bridge.c (gtk_module_init): g_error on
6194 activation exception
6196 2001-12-06 Michael Meeks <michael@ximian.com>
6198 * at-bridge/bridge.c (gtk_module_init): some sort of
6199 confusing merge clash - reverted.
6200 (bridge_idle_init): ditto.
6202 * test/test-simple.c (main, utterable_normal_derefs):
6203 merge from Bill - somehow not committed.
6205 2001-12-06 Michael Meeks <michael@ximian.com>
6207 * libspi/value.c (spi_value_class_init): upd.
6208 (spi_value_finalize): kill.
6210 * libspi/table.c (spi_table_finalize): kill.
6211 (spi_table_interface_new): upd.
6212 (spi_table_class_init): upd.
6213 (get_table_from_servant): impl.
6214 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6216 * libspi/selection.c (spi_selection_finalize): kill.
6217 (spi_selection_interface_new): upd.
6218 (spi_selection_class_init): upd.
6219 (get_selection_from_servant): impl.
6220 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6222 * libspi/relation.c (spi_relation_finalize): kill.
6223 (spi_relation_class_init, spi_relation_new): upd
6225 * libspi/image.c (spi_image_finalize): kill.
6226 (spi_image_class_init): upd.
6227 (spi_image_interface_new): upd.
6228 (get_image_from_servant): impl.
6229 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6231 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6232 (spi_hyperlink_finalize): kill.
6233 (spi_hyperlink_new): upd.
6234 (get_hyperlink_from_servant): impl.
6235 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6237 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6238 (spi_hypertext_finalize): kill.
6239 (spi_hypertext_class_init): upd.
6240 (get_hypertext_from_servant): impl.
6241 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6243 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6244 (spi_editable_text_interface_new): upd.
6245 (get_editable_text_from_servant): impl.
6246 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6248 * libspi/text.c (get_text_from_servant): impl.
6249 All impls - update to use it killing more cut and paste,
6250 also fix bad string returns on duff args ( a somewhat
6251 impossible case to handle - but hey ).
6252 (spi_text_construct): impl.
6253 (spi_text_interface_new): upd.
6254 (spi_text_object_finalize): kill.
6256 * libspi/component.c
6257 (accessibility_component_object_finalize): kill.
6258 (spi_component_class_init): upd.
6259 (get_component_from_servant): impl. helper to kill cut & paste.
6260 (impl_accessibility_component_contains):
6261 (impl_accessibility_component_get_accessible_at_point):
6262 (impl_accessibility_component_get_position):
6263 (impl_accessibility_component_get_extents):
6264 (impl_accessibility_component_get_mdi_z_order):
6265 (impl_accessibility_component_get_layer):
6266 (spi_component_interface_new): upd.
6268 * libspi/action.c (spi_action_finalize): kill.
6269 (spi_action_class_init): upd. inherit from SpiObject.
6270 (spi_action_interface_new): upd.
6271 (get_action_from_servant): impl. helper to reduce cut & paste.
6272 (impl_getKeyBinding, impl_getName, impl_doAction),
6273 (impl_getDescription): Use it everywhere.
6275 * cspi/spi_main.c (get_live_refs): a pointer hash.
6276 (spi_object_hash, spi_object_equal): comment out.
6277 There are issues with CORBA object hashing that need
6280 * libspi/application.c (spi_application_init),
6281 (spi_application_new): upd.
6283 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6284 (spi_accessible_class_init): upd.
6285 s/accessible/object/ in epv methods.
6287 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6289 * at-bridge/bridge.c:
6290 Reorder the bridge initialization into the bridge gtk_module_init,
6291 an immediate call to bridge_register_app, and an idle_add for
6292 register_atk_event_listeners (the only code that *must* wait until
6293 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6294 the activation, creates the application's Accessible object, and
6295 queues the bridge_idle_init function. Restored call to
6296 Accessibility_Registry_deregisterApplication().
6297 Prior to making this call we obtain a new reference to the
6298 registry, which is a temporary hack that helps us handle apps that
6299 shut down the bonobo mainloop before we get there.
6301 * libspi/registry.c:
6302 Fix string leakage in debug block, and don't segv if a an app
6303 dies before its event notifications have been propagated.
6306 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6307 as stopgap measure until we get proper exception handling when
6308 objects die during or before interrogation.
6312 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6313 Also changed default value of is_gnome_app to TRUE.
6316 * test/keysynth-demo.c:
6317 Changed use of SPI_init and SPI_event_main to reflect API change above.
6320 Made report_focus_event check the warning value from getName
6321 before reporting on focussed accessible; simplifies handling of
6322 notifications from dead objects.
6324 * test/test-simple.c: (Changes not in this patch since source is
6327 2001-12-05 Michael Meeks <michael@ximian.com>
6329 * registryd/registryd.c (main): protect against
6330 bonobo-activation startup race condition.
6332 * cspi/spi_main.c (cspi_object_add_check): cope
6333 with the exception elegantly.
6335 * idl/Accessible.idl: decl. ChildGone
6337 * libspi/desktop.c (spi_desktop_dispose): impl.
6338 (spi_desktop_class_init): upd.
6339 (spi_desktop_add_application),
6340 (spi_desktop_remove_application),
6341 (abnormal_application_termination): impl.
6342 (impl_desktop_get_child_at_index): re-impl.
6345 (impl_accessibility_registry_deregister_application),
6346 (impl_accessibility_registry_register_application):
6347 kill excessive debug clutter.
6349 * test/test-simple.c (test_misc): test some NULL
6350 tolerance. (main): upd.
6352 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6353 implements no interfaces - so let's not crash.
6355 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6357 * libspi/accessible.c (spi_accessible_new_return): impl.
6358 helper to calm the cut and paste, to cope with
6359 NULL AtkObjects effectively and efficiently, and to kill
6360 the referencing bugs.
6362 * libspi/table.c (impl_getAccessibleAt),
6363 (impl_getRowHeader, impl_getColumnHeader): upd.
6365 * libspi/hyperlink.c (impl_getObject): upd.
6367 * libspi/accessible.c
6368 (impl_accessibility_accessible_get_child_at_index): upd.
6370 * libspi/component.c
6371 (impl_accessibility_component_get_accessible_at_point): upd.
6373 * test/test-simple.c (test_editable_text, test_text): impl.
6376 * cspi/spi_editabletext.c
6377 (AccessibleEditableText_insertText): constify.
6379 * test/test-simple.c (focus_me): make more robust.
6381 * libspi/accessible.c: remove some printfs in methods that
6382 we test and work fine, so we can get a clean tree dump.
6384 * test/test-simple.c (validate_accessible),
6385 (validate_tree): make tree dumping pretty too.
6387 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6388 it builds without debug on.
6390 * test/test-simple.c (validate_accessible): fix the most
6393 * cspi/spi_main.c (spi_object_release): leave the nicely
6394 blanked memory around if in debug mode.
6396 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6398 [committed to fixups2]
6399 2001-12-05 Michael Meeks <michael@ximian.com>
6401 * libspi/editabletext.c
6402 (spi_editable_text_class_init): g_type_class_peek_parent,
6403 not interface peek - so we finalize cleanly.
6405 * libspi/accessible.c (spi_accessible_new): kill debug.
6407 * test/test-simple.c (validate_accessible): fix ref.
6408 leak, print strings before freeing them; sigh, comment a
6409 chunk out due to strangeness.
6410 (validate_tree): unref the child after use.
6412 * cspi/spi_component.c (AccessibleComponent_getLayer):
6413 add missing break statement, switch on zlayer not the
6414 uninitialized retval.
6416 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6417 before (possibly re-entering) remote unref.
6419 * test/simple-at.c (main): unref the desktop.
6421 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6424 * cspi/spi_main.c (cspi_accessible_is_a): here to
6425 isolate bonobo API usage more.
6427 * libspi/registry.c (impl_accessibility_registry_register_application):
6428 prune bogus comment.
6430 2001-12-04 Michael Meeks <michael@ximian.com>
6432 * test/test-simple.c (validate_tree): upd.
6433 IndexInParent check to make it more lucid.
6434 (validate_accessible): dump the tree.
6436 * libspi/accessible.c (de_register_public_ref),
6437 (get_public_refs): impl.
6438 (spi_accessible_new): make more efficient & intuitive.
6439 Now IndexInParent check works.
6441 2001-12-04 Michael Meeks <michael@ximian.com>
6443 * cspi/spi-util.h: remove.
6445 * cspi/spi.h: move SPI_freeString here
6447 * libspi/component.c (impl_accessibility_component_get_layer):
6449 (impl_accessibility_component_get_mdi_z_order): ditto,
6450 return -1 on error - is this ok ?
6452 * test/test-simple.c (test_application): impl.
6454 * cspi/spi_accessible.c (Accessible_getApplication),
6455 (Accessible_isApplication): impl.
6457 * libspi/registry.c (spi_listener_struct_free): release
6458 the CORBA reference too.
6460 * libspi/accessible.c
6461 (impl_accessibility_accessible_get_parent): fix ref leak.
6463 * libspi/registry.c (spi_registry_new): make the registry
6464 immortal - we don't want it to go away ever.
6466 * libspi/application.c
6467 (spi_accessible_application_finalize): impl. cleanup.
6469 * cspi/spi_registry.c
6470 (deregisterGlobalEventListenerAll),
6471 (deregisterGlobalEventListener),
6472 (deregisterAccessibleKeystrokeListener): fix ref leak.
6474 * cspi/spi_main.c (SPI_init): remove redundant ref.
6476 * test/test-simple.c (unutterable_horror): impl. to force a
6481 (impl_accessibility_registry_deregister_application): release
6482 the application when we de-register it.
6484 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6485 until we have the infastructure to get it right.
6487 2001-12-03 Michael Meeks <michael@ximian.com>
6489 * libspi/Makefile.am: only build eventlistener.[ch]
6491 * libspi/accessible.c
6492 (impl_accessibility_accessible_get_child_at_index): don't leak.
6494 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6495 before we hit the idle handler.
6497 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6498 debugging than exit.
6500 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6502 * libspi/listener.c (impl_notify_event): check source
6503 not NIL before unref.
6505 * libspi/registry.c (impl_registry_notify_event): ditto.
6507 * libspi/eventlistener.c
6508 (impl_accessible_event_notify_event): unref the source.
6510 * libspi/accessibleeventlistener.c
6511 (impl_accessible_event_notify_event): unref the source.
6513 * idl/Event.idl: remove 'hash_id' attribute - of no
6516 * libspi/application.c (notify_listeners): upd list
6518 (spi_application_object_event_listener),
6519 (spi_application_toolkit_event_listener): upd to do correct
6523 (_registry_notify_listeners): update.
6524 (parse_event_type): this method also leaks like a sieve.
6525 (impl_accessibility_registry_deregister_global_event_listener):
6526 fix ETYPE_WINDOW case.
6528 * libspi/application.c
6529 (impl_accessibility_application_register_object_event_listener):
6532 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6534 * libspi/hypertext.c (impl_getLink): ditto.
6536 * cspi/spi_main.c (cspi_object_add): remove
6537 bogus CORBA_Object_duplicate.
6539 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6542 * cspi/spi_accessible.c
6543 (Accessible_getRelationSet): fix leak / referencing issue.
6545 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6546 (cspi_object_add, cspi_object_unref): upd.
6547 (spi_object_release, get_live_refs): impl.
6548 (cspi_cleanup): simplify.
6550 * *.[ch]: s/boolean/SpiBoolean/
6552 * cspi/spi_accessible.c (role_names): actualy order so it
6553 corresponds with the enum !
6555 * test/test-simple.c (test_roles): check some role strings
6556 vs. enums to detect offset errors.
6558 2001-12-01 Michael Meeks <michael@ximian.com>
6560 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6562 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6564 (Accessible_getChildAtIndex): use cspi_add_check so we
6565 check the ev before using a (possibly) invalid value.
6567 * libspi/accessible.c
6568 (impl_accessibility_accessible_get_parent): don't segv
6571 * at-bridge/bridge.c (gtk_module_init): upd.
6572 (bridge_property_event_listener): don't leak strings
6574 (bridge_state_event_listener),
6575 (bridge_property_event_listener): don't use a static
6576 buffer in case of recursive event emission &
6577 re-enterancy - split out the swathe of cut and paste
6579 (emit_eventv): and fix 2 ref leaks here & comply to the
6581 (bridge_register_app): rename to
6582 (bridge_idle_init): this and kill arg parsing, split
6583 various inits & bonobo-activation registration to module
6584 init time, kill referencing error.
6585 (bridge_exit_func): fix the same leak.
6586 (bridge_focus_tracker): don't leak event structures
6588 (bridge_signal_listener): more leakage and cut & paste
6590 (bridge_key_listener): return the result - FIXME is
6591 this polarity correct ?
6592 (accessibility_keystroke_from_atk_key_event): rename
6593 (accessibility_init_keystroke_from_atk_key_event): and stop
6595 (gtk_module_init): return a value - not that it is checked by
6597 (bridge_key_listener): register my horror at casting between
6598 IDL defined structs.
6599 (bridge_get_registry): kill - not used.
6601 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6603 * test/test-simple.c (test_roles): impl.
6604 (test_desktop, validate_accessible, validate_tree): impl.
6606 * cspi/spi_accessible.c (role_names): fixup bogus
6607 MAX_ROLES setup, make constants const for efficient linkage
6608 (AccessibleRole_getName): conform to coding style, make
6611 2001-11-30 Michael Meeks <michael@ximian.com>
6613 * cspi/spi.h: add missing prototype.
6615 * libspi/registry.c (spi_listener_struct_new): fix sig.
6617 * test/Makefile.am: add test-simple
6619 * test/test-simple.c: add
6621 * test/test.sh: add.
6623 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6625 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6626 do it straight - since otherwise we often get an activation race.
6628 [ work before Bill duplicated a chunk of it ... ]
6629 2001-11-30 Michael Meeks <michael@ximian.com>
6631 * libspi/keystrokelistener.c
6632 (spi_keystroke_listener_class_init): fixup arg
6635 * libspi/eventlistener.c
6636 (spi_event_listener_class_init): ditto.
6638 * tests/test.sh: add.
6640 * cspi/spi-listener-impl.h: update macros.
6642 * cspi/spi-listener-impl.c
6643 (cspi_event_listener_remove_callback): add
6644 correct pre-conditions.
6646 * cspi/spi_main.c (SPI_exit): guard vs. double
6647 exits, exit the mainloop nicely.
6648 (SPI_event_main): make more sense.
6649 (SPI_init): move the atexit evilness here so we
6650 always do it (yuck).
6651 (SPI_event_main): upd.
6653 * test/simple-at.c: update for listener changes.
6655 * registryd/registryd.c (main): prune kruft.
6657 * libspi/libspi.h: upd.
6659 * libspi/eventlistener.[ch]: rename broken macros.
6661 * libspi/accessibleeventlistener.[ch]: remove.
6663 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6665 * test/test-simple.c: Add - automated tests.
6667 * cspi/spi-listener-impl.c (cspi_event),
6668 (cspi_key_event): add user_data to invoke.
6669 (cspi_keystroke_listener_finalize): impl.
6670 (cspi_keystroke_listener_class_init): upd.
6673 (createAccessibleEventListener),
6674 (AccessibleEventListener_addCallback),
6675 (createAccessibleKeystrokeListener),
6676 (AccessibleKeystrokeListener_addCallback): upd.
6678 * libspi/deviceeventcontroller.c
6679 (spi_device_event_controller_check_key_event): add public proto.
6682 (impl_accessibility_registry_deregister_global_event_listener):
6683 always init listeners.
6684 (_registry_notify_listeners): yes it is.
6686 * cspi/spi-listener-impl.c (cspi_key_event):
6688 (cspi_event_listener_finalize): impl.
6689 (cspi_event_listener_class_init): hook up.
6690 (event_handler_new, event_handler_free),
6691 (event_list_remove_by_callback): impl.
6692 (cspi_event_listener_remove_callback),
6693 (cspi_keystroke_listener_remove_callback),
6694 (cspi_keystroke_listener_add_callback),
6695 (cspi_event_listener_add_callback): upd.
6697 * libspi/keystrokelistener.c
6698 (keystroke_listener_object_finalize): kill
6699 (spi_keystroke_listener_class_init): upd.
6700 (spi_keystroke_listener_add_callback),
6701 (spi_keystroke_listener_remove_callback): kill,
6703 (impl_key_event): prune drasticaly.
6705 * libspi/eventlistener.c
6706 (spi_event_listener_add_callback),
6707 (spi_event_listener_remove_callback): kill, use
6709 (impl_accessible_event_notify_event): upd.
6710 (spi_event_listener_object_finalize): remove.
6712 * libspi/Makefile.am: use eventlistener.[ch]
6714 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6716 * libspi/registry.c (_registry_notify_listeners):
6717 Changed listener loop iteration to use preferred convention.
6718 Got rid of string memory leaks caused be calling g_strconcat
6719 inside function calls.
6721 * libspi/registry.c (parse_event_type):
6722 Stopped g_strconcat memory leaks, free the g_strsplit return,
6723 g_strdup the split pieces when used, etc.
6725 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6728 Change method 'compare' to return a 'difference set' rather than
6729 taking a StateSet as an out parameter (more Java-friendly).
6731 * idl/Accessible.idl:
6732 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6734 * idl/Component.idl:
6736 Changed methods 'getExtents' and 'getImageExtents' in these
6737 interfaces to return a BoundingBox structure.
6738 (getPosition and getSize are redundant and possibly should be
6739 removed, rather than creating a corresponding Point struct.)
6741 * cspi/spi_component.c:
6742 Modify implementation of getExtents to reflect the above IDL
6747 Add (missing) AccessibleImage_getExtents () API.
6749 * docs/reference/cspi/at-spi-cspi-sections.txt:
6750 Added AccessibleImage_getImageExtents () to docs.
6752 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6754 * idl/Component.idl:
6755 Added two methods, getLayer () and getMDIZOrder (), to reflect
6756 the new ATK methods atk_object_get_layer and
6757 atk_object_get_mdi_z_order. (Which arguably should be part of the
6758 AtkComponent API and AtkObject). Also added an enum,
6759 ComponentLayer, for the first method's return value.
6761 * libspi/component.c:
6762 Added implementations for these methods.
6764 * cspi/spi_component.c:
6766 Added cspi binding methods for above,
6767 AccessibleComponent_getLayer() and
6768 AccessibleComponent_getMDIZOrder().
6769 Added cspi enum 'AccessibleComponentLayer'.
6771 * docs/reference/cspi/at-spi-cspi-sections.txt:
6772 Added above methods to docs.
6776 Changed typedef for 'boolean' type (and all references to it) to
6777 SPIBoolean, to avoid keyword clashes with C++.
6780 Changed usages of 'boolean' to SPIBoolean.
6782 * test/keysynth-demo.c:
6783 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6784 app), except where SPIBoolean is required by the callbacks API.
6786 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6788 * cspi/spi_registry.c:
6789 Removed obsolete X event loop for passive keygrabs (which now
6792 * registryd/registryd.c:
6793 Removed unnecessary call to gdk_init() [cruft]. This also allows
6794 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6797 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6799 * docs/reference/cspi:
6800 Included docs for SPI_freeString in generated documentation.
6803 Renamed spi_freeString to SPI_freeString, for consistency. Added
6804 documentation for this function.
6807 Renamed spi_freeString to SPI_freeString, for consistency.
6808 Removed obsolete method declaration string_from_corba_string.
6810 * test/keysynth-demo.c:
6811 Small tweak to comments.
6814 Stopped leaking the strings returned from CSPI.
6816 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6818 Merged Michael's branch (see his ChangeLog entries below).
6820 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6821 bridge is alive, release on exit.
6823 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6824 Fix type check macro.
6827 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6830 Added is_gnome_app static, and method cspi_is_gnome_app(),
6831 so we can call the appropriate shutdown routine at exit in SPI_exit.
6833 * cspi/spi_main.c (cspi_object_ref):
6834 Duplicate the corba object passed in, since we're keeping it around.
6836 * cspi/SPI_exit.c, cspi_cleanup:
6837 Moved the releasing of the live refs to its own function, so we
6838 can put it in g_atexit (). Call the appropriate shutdown API
6839 depending on whethe calling client is a gnome app or not
6840 (bonobo_main_quit or CORBA_ORB_shutdown).
6842 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6843 Unref the listener when this method is called, after
6844 deregistration. Updated the API docs to note this behavior.
6846 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6847 Bugfixes: Ref the bonobo object when returning a parent or child
6848 reference, or an AccessibleRelation. Generally made sure
6849 BonoboObject refcount is incremented whenever we return an
6852 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6853 Fixed typo/bug in signal declaration.
6855 * libspi/accessibleeventlistener.h:
6858 * libspi/application.c (spi_application_new):
6859 Fixed leak in initialization.
6862 Remembered to increment bonobo-object refcount when returning
6863 children (applications) from desktop object.
6864 Added (empty) finalize method.
6866 * libspi/deviceeventcontroller.c:
6867 Hold a ref to listeners inside DEControllerKeyListeners.
6868 Added dec_key_listener_free() method. Use prepend instead of
6869 append in key_listener list. Fixed some refcount madness and
6870 leaks in the listener registration/deregistration - deregistration
6871 now calls dec_key_listener_free() on listeners, and on the
6872 temporarily constructed dec_key_listener() used to perform the search/match.
6874 * libspi/hypertext.c (spi_hypertest_finalize):
6875 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6876 class. Also fixed spi_hypertext_interface_new() and
6877 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6879 * libspi/hypertext.h:
6880 Removed pointless and duplicate AtkObject pointer from
6883 * libspi/keystrokelistener.c:
6884 Fixed incorrect type of keystroke_listener_parent_class,
6885 renamed keystroke_listener_object_finalize to
6886 spi_keystroke_listener_object_finalize.
6887 Fixed typo in signal declaration
6888 (spi_keystroke_listener_class_init).
6890 * libspi/registry.c:
6891 Added funcsions spi_listener_struct_new() and
6892 spi_listener_struct_free() to help with memory management issues.
6893 We also now use these methods instead of gnew + poking stuff into
6894 the struct, and to decrement listener counts/free the listeners
6895 when deregistering them.
6896 Fix more refcount bugs in getDesktop() and
6897 getDeviceEventController().
6900 De-ref the desktop after enumerating the applications. Explicitly
6901 decrement the refcounts on the created listeners on exit (using
6902 _unref for keystroke listeners, and via the
6903 deregisterGlobalEventListenerAll command for other event
6906 2001-11-27 Michael Meeks <michael@ximian.com>
6908 * cspi/spi-listener.h: fixup enum.
6910 2001-11-27 Michael Meeks <michael@ximian.com>
6912 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6913 (cspi_keystroke_listener_new): Use the cspi variants.
6915 2001-11-26 Michael Meeks <michael@ximian.com>
6917 * test/keysynth-demo.c: fix 2 compile warnings, missing
6920 * test/simple-at.c (report_focussed_accessible),
6921 (report_focus_event, report_button_press),
6922 (check_property_change, is_command_key),
6923 (report_ordinary_key_event, report_command_key_event): upd.
6925 * util/mag_client.h: include pre-requisites.
6927 * libspi/accessibleeventlistener.c
6928 (spi_event_listener_object_finalize): free any lingering
6931 * libspi/keystrokelistener.c
6932 (keystroke_listener_object_finalize): ditto.
6934 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6935 callbacks, with cspi types.
6937 * cspi/spi_event.c (createAccessibleEventListener): chain to
6938 (AccessibleEventListener_addCallback): here.
6939 (createAccessibleKeystrokeListener): chain to
6940 (AccessibleKeystrokeListener_addCallback): here.
6942 * libspi/keystrokelistener.c
6943 (spi_keystroke_listener_class_init): add signal.
6944 (impl_key_event): emit the event.
6945 (boolean_handled_accumulator): impl.
6946 (marshal_BOOLEAN__POINTER): add, gack.
6948 * libspi/accessibleeventlistener.c
6949 (spi_event_listener_class_init): add signal.
6950 (impl_accessible_event_notify_event): emit the signal &
6951 make the loop efficient.
6952 (spi_event_listener_add_callback): prepend the callback.
6954 * libspi/accessibleeventlistener.h: add an 'event' signal,
6955 decl type on callback.
6957 * libspi/keystrokelistener.h: ditto.
6959 * cspi/spi-listener.h: make methods typesafe and
6960 make them use the new event typedefs.
6962 * test/simple-at.c (report_focussed_accessible):
6963 include mag_client.h
6964 Use *(void *)text_interface not the other thing.
6966 * configure.in: add gtk to registryd bits - since we use
6969 * util/magnifier.c: include libbonobo.h
6971 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6973 * test/keysynth-demo.c:
6974 Turned this into a simple scanning keyboard, to demonstrate the
6975 use of g_timeout_add () as a means of creating timers for
6976 scanning, and the use of GtkStyle for visually indicating when
6977 virtual keyboard elements are selected.
6979 keysynth-demo now listens to any keyboard keys with zero-valued
6980 keycodes (i.e. 'unused' keys) and interprets them as
6983 Reworked the shiftlatch code so that shift-down state isn't held
6984 for long periods (it's only synthesized immediately prior to
6985 the keysynth event it's modifying). Note that shiftlatch in this
6986 demo is a convenience, not intended to take the place of AccessX
6987 which is the better choice for getting 'sticky' modifier keys.
6989 * libspi/deviceeventcontroller.c:
6990 * at-bridge/bridge.c:
6991 * cspi/spi_registry.c:
6992 Removed some debug print stuff, and put other verbosity in #ifdef
6997 Implemented some more of the magnifier IDL for the simple
6998 magnifier: namely, getZoomRegionParams.
6999 Added mag_x and mag_y members to MagnifierData struct, aid of this
7001 Added GtkWindow::realize signal handler to magnifier, to keep it
7002 from receiving keyboard focus from the WM.
7004 2001-11-23 Mark McLoughlin <mark@skynet.ie>
7006 * cspi/spi-private.h: my guess at what michael forgot
7007 before he ran off to NZ :-)
7009 2001-11-23 Michael Meeks <michael@ximian.com>
7011 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
7012 comment out non existant method invoke so we link.
7014 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
7015 use bonobo_exception_get_text for more friendly warnings.
7017 * cspi/spi.c (Obj_Add): move into spi_main & rename
7018 spi_object_add; kill spi.c
7020 * cspi/spi_registry.c
7021 (deregisterGlobalEventListener),
7022 (deregisterGlobalEventListenerAll),
7023 (registerGlobalEventListener): fix exception leaks.
7025 * cspi/spi_main.c (spi_exception): impl. helper, so we
7026 don't leak exceptions.
7028 * cspi/spi_selection.c
7029 (AccessibleSelection_deselectSelectedChild): return the
7032 * cspi/spi_main.c (spi_ev): impl; hack - gack.
7033 (spi_registry): ditto.
7034 (SPI_init): guard against double inits.
7036 * cspi/*.c: use spi_ev (), and spi_registry () where
7037 appropriate - a temporary hack until we have something
7038 better. Use spi_object_add
7040 2001-11-22 Michael Meeks <michael@ximian.com>
7042 * cspi/Makefile.am: re organise, install the headers.
7044 * cspi/*.h: add G_BEGIN/END_DECLS
7046 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7049 Added non-preemptive keylistener for key events with no modifiers
7050 and shift-only modifier.
7052 * libspi/keystrokelistener.c:
7053 Removed some verbose diagnostics printout.
7055 * cspi/spi_registry.c:
7056 Fixed a bug that caused all key listeners to be registered as
7059 * libspi/deviceeventcontroller.c:
7060 Fixed bug that caused XGrabKey (preemptive key grab) to be called
7061 for non-preemptive key masks.
7064 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7066 * docs/reference/idl/at-spi-idl-docs.sgml:
7067 * docs/reference/idl/at-spi-idl-sections.txt:
7068 * docs/reference/idl/at-spi-idl-overrides.txt:
7069 Added missing files.
7071 * docs/reference/Makefile.am:
7072 removed idl from SUBDIRS until we can figure a way to get gtk-doc
7073 to scan the IDL files :-(
7078 Added .cvsignore files.
7080 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7082 * libspi/deviceeventcontroller.c:
7083 * libspi/keystrokelistener.c:
7085 * cspi/spi_registry.c:
7086 Added filters for KeySets, KeyEventSeq, and event types to key
7087 event dispatching, so listeners should only receive those events
7088 that they requested :-)
7090 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7095 * docs/reference:Makefile.am:
7096 * docs/reference/cspi:
7097 * docs/reference/cspi:Makefile.am:
7098 * docs/reference/cspi:tmpl:
7099 * docs/reference/cspi:tmpl:*.sgml:
7100 * docs/reference/idl:
7101 * docs/reference/idl:Makefile.am:
7102 * docs/reference/idl:at-spi-idl-sections.txt:
7103 * docs/reference/idl:at-spi-idl-docs.sgml:
7104 * docs/reference/idl:tmpl:
7105 * docs/reference/idl:tmpl:*.sgml:
7107 Restructured docs directory to allow separate 'reference' docs
7108 section, and forked idl and cspi docs. Added the sgml template
7109 files to CVS. Added the first sections/structural sgml for the
7112 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
7114 * configure.in, libspi/Makefile.am: find libXtst.
7116 2001-11-21 Michael Meeks <michael@ximian.com>
7118 * test/accessx-gui.c: s/spi_value/value/ - doh.
7120 * libspi/base.[ch]: add.
7122 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7124 * idl/Accessible.idl:
7125 * idl/Application.idl:
7128 Started gtk-doc cleanup on IDL.
7130 * libspi/deviceeventcontroller.c:
7131 Added and connected non-preemptive key notification from the
7132 toolkits (in addition to the pre-emptive support from XServer
7133 which we had before, but which causes 'focus flashing'). Filters
7134 are presently limited to key modifiers and global/non-global,
7135 KeySets are presently ignored, as are KeyEvent masks.
7137 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7138 structs into the persistant structure rather than just storing
7139 pointers to things that might not persist across servant
7142 The XGrabKey call now does async keygrabs, because synchronous
7143 ones were deadlocking with GDK_event code in a very nasty way.
7145 Added boolean to internal method notify_keylisteners, to indicate
7146 whether the event came from the 'toolkit source' or the 'global
7147 (XServer) source' - this is used in the notification process to
7148 determine which listeners to send the event to.
7150 deviceeventcontroller.c is now warning-free.
7152 * libspi/registry.c:
7153 Fixed regression in application de-registration.
7154 Also fixed some really brain-dead weirdness having to do with
7155 event dispatching - event structs are now duplicated before being
7156 re-marshalled in the dispatch to listeners. This also fixes a
7157 Solaris build problem.
7160 2001-11-20 Michael Meeks <michael@ximian.com>
7163 (impl_accessibility_registry_deregister_global_event_listener):
7166 * libspi/deviceeventcontroller.c
7167 (spi_device_event_controller_check_key_event): return
7168 FALSE on no virtual method.
7170 * libspi/*..h: make includes work on a correctly pathed install.
7172 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7174 * libspi/application.h: kill unused ( and whacked out )
7175 gboolean *spi_application_set_id (AtkObject *app, long id);
7177 2001-11-20 Michael Meeks <michael@ximian.com>
7179 * libspi/*.[ch]: further convert to bonobo's type func
7180 macros, remove redundnant casts etc.
7182 * libspi/text.c s/accessibility_text/spi_text/g,
7183 re-order to de-cruft.
7185 * libspi/hypertext.c: re-order to kill a huge slew
7186 of redundant forward decls.
7188 * libspi/relation.c: ditto.
7190 * libspi/image.c: ditto.
7192 * */.cvsignore: update
7194 2001-11-20 Michael Meeks <michael@ximian.com>
7196 * libspi/deviceeventcontroller.c
7197 (_controller_register_with_devices): use g_getenv,
7198 kill stdlib.h include.
7200 * libspi/keystrokelistener.c
7201 (spi_keystroke_listener_get_type): kill
7202 (spi_keystroke_listener_class_init),
7203 (spi_keystroke_listener_init): rename to this.
7205 * libspi/text.c (impl_getAttributes): fix warning / bug.
7207 * libspi/*.[ch]: more headers, includes and over commenting.
7209 2001-11-20 Michael Meeks <michael@ximian.com>
7211 * libspi/*.[ch]: fixup headers, includes and over commenting.
7213 * libspi/image.c (impl__get_imageDescription): const
7214 correctness warning fix. remove redundant casting.
7216 * libspi/table.c (impl_getRowDescription): ditto.
7217 (impl_getColumnDescription): ditto.
7219 * libspi/libspi.h: add.
7221 2001-11-19 Michael Meeks <michael@ximian.com>
7223 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7225 * libspi/component.c (accessibility_component_get_type):
7226 rename to (spi_component_get_type): and macroify.
7227 (accessibility_component_init): rename to
7228 (spi_component_init): this
7229 (accessibility_component_class_init): rename to
7230 (spi_component_class_init): this
7232 * libspi/action.c (spi_action_get_type): kill, use the macro.
7234 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7237 * libspi/application.c (spi_application_object_event_listener),
7238 (impl_accessibility_application_register_object_event_listener):
7239 warning fixes / const understanding updates.
7241 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7244 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7246 * libspi/spi_accessible.c: Added docs and C bindings for
7247 AccessibleStateSet. (No implementations yet). Documentation
7248 coverage for C bindings now 100%. Made docs for event listeners
7253 boolean notifyListenersSync (in DeviceEventListener listener,
7254 in DeviceEvent event);
7256 oneway void notifyListenersAsync (in DeviceEventListener listener,
7257 in DeviceEvent event);
7259 Added DeviceEventListener and DeviceEvent structs (may deprecate
7260 KeyStroke and KeystrokeListener in favor of this generic
7261 event/listener framework for devices).
7263 * libspi/deviceeventcontroller.c:
7265 Changed some key listener code to take masks, etc., and paved the
7266 way for integration of toolkit/non-preemptive key events. Changed
7267 signatures of some internal methods.
7269 * at-bridge/bridge.c:
7270 Fixed regression connecting to interface signals, apparently
7271 caused by GTK+ changes.
7273 Added an internal bridge_state_listener to deal with
7274 property-change:accessible-state signals.
7276 Changed the key_listeners GList to store structs (including masks,
7277 etc.) instead of just CORBA_Objects (required for full
7278 implementation of key listener API).
7280 Connected the bridge to all currently supported Atk signals.
7281 Events now supported:
7282 object:property-change
7283 object:property-change:accessible-name
7284 object:property-change:accessible-state
7285 object:property-change:accessible-description
7286 object:property-change:accessible-parent
7287 object:property-change:accessible-value
7288 object:property-change:accessible-role
7289 object:property-change:accessible-table-caption
7290 object:property-change:accessible-table-column-description
7291 object:property-change:accessible-table-column-header
7292 object:property-change:accessible-table-row-description
7293 object:property-change:accessible-table-row-header
7294 object:property-change:accessible-table-summary
7295 object:children-changed
7296 object:visible-data-changed
7297 object:selection-changed
7298 object:text-selection-changed
7300 object:text-caret-moved
7302 object:row-reordered
7304 object:column-inserted
7305 object:column-reordered
7306 object:column-deleted
7307 object:model-changed
7309 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7311 * libspi/hyperlink.c,h:
7312 Fixed some broken stuff in hyperlink.
7314 * libspi/relation.h:
7315 * libspi/relation.c:
7316 * cspi/spi_accessible.c:
7317 Initial implementations of AccessibleRelation methods, and docs.
7319 * libspi/accessible.c:
7320 Fixed a bug that caused SEGV if an accessible
7321 object's description is NULL, and a client
7322 requests it. An empty string is now returned.
7324 * cspi/spi_editabletext.c:
7325 * cspi/spi_hypertext.c:
7327 * cspi/spi_hyperlink.c:
7331 Doc coverage now 95%.
7333 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7335 One last namespacing revision:
7336 * libspi/accessibleeventlistener.[ch]:
7337 Renamed SpiAccessibleEventListener to SpiEventListener,
7338 (no need for two namespaces ;-)
7340 And lots of documentation fixes:
7342 * docs/at-spi-docs.sgml:
7343 Fixed 'underscore vs. hyphen' bug that was preventing
7344 the gtk-doc API docs from being automatically generated.
7347 * cspi/spi-listener.h
7349 * cspi/spi_accessible.c
7351 * cspi/spi_application.c
7352 * cspi/spi_component.c
7353 * cspi/spi_editabletext.c
7355 * cspi/spi_hypertext.c
7357 * cspi/spi_registry.c
7358 * cspi/spi_selection.c
7362 * docs/at-spi-docs.sgml
7363 * docs/at-spi-sections.txt
7365 Added and fixed up gtk-doc documentation in cspi.
7367 Interfaces now (fully) documented (subject to revision and enhancement):
7369 Event Listener Support
7371 AccessibleApplication
7375 AccessibleEditableText
7382 AccessibleRelationSet
7387 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7389 * at-bridge/bridge.c:
7390 Initial work for toolkit-level key snooper connection by bridge.
7395 New typedefs and fixes to support new namespacing, and cleaner
7396 separation of cspi bindings from libspi bonobo implementation.
7397 Removed inconsistent and extraneous Spi* namespace prefix that
7398 had crept into cspi headers.
7399 Lots of comment fixes that sed had missed.
7401 * cspi/spi-roletypes.h:
7402 * cspi/spi-statetypes.h:
7403 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7404 to AccessibleRoleType.
7406 * libspi/accessibleeventlistener.h:
7407 Fixed minor namespacing weirdness.
7409 * libspi/deviceeventcontroller.c:
7410 Reordered some internal API for device listeners.
7411 Changed the key registry final boolean to 'is_system_global'
7412 rather than 'is_synchronous', which is more descriptive of its
7414 Added spi_device_event_controller_new().
7415 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7417 * libspi/keystrokelistener.[ch]:
7418 Namespaced KeystrokeListener to SpiKeystrokeListener.
7419 Changed uses of keymasks to use SPI_ prefix, and did other
7422 * libspi/keymasks.h:
7423 Namespaced keymask constants with SPI_ prefix.
7425 * libspi/registry.c:
7426 Some warning fixes, and knock-on fixes from namespace changes.
7429 Added rules for accessx-gui test program.
7431 * test/accessx-gui.c:
7432 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7433 utility. It doesn't actually use at-spi, but it's still cool and
7436 * test/keysynth-demo.c:
7440 Fixes so that these test clients work properly with the namespaced
7441 libraries. (Incompletely tested for technical reasons, fixes may follow)
7444 2001-11-13 Michael Meeks <michael@ximian.com>
7446 * libspi/application.c
7447 (impl_accessibility_application_get_version),
7448 (impl_accessibility_application_get_toolkit_name):
7450 (impl_accessibility_application_set_id),
7451 (impl_accessibility_application_get_id): remove
7452 redundant casting code.
7454 * libspi/action.c (impl_getDescription): fix warnings.
7456 * libspi/accessible.c
7457 (impl_accessibility_accessible_get_parent),
7458 (impl_accessibility_accessible_get_child_at_index),
7459 (impl_accessibility_accessible_get_state),
7460 (impl_accessibility_accessible_get_relation_set):
7461 warning fixes & include action.h
7463 2001-11-13 Michael Meeks <michael@ximian.com>
7465 * *.[ch] fix bits I screwed up:
7467 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7468 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7470 2001-11-13 Michael Meeks <michael@ximian.com>
7472 * *.[ch] Namespace libspi into spi_ and Spi.
7474 2001-13-11 Michael Meeks <michael@ximian.com>
7476 * Makefile.am: dist & install at-spi-1.0.pc
7478 * libspi/Makefile.am: install into at-spi-1.0
7480 * idl/Makefile.am (idldir): install into at-spi-1.0
7482 * at-spi-1.0.pc.in: add.
7484 * configure.in: build it.
7486 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7488 * test/keysynth-demo.c:
7489 Use a 'realize' signal-handler to set the WM properties for
7490 the virtual keyboard, rather than making it a "POPUP" type
7491 override-redirect window (thanks to anders carlsson for that
7494 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7497 * test/keysynth-demo.c:
7498 Added new test of key synthesis, which creates a simple
7499 (mouse-operated) onscreen keyboard. It inserts key events into
7500 the currently-focused window, thus it does not grab keyboard focus
7503 * cspi/spi_registry.c:
7504 Added C binding for AT-SPI generateKeyEvent.
7506 * libspi/deviceeventcontroller.c:
7507 Added call to XFilterEvent so that key listener works with XIM (we
7508 hope). Added event_synth_type to generateKeyEvent, so that we can
7509 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7510 synthesize a press/release pair for KeySyms.
7512 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7514 * libspi/Makefile.am:
7515 * registryd/Makefile.am:
7516 (temporary) hack to include libXtst in libspi and registryd.
7517 (Needed for keystroke synthesis, see below).
7520 Improved API for registerKeystrokeListener, in accordance with
7521 discussions with Gnopernicus team and X server research.
7523 * libspi/registry.c:
7524 * libspi/deviceeventcontroller.c:
7525 * libspi/accessible.c:
7526 * libspi/keystrokelistener.c:
7527 Changes and fixes to support keylisteners for potentially
7528 consumed key events (that is, 'passive grabs').
7529 Added implementation for generateKeyEvent() [untested].
7532 Changes to registerKeystrokeListener() API, as above.
7533 Added deregisterGlobalEventListenerAll(), and
7534 deregisterKeystrokeListener(), which are needed for clean exit of
7536 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7537 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7539 * cspi/spi_registry.c:
7540 Added implementations of function prototypes mentioned above.
7542 * registryd/registryd.c:
7543 Added the key listener event source as a g_timeout(), to allow
7544 receipt of key events that are not caught by GDK (since GDK
7545 doesn't support passive keygrabs, this was necessary).
7548 Changed to attach a keylistener to 'Alt' keys, and
7549 respond to the following keycommands: Alt-M (toggle magnifier);
7550 Alt-F (toggle speech); Alt-Q (quit).
7551 Added an exit routine to deregister the listeners, and a key
7552 listener that prints some key info to the console when a key
7553 matches the listener mask (and is thus received by the listener).
7555 * util/idl/Magnifier.idl:
7556 Changes to magnifier API to support multiple zoom regions,
7557 non-uniform scaling in x and y, markDirty, and a host of other
7558 features that would be useful to magnification.
7561 * util/mag_client.c:
7562 * util/mag_client.h:
7563 * util/mag_control.c:
7565 Source code changes to support the above IDL changes.
7568 As above, and also changes to use a (slower) generic conversion
7569 path for colormap conversions, since the fast RGB conversions have been
7570 reported to fail for 16-bit displays.
7572 2001-10-26 Michael Meeks <michael@ximian.com>
7574 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7576 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7578 * at-bridge/Makefile.am: fix LDFLAGS.
7580 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7582 * at-bridge/bridge.c:
7583 Re-worked listeners for toolkit events, now we have signal
7584 and property listeners. Added a private method
7585 register_atk_event_listeners(), which registers with the
7586 various atk and gtk signals we need to monitor in order to emit
7588 Added emission hook for AtkObject:property-change events, to
7589 support the 'property listeners'.
7590 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7593 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7594 which emit warnings and exit, respectively, if CORBA errors occur
7595 during remote calls, and we now use these methods to check most of
7596 our CORBA calls in the C bindings.
7598 * cspi/spi_accessible.c:
7599 Changed AccessibleSelection_refSelectedChild() to
7600 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7601 now increment refcounts.
7603 * cspi/spi_component.c:
7604 Fixed some long pointer casts (dangerous!) to pass pointers to
7605 CORBA_longs of the proper type to the CORBA stubs, and copy the
7606 data into the longs that were passed into the C bindings code.
7608 * at-bridge/bridge.c:
7610 * libspi/accessible.c:
7611 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7612 hyperlinks, AtkHyperlink is an object type.
7614 * libspi/application.c:
7615 Added various conversions to and from "generic" event types and
7616 atk-specific types; this is really part of the 'bridge'
7617 implementation but is valid for all AtkObject-based accessibility
7620 * libspi/editabletext.c:
7621 Fixed nasty bug wherein editable text's finalize method was
7622 unref'ing tha AtkObject reference that the text parent class was
7623 about to unref _again_. There was also a nasty inheritance bug
7624 that meant that the AccessibleEditableText class was corrupt.
7626 * libspi/selection.c:
7627 Provided implementations for some selection API that was broken.
7629 * idl/Application.idl:
7630 Added registerObjectEventListener () method.
7633 Fixed a number of return values that were Bonobo_Unknowns from
7634 bonobo_object_corba_objref(), which I
7635 forgot to dup before returning. Changed instances of
7636 bonobo_object_corba_objref (bonobo_object(o)) to
7637 BONOBO_OBJREF(o), for concision and clarity.
7639 2001-10-13 Louise Miller <louise.miller@sun.com>
7641 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7642 idl/Event.idl, idl/Registry.idl
7643 Changed these files to include Bonobo_Unknown.idl instead
7646 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7648 * libspi/component.c libspi/component.h:
7649 Fixed typo. Added assertions for object checks in
7650 AccessibleComponent code.
7652 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7654 * idl/Accessible.idl:
7655 Added 'isEqual (Accessible *object)'
7656 method for Accessible. (Not Yet Implemented).
7659 Changed signature of registerKeystrokeListener() to
7660 take a KeySet and KeyEventSeq so that specific keys and event
7661 types could be requested for monitoring, and added a flag
7662 is_synchronous so that either synchronous or asynchronous
7663 notification could be requested. (However this is not all
7664 implemented yet). This also meant adding two new typedefs,
7665 KeyEventSeq and KeySet.
7668 Added two new relations, RELATION_TOOLTIP_FOR and
7669 RELATION_LEAFNODE_OF.
7672 Added new state, STATE_HAS_TOOLTIP.
7674 * libspi/text.c, editabletext.c:
7675 Added new assertions to all casts of bonobo-objects from
7676 CORBA servants, to prevent Text API calls on non-text objects.
7677 Changed suspect casts of int-pointer types, so that we
7678 always send a valid CORBA_long pointer to the CORBA APIs that use
7679 in/out long parameters. We then have to copy from the CORBA_long
7680 into the regular long or int for return to the C bindings, or
7681 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7684 * libspi/deviceeventcontroller.c:
7685 Cleaned these sources up.
7687 Changed return type for getCharacterAtOffset to
7688 CORBA_unsigned_long, to allow for 32-bit characters.
7691 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7695 Fixed 'make dist' so that distro compiles...
7696 * libspi/keymasks.h:
7698 * cspi/spi-listener.c:
7699 KeystrokeListenerCB now returns a boolean.
7701 Added KeyEventType struct, and KeyStroke.
7702 Also added createKeystrokeListener(),
7703 KeystrokeListener_addCallback(),
7704 KeystrokeListener_removeCallback(), and added a keymask to
7705 registerKeystrokeListener().
7706 * cspi/spi_accessible.c:
7707 Changed numerous return types for interfaces from
7708 AccessibleComponent to Accessible<InterfaceName>; this was
7709 probably a cut-and-paste error.
7711 Implementations of new KeystrokeListener api (from spi.h,
7714 Changes to key modifier mapping.
7715 Created ControllerEventMask struct.
7716 Made DeviceEventController derive from Bonobo::Unknown.
7718 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7719 * libspi/deviceeventcontroller.c:
7720 Added a number of new internal (private) methods.
7721 * libspi/editabletext.c:
7722 * libspi/editabletext.h:
7723 Fixed a number of bugs related to the fact that
7724 editabletext inherits from text. Fixed the EditableText struct,
7725 the init() call, and use correct casts when calling Text methods
7726 from an EditableText object. Removed (duplicate) atko from the
7727 EditableText structure, we use the one in the parent Text
7728 structure via the casts mentioned above.
7729 * libspi/keystrokelistener.[ch]:
7730 * libspi/registry.c:
7731 Changes in support of keyboard handling (above).
7733 Keyboard handling, though partly functional, is still not
7734 recommended for at-spi client use as there is considerable
7735 work yet to be done.
7738 Changed some places where pointers to various int types
7739 are cast to be pointers to CORBA_long types and vice-versa:
7740 pointer casting is not safe so we pass pointers of the correct
7741 types and then cast the result before putting it into the target
7744 * libspi/text.h: minor typos corrected.
7746 We now speak not only the name of a Text element, but the
7747 first sentence of its content, when it receives focus.
7748 I also changed the text compression to 75% from 50%.
7749 * util/Accessibility_Util.server.in:
7750 Changed the default magnifier type to be a 3x vertical
7751 splitscreen magnifier (was previously a 2x horizontal one).
7753 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7755 * libspi/keystrokelistener.h:
7756 * libspi/keystrokelistener.c:
7757 Initial functional implementations of KeystrokeListener.
7760 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7762 Fixed string handling for NULL strings in libspi.
7763 Added spi_freeString to free strings returned by C bindings.
7765 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7767 * libspi/keystrokelistener.h:
7768 * libspi/keystrokelistener.c:
7769 Began (no-op) implementations of KeystrokeListener
7771 * libspi/deviceeventcontroller.c:
7772 * libspi/deviceeventcontroller.h:
7773 Began creating implementations of DeviceEventController,
7774 to handle keystroke and mouse event listening and
7776 * libspi/accessible.c:
7777 Stubbed-in the implementations for
7778 Accessibility_Accessible_getState and
7779 Accessibility_Accessible_getRelationSet.
7780 * libspi/registry.c:
7781 Improved de-registration process and fixed some bugs,
7782 deregistration now works correctly.
7784 Added initialization of applications list (to NULL).
7786 Reduced speech compression from 0.5 to 0.7, for demo.
7787 Changed call to gdk_window_set_decorations()
7788 to gtk_window_set_decorated().
7789 * at-bridge/bridge.c:
7790 Bridge now deregisters when app exits, via
7791 registration of a cleanup function
7792 with the g_atexit() call.
7793 Required making 'app' static, renamed 'this_app'.
7794 Fixed broken use of bonobo_init, passing argv wrongly.
7796 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7800 Created a new directory for
7801 accessibility-related utilities, primarily for
7802 testing and demo purposes, but with possible
7809 Onscreen magnifier utility that
7810 is implemented as a bonobo service.
7812 * util/mag_client.c:
7813 * util/mag_client.h:
7814 Client-side support (simple C bindings)
7815 for Magnification service
7817 * util/mag_control.c:
7818 Client program example for
7819 Magnification service
7821 * util/Accessibility_Magnifier.server.in:
7822 Bonobo-activation file for the
7823 Magnification service.
7826 * util/idl/Magnifier.idl:
7827 IDL defining the bonobo Magnification
7831 Modifications to use the bonobo-activated magnifier
7832 above, in place of trying to connect to an existing
7833 magnifier that uses socket-listening IPC.
7835 If env variable MAGNIFIER is set, a magnifier service
7836 will be started if one does not exist.
7838 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7840 * at-bridge/bridge.c:
7841 applied patch from Marc to build and run
7842 against new glib and gtk+ (seemed like a change
7843 to bonobo_init signature was made ?)
7845 made festival-server support turned off by default.
7846 Added support for a simple magnifier (off by default)
7847 which will be added to a 'util' directory later.
7848 * at-bridge/Makefile.am:
7849 Changed "application.h" header from a 'source'
7850 to a 'dependency' of libat-bridge.
7852 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7861 Added interface implementation c files to list of
7862 includes so they are included in libcspi.
7865 Changed prototype of AccessibleAction_doAction to return a
7867 Changed prototype of AccessibleTable_getCaption to
7868 return an Accessible.
7869 Changed prototype of AccessibleTable_getSelectedRows
7870 and AccessibleTable_getSelectedColumns to
7871 return a long (returns the number of selected rows
7872 or columns respectively).
7873 Changed name of AccessibleText_refRunAttributes to
7874 AccessibleText_getAttributes.
7875 Changed prototype of AccessibleText_getCharacterExtents to
7876 return a void rather than a boolean.
7877 Added support for a AccessibleCoordType parameter
7878 specifying what type of coordinates are desired.
7879 Added an AccessibleCordType parameter to
7880 AccessibleText_getPointAtOffset.
7882 * cspi/spi_accessible.c:
7883 Added code to return the outstanding interfaces from
7884 Accessible_queryInterface.
7886 * cspi/spi_action.c:
7888 Corrected call to getNActions to call the c binding
7891 * cspi/spi_editabletext.c:
7893 Changed name from setRunAttributes to setAttributes.
7895 * cspi/spi_hyperlink.c:
7897 Changed call to getNAnchors to correctly call the c
7898 binding for an attribute.
7900 * cspi/spi_hypertext.c:
7902 Changed getImageDescription to correctly call the
7903 binding for an attribute.
7905 * cspi/spi_selection.c:
7906 Changed getNSelectedChildren to correctly call the c
7907 binding for the attribute.
7908 Changed refSelectedChild to getSelectedChild.
7912 Changed getCaption to return an Accessible.
7913 Fixed calls which retrieve attributes.
7914 Changed refAt to getAccessibleAt.
7915 Changed getNSelectedRows and getNSelectedColumns to
7919 Changed getCharacterExtents and getPointAtOffset to accept an
7920 AccessibleCoordType.
7922 Changed calls which retrieve attributes.
7923 Changed refRunAttributes to getAttributes.
7928 * idl/Hyperlink.idl:
7929 Changed n_anchors attribute to nAnchors to keep naming
7930 convention consistent.
7933 Made Table inherit from Bonobo::Unknown.
7934 Added nSelectedColumns and nSelectedRows attributes.
7937 Made Value inherit from Bonobo::Unknown.
7939 * libspi/hyperlink.c:
7940 Change for nAnchors attributte name change.
7942 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7950 Added interface implementation c files to list of
7951 includes so they are included in libcspi.
7954 Changed prototype of AccessibleAction_doAction to return a
7956 Changed prototype of AccessibleTable_getCaption to
7957 return an Accessible.
7958 Changed prototype of AccessibleTable_getSelectedRows
7959 and AccessibleTable_getSelectedColumns to
7960 return a long (returns the number of selected rows
7961 or columns respectively).
7962 Changed name of AccessibleText_refRunAttributes to
7963 AccessibleText_getAttributes.
7964 Changed prototype of AccessibleText_getCharacterExtents to
7965 return a void rather than a boolean.
7966 Added support for a AccessibleCoordType parameter
7967 specifying what type of coordinates are desired.
7968 Added an AccessibleCordType parameter to
7969 AccessibleText_getPointAtOffset.
7971 * cspi/spi_accessible.c:
7972 Added code to return the outstanding interfaces from
7973 Accessible_queryInterface.
7975 * cspi/spi_action.c:
7977 Corrected call to getNActions to call the c binding
7980 * cspi/spi_editabletext.c:
7982 Changed name from setRunAttributes to setAttributes.
7984 * cspi/spi_hyperlink.c:
7986 Changed call to getNAnchors to correctly call the c
7987 binding for an attribute.
7989 * cspi/spi_hypertext.c:
7991 Changed getImageDescription to correctly call the
7992 binding for an attribute.
7994 * cspi/spi_selection.c:
7995 Changed getNSelectedChildren to correctly call the c
7996 binding for the attribute.
7997 Changed refSelectedChild to getSelectedChild.
8001 Changed getCaption to return an Accessible.
8002 Fixed calls which retrieve attributes.
8003 Changed refAt to getAccessibleAt.
8004 Changed getNSelectedRows and getNSelectedColumns to
8008 Changed getCharacterExtents and getPointAtOffset to accept an
8009 AccessibleCoordType.
8011 Changed calls which retrieve attributes.
8012 Changed refRunAttributes to getAttributes.
8017 * idl/Hyperlink.idl:
8018 Changed n_anchors attribute to nAnchors to keep naming
8019 convention consistent.
8022 Made Table inherit from Bonobo::Unknown.
8023 Added nSelectedColumns and nSelectedRows attributes.
8026 Made Value inherit from Bonobo::Unknown.
8028 * libspi/hyperlink.c:
8029 Change for nAnchors attributte name change.
8032 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
8034 implementations-- made server implementations own AtkObject pointers
8035 rather than their respective AtkInterrface pointers to fix
8036 refcounting. AtkHyperlink is still broken.
8038 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8039 * cspi/spi_accessible.c:
8040 Added method Accessible_Role_getName(),
8041 and requisite string array (role_names).
8042 Added conversion string_from_corba_strin() call
8043 to Accessible_getName and _getDescription.
8044 * libspi/accessible.c:
8045 Added implementation for Accessible_getRole()
8047 Added festival support, used if environment variable
8050 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8052 * at-bridge/bridge.c:
8053 Now allocate Accessibility_Event using
8054 Accessibility_Event__alloc() instead of g_new0().
8055 * libspi/accessibleeventlistener.c:
8056 Initialize AccessibleEventListener->callbacks to NULL.
8057 Fixed accessible__event_listener_init() param, changed to
8058 "AccessibleEventListener *" type.
8059 Changed a bonobo_object_release_unref() call to
8060 Accessibility_Accessible_unref().
8061 * libspi/listener.c:
8062 Changed Bonobo_Unknown_unref to (equivalent)
8063 Accessibility_Accessible_unref.
8064 * libspi/registry.c:
8065 Changed bonobo_object_release_unref to
8066 Accessibility_Accessible_unref.
8068 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8071 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
8072 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
8073 spi-util.c spi-util.h
8074 Implementations for C bindings to remaining accessibility
8077 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8080 changed return value of Action from void to boolean to
8081 bring in line with ATK.
8084 Changed getText funcions to return "out" start and end offsets.
8085 Changed getAttributes to take and offset and return the start
8086 and end offset of the attribute run.
8087 Changed getOffsetAtPoint and getCharacterExtents to take an
8088 enum describing whether coordinates are window or screen.
8091 libspi/action.c libspi/action.h libspi/editabletext.c
8092 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
8093 libspi/hypertext.c libspi/hypertext.h libspi/image.c
8094 libspi/image.h libspi/selection.c libspi/selection.h
8095 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
8096 libspi/value.c libspi/value.h
8097 Added server implementations for outstanding ATK interfaces
8098 not yet implemented.
8100 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8103 Added (missing) getName() method.
8104 Made nActions an attribute.
8105 * idl/EditableText.idl:
8106 Changed order of params in setAttributes.
8107 * idl/Hyperlink.idl:
8108 Removed getAnchor, added getURI.
8110 Changed attributes to methods, for efficiency
8111 (so that getting extents can be done in one call)
8112 * idl/Selection.idl:
8113 Changed nSelectedChildren to attribute, and re-indented.
8114 * idl/Table.idl: changed nrows, ncolumns, caption, summary
8116 * idl/Text.idl: reformatted to match our coding style.
8117 (temporarily?) removed getRowColumnAtOffset().
8118 Changed text selection API to support multi-select and
8119 non-contiguous selections, as in ATK.
8120 * idl/Value.idl: changed some methods to attributes.
8122 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8124 * libspi/listener.c(impl_notify_event):
8125 BonoboUnkown_unref the source instead
8126 of bonobo_object_release_unref - the ORB
8127 handles the releasing.
8129 * configure.in: require ORBit-2.3.94 for
8132 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8134 Tagged CVS repository 'EA_1_0'.
8135 * README.EARLY_ACCESS:
8136 Alphabetized acknowledgements list, and
8138 Listed some known dependencies of at-spi.
8140 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8142 * docs/at-spi-docs.sgml:
8143 * docs/at-spi-sections.txt:
8144 * docs/at-spi-overrides.txt: (Added zero-length file)
8145 Documentation improvements - gtk-doc should build
8146 docs for all implemented C bindings now.
8149 * cspi/spi.c: (New file)
8150 * cspi/spi_event.c: (New file)
8151 * cspi/spi_registry.c: (New file)
8152 * cspi/spi_accessible.c: (New file)
8153 * cspi/spi_application.c: (New file)
8154 * cspi/spi_component.c: (New file)
8155 Split spi_main.c into six parts, and included them from
8156 "spi.c". This is a bit of a hack, probably temporary,
8157 but required by gtk-doc, apparently.
8159 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8162 * docs/at-spi-docs.sgml:
8163 * docs/at-spi-sections.txt:
8165 Initial checkins/modifications for gtk-doc generation.
8168 Added (missing) interface query methods to Accessible's C binding.
8170 Added GenericInterface type definition.
8172 Added query for AccessibleComponent interface to focus event handler.
8173 Added printout of bounding box for focussed component.
8174 * libspi/component.c:
8175 Added partial implementation for AccessibleComponent to C binding.
8176 * idl/Application.idl:
8177 * libspi/registry.c:
8178 * libspi/listener.c:
8179 * libspi/application.c:
8180 * libspi/application.h:
8181 Changed "ID" attribute type from string to long.
8183 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8187 Made method naming consistent: methods taking object args
8188 start with uppercase, other methods (except those using
8189 acronyms) start with lowercase. Underscores delimit between
8190 object names and method names:
8191 SPI_init() - uppercase since it starts with an acronym.
8192 getDesktopCount () - lowercase start since no object param0.
8193 Accessible_getName() - uppercase object type name, studlyCaps method
8197 Added gtk-doc documentation for all currently implemented
8198 methods in the C bindings API.
8200 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8202 * Makefile.am : changed build order to build test last.
8205 Changed "createEventListener" to "CreateEventListener".
8206 * libspi/accessibleeventlistener.c :
8207 Bugfix for addition of callbacks.
8208 * test/Makefile.am :
8209 * test/simple-at.c :
8210 Added new test that uses the C bindings API.
8212 * libspi/listener.c :
8213 * libspi/registry.c :
8214 * libspi/accessibleeventlistener.c :
8215 * at-bridge/bridge.c :
8216 Renamed member "target" of Accessibility_Event to "source",
8217 which is more descriptive.
8220 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8224 * cspi/Makefile.am :
8225 Added makefile support for at-spi/cspi directory.
8228 * cspi/spi-listener.h : (NEW FILE)
8229 Added support for/use of spi-listener.h.
8231 C bindings now build successfully, with no warnings.
8232 * libspi/accessibleeventlistener.h : (NEW FILE)
8233 * libspi/accessibleeventlistener.c : (NEW FILE)
8234 * libspi/Makefile.am :
8235 Added new object type "AccessibleEventListener"
8236 which inherits from Listener, and allows attachment
8237 of in-process callbacks (so that a client with a listening
8238 object instance can add functionality to the local
8239 implementation, dynamically).
8241 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8243 * libspi/accessible.c:
8244 Add implementation for get_index_in_parent().
8246 Added #include of "spi-roletypes.h", and
8247 added enumerated type AccessibleCoordType.
8248 Added definition for KeystrokeListener (function type).
8251 * cspi/spi-statetypes.h :
8252 * cspi/spi-roletypes.h :
8254 Added these headers, used by spi.h.
8256 Added code (NOTE: not yet built by make).
8258 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8260 * libspi/Makefile.am: generate imodule
8261 at the same time as other idl compiler
8264 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8265 * libspi/registry.c :
8266 * libspi/application.c :
8267 * idl/Application.idl :
8268 Made registration with toolkit an application method,
8269 which is required since each app has its own toolkit static
8270 environment. Thus the bridge must register for
8271 notification of toolkit events from each application in turn.
8272 Toolkit notifications are now successfully registered for, and
8273 sent to the listening at client.
8275 Changed toolkit event string to use hyphens rather than underscores.
8276 * libspi/listener.c :
8277 listner now gives more info in debug mode - it reports the
8278 name of the event received, as well as the name of the source.
8281 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8283 * libspi/registry.c :
8284 added more implementation for toolkit events.
8285 Fixed bug such that toolkit event registrations
8286 (via atk) use the whole event name string, not
8288 Removed a useless call to an ORBit_ method.
8289 * at-bridge/bridge.c :
8290 Removed unused local sbuf[] variable.
8292 We now register for Gtk:GtkWidget:button_press_event
8293 events as well as "focus:" events.
8295 Add some more API from Registry.idl that was missing,
8296 for keystroke listening, keystroke and mouse event
8297 synthesis, and enumeration of accessible desktops.
8299 2001-08-16 Michael Meeks <michael@ximian.com>
8301 * configure.in: use AM_GLIB_GNU_GETTEXT.
8303 * Makefile.am (SUBDIRS): kill intl.
8305 2001-08-15 Michael Meeks <michael@ximian.com>
8307 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8309 * configure.in: upd.
8311 * configure.in: depend on a recent bonobo-activation that
8312 will find our server files ...
8314 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8316 * libspi/accessible.c : accessible_new() :
8317 Now we add the Component interface via bonobo_object_add_interface,
8318 if the contained AtkObject implements AtkComponent.
8319 * libspi/accessible.h : now include "component.h"
8320 * libspi/component.h :
8321 * libspi/component.c : added files - implementation of
8322 bonobo wrapper object for Accessibility/Component
8323 * libspi/listener.c :
8324 Added test code to check for Accessibility/Component:1.0
8325 interface and report whether it is implemented by the
8327 * libspi/registry.c :
8328 Now we check for not only the hash of the whole event
8329 string before relaying the event, we also check the
8330 "minor" event string (without the detail string).
8331 This allows event listeners to be registered against
8332 all events of a certain major+minor type, or just
8333 against a specific major+minor+detail type.
8334 * libspi/accessible.c :
8335 Added implementations for Accessible:get_parent(),
8336 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8337 * libspi/registry.c :
8338 * libspi/listener.c :
8339 Replaced calls to Accessibility_Accessible_ref() and
8340 Accessibility_Accessible_unref() with
8341 calls to bonobo_object_dup_ref() and
8342 bonobo_object_release_unref(), so that the CORBA object
8343 is dup-ed and released when relayed, as well as the bonobo object.
8345 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8347 * libspi/Makefile.am,
8348 registryd/Makefile.am,
8349 at-bridge/Makefile.am.
8350 test/Makefile.am, configure.in:
8351 reverse previous changes.
8353 * /idl/Image.idl: fix typo.
8355 * test/Makefile.am: put DEBUG_FLAGS
8358 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8360 * test/app.c: use argv[0] instead of
8363 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8365 * libspi/Makefile.am,
8366 registryd/Makefile.am,
8367 at-bridge/Makefile.am.
8368 test/Makefile.am, configure.in:
8369 cleanup, replace individual LIBS/CFLAGS with
8370 AT_COMMON_{LIBS|CFLAGS}.
8374 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8376 * configure.in, libspi/Makefile.am:
8377 Change IDL path checking for bonobo-activation
8380 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8382 * registryd/registry.c : separated event listeners to use
8383 3 separate lists (focus, window, toolkit). Began testing
8384 event names against hashes before relaying events.
8385 * test/at.c : now register for events of type "focus:"
8386 * test/app.c : now generate events of type "focus:"
8387 * at-bridge/bridge.c : register with ATK for focus events,
8388 and we now relay those focus events to any "focus:" listeners.
8389 This now works with the bridge as a GTK_MODULE when running test/at.
8390 * libspi/registry.c :
8391 * libspi/listener.c :
8392 now we ref event sources before propagating, and unref on receipt.
8393 * libspi/registry.c :
8394 some changes to internal structs, to support event typestring hashes.
8395 * text/app.c : changed the way the appname is generated.
8396 * cspi : added directory that will hold the C bindings library for
8397 non-CORBA/bonobo-savvy clients.
8398 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8399 * idl/Component.idl : added in parameter to indicate coord system for
8400 geometry-related calls.
8401 * idl/Hyperlink.idl : added readonly n_links attribute
8402 * idl/Image.idl : changed methods to attributes.
8404 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8406 * at-bridge/Makefile.am: link against
8407 ../libspi/libspi.la instead of -lspi.
8409 * at-spi/test/app.c: include
8410 bonobo-activation.h. Use a default appname
8411 if one is not provided.
8413 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8415 * idl/Registry.idl : temporarily changed register_Application
8416 to oneway, to work around issue with initial registration
8418 * idl/Application.idl : changed attribute "id" from readonly
8419 to read-write, since it needs to be assigned by Registry.
8420 * registryd/registryd.c : added call to set application id
8422 * registryd/registry.c : changed de-registration procedure to
8423 use CORBA_Object_hash() to find matching object ref in application
8424 lists and listener lists.
8425 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8426 began distinguishing between event types (work in progress).
8428 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8431 * libspi/application.c:
8432 Added implementations for get/set id, get_toolkitName,
8434 * registryd/registryd.c :
8438 Converted from use of OAF to bonobo-activation.
8439 * libspi/desktop.h :
8440 * libspi/desktop.c :
8442 Removed references to atksimpleobject, since base atkobject
8443 implementation now provides functionality we need.
8444 * libspi/atksimpleobject.c :
8445 * libspi/atksimpleobject.h :
8450 * at-bridge/Makefile.am
8451 * at-bridge/bridge.c
8454 Added directory "bridge" and contents, and added dependencies
8455 in Makefile.am/configure.in.
8456 Initial checkin of "at-bridge".
8457 This code is a GTK_MODULE which automatically registers
8458 GTK+ apps with the accessibility registry, using an object
8459 reference to the root ATK object.
8461 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8463 * po/Makefile.in.in: Remove. Again. If this
8464 doesn't get autogenerated - you need to update
8467 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8469 * po/Makefile.in.in: Add. Again.
8471 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8473 * libspi/accessible.c : added support for 'description' property.
8474 * libspi/accessible.c
8476 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8477 (since the two are now equivalent in libbonobo)
8485 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8486 Bonobo::Unknown as does Accessibility::Accessible.
8487 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8488 interface with Bonobo::Stream, since it was redundant with it.
8489 (The Stream returned by a StreamableContext object is expected to
8490 implement only a subset of Bonobo::Stream)
8492 2001-07-28 Anders Carlsson <andersca@gnome.org>
8494 * libspi/accessible.c (accessible_object_finalize): Change
8495 g_free to g_object_unref since the AtkObject is a GObject.
8497 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8499 * idl/Accessibility.idl: add new IDL files
8502 * idl/Action.idl: Definitions of actionable UI object
8503 * idl/Component.idl: Definitions of UI component geometry, etc.
8504 * idl/Hyperlink.idl: Defs of hyperlink behavior
8505 * idl/Image.idl: Def of accessible image
8506 * idl/Selection.idl: Definition of UI object with selectable children
8507 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8508 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8509 * idl/Text.idl: Interface defs for UI elements with complex textual content
8510 * idl/Value.idl: Definition of UI element that is a value controller or display
8512 2001-07-27 Michael Meeks <michael@ximian.com>
8514 * po/Makefile.in.in: remove autogenerated file from CVS.
8516 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8519 * idl/Registry.idl: include guard.
8521 * idl/Accessibility.idl: Add, and include all the other IDL
8524 * idl/*.idl: remove mass of pragmas etc.
8526 2001-07-26 Michael Meeks <michael@ximian.com>
8528 * registryd/Makefile.am (registryd_SOURCES): remove
8531 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8533 * libspi/.cvsignore, registryd/.cvsignore,
8534 test/.cvsignore: updated.
8536 * po/Makefile.in.in: gettext update.
8538 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8540 * initial CVS checkin
8542 2001-06-29 Michael Meeks <michael@ximian.com>
8544 * configure.in: add AM_CONFIG_HEADER to gen config.h