1 2008-03-14 Li Yuan <li.yuan@sun.com>
3 * atk-bridge/bridge.c: (deregister_application):
4 Bug #522356. Since in desktop.c:spi_desktop_remove_application, we
5 call bonobo_object_release_unref for the object, we don't need to
6 unref the object again.
8 2008-03-10 Li Yuan <li.yuan@sun.com>
15 2008-02-27 Ariel Rios <ariel@gnu.org>
17 * idl/Accessibility_Collection.idl:(getMatchesTo,
18 getMatchesFrom) API Change that adds in order querys.
19 * libspi/collection.c:
20 (sort_order_rev_canonical): Method to do querys and get results in
21 canonical reverse. New.
22 (inorder): Help method for getMatchesInOrder.
23 (getMatchesInOrder):New method to get next matches from a given object
25 (getMatchesInBackOrder): New method to get previous matches from a
26 given object in order.
27 (getMatchesFrom), (getMatchesTo): Old impl_getMatches[From/To] to be
28 able to accomodate in order querys.
29 (impl_getMatchesFrom), (impl_getMatchesTo): New implementation that
30 accomodate in order querys.
31 (spi_collection_interface_new),
32 (get_collection_from_servant), (impl_createMatchRule),
33 (child_interface_p), (match_states_all_p), (match_states_any_p),
34 (match_states_none_p), (match_states_lookup), (match_roles_all_p),
35 (match_roles_any_p), (match_roles_none_p), (match_roles_lookup),
36 (match_interfaces_all_p), (match_interfaces_any_p),
37 (match_interfaces_none_p), (match_interfaces_lookup),
38 (match_attributes_all_p), (match_attributes_any_p),
39 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
40 (sort_order_canonical), (query_exec), (impl_getMatches),
41 (spi_collection_init): Clean code.
43 Bug #496232. Work by Ariel Rios <ariel@gnu.org> and
44 Scott Haeger <scott@bashautomation.com>.
46 2008-02-25 Li Yuan <li.yuan@sun.com>
51 Uprev/release 1.21.92.
53 2008-02-25 Li Yuan <li.yuan@sun.com>
55 * registryd/deviceeventcontroller.c: (global_filter_fn),
56 (dec_lock_modifiers), (dec_unlock_modifiers),
57 (impl_generate_keyboard_event): patch from Franz.Netykafka@runbox.no.
58 Bug #508147. Lock/Unlock modifier keys when xkb extension is
61 2008-02-22 Scott Haeger <scott@bashautomation.com>
63 * libspi/collection.c:
64 Fixed bug #517761, Collection match rules not working for attributes.
66 2008-02-19 Li Yuan <li.yuan@sun.com>
68 Patch from Scott Haeger <scott@bashautomation.com>
69 * libspi/collection.c: (impl_freeMatchRule):
70 Bug #517250. Clear spimatchrule->_mrp when free match rule.
72 2008-01-14 Li Yuan <li.yuan@sun.com>
79 2008-01-03 Li Yuan <li.yuan@sun.com>
81 Patch from Gilles Casse <gcasse@oralux.org>
82 * atk-bridge/bridge.c: (spi_atk_register_event_listeners):
83 Bug #474480. Fix memory leak.
85 2008-01-02 Li Yuan <li.yuan@sun.com>
87 Patch from Luke Yelavich <themuso@themuso.com>
88 * registryd/Accessibility_Registry.server.in.in:
89 Marks translatable strings in
90 registryd/Accessibility_Registry.server.in.in, so that intltool picks
93 2007-12-03 Li Yuan <li.yuan@sun.com>
95 * configure.in, README, NEWS:
98 2007-12-03 Li Yuan <li.yuan@sun.com>
100 * idl/Accessibility_Collection.idl:
101 * libspi/collection.c:
102 (impl_getMatchesFrom), (impl_getMatchesTo):
103 Fix build error in Solaris, for restrict is a keyword in SS cc.
105 2007-12-03 Li Yuan <li.yuan@sun.com>
107 * idl/Accessibility_Collection.idl:
108 * libspi/accessible.c: (spi_accessible_construct):
109 * libspi/collection.c: (spi_collection_interface_new),
110 (get_atkobject_from_servant), (get_collection_from_servant),
111 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
112 (match_states_all_p), (match_states_any_p), (match_states_none_p),
113 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
114 (match_roles_none_p), (match_roles_lookup),
115 (match_interfaces_all_p), (match_interfaces_any_p),
116 (match_interfaces_none_p), (match_interfaces_lookup),
117 (match_attributes_all_p), (match_attributes_any_p),
118 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
119 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
120 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
121 (spi_collection_class_init), (spi_collection_init):
122 * libspi/collection.h:
123 Bug #326516. Patch from Ariel. Enhance collection support.
125 2007-12-03 Li Yuan <li.yuan@sun.com>
127 * atk-bridge/Makefile.am:
128 * libspi/Makefile.am:
129 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
131 2007-11-12 Li Yuan <li.yuan@sun.com>
133 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
134 (impl_accessibility_accessible_get_relation_set):
135 Fix for #446277. Decrease the ref count to 1.
137 2007-10-29 Li Yuan <li.yuan@sun.com>
139 * configure.in, README, NEWS:
140 Uprev/release 1.21.1.
142 2007-10-15 Li Yuan <li.yuan@sun.com>
144 * MAINTAINERS: add Willie Walker and Eitan Isaacson
147 2007-09-17 Li Yuan <li.yuan@sun.com>
149 * configure.in, README, NEWS:
150 Uprev/release 1.20.0.
152 2007-09-08 Li Yuan <li.yuan@sun.com>
154 * registryd/deviceeventcontroller.c:
155 (spi_key_event_matches_listener):
156 Bug #474796. Should not checkmask bit 14 when sond out
159 2007-08-20 Li Yuan <li.yuan@sun.com>
161 * libspi/base.c: (spi_base_construct):
162 Avoid unnecessary crash. Bug #467612.
164 2007-08-01 Li Yuan <li.yuan@sun.com>
166 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
167 Fix a potential dead-lock issue. Bug #462412.
169 2007-07-09 Li Yuan <li.yuan@sun.com>
171 * configure.in, README, NEWS:
172 Uprev/release 1.19.5.
174 2007-07-09 Li Yuan <li.yuan@sun.com>
176 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
177 Bug #446277. Control the ref_count to 1, so Orca can unref the
178 state_set and avoid the memory leak.
180 2007-06-26 Li Yuan <li.yuan@sun.com>
182 * atk-bridge/Makefile.am:
183 Bug #450897. Set logging domain.
184 * registryd/registry.c: (parse_event_type):
186 Handle the "document:" signal, set the type to
189 2007-06-04 Li Yuan <li.yuan@sun.com>
191 * configure.in, README, NEWS:
192 Uprev/release 1.19.3 for GNOME 2.19.3.
194 2007-05-30 Willie Walker <william.walker@sun.com>
196 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
197 439436 to add pyatspi to autotools stuff so it gets installed as
198 part of a make install.
200 2007-05-17 Li Yuan <li.yuan@sun.com>
203 Bug #439057. Add the original PATH to PATH.
205 2007-04-23 Li Yuan <li.yuan@sun.com>
207 * configure.in, NEWS:
208 Uprev/release 1.19.1 for GNOME 2.19.1.
210 2007-04-18 Li Yuan <li.yuan@sun.com>
212 * pyatspi/__init__.py:
213 * pyatspi/accessible.py:
214 * pyatspi/constants.py:
216 * pyatspi/registry.py:
218 Bug #430938. Add some files to create the uniform Python
221 2007-04-12 Li Yuan <li.yuan@sun.com>
223 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
224 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
225 Fix #427836. Fix leak and unify the code style.
227 2007-04-12 Yi Jin <yi.jin@sun.com>
229 * atk-bridge/bridge.c:
230 (spi_atk_bridge_focus_tracker):
231 Bug #428007. Fix a memory leak.
233 2007-04-02 Ariel Rios <ariel@gnu.org>
235 Implement the Matchrule interface required for Collection.
241 * cspi/spi_accessible.c: (Accessible_isCollection),
242 (Accessible_isMatchRule), (Accessible_getCollection),
243 (Accessible_getMatchRule):
244 * cspi/spi_collection.c: new file.
245 * cspi/spi_matchrule.c: new file.
246 * idl/Accessibility.idl:
247 * idl/Accessibility_Collection.idl: new file.
249 * libspi/Makefile.am:
250 * libspi/collection.c: new file.
251 * libspi/collection.h: new file.
253 * libspi/matchrule.c: new file.
254 * libspi/matchrule.h: new file.
256 2007-03-29 Ariel Rios <ariel@gnu.org>
258 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
260 2007-03-22 Li Yuan <li.yuan@sun.com>
262 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
263 main context. Fix for #329454.
265 2007-03-12 Li Yuan <li.yuan@sun.com>
267 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
269 2007-03-02 Li Yuan <li.yuan@sun.com>
271 * atk-bridge/bridge.c
272 (spi_atk_bridge_register_application),
273 (deregister_application), (spi_atk_bridge_focus_tracker),
274 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
275 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
276 to prevent calling threads_enter/leave during the init and shutdown.
278 2007-02-27 Li Yuan <li.yuan@sun.com>
281 (spi_re_entrant_list_delete_link):
282 Bug #412286. Reverse previous patch.
283 * configure.in, NEWS: Uprev/release 1.17.2.
285 2007-02-26 Li Yuan <li.yuan@sun.com>
287 * libspi/accessible.c:
288 (impl_accessibility_accessible_get_attributes),
289 (impl_accessibility_accessible_get_relation_set):
290 Bug #404584 and #401299. Return an empty object instead of return NULL.
291 * configure.in, NEWS: Uprev/release 1.17.1.
293 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
295 * Makefile.am: Dist MAINTAINERS.
297 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
299 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
300 (atk_bridge_init), (spi_atk_bridge_get_registry),
301 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
302 Fix some compiler warnings and plug a leak. Closes part of
305 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
307 * cspi/bonobo/cspi-bonobo-listener.h:
308 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
309 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
310 * cspi/spi_main.c: (SPI_eventIsReady):
311 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
312 * libspi/streamablecontent.c:
313 * libspi/util.c: (spi_re_entrant_list_delete_link):
314 * login-helper/login-helper.c:
315 * registryd/deviceeventcontroller.c:
316 (spi_controller_update_key_grabs), (isEvent):
317 * registryd/registry.c:
318 * test/key-listener-test.c: (simple_at_exit):
319 * test/login-helper-server-test.c: (test_set_wm_dock),
321 Fix a bunch of warnings from sparse:
322 - ANSIfication of function declarations
324 - Add some prototypes
325 - make some stuff static
327 2007-02-14 Li Yuan <li.yuan@sun.com>
329 * libspi/accessible.c:
330 (impl_accessibility_accessible_get_attributes):
331 Bug #404584. If there is no attributes, just return NULL.
333 2007-02-12 Li Yuan <li.yuan@sun.com>
335 * configure.in, NEWS: Uprev/release 1.17.0.
337 2007-02-12 Li Yuan <li.yuan@sun.com>
339 * atk-bridge/bridge.c:
340 (atk_bridge_init): bug #400709. we must emit events even if we are not
341 registered as a full-fledged app.
342 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
343 application like openoffice shutdown. They need to unload gtk before
344 the is spi_atk_bridge_exit_func called.
346 2007-01-22 Li Yuan <li.yuan@sun.com>
348 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
350 2007-01-22 Li Yuan <li.yuan@sun.com>
352 * cspi/bonobo/cspi-bonobo.c:
353 (cspi_get_registry_ior), (cspi_init):
354 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
356 2007-01-19 Li Yuan <li.yuan@sun.com>
358 * atk-bridge/bridge.c:
359 (atk_bridge_init), (spi_atk_bridge_register_application),
360 (deregister_application), (spi_atk_bridge_focus_tracker),
361 (spi_atk_emit_eventv):
362 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
365 2007-01-08 Li Yuan <li.yuan@sun.com>
367 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
369 2007-01-08 Li Yuan <li.yuan@sun.com>
371 * registryd/registry-main.c:
372 (main): set registry ior only when register server successfully.
373 * atk-bridge/bridge.c:
374 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
375 Bug #372988, #381670. Fix memory leak.
377 2007-01-02 Bill Haneman <billh@gnome.org>
380 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
381 appending default attributes to a text attribute set.
384 2006-12-28 Li Yuan <li.yuan@sun.com>
386 * atk-bridge/bridge.c:
387 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
388 the second time, because spi_atk_emit_eventv will free any. Bug
391 2006-12-15 Li Yuan <li.yuan@sun.com>
393 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
395 2006-12-14 Li Yuan <li.yuan@sun.com>
398 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
399 (spi_atk_bridge_property_event_listener),
400 (spi_atk_bridge_signal_listener):
401 Free some CORBA objects to fix memory leak and crash.
403 2006-12-13 Li Yuan <li.yuan@sun.com>
405 Patch from Ariel Rios to fix #163132 and #377079.
406 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
407 (spi_atk_bridge_get_registry_ior):
408 Use g_warning instead of g_error and g_critical to avoid crash.
410 2006-12-11 Bill Haneman <bill.haneman@sun.com>
413 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
414 if there are no non-default attributes defined at the current offset.
417 2006-12-04 Bill Haneman <bill.haneman@sun.com>
419 * idl/Accessibility_Role.idl: Fixed the documentation for
420 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
422 2006-12-04 Bill Haneman <bill.haneman@sun.com>
424 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
426 2006-11-07 Bill Haneman <bill.haneman@sun.com>
428 Patches from Padraig O'Briain for bugs #361386 and #369377.
430 * registryd/registry.c:
431 (struct NotifyContext): Change the e_out
432 member from an Accessibility_Event struct to a pointer to
434 (notify_listeners_cb): Modify to use the new struct definition above.
435 Allows use of ORBit_copy_value instead of CORBA_any__copy.
437 * registryd/deviceeventcontroller.c:
438 (spi_dec_button_update_and_emit): Free the event's any_data
440 (spi_dec_mouse_check):Free the event details any struct
442 (spi_device_event_controller_forward_mouse_event): Free any.
443 (spi_device_event_controller_forward_key_event): Ditto.
445 2006-11-07 Bill Haneman <bill.haneman@sun.com>
447 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
448 Don't require gtk+ and gail for building most of at-spi
451 * registryd/registry-main.c (main): We now get te value of display
452 using the env var DISPLAY rather than using the gdk_display_get_default
453 to avoid dependancy of gdk. Also, once the registry is started, we set
454 the ior of the registry as an X property.
455 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
457 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
458 the registration was successfull.
459 (spi_atk_bridge_do_registration): This function now returns success
460 or not on activating the registry.
461 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
462 has been set in the X root window and return it if available.
463 (spi_atk_bridge_get_registry): We now get the registry using the IOR
464 saved as a X property rather than using the OAFID.
466 2006-10-01 Bill Haneman <bill.haneman@sun.com>
468 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
470 2006-09-25 Bill Haneman <bill.haneman@sun.com>
472 * registryd/registry.c:
473 (desktop_remove_application): Don't pass a ref to the
474 dead application with the event, since it's probably
475 defunct and will cause SEGV if we try to unref,
476 extract app name, etc.
479 2006-09-20 Bill Haneman <bill.haneman@sun.com>
481 Patch from Neo Liu <nian.liu@sun.com>,
484 * atk-bridge/bridge.c:
485 (spi_atk_bridge_document_event_listener): New, for
488 2006-08-30 Bill Haneman <bill.haneman@sun.com>
491 Changed some parameter names so as not to
492 collide with class names - allows IDL to be compiled with
493 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
495 2006-08-22 Bill Haneman <bill.haneman@sun.com>
497 * atk-bridge/bridge.c:
498 (spi_atk_bridge_signal_listener):
499 Patch from Ginn Chen, assign detail1 in children-changed
500 so that the child object can be assigned to the Any when the
501 at-spi event is emitted. Bug #350552.
503 * libspi/application.c:
504 (spi_application_finalize): Remove g_print debug output.
507 2006-08-21 Bill Haneman <bill.haneman@sun.com>
509 * configure.in: Revved to AT-SPI 1.7.11.
511 * libspi/accessible.c:
512 (spi_accessible_new): Aggregate Hyperlink interface
513 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
515 * libspi/hyperlink.c:
516 (spi_hyperlink_new): Don't aggregate Action a second time if this
517 interface is created for an AtkHyperlinkImpl object (i.e. for a
518 child Accessible, as opposed to the Hyperlink instance from
520 (get_hyperlink_from_servant): Obtain the hyperlink from
521 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
523 Patch section from Ginn Chen...
525 * cspi/spi_accessible.c:
526 (_cspi_accessible_set_from_sequence):
527 Changed g_newa to g_new0 on Ginn Chen's suggestion.
529 * libspi/accessible.c:
530 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
531 (spi_accessible_new): Add the Document interface if present.
534 (impl_getAttributes): Fixed to use AtkAttribute properly.
537 (impl_getAttributes, impl_getDefaultAttributes):
538 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
540 2006-08-17 Bill Haneman <bill.haneman@sun.com>
542 * cspi/spi-private.h, cspi/spi_accessible.c:
543 (_cspi_attribute_set_from_sequence): Renamed from
544 cspi_attribute_set_from_sequence, to suppress export.
547 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
548 inline docs, which was keeping the doc from appearing.
549 (SPIExceptionHandler): Doc this.
551 * cspi/spi_document.c:
552 Added inline gtk-docs cut-n-pasted from the doxygen
553 docs in the corresponding IDL files.
554 (AccessibleDocument_getAttributes): Fix the retval here.
556 * cspi/spi_streamablecontent.c:
557 Fixed some 'Since' tags that were accidentally doxygen-style.
560 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
561 docs from the IDL file.
563 * docs/reference/cspi/at-spi-cspi-docs.sgml:
564 Added entities for Document and StreamableContent interfaces.
566 * docs/reference/cspi/at-spi-cspi-sections.txt:
567 Added some docs that were present inline but not getting
570 2006-07-31 Bill Haneman <bill.haneman@sun.com>
573 (impl_getRangeExtents): Use the atk_text_get_range_extents
574 API instead of looping over character bounds, now that
576 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
577 (_spi_text_bounds_contain): Remove, not needed anymore.
578 (_spi_text_rect_union): Remove, not needed anymore.
580 2006-07-31 Bill Haneman <bill.haneman@sun.com>
582 * atk-bridge/bridge.c:
583 (spi_atk_emit_eventv): Fix the CORBA_free call which was
584 causing 64-bit troubles and memory leaks.
585 Special thanks to Alexander Larsson who finally seems to
586 have tracked down the problem, not just here but in
590 (spi_init_any_object): Make sure we copy the CORBA value
591 when initializing an object for passing as a CORBA_Any.
594 2006-07-21 Bill Haneman <billh@gnome.org>
596 * idl/Accessibility.idl:
597 Reverted pragma changes, this broke the build in some envs
598 including the Debian team's build and some tinderbox builds.
600 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
603 Revved to 1.7.10, and edited the Xevie check (bug #319994).
605 * idl/Accessibility.idl:
606 Reworked inclusion of Bonobo_Unknown.idl, to
607 avoid double-linking libs in the Bonobo environment.
608 Thanks to Michael Meeks for the workaround, see bug #313122.
610 * registryd/deviceeventcontroller.c:
611 (spi_controller_notify_keylisteners):
612 Set the SPI_NUMLOCK_MASK bit if the modifier
613 corresponding to the conceptual numlock state is set.
616 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
618 * idl/Accessibility_Selection.idl:
619 (deselectChild): New method.
621 * libspi/selection.c:
622 (impl_deselectChild): Implement the new IDL method.
625 (AccessibleSelection_deselectChild): Added new method.
627 * cspi/spi_selection.c:
628 (AccessibleSelection_deselectChild): New method implemented.
630 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
632 * cspi/bonobo/cspi-bonobo.c:
633 (cspi_init): Replace g_error with g_warning, prevent
634 SEGV if the registry cannot be activated. Bug #346393.
636 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
638 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
640 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
641 2006-07-12 Ariel Rios <arios@us.ibm.com>
645 * idl/Accessibility_Table.idl:
646 (getRowColumnExtentsAtIndex): New method for getting
647 selection status and extents in one API call.
650 (impl_getRowColumnExtentsAtIndex): Implementation of
652 (spi_table_class_init): Add above to epv.
656 (AccessibleTable_getRowColumnExtentsAtIndex): New
657 method, retrieves selection status and row/col extents
658 for a table cell in a single API call.
660 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
661 2006-07-12 Ariel Rios <arios@us.ibm.com>
663 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
666 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
667 New bindings for new methods defined in idl and libspi.
670 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
671 Added prototype functions.
674 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
676 (spi_text_class_init): Added previous methods.
679 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
680 * libspi/spi-private.h: Corrections.
682 2006-06-29 Bill Haneman <bill.haneman@sun.com>
684 Added Document interface (see bug #326520),
685 with work from Ariel Rios <arios@us.ibm.com>.
687 * configure.in: Bump to 1.7.8.
689 * libspi/Makefile.am: Added document.[ch] to sources
692 (SpiDocument, SpiDocumentClass):
693 New interface implementation.
694 (spi_document_get_type, spi_document_construct)
695 (spi_document_interface_new): New methods added.
696 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
697 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
698 Added macros for SpiDocument
702 (spi_document_interface_new): Get a
703 new document interface. New.
704 (get_document_from_servant): Get an AtkDocument from servant New.
705 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
706 Implementation of methods defined on idl.
707 (spi_document_class_init, spi_document_init)
708 Init methods for SpiDocument. new
710 * idl/Accessibility.idl: Added Accessibility_Document.idl.
712 * cspi/Makefile.am: Added spi_document.c to sources.
714 * cspi/spi_document.c:
715 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
716 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
717 (AccessibleDocument_getAttributes): Bindings for methods defined
720 * cspi/spi_accessible.c:
721 (Accessible_isDocument, Accessible_getDocument) New.
723 (Accessible_isDocument, Accessible_getDocument)
724 (AccessibleDocument_ref, AccessibleDocument_unref)
725 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
726 (AccessibleDocument_getAttributes): Bindings added.
728 * idl/Makefile.am: Added Accessibility_Document.idl to
731 2006-06-29 Bill Haneman <bill.haneman@sun.com>
733 * idl/Accessibility_Document.idl: New interface
734 for complex documents. First stage of fix for RFE
737 2006-06-27 Bill Haneman <bill.haneman@sun.com>
739 * libspi/streamablecontent.c:
740 (impl_content_stream_close):
741 Unref the GIOChannel on close.
743 2006-06-23 Bill Haneman <bill.haneman@sun.com>
745 * idl/Accessibility_Role.idl:
746 * libspi/accessiblerole.c:
747 * cspi/spi_accessible.c: Added ROLE_LINK,
748 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
749 Bug #345758 and bug #140635.
752 2006-06-22 Bill Haneman <bill.haneman@sun.com>
756 * idl/Accessibility_StreamableContent.idl:
757 Fix derivation of StreamableContent and ContentStream.
759 * cspi/spi_streamablecontent.c:
760 (accessible_content_stream_client_read):
761 Fix the datatype of the content stream used.
762 Interpret short reads as EOF, and stop trying to
763 read when we've fulfilled the request.
764 (AccessibleStreamableContent_getContentTypes):
765 Use g_strdup, not CORBA_string_dup, for the strings.
766 (AccessibleStreamableContent_open):
767 Correctly use the new getStream method for opening,
768 not the deprecated getContent method.
769 Use the object reference as the stream hash key.
770 Make note of the 'one stream per client per streamable'
771 limitation in the docs.
774 Add streamablecontent.h to the list of #includes.
776 * libspi/streamablecontent.c:
777 (impl_content_stream_read): Initialize the GError.
778 Allocate the incoming buffer if reading a fixed length of
779 data. Use g_memmove instead of memcpy.
780 (impl_accessibility_streamable_get_content_types):
781 Init typelist->_maximum. Only allocate the buffer if
782 there is a non-zero number of content types available.
783 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
785 * libspi/streamablecontent.h:
786 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
789 (SPI_IS_VALUE): Fix a typo in this macro too.
791 2006-06-16 Bill Haneman <bill.haneman@sun.com>
795 * idl/Accessibility_StreambleContent.idl:
796 Deprecate the Bonobo_Stream-based methods in favor of
797 a self-contained "ContentStream" interface. This should
798 allow us to remove BonoboStream dependencies entirely, since
799 there were no non-NIL implementations of the old methods anyway.
800 (ContentStream): New interface.
801 (ContentStream::SeekType): Enum.
802 (ContentStream::seek): New.
803 (ContentStream::read): New.
804 (ContentStream::close): New.
805 (getContent): Deprecate.
806 (getURI): New method, returns a URI pointing to the content, if available.
808 * libspi/streamablecontent.c:
809 (SpiContentStream): Internal object type definition used to
810 implement Accessibility::StreamableContent::ContentStream via
811 AtkStreamableContent's GIOChannel back-end.
812 (spi_content_stream_new, spi_content_stream_dispose): See above;
814 (impl_content_stream_seek, impl_content_stream_read):
815 (impl_content_stream_close): New, implementations of
817 (impl_accessibility_streamable_get_stream): Implement the
818 public method Accessibility::StreamableContent::getStream.
819 (impl_accessibility_streamable_get_uri): Implement the
820 public method Accessibility::StreamableContent::getURI.
822 * cspi/spi_streamablecontent.c:
823 (accessible_bonobo_stream_client_seek): Replaced by
824 (accessible_content_stream_client_seek).
825 (accessible_bonobo_stream_client_read): Replaced by
826 (accessible_content_stream_client_read).
827 (AccessibleStreamableContent_open):
828 (AccessibleStreamableContent_seek):
829 (AccessibleStreamableContent_read):
830 (AccessibleStreamableContent_close): Use the new 'getStream'
831 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
833 2006-06-15 Bill Haneman <bill.haneman@sun.com>
835 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
836 remove from other .idl files (except LoginHelper).
839 2006-06-14 Bill Haneman <bill.haneman@sun.com>
841 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
844 * configure.in, */Makefile.am: mingw patch, modified from
845 original patch by yselkowitz. Bug #314216.
847 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
848 for completeness. Bug #163111.
850 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
851 * libspi/util.c, registryd/registry-main.c:
852 Fix guint/char* casts.
853 Patch from chpe, bug #333883.
855 2006-06-12 Bill Haneman <bill.haneman@sun.com>
857 * configure.in: Require atk-1.12.0, to pick up
858 new API. (bug #344412).
860 * libspi-1.0-uninstalled.pc.in:
862 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
863 Fix for #341488 from Samual Thibault.
865 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
866 Thanks to Brian Pepple.
868 2006-06-09 Bill Haneman <bill.haneman@sun.com>
871 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
872 New, missing implementations of attribute reading methods
875 * cspi/spi.h, spi_value.c:
876 (AccessibleValue_getMinimumIncrement): New methods wrapping
877 the (formerly unimplemented) property from Value.idl.
880 (impl_get_minimumIncrement): Implementation for retrieving
881 the minimum valuator increment, (formerly unimplemented).
884 2006-06-09 Bill Haneman <bill.haneman@sun.com>
886 * idl/Accessibility_State.idl:
887 Added STATE_VISITED (bug #338369).
889 * cspi/spi_accessible.c:
890 (spi_state_to_corba) Fixed marshalling of new statetypes.
893 (spi_init_state_tables, impl_getStates):
894 Fixed conversion of new statetypes to/from ATK.
896 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
898 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
899 definitions/conversions for new roles from ATK.
901 * idl/Accessibility_Relation.idl:
903 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
904 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
905 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
907 * libspi/accessible.c: Fixed marshalling of new role types from
910 2006-04-17 Matthias Clasen <mclasen@redhat.com>
912 * revert my previous change
914 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
916 * configure.in: Remove obssolete no_NO locale
917 * po/no.po: And the translation.
919 2006-04-05 Matthias Clasen <mclasen@redhat.com>
921 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
922 memory-management error that caused crashes on x86_64.
925 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
927 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
929 2006-03-27 Bill Haneman <bill.haneman@sun.com>
931 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
932 to strip "cspi_*" from the symbol table.
934 * cspi/spi_streamablecontent.c:
935 (get_streams): Make this method static.
938 (_cspi_exception_throw): rename to cspi_exception_throw,
939 so we can strip it with the rest...
942 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
944 2006-03-27 Bill Haneman <bill.haneman@sun.com>
946 Add doxygen-generated IDL docs to tarball, and enable
947 doxygen during build/install when available. Bug #301345.
949 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
951 * docs/reference/Makefile.am: Add idl to SUBDIRS.
953 * docs/reference/idl/Makefile.am: Optionally use
954 doxygen to create docs.
956 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
958 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
960 2006-03-20 Bill Haneman <bill.haneman@sun.com>
963 (impl_get_selected_rows): Don't free the selection if it's
964 empty or has not been assigned; init it to NULL so you can tell.
965 Also, allow for zero selected rows.
966 (impl_getSelectedColumns): Ditto. Bug #319088.
968 2006-03-11 Vincent Untz <vuntz@gnome.org>
970 Leak fix for bug #334217.
972 * libspi/application.c: spi_application_toolkit_event_listener():
973 don't duplicate the string we pass as an argument to
974 spi_init_any_nil() since spi_init_any_nil() already does it
975 * registryd/deviceeventcontroller.c:
976 (spi_dec_button_update_and_emit): ditto
977 (spi_dec_mouse_check): ditto
978 (spi_dec_emit_modifier_event): ditto
979 (spi_device_event_controller_forward_mouse): ditto
980 * registryd/registry.c:
981 (desktop_add_application): ditto
982 (desktop_remove_application): ditto
984 2006-02-20 Bill Haneman <billh@gnome.org>
986 * configure.in: Rev to 1.7.6.
988 Leak fixes for bug #331924.
990 * atk-bridge/bridge.c:
991 (spi_atk_bridge_init_base): Don't dup the string, it's already
992 been dup-ed. Fixes a leak.
993 (spi_atk_emit_eventv): Move the CORBA_free call here,
994 instead of spi_atk_state_event_listener; fixes another leak.
995 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
996 notifying the registry; fixes another leak.
998 * registryd/registry.c:
999 (registry_flush_event_queue): Free the CORBA_any when
1000 flushing the event, not just the string. Fixes another leak.
1001 (registry_queue_event): Free the CORBA_any when dropping
1002 events on the floor; fixes another leak.
1005 (spi_init_any_object, spi_init_any_nil):
1006 Always set _release to TRUE. Fixes another leak.
1008 2006-02-20 Bill Haneman <billh@gnome.org>
1010 * configure.in: Rev to 1.7.5.
1011 Reinstate localization of this module. Thanks for Rodney
1012 Dawes for fixing my patch.
1014 * registryd/Makefile.am: Remove Accessibility_Registry.server
1015 from dist, since it needs to be re-created at configure time.
1018 2006-01-31 Bill Haneman <billh@gnome.org>
1020 * configure.in: Rev to 1.7.4 (to include build fix below).
1022 * idl/Makefile.am: Include Selector.idl in dist.
1026 (cspi_internal_event_get_object): Handle case where
1027 "object" isn't present, i.e. CORBA_TC_Object doesn't match
1028 the EventDetails data.
1029 (cspi_internal_event_get_text): Handle NULL string.
1030 (cspi_internal_event_get_rect): Handle missing/empty rect
1031 data, Accessibility_TC_RectBounds doesn't match any_data.
1033 2006-01-30 Bill Haneman <billh@gnome.org>
1037 * atk-bridge/bridge.c:
1038 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
1039 interface and use that when instantiating a new source
1040 accessible. Better fix for bug #321814.
1042 2006-01-27 Bill Haneman <billh@gnome.org>
1044 * idl/Accessibility_Selector.idl: Added to the cvs repository.
1046 * configure.in: Revved to 1.7.3.
1048 2006-01-17 Bill Haneman <billh@gnome.org>
1050 * configure.in: Revved to 1.7.2, re-dist to include docs.
1052 2006-01-09 Bill Haneman <billh@gnome.org>
1054 * configure.in: Removed po/Makefile.in inclusion, we do not need
1055 it. Revved to 1.7.0.
1057 * idl/Accessibility.idl: Improved documentation here, and for all
1058 IDL in the 'GNOME::Accessibility' namespace.
1060 * idl/Accessibility_Accessible.idl:
1061 (LOCALE_TYPE): Added enum.
1062 (AttributeSet): New, for returning multiple name/value attribute pairs.
1063 (RoleSet): New, sequence of Roles, to be used in upcoming
1065 (getAttributes): New API, allows retrieval of name/value pair
1066 annotations for all kinds of Accessible objects. C.f.
1067 Text:getAttributes, which is only for typographic/textual/semantic tags in
1069 (getApplication): New, retrieves the host/containing Application
1070 instance for an object (without having to walk up the whole tree).
1072 * idl/Accessibility_Component.idl:
1073 (getAlpha): New method, returns the alpha blending (aka 'opacity')
1074 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
1077 * idl/Accessibility_Event.idl:
1078 (EventDetails): New struct definition, for encapsulating
1079 commonly-queried information about emitted events. The use of
1080 this structure in emitted events (in the 'any' member of
1081 Accessibility_Event) should greatly reduce the number of
1082 client-server roundtrips necessary.
1084 * idl/Accessibility_Image.idl:
1085 (imageLocale): New, a readonly attribute indicating the POSIX
1086 LC_MESSAGES locale of the image and associated Alt/descriptive
1089 * idl/Accessibility_Relation.idl:
1090 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1093 * idl/Accessibility_Role.idl:
1094 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1095 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1096 complex document and form support.
1098 * idl/Accessibility_State.idl:
1099 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1100 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1101 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1102 for support of complex documents and forms.
1104 * idl/Accessibility_StreamableContent.idl:
1105 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1106 allow old bonobo-stream interfaces to be deprecated in the next
1109 * idl/Accessibility_Text.idl:
1110 (getAttributeValue): New method, allows query-by-name of single
1113 * libspi/accessible.c:
1114 Added support for new roles. Implemented new methods
1115 (impl_accessibility_accessible_get_application): New
1116 (impl_accessibility_accessible_get_attributes): New
1118 * libspi/component.c:
1119 (impl_accessibility_component_get_alpha): New.
1122 (impl_accessibility_image_get_locale): New.
1124 * libspi/relation.c: Added support for new relation type.
1126 * libspi/stateset.c: Added support for new state types.
1129 (impl_getAttributeValue): New.
1132 New prototypes for private methods
1134 spi_init_any_object, spi_init_any_string,
1137 * libspi/spi_event.c:
1138 Use EventDetails in the event emission methods.
1140 * cspi/spi-private.h:
1141 (cspi_role_from_spi_role): Expose this adapter method, since
1142 we need it in the bridge (see below).
1145 (AccessibleEvent_getSourceName):
1146 (AccessibleEvent_getSourceRole):
1147 (AccessibleEvent_getSourceApplication):
1148 (AccessibleEvent_getSourceDetails):
1149 New methods for interrogating/demarshalling
1150 event details (i.e. source's accessible name, role,
1153 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1154 Make use of the new EventDetails struct in events, if present.
1155 (AccessibleEvent_getSourceName)
1156 (AccessibleEvent_getSourceRole)
1157 (AccessibleEvent_getSourceApplication)
1158 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1160 (Accessible_getAttributes): New, wraps
1161 Accessibility_Accessible_getAttributes.
1162 (Accessible_getHostApplication): New, wraps
1163 Accessibility_Accessible_getApplication.
1166 (AccessibleImage_getImageLocale): New wrapper for
1167 Accessibility_Image_get_imageLocale.
1169 * cspi/spi_component.c:
1170 (AccessibleComponent_getAlpha): New wrapper for
1171 Accessibility_Component_getAlpha.
1173 * atk-bridge/bridge.c:
1174 Use new prototyped for init_any methods.
1175 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1176 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1177 (spi_atk_bridge_init_base): Wrappers
1178 for spi_init_any_* methods, due to refactor; include extended
1179 information in the Accessibility_EventDetails struct, for instance
1180 accessible-name, Role, and containing Application.
1182 * registryd/registry.c:
1183 Use new event emission (with EventDetails).
1185 * registryd/deviceeventcontroller.c:
1186 Use new event emission (with EventDetails).
1188 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1190 * configure.in: Generate po/Makefile.in
1191 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1192 * cspi/spi_streamablecontent.c:
1193 (accessible_bonobo_stream_client_seek),
1194 (AccessibleStreamableContent_seek): Remove unused vars.
1195 * libspi/application.c: Missing header.
1196 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1197 * login-helper/login-helper.c: (login_helper_finalize),
1198 (login_helper_init): Remove unused stuff
1199 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1200 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1201 and surround some with #ifdef GRAB_BUTTON.
1202 * test/event-listener-test.c: (main), (report_event),
1203 (report_caret_event), (report_detail_event),
1204 (report_detail1_event), (report_bounds_event), (report_text_event),
1205 (report_text_selection_event),
1206 (report_active_descendant_changed_event),
1207 (report_children_changed_event), (report_name_changed_event),
1208 (report_description_changed_event), (report_parent_changed_event),
1209 (report_window_event), (report_table_summary_event),
1210 (report_table_header_event), (report_table_caption_event),
1211 (report_table_row_description_event),
1212 (report_table_column_description_event), (timing_test_event):
1213 Remove a bunch of unused variables and fix a slew of format specifiers
1214 * test/key-listener-test.c: (report_all_key_event): Format specifier
1215 * test/keypad-test.c: (print_key_event): Same
1216 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1218 * test/screen-review-test.c: (main), (print_chunk_debug),
1219 (review_buffer_get_text_chunk), (debug_chunk_list),
1220 (string_guess_clip), (text_chunk_get_clipped_string),
1221 (text_chunk_list_to_string), (get_screen_review_line_at):
1222 Remove unused variables and fix format specifiers.
1223 * test/simple-at.c: (report_text_event): Format specifier fix.
1224 * test/stress-test.c: (main): Remove unused var.
1226 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1228 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1229 (yes I know that's useless)
1231 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1233 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1235 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1237 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1238 urgh-fix embarassing typo.
1240 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1242 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1243 do a faster, less problematic _unref call on this local
1244 object, rather than a slower (potentially cross-thread
1245 complicated) CORBA call.
1247 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1249 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1250 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1251 * registryd/deviceeventcontroller.c:
1252 (spi_controller_notify_mouselisteners),
1253 (impl_generate_keyboard_event):
1254 * test/screen-review-test.c: (chunk_bounds_within):
1255 * test/test-simple.c: (test_desktop): Remove some unused code
1256 and fix compiler warnings. Closes bug #320049.
1258 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1260 * registryd/deviceeventcontroller.c:
1261 (spi_controller_notify_keylisteners): Check
1262 to make sure the event listener has requested 'preemptive'
1263 status before pre-empting an event.
1265 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1267 * configure.in, README, NEWS: Release 1.6.5.
1269 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1271 * test/window-listener-test.c: Fix a printf
1272 format error. (#169453)
1274 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1276 * tests/test-simple.c:
1277 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1278 relying on the old string from the key event hanging around after
1279 the event handler returns. Fixes broken 'make check'.
1281 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1283 * Added Marathi (mr_IN) translations.
1285 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1287 * cspi/bonobo/cspi-bonobo-listener.c:
1288 (cspi_event_list_remove_by_cb): Fix the build.
1290 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1292 * cspi/bonobo/cspi-bonobo-listener.c
1293 (cspi_event_list_remove_by_cb): actually filter by callback.
1295 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1297 * registryd/registry.c (remove_listener_cb):
1298 Make deregistration filter rules match the event emission rules.
1300 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1302 * registryd/registry.c (remove_listener_cb),
1303 (impl_accessibility_registry_deregister_global_event_listener),
1304 (impl_accessibility_registry_deregister_global_event_listener_all):
1305 pass a closure to the remove callback to filter listeners more
1306 accurately on remove.
1308 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1310 * configure.in: Revved to 1.6.4.
1311 Remember to put quotes around XEVIE_LIBS assignment.
1312 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1315 * tests/event-listener-test.c: Tweaked the tests - more detail
1316 from caret events, and some interrogation of AccessibleText APIs.
1317 Commented-out the bounds-changed events by default, since they can
1320 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1322 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1323 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1324 Same here. Closes bug #167806
1326 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1328 * atk-bridge/bridge.c:
1329 (spi_atk_bridge_signal_listener):
1330 Free the any._value if any._release is TRUE,
1331 since the ORB won't do it for us in this case
1332 [because this method is not a skel].
1333 Fix for bug #168679.
1335 2005-03-30 Steve Murphy <murf@e-tools.com>
1337 * configure.in: Added "rw" to ALL_LINGUAS.
1339 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1341 * configure.in: Improved check for HAVE_XEVIE, to detect
1342 presence on XOrg, where -lXevie is a separate library.
1344 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1346 * configure.in, NEWS, README: Revved to 1.6.3.
1348 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1350 * configure.in: Added "xh" to ALL_LINGUAS.
1352 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1354 * atk-bridge/bridge.c:
1355 (atk_bridge_init): Added missing NULL in g_strconcat(),
1356 also check for symlink before logging to
1357 insecure directory. Thanks to meissner@suse.de.
1359 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1361 * tests/login-helper-server-test.c: Add return call to main
1362 function. Patch from Chris Lahey. Fixes bug #165129.
1364 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1366 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1368 2004-12-09 Bill Haneman <billh@gnome.org>
1370 * registryd/registry-main.c:
1371 Added #define <string.h> for strrchr. (bug 160862).
1372 Thanks to Vincent Berger for catching.
1374 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1376 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1377 restart registry process if the registry process is found to have died
1378 and the current process is exiting.
1379 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1380 application if the registry process has died.
1381 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1382 does not return a registry object.
1383 (spi_atk_tidy_windows): Give up if the registry process has died.
1385 This fixes problems with hangs and crashes when logging out.
1387 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1389 * registryd/desktop.c: Add checking that we are not exiting before
1390 calling spi_desktop_remove_application in
1391 abnormal_application_termination. Fix for bug #152147.
1393 2004-12-02 Bill Haneman <billh@gnome.org>
1395 * configure.in, NEWS, README: Revved to 1.6.1.
1397 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1398 * atk-bridge/bridge.c:
1399 (atk_bridge_init): Save the pid when we start, to detect forks.
1400 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1401 if we're in a forked pid.
1403 2004-10-09 Bill Haneman <billh@gnome.org>
1405 * idl/Accessibility_LoginHelper.idl:
1406 Improved inline documentation.
1408 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1410 * configure.in: Added gl (Galician) to ALL_LINGUAS
1412 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1414 * libspi/accessible.c:
1415 (impl_accessibility_accessible_get_role_name),
1416 (impl_accessibility_accessible_get_local_role_name):
1417 NULL vs. 0 cleanups.
1418 * libspi/component.c:
1419 (impl_accessibility_component_get_accessible_at_point):
1421 * libspi/eventlistener.c: (spi_event_listener_new):
1423 * libspi/stateset.c: (impl_compare): More of the same
1424 * libspi/table.c: (impl_getRowDescription): Again.
1425 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1426 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1427 (impl_generate_keyboard_event): Same.
1428 * registryd/registry-main.c: (main): Same
1429 * test/event-listener-test.c: (test_exit): Same
1430 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1431 * test/keysynth-test.c: (test_key_synthesis): Same
1432 * test/login-helper-server-test.c: (main): Fix warning.
1433 * test/screen-review-test.c: (test_exit): Fix include.
1434 * test/simple-at.c: (simple_at_exit), (_festival_init):
1437 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1439 * configure.in, NEWS, README: Revved to 1.6.0.
1441 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1443 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1444 was missing the HTML docs.
1446 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1448 * configure.in: only cleanups:
1449 - better looking PKG_CHECK_MODULES() output,
1451 - declare in one common place required versions of other tools using
1454 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1456 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1457 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1458 required ATK version accordingly.
1460 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1462 * cspi/bonobo/cspi-bonobo.c:
1463 (cspi_display_name): Fix C99ism.
1464 * atk-bridge/bridge.c:
1465 (spi_display_name): Fix C99ism.
1466 Patch from Jens Granseuer, jensgr@gmx.net.
1468 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1470 * configure.in: Added "or" to ALL_LINGUAS.
1472 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1474 * configure.in, NEWS, README: Revved to 1.5.4.
1476 * registryd/registry-main.c:
1477 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1480 * cspi/bonobo/cspi-bonobo.c:
1481 (cspi_display_name): New convenience method, gets DISPLAY with
1482 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1483 (cspi_init): Set the activation env value above before getting
1486 * atk-bridge/bridge.c:
1487 (spi_display_name): Create the AT_SPI_DISPLAY activation
1488 environment for an app, based on the DISPLAY environment with the
1489 screen number stripped off.
1490 (atk_bridge_init): Allow redirection of error messages to a log.
1491 (spi_atk_bridge_get_registry): Call
1492 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1494 Fixes for bugs #149962, #136986, #144086.
1496 2004-08-16 Christian Rose <menthos@menthos.com>
1498 * configure.in: Added "bs" to ALL_LINGUAS.
1500 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1502 * configure.in: Added nb to ALL_LINGUAS.
1504 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1507 (SPI_init): Return error code '2' if the activated
1508 registry cannot be pinged. Fixes bug #147648.
1510 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1512 * registryd/deviceeventcontroller.c:
1513 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1514 rely on timer-poll instead, to avoid conflict with
1517 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1519 * configure.in: Revved to 1.5.3.
1521 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1523 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1525 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1527 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1529 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1531 * atk-bridge/bridge.c:
1532 (spi_atk_bridge_do_registration):
1533 Register with ATK for AtkComponent:bounds-changed events.
1534 (api_atk_bridge_signal_listener):
1535 Marshal the AtkRectangle info into the event notification
1536 for object:bounds-changed events.
1539 (spi_init_any_rect): New method, inits a corba struct of
1540 type Accessibility_BoundingBox from an AtkRectangle.
1542 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1545 (SPIRect): New struct definition.
1546 (SPI_freeRect): New declaration.
1547 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1550 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1551 implemented. Gets the bounding box data from the CORBA_any
1552 associated with a bounds-changed event notification.
1553 (cspi_internal_event_get_rect): New, used internally by above method.
1556 (SPI_freeRect): Implemented this new method, for freeing
1559 * test/event-listener-test.c:
1560 (main, report_bounds_event):
1561 Added a test for object:bounds-changed events.
1563 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1565 * test/login-helper-server-test.c:
1566 (main): Fix C99-ism. Thanks to Jens Granseuer.
1568 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1570 * libloginhelper-1.0.pc.in:
1571 * idl/Accessibility_LoginHelper.idl:
1572 * login-helper/Makefile.am:
1573 * login-helper/login-helper.[ch]:
1574 * test/login-helper-client-test.c:
1575 * test/login-helper-server-test.c: Added files missing from CVS.
1576 Files obtained from at-spi-1.5.2 tarball.
1578 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1580 * configure.in: Create login-helper/Makefile.
1581 Incremented micro version.
1583 * Makefile.am: Add login-helper subdir and pkgconfig data.
1585 * login-helper: New subdir.
1587 * libloginhelper-1.0.pc.in: New.
1589 * idl/Accessibility_LoginHelper.idl: New file, defines
1590 interface whereby authentication clients can identify agents which
1591 need access to services during the login process, e.g. screen lock
1594 * login-helper/Makefile.am : New.
1596 * login-helper/login-helper.[ch] : New, implementation of
1597 a LoginHelper base class. Services needing LoginHelper can subclass.
1599 * test/Makefile.am : Added test for login-helper, client and
1602 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1603 Use proper prefix in #include files.
1605 * test/login-helper-client-test.c: New.
1607 * test/login-helper-server-test.c: New.
1609 2004-05-27 Alexander Shopov <ash@contact.bg>
1611 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1613 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1615 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1616 is positive. This should make it easier to detect inapprorpiate unref
1619 2004-05-11 James Henstridge <james@daa.com.au>
1621 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1622 no-op and deprecated.
1624 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1626 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1628 2004-04-28 Bill Haneman <billh@gnome.org>
1630 * Makefile.am: Added --enable-gtk-doc to
1631 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1633 2004-04-19 Bill Haneman <billh@gnome.org>
1635 * configure.in: Revved to 1.5.1.
1637 * registryd/deviceeventcontroller.c:
1639 (DEControllerPrivateData): Added fields for
1640 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1641 (spi_dec_replace_map_keysym): New internal utility for
1642 replacing a keysym in the keymap - used to allow
1643 synthesis of individual characters which aren't in the
1645 (spi_dec_reset_reserved): New; resets the changed keysym value
1647 (keycode_for_keysym): We now try to deal with failed
1648 XKeysymToKeycode requests by changing a keymap value
1649 and returning a reserved keycode. We now take
1650 a DEController pointer as first arg.
1651 (spi_controller_register_with_devices): Call XkbGetMap with
1652 the XkbKeySymsMask. Find the highest keycode in the current
1653 keymap which doesn't have any grabs, and mark that one for
1654 temporary re-mapping when out-of-range KeySyms are synthesized.
1655 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1658 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1660 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1662 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1664 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1666 2004-03-24 Bill Haneman <billh@gnome.org>
1669 (AccessibleTable_addRowSelection),
1670 (AccessibleTable_addColumnSelection),
1671 (AccessibleTable_removeRowSelection),
1672 (AccessibleTable_removeColumnSelection):
1673 Add declarations for spi wrappers which were
1674 inadvertantly omitted. Fixes bug #133413.
1677 Revved to 1.5.0 (unstable series for GNOME 2.7).
1679 2004-03-24 Bill Haneman <billh@gnome.org>
1681 * atk-bridge/bridge.c:
1682 Bracketed some debug output in
1683 conditionals, to avoid printing it in normal use.
1686 * libspi/hyperlink.c:
1687 Don't cast 'object' to ATK_OBJECT when constructing
1688 an AtkAction interface for a hyperlink.
1689 See discussion in bug #120659.
1691 * test/key-listener-test.c:
1692 (report_all_key_event): Send output to stderr,
1693 not stdout, for consistency with the rest of the test callbacks.
1696 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1697 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1698 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1699 try incrementing the revision AFTER doing a dist, at least
1702 2004-03-22 Bill Haneman <billh@gnome.org>
1704 * configure.in: Revved to 1.4.0, libtool 9.14.9
1706 2004-03-17 Laszlo Peter <laca@sun.com>
1708 * libspi-1.0-uninstalled.pc.in: add idldir
1710 * cspi-1.0-uninstalled.pc.in: add idldir
1712 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1714 * configure.in: Added "en_GB" to ALL_LINGUAS
1716 2004-03-15 Bill Haneman <billh@gnome.org>
1718 * configure.in: Revved to 1.3.16,
1721 2004-03-15 Laszlo Peter <laca@sun.com>
1723 * libspi-1.0-uninstalled.pc.in: new file
1725 * cspi-1.0-uninstalled.pc.in: new file
1727 * configure.in: add the new pc files to AC_OUTPUT
1729 * Makefile.am: add the new pc files to EXTRA_DIST
1731 2004-03-12 Bill Haneman <billh@gnome.org>
1733 * atk-bridge/bridge.c:
1734 (spi_atk_bridge_key_listener):
1735 Make sure to return consumed=FALSE if snoop
1736 event is not dispatched to listener.
1739 2004-03-01 Bill Haneman <billh@gnome.org>
1741 * configure.in: Revved to 1.3.15,
1744 2004-03-07 Danilo Segan <dsegan@gmx.net>
1746 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1748 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1750 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1752 2004-03-01 Bill Haneman <billh@gnome.org>
1754 * configure.in: Revved to 1.3.14.
1757 (SPI_exit): Removed "bye-bye" exit message.
1758 Moved "leak" report to happen before the
1759 iteration over the leaked refs list.
1760 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1762 2004-02-24 Bill Haneman <billh@gnome.org>
1764 * configure.in: Revved to 1.3.13.
1766 * docs/reference/cspi/Makefile.am:
1767 Correct typo that was breaking the docs build.
1769 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1771 * autogen.sh: Require version 1.7 of automake.
1773 * configure.in: call GTK_DOC_CHECK([1.0])
1775 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1777 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1779 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1781 * test/Makefile.am: Remove use of CFLAGS.
1783 This fixes bug #132987.
1785 2004-02-11 Bill Haneman <billh@gnome.org>
1787 * reverted most of Tomasz' patch below, since it was breaking
1788 builds (see bug #134058).
1790 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1792 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1793 correct pass "make dist" (empty .. because seems no sach types in
1794 header files with gtk-doc markups).
1795 * docs/reference/cspi/Makefile.am, configure.in:
1796 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1797 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1798 * Makefile.am: added:
1799 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1800 for force correct pass generate documentation on "make distcheck".
1801 * libspi/Makefile.am: fixes for automake >= 1.6.
1802 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1803 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1806 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1808 * docs/reference/cspi/Makefile.am (install-data-local): Install
1809 index.sgml since the doc autobuilder on widget.gnome.org looks for
1812 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1814 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1817 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1819 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1821 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1823 * test/simple-at.c: Fixed null string problems that cause core
1824 dumping problems on Solaris.
1826 2004-01-12 Bill Haneman <billh@gnome.org>
1828 * configure.in: Incremented version to 1.3.11.
1830 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1832 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1833 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1836 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1838 * configure.in: Added "fa" to ALL_LINGUAS.
1840 2003-12-20 Arafat Medini <lumina@silverpen.de>
1842 * configure.in: Added "ar" to ALL_LINGUAS
1844 2003-12-16 Bill Haneman <billh@gnome.org>
1846 * registryd/registry-main.c:
1848 Set the reg_env DISPLAY variable before registering the
1849 activated registry service. Fixes bug #129479.
1851 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1853 * configure.in: Added "id" in ALL_LINGUAS
1854 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1856 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1858 * registryd/deviceeventcontroller.c (global_filter_fn):
1859 When an event is consumed discard any XEvents were added to
1860 the queue while dealing with the the event. This can happen if
1861 processing of the event takes a long time. Call XUngrabKeyboard
1862 if an event was discarded. This fixes bug $124837.
1863 Only call wait_for_release_event for a KeyPress.
1864 Use local variable display instead of spi_get_display().
1865 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1868 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1870 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1871 Allow for mask to contain values other than NumLock mask.
1874 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1876 * registryd/devieceventcontroller.c:
1877 (wait_for_release_event): Change first parameter from GdkEvent to
1879 (global_filter_fn); Correct call to wait_for_release_event.
1883 2003-12-08 Bill Haneman <billh@gnome.org>
1887 * registryd/ucs2keysym.c: New file.
1889 * registryd/deviceeventcontroller.c:
1890 (dec_keysym_for_unichar): Remove old partial implementation and
1891 replace with call to ucs2keysym(), which is much more complete.
1892 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1897 2003-12-05 Bill Haneman <billh@gnome.org>
1899 * configure.in: Version 1.3.9.
1901 * docs/reference/cspi/tmpl/spi_registry.sgml:
1902 Added reference to libspi/keymasks.h to the
1903 description of Registry queries: AccessibleKeyMaskType.
1906 2003-12-04 Bill Haneman <billh@gnome.org>
1908 Fix for bug #121974.
1910 * idl/Accessibility_Application.idl:
1911 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1912 setlocale's LC_TYPEs.
1913 (Accessibility::Application::getLocale): New method.
1914 Allows clients to query the locale, by type, of an app.
1917 * cspi/spi_application.c:
1918 (AccessibleApplication_getLocale): New method, wraps IDL above.
1920 * libspi/application.c:
1921 (spi_application_class_init): Init epv entry for getLocale.
1922 (impl_accessibility_application_get_locale): Impl for above.
1924 * test/test-simple.c:
1925 (test_application): Added assertion for getLocale, i.e.
1926 that the string from AccessibleApplication_getLocale (app, type)
1927 is the same as that from setlocale (type, NULL);
1929 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1931 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1932 the keyboard on a timeout intil the key state goes from pressed to
1933 released. Fixes bug #111429.
1935 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1937 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1938 root object so that it is present when a context menu in an
1939 out-of-process applet is popped up.
1940 (spi_atk_bridge_do_registration): Create acceessible application root
1941 object only if it does not exist.
1943 This fixes bug #125834.
1945 2003-12-01 Bill Haneman <billh@gnome.org>
1947 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1950 Added enum for AccessibleStreamableContentSeekType.
1951 (AccessibleStreamableContent_freeContentTypeList): New.
1953 * cspi/spi_streamablecontent.c:
1954 (accessible_bonobo_stream_client_seek): New private method.
1955 (AccessibleStreamableContent_seek): Implemented this method,
1956 using Bonobo_Stream_seek.
1957 (AccessibleStreamableContent_freeContentTypeList): New method
1958 for freeing the return value from
1959 AccessibleStreamableContent_getContentTypes.
1960 (stream_cache_item_free): Replaces stream_release; stop leaks.
1961 (stream_release): removed.
1962 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1963 free the memory properly.
1965 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1967 Fix for bug #116009.
1969 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1971 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1973 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1975 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1977 2003-12-01 Bill Haneman <billh@gnome.org>
1979 Fix for bug/rfe #127463.
1981 * idl/Accessibility_Accessible.idl:
1982 (getLocalizedRoleName): New.
1983 (unimplemented4): Removed (replaced by above).
1985 * libspi/accessible.c:
1986 (impl_accessibility_accessible_get_local_role_name): New.
1987 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1991 (Accessible_getLocalizedRoleName): New.
1993 * cspi/spi_accessible.c:
1994 (Accessible_getLocalizedRoleName): New.
1996 2003-12-01 Bill Haneman <billh@gnome.org>
1998 Fix for bug #118581.
1999 * idl/Accessibility_Text.idl:
2000 (getDefaultAttributes): New.
2001 (unimplemented4): Removed (replaced by above method).
2004 (impl_getDefaultAttributes): New method.
2005 (spi_text_class_init):
2006 initialize the get_default_attributes slot in the epv.
2009 (AccessibleText_getDefaultAttributes): New prototype.
2012 (AccessibleText_getDefaultAttributes): New method.
2014 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
2016 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
2017 write beyond the end of the table. Fixes bug #120473.
2019 2003-09-30 Christian Rose <menthos@menthos.com>
2021 * configure.in: Added "eu" to ALL_LINGUAS.
2023 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
2025 * configure.in: ALL_LINGUAS: Added no.
2027 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
2029 * configure.in: Added lt to ALL_LINGUAS.
2031 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
2033 * atk-bridge/bridge.c:
2034 (atk_bridge_init): Register event listeners always even for
2035 out-of-process applet.
2036 (spi_atk_bridge_toplevel_added): Remove call to
2037 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
2038 (spi_atk_bridge_toplevelk_removed): Remove call to
2039 spi_atk_deregister_event_listenersa as the listeners are now always
2041 (spi_atk_bridge_register_application): Remove call to
2042 spi_atk_register_event_listeners as it is not done in atk_bridge_init
2044 This fixes bug #120991.
2046 * libspi/table.c (impl_getColumnDescription): Correct typo,
2047 pointed out by Bolian.Yin@sun.com.
2049 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
2051 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
2053 2003-09-08 Bill Haneman <billh@gnome.org>
2055 * configure.in: Revved to 1.3.7.
2057 This is the GNOME 2.4.0 release of at-spi.
2059 * docs/reference/cspi/Makefile.am:
2060 Removed spurious inclusion of 'index.sgml' in the
2061 html directory; this was breaking make distcheck and
2062 also some other build environments.
2064 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
2066 * registryd/registry.[ch}:
2067 Add queue_handler_id and focus_object to SpiRegistry data structure.
2068 (registry_flush_event_queue): If event being discarded is
2069 "state-change:focused" store object as focus_object.
2070 (registry_start_queue): Remove queue handler and focus object
2072 (registry_discard_event): New function which discards a focus event
2073 if we had stored focus object in the registry.
2074 (registry_queue_event): Add new check that is_queueing is set as this
2075 function is reentrant.
2076 (registry_filer_event): Add call to registry_discard_event.
2078 This resolves issues raised in bug #108664.
2080 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
2082 * configure.in: Added "bn" to ALL_LINGUAS.
2084 2003-09-04 Bill Haneman <billh@gnome.org>
2086 * cspi/spi_event.c: Documentation improvements for
2087 (SPI_registerAccessibleKeylistener).
2089 * docs/reference/tmpl/spi_registry.sgml:
2090 Documentation improvements for SpiAccessibleKeylistenerCB.
2092 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2094 * configure.in: Added "ro" to ALL_LINGUAS.
2097 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2099 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2100 not decremented to zero. Fixes bug #120725.
2102 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2104 * configure.in: Added "ja" to ALL_LINGUAS.
2106 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2108 * configure.in: Added "is" to ALL_LINGUAS.
2110 2003-08-22 Christian Rose <menthos@menthos.com>
2112 * configure.in: Added "nl" to ALL_LINGUAS.
2114 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2116 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2117 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2119 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2121 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2122 type for unspecified exception.
2123 * cspi_streamablecontect): Add include of string.h for memcpy.
2124 (stream_release): Correct call to bonobo_object_release_unref
2125 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2126 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2127 argument of _cspi_expection_throw.
2128 * libspi/hyperlink.c: Add include of libspi/action.h:
2129 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2130 * libspi/streamablecontent.c: add include of libspi/component.h.
2131 * regisrtyd/deviceeventcontroller.c:
2132 (spi_dec_translate_mask): Removed unused variable priv.
2133 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2134 * registryd/registry.c:
2135 (registry_filter_event): Remove unused variable queue_is-empty.
2136 (impl_registry_notify_event): Use correct modifier in fprintf call.
2138 This fixes compiler warnings reported in bug #120220.
2140 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2142 * registryd/registryd.c: Remove this file.
2144 2003-08-17 Sanlig Badral <badral@openmn.org>
2146 * configure.in: Added mn to ALL_LINGUAS.
2148 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2150 * configure.in: Added et to ALL_LINGUAS.
2152 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2154 * test/event-listener-test.c: Change active-descendant to
2155 active-descendant-changed.
2157 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2159 * configure.in: Added "fi" in ALL_LINGUAS.
2161 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2163 * configure.in: Added "hi" in ALL_LINGUAS.
2165 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2167 * configure.in: Revved to 1.3.6.
2171 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2173 * registryd/deviceeventcontroller.c
2174 (spi_device_event_controller_object_finalize): Fix typo in previous
2177 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2179 * registryd/deviceeventcontroller.c
2180 (spi_device_event_controller_object_finalize): Fix build on
2181 systems without XEvIE.
2183 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2185 * acconfig.h, configure.in, registryd/Makefile.am,
2186 registryd/devicecontoller.[ch]: Add XEViE support.
2188 2003-08-06 Wang Jian <lark@linux.net.cn>
2190 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2192 2003-08-06 Metin Amiroff<metin@karegen.com>
2194 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2196 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2198 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2199 MODIFIER_ALT in correct place.
2201 This fixes part of bug #118114.
2203 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2205 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2207 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2209 * configure.in: Added "ko" to ALL_LINGUAS.
2211 2003-07-28 Ole Laursen <olau@hardworking.dk>
2213 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2215 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2217 * configure.in: Added "sq" to ALL_LINGUAS.
2219 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2221 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2223 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2225 * configure.in: updated ALL_LINGUAS list
2227 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2229 * configure.in: Added Belarusian to ALL_LINGUAS.
2231 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2233 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2235 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2236 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2238 This fixes bug #116949.
2240 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2242 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2243 Correct CSPI to SPI in function documentation.
2245 This fixes bug #118054.
2247 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2249 * configure.in: Added Russian to ALL_LINGUAS.
2251 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2253 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2255 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2257 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2259 2003-07-10 Joel Brich <joel.brich@laposte.net>
2261 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2263 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2265 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2267 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2269 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2270 resources allocated for AccessibleEvent. See cspi_event().
2272 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2273 static variable streams to NULL.
2275 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2276 Update so that AcessibleEvent_ref will work.
2278 This fixes bug #116624.
2280 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2282 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2284 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2286 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2288 2003-07-02 Christian Neumair <chris@gnome-de.org>
2290 * configure.in: Added "de" (German) to ALL_LINGUAS.
2292 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2294 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2296 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2298 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2300 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2302 * configure.in: Added "pl" to ALL_LINGUAS.
2304 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2306 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2308 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2311 (get_action_from_servant):
2312 Removed assertion that action is implemented on an AtkObject.
2314 * libspi/hyperlink.c:
2315 (spi_hyperlink_new):
2316 Aggregate AccessibleAction interface on the hyperlink object if
2317 the object implements AtkAction. (This convention is used in
2320 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2322 * configure.in: Revved to 1.3.5.
2324 * registryd/Accessibility_Registry.server.in.in:
2325 Marked up appropriate strings for translation.
2327 * atk-bridge/bridge.c: Marked a couple of
2328 user-visible warnings for translation. Questionable
2329 whether they are really useful, but possibly so.
2332 2003-06-28 Christian Rose <menthos@menthos.com>
2334 * configure.in: Added "sv" to ALL_LINGUAS.
2336 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2338 * registryd/registry.c:
2339 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2340 (registry_defer_on_event): Defer focus: events, this is an
2341 improvement to the patch for bug #108664.
2343 * TODO: Update with 2.4/"Dev Complete" items.
2345 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2347 * atk-bridge/bridge.c:
2348 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2349 looks up signals once.
2350 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2351 if doing registration.
2352 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2353 when doing registration.
2355 This fixes bug #115014.
2357 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2359 * atk-bridge/bridge.c:
2360 (atk_bridge_init): Add signal handler for children-changed:remove on
2361 root when in a BonoboComponent.
2362 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2363 for first toplevel only other incrememt variable toplevels.
2364 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2365 application and remove listeners.
2366 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2368 (spi_atk_deregister_event_listeners): New function which removes
2370 (reinit_register_vars): New fuction which reinitializes variables.
2372 This fixes bug #111578.
2374 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2376 * configure.in: version 1.3.4.
2378 * cspi/spi_accessible.c:
2379 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2382 2003-06-13 Michael Meeks <michael@ximian.com>
2384 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2386 * cspi/spi_main.c (cspi_peek_ev): impl.
2388 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2390 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2392 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2394 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2395 SPI_ROLE_AUTOCOMPLETE
2397 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2399 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2400 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2402 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2404 * libspi/streamablecontent.h:
2405 * libspi/streamablecontent.c:
2406 New files, provide implementation/wrappers for
2407 Accessibility_StreamableContent.
2409 * cspi/spi_streamablecontent.c:
2410 Connected the C wrappers to the libspi C bindings.
2411 (AccessibleStreamableContent_close): New method.
2414 (AccessibleStreamableContent_close): New method, needed
2415 since we have an "open, [seek], read, close" model in cspi.
2417 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2419 Fix for #108664; Padraig's revision of my original patch.
2421 * registryd/registry.h:
2422 Added event queue list, is_queuing, and exit_notify_timeout
2423 to the registry struct.
2425 * registryd/registry.c:
2426 (registry_init): Initialize new struct from registry.h.
2427 (impl_registry_notify_event):
2428 Filter events before notifying, in case some need to be
2430 (registry_filter_event): New,
2431 we defer certain incoming events (for instance
2432 window:deactivate) because we may wish to hide
2433 or reject them based on pending events. This is
2434 mostly a workaround for bug #108664.
2435 (registry_queue_event, registry_start_queue): New.
2436 (registry_defer_on_event): Test event to see if it
2438 (registry_reset_on_event): Returns TRUE if the
2439 event should cause a queue reset.
2440 (registry_discard_on_event): Returns TRUE if the event
2441 should cause the previous queue contents to be discarded.
2442 (registry_timeout_flush_queue): Flushes the pending event
2443 queue if no reset/discard-triggering events have come in
2444 within the timeout period.
2445 (registry_emit_event): New.
2446 (registry_clone_notify_context): New, used when queueing the
2447 event notify contexts.
2449 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2451 * configure.in: Version revved to 1.3.2, lt 0.9.2
2452 Incremented ATK required version to 1.3.4.
2454 * cspi/spi_registry.c:
2455 (SPI_generateKeyEvent):
2456 We now pass the keystring along if it's non-null.
2458 * registryd/deviceeventcontroller.c:
2459 (keysym_mod_mask): New method, returns modifier mask
2460 required to generate a keysym from a given keycode.
2461 (dec_synth_keysym): New method.
2462 (dec_synth_keystring): New method.
2463 (dec_get_modifier_state): New method.
2464 (dec_lock_modifiers): New
2465 (dec_unlock_modifiers): New.
2466 (dec_keysym_for_unichar): New, rather brute-force
2467 conversion from UCS-4 to X KeySyms. Only works for
2468 Latin at the moment, with partial implementations for
2469 Greek, Hebrew, and (incomplete) Katakana.
2470 (impl_generate_keyboard_event): Now implement
2471 "KEYSTRING" synthesis and implement "KEYSYM"
2473 (keycode_from_keysym): Improved, passes a returned
2474 modmask value now if the corresponding param is non-NULL.
2476 Fixes bugs #92143 and #109776.
2479 * test/keysynth-test.c:
2480 New test program for key synthesis, to confirm fixes for
2484 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2486 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2488 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2489 Add line for RELATION_POPUP_FOR
2491 * docs/reference/cspi/tmpl/spi_relation.sgml:
2492 Add relation SPI_RELATION_POPUP_FOR
2494 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2495 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2497 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2499 * libspi/relation.c (spi_init_relation_type_table):
2500 Add line for RELATION_POPUP_FOR
2502 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2504 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2505 there are still windows which have not been deleted and emit
2506 window:deactivate, if necessary and window:destroy events.
2507 This fixes bug #114370. The change on June 5th was not correct.
2509 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2511 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2514 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2516 New methods for client exception handling and interception.
2517 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2518 (SPI_exceptionHandlerPop): You guessed it...
2519 (SPI_getSourceType): Return the type of object which offended.
2520 (SPI_getExceptionCode): Return an enum code telling, possibly,
2521 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2522 (SPIAccessibleException_getSource): get the source object for
2523 exceptions that come from Accessibles, if SPIExceptionSourceType is
2524 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2525 (SPIException_getDescription): New, returns a string description of
2526 the problem. [Not yet a stable ABI, strings are not frozen]
2528 * cspi/spi-private.h:
2529 Added implementation details of opaque SPIException
2533 Implementations of above. Also
2534 (_cspi_exception_throw): new private method that
2535 dispatches exceptions to handlers, called from cspi-bonobo.c
2537 * cspi/bonobo/cspi-bonobo.c:
2538 (cspi_check_ev): call _cspi_exception_throw.
2539 Don't print a warning message if the exception has been
2540 handled by _cspi_exception_throw.
2542 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2544 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2545 there are still windows which have not been deleted and emit
2546 window:deactivate, if necessary and window:destroy events.
2547 This fixes bug #114370.
2549 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2552 (cspi_accessible_is_a): Make non-fatal
2553 if the object reference is dead.
2555 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2557 * cspi/spi_main.c: #include <stdio.h>
2558 * test/simple-at.c: ditto
2559 * test/event-listener-test.c: ditto
2560 * test/screen-review-test.c: ditto
2562 2003-05-30 Michael Meeks <michael@ximian.com>
2564 * test/test-simple.c (main): use CORBA_ORB_perform_work
2565 instead of an unnecessary linc_ call.
2567 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2569 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2570 Add SPI_STATE_INDETERMINATE.
2572 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2575 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2577 * libspi/stateset.c (init_state_type_tables): Add support for
2580 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2582 * configure: Update versions of atk and gail required.
2583 This fixes bug #113268.
2585 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2587 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2589 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2591 * libspi/Makefile.am:
2592 Ensure headers are generated before being used by c sources.
2594 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2597 Simplified lt versioning rules.
2598 Incremented version to 1.3.0, to indicate that we're on the
2599 unstable branch now.
2601 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2603 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2604 Add MKDB_OPTIONS=--outtput-format=xml
2606 * docs/reference/cspi/at-spi-cspi-docs.sgml
2607 docs/reference/idl/at-spi-idl-docs.sgml:
2608 Convert to Docbook XML.
2610 This fixes bug #111793.
2612 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2614 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2615 AcccessibleKeyEventType, AccessibleKeyMaskType.
2617 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2619 * cspi/state-types.h: Add documentation for AccessibleState.
2621 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2622 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2623 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2624 AccessibleComponentLayer.
2626 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2629 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2631 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2632 Accessible. Add description of AccessibleEvent,
2633 AccessibleEventListenerCB.
2635 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2638 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2639 documentation. Add description of AccessibleKeystrokeListenerCB,
2640 AccessibleKeyEventMask, AccessibleModifierMaskType,
2641 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2642 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2644 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2647 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2650 This fixes bug #104730.
2652 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2654 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2655 Set is_text field of Accessibility_DeviceEvent data structure.
2657 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2658 is-text field of AccessibleDeviceEvent data structure.
2660 This addresses part of bug #108666.
2662 * registryd/devcieeventcontroller.c: Unset debug option.
2664 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2666 * cspi/accessible.c:
2667 (cpi_initial_relation_type_table): New function which initializes
2668 mapping between Accessibility_RelationType and AccessibleRelationType.
2669 (cspi_relation_type_from_spi_relation_type): New function which
2670 translates an Accessibility_RelationType into an AccessibleRelationType.
2671 (AccessibleRelation_getRelationType): Use
2672 cpi_relation_type_get_spi_relation_type to return correct value.
2673 (spi_state_to_corba): Return correct type for default case.
2675 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2676 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2678 * cspi/cspi-bonobo-listener.c:
2679 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2682 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2683 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2684 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2685 libspi/image.c, libspi/listener.c, libspi/selection.c,
2686 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2687 registryd/desktop.c, registryd/registry.c:
2688 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2690 * libspi/eventlistener.c
2691 Remove semicolon after BONOBO_TYPE_FUNC.
2693 * libspi/relation.c:
2694 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2695 (spi_init_relation_type_table): Initialize using correct type.
2697 * registryd/desktop.c:
2698 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2699 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2700 of Accessibility_KeyEventType.
2702 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2705 * tests/simple-at.c, tests/screen-review-test.c:
2706 Add include for <strings.h>.
2708 * tests.stress-test.c:
2709 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2711 These changes fix compiler warnings when using FORTE compiler on
2712 Solaris; fixes bug #107479.
2715 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2718 * configure.in: revved to 1.1.10
2720 * libspi/keymasks.h:
2721 (SPI_KEYMASK_NUMLOCK): Added.
2723 * registryd/deviceeventcontroller.c:
2724 (spi_key_event_matches_listener): AND with a smaller
2725 bitmask (as we should).
2726 (spi_dec_translate_mask):
2727 New method, sets the virtual NumLock modifier bit
2728 if numlock is on. Eventually it can handle other virtual
2729 modifier bits if needed, or other marshalling from
2730 at-spi modifier masks to platform (X) masks.
2731 (spi_dec_key_listener_new):
2732 Call spi_dec_translate_mask to set up virtual mod bits
2733 in the 'mask' field when creating a new listener struct.
2734 (spi_dec_emit_modifier_event):
2735 Set the virtual (i.e. NumLock) bits before emitting event.
2736 (spi_controller_register_with_devices):
2737 Query for the NumLock modifier 'physical' bit if Xkb is
2738 present, for use in above methods.
2742 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2744 * registryd/deviceeventcontroller.c:
2745 (spi_keystroke_from_x_key_event):
2746 Instead of checking to see if the keysym is
2747 printable, check the string from XLookupString
2748 if available, get the first unicode character from it,
2749 and call g_unichar_isprint to determine whether the
2750 is_text flag should be TRUE or FALSE.
2754 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2756 * atk-bridge/bridge.c: Add support for extended events
2757 * cspi/spi_event.c: Add documentation and implementation for
2759 * tests/event-listener-test.c: Add tests for extended events.
2761 This fixes bugs #100424 and #100426.
2763 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2765 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2766 of LT_CURRENT. This fixes bug #89350.
2768 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2770 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2771 number of signal parameter values before accessing them. This fixes
2774 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2776 * configure.in: Fixed duplicate inclusion of -lspi.
2777 * branched for gnome-2-2/HEAD.
2778 [created tag "gnome-2-2"]
2780 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2782 * configure.in: 1.1.9 release.
2785 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2787 [needed by GOK, to fix bugs 107985 and 107988]
2788 * registryd/deviceeventcontroller.c:
2789 (spi_dec_clear_unlatch_pending):
2790 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2791 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2792 (spi_dec_init_mouse_listener):Emit warning if mouse button
2794 (spi_device_event_controller_forward_mouse_event):
2795 Removed unnecessary parens from a conditional.
2796 (global_filter_fn):Added TODO comment.
2797 (impl_generate_keyboard_event):
2798 Cancel a pending relatch if a 'delatching' key was
2801 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2803 * atk-bridge/bridge.c:
2804 Change atk_signal_child_changed to atk_signal_children_changed.
2805 Reorganize code in spi_atk_bridge_signal_listener().
2807 * test/event-listener-test.c:
2808 Add children_changed_listener and report_children_changed_event()
2809 to test AccessibleChildEvent_getChildAccessible.
2811 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2813 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2814 g_strdup to CORBA_String_dup (bug #105291)
2816 * test/event-listener-test.c (report_text_event): Add call to
2819 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2821 * registryd/deviceeventcontroller.c:
2822 (spi_keystroke_from_x_key_event):
2823 Fix string and keysym return codes to match modifier state.
2826 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2828 * registryd/deviceeventcontroller.c:
2829 (spi_keystroke_from_x_key_event):
2830 Fix segv due to improper use of isprint(c). [bug #107254]
2832 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2835 (get_accessible_text_boundary_type):
2836 Move default return value to (new) default case in switch.
2837 (get_accessible_text_clip_type):
2838 Move default return value to (new) default case in switch.
2840 * libspi/application.c:
2841 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2842 Remove unused methods.
2843 (impl_accessibility_application_register_object_event_listener):
2844 Remove unused methods.
2847 Added #include of <math.h>.
2849 * registryd/deviceeventcontroller.c:
2850 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2851 we don't currently use this method.
2852 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2854 (impl_generate_key_event):
2855 Remove unused variables.
2856 (impl_generate_mouse_event):
2857 Initialize button to zero, just in case we get an invalid
2858 input. Added support for mouse buttons 4 and 5.
2859 (spi_device_event_controller_new):
2860 Removed unused variable declaration for 'private'.
2862 Added #include of <gdk/gdk.h>
2864 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2866 * configure.in: Update to work when X is not installed in expected
2867 location. Fixes bug #105836.
2869 * atk-bridge/bridge.c
2870 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2872 (spi_atk_register_event_listener): Add signal listener for
2874 (spi_atk_bridge_signal_listener): Event event when link-selected
2875 signal is emitted. (bug #104622)
2877 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2878 on returned string. (bug #105291)
2880 * test/event-listener-test.c: Add test for link-selected.
2882 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2884 * atk-bridge/Makefile.am: Correct typo in previous commit.
2886 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2888 * atk-bridge/Makefile.am: Allow for build directory to be different
2889 from source directory
2891 * registryd/Makefile.am: Allow for build directory to be different
2892 from source directory
2896 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2899 Fixed dependencies for libcspi so that libspi gets pulled in
2900 properly. Fixes 104741.
2904 Clean up inline docs a little.
2906 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2908 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2909 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2910 the AtkObject within an SpiDesktop.
2911 This addresses bug #101524.
2913 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2914 Remove call to gdk_init().
2916 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2917 so that Display is set when SpiDesktop is created.
2919 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2921 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2922 This fixes bug #102830.
2924 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2926 * test/test-simple.c: Update to take account of fact that GailButton
2927 now implements AtkText.
2928 (create_text_window): Set name on AtkObject for GtkEntry.
2929 (validate_accessible): Check accessible name before calling test_text().
2931 * libspi/Makefile.am: Fix problem with building outside of source
2932 directory. Bug #98120.
2934 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2935 typo in documentation comments. Bug #94275.
2937 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2939 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2941 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2944 Add includes to avoid compiler warnings on Solaris.
2945 (impl_getRangeExtents): Bug fix.
2947 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2949 Fix for 100944, [API addition approved by Gman and murrayc].
2956 * idl/Accessibility_Text.idl:
2957 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2958 (Text::getRangeExtents): New method for efficient
2959 bounds query of a text range.
2960 (Text::getBoundedRanges): New method for efficient
2961 clipping of text to bounding boxes.
2962 (unImplemented7, unImplemented8):
2963 Removed these padding methods to preserve bincompat.
2966 (impl_getRangeExtents): implementation of new IDL.
2967 (impl_getBoundedRanges): implementation of new IDL.
2968 (SpiTextRect): Internal use struct.
2969 (_spi_text_rect_union): internal method, calculates union of two
2970 SpiTextRect bounding rects.
2971 (_spi_text_range_seq_from_gslist): internal method, allows us
2972 to build our sequence efficiently as a gslist then convert it
2974 (_spi_bounds_contain): internal method, determines whether
2975 a text character is "in" or "out" of a clip rect according to
2976 values of TEXT_CLIP_TYPE.
2977 (spi_text_class_init): Initialize the new methods in the epv.
2980 (AccessibleTextClipType): New enum used by screen review api.
2981 (AccessibleTextRange): New struct used by screen review api.
2982 (AccessibleText_getRangeExtents):
2983 cspi binding for Accessibility_Text_getRangeExtents.
2984 (AccessibleText_getBoundedRanges):
2985 cspi binding for Accessibility_Text_getBoundedRanges.
2986 (AccessibleTextRange_freeRanges): convenience method.
2989 (AccessibleText_getRangeExtents):
2990 cspi binding for Accessibility_Text_getRangeExtents.
2991 (AccessibleText_getBoundedRanges):
2992 cspi binding for Accessibility_Text_getBoundedRanges.
2993 (AccessibleTextRange_freeRanges): convenience method.
2994 (get_accessible_text_clip_type): internal conversion method.
2995 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2997 * registryd/deviceeventcontroller.c:
2998 (spi_dec_mouse_check):
2999 Improved behavior for mouse:abs events
3000 [same granularity as mouse:rel events, and no
3001 events when mouse is idle].
3003 2002-12-16 Michael Meeks <michael@ximian.com>
3005 * cspi/spi_accessible.c (spi_state_to_corba): rename.
3007 * libspi/stateset.c (state_spi_to_atk): split out
3008 ( fix several remote array bounds nasties )
3009 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
3010 (impl_remove): make safe from array bounds issues.
3011 (spi_atk_state_from_spi_state): impl.
3013 * libspi/stateset.h (spi_state_set_cache_is_empty):
3014 add a set of wrapper defines to get layering right.
3016 * cspi/spi_accessible.c: update state set stuff to
3019 2002-12-14 Michael Meeks <michael@ximian.com>
3021 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
3022 to avoid 2 roundtrips to the registry per key event
3023 (spi_atk_bridge_key_listener): upd.
3024 (deregister_application): release the dec.
3026 * registryd/registry.c (notify_listeners_cb):
3027 bin lots of re-enterant complexity - we no longer
3028 do a round-trip bonobo ref here, ensure that a single
3029 listener's exception failure won't poison all other
3031 (impl_registry_notify_event): bin obvious memory leak.
3033 2002-12-13 Michael Meeks <michael@ximian.com>
3035 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
3036 init the ev so the error is meaningful.
3037 (spi_atk_bridge_key_listener): ditto.
3039 * cspi/spi_main.c (cspi_ev): init the ev so we start
3040 with a clean slate, otherwise the first exception
3041 kills us completely.
3043 * cspi/spi_text.c (get_accessible_text_boundary_type):
3044 add a fallthrough for no warnings.
3046 * cspi/spi_registry.c: prune unused warnings.
3048 * cspi/spi_main.c (cspi_object_take): fix
3049 mind-blowing brokenness ( by watching the compile
3052 * cspi/spi_accessible.c (Accessible_getStateSet):
3053 re-impl. to use an AtkStateSet.
3054 (spi_state_type_from_accessible_state),
3055 (init_state_table): bin these.
3057 * libspi/stateset.c (spi_atk_state_set_from_sequence):
3059 (atk_state_set_from_accessibility_state_set): here.
3061 * cspi/spi_accessible.c (spi_state_to_atk): impl.
3062 (AccessibleStateSet_contains, AccessibleStateSet_ref),
3063 (AccessibleStateSet_unref, AccessibleStateSet_contains),
3064 (AccessibleStateSet_add, AccessibleStateSet_remove),
3065 (AccessibleStateSet_equals, AccessibleStateSet_compare),
3066 (AccessibleStateSet_isEmpty): re-write to use a local
3069 2002-12-13 Bill Haneman <bill.haneman@sun.com>
3071 * configure.in: Revved to 1.1.7 (new keymask vals).
3073 2002-12-10 Bill Haneman <bill.haneman@sun.com>
3075 * libspi/keymasks.h:
3076 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
3078 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
3081 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
3082 to compare two CORBA_TypeCodes.
3083 (cspi_internal_event_add): Silence warning from FORTE compiler.
3085 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
3086 avoid implicit declaration of functions.
3088 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3090 * atk-bridge/bridge.c:
3091 (spi_atk_bridge_init_event_type_consts): Store signal id for
3092 active-descendant-changed signal.
3093 (spi_atk_register_event_listeners): Add signal listener for
3094 active-descendant-changed signal,
3095 (spi_atk_bridge_signal_listener): Move code in function
3096 spi_atk-signal_emit_event() into this function.
3097 Add support for active-descendant-changed
3098 Update support for child-changed signal.
3099 (spi_bridge_window_event_listener): Silence warning.
3101 * libspi/spi_private.[ch]:
3102 (spi_init_any_object): Change second parameter from CORBA_Object to
3104 Omit call to CORBA_Object_duplicate().
3105 Set CORBA_any's _value to CORBA_Object*.
3107 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3113 (AccessibleEvent_ref, AccessibleEvent_unref):
3114 New methods, for persisting an event outside the emission context.
3115 Must be used if the new accessor methods are to be called
3116 outside of the event listener's callback.
3118 * cspi/bonobo/cspi-bonobo.c:
3119 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3120 as second parameter instead of NULL, so we can call
3121 cspi_check_ev afterwards.
3124 (cspi_object_take): New internal method,
3125 converts a CORBA_Object reference to a hard ref on
3126 an Accessible if possible, returning NULL if the object
3127 reference is invalid or an Accessible * otherwise.
3130 (AccessibleEvent_ref):
3131 Increment the event's internal private refcount, and
3132 add the event's internal struct to an internal cache
3133 if it's not already there.
3134 (AccessibleEvent_unref):
3135 Decrement the event's refcount and remove it from
3136 the cspi event cache if refcount==0.
3137 (cspi_event_compare): New private method.
3138 Compares two event structs via their ids. Used
3140 (cspi_internal_event_lookup): New private method.
3141 (cspi_internal_event_check): New private method,
3142 a 0-order sanity check for events to make sure their
3143 private data is intact.
3144 (cspi_internal_event_add, cspi_internal_event_remove):
3145 New private methods for managiing the event cache.
3147 * cspi/bonobo/cspi-bonobo-listener.c:
3149 Initialize the new private data elements (id, magic, ref_count).
3151 * atk-bridge/bridge.c:
3152 (spi_atk_bridge_signal_listener):
3153 Fixed bug #100530, passing wrong params to emission func.
3155 * registryd/deviceeventcontroller.c:
3156 (spi_dec_button_update_and_emit):
3157 Fixed type in mask bit operations; fix for #99799.
3159 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3161 Removed some of the more dangerous workarounds from
3162 previous commit; they are only needed by GOK, which
3163 in reality should be using another method to accomplish
3164 the goals. So on reconsideration some of the workarounds
3165 need to be reverted:
3167 * registryd/deviceeventcontroller.c:
3168 (spi_keycodes_contain, spi_dec_init_keycode_list):
3169 Removed these methods, used only by a nasty hack to try
3170 and detect whether a key synthesis should be allowed
3171 to reset the XKB latch state or not. This code was only
3172 required to work around an interaction between GOK,
3173 button events, and XKB.
3174 (impl_generate_key_event):
3175 Removed hack at end of key generation that tried to
3176 "do the right thing" if XKB latch keys were generated
3177 in the midst of button press/release pairs.
3180 Added a check for HAVE_XINPUT. Not normally used yet.
3182 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3184 Workarounds and fixes for mouse event/XKB interaction.
3186 * registryd/deviceeventcontroller.c:
3187 (spi_keycodes_contain, spi_dec_init_keycode_list):
3188 New internal methods.
3189 (spi_dec_set_unlatch_pending):
3190 Split the method that tells XKB to expect an
3191 unlatch (and revert it) out of the rest of the
3192 event handling code. This method is called by the
3193 two mouse event handlers (the poll and the filter).
3194 (spi_dec_update_and_emit, spi_dec_mouse_check):
3195 New methods split from spi_dec_poll_mouse_moved.
3196 The second one is now called from inside the filterFn
3197 when an XKB delatch event is received, to determine
3198 whether to revert the delatch or not.
3199 (spi_poll_mouse_moved): Refactor; also we can now
3200 properly handle the case where multiple button states
3201 have changed between polling cycles and we didn't get
3202 notified due to another client's grab.
3204 Synchronize the server while handling an XKB notification.
3205 Ugly, but apparently necessary to avoid nasty races.
3206 Check the mouse state on receipt of an XKB latch change,
3207 to decide whether to revert the latch or not. (Latches are
3208 reverted if there is an immediately preceding mouse button
3209 event that a client has consumed, in which case we don't want
3210 the user to see the side-effect of the event).
3211 (spi_device_event_controller_forward_mouse_event):
3212 Check for modifier events and fire before resetting mouse_mask_state,
3213 prevents losing modifier events.
3215 (impl_generate_keyboard_event):
3216 If we've just generated a keyboard event for a non-shift key,
3217 we don't want to revert the pending XKB latch.
3218 Otherwise, check the modifier state (via a call to
3219 spi_dev_mouse_check) and set the relatch mask to
3220 that state before returning.
3222 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3225 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3228 * atk-bridge/bridge.c:
3229 (spi_atk_register_event_listeners):
3230 Don't re-register for ATK events if the registry has died
3231 and the app needs to re-register; the ATK listeners are in
3232 process and doing so will cause duplicate emission.
3234 * registryd/deviceeventcontroller.c:
3235 (spi_poll_mouse_moved):
3236 Reformat the source, detect and emit multiple button-change
3237 events (i.e. if multiple buttons have changed between poll
3239 Add code to detect mouse-down events even when the pointer
3240 is grabbed; workaround for GOK bug 98420.
3241 (spi_controller_register_with_devices):
3242 Call XTestGrabControl with 'impervious' flag set to True,
3243 allows us to synthesize events and query the pointer even during
3244 an active grab by another client.
3245 (spi_device_event_controller_forward_mouse_event):
3246 Set the mouse_mask_state to the mouse_button_state from
3247 the intercepted event, to synchronize the grab listener with
3250 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3252 * cspi/spi_accessible.c:
3253 (AccessibleRole_getName):
3254 Added necessary strings for making this (deprecated)
3255 method work with the new role types.
3256 (init_role_table, role_table):
3257 Added definition of SPI_ROLE_APPLICATION.
3259 * libspi/spi-roletypes.h:
3260 Added SPI_ROLE_APPLICATION.
3262 * idl/Accessibility_Role.idl:
3263 Added ROLE_APPLICATION.
3265 * docs/reference/cspi/at-spi-cspi-decl.txt:
3266 Added SPI_ROLE_APPLICATION to docs.
3268 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3270 * cspi/spi_accessible.c
3271 (cspi_init_role_table): Do not write beyond end of role_table.
3272 (Accessible_getRole): Use correct type for value returned by
3273 Accessibility_Accessible_getRole().
3275 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3276 beyond end of role_table. (This fixes bug #98269)
3278 * libspi/application.c: Add include file spi-private.h for
3279 definition of spi_init_any_nil.
3281 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3285 * libspi/spi-private.h:
3286 Added DGB() macro, and extern int _dbg declaration.
3288 * registryd/registry.c:
3289 (definitions) storage for _dbg.
3290 (spi_registry_init):
3291 Get environment variable "AT_SPI_DEBUG".
3292 (spi_registry_set_debug):
3293 New method, to initialize _dbg value.
3294 (spi_listener_struct_new, spi_registry_object_finalize):
3295 (notify_listeners_cb):
3296 Changed fprintfs to use DBG and g_warning().
3298 * registryd/deviceeventcontroller.c:
3299 (_deregister_keygrab, spi_controller_register_device_listener):
3300 Changed debug/warning messages to use DBG macro.
3302 * libspi/listener.c:
3303 (impl_notify_event):
3304 Changed warning messages to use DBG macro and g_warning().
3306 * atk-bridge/bridge.c:
3307 (atk_bridge_init, spi_atk_bridge_get_registry):
3308 (spi_atk_bridge_exit_func):
3309 (spi_atk_bridge_property_event_listener):
3310 Changed status, warning, and error messages to use
3311 g_warning, g_message, and DBG macros.
3314 Read the state of the AT_SPI_DEBUG environment variable
3315 and set a local '_dbg' accordingly.
3317 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3319 FIXES for 98836, 98842, other bugs.
3322 Revved to 1.1.4, interface-age=4, binary-age=4.
3324 * registryd/deviceeventcontroller.c:
3326 Fixed crasher bug in last_mouse_pos initialization.
3328 * registryd/registry.c:
3329 (desktop_add_application, desktop_remove_application):
3330 Added (and then commented out) some support for
3331 object context marshalling. [TODO]
3333 * atk-bridge/bridge.c:
3334 (spi_atk_bridge_event_context_create):
3335 Commented out object context creation until it can
3336 be properly tested and debugged.
3338 * registryd/registry.c:
3339 (impl_registry_notify_event):
3340 Fixed crasher bug, we were calling
3341 spi_re_entrant_list_foreach () with an empty list.
3343 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3345 * idl/Accessibility_Action.idl:
3346 * idl/Accessibility_Component.idl:
3347 * idl/Accessibility_Desktop.idl:
3348 * idl/Accessibility_Event.idl:
3349 * idl/Accessibility_Hyperlink.idl:
3350 * idl/Accessibility_Image.idl:
3351 * idl/Accessibility_Relation.idl:
3352 * idl/Accessibility_Selection.idl:
3353 * idl/Accessibility_State.idl:
3354 * idl/Accessibility_Value.idl:
3355 Updated unimplemented slot count to minimum of
3356 four for all interfaces, for ABI freeze.
3358 * idl/Accessibility_EditableText.idl:
3359 * idl/Accessibility_Text.idl:
3360 Updated unimplemented slot count to six
3363 * idl/Accessibility_Registry.idl:
3364 Updated unimplemented slot count to six
3365 (also for DeviceEventController),
3368 * idl/Accessibility_Table.idl:
3369 Updated unimplemented slot count to eight,
3372 * idl/Accessibility_Event.idl:
3373 Added CORBA_any "any_data" member to Event struct.
3375 * idl/Accessibility_Event.idl:
3376 Added CORBA_any "any_data" member to Event struct.
3378 * atk-bridge/bridge.c:
3380 atk_signal_text_changed, atk_signal_child_changed,
3381 signal ids queried from gtype system.
3382 (AtkBridgeEventContextType): New enum.
3383 (AtkBridgeEventContextData): New struct.
3384 (AtkBridgeEventContext): New struct.
3385 (atk_bridge_init_event_type_consts):
3386 New method, initializes type contants for comparison
3387 prior to emit_eventv.
3388 (atk_bridge_event_context_init): New method,
3389 initializes a CORBA_any from an AtkBridgeEventContext.
3390 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3391 initialize the event.any_data struct.
3392 (spi_atk_bridge_event_context_create): New method,
3393 creates an AtkBridgeEventContext from signal/event info.
3394 (spi_atk_bridge_event_context_free): New method.
3395 (spi_atk_emit_eventv): Changed to take an
3396 AtkBridgeEventContext parameter. We now initialize
3397 the event.any_data member prior to notifying the
3398 Registry, via the AtkBridgeEventContext.
3399 (spi_atk_bridge_property_event_listener):
3400 (spi_atk_bridge_state_event_listener):
3401 Match emit_eventv signature.
3402 (spi_atk_bridge_object_event_listener):
3403 Match emit_eventv signature, and create an
3404 event context from the event details.
3405 Free the event context afterwards.
3406 (spi_atk_bridge_window_event_listener):
3407 Create an event context, pass it to the
3411 (AccessibleEvent_getContextString):
3412 (AccessibleEvent_getContextObject):
3413 New methods, allow query of AccessibleEvent objects
3414 for more context details (via the "any_data" member
3415 of the Event struct, above).
3418 Definitions for AccessibleEvent_getContextString
3419 and AccessibleEvent_getContextObject.
3421 * cspi/spi_listener.h:
3422 (InternalEvent): New struct.
3425 (AccessibleEvent_getContextString):
3426 (AccessibleEvent_getContextObject):
3427 Implementations of new methods, for obtaining
3428 additional context information from some event types.
3430 * cspi/spi_registry.c:
3431 (SPI_registerGlobalEventListener):
3432 Added mention of active-descendant-changed event in docs.
3434 * cspi/cspi-bonobo-listener.c:
3436 Marshal the any into the AccessibleEvent via
3439 * libspi/spi-private.h:
3440 #include <orbit/orbit.h>
3442 (spi_init_any_string):
3443 (spi_init_any_object):
3444 New convenience function declarations.
3448 (spi_init_any_string):
3449 (spi_init_any_object):
3450 New convenience function implementations.
3452 * registryd/deviceeventcontroller.c:
3453 (spi_poll_dec_mouse_moved):
3454 (spi_device_event_controller_forward_mous_event):
3455 Initialize any_data member of event.
3456 (spi_deregister_controller_device_listener):
3457 Fix incorrect param pass which was preventing deregistration.
3459 * registryd/registry.c:
3460 (desktop_add_application):
3461 (desktop_remove_application):
3462 Add object data to event's any_data before dispatch.
3464 Fix for error messages from GAIL.
3466 * test/event-listener-test.c:
3467 Test new ContextString and "any_data" API:
3468 (report_text_event): New method query and output context string.
3469 (main): register a new text listener with report_text_event
3472 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3474 Fixes for bugs 98127 and 97914.
3475 * cspi/spi-roletypes.h:
3476 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3478 * cspi/spi-statetypes.h:
3479 Added SPI_STATE_MANAGES_DESCENDANTS
3481 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3482 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3483 * cspi/spi_accessible.c:
3484 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3485 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3486 Accessibility_STATE_MANAGES_DESCENDANTS
3487 * libspi/accessible.c:
3488 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3489 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3490 As requested by Bill, I also cleaned up the alignment.
3491 * libspi/relation.c:
3492 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3493 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3494 * libspi/stateset.c:
3495 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3496 Accessibility_STATE_MANAGES_DESCENDANTS
3497 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3498 Document changes reflecting modifications to roles.
3499 * docs/reference/cspi/tmpl/spi_relation.sgml:
3500 Document changes reflecting modifications to relations.
3501 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3502 Document changes reflecting modifications to states.
3504 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3507 Revved to 1.1.3, interface-age=3, binary-age=3.
3508 Added REBUILD macro.
3511 Removed accessx-gui from the tests, since we have a nice
3512 keyboard accessibility capplet now :-)
3514 * test/keysynth-demo.c:
3515 (increment_scan): removed do-nothing default: case,
3518 * test/visual-bell.c:
3519 (main) : removed do-nothing default: case,
3522 * cspi/spi_action.c:
3523 (AccessibleAction_getKeyBinding_):
3524 Documented keybinding string format.
3528 (AccessibleText_getAttributes):
3529 Documented the text attribute string format.
3530 It's changed to use semicolon delimiters also,
3531 to prevent clashes with CSS attributes, but the old
3532 trick of looking for ", " strings will still work
3533 (as unreliably as ever). Fix for bug related to 97916.
3536 Include <cspi/bonobo/cspi-bonobo-listener.h>
3537 Fixes build warning.
3538 (SPI_freeAccessibleKeySet):
3539 (AccessibleKeystrokeListener_addCallback):
3540 (AccessibleKeystrokeListener_removeCallback):
3541 Modify to use AccessibleDeviceListener API internally,
3542 instead of AccessibleKeystrokeListener.
3544 * idl/Accessibility_Event.idl:
3545 Added two more empty slots to EventListener (for a total of four).
3547 * idl/Accessibility_Accessible.idl:
3548 Added four empty slots to Accessible interface.
3550 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3552 * idl/Accessibility_Registry.idl:
3553 (KeyEventType, EventType):
3554 Marked KeyEventType as deprecated; it duplicates
3555 functionality of EventType, which has been extended to
3556 include Mouse-button events.
3557 (KeyEventTypeSeq): defined in terms of EventType.
3558 (registerDeviceEventListener, deregisterDeviceEventListener):
3559 New methods, for managing listeners to device events,
3560 which potentially may consume them.
3563 Added definition for AccessibleDeviceListener.
3565 * cspi/spi-listener.h:
3566 (enum AccessibleDeviceEventType):
3567 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3568 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3569 for backwards compat.
3570 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3571 and typedef'd AccessibleKeystroke to it for back-compat.
3572 (AccessibleDeviceListenerCB):
3573 New function prototype typedef.
3576 (AccessibleDeviceEventMask): New typedef.
3577 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3578 (AccessibleKeyMaskType):
3579 Set equivalent to AccessibleModifierMaskType for back-compat.
3580 (SPI_createAccessibleKeystrokeListener):
3581 (AccessibleKeystrokeListener_unref):
3582 Deprecated in favor of equivalent (better-named) new API below..
3583 keystroke listeners are like all device listeners.
3584 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3585 New API names for old features :-).
3586 (AccessibleDeviceListener_addCallback):
3587 (AccessibleDeviceListener_removeCallback):
3588 (SPI_registerDeviceEventListener):
3589 (SPI_deregisterDeviceEventListener):
3593 (SPI_createAccessibleKeystrokeListener):
3594 Use new preferred API, cspi_device_listener_new() and
3595 cspi_device_listener_add_cb().
3596 (AccessibleKeystrokeListener_removeCallback):
3597 Use new preferred API, cspi_device_listener_remove_cb().
3598 (AccessibleKeystrokeListener_unref):
3599 Use new preferred API, cspi_device_listener_unref().
3600 (SPI_createAccessibleDeviceListener):
3601 (AccessibleDeviceListener_addCallback):
3602 (AccessibleDeviceListener_removeCallback):
3603 Implementation of new API.
3605 * cspi/spi_registry.c:
3606 (SPI_registerDeviceEventListener):
3607 (SPI_deregisterDeviceEventListener):
3608 Implementation of new API. Fixed memory leak and removed need to
3609 allocate EventTypeSeq (thanks Michael for catching this).
3610 Squashed a wayward CORBA_exception_free that shouldn't get called.
3612 * cspi/bonobo/cspi-bonobo-listener.c:
3614 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3615 (cspi_key_event): renamed to cspi_device_event().
3616 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3617 Extended to handle mouse button events as well as key events.
3618 (CSpiKeystrokeListener):
3619 Class superceded by CSpiDeviceListener.
3620 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3621 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3623 * cspi/bonobo/cspi-bonobo-listener.h:
3624 (CSpiKeystrokeListener):
3625 Class superceded by CSpiDeviceListener.
3626 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3627 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3629 * libspi/Makefile.am:
3630 Replaced keystrokelistener.h and keystrokelistener.c
3631 with devicelistener.h and devicelistener.c; keystrokelisener.h
3632 stub retained for back-compat.
3634 * libspi/keystrokelistener.c:
3638 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3640 * registryd/deviceeventcontroller.c:
3641 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3642 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3643 (DEControllerPrivateData): Added xkb settings data.
3644 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3645 button release events (which can't be captured via XGrabButton).
3646 Don't dispatch via the 'normal' event mechanism if the device event was
3648 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3649 Handle the typeseq data in its new location (see above).
3650 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3651 New methods, for "generic" device listeners.
3652 (spi_controller_register_device_listener):
3653 Now handle mouse event listeners as well as key listeners.
3654 (spi_controller_notify_mouselisteners):
3655 New internal method.
3656 (spi_device_event_controller_forward_mouse_event):
3657 Now we notify mouse device listeners as well as generating the
3658 non-consumable "mouse:" events.
3660 We must check and restore the XKB
3661 modifier map if we consume the event, since the act of triggering
3662 a mouse event will normally reset the XKB latch. This is required for
3664 (spi_controller_register_with_devices):
3665 Load the XKB settings when registering, and register for XKB
3666 state notify events.
3667 (spi_key_eventtype_seq_contains_event):
3668 Renamed spi_eventtype_seq_contains_event, since it's used
3669 internally for all device event types now.
3670 (spi_key_event_matches_listener):
3671 Uses spi_eventtype_seq_contains_event now.
3672 (spi_device_event_controller_object_finalize):
3673 Free the private data and the XkbKeyboard struct.
3674 (impl_register_device_listener, impl_deregister_device_listener):
3675 Implementation of new IDL.
3676 (spi_deregister_controller_device_listener):
3677 New internal method.
3678 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3679 More efficient implementation, we don't have to create a new
3680 XkbControls structure every time we query.
3681 (spi_device_event_controller_class_init):
3682 Initialize the epv entries for the new IDL. Assign the
3683 "spi-dec-private" quark.
3684 (spi_device_event_controller_init):
3685 Initialize the private data.
3686 (spi_device_event_controller_forward_key_event):
3687 Removed a bogus CORBA_exception_free() call.
3689 * registryd/deviceeventcontroller.h:
3690 Replaced inclusion of keystrokelistener.h with
3693 * test/event-listener-test.c:
3694 (report_mouse_event):
3697 Added mouse-event device listener.
3699 * test/test-simple.c:
3700 (create_test_window):
3701 Fixed regression (we were instantiating a GtkRange,
3702 which is now an abstract class). Also fixed to match
3703 existing AtkRole names, this seems to have changed in ATK
3704 awhile ago; too late now I think, and the new
3705 mechanism is at least elegant and consistent with the
3706 glib enum "nick" APIs.
3708 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3710 * idl/Accessibility_Relation.idl:
3711 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3712 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3713 * idl/Accessibility_Role.idl:
3714 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3715 * idl/Accessibility_State.idl:
3716 add STATE_MANAGES_DESCENDANTS
3717 * test/event-listener-test.c:
3718 Added a listener for active-descendant events.
3720 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3722 * atk-bridge/bridge.c
3723 (atk_bridge_init): If application is Bonobo component wait until top
3724 level is added before registering
3725 (spi_atk_bridge_do_registration): New function which contains code,
3726 formerly in atk_bridge_init, to do application registration.
3727 (spi_atk_bridge_toplevel_added): Signal called when top level
3728 added to Bonobo component
3730 This fixes bug #83134.
3732 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3734 * registryd/deviceeventcontroller.c
3735 Fixed compilation error caused by calling gettimeofday()
3738 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3743 Added template for HAVE_XKB.
3746 Changes to check for XKB, and to set the HAVE_XKB #define if it
3749 * libspi/listener.c:
3750 ()impl_notify_event): Make failure to get event source name
3753 * registryd/deviceeventcontroller.c:
3754 (#include): include X11/XKBlib.h.
3755 (DEControllerPrivateData) : New struct.
3756 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3758 (dec_synth_keycode_press) (dec_synth_keycode_release):
3759 New methods; split the key synthesis code into these methods.
3760 They check XKB settings before determining the "time" values to
3761 pass to Xtest; this fixes bug #95828.
3762 (impl_generate_keyboard_event): Changed to use methods above,
3763 instead of callng Xtest directly.
3764 (spi_device_event_controller_init): Initialize new privae struct s
3766 (spi_device_event_controllr_object_finalize):
3767 Free the (new) private data.
3769 * registryd/deviceeventcontroller.h:
3770 Add new gpointer to end of struct data.
3772 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3775 Incremented revision to 1.1.2, SONAME is still '.so', library
3776 extensions are ".so.0.0.2".
3778 * registryd/deviceeventcontroller.c:
3779 FIXES FOR #93592 and #95940.
3780 (statics): renamed mouse_button_state to mouse_mask_state,
3781 added key_modifier_mask.
3782 (spi_dec_poll_mouse_moved):
3783 Added key modifier checks, and emit "keyboard:modifiers"
3784 events when the key modifiers currently in use change.
3785 Also generate "mouse:abs" events periodically, even if the mouse
3786 is stationary (should we?).
3787 Alternatively we could generate "mouse:abs" events for either all
3788 mouse movements, or every 'nth' mouse movement, or at the
3789 beginning and end of every "active" mouse period.
3791 * test/event-listener-test.c:
3792 (main): Added listener for "keyboard:modifiers" events.
3794 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3796 * libspi/keymasks.h:
3797 Added key mask #defines for mouse buttons; e.g.
3798 SPI_KEYMASK_BUTTON1, etc.
3801 Incremented dependency on ATK to version 1.1.0. (This dependency
3802 is probably premature but will soon be real enough).
3804 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3806 * libspi/hyperlink.[ch]
3807 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3808 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3811 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3816 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3818 * registryd/deviceeventcontroller.c
3819 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3820 events to be ignored.
3821 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3822 keyboard_mode so that XAllowEvents() can be called.
3826 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3828 * cspi/spi-accessible.c: Correct names of roles returned by
3829 AccessibleRole_getName(). Fixes bug #95055.
3831 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3833 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3836 * registryd/registry.c
3837 (desktop_remove_application: Write diagnostic message to stderr for
3840 (impl_accessibility_registry_deregister_global_event_listener):
3841 Correct size of lists array. This addresses bug #94555).
3843 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3845 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3848 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3850 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3853 * registryd/registry.c (impl_registry_notify_event): Remove
3854 unnecessary call to parser_event_type().
3856 * docs/reference/cspi/tmpl/spi_component.sgml:
3857 Add reference to SPI_LAYER_WINDOW.
3859 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3861 * registryd/registry.c
3862 (desktop_add_application): Remove leak.
3863 (desktop_remove_application): Remove leak.
3864 (parser_event_type): Remove leak.
3866 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3868 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3869 bogus call to CORBA_string_dup(). Also removed unnecessary
3870 g_string_dup/g_free calls.
3872 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3874 * registryd/deviceeventcontroller.c:
3875 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3877 * test/event-listener-test.c:
3878 main: commented out three redundant listeners, to reduce output
3879 noise. (They still are potentially useful for testing).
3882 2002-09-13 Michael Meeks <michael@ximian.com>
3884 * Update all the copyrights to include Ximian.
3886 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3888 * cspi/spi.h: add SPI_LAYER_WINDOW.
3890 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3891 add Accessibility_LAYER_WINDOW case.
3893 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3895 * libspi/component.c: (impl_accessibility_component_get_layer):
3896 add ATK_LAYER_WINDOW case.
3898 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3900 * configure.in: incremented micro version.
3902 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3904 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3907 Clarified and reworded our commit policy.
3910 Started an API "todo" addition list for 2.2.
3913 (impl_getSelection):
3914 Free char pointer from atk_text_get_selection, which was being leaked.
3916 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3919 Small revision to author acknowledgement.
3921 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3923 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3924 If signal has detail add it to the type of the event.
3927 2002-08-12 Michael Meeks <michael@ximian.com>
3929 * test/test-simple.c (global_listener_cb): bin bogosity.
3930 (test_keylisteners): disable, still doesn't work reliably,
3931 certainly not on my system anyway.
3933 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3934 don't leak a reference on the DEC. This round-trip
3935 fetching of the DEC per keystroke sucks, it should be
3938 * cspi/spi-private.h,
3939 * cspi/cspi-lowlevel.h,
3940 * cspi/bonobo/cspi-bonobo-listener.[ch],
3941 * cspi/bonobo/cspi-bonobo.c: get the copyright
3942 notices better - there is still a large amount of
3943 work in at-spi falsely attributed solely to Sun.
3945 * cspi/spi_main.c (cspi_object_ref): kill bogus
3946 hash lookup, just increment the ref.
3947 (SPI_freeString): make explicit the fact that we
3948 handle NULL strings just fine.
3949 (report_leaked_ref): obey coding standards.
3950 (cspi_object_hash, cspi_object_equal): kill retval.
3951 (cspi_object_release): only release if not on loan.
3952 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3953 (cspi_object_borrow, cspi_object_return): impl.
3955 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3956 use cspi_object_borrow / return.
3958 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3960 * cspi/bonobo/cspi-bonobo-listener.c:
3962 Don't call cspi_oject_new() because this is creating a new Accessible
3963 every single time that an event is fired. This causes ATs like at-poke
3964 to nolonger recognise the source of the event and thus ignore it.
3965 Re-use the object from the cache, ref it and then unref it after the
3966 listeners have been called.
3968 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3970 * test/event-listener-test.c:
3971 Added command-line options to disable mouse events (m) and
3974 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3976 * configure.in: Update required versions of ATK, GTK+ and GAIL
3978 * cspi-1.0.pc.in: Add dependency for X include files
3981 * cspi/bonobo/Makefile.am:
3982 Add $(X_CFLAGS) so that X include files
3983 are picked up even if not in standard place (bug #71686)
3985 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3987 * registryd/deviceeventcontroller.c: fix for 84261
3988 (spi_dec_mouse_moved):
3989 Added test of mouse button mask, so that we can detect mouse
3990 button release. Unfortunately we can't otherwise detect mouse
3991 button release events without consuming the mouse press event,
3992 because of the way XGrabButton works. This means that our mouse
3993 release events have a latency dependent on the polling period
3994 while the mouse button is down. At least in this case we only
3995 have to poll while the button is down, and not at other times.
3996 If the button masks don't match with what the last press event
3997 reported, we report the appropriate button release event.
3998 (spi_dec_ungrab_mouse):
3999 New method (not yet called).
4000 (spi_device_event_controller_forward_mouse_event):
4001 New method, sends mouse press event from GdkFilter.
4002 (spi_dec_init_mouse_listener):
4003 Added code to call XGrabButton, redirecting mouse button events to
4004 the root window and our Gdk event loop.
4006 Added code to filter mouse button events, and reordered.
4008 * test/event-listener-test.c:
4010 Added registration for mouse events of type "mouse:button".
4012 2002-06-25 Bill Haneman <bill.haneman@sun.com>
4014 * registryd/deviceeventcontroller.c: partial fix for 84261
4015 (spi_dec_poll_mouse_idle):
4016 New method, a timeout which checks to see if the mouse
4018 (spi_dec_poll_mouse_moving):
4019 A timeout to be called when mouse motion is underway.
4020 (spi_dec_poll_mouse_moved):
4021 A method which fires an event if the mouse has moved, and reports
4022 whether or not it did so.
4023 (spi_dec_init_mouse_listener):
4024 A method which sets up the timeouts above.
4025 (spi_device_event_controller_new):
4026 Now calls spi_dec_init_mouse_listener.
4028 * registryd/registry.c:
4029 (spi_registry_init):
4030 Now we initialize the device event controller when the registry is
4031 initialized, instead of waiting until a client has requested a key
4032 event notification; this is because we need the event controller
4033 for mouse events, but the mouse event registration API is a
4034 "registry" call and doesn't explicitly call the
4035 deviceeventcontroller.
4036 We now report mouse motion events with a 100 ms idle latency and
4037 a 20 ms granularity when motion is in progress.
4039 * test/event-listener-test.c:
4041 We now register the "detail listener" for events of type
4042 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
4043 delivered only for the first mouse event received, and thereafter
4044 "mouse:abs" events are delivered.)
4046 * cspi/spi_registry.c:
4047 DOCS: Documented the above mouse event typestrings.
4049 2002-06-21 Bill Haneman <bill.haneman@sun.com>
4051 Happy Summer Solstice...
4053 * registryd/deviceeventcontroller.c: [fix for bug 84100]
4054 (spi_controller_notify_keylisteners):
4055 Changes to remove a listener from the listener list, freeing its
4056 open keygrabs, if a notification to that listener fails. This
4057 means that although a dead listener can continue to hold a passive
4058 keygrab, a maximum of one dispatch to such a listener can fail
4059 before the listener is removed from the list, thus the keygrab
4060 will be released on the next occurrence.
4061 As part of this fix:
4062 (spi_notify_keylisteners):
4063 Renamed to spi_controller_notify_keylisteners, as the controller
4064 instance must now be passed as an argument.
4065 The copied 'notify' GList is now a list of DEControllerKeyListener
4066 objects, since we need more than just the CORBA reference if a
4067 notify fails and we need to deregister the listener.
4068 (impl_notify_listeners_sync):
4069 (impl_notify_listeners_async):
4070 (spi_device_event_controller_forward_key_event):
4071 Modify use of notify_keylisteners in accordance with above
4073 (spi_deregister_controller_key_listener):
4074 New method introduced by refactoring, from
4075 impl_deregister_keystroke_listener.
4076 (impl_deregister_keystroke_listener):
4077 Call spi_deregister_controller_key_listener.
4078 (spi_key_listener_clone):
4079 New method to copy a key listner without doing a 'ref' on the
4080 remote object instance; used to create a notifier list.
4081 (spi_key_listener_data_free):
4082 New method, frees data without unreffing the source.
4084 (spi_key_listener_clone_free): new method.
4085 (spi_key_listener_free):
4086 refactored to call spi_key_listener_data_free.
4088 2002-06-20 Bill Haneman <bill.haneman@sun.com>
4090 * registryd/registry.c: [fix for bug 86048]
4091 (notify_listeners_cb):
4092 Clear CORBA system exceptions which occur when notifying
4093 listeners, before returning to the source of the original event,
4094 since the event source doesn't care if the relayed notify failed.
4095 In other words, don't complain to the atk-bridge if the registry
4096 could not notify all its listeners, that's no fault of the
4097 application and thus should not appear to be an error from the
4098 application's perspective.
4100 * cspi/spi_main.c: [fix for bug 85980]
4102 Replaced use of bonobo_object_dup_ref with call to the wrapper
4103 method, csou_dup_ref (); this silences a compiler warning and
4104 provided more portability.
4106 Ping the registry before return, and restart if necessary.
4108 * cspi/bonobo/cspi-bonobo.c:
4110 New internal method.
4112 Fixed this method to return an object reference, as it should have
4115 * cspi/cspi-lowlevel.h:
4116 Added internal definition for cspi_ping() and fixed
4117 return type of cspi_dup_ref().
4120 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4122 * atk-bridge/bridge.c: [fix for bug 85305]
4123 (spi_atk_bridge_register_application):
4124 New method where the initial application registry calls have been
4125 moved; it allows an application to re-register in response to
4126 certain error conditions (such as a registry restart, see below).
4128 Moved some initialization code to the method
4129 spi_atk_bridge_get_registry, below.
4130 (spi_atk_bridge_get_registry):
4131 New, private accessor function for the Accessibility_Registry
4132 instance. If the registry has not been started before, or has
4133 died (as detected by failure of a CORBA exception), it is
4134 restarted before return, and spi_atk_bridge_register_application
4135 is called again to register with the new bridge instance.
4136 (spi_atk_emit_eventv):
4137 Set registry_died on error; use spi_atk_bridge_get_registry () to
4138 access the registry.
4140 * registryd/registry.c:
4141 (impl_accessibility_registry_register_global_event_listener):
4142 Set listener's event_type_quark to etype.minor instead of
4143 etype.major (fix for bug 84856).
4145 * test/event-listener-test.c:
4146 (report_detail_event):
4147 Change the output string so that user/tester can tell that the
4148 'detail listener' was called instead of the 'generic listener'.
4150 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4152 Fixes for bugs 84900, 84908, 84897, 84898.
4157 Revved version to 1.1.0
4158 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4159 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4161 * idl/Accessibility_Registry.idl:
4162 (EventListener::notifyEvent):
4163 Removed 'oneway' directive after extensive consulation with
4164 ORBit2 team and others. This means also that unref() of the event
4165 source can and should be done synchronously after emission, rather
4166 than remotely in the client, after servicing the notify call on
4169 NOTE: This change speeds up listener performance considerably, but
4170 introduces new latency on the application side. We may want to
4171 add an event queue to the atk-bridge.
4173 * atk-bridge/bridge.c:
4174 (spi_atk_bridge_focus_tracker):
4175 Do a local unref() on the event source after emission.
4177 * registryd/registry.c:
4178 (desktop_remove_application):
4179 Do an unref() on the event source after emission.
4180 (desktop_add_application):
4181 Do an unref() on the event source after emission.
4182 (notify_listeners_cb):
4183 When relaying an event, don't automatically add the event source
4184 to the local object cache, just CORBA_dup it instead. Likewise,
4185 if this method reenters, release the ref rather than calling
4187 (impl_registry_notify_event):
4188 No longer call remote unref() on the event source after dispatch.
4190 * libspi/eventlistener.c:
4191 (impl_accessible_event_notify_event):
4192 Removed remote unref ()
4194 * cspi/bonobo/cspi-bonobo-listener.c:
4196 We now call cspi_object_new() instead of cspi_object_add() on
4197 receipt of an event; thus we only have an implicit object ref
4198 while the cspi_event method is being executed. If we need to keep
4199 a reference to the object, the listener must call ref() on the
4200 object. Thus also we don't need to call cspi_object_unref() after
4201 invoking the listener callbacks in this method.
4205 New internal API for creating a new cspi object, without adding it
4206 to the object cache.
4208 Now uses cspi_object_new() to create the cspi object instance.
4210 Now checks to see if the object is in the internal object cache,
4211 and adds it if necessary before incrementing its refcount (note
4212 that new objects are added with a refcount of 1).
4213 (report_leaked_ref):
4214 New method which gives some information on leaked object instances
4215 if leak detection is turned on.
4217 * test/event-listener-test.c:
4218 (timing_test_event):
4219 New method, used for testing event delivery timing for special
4220 events of type "object:test". It reports elapsed time and
4221 events/sec every 500 events.
4223 Added a new listener, 'test listener', to check timing of event
4224 receipt as noted above.
4226 Added some timing output here also, reports elapsed time every 100
4229 * test/stress-test.c:
4230 Emit events of type "object:test", for use with "event-listener-test".
4232 * test/test-simple.c:
4233 (global_listener_cb):
4234 Call Accessible_ref() on the event source before calling
4235 validate_accessible, since the validation process does pointer
4236 comparisons on the event source, meaning that the event source
4237 needs to be added to the local object cache first. Any use of
4238 such pointer comparisons between Accessible objects requires that
4239 the caller hold an explicit reference to those objects.
4240 We also must therefore call Accessible_unref() when leaving this method.
4242 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4244 * registryd/deviceeventcontroller.c:
4245 (spi_controller_update_key_grabs):
4246 Fix for #84735, subsequent keygrab listeners not informed of
4247 registration failure.
4250 (spi_base_construct):
4251 Add an assertion on construct, to make sure the GObject passed in
4252 is really a GObject.
4254 Explicitly initialize object->gobj pointer to NULL;
4256 * cspi/bonobo/cspi-bonobo-listener.c:
4257 (cspi_object_add_ref):
4258 New method, can specify whether to dup-ref a bonobo object passed
4259 in if it's newly added to the object cache.
4261 Now calls cspi_object_add_ref with second param of "FALSE". This
4262 prevents us from doing a pointless dup-ref followed by
4263 release-unref for all those cases where the object is already in
4264 our object cache (fix for #85205).
4266 * atk-bridge/bridge.c:
4267 (spi_atk_bridge_idle_init):
4268 Removed this method, we don't need to initialize in an idle
4271 Changed to call spi_atk_register_event_listeners directly, not via an
4272 idle handler. (fix for #81139)
4273 (gnome_accessibility_module_shutdown):
4274 Removed conditional around deregistration of listeners, since we
4275 don't use the idle handler and thus have always registered when
4277 (spi_init_keystroke_from_atk_key_event):
4278 Changed references to Accessibility_KEY_PRESSED to
4279 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4281 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4283 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4288 * test/stress-test.c:
4291 (may have been an incomplete commit yesterday?)
4293 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4296 Added target for new stress-test.
4298 * test/stress-test.c:
4299 New test, sends 1000 focus notifies in quick succession.
4301 * test/key-listener-test.c:
4302 Now we report whether a keylistener registration
4303 request succeeded or failed.
4305 * test/event-listener-test.c:
4306 Uncommented some listeners which are now implemented.
4309 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4311 * registryd/deviceeventcontroller.c:
4312 (spi_controller_update_key_grabs):
4313 Fix for #82509, lack of failure notification when
4314 ALL_WINDOWS keygrabs fail due to XGrabKey
4315 failure: we synchronize the server when
4316 registering a passive grab, to make sure we get the
4317 error message before the call returns.
4319 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4321 * test/test-simple.c:
4323 Removed #ifdef KEY_IMPL_WORKS guards.
4324 (test_keylisteners):
4325 Removed #ifdef KEY_IMPL_WORKS guards.
4326 Fixed bug which was causing a hang waiting for a
4327 "press" event (which was already overwritten by a "release"
4328 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4330 Added code to set globals 'key_press_received' and
4331 'key_release_received'.
4334 Added section "1.1 API Proposed Additions" which
4335 lists API additions desired for at-spi-1.1 (only one so far).
4336 Updated TODO list a little.
4338 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4340 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4343 * configure.in: Revved to 1.0.0.
4345 * idl/Accessibility_Registry.idl:
4346 (registerKeystrokeListener):
4347 Added boolean return value.
4349 * registryd/registry.c:
4350 (notify_listeners_cb): Minor fix to debug output.
4352 * registryd/Accessibility_Registry.server.in.in:
4353 Revved version number in OAFIID to 1.0.
4355 * registryd/registryd.c:
4357 Use new OAFIID version.
4359 * cspi/bonobo/cspi-bonobo.c:
4361 Use new OAFIID version.
4367 * atk-bridge/bridge.c:
4369 Use new OAFIID version.
4371 * registryd/deviceeventcontroller.c:
4372 (impl_register_keystroke_listener):
4373 Added CORBA_boolean return value.
4374 (spi_controller_register_device_listener):
4375 Added gboolean return value.
4376 (spi_controller_register_global_keygrabs):
4377 Added gboolean return value.
4378 (spi_key_set_contains_key):
4379 Added implementation for many more control keys,
4380 for instance F1-F12, arrow keys, End, Home, Page_Up,
4382 [TODO: some still not implemented].
4384 * text/screen-review-test.c:
4385 (text_chunk_pad_string):
4386 New function: it provides mapping between coordinate
4387 positions of text chunks and character positions in the
4388 screen-review-line output string.
4389 (text_chunk_to_string):
4390 New function, calls text_chunk_pad_string with various
4391 pad/delimiter characters. Pushbuttons are delimited with
4392 square brackets, Frames with vertical 'pipe' lines, and
4393 other text with double quotes.
4394 (text_chunk_list_to_string):
4395 Calls new function text_chunk_to_string.
4396 (toplevel_composite):
4397 New function to composite layers CANVAS through
4398 POPUP in each toplevel (other layers are composited
4399 across toplevels, i.e. BACKGROUND and OVERLAY).
4400 (review_buffer_composite):
4401 Revise to use new methods.
4407 2002-05-31 Laszlo Peter <laca@sun.com>
4409 * configure.in: add the Xtst libdir to the runpath on Solaris,
4410 since it's not in the default library search path.
4412 2002-05-29 jacob berkman <jacob@ximian.com>
4414 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4416 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4418 * test/screen-review-test.c:
4419 (text_chunk_pad_string):
4420 Added method, which pads the string according to the
4421 text bounds of the chunk. It also takes a 3-character
4422 string as a param which indicates the characters to be
4423 used for start, padding, and end delimitation of the chunk.
4424 (text_chunk_to_string):
4425 Changed to use text_chunk_pad_string.
4427 * configure.in: Fixed bug in AC_OUTPUT that was
4428 causing path substitution in Accessibility_Registry.server
4431 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4433 * text/screen-review-test.c:
4434 (guess_string_clip):
4435 New method which attempts a best-guess at clipping
4436 text from components (like Java labels) which don't
4437 actually implement AccessibleText. This inaccurate
4438 clip is based on the assumption that the label is
4439 justified left-and-right, and monospaced.
4440 (text_chunk_get_clipped_string):
4441 We now call guess_string_clip() for text-containing
4442 components that don't implement AccessibleText.
4444 * test/screen-review-test.c:
4445 (review_buffer_get_text_chunk):
4446 We now pull "name" from labels if they do not implement
4447 AccessibleText (i.e. for Java labels).
4448 (get_screen_review_line_at):
4449 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4452 Replaceded AC_OUTPUT target
4453 registryd/Accessibility_Registry.server with
4454 registryd/Accessibility_Registry.server.in.
4456 * registryd/Accessibility_Registry.server.in:
4457 Removed (this is now a Makefile target).
4459 * registryd/Accessibility_Registry.server.in.in:
4460 Added (source for target above). We now use $(libexecdir) as
4461 prefix for the executable at-spi-registryd.
4463 * registry/Makefile.am:
4464 Now install at-spi-registryd into $(libexecdir), and build .server
4465 file with path (see above).
4467 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4469 * test/screen-review-test.c:
4470 (text_chunk_get_clipped_string):
4471 We now check to see if words fall within clip bounds
4472 before resorting to character-by-character clip bounds testing.
4474 * TODO: Added a section for "2.2 Proposed API Additions".
4476 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4478 * test/screen-review-test.c:
4480 Added a screen review benchmarking and test program to test
4483 * cspi/spi_accessible.c:
4485 Made some of the debug strings passed to cspi_check_ev a
4486 little more specific.
4488 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4490 * test/screen-review-test.c: Fix crashes in debug statements
4492 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4494 * test/screen-review-test.c: Added this file.
4496 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4498 * atk-bridge/bridge.c: changed "object:state-change" to
4499 "object:state-changed" to match docs.
4501 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4503 * atk-bridge/bridge.c: Hooked up state-change event details.
4505 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4507 * registryd/registry.c:
4508 Fixed quarking bug in event string parsing; now events with
4509 detail parameters get matched correctly to listeners.
4512 * util/idl/Magnifier.idl: remove.
4514 * util/*.[ch]: Remove.
4515 Magnification utilities and IDL are now in module gnome-mag.
4517 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4519 * registryd/deviceeventcontroller.c:
4520 Fixed bug in grab key conversion which was causing keycode grabs
4521 to be converted to AnyKey grabs.
4524 updated NEWS file to reflect recent spin-off of gnome-mag.
4526 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4528 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4529 busted AccessibleStateSet_compare. Removed redundant casts.
4531 * cspi/spi-action.c: Removed redundant casts.
4533 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4535 * cspi/spi_component.c: Fixed typos and casting error.
4537 * cspi/spi_editabletext.c: Removed redundant casts.
4539 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4541 * cspi/spi_hypertext.c: Eliminated redundant casts.
4543 * cspi/spi_image.c: Eliminated redundant casts.
4545 * cspi/spi_registry.c: Eliminated redundant casts.
4546 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4547 * cspi/spi_selection.c: Removed redundant casts.
4548 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4549 handling. Screen geometry and text offsets were being returned as 0
4550 on error which is technically valid-- changed these to return -1.
4551 Added marshaller for text boundary types to fix bug with boundary
4552 types being passed incorrectly to atk.
4554 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4557 * cspi/spi_registry.c:
4558 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4559 which was uncovered by the recent key changes.
4561 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4563 * test/event-listener-test.c:
4565 Added new test, "event-listener-test";
4566 this code does two things; it benchmarks traversal time
4567 for the accessible hierarchy for the first running accessible
4568 app, and it connects listeners for all supported event types.
4569 It is thus useful as an example event listener and for
4570 diagnostics/debugging of event generation.
4572 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4575 Removed unnecessary dependency on libutil.
4578 Revved micro version: 0.13.1
4580 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4583 Removed util/Makefile from targets.
4586 Removed util subdir from SUBDIRS (temporarily,
4587 pending removal of magnifier-only code
4591 #ifdef-ed out magnifier dependencies, since
4592 magnifier IDL, headers, and binary now live in
4593 module gnome-mag and we don't want at-spi to depend
4594 on gnome-mag. A magnifier demo which can run alongside
4595 simple-at is forthcoming in the gnome-mag module.
4597 NOTE: Split magnifier binary, IDL, and magnification
4598 activation code from at-spi into module gnome-mag.
4600 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4602 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4603 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4605 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4608 Revved to version 0.13.0
4610 * idl/Accessibility_Registry.idl:
4611 Changed definition of KeySet from sequence of longs to sequence of
4612 KeyDefinitions, and added KeyDefinition struct.
4613 Required for fix to bug 80616.
4615 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4616 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4617 to use new definition (see above).
4619 * registryd/deviceeventcontroller.c: handle_keygrab(),
4620 spi_keyset_contains_key():
4621 Changed to make use of new struct; this allows matching based on
4622 string key-name, for instance "Tab". This also allows matching of
4623 composed characters, non-alphanumeric characters in a way that
4624 doesn't involve dependencies on X keysym codes directly, etc.
4626 * test/key-listener-test.c:
4627 Added test for Alt-Tab key using "string" specification of keyset,
4628 and modified one of the tests to use a keycode-based keyset.
4629 Thus this test both tests and demonstrates the creation and use of
4630 keysets of three forms: specified via keycode array,
4631 keysym array, and string array. (The string case only contains a
4632 single string, i.e. a string array of length 1).
4635 Turned on PRINT_TREE option by default. Also fixed a
4636 string-freeing bug in the PRINT_TREE code.
4637 Added a listener to window:minimize events.
4639 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4641 * atk-bridge/bridge.c:
4642 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4643 for window:activate and window:deactiveate
4644 (atk_bridge_property_event_listener atk_bridge_signal_listener
4645 atk_bridge_window_event_listener) Tidy debug code
4647 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4649 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4650 Fixed handling for NULL return value from ATK.
4652 * libspi/action.c libspi/component.c libspi/editabletext.
4653 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4654 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4655 Removed redundant casts.
4657 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4658 Fixed off by one bug.
4660 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4661 function not present in idl)
4663 2002-05-02 jacob berkman <jacob@ximian.com>
4665 * atk-bridge/Makefile.am: make atk-bridge a real module
4667 2002-04-26 Radek Doulik <rodo@ximian.com>
4669 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4670 atk_state_types table
4672 2002-04-22 jacob berkman <jacob@ximian.com>
4675 * libspi/Makefile.am: add deps on the built files to help
4676 automake, and don't version the ORBit typelib
4678 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4680 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4681 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4682 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4683 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4684 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4685 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4686 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4687 libspi/accessible.h libspi/accessible.h libspi/base.h
4688 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4689 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4690 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4691 libspi/spi-private.h libspi/statetset.h libspi/table.h
4692 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4693 util/mag_client.h util/mag_control.c util/mag_image.c
4694 util/mag_image.h util/magnifier.c util/magnifier.h:
4695 Add missing file headers; standardize existing ones
4697 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4699 * atk-bridge/bridge.c: Added window event support.
4701 2002-04-18 Michael Meeks <michael@ximian.com>
4703 * libspi/relation.c (impl_getNTargets): impl.
4704 (impl_getTarget): impl.
4706 * libspi/Makefile.am: fix stateset install.
4708 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4711 Started putting useful info in this file.
4713 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4715 * atk-bridge/bridge.c:
4716 Propagate state-changed notifications to ATs
4718 * cspi/spi_registry.c: update docs to reflect actual behavior of
4719 state-change events.
4721 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4724 Incremented version to 0.12.1
4726 * util/mag_client.h:
4727 Add missing declaration for magnifier_exit,
4728 used by mag_control.c - Forte compiler didn't like
4729 the implicit redeclaration of the function :-(
4732 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4735 Revved version to 0.12 due to API change (see below).
4737 * cspi/spi-roletypes.h:
4738 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4739 definition from the inline docs, and added docs
4740 for SPI_ROLE_LAST_DEFINED.
4743 * cspi/spi_streamablecontent.c:
4744 Added missing seek_type parameter to
4745 (so far unused) method,
4746 AccessibleStreamableContent_seek().
4747 [ RT approval JodyG. ]
4750 Fixed docs for SPI_createAccessibleKeystrokeListener.
4752 * cspi/spi_registry.c:
4753 Fixed docs for SPI_KEYSET_ALL_KEYS.
4755 * docs/reference/cspi/at-spi-cspi-sections.txt:
4756 Added a number of missing APIs to SECTIONS.
4758 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4760 * registryd/Makefile.am:
4762 * cspi/bonobo/Makefile.am:
4763 Add $(X_LIBS) to makefiles.
4765 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4768 Revved version to 0.11.
4770 * libspi/component.c:
4771 Added implementation for grabFocus.
4773 * idl/Accessibility_Component.idl
4774 (Accessibility_Component_grabFocus):
4775 Made this method return boolean to indicate success or failure, to
4776 be consistent with cspi and the corresponding ATK method.
4778 * idl/Accessibility_Selection.idl
4779 (Accessibility_Selection_selectAll) :
4780 Made these methods return boolean to indicate success or
4781 failure, to be consistent with cspi and the corresponding ATK methods.
4783 * idl/Accessibility_EditableText.idl
4784 (Accessibility_EditableText_setTextContents,
4785 Accessibility_EditableText_insertText,
4786 Accessibility_EditableText_cutText,
4787 Accessibility_EditableText_deleteText,
4788 Accessibility_EditableText_pasteText):
4789 Made these methods return boolean to indicate
4792 * cspi/spi_editabletext.c:
4793 Made these methods return booleans.
4795 * libspi/selection.c:
4796 * libspi/component.c:
4797 * libspi/editabletext.c:
4798 Connected the boolean returns from ATK
4799 to the server-side code referenced above.
4801 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4803 * idl/Accessibility_Table.idl: Added missing methods,
4804 Accessibility_Table_addRowSelection,
4805 Accessibility_Table_addColumnSelection,
4806 Accessibility_Table_removeRowSelection,
4807 Accessibility_Table_removeColumnSelection.
4810 Added C wrappers for above IDL:
4811 AccessibleTable_addRowSelection,
4812 AccessibleTable_addColumnSelection,
4813 AccessibleTable_removeRowSelection,
4814 AccessibleTable_removeColumnSelection.
4817 Added server-side implementation code for IDL above, connecting
4818 to pre-existing ATK api.
4820 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4822 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4824 * libspi/accessible.c: Added implementation fo
4825 Accessibility_Accessible_get_state.
4827 * libspi/libspi.h: Added stateset.h to the list of includes.
4829 * libspi/stateset.c: Fixed broken implementation.
4831 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4834 Added implementation code for Accessibility_Magnifier_exit ().
4836 * util/mag_control.c:
4837 Added test code for above method; you can
4838 now kill an existing magnifier via
4839 ./mag_control q, from the util directory.
4841 * test/key-listener-test.c:
4843 Added a new test, for our key listener API.
4845 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4847 * test/app.c, test/keysynth-demo.c:
4849 Replace use of snprintf with g_snprintf.
4850 (fix for bugzilla 78249)
4852 2002-03-27 Michael Meeks <michael@ximian.com>
4856 * util/Makefile.am (INCLUDES): fix.
4857 (DONT_DIST_SOURCE): don't distribute the
4860 * libspi/Makefile.am (dist-hook): ditto.
4862 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4864 * libspi/hypertext.c:
4865 Fix warnings when yelp is used with atk-bridge
4867 2002-03-21 Michael Meeks <michael@ximian.com>
4869 * libspi/application.c (spi_application_new):
4870 use spi_accessible_construct so we use the AtkObject
4873 2002-03-19 Michael Meeks <michael@ximian.com>
4875 * registryd/registry.c (desktop_remove_application),
4876 (desktop_add_application): clean coding style.
4878 * registryd/desktop.c (spi_desktop_remove_application),
4879 (spi_desktop_add_application): kill re-enterency hazards.
4880 (spi_desktop_dispose): remove bogus redundant cast
4881 obscuring bug; fix bug too.
4882 (spi_desktop_init): make the desktop object immortal.
4884 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4887 Added a #define-guarded tree-traversal step
4888 when enumerating the apps (diagnostic tool).
4890 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4892 * idl/Accessibility_Role.idl:
4893 Added ROLE_DRAWING_AREA which seemed to be missing from the
4896 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4898 * cspi/spi-roletypes.h cspi/spi_accessible.c
4899 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4902 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4903 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4904 AT when applications are added and removed from the desktop. This
4905 reverts the previous broken implementation using the backing
4906 AtkObject for the SpiDesktop.
4908 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4910 * registryd/desktop.c: emit the "children-changed::add" and
4911 "children-changed::remove" signals on the backing ATK object for
4912 the desktop so AT can tell when applications are started and shut
4915 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4917 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4919 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4921 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4923 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4925 * cspi/state-types.h: synched with IDL and ATK
4927 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4929 * libspi/accessible.c
4930 (impl_accessibility_accessible_get_child_at_index):
4931 Change return value for g_return_if_fail ()
4932 to CORBA_OBJECT_NIL instead of "0" (!)
4934 * registryd/Makefile.am:
4935 * registryd/Accessibility_Register.server.in:
4936 Changed name of executable, "registryd",
4937 to something more informative:
4940 2002-03-13 Michael Meeks <michael@ximian.com>
4942 * atk-bridge/bridge.c (atk_bridge_init): don't register
4943 if we're in a bonobo-component, rather than a bonobo app.
4945 2002-03-13 Michael Meeks <michael@ximian.com>
4947 * atk-bridge/bridge.c (gtk_module_init): split
4948 out body to (atk_bridge_init): here, since otherwise
4949 we get symbol conflicts and oddness when invoked
4950 from (gnome_accessibility_module_init): here (upd.)
4952 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4955 New file. Explicitly allow "build sheriff" putbacks provided
4956 they are tested on Solaris.
4958 * docs/reference/cspi/Makefile.am:
4959 Added '-' to the "cp" command for index.sgml.
4960 ("patch by thomasvs, soon coming to a GUADEC near you")
4963 Incremented version number (0.9.0) for new release.
4964 Changed macro that checks for popt, to better detect
4965 obsolete versions of popt.
4968 Added X_LIBS to AC_SUBST, for applications
4969 that call Xlib API directly.
4972 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4975 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4978 Fix regression caused by hard-coding major
4979 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4982 * test/test-simple.c (test_editable_text),
4983 (test_test): revert previous change (error was
4984 a regression in gail which is now fixed).
4986 2002-03-04 Michael Meeks <michael@ximian.com>
4988 * test/test-simple.c (test_editable_text),
4989 (test_text): pass G_MAXINT instead of '-1' for
4990 whole string - is this a good thing !?
4992 * cspi/spi_accessible.c
4993 (Accessible_getRelationSet): fix crasher bug
4994 overwriting the end of the array.
4996 * test/test-simple.c (validate_accessible): free,
4997 not g_free returned relation set.
4999 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
5001 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
5002 implemented stateset support
5004 * idl/Accessibility_State.idl: Made necessary changes to
5005 the IDL to support state sets.
5007 2002-02-12 Bill Haneman <bill.haneman@sun.com>
5009 * registryd/deviceeventcontroller.c:
5010 Added implementation for generateMouseEvent.
5012 * cspi/spi_registry.c:
5013 Connected new implementation for generateMouseEvent
5016 2002-02-12 Bill Haneman <bill.haneman@sun.com>
5019 Incremented revision (but no change in public API
5020 outside of 'utils', which are not installed public yet.)
5022 * libspi/component.c:
5023 Changed to use atk_component API for layers and
5024 mdi_zorder, instead of deprecated atk_object API.
5026 Magnification Utility Enhancements:
5029 Added implementation of createZoomRegion, clearAllZoomRegions,
5030 resizeZoomRegion. Added new commandline argument
5031 "--no-initial-region". Note that clearAllZoomRegions doesn't
5032 unmap the old '0' region as it should (yet), and the other
5033 methods only work when creating/resizing a single region,
5034 which is "region 0".
5035 (Code for multiple region support will be added later.)
5038 Now we raise the magnifier window each time it's refreshed;
5039 this will help keep it on top.
5041 * util/mag_client.h:
5042 Added simple wrappers for above, used by mag_control.
5043 For general use, it's recommended to use the bonobo magnifier
5044 control API directly instead of using these wrappers.
5047 Moved ZoomRegionData from magnifier.c to this file.
5049 * util/mag_control.c:
5050 Added some code to exercise new IDL implementations.
5052 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
5054 * libspi/text.c: Provide implementation for getAttributes.
5056 2002-02-04 Bill Haneman <bill.haneman@sun.com>
5059 Incremented revision.
5061 * test/test-simple.c:
5062 Replaced use of deprecated g_main_iteration with
5063 g_main_context_iteration.
5065 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
5068 Incremented revision for desktop alpha 2.
5070 2002-01-28 Mark McLoughlin <mark@skynet.ie>
5072 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
5075 * test/simple-at.c: include netinet/in.h.
5077 2002-01-24 Mark McLoughlin <mark@skynet.ie>
5079 * cspi/spi_accessible.c: (Accessible_getRelationSet):
5080 use NULL, not CORBA_OBJECT_NIL.
5082 * libspi/accessible.c:
5083 (impl_accessibility_accessible_get_relation_set):
5084 allocate the sequence correctly.
5086 * libspi/remoteobject.h: kill spi_remote_object_new.
5088 * test/test-simple.c: (validate_accessible): add code
5089 to test relation sets, now all we need is to figure
5090 out how to excercise this code path :/
5092 2002-01-18 Michael Meeks <michael@ximian.com>
5094 * test/test-simple.c
5095 (key_listener_cb): consume the key.
5096 (test_keylisteners): update.
5097 (main): wait for any pending unrefs on events.
5099 * registryd/deviceeventcontroller.c
5100 (spi_controller_update_key_grabs): only re-issue the
5101 grab on a key release.
5102 (spi_device_event_controller_forward_key_event):
5103 refresh the keygrabs before we notify the listeners,
5104 to reduce the X ungrab / re-grab race.
5105 (spi_controller_register_with_devices): remove
5106 XSelectInput - we do that with the gdk_window_ call.
5107 (_spi_controller_device_error_handler): return a value.
5108 s/GDK_DISPLAY/spi_get_display/
5110 2002-01-17 Michael Meeks <michael@ximian.com>
5112 * registryd/deviceeventcontroller.c
5113 (_deregister_keygrab): don't blow out the later
5116 * test/test-simple.c (test_keylisteners): do a
5117 more intelligent validation.
5119 2002-01-14 Michael Meeks <michael@ximian.com>
5121 * atk-bridge/bridge.c
5122 (gnome_accessibility_module_init),
5123 (gnome_accessibility_module_shutdown): impl.
5124 (gtk_module_init): protect vs. double inits.
5125 (add_signal_listener): impl.
5126 (spi_atk_bridge_state_event_listener): kill
5127 (deregister_application): split out of
5128 (spi_atk_bridge_exit_func): here.
5130 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5133 Added caret tracking when using magnifier, and
5134 now use text bounds for focus tracking of text elements, rather than
5135 the component bounds - this is helpful for short text fields in long
5136 table cells, at high magnification.
5138 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5140 * registryd/deviceeventcontroller.c:
5141 Regression fix for keylistener de-registration; global keygrabs
5142 were not being released when deregisterKeystrokeListener was
5143 called in cspi, since
5144 Accessibility_DeviceEventController_deregisterKeystrokeListener
5145 was called with a zero-length keyset. That is because the cspi
5146 method, SPI_deregisterKeystrokeListener, does not take a keyset
5147 parameter but instead should remove all the key grabs held be a
5149 The code in impl_deregister_keystroke_listener was changed to copy
5150 the keylist from the listener instance previously registered with
5151 the DeviceEventController before releasing the grabs.
5153 * registryd/registry.c:
5154 * registryd/deviceeventcontroller.c:
5155 * libspi/spi-private.h:
5157 Changed spelling of "re-enterant" to "re-entrant" globally.
5159 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5161 * test/test-simple.c:
5162 Changed key listeners test - the test was slightly mis-using the
5163 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5164 It now uses '=' as the key event listened to and generated,
5165 relying on a keysym match rather than assuming that keycode 33
5166 is always equal to keysym '!'.
5168 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5171 Changed simple-at to use a specific keyset, rather than
5172 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5173 manager, desktop, etc.
5175 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5177 * registryd/deviceeventcontroller.c:
5178 Replaced standard X error handler with a special handler that
5179 is non-fatal for failed keygrabs. This works around
5180 problems with keygrab clashes sometimes observed on
5182 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5183 mouse handling code as yet).
5185 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5188 Incremented revision for desktop alpha release.
5191 Fixed a couple of the more glaring errors (still not
5194 2002-01-11 Michael Meeks <michael@ximian.com>
5196 * registryd/deviceeventcontroller.c
5197 (spi_device_event_controller_forward_key_event): kill
5198 XUngrabKey / XKeyGrab race.
5199 (spi_controller_grab_keyboard): rename to
5200 (spi_controller_update_key_grabs): this, and deal
5201 with incremental adding / removing grabs more
5203 (_register_keygrab): ensure we're not pending a remove.
5204 (spi_grab_mask_free): impl.
5205 (spi_controller_register_global_keygrabs): split out
5207 (handle_keygrab): impl.
5208 (_deregister_keygrab): impl.
5209 (spi_controller_deregister_global_keygrabs): impl.
5210 (spi_controller_update_key_grabs): re-issue the grab if
5211 we just recieved a notification.
5213 * test/test-simple.c (key_listener_cb): remove debug.
5215 * registryd/deviceeventcontroller.c
5216 (spi_controller_register_device_listener): after
5217 registering a global keygrab, actualy register it !
5218 don't wait for a timeout; doh !
5220 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5221 to make it more readable / manipulable.
5222 s/grabmask/grab_mask/ s/refcount/ref_count/
5223 s/keyval/key_val/ s/modmask/mod_mask
5225 2002-01-08 Michael Meeks <michael@ximian.com>
5227 * registryd/deviceeventcontroller.c
5228 (spi_controller_register_with_devices): use gdk calls to
5230 (global_filter_fn): implement the filter.
5231 (spi_device_event_controller_check_key_event): rename to
5232 (spi_device_event_controller_forward_key_event): this & upd.
5233 (spi_get_display): replace with GDK_DISPLAY.
5235 * registryd/deviceeventcontroller.c
5236 (spi_controller_deregister_device_listener): unroll into
5237 (impl_deregister_keystroke_listener): here to simplify.
5238 (spi_controller_register_global_keygrabs): split cut and
5239 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5240 (spi_controller_deregister_device_listener): remove.
5241 (impl_register_mouse_listener): remove, no mouse listener
5242 support in at-spi-1.0
5244 * registryd/registry.c
5245 (_device_event_controller_hook): kill.
5246 (spi_registry_init): upd.
5248 * registryd/deviceeventcontroller.c
5249 (spi_device_event_controller_class_init): upd.
5250 (spi_check_key_event): merge into.
5251 (spi_device_event_controller_check_key_event):
5252 here and kill strange static ev init, don't leak
5253 the x_event - nor dynamicaly allocate it.
5255 * registryd/registry-main.c (main): re-direct
5256 timeout to remove strange vtable mess.
5258 * registryd/deviceeventcontroller.c
5259 (remove_listener_cb): impl.
5260 (spi_controller_deregister_device_listener):
5261 fix re-enterancy hazard.
5263 2002-01-07 Michael Meeks <michael@ximian.com>
5265 * registryd/deviceeventcontroller.c
5266 (spi_device_event_controller_new): upd.
5267 (impl_notify_listeners_sync): upd. debug.
5268 (spi_notify_keylisteners): fix re-enterancy hazards,
5269 prettify, remove O(n*n) iteration.
5270 (spi_controller_grab_keyboard): fix iteration.
5271 (spi_check_key_event): re-format to suit coding style.
5272 Clean all the warnings - we're warning free.
5274 * registryd/deviceeventcontroller.h:
5275 * registryd/registry.h: make mutualy referential with
5276 typesafe forward references instead of (!) void pointer
5279 2002-01-11 Michael Meeks <michael@ximian.com>
5281 * cspi/spi_accessible.c (role_names): add a role name
5282 to sync this array with the enum; and make the regression
5285 2002-01-10 Michael Meeks <michael@ximian.com>
5287 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5288 allow expansion of enumeration & kill warning.
5290 * test/test-simple.c (key_listener_cb): impl.
5291 (test_keylisteners): impl.
5293 * cspi/spi-listener.h: make listener signatures const
5294 on the provided (const) events.
5296 * test/keysynth-demo.c: upd. to const events.
5298 * test/simple-at.c: ditto.
5300 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5303 Rev the version to 0.5 (the previous tarball was named 0.4,
5304 even though the micro number was 3), so we need to rev upwards
5305 again for beta2/"desktop-alpha"
5308 Checked in a demo script, which requires editing before use!
5309 Proceed with caution.
5312 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5314 * cspi/spi_accessible.c:
5315 Add a couple of missing enum initializations, and fix some enum
5318 * cspi/spi_registry.c:
5319 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5321 * docs/reference/cspi/at-spi-cspi-sections.txt:
5322 Remove/fix a couple of broken document references.
5325 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5326 as Alt-Control to listen for commands, since on some systems
5327 Control-Alt may already be grabbed.
5329 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5332 Update version number to 0.4 for Beta2.
5334 * libspi/accessible.c, libspi/accessible.h:
5335 Expose spi_accessible_construct, to enable libgail-gnome
5336 construction from spi_accessible subtype.
5338 * utils/magnifier.c:
5339 Workaround for bug in some non-gnome-compliant window managers
5340 which made magnifier resize improperly.
5342 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5344 * libspi/accessible.c: (spi_accessible_new) :
5345 Move the test for SPI_IS_REMOTE_OBJECT to
5346 spi_accessible_new_return, fixing a bug and compile time warning.
5348 2002-01-08 Michael Meeks <michael@ximian.com>
5350 * registryd/registry.c (parse_event_type): remove strndup.
5352 * libspi/Makefile.am (libspi_la_SOURCES): remove
5353 sources already included in the headers section.
5355 * libspi/util.c: add.
5357 * libspi/spi-private.h: add.
5359 * registryd/registry.c: update to moved list iterators.
5361 2002-01-05 Michael Meeks <michael@ximian.com>
5363 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5365 * test/test-simple.c (main): ditto.
5367 2002-01-04 Michael Meeks <michael@ximian.com>
5369 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5370 redundant construct.
5372 * registryd/registry.c
5373 (get_listener_list): impl.
5374 (impl_accessibility_registry_register_global_event_listener):
5375 re-impl. to simplify using ~, remove dodgy const cast off.
5376 (parse_event_type): constify.
5377 (impl_accessibility_registry_deregister_global_event_listener_all):
5378 re-write, more efficiency and simplicity, kill re-enterancy
5380 (compare_listener_corbaref, compare_corba_objects),
5381 (compare_listener_quarks): define out.
5382 (impl_accessibility_registry_deregister_global_event_listener):
5383 re-write for effiency, and nail re-enterancy hazard.
5384 (impl_accessibility_registry_get_desktop_list): impl.
5385 (re_enterant_list_delete_link): impl.
5386 (re_enterant_list_foreach): impl.
5387 (remove_listener_cb): impl.
5388 (_registry_notify_listeners): kill.
5389 (notify_listeners_cb): impl.
5391 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5392 (SPI_getDesktopList): impl.
5394 * test/test-simple.c (test_desktop): test the methods.
5396 2002-01-03 Michael Meeks <michael@ximian.com>
5398 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5399 keystrings since we free them
5400 (SPI_freeAccessibleKeySet): in here.
5402 * libspi/accessible.c (spi_accessible_new): kill warning,
5403 wonder what is going on with the constructor here.
5405 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5407 * libspi/accessible.c (spi_accessible_new ()) :
5408 Added check to see if AtkObject is an SpiRemoteObject before
5409 creating an SpiAccessible.
5411 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5413 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5414 Enable keygrabs using the Control modifier, now that they are
5415 working properly (they were previously disabled).
5418 Change the command keygrab for this demo to "Control+Alt", so as
5419 to conflict with fewer other key commands on the system; this
5420 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5422 Removed a pointlessly-chatty keylistener for unshifted keys
5423 (shifted keys are still reported).
5425 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5427 * libspi/remoteobject.h:
5428 * libspi/remoteobject.c:
5429 Added definitions for special AtkObject subtype, required for
5430 support of remote components (specifically, used by BonoboControl
5431 accessibility implementation).
5433 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5435 * cspi/spi.h: synched relation types with ATK
5437 * cspi/spi_accessible.c: Added implementations of
5438 AcccessibleRelation_* methods
5440 * idl/Accessibility_Relation.idl: added getRelationTypeName
5441 method. Synched known relation types with ATK. Allowed for
5442 relation type extension with the RELATION_EXTENDED type.
5444 * libspi/relation.c: Provided implementations for
5445 AccessibleRelation methods.
5447 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5449 API tweaks for today's API 'freeze'.
5452 Added placeholder functions to allow future compatible expansion
5453 of the IDL interfaces.
5455 * idl/Accessibility_Registry.idl:
5456 Changed generateKeyEvent to generateKeyboardEvent. Changed
5457 signature of this method to accept an optional keystring in
5458 parameter (for complex text input synthesis) and changed use of
5459 simple 'boolean' parameter in registerKeystrokeListener to a
5460 struct, EventListenerMode.
5462 * cspi/spi_accessible.c:
5464 * cspi/spi_streamablecontent.c:
5465 Added references to AccessibleStreamableContent interface, and
5466 definition and implementation of AccessibleStreamableContent
5469 * cspi/spi_registry.c:
5471 Changed generateKeyEvent API to generateKeyboardEvent,
5472 taking a new (optional) keystring parameter to support complex
5477 Renamed directory (to better reflect its actual purpose, bridging
5478 from at-spi to ATK). The .so module is also now named
5481 * idl/Accessibility_Hypertext.idl:
5482 * libspi/accessible.c:
5483 * libspi/hypertext.h:
5484 * libspi/hypertext.c:
5485 Changed Accessibility_Hypertext to *not* derive from
5488 * cspi/spi_registry.c:
5489 Added list of legal event type names for 'window' events, which
5490 completes the registry event API.
5492 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5494 * at-bridge/bridge.c: Added registration for separate
5495 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5496 signals. If either of the first two parameters to the generic
5497 bridge signal handler are ints, they are passed on as event
5498 details. This allows an AT to determine what text was inserted.
5500 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5502 * registryd/deviceeventcontroller.c:
5503 Fixed regressions in generateKeyEvent caused by the removal of
5504 gdk_init from registryd; we now use pure X calls to connect to the
5505 display, which makes sense because deviceeventcontroller already
5506 uses a fair bit of X API (should eventually be migrated to a
5507 'portability layer').
5509 * registryd/desktop.c:
5510 Fixed minor regression in spi_desktop_init, changed the way the
5511 desktop name is being set to work with new spi_base API
5512 (gobject-based, rather than AtkObject-based).
5514 * registryd/Makefile.am:
5515 Minor revision of makefile to use XTST_LIBS variable rather than
5516 hard-wiring the Xtst LD_ADD element.
5518 * test/keysynth-demo.c:
5519 Tweaked an output message; added initialization of the
5520 'keystrings' member of the "switch listener" key_set.
5522 * libspi/relation.c:
5523 Squashed compile-time warning.
5525 * libspi/accessible.c:
5526 Cosmetic and formatting fixes, renamed a static method.
5528 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5530 * libspi/accessible.c
5532 * libspi/application.c
5535 * libspi/component.c
5536 * libspi/editabletext.c
5537 * libspi/hyperlink.c
5538 * libspi/hypertext.c
5540 * libspi/selection.c
5544 * registryd/desktop.c:
5545 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5547 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5549 * idl/Accessibility_Registry.idl:
5550 Added boolean member 'is_text' to DeviceEvent. This is for the
5551 use of key events, and helps prevent ambiguity between composed
5552 key strings and keysym names, since both may potentially be
5553 returned in the 'event_string' member.
5555 * at-bridge/bridge.c:
5556 * registryd/deviceeventcontroller.c:
5557 Use the 'is_text' member when notifying device event listeners.
5558 Knon issue: composed characters are not dealt with correctly by
5559 the global key listener implementation yet.
5561 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5563 * at-bridge/bridge.c:
5564 Namespaced local static methods to spi_atk_bridge_* where
5565 previously named bridge_*, and spi_* elsewhere.
5567 * at-bridge/bridge.c:
5568 * cspi/bonobo/cspi-bonobo-listener.c:
5569 Added demarshalling/conversion for string member of
5570 Accessibility_DeviceEvent to AccessibleKeystroke.
5572 * registryd/deviceeventcontroller.c:
5573 Added code to fill the Accessibility_DeviceEvent key string value
5574 member for global key events (i.e. from XGrabKey), to match
5575 behavior of Accessibility_DeviceEvent from the toolkit key events
5576 from the bridge. Fixed timestamp in global key event notifications.
5579 Added printout of key event's string value to
5580 report_ordinary_key_event, for demo/debugging purposes.
5582 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5584 * idl/Accessibility_Registry.idl:
5585 Removed Accessibility_KeyStroke structure in favor of generic
5586 Accessibility_DeviceEvent structure.
5587 Changed Accessibility_ControllerEventMask from a struct to an
5590 * at-bridge/bridge.c:
5591 Changed APIs to use DeviceEvent structure as above, and removed
5592 bogus casting between these event structures.
5594 * cspi/spi-listener.h:
5595 Added keystring member of AccessibleKeystroke structure, to enable
5596 matching on event "names" rather than only hardware codes and
5600 Added keystrings member of AccessibleKeySet struct, to allow
5601 matching on event names (as above).
5602 Added declarations for SPI_createAccessibleKeySet and
5603 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5604 event modmasks directly as unsigned ints rather than structs with
5605 refcounts, in the DeviceEventController methods.
5607 * cspi/spi_registry.c:
5608 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5610 * cspi/spi-roletypes.h:
5611 Added documentation of newly added SPI Roles.
5613 * cspi/bonobo/cspi-bonobo-listener.c:
5614 Changes in support of API changes above.
5616 * libspi/accessible.c:
5617 Converted APIs to use DeviceEvent structure (see IDL changes
5620 * registryd/deviceeventcontroller.c:
5621 Added DEControllerGrabMask structure to track keygrabs not only by
5622 modmask but by keyset as well; this allows us to do "global"
5623 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5624 grabbing on AnyKey and then filtering after-the-fact.
5625 Bugfixes for event filtration mean that we don't get false matches
5626 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5628 * registryd/deviceeventcontroller.c:
5629 Namespaced a number of static methods to use spi_ prefix. Major
5630 revision to internals of global (i.e. X) key grabs.
5632 * registryd/deviceeventcontroller.h:
5633 Removed keymask_list and added keygrabs_list to
5634 SpiDeviceEventController struct.
5637 Added use of SPI_createAccessibleKeySet API when creating a
5638 listener for only one key. Attach a listener to "shift spacebar
5639 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5640 X key event names to SPI key event names, so that listeners are
5641 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5643 * test/keysynth-demo.c:
5644 Changed (incorrect) use of X key event names (KeyPressed,
5645 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5648 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5650 * libspi/accessible.c:
5651 Convert all AtkRole enumerations to Accessibility_Role enums when
5652 getting a role from an AtkObject.
5654 * cspi/spi_accessible.c:
5655 Complete the conversion of Accessibility_Role enums at runtime to
5656 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5657 role enums correctly match those given in spi-roletypes.h.
5658 Re-synchronize the local names list for AccessibleRole_getName ().
5659 AccessibleRole_getName is now deprecated, since it duplicates the
5660 more reliable Accessible_getRoleName.
5661 Added some role types from Accessibility_Role.idl.
5663 * idl/Accessibility_Role.idl:
5664 Added some role types used by AtkRole.
5666 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5669 * cspi/spi_registry.c:
5671 * cspi/cspi-bonobo-listener.c:
5672 Namespaced all methods that did not begin with an "SPI_" or
5673 "Accessible" prefix to "SPI_".
5676 Homogenized internal function namespace to "cspi_" for statics.
5679 Patched tests to use the new CSPI API.
5681 * docs/reference/cspi/at-spi-cspi-sections.txt:
5682 Updated docs to reflect namespace changes, and added a number of
5683 methods to the documentation.
5685 * registryd/registry.c:
5686 Changed use of strings and string hashes in listener event
5687 matching and parse_event_string to use GQuark, which is guaranteed
5690 * registryd/registry.h:
5691 Squashed annoying warning.
5693 * idl/Accessibility_Role.idl:
5694 Extended range of available Accessibility_Role values.
5696 * cspi/spi_accessible.c:
5697 Re-ordered role names.
5699 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5701 * idl/Accessibility_Value.idl:
5702 Revert use of union back to CORBA_double, since the double type is
5703 more efficient and can contain the other types without loss of
5706 * idl/Accessibility_Accessible.idl:
5707 Added method Accessibility:Accessible:getRoleName, to complement
5708 Accessibility:Accessible:getRole.
5710 * cspi/spi_accessible.c:
5712 Added C binding for above, Accessible_getRoleName (), and changed
5713 signature of Accessible_getRole () to return an AccessibleRole.
5715 * cspi/spi-roletypes.h:
5716 Changed AccessibleRole_getName to return a char * instead of a
5717 const char *. This method is now at least temporarily deprecated
5718 in favor of asking Accessibles for their RoleNames directly.
5721 Revert to match Accessibility_Value.idl;
5725 Change signature of AccessibleValue methods to use double rather
5729 * cspi/spi_accessible.c:
5730 Changed Accessible_getRole to return an AccessibleRole enum rather
5731 than a UTF-8 string. The UTF-8 string can still be obtained via
5732 AccessibleRole_getName ().
5734 * test/test-simple.c:
5735 Add test_action. Small fixup to match API change to Accessible_getRole.
5738 Bugfix for get_action_from_servant ().
5740 2001-12-11 Michael Meeks <michael@ximian.com>
5742 * libspi/libspi.h: remove registry.h and
5743 desktop.h, deviceeventcontroller.h
5745 * libspi/Makefile.am: remove registry.[ch],
5746 desktop.[ch], deviceeventcontroller.[ch]
5748 * registryd/Makefile.am: add registry.[ch],
5749 desktop.[ch], rename registryd.c to registry-main.c.
5750 add deviceeventcontroller.[ch]
5752 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5755 Replace setenv() call with putenv ().
5757 * libspi/component.c:
5758 Bugfix in AccessibleComponent_getExtents (),
5761 2001-12-11 Michael Meeks <michael@ximian.com>
5763 * libspi/image.c (impl_getImageExtents): impl.
5764 (spi_image_class_init): upd.
5767 (AccessibleImage_getImageDescription): fix daft bug
5770 * test/test-simple.c (global_listener_cb): update
5771 to only quit if not --poke
5772 (main): catch --poke.
5773 (validate_accessible): upd. dumping, call test_image
5776 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5779 * idl/Accessibility.idl: update all IDL includes.
5781 * idl/*.idl - rename to namespace - this sucks, blame
5782 mjs' bad decision for oafd.
5784 * test/test-simple.c (create_test_window): add more tests.
5785 (create_tree): split this out.
5786 (validate_accessible): bugfix.
5788 2001-12-11 Michael Meeks <michael@ximian.com>
5790 * cspi/bonobo/cspi-bonobo-listener.c:
5791 (cspi_kestroke_listener_unref),
5792 (cspi_event_listener_unref): impl. undoing previous
5793 homenous environment - for Bill.
5795 * cspi/spi_table.c (long_seq_to_array): use
5798 * cspi/spi_main.c: split out all bonoboish bits into
5801 * cspi/spi-impl.h: upd. typedefs.
5803 * cspi/spi_registry.c: update to lowlevel API,
5804 return booleans to indicate success in some places.
5806 * cspi/spi_event.c: update to lowlevel API.
5808 * cspi/bonobo/Makefile.am: add.
5810 * cspi/bonobo/cspi-lowlevel.h: add
5812 * cspi/bonobo/cspi-bonobo.c: add
5814 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5816 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5817 (SUBDIRS): add bonobo, link in the libs.
5819 * cspi/spi-util.c: kill this file.
5821 * TODO: merge in my bits.
5823 2001-12-11 Michael Meeks <michael@ximian.com>
5825 * test/test-simple.c (test_value, test_table, main):
5826 remove unused variables causing warnings.
5828 * configure.in: cleanup checks - require gail.
5830 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5833 Changed Value interface to use SValue (scalars) rather than
5834 assuming all values are floats. This allows floats, doubles,
5835 longs, shorts, and unsigned values to be manipulated.
5836 Introduced Accessibility:SValue union.
5839 Updated to use new API above, and to work correctly with GValues
5840 of different types in AtkValue.
5843 Updated to use new API above. cspi's API is as yet unchanged.
5846 Updated the Value revision action item.
5848 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5850 * test/test-simple.c:
5851 Added test_table (GtkTreeView widget in test window to follow).
5852 Un-commented test_value, added GtkRange widget.
5853 Added GtkTreeView widget with GtkListStore. It passes regression
5854 test but leaks one SPI object for some reason.
5857 Fixed bug in impl__set_currentValue.
5859 2001-12-10 Michael Meeks <michael@ximian.com>
5861 * cspi/spi_text.c: audit for exception handling,
5862 tolerating NULL object references safely etc.
5864 * cspi/spi_value.c: ditto.
5866 * cspi/spi_table.c (AccessibleTable_getSummary),
5867 (AccessibleTable_getAccessibleAt),
5868 (AccessibleTable_getRowHeader),
5869 (AccessibleTable_getColumnHeader),
5870 (AccessibleTable_getCaption): fix bugs hidden by
5872 (long_seq_to_array): impl.
5873 (AccessibleTable_getSelectedRows),
5874 (AccessibleTable_getSelectedColumns): use it.
5876 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5879 Added a TODO list (rough and short for now).
5881 * cspi/spi_hyperlink.c:
5882 * cspi/spi_hypertext.c:
5883 Fixed macro name typos, and remove use of obsolete macro in
5884 AccessibleHyperlink_getLink.
5886 * cspi/spi_action.c:
5887 * cspi/spi_accessible.c:
5888 * cspi/spi_application.c:
5889 * cspi/spi_component.c:
5890 * cspi/spi_selection.c:
5893 Documentation fixes (removed return values from ref/unref methods).
5895 2001-12-10 Michael Meeks <michael@ximian.com>
5897 * cspi/spi_action.c: audit for exception handling,
5898 tolerating NULL object references safely etc.
5900 * cspi/spi_accessible.c: ditto.
5902 * cspi/spi_component.c: ditto.
5904 * cspi/spi_editabletext.c: ditto.
5906 * cspi/spi_hyperlink.c: ditto.
5908 * cspi/spi_hypertext.c: ditto.
5910 * cspi/spi_image.c: ditto.
5912 * cspi/spi_selection.c: ditto.
5914 2001-12-10 Michael Meeks <michael@ximian.com>
5916 * configure.in: use cspi/libspi.pc.in instead.
5918 * Makefile.am (pkgconfig_DATA): upd. to match.
5920 * test/simple-at.c (report_focus_event): kill hacks around
5921 bad return values, use putenv not setenv
5923 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5924 fire ChildGone - I killed it.
5926 * libspi/component.c
5927 (impl_accessibility_component_get_extents): remove
5930 * idl/Accessible.idl: kill ChildGone exception.
5932 * cspi/*.[ch]: kill int return from ref / unref.
5934 * cspi/spi_main.c (cspi_object_add_check): fold into
5935 (cspi_object_add): here.
5937 * cspi/spi_component.c (AccessibleComponent_getExtents):
5938 handle exceptions elegantly.
5940 * cspi/spi-private.h (cspi_check_ev_return),
5941 (cspi_return_if_fail): impl.
5943 * cspi/spi_accessible.c: use extensively.
5944 (AccessibleStateSet_equals): add direct compare check.
5946 * cspi/spi_selection.c: tolerate NULL objs, and check
5947 exceptions before return.
5949 * cspi/spi-util.c (cspi_warn_ev): rename to
5950 (cspi_check_ev): this & don't pass ev in; no point.
5952 2001-12-10 Michael Meeks <michael@ximian.com>
5954 * test/test-simple.c: use putenv not setenv
5955 (get_environment_vars): more chatty if you're not using
5958 * test/simple-at.c: do the setenv so more people see the
5961 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5963 * libspi/registry.c:
5964 Changed check of CORBA_environment on notification to be a warning
5965 instead of an error for the moment, since we can recover from this
5966 error when caused by a queued notification from a dead app.
5969 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5970 used by all current implementors of AtkValue), and coerce to
5971 CORBA_float. (Proper general case fix may require change to Value.idl).
5973 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5977 * cspi/spi_accessible.c:
5978 Documentation fixes: added user_data params to documentation for
5979 listeners and callbacks.
5981 * cspi/spi_accessible.c:
5982 Changed AccessibleStateSet_compare to return a
5983 StateSet rather than return the difference set into a third parameter.
5986 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5989 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5990 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5994 Remove subdirectory po from SUBDIRS for now.
5996 * at-bridge/bridge.c:
5997 Beefed up a couple of debug printouts.
5998 One-line fix for signal notification name formatting.
6000 * libspi/accessible.c:
6001 Added assertion to spi_accessible_new ().
6003 * libspi/application.c:
6004 Put #ifdef qualifiers around a printf.
6007 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
6009 * registryd/Makefile.am:
6011 Replaces use of XML_I18N_MERGE_SERVER_RULE with
6012 INTLTOOL_SERVER_RULE macro.
6015 Added an event listener for several ATK signals, for
6016 testing and debugging. Removed a few g_warnings.
6017 Added test output if focussed item implements the Value interface.
6019 * test/test-simple.c:
6020 Added test_value () function (known not to pass at the moment, so
6021 not actually called yet.
6023 2001-12-08 Michael Meeks <michael@ximian.com>
6025 * at-bridge/bridge.c (bridge_focus_tracker),
6026 (emit_eventv): fix the same ref. leak.
6027 (register_atk_event_listeners): don't leak.
6029 * cspi/spi-listener-impl.c (cspi_event): more
6030 protection from client code.
6032 * test/test-simple.c (test_desktop): unref the app.
6034 * test/Makefile.am: upd. TESTS.
6036 * at-bridge/bridge.c (bridge_exit_func): release the registry.
6038 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
6040 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
6042 * cspi/spi_registry.c: constify in strings.
6043 (deregisterGlobalEventListenerAll): don't release the ref.
6045 * cspi/spi.h: start removing redundant / conflicting
6046 gtkdoc comments, making the API readable at a glance :-)
6048 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
6050 * test/keysynth-demo.c (keysynth_exit, main): upd.
6052 * test/simple-at.c (main, simple_at_exit): upd.
6054 * test/test-simple.c (unutterable_horror): kill.
6055 (utterable_normal_derefs): kill.
6056 (main): upd & do a setenv before gtk_init, so that we
6057 can use memprof - and to save the pain of remembering
6058 this, if we're running under memprof - don't exit.
6060 * cspi/spi_main.c (SPI_exit): return exit status
6062 (SPI_event_quit): impl.
6063 (SPI_event_main): simplify.
6064 (cspi_is_gnome_app): kill.
6065 (SPI_init): kill isGNOMEapp arg.
6067 * at-bridge/bridge.c (register_atk_event_listeners):
6068 re-instate the unref.
6069 (bridge_exit_func): don't re-activate the registry,
6070 protect vs. theoretical re-entry, use the
6071 AT_BRIDGE_SHUTDOWN env. var to determine whether to
6072 assert a clean shutdown - for regression tests.
6074 2001-12-08 Abel Cheung <maddog@linux.org.hk>
6076 * configure.in: Comment out dummy i18n support for now,
6077 otherwise it fails to build.
6078 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
6079 EXTRA_DIST. They are missing in tarball.
6081 2001-12-07 Michael Meeks <michael@ximian.com>
6083 * util/magnifier.c: kill bonobo activation reg. race.
6085 * libspi/component.c
6086 (impl_accessibility_component_get_extents): make it match
6089 * libspi/registry.c (_registry_notify_listeners):
6090 re-remove X headers & reconcile conflicts.
6091 (spi_listener_struct_free): bad conflict resolve.
6092 (impl_accessibility_registry_register_application):
6093 more bad merging fixed.
6094 (impl_accessibility_registry_deregister_application): ditto.
6095 (spi_registry_new): ditto.
6096 (spi_registry_init): don't have an applications field.
6098 [ merge fixups2 branch to here ]
6099 2001-12-07 Michael Meeks <michael@ximian.com>
6101 * test/simple-at.c (report_focus_event),
6102 (report_focussed_accessible): remove g_warning debug.
6104 2001-12-07 Michael Meeks <michael@ximian.com>
6106 * test/test-simple.c (validate_tree): comment out some checks.
6107 (test_desktop): app now not registered idly - horay.
6109 2001-12-07 Michael Meeks <michael@ximian.com>
6111 * cspi/spi_registry.c
6112 (registerAccessibleKeystrokeListener): clean, stop it leaking
6113 great swathes of memory, and device event controller references.
6114 ensure we always pass valid sequences.
6115 (deregisterAccessibleKeystrokeListener): ditto.
6116 (generateKeyEvent): upd.
6118 * at-bridge/bridge.c (bridge_key_listener): handle
6119 registry dead exception gracefully.
6120 (bridge_focus_tracker, emit_eventv): free ev.
6122 * test/simple-at.c (report_focus_event): fix polarity.
6124 * libspi/application.c (notify_listeners): kill the ev
6125 argument, and make sure we init the ev we use.
6126 (spi_application_object_event_listener): split out a chunk
6127 (get_atk_object_ref): here & fixup.
6128 (reverse_lookup_name_for_toolkit_event): make const.
6129 (spi_application_toolkit_event_listener): fixup, kill leaks
6132 * at-bridge/bridge.c (register_atk_event_listeners):
6133 don't unref the noop object - causes grief.
6135 * libspi/registry.c: remove the X headers.
6136 turn off the debug churn.
6138 * libspi/accessible.c (spi_accessible_new_return): only
6139 release the ref if we are supposed to [doh]
6141 * test/simple-at.c (report_button_press, report_focus_event):
6142 guard vs. unexpected exit.
6144 * at-bridge/bridge.c (gtk_module_init): prune printf.
6145 (bridge_exit_func): fix app unref.
6147 * libspi/Makefile.am: don't install registry or desktop.h
6149 * libspi/*.h: update includes.
6151 * libspi/application.h: don't include ourself, or
6152 other redundant headers.
6154 2001-12-06 Michael Meeks <michael@ximian.com>
6156 * libspi/accessible.c
6157 (get_accessible_from_servant): impl.
6158 Upd. all CORBA impl.s to use it killing cut and paste.
6160 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6162 (SPI_init): register atexit cleanup handler here.
6164 2001-12-06 Michael Meeks <michael@ximian.com>
6166 * at-bridge/bridge.c (gtk_module_init): g_error on
6167 activation exception
6169 2001-12-06 Michael Meeks <michael@ximian.com>
6171 * at-bridge/bridge.c (gtk_module_init): some sort of
6172 confusing merge clash - reverted.
6173 (bridge_idle_init): ditto.
6175 * test/test-simple.c (main, utterable_normal_derefs):
6176 merge from Bill - somehow not committed.
6178 2001-12-06 Michael Meeks <michael@ximian.com>
6180 * libspi/value.c (spi_value_class_init): upd.
6181 (spi_value_finalize): kill.
6183 * libspi/table.c (spi_table_finalize): kill.
6184 (spi_table_interface_new): upd.
6185 (spi_table_class_init): upd.
6186 (get_table_from_servant): impl.
6187 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6189 * libspi/selection.c (spi_selection_finalize): kill.
6190 (spi_selection_interface_new): upd.
6191 (spi_selection_class_init): upd.
6192 (get_selection_from_servant): impl.
6193 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6195 * libspi/relation.c (spi_relation_finalize): kill.
6196 (spi_relation_class_init, spi_relation_new): upd
6198 * libspi/image.c (spi_image_finalize): kill.
6199 (spi_image_class_init): upd.
6200 (spi_image_interface_new): upd.
6201 (get_image_from_servant): impl.
6202 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6204 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6205 (spi_hyperlink_finalize): kill.
6206 (spi_hyperlink_new): upd.
6207 (get_hyperlink_from_servant): impl.
6208 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6210 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6211 (spi_hypertext_finalize): kill.
6212 (spi_hypertext_class_init): upd.
6213 (get_hypertext_from_servant): impl.
6214 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6216 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6217 (spi_editable_text_interface_new): upd.
6218 (get_editable_text_from_servant): impl.
6219 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6221 * libspi/text.c (get_text_from_servant): impl.
6222 All impls - update to use it killing more cut and paste,
6223 also fix bad string returns on duff args ( a somewhat
6224 impossible case to handle - but hey ).
6225 (spi_text_construct): impl.
6226 (spi_text_interface_new): upd.
6227 (spi_text_object_finalize): kill.
6229 * libspi/component.c
6230 (accessibility_component_object_finalize): kill.
6231 (spi_component_class_init): upd.
6232 (get_component_from_servant): impl. helper to kill cut & paste.
6233 (impl_accessibility_component_contains):
6234 (impl_accessibility_component_get_accessible_at_point):
6235 (impl_accessibility_component_get_position):
6236 (impl_accessibility_component_get_extents):
6237 (impl_accessibility_component_get_mdi_z_order):
6238 (impl_accessibility_component_get_layer):
6239 (spi_component_interface_new): upd.
6241 * libspi/action.c (spi_action_finalize): kill.
6242 (spi_action_class_init): upd. inherit from SpiObject.
6243 (spi_action_interface_new): upd.
6244 (get_action_from_servant): impl. helper to reduce cut & paste.
6245 (impl_getKeyBinding, impl_getName, impl_doAction),
6246 (impl_getDescription): Use it everywhere.
6248 * cspi/spi_main.c (get_live_refs): a pointer hash.
6249 (spi_object_hash, spi_object_equal): comment out.
6250 There are issues with CORBA object hashing that need
6253 * libspi/application.c (spi_application_init),
6254 (spi_application_new): upd.
6256 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6257 (spi_accessible_class_init): upd.
6258 s/accessible/object/ in epv methods.
6260 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6262 * at-bridge/bridge.c:
6263 Reorder the bridge initialization into the bridge gtk_module_init,
6264 an immediate call to bridge_register_app, and an idle_add for
6265 register_atk_event_listeners (the only code that *must* wait until
6266 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6267 the activation, creates the application's Accessible object, and
6268 queues the bridge_idle_init function. Restored call to
6269 Accessibility_Registry_deregisterApplication().
6270 Prior to making this call we obtain a new reference to the
6271 registry, which is a temporary hack that helps us handle apps that
6272 shut down the bonobo mainloop before we get there.
6274 * libspi/registry.c:
6275 Fix string leakage in debug block, and don't segv if a an app
6276 dies before its event notifications have been propagated.
6279 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6280 as stopgap measure until we get proper exception handling when
6281 objects die during or before interrogation.
6285 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6286 Also changed default value of is_gnome_app to TRUE.
6289 * test/keysynth-demo.c:
6290 Changed use of SPI_init and SPI_event_main to reflect API change above.
6293 Made report_focus_event check the warning value from getName
6294 before reporting on focussed accessible; simplifies handling of
6295 notifications from dead objects.
6297 * test/test-simple.c: (Changes not in this patch since source is
6300 2001-12-05 Michael Meeks <michael@ximian.com>
6302 * registryd/registryd.c (main): protect against
6303 bonobo-activation startup race condition.
6305 * cspi/spi_main.c (cspi_object_add_check): cope
6306 with the exception elegantly.
6308 * idl/Accessible.idl: decl. ChildGone
6310 * libspi/desktop.c (spi_desktop_dispose): impl.
6311 (spi_desktop_class_init): upd.
6312 (spi_desktop_add_application),
6313 (spi_desktop_remove_application),
6314 (abnormal_application_termination): impl.
6315 (impl_desktop_get_child_at_index): re-impl.
6318 (impl_accessibility_registry_deregister_application),
6319 (impl_accessibility_registry_register_application):
6320 kill excessive debug clutter.
6322 * test/test-simple.c (test_misc): test some NULL
6323 tolerance. (main): upd.
6325 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6326 implements no interfaces - so let's not crash.
6328 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6330 * libspi/accessible.c (spi_accessible_new_return): impl.
6331 helper to calm the cut and paste, to cope with
6332 NULL AtkObjects effectively and efficiently, and to kill
6333 the referencing bugs.
6335 * libspi/table.c (impl_getAccessibleAt),
6336 (impl_getRowHeader, impl_getColumnHeader): upd.
6338 * libspi/hyperlink.c (impl_getObject): upd.
6340 * libspi/accessible.c
6341 (impl_accessibility_accessible_get_child_at_index): upd.
6343 * libspi/component.c
6344 (impl_accessibility_component_get_accessible_at_point): upd.
6346 * test/test-simple.c (test_editable_text, test_text): impl.
6349 * cspi/spi_editabletext.c
6350 (AccessibleEditableText_insertText): constify.
6352 * test/test-simple.c (focus_me): make more robust.
6354 * libspi/accessible.c: remove some printfs in methods that
6355 we test and work fine, so we can get a clean tree dump.
6357 * test/test-simple.c (validate_accessible),
6358 (validate_tree): make tree dumping pretty too.
6360 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6361 it builds without debug on.
6363 * test/test-simple.c (validate_accessible): fix the most
6366 * cspi/spi_main.c (spi_object_release): leave the nicely
6367 blanked memory around if in debug mode.
6369 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6371 [committed to fixups2]
6372 2001-12-05 Michael Meeks <michael@ximian.com>
6374 * libspi/editabletext.c
6375 (spi_editable_text_class_init): g_type_class_peek_parent,
6376 not interface peek - so we finalize cleanly.
6378 * libspi/accessible.c (spi_accessible_new): kill debug.
6380 * test/test-simple.c (validate_accessible): fix ref.
6381 leak, print strings before freeing them; sigh, comment a
6382 chunk out due to strangeness.
6383 (validate_tree): unref the child after use.
6385 * cspi/spi_component.c (AccessibleComponent_getLayer):
6386 add missing break statement, switch on zlayer not the
6387 uninitialized retval.
6389 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6390 before (possibly re-entering) remote unref.
6392 * test/simple-at.c (main): unref the desktop.
6394 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6397 * cspi/spi_main.c (cspi_accessible_is_a): here to
6398 isolate bonobo API usage more.
6400 * libspi/registry.c (impl_accessibility_registry_register_application):
6401 prune bogus comment.
6403 2001-12-04 Michael Meeks <michael@ximian.com>
6405 * test/test-simple.c (validate_tree): upd.
6406 IndexInParent check to make it more lucid.
6407 (validate_accessible): dump the tree.
6409 * libspi/accessible.c (de_register_public_ref),
6410 (get_public_refs): impl.
6411 (spi_accessible_new): make more efficient & intuitive.
6412 Now IndexInParent check works.
6414 2001-12-04 Michael Meeks <michael@ximian.com>
6416 * cspi/spi-util.h: remove.
6418 * cspi/spi.h: move SPI_freeString here
6420 * libspi/component.c (impl_accessibility_component_get_layer):
6422 (impl_accessibility_component_get_mdi_z_order): ditto,
6423 return -1 on error - is this ok ?
6425 * test/test-simple.c (test_application): impl.
6427 * cspi/spi_accessible.c (Accessible_getApplication),
6428 (Accessible_isApplication): impl.
6430 * libspi/registry.c (spi_listener_struct_free): release
6431 the CORBA reference too.
6433 * libspi/accessible.c
6434 (impl_accessibility_accessible_get_parent): fix ref leak.
6436 * libspi/registry.c (spi_registry_new): make the registry
6437 immortal - we don't want it to go away ever.
6439 * libspi/application.c
6440 (spi_accessible_application_finalize): impl. cleanup.
6442 * cspi/spi_registry.c
6443 (deregisterGlobalEventListenerAll),
6444 (deregisterGlobalEventListener),
6445 (deregisterAccessibleKeystrokeListener): fix ref leak.
6447 * cspi/spi_main.c (SPI_init): remove redundant ref.
6449 * test/test-simple.c (unutterable_horror): impl. to force a
6454 (impl_accessibility_registry_deregister_application): release
6455 the application when we de-register it.
6457 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6458 until we have the infastructure to get it right.
6460 2001-12-03 Michael Meeks <michael@ximian.com>
6462 * libspi/Makefile.am: only build eventlistener.[ch]
6464 * libspi/accessible.c
6465 (impl_accessibility_accessible_get_child_at_index): don't leak.
6467 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6468 before we hit the idle handler.
6470 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6471 debugging than exit.
6473 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6475 * libspi/listener.c (impl_notify_event): check source
6476 not NIL before unref.
6478 * libspi/registry.c (impl_registry_notify_event): ditto.
6480 * libspi/eventlistener.c
6481 (impl_accessible_event_notify_event): unref the source.
6483 * libspi/accessibleeventlistener.c
6484 (impl_accessible_event_notify_event): unref the source.
6486 * idl/Event.idl: remove 'hash_id' attribute - of no
6489 * libspi/application.c (notify_listeners): upd list
6491 (spi_application_object_event_listener),
6492 (spi_application_toolkit_event_listener): upd to do correct
6496 (_registry_notify_listeners): update.
6497 (parse_event_type): this method also leaks like a sieve.
6498 (impl_accessibility_registry_deregister_global_event_listener):
6499 fix ETYPE_WINDOW case.
6501 * libspi/application.c
6502 (impl_accessibility_application_register_object_event_listener):
6505 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6507 * libspi/hypertext.c (impl_getLink): ditto.
6509 * cspi/spi_main.c (cspi_object_add): remove
6510 bogus CORBA_Object_duplicate.
6512 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6515 * cspi/spi_accessible.c
6516 (Accessible_getRelationSet): fix leak / referencing issue.
6518 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6519 (cspi_object_add, cspi_object_unref): upd.
6520 (spi_object_release, get_live_refs): impl.
6521 (cspi_cleanup): simplify.
6523 * *.[ch]: s/boolean/SpiBoolean/
6525 * cspi/spi_accessible.c (role_names): actualy order so it
6526 corresponds with the enum !
6528 * test/test-simple.c (test_roles): check some role strings
6529 vs. enums to detect offset errors.
6531 2001-12-01 Michael Meeks <michael@ximian.com>
6533 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6535 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6537 (Accessible_getChildAtIndex): use cspi_add_check so we
6538 check the ev before using a (possibly) invalid value.
6540 * libspi/accessible.c
6541 (impl_accessibility_accessible_get_parent): don't segv
6544 * at-bridge/bridge.c (gtk_module_init): upd.
6545 (bridge_property_event_listener): don't leak strings
6547 (bridge_state_event_listener),
6548 (bridge_property_event_listener): don't use a static
6549 buffer in case of recursive event emission &
6550 re-enterancy - split out the swathe of cut and paste
6552 (emit_eventv): and fix 2 ref leaks here & comply to the
6554 (bridge_register_app): rename to
6555 (bridge_idle_init): this and kill arg parsing, split
6556 various inits & bonobo-activation registration to module
6557 init time, kill referencing error.
6558 (bridge_exit_func): fix the same leak.
6559 (bridge_focus_tracker): don't leak event structures
6561 (bridge_signal_listener): more leakage and cut & paste
6563 (bridge_key_listener): return the result - FIXME is
6564 this polarity correct ?
6565 (accessibility_keystroke_from_atk_key_event): rename
6566 (accessibility_init_keystroke_from_atk_key_event): and stop
6568 (gtk_module_init): return a value - not that it is checked by
6570 (bridge_key_listener): register my horror at casting between
6571 IDL defined structs.
6572 (bridge_get_registry): kill - not used.
6574 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6576 * test/test-simple.c (test_roles): impl.
6577 (test_desktop, validate_accessible, validate_tree): impl.
6579 * cspi/spi_accessible.c (role_names): fixup bogus
6580 MAX_ROLES setup, make constants const for efficient linkage
6581 (AccessibleRole_getName): conform to coding style, make
6584 2001-11-30 Michael Meeks <michael@ximian.com>
6586 * cspi/spi.h: add missing prototype.
6588 * libspi/registry.c (spi_listener_struct_new): fix sig.
6590 * test/Makefile.am: add test-simple
6592 * test/test-simple.c: add
6594 * test/test.sh: add.
6596 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6598 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6599 do it straight - since otherwise we often get an activation race.
6601 [ work before Bill duplicated a chunk of it ... ]
6602 2001-11-30 Michael Meeks <michael@ximian.com>
6604 * libspi/keystrokelistener.c
6605 (spi_keystroke_listener_class_init): fixup arg
6608 * libspi/eventlistener.c
6609 (spi_event_listener_class_init): ditto.
6611 * tests/test.sh: add.
6613 * cspi/spi-listener-impl.h: update macros.
6615 * cspi/spi-listener-impl.c
6616 (cspi_event_listener_remove_callback): add
6617 correct pre-conditions.
6619 * cspi/spi_main.c (SPI_exit): guard vs. double
6620 exits, exit the mainloop nicely.
6621 (SPI_event_main): make more sense.
6622 (SPI_init): move the atexit evilness here so we
6623 always do it (yuck).
6624 (SPI_event_main): upd.
6626 * test/simple-at.c: update for listener changes.
6628 * registryd/registryd.c (main): prune kruft.
6630 * libspi/libspi.h: upd.
6632 * libspi/eventlistener.[ch]: rename broken macros.
6634 * libspi/accessibleeventlistener.[ch]: remove.
6636 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6638 * test/test-simple.c: Add - automated tests.
6640 * cspi/spi-listener-impl.c (cspi_event),
6641 (cspi_key_event): add user_data to invoke.
6642 (cspi_keystroke_listener_finalize): impl.
6643 (cspi_keystroke_listener_class_init): upd.
6646 (createAccessibleEventListener),
6647 (AccessibleEventListener_addCallback),
6648 (createAccessibleKeystrokeListener),
6649 (AccessibleKeystrokeListener_addCallback): upd.
6651 * libspi/deviceeventcontroller.c
6652 (spi_device_event_controller_check_key_event): add public proto.
6655 (impl_accessibility_registry_deregister_global_event_listener):
6656 always init listeners.
6657 (_registry_notify_listeners): yes it is.
6659 * cspi/spi-listener-impl.c (cspi_key_event):
6661 (cspi_event_listener_finalize): impl.
6662 (cspi_event_listener_class_init): hook up.
6663 (event_handler_new, event_handler_free),
6664 (event_list_remove_by_callback): impl.
6665 (cspi_event_listener_remove_callback),
6666 (cspi_keystroke_listener_remove_callback),
6667 (cspi_keystroke_listener_add_callback),
6668 (cspi_event_listener_add_callback): upd.
6670 * libspi/keystrokelistener.c
6671 (keystroke_listener_object_finalize): kill
6672 (spi_keystroke_listener_class_init): upd.
6673 (spi_keystroke_listener_add_callback),
6674 (spi_keystroke_listener_remove_callback): kill,
6676 (impl_key_event): prune drasticaly.
6678 * libspi/eventlistener.c
6679 (spi_event_listener_add_callback),
6680 (spi_event_listener_remove_callback): kill, use
6682 (impl_accessible_event_notify_event): upd.
6683 (spi_event_listener_object_finalize): remove.
6685 * libspi/Makefile.am: use eventlistener.[ch]
6687 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6689 * libspi/registry.c (_registry_notify_listeners):
6690 Changed listener loop iteration to use preferred convention.
6691 Got rid of string memory leaks caused be calling g_strconcat
6692 inside function calls.
6694 * libspi/registry.c (parse_event_type):
6695 Stopped g_strconcat memory leaks, free the g_strsplit return,
6696 g_strdup the split pieces when used, etc.
6698 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6701 Change method 'compare' to return a 'difference set' rather than
6702 taking a StateSet as an out parameter (more Java-friendly).
6704 * idl/Accessible.idl:
6705 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6707 * idl/Component.idl:
6709 Changed methods 'getExtents' and 'getImageExtents' in these
6710 interfaces to return a BoundingBox structure.
6711 (getPosition and getSize are redundant and possibly should be
6712 removed, rather than creating a corresponding Point struct.)
6714 * cspi/spi_component.c:
6715 Modify implementation of getExtents to reflect the above IDL
6720 Add (missing) AccessibleImage_getExtents () API.
6722 * docs/reference/cspi/at-spi-cspi-sections.txt:
6723 Added AccessibleImage_getImageExtents () to docs.
6725 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6727 * idl/Component.idl:
6728 Added two methods, getLayer () and getMDIZOrder (), to reflect
6729 the new ATK methods atk_object_get_layer and
6730 atk_object_get_mdi_z_order. (Which arguably should be part of the
6731 AtkComponent API and AtkObject). Also added an enum,
6732 ComponentLayer, for the first method's return value.
6734 * libspi/component.c:
6735 Added implementations for these methods.
6737 * cspi/spi_component.c:
6739 Added cspi binding methods for above,
6740 AccessibleComponent_getLayer() and
6741 AccessibleComponent_getMDIZOrder().
6742 Added cspi enum 'AccessibleComponentLayer'.
6744 * docs/reference/cspi/at-spi-cspi-sections.txt:
6745 Added above methods to docs.
6749 Changed typedef for 'boolean' type (and all references to it) to
6750 SPIBoolean, to avoid keyword clashes with C++.
6753 Changed usages of 'boolean' to SPIBoolean.
6755 * test/keysynth-demo.c:
6756 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6757 app), except where SPIBoolean is required by the callbacks API.
6759 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6761 * cspi/spi_registry.c:
6762 Removed obsolete X event loop for passive keygrabs (which now
6765 * registryd/registryd.c:
6766 Removed unnecessary call to gdk_init() [cruft]. This also allows
6767 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6770 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6772 * docs/reference/cspi:
6773 Included docs for SPI_freeString in generated documentation.
6776 Renamed spi_freeString to SPI_freeString, for consistency. Added
6777 documentation for this function.
6780 Renamed spi_freeString to SPI_freeString, for consistency.
6781 Removed obsolete method declaration string_from_corba_string.
6783 * test/keysynth-demo.c:
6784 Small tweak to comments.
6787 Stopped leaking the strings returned from CSPI.
6789 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6791 Merged Michael's branch (see his ChangeLog entries below).
6793 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6794 bridge is alive, release on exit.
6796 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6797 Fix type check macro.
6800 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6803 Added is_gnome_app static, and method cspi_is_gnome_app(),
6804 so we can call the appropriate shutdown routine at exit in SPI_exit.
6806 * cspi/spi_main.c (cspi_object_ref):
6807 Duplicate the corba object passed in, since we're keeping it around.
6809 * cspi/SPI_exit.c, cspi_cleanup:
6810 Moved the releasing of the live refs to its own function, so we
6811 can put it in g_atexit (). Call the appropriate shutdown API
6812 depending on whethe calling client is a gnome app or not
6813 (bonobo_main_quit or CORBA_ORB_shutdown).
6815 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6816 Unref the listener when this method is called, after
6817 deregistration. Updated the API docs to note this behavior.
6819 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6820 Bugfixes: Ref the bonobo object when returning a parent or child
6821 reference, or an AccessibleRelation. Generally made sure
6822 BonoboObject refcount is incremented whenever we return an
6825 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6826 Fixed typo/bug in signal declaration.
6828 * libspi/accessibleeventlistener.h:
6831 * libspi/application.c (spi_application_new):
6832 Fixed leak in initialization.
6835 Remembered to increment bonobo-object refcount when returning
6836 children (applications) from desktop object.
6837 Added (empty) finalize method.
6839 * libspi/deviceeventcontroller.c:
6840 Hold a ref to listeners inside DEControllerKeyListeners.
6841 Added dec_key_listener_free() method. Use prepend instead of
6842 append in key_listener list. Fixed some refcount madness and
6843 leaks in the listener registration/deregistration - deregistration
6844 now calls dec_key_listener_free() on listeners, and on the
6845 temporarily constructed dec_key_listener() used to perform the search/match.
6847 * libspi/hypertext.c (spi_hypertest_finalize):
6848 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6849 class. Also fixed spi_hypertext_interface_new() and
6850 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6852 * libspi/hypertext.h:
6853 Removed pointless and duplicate AtkObject pointer from
6856 * libspi/keystrokelistener.c:
6857 Fixed incorrect type of keystroke_listener_parent_class,
6858 renamed keystroke_listener_object_finalize to
6859 spi_keystroke_listener_object_finalize.
6860 Fixed typo in signal declaration
6861 (spi_keystroke_listener_class_init).
6863 * libspi/registry.c:
6864 Added funcsions spi_listener_struct_new() and
6865 spi_listener_struct_free() to help with memory management issues.
6866 We also now use these methods instead of gnew + poking stuff into
6867 the struct, and to decrement listener counts/free the listeners
6868 when deregistering them.
6869 Fix more refcount bugs in getDesktop() and
6870 getDeviceEventController().
6873 De-ref the desktop after enumerating the applications. Explicitly
6874 decrement the refcounts on the created listeners on exit (using
6875 _unref for keystroke listeners, and via the
6876 deregisterGlobalEventListenerAll command for other event
6879 2001-11-27 Michael Meeks <michael@ximian.com>
6881 * cspi/spi-listener.h: fixup enum.
6883 2001-11-27 Michael Meeks <michael@ximian.com>
6885 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6886 (cspi_keystroke_listener_new): Use the cspi variants.
6888 2001-11-26 Michael Meeks <michael@ximian.com>
6890 * test/keysynth-demo.c: fix 2 compile warnings, missing
6893 * test/simple-at.c (report_focussed_accessible),
6894 (report_focus_event, report_button_press),
6895 (check_property_change, is_command_key),
6896 (report_ordinary_key_event, report_command_key_event): upd.
6898 * util/mag_client.h: include pre-requisites.
6900 * libspi/accessibleeventlistener.c
6901 (spi_event_listener_object_finalize): free any lingering
6904 * libspi/keystrokelistener.c
6905 (keystroke_listener_object_finalize): ditto.
6907 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6908 callbacks, with cspi types.
6910 * cspi/spi_event.c (createAccessibleEventListener): chain to
6911 (AccessibleEventListener_addCallback): here.
6912 (createAccessibleKeystrokeListener): chain to
6913 (AccessibleKeystrokeListener_addCallback): here.
6915 * libspi/keystrokelistener.c
6916 (spi_keystroke_listener_class_init): add signal.
6917 (impl_key_event): emit the event.
6918 (boolean_handled_accumulator): impl.
6919 (marshal_BOOLEAN__POINTER): add, gack.
6921 * libspi/accessibleeventlistener.c
6922 (spi_event_listener_class_init): add signal.
6923 (impl_accessible_event_notify_event): emit the signal &
6924 make the loop efficient.
6925 (spi_event_listener_add_callback): prepend the callback.
6927 * libspi/accessibleeventlistener.h: add an 'event' signal,
6928 decl type on callback.
6930 * libspi/keystrokelistener.h: ditto.
6932 * cspi/spi-listener.h: make methods typesafe and
6933 make them use the new event typedefs.
6935 * test/simple-at.c (report_focussed_accessible):
6936 include mag_client.h
6937 Use *(void *)text_interface not the other thing.
6939 * configure.in: add gtk to registryd bits - since we use
6942 * util/magnifier.c: include libbonobo.h
6944 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6946 * test/keysynth-demo.c:
6947 Turned this into a simple scanning keyboard, to demonstrate the
6948 use of g_timeout_add () as a means of creating timers for
6949 scanning, and the use of GtkStyle for visually indicating when
6950 virtual keyboard elements are selected.
6952 keysynth-demo now listens to any keyboard keys with zero-valued
6953 keycodes (i.e. 'unused' keys) and interprets them as
6956 Reworked the shiftlatch code so that shift-down state isn't held
6957 for long periods (it's only synthesized immediately prior to
6958 the keysynth event it's modifying). Note that shiftlatch in this
6959 demo is a convenience, not intended to take the place of AccessX
6960 which is the better choice for getting 'sticky' modifier keys.
6962 * libspi/deviceeventcontroller.c:
6963 * at-bridge/bridge.c:
6964 * cspi/spi_registry.c:
6965 Removed some debug print stuff, and put other verbosity in #ifdef
6970 Implemented some more of the magnifier IDL for the simple
6971 magnifier: namely, getZoomRegionParams.
6972 Added mag_x and mag_y members to MagnifierData struct, aid of this
6974 Added GtkWindow::realize signal handler to magnifier, to keep it
6975 from receiving keyboard focus from the WM.
6977 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6979 * cspi/spi-private.h: my guess at what michael forgot
6980 before he ran off to NZ :-)
6982 2001-11-23 Michael Meeks <michael@ximian.com>
6984 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6985 comment out non existant method invoke so we link.
6987 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6988 use bonobo_exception_get_text for more friendly warnings.
6990 * cspi/spi.c (Obj_Add): move into spi_main & rename
6991 spi_object_add; kill spi.c
6993 * cspi/spi_registry.c
6994 (deregisterGlobalEventListener),
6995 (deregisterGlobalEventListenerAll),
6996 (registerGlobalEventListener): fix exception leaks.
6998 * cspi/spi_main.c (spi_exception): impl. helper, so we
6999 don't leak exceptions.
7001 * cspi/spi_selection.c
7002 (AccessibleSelection_deselectSelectedChild): return the
7005 * cspi/spi_main.c (spi_ev): impl; hack - gack.
7006 (spi_registry): ditto.
7007 (SPI_init): guard against double inits.
7009 * cspi/*.c: use spi_ev (), and spi_registry () where
7010 appropriate - a temporary hack until we have something
7011 better. Use spi_object_add
7013 2001-11-22 Michael Meeks <michael@ximian.com>
7015 * cspi/Makefile.am: re organise, install the headers.
7017 * cspi/*.h: add G_BEGIN/END_DECLS
7019 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7022 Added non-preemptive keylistener for key events with no modifiers
7023 and shift-only modifier.
7025 * libspi/keystrokelistener.c:
7026 Removed some verbose diagnostics printout.
7028 * cspi/spi_registry.c:
7029 Fixed a bug that caused all key listeners to be registered as
7032 * libspi/deviceeventcontroller.c:
7033 Fixed bug that caused XGrabKey (preemptive key grab) to be called
7034 for non-preemptive key masks.
7037 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7039 * docs/reference/idl/at-spi-idl-docs.sgml:
7040 * docs/reference/idl/at-spi-idl-sections.txt:
7041 * docs/reference/idl/at-spi-idl-overrides.txt:
7042 Added missing files.
7044 * docs/reference/Makefile.am:
7045 removed idl from SUBDIRS until we can figure a way to get gtk-doc
7046 to scan the IDL files :-(
7051 Added .cvsignore files.
7053 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7055 * libspi/deviceeventcontroller.c:
7056 * libspi/keystrokelistener.c:
7058 * cspi/spi_registry.c:
7059 Added filters for KeySets, KeyEventSeq, and event types to key
7060 event dispatching, so listeners should only receive those events
7061 that they requested :-)
7063 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7068 * docs/reference:Makefile.am:
7069 * docs/reference/cspi:
7070 * docs/reference/cspi:Makefile.am:
7071 * docs/reference/cspi:tmpl:
7072 * docs/reference/cspi:tmpl:*.sgml:
7073 * docs/reference/idl:
7074 * docs/reference/idl:Makefile.am:
7075 * docs/reference/idl:at-spi-idl-sections.txt:
7076 * docs/reference/idl:at-spi-idl-docs.sgml:
7077 * docs/reference/idl:tmpl:
7078 * docs/reference/idl:tmpl:*.sgml:
7080 Restructured docs directory to allow separate 'reference' docs
7081 section, and forked idl and cspi docs. Added the sgml template
7082 files to CVS. Added the first sections/structural sgml for the
7085 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
7087 * configure.in, libspi/Makefile.am: find libXtst.
7089 2001-11-21 Michael Meeks <michael@ximian.com>
7091 * test/accessx-gui.c: s/spi_value/value/ - doh.
7093 * libspi/base.[ch]: add.
7095 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7097 * idl/Accessible.idl:
7098 * idl/Application.idl:
7101 Started gtk-doc cleanup on IDL.
7103 * libspi/deviceeventcontroller.c:
7104 Added and connected non-preemptive key notification from the
7105 toolkits (in addition to the pre-emptive support from XServer
7106 which we had before, but which causes 'focus flashing'). Filters
7107 are presently limited to key modifiers and global/non-global,
7108 KeySets are presently ignored, as are KeyEvent masks.
7110 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7111 structs into the persistant structure rather than just storing
7112 pointers to things that might not persist across servant
7115 The XGrabKey call now does async keygrabs, because synchronous
7116 ones were deadlocking with GDK_event code in a very nasty way.
7118 Added boolean to internal method notify_keylisteners, to indicate
7119 whether the event came from the 'toolkit source' or the 'global
7120 (XServer) source' - this is used in the notification process to
7121 determine which listeners to send the event to.
7123 deviceeventcontroller.c is now warning-free.
7125 * libspi/registry.c:
7126 Fixed regression in application de-registration.
7127 Also fixed some really brain-dead weirdness having to do with
7128 event dispatching - event structs are now duplicated before being
7129 re-marshalled in the dispatch to listeners. This also fixes a
7130 Solaris build problem.
7133 2001-11-20 Michael Meeks <michael@ximian.com>
7136 (impl_accessibility_registry_deregister_global_event_listener):
7139 * libspi/deviceeventcontroller.c
7140 (spi_device_event_controller_check_key_event): return
7141 FALSE on no virtual method.
7143 * libspi/*..h: make includes work on a correctly pathed install.
7145 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7147 * libspi/application.h: kill unused ( and whacked out )
7148 gboolean *spi_application_set_id (AtkObject *app, long id);
7150 2001-11-20 Michael Meeks <michael@ximian.com>
7152 * libspi/*.[ch]: further convert to bonobo's type func
7153 macros, remove redundnant casts etc.
7155 * libspi/text.c s/accessibility_text/spi_text/g,
7156 re-order to de-cruft.
7158 * libspi/hypertext.c: re-order to kill a huge slew
7159 of redundant forward decls.
7161 * libspi/relation.c: ditto.
7163 * libspi/image.c: ditto.
7165 * */.cvsignore: update
7167 2001-11-20 Michael Meeks <michael@ximian.com>
7169 * libspi/deviceeventcontroller.c
7170 (_controller_register_with_devices): use g_getenv,
7171 kill stdlib.h include.
7173 * libspi/keystrokelistener.c
7174 (spi_keystroke_listener_get_type): kill
7175 (spi_keystroke_listener_class_init),
7176 (spi_keystroke_listener_init): rename to this.
7178 * libspi/text.c (impl_getAttributes): fix warning / bug.
7180 * libspi/*.[ch]: more headers, includes and over commenting.
7182 2001-11-20 Michael Meeks <michael@ximian.com>
7184 * libspi/*.[ch]: fixup headers, includes and over commenting.
7186 * libspi/image.c (impl__get_imageDescription): const
7187 correctness warning fix. remove redundant casting.
7189 * libspi/table.c (impl_getRowDescription): ditto.
7190 (impl_getColumnDescription): ditto.
7192 * libspi/libspi.h: add.
7194 2001-11-19 Michael Meeks <michael@ximian.com>
7196 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7198 * libspi/component.c (accessibility_component_get_type):
7199 rename to (spi_component_get_type): and macroify.
7200 (accessibility_component_init): rename to
7201 (spi_component_init): this
7202 (accessibility_component_class_init): rename to
7203 (spi_component_class_init): this
7205 * libspi/action.c (spi_action_get_type): kill, use the macro.
7207 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7210 * libspi/application.c (spi_application_object_event_listener),
7211 (impl_accessibility_application_register_object_event_listener):
7212 warning fixes / const understanding updates.
7214 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7217 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7219 * libspi/spi_accessible.c: Added docs and C bindings for
7220 AccessibleStateSet. (No implementations yet). Documentation
7221 coverage for C bindings now 100%. Made docs for event listeners
7226 boolean notifyListenersSync (in DeviceEventListener listener,
7227 in DeviceEvent event);
7229 oneway void notifyListenersAsync (in DeviceEventListener listener,
7230 in DeviceEvent event);
7232 Added DeviceEventListener and DeviceEvent structs (may deprecate
7233 KeyStroke and KeystrokeListener in favor of this generic
7234 event/listener framework for devices).
7236 * libspi/deviceeventcontroller.c:
7238 Changed some key listener code to take masks, etc., and paved the
7239 way for integration of toolkit/non-preemptive key events. Changed
7240 signatures of some internal methods.
7242 * at-bridge/bridge.c:
7243 Fixed regression connecting to interface signals, apparently
7244 caused by GTK+ changes.
7246 Added an internal bridge_state_listener to deal with
7247 property-change:accessible-state signals.
7249 Changed the key_listeners GList to store structs (including masks,
7250 etc.) instead of just CORBA_Objects (required for full
7251 implementation of key listener API).
7253 Connected the bridge to all currently supported Atk signals.
7254 Events now supported:
7255 object:property-change
7256 object:property-change:accessible-name
7257 object:property-change:accessible-state
7258 object:property-change:accessible-description
7259 object:property-change:accessible-parent
7260 object:property-change:accessible-value
7261 object:property-change:accessible-role
7262 object:property-change:accessible-table-caption
7263 object:property-change:accessible-table-column-description
7264 object:property-change:accessible-table-column-header
7265 object:property-change:accessible-table-row-description
7266 object:property-change:accessible-table-row-header
7267 object:property-change:accessible-table-summary
7268 object:children-changed
7269 object:visible-data-changed
7270 object:selection-changed
7271 object:text-selection-changed
7273 object:text-caret-moved
7275 object:row-reordered
7277 object:column-inserted
7278 object:column-reordered
7279 object:column-deleted
7280 object:model-changed
7282 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7284 * libspi/hyperlink.c,h:
7285 Fixed some broken stuff in hyperlink.
7287 * libspi/relation.h:
7288 * libspi/relation.c:
7289 * cspi/spi_accessible.c:
7290 Initial implementations of AccessibleRelation methods, and docs.
7292 * libspi/accessible.c:
7293 Fixed a bug that caused SEGV if an accessible
7294 object's description is NULL, and a client
7295 requests it. An empty string is now returned.
7297 * cspi/spi_editabletext.c:
7298 * cspi/spi_hypertext.c:
7300 * cspi/spi_hyperlink.c:
7304 Doc coverage now 95%.
7306 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7308 One last namespacing revision:
7309 * libspi/accessibleeventlistener.[ch]:
7310 Renamed SpiAccessibleEventListener to SpiEventListener,
7311 (no need for two namespaces ;-)
7313 And lots of documentation fixes:
7315 * docs/at-spi-docs.sgml:
7316 Fixed 'underscore vs. hyphen' bug that was preventing
7317 the gtk-doc API docs from being automatically generated.
7320 * cspi/spi-listener.h
7322 * cspi/spi_accessible.c
7324 * cspi/spi_application.c
7325 * cspi/spi_component.c
7326 * cspi/spi_editabletext.c
7328 * cspi/spi_hypertext.c
7330 * cspi/spi_registry.c
7331 * cspi/spi_selection.c
7335 * docs/at-spi-docs.sgml
7336 * docs/at-spi-sections.txt
7338 Added and fixed up gtk-doc documentation in cspi.
7340 Interfaces now (fully) documented (subject to revision and enhancement):
7342 Event Listener Support
7344 AccessibleApplication
7348 AccessibleEditableText
7355 AccessibleRelationSet
7360 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7362 * at-bridge/bridge.c:
7363 Initial work for toolkit-level key snooper connection by bridge.
7368 New typedefs and fixes to support new namespacing, and cleaner
7369 separation of cspi bindings from libspi bonobo implementation.
7370 Removed inconsistent and extraneous Spi* namespace prefix that
7371 had crept into cspi headers.
7372 Lots of comment fixes that sed had missed.
7374 * cspi/spi-roletypes.h:
7375 * cspi/spi-statetypes.h:
7376 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7377 to AccessibleRoleType.
7379 * libspi/accessibleeventlistener.h:
7380 Fixed minor namespacing weirdness.
7382 * libspi/deviceeventcontroller.c:
7383 Reordered some internal API for device listeners.
7384 Changed the key registry final boolean to 'is_system_global'
7385 rather than 'is_synchronous', which is more descriptive of its
7387 Added spi_device_event_controller_new().
7388 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7390 * libspi/keystrokelistener.[ch]:
7391 Namespaced KeystrokeListener to SpiKeystrokeListener.
7392 Changed uses of keymasks to use SPI_ prefix, and did other
7395 * libspi/keymasks.h:
7396 Namespaced keymask constants with SPI_ prefix.
7398 * libspi/registry.c:
7399 Some warning fixes, and knock-on fixes from namespace changes.
7402 Added rules for accessx-gui test program.
7404 * test/accessx-gui.c:
7405 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7406 utility. It doesn't actually use at-spi, but it's still cool and
7409 * test/keysynth-demo.c:
7413 Fixes so that these test clients work properly with the namespaced
7414 libraries. (Incompletely tested for technical reasons, fixes may follow)
7417 2001-11-13 Michael Meeks <michael@ximian.com>
7419 * libspi/application.c
7420 (impl_accessibility_application_get_version),
7421 (impl_accessibility_application_get_toolkit_name):
7423 (impl_accessibility_application_set_id),
7424 (impl_accessibility_application_get_id): remove
7425 redundant casting code.
7427 * libspi/action.c (impl_getDescription): fix warnings.
7429 * libspi/accessible.c
7430 (impl_accessibility_accessible_get_parent),
7431 (impl_accessibility_accessible_get_child_at_index),
7432 (impl_accessibility_accessible_get_state),
7433 (impl_accessibility_accessible_get_relation_set):
7434 warning fixes & include action.h
7436 2001-11-13 Michael Meeks <michael@ximian.com>
7438 * *.[ch] fix bits I screwed up:
7440 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7441 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7443 2001-11-13 Michael Meeks <michael@ximian.com>
7445 * *.[ch] Namespace libspi into spi_ and Spi.
7447 2001-13-11 Michael Meeks <michael@ximian.com>
7449 * Makefile.am: dist & install at-spi-1.0.pc
7451 * libspi/Makefile.am: install into at-spi-1.0
7453 * idl/Makefile.am (idldir): install into at-spi-1.0
7455 * at-spi-1.0.pc.in: add.
7457 * configure.in: build it.
7459 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7461 * test/keysynth-demo.c:
7462 Use a 'realize' signal-handler to set the WM properties for
7463 the virtual keyboard, rather than making it a "POPUP" type
7464 override-redirect window (thanks to anders carlsson for that
7467 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7470 * test/keysynth-demo.c:
7471 Added new test of key synthesis, which creates a simple
7472 (mouse-operated) onscreen keyboard. It inserts key events into
7473 the currently-focused window, thus it does not grab keyboard focus
7476 * cspi/spi_registry.c:
7477 Added C binding for AT-SPI generateKeyEvent.
7479 * libspi/deviceeventcontroller.c:
7480 Added call to XFilterEvent so that key listener works with XIM (we
7481 hope). Added event_synth_type to generateKeyEvent, so that we can
7482 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7483 synthesize a press/release pair for KeySyms.
7485 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7487 * libspi/Makefile.am:
7488 * registryd/Makefile.am:
7489 (temporary) hack to include libXtst in libspi and registryd.
7490 (Needed for keystroke synthesis, see below).
7493 Improved API for registerKeystrokeListener, in accordance with
7494 discussions with Gnopernicus team and X server research.
7496 * libspi/registry.c:
7497 * libspi/deviceeventcontroller.c:
7498 * libspi/accessible.c:
7499 * libspi/keystrokelistener.c:
7500 Changes and fixes to support keylisteners for potentially
7501 consumed key events (that is, 'passive grabs').
7502 Added implementation for generateKeyEvent() [untested].
7505 Changes to registerKeystrokeListener() API, as above.
7506 Added deregisterGlobalEventListenerAll(), and
7507 deregisterKeystrokeListener(), which are needed for clean exit of
7509 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7510 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7512 * cspi/spi_registry.c:
7513 Added implementations of function prototypes mentioned above.
7515 * registryd/registryd.c:
7516 Added the key listener event source as a g_timeout(), to allow
7517 receipt of key events that are not caught by GDK (since GDK
7518 doesn't support passive keygrabs, this was necessary).
7521 Changed to attach a keylistener to 'Alt' keys, and
7522 respond to the following keycommands: Alt-M (toggle magnifier);
7523 Alt-F (toggle speech); Alt-Q (quit).
7524 Added an exit routine to deregister the listeners, and a key
7525 listener that prints some key info to the console when a key
7526 matches the listener mask (and is thus received by the listener).
7528 * util/idl/Magnifier.idl:
7529 Changes to magnifier API to support multiple zoom regions,
7530 non-uniform scaling in x and y, markDirty, and a host of other
7531 features that would be useful to magnification.
7534 * util/mag_client.c:
7535 * util/mag_client.h:
7536 * util/mag_control.c:
7538 Source code changes to support the above IDL changes.
7541 As above, and also changes to use a (slower) generic conversion
7542 path for colormap conversions, since the fast RGB conversions have been
7543 reported to fail for 16-bit displays.
7545 2001-10-26 Michael Meeks <michael@ximian.com>
7547 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7549 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7551 * at-bridge/Makefile.am: fix LDFLAGS.
7553 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7555 * at-bridge/bridge.c:
7556 Re-worked listeners for toolkit events, now we have signal
7557 and property listeners. Added a private method
7558 register_atk_event_listeners(), which registers with the
7559 various atk and gtk signals we need to monitor in order to emit
7561 Added emission hook for AtkObject:property-change events, to
7562 support the 'property listeners'.
7563 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7566 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7567 which emit warnings and exit, respectively, if CORBA errors occur
7568 during remote calls, and we now use these methods to check most of
7569 our CORBA calls in the C bindings.
7571 * cspi/spi_accessible.c:
7572 Changed AccessibleSelection_refSelectedChild() to
7573 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7574 now increment refcounts.
7576 * cspi/spi_component.c:
7577 Fixed some long pointer casts (dangerous!) to pass pointers to
7578 CORBA_longs of the proper type to the CORBA stubs, and copy the
7579 data into the longs that were passed into the C bindings code.
7581 * at-bridge/bridge.c:
7583 * libspi/accessible.c:
7584 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7585 hyperlinks, AtkHyperlink is an object type.
7587 * libspi/application.c:
7588 Added various conversions to and from "generic" event types and
7589 atk-specific types; this is really part of the 'bridge'
7590 implementation but is valid for all AtkObject-based accessibility
7593 * libspi/editabletext.c:
7594 Fixed nasty bug wherein editable text's finalize method was
7595 unref'ing tha AtkObject reference that the text parent class was
7596 about to unref _again_. There was also a nasty inheritance bug
7597 that meant that the AccessibleEditableText class was corrupt.
7599 * libspi/selection.c:
7600 Provided implementations for some selection API that was broken.
7602 * idl/Application.idl:
7603 Added registerObjectEventListener () method.
7606 Fixed a number of return values that were Bonobo_Unknowns from
7607 bonobo_object_corba_objref(), which I
7608 forgot to dup before returning. Changed instances of
7609 bonobo_object_corba_objref (bonobo_object(o)) to
7610 BONOBO_OBJREF(o), for concision and clarity.
7612 2001-10-13 Louise Miller <louise.miller@sun.com>
7614 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7615 idl/Event.idl, idl/Registry.idl
7616 Changed these files to include Bonobo_Unknown.idl instead
7619 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7621 * libspi/component.c libspi/component.h:
7622 Fixed typo. Added assertions for object checks in
7623 AccessibleComponent code.
7625 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7627 * idl/Accessible.idl:
7628 Added 'isEqual (Accessible *object)'
7629 method for Accessible. (Not Yet Implemented).
7632 Changed signature of registerKeystrokeListener() to
7633 take a KeySet and KeyEventSeq so that specific keys and event
7634 types could be requested for monitoring, and added a flag
7635 is_synchronous so that either synchronous or asynchronous
7636 notification could be requested. (However this is not all
7637 implemented yet). This also meant adding two new typedefs,
7638 KeyEventSeq and KeySet.
7641 Added two new relations, RELATION_TOOLTIP_FOR and
7642 RELATION_LEAFNODE_OF.
7645 Added new state, STATE_HAS_TOOLTIP.
7647 * libspi/text.c, editabletext.c:
7648 Added new assertions to all casts of bonobo-objects from
7649 CORBA servants, to prevent Text API calls on non-text objects.
7650 Changed suspect casts of int-pointer types, so that we
7651 always send a valid CORBA_long pointer to the CORBA APIs that use
7652 in/out long parameters. We then have to copy from the CORBA_long
7653 into the regular long or int for return to the C bindings, or
7654 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7657 * libspi/deviceeventcontroller.c:
7658 Cleaned these sources up.
7660 Changed return type for getCharacterAtOffset to
7661 CORBA_unsigned_long, to allow for 32-bit characters.
7664 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7668 Fixed 'make dist' so that distro compiles...
7669 * libspi/keymasks.h:
7671 * cspi/spi-listener.c:
7672 KeystrokeListenerCB now returns a boolean.
7674 Added KeyEventType struct, and KeyStroke.
7675 Also added createKeystrokeListener(),
7676 KeystrokeListener_addCallback(),
7677 KeystrokeListener_removeCallback(), and added a keymask to
7678 registerKeystrokeListener().
7679 * cspi/spi_accessible.c:
7680 Changed numerous return types for interfaces from
7681 AccessibleComponent to Accessible<InterfaceName>; this was
7682 probably a cut-and-paste error.
7684 Implementations of new KeystrokeListener api (from spi.h,
7687 Changes to key modifier mapping.
7688 Created ControllerEventMask struct.
7689 Made DeviceEventController derive from Bonobo::Unknown.
7691 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7692 * libspi/deviceeventcontroller.c:
7693 Added a number of new internal (private) methods.
7694 * libspi/editabletext.c:
7695 * libspi/editabletext.h:
7696 Fixed a number of bugs related to the fact that
7697 editabletext inherits from text. Fixed the EditableText struct,
7698 the init() call, and use correct casts when calling Text methods
7699 from an EditableText object. Removed (duplicate) atko from the
7700 EditableText structure, we use the one in the parent Text
7701 structure via the casts mentioned above.
7702 * libspi/keystrokelistener.[ch]:
7703 * libspi/registry.c:
7704 Changes in support of keyboard handling (above).
7706 Keyboard handling, though partly functional, is still not
7707 recommended for at-spi client use as there is considerable
7708 work yet to be done.
7711 Changed some places where pointers to various int types
7712 are cast to be pointers to CORBA_long types and vice-versa:
7713 pointer casting is not safe so we pass pointers of the correct
7714 types and then cast the result before putting it into the target
7717 * libspi/text.h: minor typos corrected.
7719 We now speak not only the name of a Text element, but the
7720 first sentence of its content, when it receives focus.
7721 I also changed the text compression to 75% from 50%.
7722 * util/Accessibility_Util.server.in:
7723 Changed the default magnifier type to be a 3x vertical
7724 splitscreen magnifier (was previously a 2x horizontal one).
7726 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7728 * libspi/keystrokelistener.h:
7729 * libspi/keystrokelistener.c:
7730 Initial functional implementations of KeystrokeListener.
7733 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7735 Fixed string handling for NULL strings in libspi.
7736 Added spi_freeString to free strings returned by C bindings.
7738 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7740 * libspi/keystrokelistener.h:
7741 * libspi/keystrokelistener.c:
7742 Began (no-op) implementations of KeystrokeListener
7744 * libspi/deviceeventcontroller.c:
7745 * libspi/deviceeventcontroller.h:
7746 Began creating implementations of DeviceEventController,
7747 to handle keystroke and mouse event listening and
7749 * libspi/accessible.c:
7750 Stubbed-in the implementations for
7751 Accessibility_Accessible_getState and
7752 Accessibility_Accessible_getRelationSet.
7753 * libspi/registry.c:
7754 Improved de-registration process and fixed some bugs,
7755 deregistration now works correctly.
7757 Added initialization of applications list (to NULL).
7759 Reduced speech compression from 0.5 to 0.7, for demo.
7760 Changed call to gdk_window_set_decorations()
7761 to gtk_window_set_decorated().
7762 * at-bridge/bridge.c:
7763 Bridge now deregisters when app exits, via
7764 registration of a cleanup function
7765 with the g_atexit() call.
7766 Required making 'app' static, renamed 'this_app'.
7767 Fixed broken use of bonobo_init, passing argv wrongly.
7769 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7773 Created a new directory for
7774 accessibility-related utilities, primarily for
7775 testing and demo purposes, but with possible
7782 Onscreen magnifier utility that
7783 is implemented as a bonobo service.
7785 * util/mag_client.c:
7786 * util/mag_client.h:
7787 Client-side support (simple C bindings)
7788 for Magnification service
7790 * util/mag_control.c:
7791 Client program example for
7792 Magnification service
7794 * util/Accessibility_Magnifier.server.in:
7795 Bonobo-activation file for the
7796 Magnification service.
7799 * util/idl/Magnifier.idl:
7800 IDL defining the bonobo Magnification
7804 Modifications to use the bonobo-activated magnifier
7805 above, in place of trying to connect to an existing
7806 magnifier that uses socket-listening IPC.
7808 If env variable MAGNIFIER is set, a magnifier service
7809 will be started if one does not exist.
7811 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7813 * at-bridge/bridge.c:
7814 applied patch from Marc to build and run
7815 against new glib and gtk+ (seemed like a change
7816 to bonobo_init signature was made ?)
7818 made festival-server support turned off by default.
7819 Added support for a simple magnifier (off by default)
7820 which will be added to a 'util' directory later.
7821 * at-bridge/Makefile.am:
7822 Changed "application.h" header from a 'source'
7823 to a 'dependency' of libat-bridge.
7825 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7834 Added interface implementation c files to list of
7835 includes so they are included in libcspi.
7838 Changed prototype of AccessibleAction_doAction to return a
7840 Changed prototype of AccessibleTable_getCaption to
7841 return an Accessible.
7842 Changed prototype of AccessibleTable_getSelectedRows
7843 and AccessibleTable_getSelectedColumns to
7844 return a long (returns the number of selected rows
7845 or columns respectively).
7846 Changed name of AccessibleText_refRunAttributes to
7847 AccessibleText_getAttributes.
7848 Changed prototype of AccessibleText_getCharacterExtents to
7849 return a void rather than a boolean.
7850 Added support for a AccessibleCoordType parameter
7851 specifying what type of coordinates are desired.
7852 Added an AccessibleCordType parameter to
7853 AccessibleText_getPointAtOffset.
7855 * cspi/spi_accessible.c:
7856 Added code to return the outstanding interfaces from
7857 Accessible_queryInterface.
7859 * cspi/spi_action.c:
7861 Corrected call to getNActions to call the c binding
7864 * cspi/spi_editabletext.c:
7866 Changed name from setRunAttributes to setAttributes.
7868 * cspi/spi_hyperlink.c:
7870 Changed call to getNAnchors to correctly call the c
7871 binding for an attribute.
7873 * cspi/spi_hypertext.c:
7875 Changed getImageDescription to correctly call the
7876 binding for an attribute.
7878 * cspi/spi_selection.c:
7879 Changed getNSelectedChildren to correctly call the c
7880 binding for the attribute.
7881 Changed refSelectedChild to getSelectedChild.
7885 Changed getCaption to return an Accessible.
7886 Fixed calls which retrieve attributes.
7887 Changed refAt to getAccessibleAt.
7888 Changed getNSelectedRows and getNSelectedColumns to
7892 Changed getCharacterExtents and getPointAtOffset to accept an
7893 AccessibleCoordType.
7895 Changed calls which retrieve attributes.
7896 Changed refRunAttributes to getAttributes.
7901 * idl/Hyperlink.idl:
7902 Changed n_anchors attribute to nAnchors to keep naming
7903 convention consistent.
7906 Made Table inherit from Bonobo::Unknown.
7907 Added nSelectedColumns and nSelectedRows attributes.
7910 Made Value inherit from Bonobo::Unknown.
7912 * libspi/hyperlink.c:
7913 Change for nAnchors attributte name change.
7915 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7923 Added interface implementation c files to list of
7924 includes so they are included in libcspi.
7927 Changed prototype of AccessibleAction_doAction to return a
7929 Changed prototype of AccessibleTable_getCaption to
7930 return an Accessible.
7931 Changed prototype of AccessibleTable_getSelectedRows
7932 and AccessibleTable_getSelectedColumns to
7933 return a long (returns the number of selected rows
7934 or columns respectively).
7935 Changed name of AccessibleText_refRunAttributes to
7936 AccessibleText_getAttributes.
7937 Changed prototype of AccessibleText_getCharacterExtents to
7938 return a void rather than a boolean.
7939 Added support for a AccessibleCoordType parameter
7940 specifying what type of coordinates are desired.
7941 Added an AccessibleCordType parameter to
7942 AccessibleText_getPointAtOffset.
7944 * cspi/spi_accessible.c:
7945 Added code to return the outstanding interfaces from
7946 Accessible_queryInterface.
7948 * cspi/spi_action.c:
7950 Corrected call to getNActions to call the c binding
7953 * cspi/spi_editabletext.c:
7955 Changed name from setRunAttributes to setAttributes.
7957 * cspi/spi_hyperlink.c:
7959 Changed call to getNAnchors to correctly call the c
7960 binding for an attribute.
7962 * cspi/spi_hypertext.c:
7964 Changed getImageDescription to correctly call the
7965 binding for an attribute.
7967 * cspi/spi_selection.c:
7968 Changed getNSelectedChildren to correctly call the c
7969 binding for the attribute.
7970 Changed refSelectedChild to getSelectedChild.
7974 Changed getCaption to return an Accessible.
7975 Fixed calls which retrieve attributes.
7976 Changed refAt to getAccessibleAt.
7977 Changed getNSelectedRows and getNSelectedColumns to
7981 Changed getCharacterExtents and getPointAtOffset to accept an
7982 AccessibleCoordType.
7984 Changed calls which retrieve attributes.
7985 Changed refRunAttributes to getAttributes.
7990 * idl/Hyperlink.idl:
7991 Changed n_anchors attribute to nAnchors to keep naming
7992 convention consistent.
7995 Made Table inherit from Bonobo::Unknown.
7996 Added nSelectedColumns and nSelectedRows attributes.
7999 Made Value inherit from Bonobo::Unknown.
8001 * libspi/hyperlink.c:
8002 Change for nAnchors attributte name change.
8005 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
8007 implementations-- made server implementations own AtkObject pointers
8008 rather than their respective AtkInterrface pointers to fix
8009 refcounting. AtkHyperlink is still broken.
8011 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8012 * cspi/spi_accessible.c:
8013 Added method Accessible_Role_getName(),
8014 and requisite string array (role_names).
8015 Added conversion string_from_corba_strin() call
8016 to Accessible_getName and _getDescription.
8017 * libspi/accessible.c:
8018 Added implementation for Accessible_getRole()
8020 Added festival support, used if environment variable
8023 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8025 * at-bridge/bridge.c:
8026 Now allocate Accessibility_Event using
8027 Accessibility_Event__alloc() instead of g_new0().
8028 * libspi/accessibleeventlistener.c:
8029 Initialize AccessibleEventListener->callbacks to NULL.
8030 Fixed accessible__event_listener_init() param, changed to
8031 "AccessibleEventListener *" type.
8032 Changed a bonobo_object_release_unref() call to
8033 Accessibility_Accessible_unref().
8034 * libspi/listener.c:
8035 Changed Bonobo_Unknown_unref to (equivalent)
8036 Accessibility_Accessible_unref.
8037 * libspi/registry.c:
8038 Changed bonobo_object_release_unref to
8039 Accessibility_Accessible_unref.
8041 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8044 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
8045 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
8046 spi-util.c spi-util.h
8047 Implementations for C bindings to remaining accessibility
8050 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8053 changed return value of Action from void to boolean to
8054 bring in line with ATK.
8057 Changed getText funcions to return "out" start and end offsets.
8058 Changed getAttributes to take and offset and return the start
8059 and end offset of the attribute run.
8060 Changed getOffsetAtPoint and getCharacterExtents to take an
8061 enum describing whether coordinates are window or screen.
8064 libspi/action.c libspi/action.h libspi/editabletext.c
8065 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
8066 libspi/hypertext.c libspi/hypertext.h libspi/image.c
8067 libspi/image.h libspi/selection.c libspi/selection.h
8068 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
8069 libspi/value.c libspi/value.h
8070 Added server implementations for outstanding ATK interfaces
8071 not yet implemented.
8073 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8076 Added (missing) getName() method.
8077 Made nActions an attribute.
8078 * idl/EditableText.idl:
8079 Changed order of params in setAttributes.
8080 * idl/Hyperlink.idl:
8081 Removed getAnchor, added getURI.
8083 Changed attributes to methods, for efficiency
8084 (so that getting extents can be done in one call)
8085 * idl/Selection.idl:
8086 Changed nSelectedChildren to attribute, and re-indented.
8087 * idl/Table.idl: changed nrows, ncolumns, caption, summary
8089 * idl/Text.idl: reformatted to match our coding style.
8090 (temporarily?) removed getRowColumnAtOffset().
8091 Changed text selection API to support multi-select and
8092 non-contiguous selections, as in ATK.
8093 * idl/Value.idl: changed some methods to attributes.
8095 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8097 * libspi/listener.c(impl_notify_event):
8098 BonoboUnkown_unref the source instead
8099 of bonobo_object_release_unref - the ORB
8100 handles the releasing.
8102 * configure.in: require ORBit-2.3.94 for
8105 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8107 Tagged CVS repository 'EA_1_0'.
8108 * README.EARLY_ACCESS:
8109 Alphabetized acknowledgements list, and
8111 Listed some known dependencies of at-spi.
8113 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8115 * docs/at-spi-docs.sgml:
8116 * docs/at-spi-sections.txt:
8117 * docs/at-spi-overrides.txt: (Added zero-length file)
8118 Documentation improvements - gtk-doc should build
8119 docs for all implemented C bindings now.
8122 * cspi/spi.c: (New file)
8123 * cspi/spi_event.c: (New file)
8124 * cspi/spi_registry.c: (New file)
8125 * cspi/spi_accessible.c: (New file)
8126 * cspi/spi_application.c: (New file)
8127 * cspi/spi_component.c: (New file)
8128 Split spi_main.c into six parts, and included them from
8129 "spi.c". This is a bit of a hack, probably temporary,
8130 but required by gtk-doc, apparently.
8132 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8135 * docs/at-spi-docs.sgml:
8136 * docs/at-spi-sections.txt:
8138 Initial checkins/modifications for gtk-doc generation.
8141 Added (missing) interface query methods to Accessible's C binding.
8143 Added GenericInterface type definition.
8145 Added query for AccessibleComponent interface to focus event handler.
8146 Added printout of bounding box for focussed component.
8147 * libspi/component.c:
8148 Added partial implementation for AccessibleComponent to C binding.
8149 * idl/Application.idl:
8150 * libspi/registry.c:
8151 * libspi/listener.c:
8152 * libspi/application.c:
8153 * libspi/application.h:
8154 Changed "ID" attribute type from string to long.
8156 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8160 Made method naming consistent: methods taking object args
8161 start with uppercase, other methods (except those using
8162 acronyms) start with lowercase. Underscores delimit between
8163 object names and method names:
8164 SPI_init() - uppercase since it starts with an acronym.
8165 getDesktopCount () - lowercase start since no object param0.
8166 Accessible_getName() - uppercase object type name, studlyCaps method
8170 Added gtk-doc documentation for all currently implemented
8171 methods in the C bindings API.
8173 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8175 * Makefile.am : changed build order to build test last.
8178 Changed "createEventListener" to "CreateEventListener".
8179 * libspi/accessibleeventlistener.c :
8180 Bugfix for addition of callbacks.
8181 * test/Makefile.am :
8182 * test/simple-at.c :
8183 Added new test that uses the C bindings API.
8185 * libspi/listener.c :
8186 * libspi/registry.c :
8187 * libspi/accessibleeventlistener.c :
8188 * at-bridge/bridge.c :
8189 Renamed member "target" of Accessibility_Event to "source",
8190 which is more descriptive.
8193 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8197 * cspi/Makefile.am :
8198 Added makefile support for at-spi/cspi directory.
8201 * cspi/spi-listener.h : (NEW FILE)
8202 Added support for/use of spi-listener.h.
8204 C bindings now build successfully, with no warnings.
8205 * libspi/accessibleeventlistener.h : (NEW FILE)
8206 * libspi/accessibleeventlistener.c : (NEW FILE)
8207 * libspi/Makefile.am :
8208 Added new object type "AccessibleEventListener"
8209 which inherits from Listener, and allows attachment
8210 of in-process callbacks (so that a client with a listening
8211 object instance can add functionality to the local
8212 implementation, dynamically).
8214 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8216 * libspi/accessible.c:
8217 Add implementation for get_index_in_parent().
8219 Added #include of "spi-roletypes.h", and
8220 added enumerated type AccessibleCoordType.
8221 Added definition for KeystrokeListener (function type).
8224 * cspi/spi-statetypes.h :
8225 * cspi/spi-roletypes.h :
8227 Added these headers, used by spi.h.
8229 Added code (NOTE: not yet built by make).
8231 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8233 * libspi/Makefile.am: generate imodule
8234 at the same time as other idl compiler
8237 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8238 * libspi/registry.c :
8239 * libspi/application.c :
8240 * idl/Application.idl :
8241 Made registration with toolkit an application method,
8242 which is required since each app has its own toolkit static
8243 environment. Thus the bridge must register for
8244 notification of toolkit events from each application in turn.
8245 Toolkit notifications are now successfully registered for, and
8246 sent to the listening at client.
8248 Changed toolkit event string to use hyphens rather than underscores.
8249 * libspi/listener.c :
8250 listner now gives more info in debug mode - it reports the
8251 name of the event received, as well as the name of the source.
8254 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8256 * libspi/registry.c :
8257 added more implementation for toolkit events.
8258 Fixed bug such that toolkit event registrations
8259 (via atk) use the whole event name string, not
8261 Removed a useless call to an ORBit_ method.
8262 * at-bridge/bridge.c :
8263 Removed unused local sbuf[] variable.
8265 We now register for Gtk:GtkWidget:button_press_event
8266 events as well as "focus:" events.
8268 Add some more API from Registry.idl that was missing,
8269 for keystroke listening, keystroke and mouse event
8270 synthesis, and enumeration of accessible desktops.
8272 2001-08-16 Michael Meeks <michael@ximian.com>
8274 * configure.in: use AM_GLIB_GNU_GETTEXT.
8276 * Makefile.am (SUBDIRS): kill intl.
8278 2001-08-15 Michael Meeks <michael@ximian.com>
8280 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8282 * configure.in: upd.
8284 * configure.in: depend on a recent bonobo-activation that
8285 will find our server files ...
8287 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8289 * libspi/accessible.c : accessible_new() :
8290 Now we add the Component interface via bonobo_object_add_interface,
8291 if the contained AtkObject implements AtkComponent.
8292 * libspi/accessible.h : now include "component.h"
8293 * libspi/component.h :
8294 * libspi/component.c : added files - implementation of
8295 bonobo wrapper object for Accessibility/Component
8296 * libspi/listener.c :
8297 Added test code to check for Accessibility/Component:1.0
8298 interface and report whether it is implemented by the
8300 * libspi/registry.c :
8301 Now we check for not only the hash of the whole event
8302 string before relaying the event, we also check the
8303 "minor" event string (without the detail string).
8304 This allows event listeners to be registered against
8305 all events of a certain major+minor type, or just
8306 against a specific major+minor+detail type.
8307 * libspi/accessible.c :
8308 Added implementations for Accessible:get_parent(),
8309 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8310 * libspi/registry.c :
8311 * libspi/listener.c :
8312 Replaced calls to Accessibility_Accessible_ref() and
8313 Accessibility_Accessible_unref() with
8314 calls to bonobo_object_dup_ref() and
8315 bonobo_object_release_unref(), so that the CORBA object
8316 is dup-ed and released when relayed, as well as the bonobo object.
8318 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8320 * libspi/Makefile.am,
8321 registryd/Makefile.am,
8322 at-bridge/Makefile.am.
8323 test/Makefile.am, configure.in:
8324 reverse previous changes.
8326 * /idl/Image.idl: fix typo.
8328 * test/Makefile.am: put DEBUG_FLAGS
8331 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8333 * test/app.c: use argv[0] instead of
8336 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8338 * libspi/Makefile.am,
8339 registryd/Makefile.am,
8340 at-bridge/Makefile.am.
8341 test/Makefile.am, configure.in:
8342 cleanup, replace individual LIBS/CFLAGS with
8343 AT_COMMON_{LIBS|CFLAGS}.
8347 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8349 * configure.in, libspi/Makefile.am:
8350 Change IDL path checking for bonobo-activation
8353 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8355 * registryd/registry.c : separated event listeners to use
8356 3 separate lists (focus, window, toolkit). Began testing
8357 event names against hashes before relaying events.
8358 * test/at.c : now register for events of type "focus:"
8359 * test/app.c : now generate events of type "focus:"
8360 * at-bridge/bridge.c : register with ATK for focus events,
8361 and we now relay those focus events to any "focus:" listeners.
8362 This now works with the bridge as a GTK_MODULE when running test/at.
8363 * libspi/registry.c :
8364 * libspi/listener.c :
8365 now we ref event sources before propagating, and unref on receipt.
8366 * libspi/registry.c :
8367 some changes to internal structs, to support event typestring hashes.
8368 * text/app.c : changed the way the appname is generated.
8369 * cspi : added directory that will hold the C bindings library for
8370 non-CORBA/bonobo-savvy clients.
8371 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8372 * idl/Component.idl : added in parameter to indicate coord system for
8373 geometry-related calls.
8374 * idl/Hyperlink.idl : added readonly n_links attribute
8375 * idl/Image.idl : changed methods to attributes.
8377 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8379 * at-bridge/Makefile.am: link against
8380 ../libspi/libspi.la instead of -lspi.
8382 * at-spi/test/app.c: include
8383 bonobo-activation.h. Use a default appname
8384 if one is not provided.
8386 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8388 * idl/Registry.idl : temporarily changed register_Application
8389 to oneway, to work around issue with initial registration
8391 * idl/Application.idl : changed attribute "id" from readonly
8392 to read-write, since it needs to be assigned by Registry.
8393 * registryd/registryd.c : added call to set application id
8395 * registryd/registry.c : changed de-registration procedure to
8396 use CORBA_Object_hash() to find matching object ref in application
8397 lists and listener lists.
8398 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8399 began distinguishing between event types (work in progress).
8401 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8404 * libspi/application.c:
8405 Added implementations for get/set id, get_toolkitName,
8407 * registryd/registryd.c :
8411 Converted from use of OAF to bonobo-activation.
8412 * libspi/desktop.h :
8413 * libspi/desktop.c :
8415 Removed references to atksimpleobject, since base atkobject
8416 implementation now provides functionality we need.
8417 * libspi/atksimpleobject.c :
8418 * libspi/atksimpleobject.h :
8423 * at-bridge/Makefile.am
8424 * at-bridge/bridge.c
8427 Added directory "bridge" and contents, and added dependencies
8428 in Makefile.am/configure.in.
8429 Initial checkin of "at-bridge".
8430 This code is a GTK_MODULE which automatically registers
8431 GTK+ apps with the accessibility registry, using an object
8432 reference to the root ATK object.
8434 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8436 * po/Makefile.in.in: Remove. Again. If this
8437 doesn't get autogenerated - you need to update
8440 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8442 * po/Makefile.in.in: Add. Again.
8444 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8446 * libspi/accessible.c : added support for 'description' property.
8447 * libspi/accessible.c
8449 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8450 (since the two are now equivalent in libbonobo)
8458 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8459 Bonobo::Unknown as does Accessibility::Accessible.
8460 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8461 interface with Bonobo::Stream, since it was redundant with it.
8462 (The Stream returned by a StreamableContext object is expected to
8463 implement only a subset of Bonobo::Stream)
8465 2001-07-28 Anders Carlsson <andersca@gnome.org>
8467 * libspi/accessible.c (accessible_object_finalize): Change
8468 g_free to g_object_unref since the AtkObject is a GObject.
8470 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8472 * idl/Accessibility.idl: add new IDL files
8475 * idl/Action.idl: Definitions of actionable UI object
8476 * idl/Component.idl: Definitions of UI component geometry, etc.
8477 * idl/Hyperlink.idl: Defs of hyperlink behavior
8478 * idl/Image.idl: Def of accessible image
8479 * idl/Selection.idl: Definition of UI object with selectable children
8480 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8481 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8482 * idl/Text.idl: Interface defs for UI elements with complex textual content
8483 * idl/Value.idl: Definition of UI element that is a value controller or display
8485 2001-07-27 Michael Meeks <michael@ximian.com>
8487 * po/Makefile.in.in: remove autogenerated file from CVS.
8489 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8492 * idl/Registry.idl: include guard.
8494 * idl/Accessibility.idl: Add, and include all the other IDL
8497 * idl/*.idl: remove mass of pragmas etc.
8499 2001-07-26 Michael Meeks <michael@ximian.com>
8501 * registryd/Makefile.am (registryd_SOURCES): remove
8504 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8506 * libspi/.cvsignore, registryd/.cvsignore,
8507 test/.cvsignore: updated.
8509 * po/Makefile.in.in: gettext update.
8511 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8513 * initial CVS checkin
8515 2001-06-29 Michael Meeks <michael@ximian.com>
8517 * configure.in: add AM_CONFIG_HEADER to gen config.h