1 2008-02-27 Ariel Rios <ariel@gnu.org>
3 * idl/Accessibility_Collection.idl:(getMatchesTo,
4 getMatchesFrom) API Change that adds in order querys.
6 (sort_order_rev_canonical): Method to do querys and get results in
7 canonical reverse. New.
8 (inorder): Help method for getMatchesInOrder.
9 (getMatchesInOrder):New method to get next matches from a given object
11 (getMatchesInBackOrder): New method to get previous matches from a
12 given object in order.
13 (getMatchesFrom), (getMatchesTo): Old impl_getMatches[From/To] to be
14 able to accomodate in order querys.
15 (impl_getMatchesFrom), (impl_getMatchesTo): New implementation that
16 accomodate in order querys.
17 (spi_collection_interface_new),
18 (get_collection_from_servant), (impl_createMatchRule),
19 (child_interface_p), (match_states_all_p), (match_states_any_p),
20 (match_states_none_p), (match_states_lookup), (match_roles_all_p),
21 (match_roles_any_p), (match_roles_none_p), (match_roles_lookup),
22 (match_interfaces_all_p), (match_interfaces_any_p),
23 (match_interfaces_none_p), (match_interfaces_lookup),
24 (match_attributes_all_p), (match_attributes_any_p),
25 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
26 (sort_order_canonical), (query_exec), (impl_getMatches),
27 (spi_collection_init): Clean code.
29 Bug #496232. Work by Ariel Rios <ariel@gnu.org> and
30 Scott Haeger <scott@bashautomation.com>.
32 2008-02-25 Li Yuan <li.yuan@sun.com>
37 Uprev/release 1.21.92.
39 2008-02-25 Li Yuan <li.yuan@sun.com>
41 * registryd/deviceeventcontroller.c: (global_filter_fn),
42 (dec_lock_modifiers), (dec_unlock_modifiers),
43 (impl_generate_keyboard_event): patch from Franz.Netykafka@runbox.no.
44 Bug #508147. Lock/Unlock modifier keys when xkb extension is
47 2008-02-22 Scott Haeger <scott@bashautomation.com>
49 * libspi/collection.c:
50 Fixed bug #517761, Collection match rules not working for attributes.
52 2008-02-19 Li Yuan <li.yuan@sun.com>
54 Patch from Scott Haeger <scott@bashautomation.com>
55 * libspi/collection.c: (impl_freeMatchRule):
56 Bug #517250. Clear spimatchrule->_mrp when free match rule.
58 2008-01-14 Li Yuan <li.yuan@sun.com>
65 2008-01-03 Li Yuan <li.yuan@sun.com>
67 Patch from Gilles Casse <gcasse@oralux.org>
68 * atk-bridge/bridge.c: (spi_atk_register_event_listeners):
69 Bug #474480. Fix memory leak.
71 2008-01-02 Li Yuan <li.yuan@sun.com>
73 Patch from Luke Yelavich <themuso@themuso.com>
74 * registryd/Accessibility_Registry.server.in.in:
75 Marks translatable strings in
76 registryd/Accessibility_Registry.server.in.in, so that intltool picks
79 2007-12-03 Li Yuan <li.yuan@sun.com>
81 * configure.in, README, NEWS:
84 2007-12-03 Li Yuan <li.yuan@sun.com>
86 * idl/Accessibility_Collection.idl:
87 * libspi/collection.c:
88 (impl_getMatchesFrom), (impl_getMatchesTo):
89 Fix build error in Solaris, for restrict is a keyword in SS cc.
91 2007-12-03 Li Yuan <li.yuan@sun.com>
93 * idl/Accessibility_Collection.idl:
94 * libspi/accessible.c: (spi_accessible_construct):
95 * libspi/collection.c: (spi_collection_interface_new),
96 (get_atkobject_from_servant), (get_collection_from_servant),
97 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
98 (match_states_all_p), (match_states_any_p), (match_states_none_p),
99 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
100 (match_roles_none_p), (match_roles_lookup),
101 (match_interfaces_all_p), (match_interfaces_any_p),
102 (match_interfaces_none_p), (match_interfaces_lookup),
103 (match_attributes_all_p), (match_attributes_any_p),
104 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
105 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
106 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
107 (spi_collection_class_init), (spi_collection_init):
108 * libspi/collection.h:
109 Bug #326516. Patch from Ariel. Enhance collection support.
111 2007-12-03 Li Yuan <li.yuan@sun.com>
113 * atk-bridge/Makefile.am:
114 * libspi/Makefile.am:
115 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
117 2007-11-12 Li Yuan <li.yuan@sun.com>
119 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
120 (impl_accessibility_accessible_get_relation_set):
121 Fix for #446277. Decrease the ref count to 1.
123 2007-10-29 Li Yuan <li.yuan@sun.com>
125 * configure.in, README, NEWS:
126 Uprev/release 1.21.1.
128 2007-10-15 Li Yuan <li.yuan@sun.com>
130 * MAINTAINERS: add Willie Walker and Eitan Isaacson
133 2007-09-17 Li Yuan <li.yuan@sun.com>
135 * configure.in, README, NEWS:
136 Uprev/release 1.20.0.
138 2007-09-08 Li Yuan <li.yuan@sun.com>
140 * registryd/deviceeventcontroller.c:
141 (spi_key_event_matches_listener):
142 Bug #474796. Should not checkmask bit 14 when sond out
145 2007-08-20 Li Yuan <li.yuan@sun.com>
147 * libspi/base.c: (spi_base_construct):
148 Avoid unnecessary crash. Bug #467612.
150 2007-08-01 Li Yuan <li.yuan@sun.com>
152 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
153 Fix a potential dead-lock issue. Bug #462412.
155 2007-07-09 Li Yuan <li.yuan@sun.com>
157 * configure.in, README, NEWS:
158 Uprev/release 1.19.5.
160 2007-07-09 Li Yuan <li.yuan@sun.com>
162 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
163 Bug #446277. Control the ref_count to 1, so Orca can unref the
164 state_set and avoid the memory leak.
166 2007-06-26 Li Yuan <li.yuan@sun.com>
168 * atk-bridge/Makefile.am:
169 Bug #450897. Set logging domain.
170 * registryd/registry.c: (parse_event_type):
172 Handle the "document:" signal, set the type to
175 2007-06-04 Li Yuan <li.yuan@sun.com>
177 * configure.in, README, NEWS:
178 Uprev/release 1.19.3 for GNOME 2.19.3.
180 2007-05-30 Willie Walker <william.walker@sun.com>
182 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
183 439436 to add pyatspi to autotools stuff so it gets installed as
184 part of a make install.
186 2007-05-17 Li Yuan <li.yuan@sun.com>
189 Bug #439057. Add the original PATH to PATH.
191 2007-04-23 Li Yuan <li.yuan@sun.com>
193 * configure.in, NEWS:
194 Uprev/release 1.19.1 for GNOME 2.19.1.
196 2007-04-18 Li Yuan <li.yuan@sun.com>
198 * pyatspi/__init__.py:
199 * pyatspi/accessible.py:
200 * pyatspi/constants.py:
202 * pyatspi/registry.py:
204 Bug #430938. Add some files to create the uniform Python
207 2007-04-12 Li Yuan <li.yuan@sun.com>
209 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
210 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
211 Fix #427836. Fix leak and unify the code style.
213 2007-04-12 Yi Jin <yi.jin@sun.com>
215 * atk-bridge/bridge.c:
216 (spi_atk_bridge_focus_tracker):
217 Bug #428007. Fix a memory leak.
219 2007-04-02 Ariel Rios <ariel@gnu.org>
221 Implement the Matchrule interface required for Collection.
227 * cspi/spi_accessible.c: (Accessible_isCollection),
228 (Accessible_isMatchRule), (Accessible_getCollection),
229 (Accessible_getMatchRule):
230 * cspi/spi_collection.c: new file.
231 * cspi/spi_matchrule.c: new file.
232 * idl/Accessibility.idl:
233 * idl/Accessibility_Collection.idl: new file.
235 * libspi/Makefile.am:
236 * libspi/collection.c: new file.
237 * libspi/collection.h: new file.
239 * libspi/matchrule.c: new file.
240 * libspi/matchrule.h: new file.
242 2007-03-29 Ariel Rios <ariel@gnu.org>
244 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
246 2007-03-22 Li Yuan <li.yuan@sun.com>
248 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
249 main context. Fix for #329454.
251 2007-03-12 Li Yuan <li.yuan@sun.com>
253 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
255 2007-03-02 Li Yuan <li.yuan@sun.com>
257 * atk-bridge/bridge.c
258 (spi_atk_bridge_register_application),
259 (deregister_application), (spi_atk_bridge_focus_tracker),
260 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
261 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
262 to prevent calling threads_enter/leave during the init and shutdown.
264 2007-02-27 Li Yuan <li.yuan@sun.com>
267 (spi_re_entrant_list_delete_link):
268 Bug #412286. Reverse previous patch.
269 * configure.in, NEWS: Uprev/release 1.17.2.
271 2007-02-26 Li Yuan <li.yuan@sun.com>
273 * libspi/accessible.c:
274 (impl_accessibility_accessible_get_attributes),
275 (impl_accessibility_accessible_get_relation_set):
276 Bug #404584 and #401299. Return an empty object instead of return NULL.
277 * configure.in, NEWS: Uprev/release 1.17.1.
279 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
281 * Makefile.am: Dist MAINTAINERS.
283 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
285 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
286 (atk_bridge_init), (spi_atk_bridge_get_registry),
287 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
288 Fix some compiler warnings and plug a leak. Closes part of
291 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
293 * cspi/bonobo/cspi-bonobo-listener.h:
294 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
295 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
296 * cspi/spi_main.c: (SPI_eventIsReady):
297 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
298 * libspi/streamablecontent.c:
299 * libspi/util.c: (spi_re_entrant_list_delete_link):
300 * login-helper/login-helper.c:
301 * registryd/deviceeventcontroller.c:
302 (spi_controller_update_key_grabs), (isEvent):
303 * registryd/registry.c:
304 * test/key-listener-test.c: (simple_at_exit):
305 * test/login-helper-server-test.c: (test_set_wm_dock),
307 Fix a bunch of warnings from sparse:
308 - ANSIfication of function declarations
310 - Add some prototypes
311 - make some stuff static
313 2007-02-14 Li Yuan <li.yuan@sun.com>
315 * libspi/accessible.c:
316 (impl_accessibility_accessible_get_attributes):
317 Bug #404584. If there is no attributes, just return NULL.
319 2007-02-12 Li Yuan <li.yuan@sun.com>
321 * configure.in, NEWS: Uprev/release 1.17.0.
323 2007-02-12 Li Yuan <li.yuan@sun.com>
325 * atk-bridge/bridge.c:
326 (atk_bridge_init): bug #400709. we must emit events even if we are not
327 registered as a full-fledged app.
328 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
329 application like openoffice shutdown. They need to unload gtk before
330 the is spi_atk_bridge_exit_func called.
332 2007-01-22 Li Yuan <li.yuan@sun.com>
334 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
336 2007-01-22 Li Yuan <li.yuan@sun.com>
338 * cspi/bonobo/cspi-bonobo.c:
339 (cspi_get_registry_ior), (cspi_init):
340 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
342 2007-01-19 Li Yuan <li.yuan@sun.com>
344 * atk-bridge/bridge.c:
345 (atk_bridge_init), (spi_atk_bridge_register_application),
346 (deregister_application), (spi_atk_bridge_focus_tracker),
347 (spi_atk_emit_eventv):
348 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
351 2007-01-08 Li Yuan <li.yuan@sun.com>
353 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
355 2007-01-08 Li Yuan <li.yuan@sun.com>
357 * registryd/registry-main.c:
358 (main): set registry ior only when register server successfully.
359 * atk-bridge/bridge.c:
360 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
361 Bug #372988, #381670. Fix memory leak.
363 2007-01-02 Bill Haneman <billh@gnome.org>
366 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
367 appending default attributes to a text attribute set.
370 2006-12-28 Li Yuan <li.yuan@sun.com>
372 * atk-bridge/bridge.c:
373 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
374 the second time, because spi_atk_emit_eventv will free any. Bug
377 2006-12-15 Li Yuan <li.yuan@sun.com>
379 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
381 2006-12-14 Li Yuan <li.yuan@sun.com>
384 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
385 (spi_atk_bridge_property_event_listener),
386 (spi_atk_bridge_signal_listener):
387 Free some CORBA objects to fix memory leak and crash.
389 2006-12-13 Li Yuan <li.yuan@sun.com>
391 Patch from Ariel Rios to fix #163132 and #377079.
392 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
393 (spi_atk_bridge_get_registry_ior):
394 Use g_warning instead of g_error and g_critical to avoid crash.
396 2006-12-11 Bill Haneman <bill.haneman@sun.com>
399 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
400 if there are no non-default attributes defined at the current offset.
403 2006-12-04 Bill Haneman <bill.haneman@sun.com>
405 * idl/Accessibility_Role.idl: Fixed the documentation for
406 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
408 2006-12-04 Bill Haneman <bill.haneman@sun.com>
410 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
412 2006-11-07 Bill Haneman <bill.haneman@sun.com>
414 Patches from Padraig O'Briain for bugs #361386 and #369377.
416 * registryd/registry.c:
417 (struct NotifyContext): Change the e_out
418 member from an Accessibility_Event struct to a pointer to
420 (notify_listeners_cb): Modify to use the new struct definition above.
421 Allows use of ORBit_copy_value instead of CORBA_any__copy.
423 * registryd/deviceeventcontroller.c:
424 (spi_dec_button_update_and_emit): Free the event's any_data
426 (spi_dec_mouse_check):Free the event details any struct
428 (spi_device_event_controller_forward_mouse_event): Free any.
429 (spi_device_event_controller_forward_key_event): Ditto.
431 2006-11-07 Bill Haneman <bill.haneman@sun.com>
433 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
434 Don't require gtk+ and gail for building most of at-spi
437 * registryd/registry-main.c (main): We now get te value of display
438 using the env var DISPLAY rather than using the gdk_display_get_default
439 to avoid dependancy of gdk. Also, once the registry is started, we set
440 the ior of the registry as an X property.
441 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
443 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
444 the registration was successfull.
445 (spi_atk_bridge_do_registration): This function now returns success
446 or not on activating the registry.
447 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
448 has been set in the X root window and return it if available.
449 (spi_atk_bridge_get_registry): We now get the registry using the IOR
450 saved as a X property rather than using the OAFID.
452 2006-10-01 Bill Haneman <bill.haneman@sun.com>
454 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
456 2006-09-25 Bill Haneman <bill.haneman@sun.com>
458 * registryd/registry.c:
459 (desktop_remove_application): Don't pass a ref to the
460 dead application with the event, since it's probably
461 defunct and will cause SEGV if we try to unref,
462 extract app name, etc.
465 2006-09-20 Bill Haneman <bill.haneman@sun.com>
467 Patch from Neo Liu <nian.liu@sun.com>,
470 * atk-bridge/bridge.c:
471 (spi_atk_bridge_document_event_listener): New, for
474 2006-08-30 Bill Haneman <bill.haneman@sun.com>
477 Changed some parameter names so as not to
478 collide with class names - allows IDL to be compiled with
479 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
481 2006-08-22 Bill Haneman <bill.haneman@sun.com>
483 * atk-bridge/bridge.c:
484 (spi_atk_bridge_signal_listener):
485 Patch from Ginn Chen, assign detail1 in children-changed
486 so that the child object can be assigned to the Any when the
487 at-spi event is emitted. Bug #350552.
489 * libspi/application.c:
490 (spi_application_finalize): Remove g_print debug output.
493 2006-08-21 Bill Haneman <bill.haneman@sun.com>
495 * configure.in: Revved to AT-SPI 1.7.11.
497 * libspi/accessible.c:
498 (spi_accessible_new): Aggregate Hyperlink interface
499 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
501 * libspi/hyperlink.c:
502 (spi_hyperlink_new): Don't aggregate Action a second time if this
503 interface is created for an AtkHyperlinkImpl object (i.e. for a
504 child Accessible, as opposed to the Hyperlink instance from
506 (get_hyperlink_from_servant): Obtain the hyperlink from
507 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
509 Patch section from Ginn Chen...
511 * cspi/spi_accessible.c:
512 (_cspi_accessible_set_from_sequence):
513 Changed g_newa to g_new0 on Ginn Chen's suggestion.
515 * libspi/accessible.c:
516 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
517 (spi_accessible_new): Add the Document interface if present.
520 (impl_getAttributes): Fixed to use AtkAttribute properly.
523 (impl_getAttributes, impl_getDefaultAttributes):
524 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
526 2006-08-17 Bill Haneman <bill.haneman@sun.com>
528 * cspi/spi-private.h, cspi/spi_accessible.c:
529 (_cspi_attribute_set_from_sequence): Renamed from
530 cspi_attribute_set_from_sequence, to suppress export.
533 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
534 inline docs, which was keeping the doc from appearing.
535 (SPIExceptionHandler): Doc this.
537 * cspi/spi_document.c:
538 Added inline gtk-docs cut-n-pasted from the doxygen
539 docs in the corresponding IDL files.
540 (AccessibleDocument_getAttributes): Fix the retval here.
542 * cspi/spi_streamablecontent.c:
543 Fixed some 'Since' tags that were accidentally doxygen-style.
546 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
547 docs from the IDL file.
549 * docs/reference/cspi/at-spi-cspi-docs.sgml:
550 Added entities for Document and StreamableContent interfaces.
552 * docs/reference/cspi/at-spi-cspi-sections.txt:
553 Added some docs that were present inline but not getting
556 2006-07-31 Bill Haneman <bill.haneman@sun.com>
559 (impl_getRangeExtents): Use the atk_text_get_range_extents
560 API instead of looping over character bounds, now that
562 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
563 (_spi_text_bounds_contain): Remove, not needed anymore.
564 (_spi_text_rect_union): Remove, not needed anymore.
566 2006-07-31 Bill Haneman <bill.haneman@sun.com>
568 * atk-bridge/bridge.c:
569 (spi_atk_emit_eventv): Fix the CORBA_free call which was
570 causing 64-bit troubles and memory leaks.
571 Special thanks to Alexander Larsson who finally seems to
572 have tracked down the problem, not just here but in
576 (spi_init_any_object): Make sure we copy the CORBA value
577 when initializing an object for passing as a CORBA_Any.
580 2006-07-21 Bill Haneman <billh@gnome.org>
582 * idl/Accessibility.idl:
583 Reverted pragma changes, this broke the build in some envs
584 including the Debian team's build and some tinderbox builds.
586 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
589 Revved to 1.7.10, and edited the Xevie check (bug #319994).
591 * idl/Accessibility.idl:
592 Reworked inclusion of Bonobo_Unknown.idl, to
593 avoid double-linking libs in the Bonobo environment.
594 Thanks to Michael Meeks for the workaround, see bug #313122.
596 * registryd/deviceeventcontroller.c:
597 (spi_controller_notify_keylisteners):
598 Set the SPI_NUMLOCK_MASK bit if the modifier
599 corresponding to the conceptual numlock state is set.
602 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
604 * idl/Accessibility_Selection.idl:
605 (deselectChild): New method.
607 * libspi/selection.c:
608 (impl_deselectChild): Implement the new IDL method.
611 (AccessibleSelection_deselectChild): Added new method.
613 * cspi/spi_selection.c:
614 (AccessibleSelection_deselectChild): New method implemented.
616 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
618 * cspi/bonobo/cspi-bonobo.c:
619 (cspi_init): Replace g_error with g_warning, prevent
620 SEGV if the registry cannot be activated. Bug #346393.
622 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
624 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
626 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
627 2006-07-12 Ariel Rios <arios@us.ibm.com>
631 * idl/Accessibility_Table.idl:
632 (getRowColumnExtentsAtIndex): New method for getting
633 selection status and extents in one API call.
636 (impl_getRowColumnExtentsAtIndex): Implementation of
638 (spi_table_class_init): Add above to epv.
642 (AccessibleTable_getRowColumnExtentsAtIndex): New
643 method, retrieves selection status and row/col extents
644 for a table cell in a single API call.
646 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
647 2006-07-12 Ariel Rios <arios@us.ibm.com>
649 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
652 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
653 New bindings for new methods defined in idl and libspi.
656 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
657 Added prototype functions.
660 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
662 (spi_text_class_init): Added previous methods.
665 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
666 * libspi/spi-private.h: Corrections.
668 2006-06-29 Bill Haneman <bill.haneman@sun.com>
670 Added Document interface (see bug #326520),
671 with work from Ariel Rios <arios@us.ibm.com>.
673 * configure.in: Bump to 1.7.8.
675 * libspi/Makefile.am: Added document.[ch] to sources
678 (SpiDocument, SpiDocumentClass):
679 New interface implementation.
680 (spi_document_get_type, spi_document_construct)
681 (spi_document_interface_new): New methods added.
682 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
683 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
684 Added macros for SpiDocument
688 (spi_document_interface_new): Get a
689 new document interface. New.
690 (get_document_from_servant): Get an AtkDocument from servant New.
691 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
692 Implementation of methods defined on idl.
693 (spi_document_class_init, spi_document_init)
694 Init methods for SpiDocument. new
696 * idl/Accessibility.idl: Added Accessibility_Document.idl.
698 * cspi/Makefile.am: Added spi_document.c to sources.
700 * cspi/spi_document.c:
701 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
702 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
703 (AccessibleDocument_getAttributes): Bindings for methods defined
706 * cspi/spi_accessible.c:
707 (Accessible_isDocument, Accessible_getDocument) New.
709 (Accessible_isDocument, Accessible_getDocument)
710 (AccessibleDocument_ref, AccessibleDocument_unref)
711 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
712 (AccessibleDocument_getAttributes): Bindings added.
714 * idl/Makefile.am: Added Accessibility_Document.idl to
717 2006-06-29 Bill Haneman <bill.haneman@sun.com>
719 * idl/Accessibility_Document.idl: New interface
720 for complex documents. First stage of fix for RFE
723 2006-06-27 Bill Haneman <bill.haneman@sun.com>
725 * libspi/streamablecontent.c:
726 (impl_content_stream_close):
727 Unref the GIOChannel on close.
729 2006-06-23 Bill Haneman <bill.haneman@sun.com>
731 * idl/Accessibility_Role.idl:
732 * libspi/accessiblerole.c:
733 * cspi/spi_accessible.c: Added ROLE_LINK,
734 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
735 Bug #345758 and bug #140635.
738 2006-06-22 Bill Haneman <bill.haneman@sun.com>
742 * idl/Accessibility_StreamableContent.idl:
743 Fix derivation of StreamableContent and ContentStream.
745 * cspi/spi_streamablecontent.c:
746 (accessible_content_stream_client_read):
747 Fix the datatype of the content stream used.
748 Interpret short reads as EOF, and stop trying to
749 read when we've fulfilled the request.
750 (AccessibleStreamableContent_getContentTypes):
751 Use g_strdup, not CORBA_string_dup, for the strings.
752 (AccessibleStreamableContent_open):
753 Correctly use the new getStream method for opening,
754 not the deprecated getContent method.
755 Use the object reference as the stream hash key.
756 Make note of the 'one stream per client per streamable'
757 limitation in the docs.
760 Add streamablecontent.h to the list of #includes.
762 * libspi/streamablecontent.c:
763 (impl_content_stream_read): Initialize the GError.
764 Allocate the incoming buffer if reading a fixed length of
765 data. Use g_memmove instead of memcpy.
766 (impl_accessibility_streamable_get_content_types):
767 Init typelist->_maximum. Only allocate the buffer if
768 there is a non-zero number of content types available.
769 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
771 * libspi/streamablecontent.h:
772 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
775 (SPI_IS_VALUE): Fix a typo in this macro too.
777 2006-06-16 Bill Haneman <bill.haneman@sun.com>
781 * idl/Accessibility_StreambleContent.idl:
782 Deprecate the Bonobo_Stream-based methods in favor of
783 a self-contained "ContentStream" interface. This should
784 allow us to remove BonoboStream dependencies entirely, since
785 there were no non-NIL implementations of the old methods anyway.
786 (ContentStream): New interface.
787 (ContentStream::SeekType): Enum.
788 (ContentStream::seek): New.
789 (ContentStream::read): New.
790 (ContentStream::close): New.
791 (getContent): Deprecate.
792 (getURI): New method, returns a URI pointing to the content, if available.
794 * libspi/streamablecontent.c:
795 (SpiContentStream): Internal object type definition used to
796 implement Accessibility::StreamableContent::ContentStream via
797 AtkStreamableContent's GIOChannel back-end.
798 (spi_content_stream_new, spi_content_stream_dispose): See above;
800 (impl_content_stream_seek, impl_content_stream_read):
801 (impl_content_stream_close): New, implementations of
803 (impl_accessibility_streamable_get_stream): Implement the
804 public method Accessibility::StreamableContent::getStream.
805 (impl_accessibility_streamable_get_uri): Implement the
806 public method Accessibility::StreamableContent::getURI.
808 * cspi/spi_streamablecontent.c:
809 (accessible_bonobo_stream_client_seek): Replaced by
810 (accessible_content_stream_client_seek).
811 (accessible_bonobo_stream_client_read): Replaced by
812 (accessible_content_stream_client_read).
813 (AccessibleStreamableContent_open):
814 (AccessibleStreamableContent_seek):
815 (AccessibleStreamableContent_read):
816 (AccessibleStreamableContent_close): Use the new 'getStream'
817 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
819 2006-06-15 Bill Haneman <bill.haneman@sun.com>
821 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
822 remove from other .idl files (except LoginHelper).
825 2006-06-14 Bill Haneman <bill.haneman@sun.com>
827 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
830 * configure.in, */Makefile.am: mingw patch, modified from
831 original patch by yselkowitz. Bug #314216.
833 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
834 for completeness. Bug #163111.
836 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
837 * libspi/util.c, registryd/registry-main.c:
838 Fix guint/char* casts.
839 Patch from chpe, bug #333883.
841 2006-06-12 Bill Haneman <bill.haneman@sun.com>
843 * configure.in: Require atk-1.12.0, to pick up
844 new API. (bug #344412).
846 * libspi-1.0-uninstalled.pc.in:
848 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
849 Fix for #341488 from Samual Thibault.
851 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
852 Thanks to Brian Pepple.
854 2006-06-09 Bill Haneman <bill.haneman@sun.com>
857 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
858 New, missing implementations of attribute reading methods
861 * cspi/spi.h, spi_value.c:
862 (AccessibleValue_getMinimumIncrement): New methods wrapping
863 the (formerly unimplemented) property from Value.idl.
866 (impl_get_minimumIncrement): Implementation for retrieving
867 the minimum valuator increment, (formerly unimplemented).
870 2006-06-09 Bill Haneman <bill.haneman@sun.com>
872 * idl/Accessibility_State.idl:
873 Added STATE_VISITED (bug #338369).
875 * cspi/spi_accessible.c:
876 (spi_state_to_corba) Fixed marshalling of new statetypes.
879 (spi_init_state_tables, impl_getStates):
880 Fixed conversion of new statetypes to/from ATK.
882 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
884 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
885 definitions/conversions for new roles from ATK.
887 * idl/Accessibility_Relation.idl:
889 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
890 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
891 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
893 * libspi/accessible.c: Fixed marshalling of new role types from
896 2006-04-17 Matthias Clasen <mclasen@redhat.com>
898 * revert my previous change
900 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
902 * configure.in: Remove obssolete no_NO locale
903 * po/no.po: And the translation.
905 2006-04-05 Matthias Clasen <mclasen@redhat.com>
907 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
908 memory-management error that caused crashes on x86_64.
911 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
913 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
915 2006-03-27 Bill Haneman <bill.haneman@sun.com>
917 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
918 to strip "cspi_*" from the symbol table.
920 * cspi/spi_streamablecontent.c:
921 (get_streams): Make this method static.
924 (_cspi_exception_throw): rename to cspi_exception_throw,
925 so we can strip it with the rest...
928 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
930 2006-03-27 Bill Haneman <bill.haneman@sun.com>
932 Add doxygen-generated IDL docs to tarball, and enable
933 doxygen during build/install when available. Bug #301345.
935 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
937 * docs/reference/Makefile.am: Add idl to SUBDIRS.
939 * docs/reference/idl/Makefile.am: Optionally use
940 doxygen to create docs.
942 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
944 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
946 2006-03-20 Bill Haneman <bill.haneman@sun.com>
949 (impl_get_selected_rows): Don't free the selection if it's
950 empty or has not been assigned; init it to NULL so you can tell.
951 Also, allow for zero selected rows.
952 (impl_getSelectedColumns): Ditto. Bug #319088.
954 2006-03-11 Vincent Untz <vuntz@gnome.org>
956 Leak fix for bug #334217.
958 * libspi/application.c: spi_application_toolkit_event_listener():
959 don't duplicate the string we pass as an argument to
960 spi_init_any_nil() since spi_init_any_nil() already does it
961 * registryd/deviceeventcontroller.c:
962 (spi_dec_button_update_and_emit): ditto
963 (spi_dec_mouse_check): ditto
964 (spi_dec_emit_modifier_event): ditto
965 (spi_device_event_controller_forward_mouse): ditto
966 * registryd/registry.c:
967 (desktop_add_application): ditto
968 (desktop_remove_application): ditto
970 2006-02-20 Bill Haneman <billh@gnome.org>
972 * configure.in: Rev to 1.7.6.
974 Leak fixes for bug #331924.
976 * atk-bridge/bridge.c:
977 (spi_atk_bridge_init_base): Don't dup the string, it's already
978 been dup-ed. Fixes a leak.
979 (spi_atk_emit_eventv): Move the CORBA_free call here,
980 instead of spi_atk_state_event_listener; fixes another leak.
981 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
982 notifying the registry; fixes another leak.
984 * registryd/registry.c:
985 (registry_flush_event_queue): Free the CORBA_any when
986 flushing the event, not just the string. Fixes another leak.
987 (registry_queue_event): Free the CORBA_any when dropping
988 events on the floor; fixes another leak.
991 (spi_init_any_object, spi_init_any_nil):
992 Always set _release to TRUE. Fixes another leak.
994 2006-02-20 Bill Haneman <billh@gnome.org>
996 * configure.in: Rev to 1.7.5.
997 Reinstate localization of this module. Thanks for Rodney
998 Dawes for fixing my patch.
1000 * registryd/Makefile.am: Remove Accessibility_Registry.server
1001 from dist, since it needs to be re-created at configure time.
1004 2006-01-31 Bill Haneman <billh@gnome.org>
1006 * configure.in: Rev to 1.7.4 (to include build fix below).
1008 * idl/Makefile.am: Include Selector.idl in dist.
1012 (cspi_internal_event_get_object): Handle case where
1013 "object" isn't present, i.e. CORBA_TC_Object doesn't match
1014 the EventDetails data.
1015 (cspi_internal_event_get_text): Handle NULL string.
1016 (cspi_internal_event_get_rect): Handle missing/empty rect
1017 data, Accessibility_TC_RectBounds doesn't match any_data.
1019 2006-01-30 Bill Haneman <billh@gnome.org>
1023 * atk-bridge/bridge.c:
1024 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
1025 interface and use that when instantiating a new source
1026 accessible. Better fix for bug #321814.
1028 2006-01-27 Bill Haneman <billh@gnome.org>
1030 * idl/Accessibility_Selector.idl: Added to the cvs repository.
1032 * configure.in: Revved to 1.7.3.
1034 2006-01-17 Bill Haneman <billh@gnome.org>
1036 * configure.in: Revved to 1.7.2, re-dist to include docs.
1038 2006-01-09 Bill Haneman <billh@gnome.org>
1040 * configure.in: Removed po/Makefile.in inclusion, we do not need
1041 it. Revved to 1.7.0.
1043 * idl/Accessibility.idl: Improved documentation here, and for all
1044 IDL in the 'GNOME::Accessibility' namespace.
1046 * idl/Accessibility_Accessible.idl:
1047 (LOCALE_TYPE): Added enum.
1048 (AttributeSet): New, for returning multiple name/value attribute pairs.
1049 (RoleSet): New, sequence of Roles, to be used in upcoming
1051 (getAttributes): New API, allows retrieval of name/value pair
1052 annotations for all kinds of Accessible objects. C.f.
1053 Text:getAttributes, which is only for typographic/textual/semantic tags in
1055 (getApplication): New, retrieves the host/containing Application
1056 instance for an object (without having to walk up the whole tree).
1058 * idl/Accessibility_Component.idl:
1059 (getAlpha): New method, returns the alpha blending (aka 'opacity')
1060 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
1063 * idl/Accessibility_Event.idl:
1064 (EventDetails): New struct definition, for encapsulating
1065 commonly-queried information about emitted events. The use of
1066 this structure in emitted events (in the 'any' member of
1067 Accessibility_Event) should greatly reduce the number of
1068 client-server roundtrips necessary.
1070 * idl/Accessibility_Image.idl:
1071 (imageLocale): New, a readonly attribute indicating the POSIX
1072 LC_MESSAGES locale of the image and associated Alt/descriptive
1075 * idl/Accessibility_Relation.idl:
1076 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1079 * idl/Accessibility_Role.idl:
1080 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1081 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1082 complex document and form support.
1084 * idl/Accessibility_State.idl:
1085 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1086 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1087 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1088 for support of complex documents and forms.
1090 * idl/Accessibility_StreamableContent.idl:
1091 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1092 allow old bonobo-stream interfaces to be deprecated in the next
1095 * idl/Accessibility_Text.idl:
1096 (getAttributeValue): New method, allows query-by-name of single
1099 * libspi/accessible.c:
1100 Added support for new roles. Implemented new methods
1101 (impl_accessibility_accessible_get_application): New
1102 (impl_accessibility_accessible_get_attributes): New
1104 * libspi/component.c:
1105 (impl_accessibility_component_get_alpha): New.
1108 (impl_accessibility_image_get_locale): New.
1110 * libspi/relation.c: Added support for new relation type.
1112 * libspi/stateset.c: Added support for new state types.
1115 (impl_getAttributeValue): New.
1118 New prototypes for private methods
1120 spi_init_any_object, spi_init_any_string,
1123 * libspi/spi_event.c:
1124 Use EventDetails in the event emission methods.
1126 * cspi/spi-private.h:
1127 (cspi_role_from_spi_role): Expose this adapter method, since
1128 we need it in the bridge (see below).
1131 (AccessibleEvent_getSourceName):
1132 (AccessibleEvent_getSourceRole):
1133 (AccessibleEvent_getSourceApplication):
1134 (AccessibleEvent_getSourceDetails):
1135 New methods for interrogating/demarshalling
1136 event details (i.e. source's accessible name, role,
1139 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1140 Make use of the new EventDetails struct in events, if present.
1141 (AccessibleEvent_getSourceName)
1142 (AccessibleEvent_getSourceRole)
1143 (AccessibleEvent_getSourceApplication)
1144 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1146 (Accessible_getAttributes): New, wraps
1147 Accessibility_Accessible_getAttributes.
1148 (Accessible_getHostApplication): New, wraps
1149 Accessibility_Accessible_getApplication.
1152 (AccessibleImage_getImageLocale): New wrapper for
1153 Accessibility_Image_get_imageLocale.
1155 * cspi/spi_component.c:
1156 (AccessibleComponent_getAlpha): New wrapper for
1157 Accessibility_Component_getAlpha.
1159 * atk-bridge/bridge.c:
1160 Use new prototyped for init_any methods.
1161 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1162 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1163 (spi_atk_bridge_init_base): Wrappers
1164 for spi_init_any_* methods, due to refactor; include extended
1165 information in the Accessibility_EventDetails struct, for instance
1166 accessible-name, Role, and containing Application.
1168 * registryd/registry.c:
1169 Use new event emission (with EventDetails).
1171 * registryd/deviceeventcontroller.c:
1172 Use new event emission (with EventDetails).
1174 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1176 * configure.in: Generate po/Makefile.in
1177 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1178 * cspi/spi_streamablecontent.c:
1179 (accessible_bonobo_stream_client_seek),
1180 (AccessibleStreamableContent_seek): Remove unused vars.
1181 * libspi/application.c: Missing header.
1182 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1183 * login-helper/login-helper.c: (login_helper_finalize),
1184 (login_helper_init): Remove unused stuff
1185 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1186 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1187 and surround some with #ifdef GRAB_BUTTON.
1188 * test/event-listener-test.c: (main), (report_event),
1189 (report_caret_event), (report_detail_event),
1190 (report_detail1_event), (report_bounds_event), (report_text_event),
1191 (report_text_selection_event),
1192 (report_active_descendant_changed_event),
1193 (report_children_changed_event), (report_name_changed_event),
1194 (report_description_changed_event), (report_parent_changed_event),
1195 (report_window_event), (report_table_summary_event),
1196 (report_table_header_event), (report_table_caption_event),
1197 (report_table_row_description_event),
1198 (report_table_column_description_event), (timing_test_event):
1199 Remove a bunch of unused variables and fix a slew of format specifiers
1200 * test/key-listener-test.c: (report_all_key_event): Format specifier
1201 * test/keypad-test.c: (print_key_event): Same
1202 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1204 * test/screen-review-test.c: (main), (print_chunk_debug),
1205 (review_buffer_get_text_chunk), (debug_chunk_list),
1206 (string_guess_clip), (text_chunk_get_clipped_string),
1207 (text_chunk_list_to_string), (get_screen_review_line_at):
1208 Remove unused variables and fix format specifiers.
1209 * test/simple-at.c: (report_text_event): Format specifier fix.
1210 * test/stress-test.c: (main): Remove unused var.
1212 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1214 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1215 (yes I know that's useless)
1217 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1219 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1221 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1223 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1224 urgh-fix embarassing typo.
1226 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1228 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1229 do a faster, less problematic _unref call on this local
1230 object, rather than a slower (potentially cross-thread
1231 complicated) CORBA call.
1233 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1235 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1236 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1237 * registryd/deviceeventcontroller.c:
1238 (spi_controller_notify_mouselisteners),
1239 (impl_generate_keyboard_event):
1240 * test/screen-review-test.c: (chunk_bounds_within):
1241 * test/test-simple.c: (test_desktop): Remove some unused code
1242 and fix compiler warnings. Closes bug #320049.
1244 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1246 * registryd/deviceeventcontroller.c:
1247 (spi_controller_notify_keylisteners): Check
1248 to make sure the event listener has requested 'preemptive'
1249 status before pre-empting an event.
1251 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1253 * configure.in, README, NEWS: Release 1.6.5.
1255 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1257 * test/window-listener-test.c: Fix a printf
1258 format error. (#169453)
1260 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1262 * tests/test-simple.c:
1263 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1264 relying on the old string from the key event hanging around after
1265 the event handler returns. Fixes broken 'make check'.
1267 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1269 * Added Marathi (mr_IN) translations.
1271 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1273 * cspi/bonobo/cspi-bonobo-listener.c:
1274 (cspi_event_list_remove_by_cb): Fix the build.
1276 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1278 * cspi/bonobo/cspi-bonobo-listener.c
1279 (cspi_event_list_remove_by_cb): actually filter by callback.
1281 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1283 * registryd/registry.c (remove_listener_cb):
1284 Make deregistration filter rules match the event emission rules.
1286 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1288 * registryd/registry.c (remove_listener_cb),
1289 (impl_accessibility_registry_deregister_global_event_listener),
1290 (impl_accessibility_registry_deregister_global_event_listener_all):
1291 pass a closure to the remove callback to filter listeners more
1292 accurately on remove.
1294 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1296 * configure.in: Revved to 1.6.4.
1297 Remember to put quotes around XEVIE_LIBS assignment.
1298 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1301 * tests/event-listener-test.c: Tweaked the tests - more detail
1302 from caret events, and some interrogation of AccessibleText APIs.
1303 Commented-out the bounds-changed events by default, since they can
1306 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1308 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1309 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1310 Same here. Closes bug #167806
1312 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1314 * atk-bridge/bridge.c:
1315 (spi_atk_bridge_signal_listener):
1316 Free the any._value if any._release is TRUE,
1317 since the ORB won't do it for us in this case
1318 [because this method is not a skel].
1319 Fix for bug #168679.
1321 2005-03-30 Steve Murphy <murf@e-tools.com>
1323 * configure.in: Added "rw" to ALL_LINGUAS.
1325 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1327 * configure.in: Improved check for HAVE_XEVIE, to detect
1328 presence on XOrg, where -lXevie is a separate library.
1330 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1332 * configure.in, NEWS, README: Revved to 1.6.3.
1334 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1336 * configure.in: Added "xh" to ALL_LINGUAS.
1338 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1340 * atk-bridge/bridge.c:
1341 (atk_bridge_init): Added missing NULL in g_strconcat(),
1342 also check for symlink before logging to
1343 insecure directory. Thanks to meissner@suse.de.
1345 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1347 * tests/login-helper-server-test.c: Add return call to main
1348 function. Patch from Chris Lahey. Fixes bug #165129.
1350 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1352 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1354 2004-12-09 Bill Haneman <billh@gnome.org>
1356 * registryd/registry-main.c:
1357 Added #define <string.h> for strrchr. (bug 160862).
1358 Thanks to Vincent Berger for catching.
1360 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1362 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1363 restart registry process if the registry process is found to have died
1364 and the current process is exiting.
1365 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1366 application if the registry process has died.
1367 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1368 does not return a registry object.
1369 (spi_atk_tidy_windows): Give up if the registry process has died.
1371 This fixes problems with hangs and crashes when logging out.
1373 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1375 * registryd/desktop.c: Add checking that we are not exiting before
1376 calling spi_desktop_remove_application in
1377 abnormal_application_termination. Fix for bug #152147.
1379 2004-12-02 Bill Haneman <billh@gnome.org>
1381 * configure.in, NEWS, README: Revved to 1.6.1.
1383 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1384 * atk-bridge/bridge.c:
1385 (atk_bridge_init): Save the pid when we start, to detect forks.
1386 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1387 if we're in a forked pid.
1389 2004-10-09 Bill Haneman <billh@gnome.org>
1391 * idl/Accessibility_LoginHelper.idl:
1392 Improved inline documentation.
1394 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1396 * configure.in: Added gl (Galician) to ALL_LINGUAS
1398 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1400 * libspi/accessible.c:
1401 (impl_accessibility_accessible_get_role_name),
1402 (impl_accessibility_accessible_get_local_role_name):
1403 NULL vs. 0 cleanups.
1404 * libspi/component.c:
1405 (impl_accessibility_component_get_accessible_at_point):
1407 * libspi/eventlistener.c: (spi_event_listener_new):
1409 * libspi/stateset.c: (impl_compare): More of the same
1410 * libspi/table.c: (impl_getRowDescription): Again.
1411 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1412 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1413 (impl_generate_keyboard_event): Same.
1414 * registryd/registry-main.c: (main): Same
1415 * test/event-listener-test.c: (test_exit): Same
1416 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1417 * test/keysynth-test.c: (test_key_synthesis): Same
1418 * test/login-helper-server-test.c: (main): Fix warning.
1419 * test/screen-review-test.c: (test_exit): Fix include.
1420 * test/simple-at.c: (simple_at_exit), (_festival_init):
1423 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1425 * configure.in, NEWS, README: Revved to 1.6.0.
1427 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1429 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1430 was missing the HTML docs.
1432 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1434 * configure.in: only cleanups:
1435 - better looking PKG_CHECK_MODULES() output,
1437 - declare in one common place required versions of other tools using
1440 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1442 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1443 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1444 required ATK version accordingly.
1446 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1448 * cspi/bonobo/cspi-bonobo.c:
1449 (cspi_display_name): Fix C99ism.
1450 * atk-bridge/bridge.c:
1451 (spi_display_name): Fix C99ism.
1452 Patch from Jens Granseuer, jensgr@gmx.net.
1454 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1456 * configure.in: Added "or" to ALL_LINGUAS.
1458 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1460 * configure.in, NEWS, README: Revved to 1.5.4.
1462 * registryd/registry-main.c:
1463 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1466 * cspi/bonobo/cspi-bonobo.c:
1467 (cspi_display_name): New convenience method, gets DISPLAY with
1468 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1469 (cspi_init): Set the activation env value above before getting
1472 * atk-bridge/bridge.c:
1473 (spi_display_name): Create the AT_SPI_DISPLAY activation
1474 environment for an app, based on the DISPLAY environment with the
1475 screen number stripped off.
1476 (atk_bridge_init): Allow redirection of error messages to a log.
1477 (spi_atk_bridge_get_registry): Call
1478 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1480 Fixes for bugs #149962, #136986, #144086.
1482 2004-08-16 Christian Rose <menthos@menthos.com>
1484 * configure.in: Added "bs" to ALL_LINGUAS.
1486 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1488 * configure.in: Added nb to ALL_LINGUAS.
1490 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1493 (SPI_init): Return error code '2' if the activated
1494 registry cannot be pinged. Fixes bug #147648.
1496 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1498 * registryd/deviceeventcontroller.c:
1499 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1500 rely on timer-poll instead, to avoid conflict with
1503 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1505 * configure.in: Revved to 1.5.3.
1507 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1509 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1511 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1513 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1515 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1517 * atk-bridge/bridge.c:
1518 (spi_atk_bridge_do_registration):
1519 Register with ATK for AtkComponent:bounds-changed events.
1520 (api_atk_bridge_signal_listener):
1521 Marshal the AtkRectangle info into the event notification
1522 for object:bounds-changed events.
1525 (spi_init_any_rect): New method, inits a corba struct of
1526 type Accessibility_BoundingBox from an AtkRectangle.
1528 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1531 (SPIRect): New struct definition.
1532 (SPI_freeRect): New declaration.
1533 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1536 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1537 implemented. Gets the bounding box data from the CORBA_any
1538 associated with a bounds-changed event notification.
1539 (cspi_internal_event_get_rect): New, used internally by above method.
1542 (SPI_freeRect): Implemented this new method, for freeing
1545 * test/event-listener-test.c:
1546 (main, report_bounds_event):
1547 Added a test for object:bounds-changed events.
1549 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1551 * test/login-helper-server-test.c:
1552 (main): Fix C99-ism. Thanks to Jens Granseuer.
1554 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1556 * libloginhelper-1.0.pc.in:
1557 * idl/Accessibility_LoginHelper.idl:
1558 * login-helper/Makefile.am:
1559 * login-helper/login-helper.[ch]:
1560 * test/login-helper-client-test.c:
1561 * test/login-helper-server-test.c: Added files missing from CVS.
1562 Files obtained from at-spi-1.5.2 tarball.
1564 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1566 * configure.in: Create login-helper/Makefile.
1567 Incremented micro version.
1569 * Makefile.am: Add login-helper subdir and pkgconfig data.
1571 * login-helper: New subdir.
1573 * libloginhelper-1.0.pc.in: New.
1575 * idl/Accessibility_LoginHelper.idl: New file, defines
1576 interface whereby authentication clients can identify agents which
1577 need access to services during the login process, e.g. screen lock
1580 * login-helper/Makefile.am : New.
1582 * login-helper/login-helper.[ch] : New, implementation of
1583 a LoginHelper base class. Services needing LoginHelper can subclass.
1585 * test/Makefile.am : Added test for login-helper, client and
1588 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1589 Use proper prefix in #include files.
1591 * test/login-helper-client-test.c: New.
1593 * test/login-helper-server-test.c: New.
1595 2004-05-27 Alexander Shopov <ash@contact.bg>
1597 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1599 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1601 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1602 is positive. This should make it easier to detect inapprorpiate unref
1605 2004-05-11 James Henstridge <james@daa.com.au>
1607 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1608 no-op and deprecated.
1610 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1612 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1614 2004-04-28 Bill Haneman <billh@gnome.org>
1616 * Makefile.am: Added --enable-gtk-doc to
1617 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1619 2004-04-19 Bill Haneman <billh@gnome.org>
1621 * configure.in: Revved to 1.5.1.
1623 * registryd/deviceeventcontroller.c:
1625 (DEControllerPrivateData): Added fields for
1626 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1627 (spi_dec_replace_map_keysym): New internal utility for
1628 replacing a keysym in the keymap - used to allow
1629 synthesis of individual characters which aren't in the
1631 (spi_dec_reset_reserved): New; resets the changed keysym value
1633 (keycode_for_keysym): We now try to deal with failed
1634 XKeysymToKeycode requests by changing a keymap value
1635 and returning a reserved keycode. We now take
1636 a DEController pointer as first arg.
1637 (spi_controller_register_with_devices): Call XkbGetMap with
1638 the XkbKeySymsMask. Find the highest keycode in the current
1639 keymap which doesn't have any grabs, and mark that one for
1640 temporary re-mapping when out-of-range KeySyms are synthesized.
1641 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1644 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1646 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1648 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1650 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1652 2004-03-24 Bill Haneman <billh@gnome.org>
1655 (AccessibleTable_addRowSelection),
1656 (AccessibleTable_addColumnSelection),
1657 (AccessibleTable_removeRowSelection),
1658 (AccessibleTable_removeColumnSelection):
1659 Add declarations for spi wrappers which were
1660 inadvertantly omitted. Fixes bug #133413.
1663 Revved to 1.5.0 (unstable series for GNOME 2.7).
1665 2004-03-24 Bill Haneman <billh@gnome.org>
1667 * atk-bridge/bridge.c:
1668 Bracketed some debug output in
1669 conditionals, to avoid printing it in normal use.
1672 * libspi/hyperlink.c:
1673 Don't cast 'object' to ATK_OBJECT when constructing
1674 an AtkAction interface for a hyperlink.
1675 See discussion in bug #120659.
1677 * test/key-listener-test.c:
1678 (report_all_key_event): Send output to stderr,
1679 not stdout, for consistency with the rest of the test callbacks.
1682 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1683 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1684 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1685 try incrementing the revision AFTER doing a dist, at least
1688 2004-03-22 Bill Haneman <billh@gnome.org>
1690 * configure.in: Revved to 1.4.0, libtool 9.14.9
1692 2004-03-17 Laszlo Peter <laca@sun.com>
1694 * libspi-1.0-uninstalled.pc.in: add idldir
1696 * cspi-1.0-uninstalled.pc.in: add idldir
1698 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1700 * configure.in: Added "en_GB" to ALL_LINGUAS
1702 2004-03-15 Bill Haneman <billh@gnome.org>
1704 * configure.in: Revved to 1.3.16,
1707 2004-03-15 Laszlo Peter <laca@sun.com>
1709 * libspi-1.0-uninstalled.pc.in: new file
1711 * cspi-1.0-uninstalled.pc.in: new file
1713 * configure.in: add the new pc files to AC_OUTPUT
1715 * Makefile.am: add the new pc files to EXTRA_DIST
1717 2004-03-12 Bill Haneman <billh@gnome.org>
1719 * atk-bridge/bridge.c:
1720 (spi_atk_bridge_key_listener):
1721 Make sure to return consumed=FALSE if snoop
1722 event is not dispatched to listener.
1725 2004-03-01 Bill Haneman <billh@gnome.org>
1727 * configure.in: Revved to 1.3.15,
1730 2004-03-07 Danilo Segan <dsegan@gmx.net>
1732 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1734 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1736 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1738 2004-03-01 Bill Haneman <billh@gnome.org>
1740 * configure.in: Revved to 1.3.14.
1743 (SPI_exit): Removed "bye-bye" exit message.
1744 Moved "leak" report to happen before the
1745 iteration over the leaked refs list.
1746 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1748 2004-02-24 Bill Haneman <billh@gnome.org>
1750 * configure.in: Revved to 1.3.13.
1752 * docs/reference/cspi/Makefile.am:
1753 Correct typo that was breaking the docs build.
1755 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1757 * autogen.sh: Require version 1.7 of automake.
1759 * configure.in: call GTK_DOC_CHECK([1.0])
1761 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1763 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1765 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1767 * test/Makefile.am: Remove use of CFLAGS.
1769 This fixes bug #132987.
1771 2004-02-11 Bill Haneman <billh@gnome.org>
1773 * reverted most of Tomasz' patch below, since it was breaking
1774 builds (see bug #134058).
1776 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1778 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1779 correct pass "make dist" (empty .. because seems no sach types in
1780 header files with gtk-doc markups).
1781 * docs/reference/cspi/Makefile.am, configure.in:
1782 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1783 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1784 * Makefile.am: added:
1785 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1786 for force correct pass generate documentation on "make distcheck".
1787 * libspi/Makefile.am: fixes for automake >= 1.6.
1788 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1789 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1792 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1794 * docs/reference/cspi/Makefile.am (install-data-local): Install
1795 index.sgml since the doc autobuilder on widget.gnome.org looks for
1798 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1800 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1803 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1805 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1807 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1809 * test/simple-at.c: Fixed null string problems that cause core
1810 dumping problems on Solaris.
1812 2004-01-12 Bill Haneman <billh@gnome.org>
1814 * configure.in: Incremented version to 1.3.11.
1816 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1818 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1819 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1822 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1824 * configure.in: Added "fa" to ALL_LINGUAS.
1826 2003-12-20 Arafat Medini <lumina@silverpen.de>
1828 * configure.in: Added "ar" to ALL_LINGUAS
1830 2003-12-16 Bill Haneman <billh@gnome.org>
1832 * registryd/registry-main.c:
1834 Set the reg_env DISPLAY variable before registering the
1835 activated registry service. Fixes bug #129479.
1837 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1839 * configure.in: Added "id" in ALL_LINGUAS
1840 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1842 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1844 * registryd/deviceeventcontroller.c (global_filter_fn):
1845 When an event is consumed discard any XEvents were added to
1846 the queue while dealing with the the event. This can happen if
1847 processing of the event takes a long time. Call XUngrabKeyboard
1848 if an event was discarded. This fixes bug $124837.
1849 Only call wait_for_release_event for a KeyPress.
1850 Use local variable display instead of spi_get_display().
1851 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1854 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1856 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1857 Allow for mask to contain values other than NumLock mask.
1860 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1862 * registryd/devieceventcontroller.c:
1863 (wait_for_release_event): Change first parameter from GdkEvent to
1865 (global_filter_fn); Correct call to wait_for_release_event.
1869 2003-12-08 Bill Haneman <billh@gnome.org>
1873 * registryd/ucs2keysym.c: New file.
1875 * registryd/deviceeventcontroller.c:
1876 (dec_keysym_for_unichar): Remove old partial implementation and
1877 replace with call to ucs2keysym(), which is much more complete.
1878 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1883 2003-12-05 Bill Haneman <billh@gnome.org>
1885 * configure.in: Version 1.3.9.
1887 * docs/reference/cspi/tmpl/spi_registry.sgml:
1888 Added reference to libspi/keymasks.h to the
1889 description of Registry queries: AccessibleKeyMaskType.
1892 2003-12-04 Bill Haneman <billh@gnome.org>
1894 Fix for bug #121974.
1896 * idl/Accessibility_Application.idl:
1897 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1898 setlocale's LC_TYPEs.
1899 (Accessibility::Application::getLocale): New method.
1900 Allows clients to query the locale, by type, of an app.
1903 * cspi/spi_application.c:
1904 (AccessibleApplication_getLocale): New method, wraps IDL above.
1906 * libspi/application.c:
1907 (spi_application_class_init): Init epv entry for getLocale.
1908 (impl_accessibility_application_get_locale): Impl for above.
1910 * test/test-simple.c:
1911 (test_application): Added assertion for getLocale, i.e.
1912 that the string from AccessibleApplication_getLocale (app, type)
1913 is the same as that from setlocale (type, NULL);
1915 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1917 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1918 the keyboard on a timeout intil the key state goes from pressed to
1919 released. Fixes bug #111429.
1921 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1923 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1924 root object so that it is present when a context menu in an
1925 out-of-process applet is popped up.
1926 (spi_atk_bridge_do_registration): Create acceessible application root
1927 object only if it does not exist.
1929 This fixes bug #125834.
1931 2003-12-01 Bill Haneman <billh@gnome.org>
1933 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1936 Added enum for AccessibleStreamableContentSeekType.
1937 (AccessibleStreamableContent_freeContentTypeList): New.
1939 * cspi/spi_streamablecontent.c:
1940 (accessible_bonobo_stream_client_seek): New private method.
1941 (AccessibleStreamableContent_seek): Implemented this method,
1942 using Bonobo_Stream_seek.
1943 (AccessibleStreamableContent_freeContentTypeList): New method
1944 for freeing the return value from
1945 AccessibleStreamableContent_getContentTypes.
1946 (stream_cache_item_free): Replaces stream_release; stop leaks.
1947 (stream_release): removed.
1948 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1949 free the memory properly.
1951 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1953 Fix for bug #116009.
1955 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1957 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1959 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1961 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1963 2003-12-01 Bill Haneman <billh@gnome.org>
1965 Fix for bug/rfe #127463.
1967 * idl/Accessibility_Accessible.idl:
1968 (getLocalizedRoleName): New.
1969 (unimplemented4): Removed (replaced by above).
1971 * libspi/accessible.c:
1972 (impl_accessibility_accessible_get_local_role_name): New.
1973 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1977 (Accessible_getLocalizedRoleName): New.
1979 * cspi/spi_accessible.c:
1980 (Accessible_getLocalizedRoleName): New.
1982 2003-12-01 Bill Haneman <billh@gnome.org>
1984 Fix for bug #118581.
1985 * idl/Accessibility_Text.idl:
1986 (getDefaultAttributes): New.
1987 (unimplemented4): Removed (replaced by above method).
1990 (impl_getDefaultAttributes): New method.
1991 (spi_text_class_init):
1992 initialize the get_default_attributes slot in the epv.
1995 (AccessibleText_getDefaultAttributes): New prototype.
1998 (AccessibleText_getDefaultAttributes): New method.
2000 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
2002 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
2003 write beyond the end of the table. Fixes bug #120473.
2005 2003-09-30 Christian Rose <menthos@menthos.com>
2007 * configure.in: Added "eu" to ALL_LINGUAS.
2009 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
2011 * configure.in: ALL_LINGUAS: Added no.
2013 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
2015 * configure.in: Added lt to ALL_LINGUAS.
2017 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
2019 * atk-bridge/bridge.c:
2020 (atk_bridge_init): Register event listeners always even for
2021 out-of-process applet.
2022 (spi_atk_bridge_toplevel_added): Remove call to
2023 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
2024 (spi_atk_bridge_toplevelk_removed): Remove call to
2025 spi_atk_deregister_event_listenersa as the listeners are now always
2027 (spi_atk_bridge_register_application): Remove call to
2028 spi_atk_register_event_listeners as it is not done in atk_bridge_init
2030 This fixes bug #120991.
2032 * libspi/table.c (impl_getColumnDescription): Correct typo,
2033 pointed out by Bolian.Yin@sun.com.
2035 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
2037 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
2039 2003-09-08 Bill Haneman <billh@gnome.org>
2041 * configure.in: Revved to 1.3.7.
2043 This is the GNOME 2.4.0 release of at-spi.
2045 * docs/reference/cspi/Makefile.am:
2046 Removed spurious inclusion of 'index.sgml' in the
2047 html directory; this was breaking make distcheck and
2048 also some other build environments.
2050 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
2052 * registryd/registry.[ch}:
2053 Add queue_handler_id and focus_object to SpiRegistry data structure.
2054 (registry_flush_event_queue): If event being discarded is
2055 "state-change:focused" store object as focus_object.
2056 (registry_start_queue): Remove queue handler and focus object
2058 (registry_discard_event): New function which discards a focus event
2059 if we had stored focus object in the registry.
2060 (registry_queue_event): Add new check that is_queueing is set as this
2061 function is reentrant.
2062 (registry_filer_event): Add call to registry_discard_event.
2064 This resolves issues raised in bug #108664.
2066 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
2068 * configure.in: Added "bn" to ALL_LINGUAS.
2070 2003-09-04 Bill Haneman <billh@gnome.org>
2072 * cspi/spi_event.c: Documentation improvements for
2073 (SPI_registerAccessibleKeylistener).
2075 * docs/reference/tmpl/spi_registry.sgml:
2076 Documentation improvements for SpiAccessibleKeylistenerCB.
2078 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2080 * configure.in: Added "ro" to ALL_LINGUAS.
2083 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2085 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2086 not decremented to zero. Fixes bug #120725.
2088 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2090 * configure.in: Added "ja" to ALL_LINGUAS.
2092 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2094 * configure.in: Added "is" to ALL_LINGUAS.
2096 2003-08-22 Christian Rose <menthos@menthos.com>
2098 * configure.in: Added "nl" to ALL_LINGUAS.
2100 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2102 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2103 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2105 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2107 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2108 type for unspecified exception.
2109 * cspi_streamablecontect): Add include of string.h for memcpy.
2110 (stream_release): Correct call to bonobo_object_release_unref
2111 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2112 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2113 argument of _cspi_expection_throw.
2114 * libspi/hyperlink.c: Add include of libspi/action.h:
2115 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2116 * libspi/streamablecontent.c: add include of libspi/component.h.
2117 * regisrtyd/deviceeventcontroller.c:
2118 (spi_dec_translate_mask): Removed unused variable priv.
2119 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2120 * registryd/registry.c:
2121 (registry_filter_event): Remove unused variable queue_is-empty.
2122 (impl_registry_notify_event): Use correct modifier in fprintf call.
2124 This fixes compiler warnings reported in bug #120220.
2126 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2128 * registryd/registryd.c: Remove this file.
2130 2003-08-17 Sanlig Badral <badral@openmn.org>
2132 * configure.in: Added mn to ALL_LINGUAS.
2134 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2136 * configure.in: Added et to ALL_LINGUAS.
2138 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2140 * test/event-listener-test.c: Change active-descendant to
2141 active-descendant-changed.
2143 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2145 * configure.in: Added "fi" in ALL_LINGUAS.
2147 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2149 * configure.in: Added "hi" in ALL_LINGUAS.
2151 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2153 * configure.in: Revved to 1.3.6.
2157 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2159 * registryd/deviceeventcontroller.c
2160 (spi_device_event_controller_object_finalize): Fix typo in previous
2163 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2165 * registryd/deviceeventcontroller.c
2166 (spi_device_event_controller_object_finalize): Fix build on
2167 systems without XEvIE.
2169 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2171 * acconfig.h, configure.in, registryd/Makefile.am,
2172 registryd/devicecontoller.[ch]: Add XEViE support.
2174 2003-08-06 Wang Jian <lark@linux.net.cn>
2176 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2178 2003-08-06 Metin Amiroff<metin@karegen.com>
2180 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2182 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2184 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2185 MODIFIER_ALT in correct place.
2187 This fixes part of bug #118114.
2189 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2191 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2193 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2195 * configure.in: Added "ko" to ALL_LINGUAS.
2197 2003-07-28 Ole Laursen <olau@hardworking.dk>
2199 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2201 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2203 * configure.in: Added "sq" to ALL_LINGUAS.
2205 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2207 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2209 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2211 * configure.in: updated ALL_LINGUAS list
2213 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2215 * configure.in: Added Belarusian to ALL_LINGUAS.
2217 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2219 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2221 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2222 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2224 This fixes bug #116949.
2226 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2228 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2229 Correct CSPI to SPI in function documentation.
2231 This fixes bug #118054.
2233 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2235 * configure.in: Added Russian to ALL_LINGUAS.
2237 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2239 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2241 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2243 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2245 2003-07-10 Joel Brich <joel.brich@laposte.net>
2247 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2249 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2251 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2253 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2255 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2256 resources allocated for AccessibleEvent. See cspi_event().
2258 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2259 static variable streams to NULL.
2261 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2262 Update so that AcessibleEvent_ref will work.
2264 This fixes bug #116624.
2266 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2268 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2270 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2272 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2274 2003-07-02 Christian Neumair <chris@gnome-de.org>
2276 * configure.in: Added "de" (German) to ALL_LINGUAS.
2278 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2280 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2282 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2284 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2286 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2288 * configure.in: Added "pl" to ALL_LINGUAS.
2290 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2292 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2294 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2297 (get_action_from_servant):
2298 Removed assertion that action is implemented on an AtkObject.
2300 * libspi/hyperlink.c:
2301 (spi_hyperlink_new):
2302 Aggregate AccessibleAction interface on the hyperlink object if
2303 the object implements AtkAction. (This convention is used in
2306 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2308 * configure.in: Revved to 1.3.5.
2310 * registryd/Accessibility_Registry.server.in.in:
2311 Marked up appropriate strings for translation.
2313 * atk-bridge/bridge.c: Marked a couple of
2314 user-visible warnings for translation. Questionable
2315 whether they are really useful, but possibly so.
2318 2003-06-28 Christian Rose <menthos@menthos.com>
2320 * configure.in: Added "sv" to ALL_LINGUAS.
2322 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2324 * registryd/registry.c:
2325 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2326 (registry_defer_on_event): Defer focus: events, this is an
2327 improvement to the patch for bug #108664.
2329 * TODO: Update with 2.4/"Dev Complete" items.
2331 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2333 * atk-bridge/bridge.c:
2334 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2335 looks up signals once.
2336 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2337 if doing registration.
2338 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2339 when doing registration.
2341 This fixes bug #115014.
2343 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2345 * atk-bridge/bridge.c:
2346 (atk_bridge_init): Add signal handler for children-changed:remove on
2347 root when in a BonoboComponent.
2348 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2349 for first toplevel only other incrememt variable toplevels.
2350 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2351 application and remove listeners.
2352 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2354 (spi_atk_deregister_event_listeners): New function which removes
2356 (reinit_register_vars): New fuction which reinitializes variables.
2358 This fixes bug #111578.
2360 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2362 * configure.in: version 1.3.4.
2364 * cspi/spi_accessible.c:
2365 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2368 2003-06-13 Michael Meeks <michael@ximian.com>
2370 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2372 * cspi/spi_main.c (cspi_peek_ev): impl.
2374 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2376 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2378 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2380 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2381 SPI_ROLE_AUTOCOMPLETE
2383 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2385 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2386 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2388 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2390 * libspi/streamablecontent.h:
2391 * libspi/streamablecontent.c:
2392 New files, provide implementation/wrappers for
2393 Accessibility_StreamableContent.
2395 * cspi/spi_streamablecontent.c:
2396 Connected the C wrappers to the libspi C bindings.
2397 (AccessibleStreamableContent_close): New method.
2400 (AccessibleStreamableContent_close): New method, needed
2401 since we have an "open, [seek], read, close" model in cspi.
2403 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2405 Fix for #108664; Padraig's revision of my original patch.
2407 * registryd/registry.h:
2408 Added event queue list, is_queuing, and exit_notify_timeout
2409 to the registry struct.
2411 * registryd/registry.c:
2412 (registry_init): Initialize new struct from registry.h.
2413 (impl_registry_notify_event):
2414 Filter events before notifying, in case some need to be
2416 (registry_filter_event): New,
2417 we defer certain incoming events (for instance
2418 window:deactivate) because we may wish to hide
2419 or reject them based on pending events. This is
2420 mostly a workaround for bug #108664.
2421 (registry_queue_event, registry_start_queue): New.
2422 (registry_defer_on_event): Test event to see if it
2424 (registry_reset_on_event): Returns TRUE if the
2425 event should cause a queue reset.
2426 (registry_discard_on_event): Returns TRUE if the event
2427 should cause the previous queue contents to be discarded.
2428 (registry_timeout_flush_queue): Flushes the pending event
2429 queue if no reset/discard-triggering events have come in
2430 within the timeout period.
2431 (registry_emit_event): New.
2432 (registry_clone_notify_context): New, used when queueing the
2433 event notify contexts.
2435 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2437 * configure.in: Version revved to 1.3.2, lt 0.9.2
2438 Incremented ATK required version to 1.3.4.
2440 * cspi/spi_registry.c:
2441 (SPI_generateKeyEvent):
2442 We now pass the keystring along if it's non-null.
2444 * registryd/deviceeventcontroller.c:
2445 (keysym_mod_mask): New method, returns modifier mask
2446 required to generate a keysym from a given keycode.
2447 (dec_synth_keysym): New method.
2448 (dec_synth_keystring): New method.
2449 (dec_get_modifier_state): New method.
2450 (dec_lock_modifiers): New
2451 (dec_unlock_modifiers): New.
2452 (dec_keysym_for_unichar): New, rather brute-force
2453 conversion from UCS-4 to X KeySyms. Only works for
2454 Latin at the moment, with partial implementations for
2455 Greek, Hebrew, and (incomplete) Katakana.
2456 (impl_generate_keyboard_event): Now implement
2457 "KEYSTRING" synthesis and implement "KEYSYM"
2459 (keycode_from_keysym): Improved, passes a returned
2460 modmask value now if the corresponding param is non-NULL.
2462 Fixes bugs #92143 and #109776.
2465 * test/keysynth-test.c:
2466 New test program for key synthesis, to confirm fixes for
2470 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2472 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2474 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2475 Add line for RELATION_POPUP_FOR
2477 * docs/reference/cspi/tmpl/spi_relation.sgml:
2478 Add relation SPI_RELATION_POPUP_FOR
2480 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2481 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2483 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2485 * libspi/relation.c (spi_init_relation_type_table):
2486 Add line for RELATION_POPUP_FOR
2488 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2490 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2491 there are still windows which have not been deleted and emit
2492 window:deactivate, if necessary and window:destroy events.
2493 This fixes bug #114370. The change on June 5th was not correct.
2495 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2497 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2500 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2502 New methods for client exception handling and interception.
2503 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2504 (SPI_exceptionHandlerPop): You guessed it...
2505 (SPI_getSourceType): Return the type of object which offended.
2506 (SPI_getExceptionCode): Return an enum code telling, possibly,
2507 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2508 (SPIAccessibleException_getSource): get the source object for
2509 exceptions that come from Accessibles, if SPIExceptionSourceType is
2510 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2511 (SPIException_getDescription): New, returns a string description of
2512 the problem. [Not yet a stable ABI, strings are not frozen]
2514 * cspi/spi-private.h:
2515 Added implementation details of opaque SPIException
2519 Implementations of above. Also
2520 (_cspi_exception_throw): new private method that
2521 dispatches exceptions to handlers, called from cspi-bonobo.c
2523 * cspi/bonobo/cspi-bonobo.c:
2524 (cspi_check_ev): call _cspi_exception_throw.
2525 Don't print a warning message if the exception has been
2526 handled by _cspi_exception_throw.
2528 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2530 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2531 there are still windows which have not been deleted and emit
2532 window:deactivate, if necessary and window:destroy events.
2533 This fixes bug #114370.
2535 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2538 (cspi_accessible_is_a): Make non-fatal
2539 if the object reference is dead.
2541 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2543 * cspi/spi_main.c: #include <stdio.h>
2544 * test/simple-at.c: ditto
2545 * test/event-listener-test.c: ditto
2546 * test/screen-review-test.c: ditto
2548 2003-05-30 Michael Meeks <michael@ximian.com>
2550 * test/test-simple.c (main): use CORBA_ORB_perform_work
2551 instead of an unnecessary linc_ call.
2553 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2555 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2556 Add SPI_STATE_INDETERMINATE.
2558 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2561 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2563 * libspi/stateset.c (init_state_type_tables): Add support for
2566 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2568 * configure: Update versions of atk and gail required.
2569 This fixes bug #113268.
2571 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2573 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2575 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2577 * libspi/Makefile.am:
2578 Ensure headers are generated before being used by c sources.
2580 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2583 Simplified lt versioning rules.
2584 Incremented version to 1.3.0, to indicate that we're on the
2585 unstable branch now.
2587 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2589 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2590 Add MKDB_OPTIONS=--outtput-format=xml
2592 * docs/reference/cspi/at-spi-cspi-docs.sgml
2593 docs/reference/idl/at-spi-idl-docs.sgml:
2594 Convert to Docbook XML.
2596 This fixes bug #111793.
2598 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2600 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2601 AcccessibleKeyEventType, AccessibleKeyMaskType.
2603 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2605 * cspi/state-types.h: Add documentation for AccessibleState.
2607 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2608 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2609 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2610 AccessibleComponentLayer.
2612 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2615 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2617 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2618 Accessible. Add description of AccessibleEvent,
2619 AccessibleEventListenerCB.
2621 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2624 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2625 documentation. Add description of AccessibleKeystrokeListenerCB,
2626 AccessibleKeyEventMask, AccessibleModifierMaskType,
2627 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2628 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2630 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2633 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2636 This fixes bug #104730.
2638 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2640 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2641 Set is_text field of Accessibility_DeviceEvent data structure.
2643 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2644 is-text field of AccessibleDeviceEvent data structure.
2646 This addresses part of bug #108666.
2648 * registryd/devcieeventcontroller.c: Unset debug option.
2650 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2652 * cspi/accessible.c:
2653 (cpi_initial_relation_type_table): New function which initializes
2654 mapping between Accessibility_RelationType and AccessibleRelationType.
2655 (cspi_relation_type_from_spi_relation_type): New function which
2656 translates an Accessibility_RelationType into an AccessibleRelationType.
2657 (AccessibleRelation_getRelationType): Use
2658 cpi_relation_type_get_spi_relation_type to return correct value.
2659 (spi_state_to_corba): Return correct type for default case.
2661 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2662 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2664 * cspi/cspi-bonobo-listener.c:
2665 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2668 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2669 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2670 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2671 libspi/image.c, libspi/listener.c, libspi/selection.c,
2672 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2673 registryd/desktop.c, registryd/registry.c:
2674 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2676 * libspi/eventlistener.c
2677 Remove semicolon after BONOBO_TYPE_FUNC.
2679 * libspi/relation.c:
2680 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2681 (spi_init_relation_type_table): Initialize using correct type.
2683 * registryd/desktop.c:
2684 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2685 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2686 of Accessibility_KeyEventType.
2688 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2691 * tests/simple-at.c, tests/screen-review-test.c:
2692 Add include for <strings.h>.
2694 * tests.stress-test.c:
2695 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2697 These changes fix compiler warnings when using FORTE compiler on
2698 Solaris; fixes bug #107479.
2701 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2704 * configure.in: revved to 1.1.10
2706 * libspi/keymasks.h:
2707 (SPI_KEYMASK_NUMLOCK): Added.
2709 * registryd/deviceeventcontroller.c:
2710 (spi_key_event_matches_listener): AND with a smaller
2711 bitmask (as we should).
2712 (spi_dec_translate_mask):
2713 New method, sets the virtual NumLock modifier bit
2714 if numlock is on. Eventually it can handle other virtual
2715 modifier bits if needed, or other marshalling from
2716 at-spi modifier masks to platform (X) masks.
2717 (spi_dec_key_listener_new):
2718 Call spi_dec_translate_mask to set up virtual mod bits
2719 in the 'mask' field when creating a new listener struct.
2720 (spi_dec_emit_modifier_event):
2721 Set the virtual (i.e. NumLock) bits before emitting event.
2722 (spi_controller_register_with_devices):
2723 Query for the NumLock modifier 'physical' bit if Xkb is
2724 present, for use in above methods.
2728 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2730 * registryd/deviceeventcontroller.c:
2731 (spi_keystroke_from_x_key_event):
2732 Instead of checking to see if the keysym is
2733 printable, check the string from XLookupString
2734 if available, get the first unicode character from it,
2735 and call g_unichar_isprint to determine whether the
2736 is_text flag should be TRUE or FALSE.
2740 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2742 * atk-bridge/bridge.c: Add support for extended events
2743 * cspi/spi_event.c: Add documentation and implementation for
2745 * tests/event-listener-test.c: Add tests for extended events.
2747 This fixes bugs #100424 and #100426.
2749 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2751 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2752 of LT_CURRENT. This fixes bug #89350.
2754 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2756 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2757 number of signal parameter values before accessing them. This fixes
2760 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2762 * configure.in: Fixed duplicate inclusion of -lspi.
2763 * branched for gnome-2-2/HEAD.
2764 [created tag "gnome-2-2"]
2766 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2768 * configure.in: 1.1.9 release.
2771 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2773 [needed by GOK, to fix bugs 107985 and 107988]
2774 * registryd/deviceeventcontroller.c:
2775 (spi_dec_clear_unlatch_pending):
2776 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2777 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2778 (spi_dec_init_mouse_listener):Emit warning if mouse button
2780 (spi_device_event_controller_forward_mouse_event):
2781 Removed unnecessary parens from a conditional.
2782 (global_filter_fn):Added TODO comment.
2783 (impl_generate_keyboard_event):
2784 Cancel a pending relatch if a 'delatching' key was
2787 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2789 * atk-bridge/bridge.c:
2790 Change atk_signal_child_changed to atk_signal_children_changed.
2791 Reorganize code in spi_atk_bridge_signal_listener().
2793 * test/event-listener-test.c:
2794 Add children_changed_listener and report_children_changed_event()
2795 to test AccessibleChildEvent_getChildAccessible.
2797 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2799 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2800 g_strdup to CORBA_String_dup (bug #105291)
2802 * test/event-listener-test.c (report_text_event): Add call to
2805 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2807 * registryd/deviceeventcontroller.c:
2808 (spi_keystroke_from_x_key_event):
2809 Fix string and keysym return codes to match modifier state.
2812 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2814 * registryd/deviceeventcontroller.c:
2815 (spi_keystroke_from_x_key_event):
2816 Fix segv due to improper use of isprint(c). [bug #107254]
2818 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2821 (get_accessible_text_boundary_type):
2822 Move default return value to (new) default case in switch.
2823 (get_accessible_text_clip_type):
2824 Move default return value to (new) default case in switch.
2826 * libspi/application.c:
2827 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2828 Remove unused methods.
2829 (impl_accessibility_application_register_object_event_listener):
2830 Remove unused methods.
2833 Added #include of <math.h>.
2835 * registryd/deviceeventcontroller.c:
2836 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2837 we don't currently use this method.
2838 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2840 (impl_generate_key_event):
2841 Remove unused variables.
2842 (impl_generate_mouse_event):
2843 Initialize button to zero, just in case we get an invalid
2844 input. Added support for mouse buttons 4 and 5.
2845 (spi_device_event_controller_new):
2846 Removed unused variable declaration for 'private'.
2848 Added #include of <gdk/gdk.h>
2850 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2852 * configure.in: Update to work when X is not installed in expected
2853 location. Fixes bug #105836.
2855 * atk-bridge/bridge.c
2856 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2858 (spi_atk_register_event_listener): Add signal listener for
2860 (spi_atk_bridge_signal_listener): Event event when link-selected
2861 signal is emitted. (bug #104622)
2863 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2864 on returned string. (bug #105291)
2866 * test/event-listener-test.c: Add test for link-selected.
2868 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2870 * atk-bridge/Makefile.am: Correct typo in previous commit.
2872 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2874 * atk-bridge/Makefile.am: Allow for build directory to be different
2875 from source directory
2877 * registryd/Makefile.am: Allow for build directory to be different
2878 from source directory
2882 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2885 Fixed dependencies for libcspi so that libspi gets pulled in
2886 properly. Fixes 104741.
2890 Clean up inline docs a little.
2892 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2894 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2895 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2896 the AtkObject within an SpiDesktop.
2897 This addresses bug #101524.
2899 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2900 Remove call to gdk_init().
2902 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2903 so that Display is set when SpiDesktop is created.
2905 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2907 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2908 This fixes bug #102830.
2910 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2912 * test/test-simple.c: Update to take account of fact that GailButton
2913 now implements AtkText.
2914 (create_text_window): Set name on AtkObject for GtkEntry.
2915 (validate_accessible): Check accessible name before calling test_text().
2917 * libspi/Makefile.am: Fix problem with building outside of source
2918 directory. Bug #98120.
2920 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2921 typo in documentation comments. Bug #94275.
2923 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2925 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2927 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2930 Add includes to avoid compiler warnings on Solaris.
2931 (impl_getRangeExtents): Bug fix.
2933 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2935 Fix for 100944, [API addition approved by Gman and murrayc].
2942 * idl/Accessibility_Text.idl:
2943 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2944 (Text::getRangeExtents): New method for efficient
2945 bounds query of a text range.
2946 (Text::getBoundedRanges): New method for efficient
2947 clipping of text to bounding boxes.
2948 (unImplemented7, unImplemented8):
2949 Removed these padding methods to preserve bincompat.
2952 (impl_getRangeExtents): implementation of new IDL.
2953 (impl_getBoundedRanges): implementation of new IDL.
2954 (SpiTextRect): Internal use struct.
2955 (_spi_text_rect_union): internal method, calculates union of two
2956 SpiTextRect bounding rects.
2957 (_spi_text_range_seq_from_gslist): internal method, allows us
2958 to build our sequence efficiently as a gslist then convert it
2960 (_spi_bounds_contain): internal method, determines whether
2961 a text character is "in" or "out" of a clip rect according to
2962 values of TEXT_CLIP_TYPE.
2963 (spi_text_class_init): Initialize the new methods in the epv.
2966 (AccessibleTextClipType): New enum used by screen review api.
2967 (AccessibleTextRange): New struct used by screen review api.
2968 (AccessibleText_getRangeExtents):
2969 cspi binding for Accessibility_Text_getRangeExtents.
2970 (AccessibleText_getBoundedRanges):
2971 cspi binding for Accessibility_Text_getBoundedRanges.
2972 (AccessibleTextRange_freeRanges): convenience method.
2975 (AccessibleText_getRangeExtents):
2976 cspi binding for Accessibility_Text_getRangeExtents.
2977 (AccessibleText_getBoundedRanges):
2978 cspi binding for Accessibility_Text_getBoundedRanges.
2979 (AccessibleTextRange_freeRanges): convenience method.
2980 (get_accessible_text_clip_type): internal conversion method.
2981 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2983 * registryd/deviceeventcontroller.c:
2984 (spi_dec_mouse_check):
2985 Improved behavior for mouse:abs events
2986 [same granularity as mouse:rel events, and no
2987 events when mouse is idle].
2989 2002-12-16 Michael Meeks <michael@ximian.com>
2991 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2993 * libspi/stateset.c (state_spi_to_atk): split out
2994 ( fix several remote array bounds nasties )
2995 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2996 (impl_remove): make safe from array bounds issues.
2997 (spi_atk_state_from_spi_state): impl.
2999 * libspi/stateset.h (spi_state_set_cache_is_empty):
3000 add a set of wrapper defines to get layering right.
3002 * cspi/spi_accessible.c: update state set stuff to
3005 2002-12-14 Michael Meeks <michael@ximian.com>
3007 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
3008 to avoid 2 roundtrips to the registry per key event
3009 (spi_atk_bridge_key_listener): upd.
3010 (deregister_application): release the dec.
3012 * registryd/registry.c (notify_listeners_cb):
3013 bin lots of re-enterant complexity - we no longer
3014 do a round-trip bonobo ref here, ensure that a single
3015 listener's exception failure won't poison all other
3017 (impl_registry_notify_event): bin obvious memory leak.
3019 2002-12-13 Michael Meeks <michael@ximian.com>
3021 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
3022 init the ev so the error is meaningful.
3023 (spi_atk_bridge_key_listener): ditto.
3025 * cspi/spi_main.c (cspi_ev): init the ev so we start
3026 with a clean slate, otherwise the first exception
3027 kills us completely.
3029 * cspi/spi_text.c (get_accessible_text_boundary_type):
3030 add a fallthrough for no warnings.
3032 * cspi/spi_registry.c: prune unused warnings.
3034 * cspi/spi_main.c (cspi_object_take): fix
3035 mind-blowing brokenness ( by watching the compile
3038 * cspi/spi_accessible.c (Accessible_getStateSet):
3039 re-impl. to use an AtkStateSet.
3040 (spi_state_type_from_accessible_state),
3041 (init_state_table): bin these.
3043 * libspi/stateset.c (spi_atk_state_set_from_sequence):
3045 (atk_state_set_from_accessibility_state_set): here.
3047 * cspi/spi_accessible.c (spi_state_to_atk): impl.
3048 (AccessibleStateSet_contains, AccessibleStateSet_ref),
3049 (AccessibleStateSet_unref, AccessibleStateSet_contains),
3050 (AccessibleStateSet_add, AccessibleStateSet_remove),
3051 (AccessibleStateSet_equals, AccessibleStateSet_compare),
3052 (AccessibleStateSet_isEmpty): re-write to use a local
3055 2002-12-13 Bill Haneman <bill.haneman@sun.com>
3057 * configure.in: Revved to 1.1.7 (new keymask vals).
3059 2002-12-10 Bill Haneman <bill.haneman@sun.com>
3061 * libspi/keymasks.h:
3062 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
3064 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
3067 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
3068 to compare two CORBA_TypeCodes.
3069 (cspi_internal_event_add): Silence warning from FORTE compiler.
3071 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
3072 avoid implicit declaration of functions.
3074 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3076 * atk-bridge/bridge.c:
3077 (spi_atk_bridge_init_event_type_consts): Store signal id for
3078 active-descendant-changed signal.
3079 (spi_atk_register_event_listeners): Add signal listener for
3080 active-descendant-changed signal,
3081 (spi_atk_bridge_signal_listener): Move code in function
3082 spi_atk-signal_emit_event() into this function.
3083 Add support for active-descendant-changed
3084 Update support for child-changed signal.
3085 (spi_bridge_window_event_listener): Silence warning.
3087 * libspi/spi_private.[ch]:
3088 (spi_init_any_object): Change second parameter from CORBA_Object to
3090 Omit call to CORBA_Object_duplicate().
3091 Set CORBA_any's _value to CORBA_Object*.
3093 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3099 (AccessibleEvent_ref, AccessibleEvent_unref):
3100 New methods, for persisting an event outside the emission context.
3101 Must be used if the new accessor methods are to be called
3102 outside of the event listener's callback.
3104 * cspi/bonobo/cspi-bonobo.c:
3105 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3106 as second parameter instead of NULL, so we can call
3107 cspi_check_ev afterwards.
3110 (cspi_object_take): New internal method,
3111 converts a CORBA_Object reference to a hard ref on
3112 an Accessible if possible, returning NULL if the object
3113 reference is invalid or an Accessible * otherwise.
3116 (AccessibleEvent_ref):
3117 Increment the event's internal private refcount, and
3118 add the event's internal struct to an internal cache
3119 if it's not already there.
3120 (AccessibleEvent_unref):
3121 Decrement the event's refcount and remove it from
3122 the cspi event cache if refcount==0.
3123 (cspi_event_compare): New private method.
3124 Compares two event structs via their ids. Used
3126 (cspi_internal_event_lookup): New private method.
3127 (cspi_internal_event_check): New private method,
3128 a 0-order sanity check for events to make sure their
3129 private data is intact.
3130 (cspi_internal_event_add, cspi_internal_event_remove):
3131 New private methods for managiing the event cache.
3133 * cspi/bonobo/cspi-bonobo-listener.c:
3135 Initialize the new private data elements (id, magic, ref_count).
3137 * atk-bridge/bridge.c:
3138 (spi_atk_bridge_signal_listener):
3139 Fixed bug #100530, passing wrong params to emission func.
3141 * registryd/deviceeventcontroller.c:
3142 (spi_dec_button_update_and_emit):
3143 Fixed type in mask bit operations; fix for #99799.
3145 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3147 Removed some of the more dangerous workarounds from
3148 previous commit; they are only needed by GOK, which
3149 in reality should be using another method to accomplish
3150 the goals. So on reconsideration some of the workarounds
3151 need to be reverted:
3153 * registryd/deviceeventcontroller.c:
3154 (spi_keycodes_contain, spi_dec_init_keycode_list):
3155 Removed these methods, used only by a nasty hack to try
3156 and detect whether a key synthesis should be allowed
3157 to reset the XKB latch state or not. This code was only
3158 required to work around an interaction between GOK,
3159 button events, and XKB.
3160 (impl_generate_key_event):
3161 Removed hack at end of key generation that tried to
3162 "do the right thing" if XKB latch keys were generated
3163 in the midst of button press/release pairs.
3166 Added a check for HAVE_XINPUT. Not normally used yet.
3168 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3170 Workarounds and fixes for mouse event/XKB interaction.
3172 * registryd/deviceeventcontroller.c:
3173 (spi_keycodes_contain, spi_dec_init_keycode_list):
3174 New internal methods.
3175 (spi_dec_set_unlatch_pending):
3176 Split the method that tells XKB to expect an
3177 unlatch (and revert it) out of the rest of the
3178 event handling code. This method is called by the
3179 two mouse event handlers (the poll and the filter).
3180 (spi_dec_update_and_emit, spi_dec_mouse_check):
3181 New methods split from spi_dec_poll_mouse_moved.
3182 The second one is now called from inside the filterFn
3183 when an XKB delatch event is received, to determine
3184 whether to revert the delatch or not.
3185 (spi_poll_mouse_moved): Refactor; also we can now
3186 properly handle the case where multiple button states
3187 have changed between polling cycles and we didn't get
3188 notified due to another client's grab.
3190 Synchronize the server while handling an XKB notification.
3191 Ugly, but apparently necessary to avoid nasty races.
3192 Check the mouse state on receipt of an XKB latch change,
3193 to decide whether to revert the latch or not. (Latches are
3194 reverted if there is an immediately preceding mouse button
3195 event that a client has consumed, in which case we don't want
3196 the user to see the side-effect of the event).
3197 (spi_device_event_controller_forward_mouse_event):
3198 Check for modifier events and fire before resetting mouse_mask_state,
3199 prevents losing modifier events.
3201 (impl_generate_keyboard_event):
3202 If we've just generated a keyboard event for a non-shift key,
3203 we don't want to revert the pending XKB latch.
3204 Otherwise, check the modifier state (via a call to
3205 spi_dev_mouse_check) and set the relatch mask to
3206 that state before returning.
3208 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3211 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3214 * atk-bridge/bridge.c:
3215 (spi_atk_register_event_listeners):
3216 Don't re-register for ATK events if the registry has died
3217 and the app needs to re-register; the ATK listeners are in
3218 process and doing so will cause duplicate emission.
3220 * registryd/deviceeventcontroller.c:
3221 (spi_poll_mouse_moved):
3222 Reformat the source, detect and emit multiple button-change
3223 events (i.e. if multiple buttons have changed between poll
3225 Add code to detect mouse-down events even when the pointer
3226 is grabbed; workaround for GOK bug 98420.
3227 (spi_controller_register_with_devices):
3228 Call XTestGrabControl with 'impervious' flag set to True,
3229 allows us to synthesize events and query the pointer even during
3230 an active grab by another client.
3231 (spi_device_event_controller_forward_mouse_event):
3232 Set the mouse_mask_state to the mouse_button_state from
3233 the intercepted event, to synchronize the grab listener with
3236 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3238 * cspi/spi_accessible.c:
3239 (AccessibleRole_getName):
3240 Added necessary strings for making this (deprecated)
3241 method work with the new role types.
3242 (init_role_table, role_table):
3243 Added definition of SPI_ROLE_APPLICATION.
3245 * libspi/spi-roletypes.h:
3246 Added SPI_ROLE_APPLICATION.
3248 * idl/Accessibility_Role.idl:
3249 Added ROLE_APPLICATION.
3251 * docs/reference/cspi/at-spi-cspi-decl.txt:
3252 Added SPI_ROLE_APPLICATION to docs.
3254 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3256 * cspi/spi_accessible.c
3257 (cspi_init_role_table): Do not write beyond end of role_table.
3258 (Accessible_getRole): Use correct type for value returned by
3259 Accessibility_Accessible_getRole().
3261 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3262 beyond end of role_table. (This fixes bug #98269)
3264 * libspi/application.c: Add include file spi-private.h for
3265 definition of spi_init_any_nil.
3267 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3271 * libspi/spi-private.h:
3272 Added DGB() macro, and extern int _dbg declaration.
3274 * registryd/registry.c:
3275 (definitions) storage for _dbg.
3276 (spi_registry_init):
3277 Get environment variable "AT_SPI_DEBUG".
3278 (spi_registry_set_debug):
3279 New method, to initialize _dbg value.
3280 (spi_listener_struct_new, spi_registry_object_finalize):
3281 (notify_listeners_cb):
3282 Changed fprintfs to use DBG and g_warning().
3284 * registryd/deviceeventcontroller.c:
3285 (_deregister_keygrab, spi_controller_register_device_listener):
3286 Changed debug/warning messages to use DBG macro.
3288 * libspi/listener.c:
3289 (impl_notify_event):
3290 Changed warning messages to use DBG macro and g_warning().
3292 * atk-bridge/bridge.c:
3293 (atk_bridge_init, spi_atk_bridge_get_registry):
3294 (spi_atk_bridge_exit_func):
3295 (spi_atk_bridge_property_event_listener):
3296 Changed status, warning, and error messages to use
3297 g_warning, g_message, and DBG macros.
3300 Read the state of the AT_SPI_DEBUG environment variable
3301 and set a local '_dbg' accordingly.
3303 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3305 FIXES for 98836, 98842, other bugs.
3308 Revved to 1.1.4, interface-age=4, binary-age=4.
3310 * registryd/deviceeventcontroller.c:
3312 Fixed crasher bug in last_mouse_pos initialization.
3314 * registryd/registry.c:
3315 (desktop_add_application, desktop_remove_application):
3316 Added (and then commented out) some support for
3317 object context marshalling. [TODO]
3319 * atk-bridge/bridge.c:
3320 (spi_atk_bridge_event_context_create):
3321 Commented out object context creation until it can
3322 be properly tested and debugged.
3324 * registryd/registry.c:
3325 (impl_registry_notify_event):
3326 Fixed crasher bug, we were calling
3327 spi_re_entrant_list_foreach () with an empty list.
3329 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3331 * idl/Accessibility_Action.idl:
3332 * idl/Accessibility_Component.idl:
3333 * idl/Accessibility_Desktop.idl:
3334 * idl/Accessibility_Event.idl:
3335 * idl/Accessibility_Hyperlink.idl:
3336 * idl/Accessibility_Image.idl:
3337 * idl/Accessibility_Relation.idl:
3338 * idl/Accessibility_Selection.idl:
3339 * idl/Accessibility_State.idl:
3340 * idl/Accessibility_Value.idl:
3341 Updated unimplemented slot count to minimum of
3342 four for all interfaces, for ABI freeze.
3344 * idl/Accessibility_EditableText.idl:
3345 * idl/Accessibility_Text.idl:
3346 Updated unimplemented slot count to six
3349 * idl/Accessibility_Registry.idl:
3350 Updated unimplemented slot count to six
3351 (also for DeviceEventController),
3354 * idl/Accessibility_Table.idl:
3355 Updated unimplemented slot count to eight,
3358 * idl/Accessibility_Event.idl:
3359 Added CORBA_any "any_data" member to Event struct.
3361 * idl/Accessibility_Event.idl:
3362 Added CORBA_any "any_data" member to Event struct.
3364 * atk-bridge/bridge.c:
3366 atk_signal_text_changed, atk_signal_child_changed,
3367 signal ids queried from gtype system.
3368 (AtkBridgeEventContextType): New enum.
3369 (AtkBridgeEventContextData): New struct.
3370 (AtkBridgeEventContext): New struct.
3371 (atk_bridge_init_event_type_consts):
3372 New method, initializes type contants for comparison
3373 prior to emit_eventv.
3374 (atk_bridge_event_context_init): New method,
3375 initializes a CORBA_any from an AtkBridgeEventContext.
3376 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3377 initialize the event.any_data struct.
3378 (spi_atk_bridge_event_context_create): New method,
3379 creates an AtkBridgeEventContext from signal/event info.
3380 (spi_atk_bridge_event_context_free): New method.
3381 (spi_atk_emit_eventv): Changed to take an
3382 AtkBridgeEventContext parameter. We now initialize
3383 the event.any_data member prior to notifying the
3384 Registry, via the AtkBridgeEventContext.
3385 (spi_atk_bridge_property_event_listener):
3386 (spi_atk_bridge_state_event_listener):
3387 Match emit_eventv signature.
3388 (spi_atk_bridge_object_event_listener):
3389 Match emit_eventv signature, and create an
3390 event context from the event details.
3391 Free the event context afterwards.
3392 (spi_atk_bridge_window_event_listener):
3393 Create an event context, pass it to the
3397 (AccessibleEvent_getContextString):
3398 (AccessibleEvent_getContextObject):
3399 New methods, allow query of AccessibleEvent objects
3400 for more context details (via the "any_data" member
3401 of the Event struct, above).
3404 Definitions for AccessibleEvent_getContextString
3405 and AccessibleEvent_getContextObject.
3407 * cspi/spi_listener.h:
3408 (InternalEvent): New struct.
3411 (AccessibleEvent_getContextString):
3412 (AccessibleEvent_getContextObject):
3413 Implementations of new methods, for obtaining
3414 additional context information from some event types.
3416 * cspi/spi_registry.c:
3417 (SPI_registerGlobalEventListener):
3418 Added mention of active-descendant-changed event in docs.
3420 * cspi/cspi-bonobo-listener.c:
3422 Marshal the any into the AccessibleEvent via
3425 * libspi/spi-private.h:
3426 #include <orbit/orbit.h>
3428 (spi_init_any_string):
3429 (spi_init_any_object):
3430 New convenience function declarations.
3434 (spi_init_any_string):
3435 (spi_init_any_object):
3436 New convenience function implementations.
3438 * registryd/deviceeventcontroller.c:
3439 (spi_poll_dec_mouse_moved):
3440 (spi_device_event_controller_forward_mous_event):
3441 Initialize any_data member of event.
3442 (spi_deregister_controller_device_listener):
3443 Fix incorrect param pass which was preventing deregistration.
3445 * registryd/registry.c:
3446 (desktop_add_application):
3447 (desktop_remove_application):
3448 Add object data to event's any_data before dispatch.
3450 Fix for error messages from GAIL.
3452 * test/event-listener-test.c:
3453 Test new ContextString and "any_data" API:
3454 (report_text_event): New method query and output context string.
3455 (main): register a new text listener with report_text_event
3458 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3460 Fixes for bugs 98127 and 97914.
3461 * cspi/spi-roletypes.h:
3462 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3464 * cspi/spi-statetypes.h:
3465 Added SPI_STATE_MANAGES_DESCENDANTS
3467 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3468 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3469 * cspi/spi_accessible.c:
3470 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3471 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3472 Accessibility_STATE_MANAGES_DESCENDANTS
3473 * libspi/accessible.c:
3474 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3475 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3476 As requested by Bill, I also cleaned up the alignment.
3477 * libspi/relation.c:
3478 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3479 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3480 * libspi/stateset.c:
3481 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3482 Accessibility_STATE_MANAGES_DESCENDANTS
3483 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3484 Document changes reflecting modifications to roles.
3485 * docs/reference/cspi/tmpl/spi_relation.sgml:
3486 Document changes reflecting modifications to relations.
3487 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3488 Document changes reflecting modifications to states.
3490 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3493 Revved to 1.1.3, interface-age=3, binary-age=3.
3494 Added REBUILD macro.
3497 Removed accessx-gui from the tests, since we have a nice
3498 keyboard accessibility capplet now :-)
3500 * test/keysynth-demo.c:
3501 (increment_scan): removed do-nothing default: case,
3504 * test/visual-bell.c:
3505 (main) : removed do-nothing default: case,
3508 * cspi/spi_action.c:
3509 (AccessibleAction_getKeyBinding_):
3510 Documented keybinding string format.
3514 (AccessibleText_getAttributes):
3515 Documented the text attribute string format.
3516 It's changed to use semicolon delimiters also,
3517 to prevent clashes with CSS attributes, but the old
3518 trick of looking for ", " strings will still work
3519 (as unreliably as ever). Fix for bug related to 97916.
3522 Include <cspi/bonobo/cspi-bonobo-listener.h>
3523 Fixes build warning.
3524 (SPI_freeAccessibleKeySet):
3525 (AccessibleKeystrokeListener_addCallback):
3526 (AccessibleKeystrokeListener_removeCallback):
3527 Modify to use AccessibleDeviceListener API internally,
3528 instead of AccessibleKeystrokeListener.
3530 * idl/Accessibility_Event.idl:
3531 Added two more empty slots to EventListener (for a total of four).
3533 * idl/Accessibility_Accessible.idl:
3534 Added four empty slots to Accessible interface.
3536 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3538 * idl/Accessibility_Registry.idl:
3539 (KeyEventType, EventType):
3540 Marked KeyEventType as deprecated; it duplicates
3541 functionality of EventType, which has been extended to
3542 include Mouse-button events.
3543 (KeyEventTypeSeq): defined in terms of EventType.
3544 (registerDeviceEventListener, deregisterDeviceEventListener):
3545 New methods, for managing listeners to device events,
3546 which potentially may consume them.
3549 Added definition for AccessibleDeviceListener.
3551 * cspi/spi-listener.h:
3552 (enum AccessibleDeviceEventType):
3553 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3554 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3555 for backwards compat.
3556 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3557 and typedef'd AccessibleKeystroke to it for back-compat.
3558 (AccessibleDeviceListenerCB):
3559 New function prototype typedef.
3562 (AccessibleDeviceEventMask): New typedef.
3563 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3564 (AccessibleKeyMaskType):
3565 Set equivalent to AccessibleModifierMaskType for back-compat.
3566 (SPI_createAccessibleKeystrokeListener):
3567 (AccessibleKeystrokeListener_unref):
3568 Deprecated in favor of equivalent (better-named) new API below..
3569 keystroke listeners are like all device listeners.
3570 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3571 New API names for old features :-).
3572 (AccessibleDeviceListener_addCallback):
3573 (AccessibleDeviceListener_removeCallback):
3574 (SPI_registerDeviceEventListener):
3575 (SPI_deregisterDeviceEventListener):
3579 (SPI_createAccessibleKeystrokeListener):
3580 Use new preferred API, cspi_device_listener_new() and
3581 cspi_device_listener_add_cb().
3582 (AccessibleKeystrokeListener_removeCallback):
3583 Use new preferred API, cspi_device_listener_remove_cb().
3584 (AccessibleKeystrokeListener_unref):
3585 Use new preferred API, cspi_device_listener_unref().
3586 (SPI_createAccessibleDeviceListener):
3587 (AccessibleDeviceListener_addCallback):
3588 (AccessibleDeviceListener_removeCallback):
3589 Implementation of new API.
3591 * cspi/spi_registry.c:
3592 (SPI_registerDeviceEventListener):
3593 (SPI_deregisterDeviceEventListener):
3594 Implementation of new API. Fixed memory leak and removed need to
3595 allocate EventTypeSeq (thanks Michael for catching this).
3596 Squashed a wayward CORBA_exception_free that shouldn't get called.
3598 * cspi/bonobo/cspi-bonobo-listener.c:
3600 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3601 (cspi_key_event): renamed to cspi_device_event().
3602 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3603 Extended to handle mouse button events as well as key events.
3604 (CSpiKeystrokeListener):
3605 Class superceded by CSpiDeviceListener.
3606 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3607 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3609 * cspi/bonobo/cspi-bonobo-listener.h:
3610 (CSpiKeystrokeListener):
3611 Class superceded by CSpiDeviceListener.
3612 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3613 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3615 * libspi/Makefile.am:
3616 Replaced keystrokelistener.h and keystrokelistener.c
3617 with devicelistener.h and devicelistener.c; keystrokelisener.h
3618 stub retained for back-compat.
3620 * libspi/keystrokelistener.c:
3624 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3626 * registryd/deviceeventcontroller.c:
3627 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3628 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3629 (DEControllerPrivateData): Added xkb settings data.
3630 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3631 button release events (which can't be captured via XGrabButton).
3632 Don't dispatch via the 'normal' event mechanism if the device event was
3634 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3635 Handle the typeseq data in its new location (see above).
3636 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3637 New methods, for "generic" device listeners.
3638 (spi_controller_register_device_listener):
3639 Now handle mouse event listeners as well as key listeners.
3640 (spi_controller_notify_mouselisteners):
3641 New internal method.
3642 (spi_device_event_controller_forward_mouse_event):
3643 Now we notify mouse device listeners as well as generating the
3644 non-consumable "mouse:" events.
3646 We must check and restore the XKB
3647 modifier map if we consume the event, since the act of triggering
3648 a mouse event will normally reset the XKB latch. This is required for
3650 (spi_controller_register_with_devices):
3651 Load the XKB settings when registering, and register for XKB
3652 state notify events.
3653 (spi_key_eventtype_seq_contains_event):
3654 Renamed spi_eventtype_seq_contains_event, since it's used
3655 internally for all device event types now.
3656 (spi_key_event_matches_listener):
3657 Uses spi_eventtype_seq_contains_event now.
3658 (spi_device_event_controller_object_finalize):
3659 Free the private data and the XkbKeyboard struct.
3660 (impl_register_device_listener, impl_deregister_device_listener):
3661 Implementation of new IDL.
3662 (spi_deregister_controller_device_listener):
3663 New internal method.
3664 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3665 More efficient implementation, we don't have to create a new
3666 XkbControls structure every time we query.
3667 (spi_device_event_controller_class_init):
3668 Initialize the epv entries for the new IDL. Assign the
3669 "spi-dec-private" quark.
3670 (spi_device_event_controller_init):
3671 Initialize the private data.
3672 (spi_device_event_controller_forward_key_event):
3673 Removed a bogus CORBA_exception_free() call.
3675 * registryd/deviceeventcontroller.h:
3676 Replaced inclusion of keystrokelistener.h with
3679 * test/event-listener-test.c:
3680 (report_mouse_event):
3683 Added mouse-event device listener.
3685 * test/test-simple.c:
3686 (create_test_window):
3687 Fixed regression (we were instantiating a GtkRange,
3688 which is now an abstract class). Also fixed to match
3689 existing AtkRole names, this seems to have changed in ATK
3690 awhile ago; too late now I think, and the new
3691 mechanism is at least elegant and consistent with the
3692 glib enum "nick" APIs.
3694 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3696 * idl/Accessibility_Relation.idl:
3697 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3698 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3699 * idl/Accessibility_Role.idl:
3700 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3701 * idl/Accessibility_State.idl:
3702 add STATE_MANAGES_DESCENDANTS
3703 * test/event-listener-test.c:
3704 Added a listener for active-descendant events.
3706 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3708 * atk-bridge/bridge.c
3709 (atk_bridge_init): If application is Bonobo component wait until top
3710 level is added before registering
3711 (spi_atk_bridge_do_registration): New function which contains code,
3712 formerly in atk_bridge_init, to do application registration.
3713 (spi_atk_bridge_toplevel_added): Signal called when top level
3714 added to Bonobo component
3716 This fixes bug #83134.
3718 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3720 * registryd/deviceeventcontroller.c
3721 Fixed compilation error caused by calling gettimeofday()
3724 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3729 Added template for HAVE_XKB.
3732 Changes to check for XKB, and to set the HAVE_XKB #define if it
3735 * libspi/listener.c:
3736 ()impl_notify_event): Make failure to get event source name
3739 * registryd/deviceeventcontroller.c:
3740 (#include): include X11/XKBlib.h.
3741 (DEControllerPrivateData) : New struct.
3742 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3744 (dec_synth_keycode_press) (dec_synth_keycode_release):
3745 New methods; split the key synthesis code into these methods.
3746 They check XKB settings before determining the "time" values to
3747 pass to Xtest; this fixes bug #95828.
3748 (impl_generate_keyboard_event): Changed to use methods above,
3749 instead of callng Xtest directly.
3750 (spi_device_event_controller_init): Initialize new privae struct s
3752 (spi_device_event_controllr_object_finalize):
3753 Free the (new) private data.
3755 * registryd/deviceeventcontroller.h:
3756 Add new gpointer to end of struct data.
3758 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3761 Incremented revision to 1.1.2, SONAME is still '.so', library
3762 extensions are ".so.0.0.2".
3764 * registryd/deviceeventcontroller.c:
3765 FIXES FOR #93592 and #95940.
3766 (statics): renamed mouse_button_state to mouse_mask_state,
3767 added key_modifier_mask.
3768 (spi_dec_poll_mouse_moved):
3769 Added key modifier checks, and emit "keyboard:modifiers"
3770 events when the key modifiers currently in use change.
3771 Also generate "mouse:abs" events periodically, even if the mouse
3772 is stationary (should we?).
3773 Alternatively we could generate "mouse:abs" events for either all
3774 mouse movements, or every 'nth' mouse movement, or at the
3775 beginning and end of every "active" mouse period.
3777 * test/event-listener-test.c:
3778 (main): Added listener for "keyboard:modifiers" events.
3780 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3782 * libspi/keymasks.h:
3783 Added key mask #defines for mouse buttons; e.g.
3784 SPI_KEYMASK_BUTTON1, etc.
3787 Incremented dependency on ATK to version 1.1.0. (This dependency
3788 is probably premature but will soon be real enough).
3790 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3792 * libspi/hyperlink.[ch]
3793 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3794 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3797 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3802 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3804 * registryd/deviceeventcontroller.c
3805 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3806 events to be ignored.
3807 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3808 keyboard_mode so that XAllowEvents() can be called.
3812 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3814 * cspi/spi-accessible.c: Correct names of roles returned by
3815 AccessibleRole_getName(). Fixes bug #95055.
3817 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3819 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3822 * registryd/registry.c
3823 (desktop_remove_application: Write diagnostic message to stderr for
3826 (impl_accessibility_registry_deregister_global_event_listener):
3827 Correct size of lists array. This addresses bug #94555).
3829 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3831 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3834 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3836 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3839 * registryd/registry.c (impl_registry_notify_event): Remove
3840 unnecessary call to parser_event_type().
3842 * docs/reference/cspi/tmpl/spi_component.sgml:
3843 Add reference to SPI_LAYER_WINDOW.
3845 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3847 * registryd/registry.c
3848 (desktop_add_application): Remove leak.
3849 (desktop_remove_application): Remove leak.
3850 (parser_event_type): Remove leak.
3852 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3854 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3855 bogus call to CORBA_string_dup(). Also removed unnecessary
3856 g_string_dup/g_free calls.
3858 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3860 * registryd/deviceeventcontroller.c:
3861 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3863 * test/event-listener-test.c:
3864 main: commented out three redundant listeners, to reduce output
3865 noise. (They still are potentially useful for testing).
3868 2002-09-13 Michael Meeks <michael@ximian.com>
3870 * Update all the copyrights to include Ximian.
3872 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3874 * cspi/spi.h: add SPI_LAYER_WINDOW.
3876 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3877 add Accessibility_LAYER_WINDOW case.
3879 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3881 * libspi/component.c: (impl_accessibility_component_get_layer):
3882 add ATK_LAYER_WINDOW case.
3884 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3886 * configure.in: incremented micro version.
3888 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3890 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3893 Clarified and reworded our commit policy.
3896 Started an API "todo" addition list for 2.2.
3899 (impl_getSelection):
3900 Free char pointer from atk_text_get_selection, which was being leaked.
3902 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3905 Small revision to author acknowledgement.
3907 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3909 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3910 If signal has detail add it to the type of the event.
3913 2002-08-12 Michael Meeks <michael@ximian.com>
3915 * test/test-simple.c (global_listener_cb): bin bogosity.
3916 (test_keylisteners): disable, still doesn't work reliably,
3917 certainly not on my system anyway.
3919 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3920 don't leak a reference on the DEC. This round-trip
3921 fetching of the DEC per keystroke sucks, it should be
3924 * cspi/spi-private.h,
3925 * cspi/cspi-lowlevel.h,
3926 * cspi/bonobo/cspi-bonobo-listener.[ch],
3927 * cspi/bonobo/cspi-bonobo.c: get the copyright
3928 notices better - there is still a large amount of
3929 work in at-spi falsely attributed solely to Sun.
3931 * cspi/spi_main.c (cspi_object_ref): kill bogus
3932 hash lookup, just increment the ref.
3933 (SPI_freeString): make explicit the fact that we
3934 handle NULL strings just fine.
3935 (report_leaked_ref): obey coding standards.
3936 (cspi_object_hash, cspi_object_equal): kill retval.
3937 (cspi_object_release): only release if not on loan.
3938 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3939 (cspi_object_borrow, cspi_object_return): impl.
3941 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3942 use cspi_object_borrow / return.
3944 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3946 * cspi/bonobo/cspi-bonobo-listener.c:
3948 Don't call cspi_oject_new() because this is creating a new Accessible
3949 every single time that an event is fired. This causes ATs like at-poke
3950 to nolonger recognise the source of the event and thus ignore it.
3951 Re-use the object from the cache, ref it and then unref it after the
3952 listeners have been called.
3954 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3956 * test/event-listener-test.c:
3957 Added command-line options to disable mouse events (m) and
3960 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3962 * configure.in: Update required versions of ATK, GTK+ and GAIL
3964 * cspi-1.0.pc.in: Add dependency for X include files
3967 * cspi/bonobo/Makefile.am:
3968 Add $(X_CFLAGS) so that X include files
3969 are picked up even if not in standard place (bug #71686)
3971 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3973 * registryd/deviceeventcontroller.c: fix for 84261
3974 (spi_dec_mouse_moved):
3975 Added test of mouse button mask, so that we can detect mouse
3976 button release. Unfortunately we can't otherwise detect mouse
3977 button release events without consuming the mouse press event,
3978 because of the way XGrabButton works. This means that our mouse
3979 release events have a latency dependent on the polling period
3980 while the mouse button is down. At least in this case we only
3981 have to poll while the button is down, and not at other times.
3982 If the button masks don't match with what the last press event
3983 reported, we report the appropriate button release event.
3984 (spi_dec_ungrab_mouse):
3985 New method (not yet called).
3986 (spi_device_event_controller_forward_mouse_event):
3987 New method, sends mouse press event from GdkFilter.
3988 (spi_dec_init_mouse_listener):
3989 Added code to call XGrabButton, redirecting mouse button events to
3990 the root window and our Gdk event loop.
3992 Added code to filter mouse button events, and reordered.
3994 * test/event-listener-test.c:
3996 Added registration for mouse events of type "mouse:button".
3998 2002-06-25 Bill Haneman <bill.haneman@sun.com>
4000 * registryd/deviceeventcontroller.c: partial fix for 84261
4001 (spi_dec_poll_mouse_idle):
4002 New method, a timeout which checks to see if the mouse
4004 (spi_dec_poll_mouse_moving):
4005 A timeout to be called when mouse motion is underway.
4006 (spi_dec_poll_mouse_moved):
4007 A method which fires an event if the mouse has moved, and reports
4008 whether or not it did so.
4009 (spi_dec_init_mouse_listener):
4010 A method which sets up the timeouts above.
4011 (spi_device_event_controller_new):
4012 Now calls spi_dec_init_mouse_listener.
4014 * registryd/registry.c:
4015 (spi_registry_init):
4016 Now we initialize the device event controller when the registry is
4017 initialized, instead of waiting until a client has requested a key
4018 event notification; this is because we need the event controller
4019 for mouse events, but the mouse event registration API is a
4020 "registry" call and doesn't explicitly call the
4021 deviceeventcontroller.
4022 We now report mouse motion events with a 100 ms idle latency and
4023 a 20 ms granularity when motion is in progress.
4025 * test/event-listener-test.c:
4027 We now register the "detail listener" for events of type
4028 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
4029 delivered only for the first mouse event received, and thereafter
4030 "mouse:abs" events are delivered.)
4032 * cspi/spi_registry.c:
4033 DOCS: Documented the above mouse event typestrings.
4035 2002-06-21 Bill Haneman <bill.haneman@sun.com>
4037 Happy Summer Solstice...
4039 * registryd/deviceeventcontroller.c: [fix for bug 84100]
4040 (spi_controller_notify_keylisteners):
4041 Changes to remove a listener from the listener list, freeing its
4042 open keygrabs, if a notification to that listener fails. This
4043 means that although a dead listener can continue to hold a passive
4044 keygrab, a maximum of one dispatch to such a listener can fail
4045 before the listener is removed from the list, thus the keygrab
4046 will be released on the next occurrence.
4047 As part of this fix:
4048 (spi_notify_keylisteners):
4049 Renamed to spi_controller_notify_keylisteners, as the controller
4050 instance must now be passed as an argument.
4051 The copied 'notify' GList is now a list of DEControllerKeyListener
4052 objects, since we need more than just the CORBA reference if a
4053 notify fails and we need to deregister the listener.
4054 (impl_notify_listeners_sync):
4055 (impl_notify_listeners_async):
4056 (spi_device_event_controller_forward_key_event):
4057 Modify use of notify_keylisteners in accordance with above
4059 (spi_deregister_controller_key_listener):
4060 New method introduced by refactoring, from
4061 impl_deregister_keystroke_listener.
4062 (impl_deregister_keystroke_listener):
4063 Call spi_deregister_controller_key_listener.
4064 (spi_key_listener_clone):
4065 New method to copy a key listner without doing a 'ref' on the
4066 remote object instance; used to create a notifier list.
4067 (spi_key_listener_data_free):
4068 New method, frees data without unreffing the source.
4070 (spi_key_listener_clone_free): new method.
4071 (spi_key_listener_free):
4072 refactored to call spi_key_listener_data_free.
4074 2002-06-20 Bill Haneman <bill.haneman@sun.com>
4076 * registryd/registry.c: [fix for bug 86048]
4077 (notify_listeners_cb):
4078 Clear CORBA system exceptions which occur when notifying
4079 listeners, before returning to the source of the original event,
4080 since the event source doesn't care if the relayed notify failed.
4081 In other words, don't complain to the atk-bridge if the registry
4082 could not notify all its listeners, that's no fault of the
4083 application and thus should not appear to be an error from the
4084 application's perspective.
4086 * cspi/spi_main.c: [fix for bug 85980]
4088 Replaced use of bonobo_object_dup_ref with call to the wrapper
4089 method, csou_dup_ref (); this silences a compiler warning and
4090 provided more portability.
4092 Ping the registry before return, and restart if necessary.
4094 * cspi/bonobo/cspi-bonobo.c:
4096 New internal method.
4098 Fixed this method to return an object reference, as it should have
4101 * cspi/cspi-lowlevel.h:
4102 Added internal definition for cspi_ping() and fixed
4103 return type of cspi_dup_ref().
4106 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4108 * atk-bridge/bridge.c: [fix for bug 85305]
4109 (spi_atk_bridge_register_application):
4110 New method where the initial application registry calls have been
4111 moved; it allows an application to re-register in response to
4112 certain error conditions (such as a registry restart, see below).
4114 Moved some initialization code to the method
4115 spi_atk_bridge_get_registry, below.
4116 (spi_atk_bridge_get_registry):
4117 New, private accessor function for the Accessibility_Registry
4118 instance. If the registry has not been started before, or has
4119 died (as detected by failure of a CORBA exception), it is
4120 restarted before return, and spi_atk_bridge_register_application
4121 is called again to register with the new bridge instance.
4122 (spi_atk_emit_eventv):
4123 Set registry_died on error; use spi_atk_bridge_get_registry () to
4124 access the registry.
4126 * registryd/registry.c:
4127 (impl_accessibility_registry_register_global_event_listener):
4128 Set listener's event_type_quark to etype.minor instead of
4129 etype.major (fix for bug 84856).
4131 * test/event-listener-test.c:
4132 (report_detail_event):
4133 Change the output string so that user/tester can tell that the
4134 'detail listener' was called instead of the 'generic listener'.
4136 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4138 Fixes for bugs 84900, 84908, 84897, 84898.
4143 Revved version to 1.1.0
4144 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4145 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4147 * idl/Accessibility_Registry.idl:
4148 (EventListener::notifyEvent):
4149 Removed 'oneway' directive after extensive consulation with
4150 ORBit2 team and others. This means also that unref() of the event
4151 source can and should be done synchronously after emission, rather
4152 than remotely in the client, after servicing the notify call on
4155 NOTE: This change speeds up listener performance considerably, but
4156 introduces new latency on the application side. We may want to
4157 add an event queue to the atk-bridge.
4159 * atk-bridge/bridge.c:
4160 (spi_atk_bridge_focus_tracker):
4161 Do a local unref() on the event source after emission.
4163 * registryd/registry.c:
4164 (desktop_remove_application):
4165 Do an unref() on the event source after emission.
4166 (desktop_add_application):
4167 Do an unref() on the event source after emission.
4168 (notify_listeners_cb):
4169 When relaying an event, don't automatically add the event source
4170 to the local object cache, just CORBA_dup it instead. Likewise,
4171 if this method reenters, release the ref rather than calling
4173 (impl_registry_notify_event):
4174 No longer call remote unref() on the event source after dispatch.
4176 * libspi/eventlistener.c:
4177 (impl_accessible_event_notify_event):
4178 Removed remote unref ()
4180 * cspi/bonobo/cspi-bonobo-listener.c:
4182 We now call cspi_object_new() instead of cspi_object_add() on
4183 receipt of an event; thus we only have an implicit object ref
4184 while the cspi_event method is being executed. If we need to keep
4185 a reference to the object, the listener must call ref() on the
4186 object. Thus also we don't need to call cspi_object_unref() after
4187 invoking the listener callbacks in this method.
4191 New internal API for creating a new cspi object, without adding it
4192 to the object cache.
4194 Now uses cspi_object_new() to create the cspi object instance.
4196 Now checks to see if the object is in the internal object cache,
4197 and adds it if necessary before incrementing its refcount (note
4198 that new objects are added with a refcount of 1).
4199 (report_leaked_ref):
4200 New method which gives some information on leaked object instances
4201 if leak detection is turned on.
4203 * test/event-listener-test.c:
4204 (timing_test_event):
4205 New method, used for testing event delivery timing for special
4206 events of type "object:test". It reports elapsed time and
4207 events/sec every 500 events.
4209 Added a new listener, 'test listener', to check timing of event
4210 receipt as noted above.
4212 Added some timing output here also, reports elapsed time every 100
4215 * test/stress-test.c:
4216 Emit events of type "object:test", for use with "event-listener-test".
4218 * test/test-simple.c:
4219 (global_listener_cb):
4220 Call Accessible_ref() on the event source before calling
4221 validate_accessible, since the validation process does pointer
4222 comparisons on the event source, meaning that the event source
4223 needs to be added to the local object cache first. Any use of
4224 such pointer comparisons between Accessible objects requires that
4225 the caller hold an explicit reference to those objects.
4226 We also must therefore call Accessible_unref() when leaving this method.
4228 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4230 * registryd/deviceeventcontroller.c:
4231 (spi_controller_update_key_grabs):
4232 Fix for #84735, subsequent keygrab listeners not informed of
4233 registration failure.
4236 (spi_base_construct):
4237 Add an assertion on construct, to make sure the GObject passed in
4238 is really a GObject.
4240 Explicitly initialize object->gobj pointer to NULL;
4242 * cspi/bonobo/cspi-bonobo-listener.c:
4243 (cspi_object_add_ref):
4244 New method, can specify whether to dup-ref a bonobo object passed
4245 in if it's newly added to the object cache.
4247 Now calls cspi_object_add_ref with second param of "FALSE". This
4248 prevents us from doing a pointless dup-ref followed by
4249 release-unref for all those cases where the object is already in
4250 our object cache (fix for #85205).
4252 * atk-bridge/bridge.c:
4253 (spi_atk_bridge_idle_init):
4254 Removed this method, we don't need to initialize in an idle
4257 Changed to call spi_atk_register_event_listeners directly, not via an
4258 idle handler. (fix for #81139)
4259 (gnome_accessibility_module_shutdown):
4260 Removed conditional around deregistration of listeners, since we
4261 don't use the idle handler and thus have always registered when
4263 (spi_init_keystroke_from_atk_key_event):
4264 Changed references to Accessibility_KEY_PRESSED to
4265 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4267 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4269 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4274 * test/stress-test.c:
4277 (may have been an incomplete commit yesterday?)
4279 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4282 Added target for new stress-test.
4284 * test/stress-test.c:
4285 New test, sends 1000 focus notifies in quick succession.
4287 * test/key-listener-test.c:
4288 Now we report whether a keylistener registration
4289 request succeeded or failed.
4291 * test/event-listener-test.c:
4292 Uncommented some listeners which are now implemented.
4295 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4297 * registryd/deviceeventcontroller.c:
4298 (spi_controller_update_key_grabs):
4299 Fix for #82509, lack of failure notification when
4300 ALL_WINDOWS keygrabs fail due to XGrabKey
4301 failure: we synchronize the server when
4302 registering a passive grab, to make sure we get the
4303 error message before the call returns.
4305 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4307 * test/test-simple.c:
4309 Removed #ifdef KEY_IMPL_WORKS guards.
4310 (test_keylisteners):
4311 Removed #ifdef KEY_IMPL_WORKS guards.
4312 Fixed bug which was causing a hang waiting for a
4313 "press" event (which was already overwritten by a "release"
4314 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4316 Added code to set globals 'key_press_received' and
4317 'key_release_received'.
4320 Added section "1.1 API Proposed Additions" which
4321 lists API additions desired for at-spi-1.1 (only one so far).
4322 Updated TODO list a little.
4324 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4326 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4329 * configure.in: Revved to 1.0.0.
4331 * idl/Accessibility_Registry.idl:
4332 (registerKeystrokeListener):
4333 Added boolean return value.
4335 * registryd/registry.c:
4336 (notify_listeners_cb): Minor fix to debug output.
4338 * registryd/Accessibility_Registry.server.in.in:
4339 Revved version number in OAFIID to 1.0.
4341 * registryd/registryd.c:
4343 Use new OAFIID version.
4345 * cspi/bonobo/cspi-bonobo.c:
4347 Use new OAFIID version.
4353 * atk-bridge/bridge.c:
4355 Use new OAFIID version.
4357 * registryd/deviceeventcontroller.c:
4358 (impl_register_keystroke_listener):
4359 Added CORBA_boolean return value.
4360 (spi_controller_register_device_listener):
4361 Added gboolean return value.
4362 (spi_controller_register_global_keygrabs):
4363 Added gboolean return value.
4364 (spi_key_set_contains_key):
4365 Added implementation for many more control keys,
4366 for instance F1-F12, arrow keys, End, Home, Page_Up,
4368 [TODO: some still not implemented].
4370 * text/screen-review-test.c:
4371 (text_chunk_pad_string):
4372 New function: it provides mapping between coordinate
4373 positions of text chunks and character positions in the
4374 screen-review-line output string.
4375 (text_chunk_to_string):
4376 New function, calls text_chunk_pad_string with various
4377 pad/delimiter characters. Pushbuttons are delimited with
4378 square brackets, Frames with vertical 'pipe' lines, and
4379 other text with double quotes.
4380 (text_chunk_list_to_string):
4381 Calls new function text_chunk_to_string.
4382 (toplevel_composite):
4383 New function to composite layers CANVAS through
4384 POPUP in each toplevel (other layers are composited
4385 across toplevels, i.e. BACKGROUND and OVERLAY).
4386 (review_buffer_composite):
4387 Revise to use new methods.
4393 2002-05-31 Laszlo Peter <laca@sun.com>
4395 * configure.in: add the Xtst libdir to the runpath on Solaris,
4396 since it's not in the default library search path.
4398 2002-05-29 jacob berkman <jacob@ximian.com>
4400 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4402 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4404 * test/screen-review-test.c:
4405 (text_chunk_pad_string):
4406 Added method, which pads the string according to the
4407 text bounds of the chunk. It also takes a 3-character
4408 string as a param which indicates the characters to be
4409 used for start, padding, and end delimitation of the chunk.
4410 (text_chunk_to_string):
4411 Changed to use text_chunk_pad_string.
4413 * configure.in: Fixed bug in AC_OUTPUT that was
4414 causing path substitution in Accessibility_Registry.server
4417 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4419 * text/screen-review-test.c:
4420 (guess_string_clip):
4421 New method which attempts a best-guess at clipping
4422 text from components (like Java labels) which don't
4423 actually implement AccessibleText. This inaccurate
4424 clip is based on the assumption that the label is
4425 justified left-and-right, and monospaced.
4426 (text_chunk_get_clipped_string):
4427 We now call guess_string_clip() for text-containing
4428 components that don't implement AccessibleText.
4430 * test/screen-review-test.c:
4431 (review_buffer_get_text_chunk):
4432 We now pull "name" from labels if they do not implement
4433 AccessibleText (i.e. for Java labels).
4434 (get_screen_review_line_at):
4435 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4438 Replaceded AC_OUTPUT target
4439 registryd/Accessibility_Registry.server with
4440 registryd/Accessibility_Registry.server.in.
4442 * registryd/Accessibility_Registry.server.in:
4443 Removed (this is now a Makefile target).
4445 * registryd/Accessibility_Registry.server.in.in:
4446 Added (source for target above). We now use $(libexecdir) as
4447 prefix for the executable at-spi-registryd.
4449 * registry/Makefile.am:
4450 Now install at-spi-registryd into $(libexecdir), and build .server
4451 file with path (see above).
4453 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4455 * test/screen-review-test.c:
4456 (text_chunk_get_clipped_string):
4457 We now check to see if words fall within clip bounds
4458 before resorting to character-by-character clip bounds testing.
4460 * TODO: Added a section for "2.2 Proposed API Additions".
4462 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4464 * test/screen-review-test.c:
4466 Added a screen review benchmarking and test program to test
4469 * cspi/spi_accessible.c:
4471 Made some of the debug strings passed to cspi_check_ev a
4472 little more specific.
4474 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4476 * test/screen-review-test.c: Fix crashes in debug statements
4478 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4480 * test/screen-review-test.c: Added this file.
4482 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4484 * atk-bridge/bridge.c: changed "object:state-change" to
4485 "object:state-changed" to match docs.
4487 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4489 * atk-bridge/bridge.c: Hooked up state-change event details.
4491 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4493 * registryd/registry.c:
4494 Fixed quarking bug in event string parsing; now events with
4495 detail parameters get matched correctly to listeners.
4498 * util/idl/Magnifier.idl: remove.
4500 * util/*.[ch]: Remove.
4501 Magnification utilities and IDL are now in module gnome-mag.
4503 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4505 * registryd/deviceeventcontroller.c:
4506 Fixed bug in grab key conversion which was causing keycode grabs
4507 to be converted to AnyKey grabs.
4510 updated NEWS file to reflect recent spin-off of gnome-mag.
4512 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4514 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4515 busted AccessibleStateSet_compare. Removed redundant casts.
4517 * cspi/spi-action.c: Removed redundant casts.
4519 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4521 * cspi/spi_component.c: Fixed typos and casting error.
4523 * cspi/spi_editabletext.c: Removed redundant casts.
4525 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4527 * cspi/spi_hypertext.c: Eliminated redundant casts.
4529 * cspi/spi_image.c: Eliminated redundant casts.
4531 * cspi/spi_registry.c: Eliminated redundant casts.
4532 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4533 * cspi/spi_selection.c: Removed redundant casts.
4534 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4535 handling. Screen geometry and text offsets were being returned as 0
4536 on error which is technically valid-- changed these to return -1.
4537 Added marshaller for text boundary types to fix bug with boundary
4538 types being passed incorrectly to atk.
4540 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4543 * cspi/spi_registry.c:
4544 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4545 which was uncovered by the recent key changes.
4547 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4549 * test/event-listener-test.c:
4551 Added new test, "event-listener-test";
4552 this code does two things; it benchmarks traversal time
4553 for the accessible hierarchy for the first running accessible
4554 app, and it connects listeners for all supported event types.
4555 It is thus useful as an example event listener and for
4556 diagnostics/debugging of event generation.
4558 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4561 Removed unnecessary dependency on libutil.
4564 Revved micro version: 0.13.1
4566 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4569 Removed util/Makefile from targets.
4572 Removed util subdir from SUBDIRS (temporarily,
4573 pending removal of magnifier-only code
4577 #ifdef-ed out magnifier dependencies, since
4578 magnifier IDL, headers, and binary now live in
4579 module gnome-mag and we don't want at-spi to depend
4580 on gnome-mag. A magnifier demo which can run alongside
4581 simple-at is forthcoming in the gnome-mag module.
4583 NOTE: Split magnifier binary, IDL, and magnification
4584 activation code from at-spi into module gnome-mag.
4586 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4588 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4589 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4591 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4594 Revved to version 0.13.0
4596 * idl/Accessibility_Registry.idl:
4597 Changed definition of KeySet from sequence of longs to sequence of
4598 KeyDefinitions, and added KeyDefinition struct.
4599 Required for fix to bug 80616.
4601 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4602 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4603 to use new definition (see above).
4605 * registryd/deviceeventcontroller.c: handle_keygrab(),
4606 spi_keyset_contains_key():
4607 Changed to make use of new struct; this allows matching based on
4608 string key-name, for instance "Tab". This also allows matching of
4609 composed characters, non-alphanumeric characters in a way that
4610 doesn't involve dependencies on X keysym codes directly, etc.
4612 * test/key-listener-test.c:
4613 Added test for Alt-Tab key using "string" specification of keyset,
4614 and modified one of the tests to use a keycode-based keyset.
4615 Thus this test both tests and demonstrates the creation and use of
4616 keysets of three forms: specified via keycode array,
4617 keysym array, and string array. (The string case only contains a
4618 single string, i.e. a string array of length 1).
4621 Turned on PRINT_TREE option by default. Also fixed a
4622 string-freeing bug in the PRINT_TREE code.
4623 Added a listener to window:minimize events.
4625 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4627 * atk-bridge/bridge.c:
4628 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4629 for window:activate and window:deactiveate
4630 (atk_bridge_property_event_listener atk_bridge_signal_listener
4631 atk_bridge_window_event_listener) Tidy debug code
4633 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4635 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4636 Fixed handling for NULL return value from ATK.
4638 * libspi/action.c libspi/component.c libspi/editabletext.
4639 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4640 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4641 Removed redundant casts.
4643 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4644 Fixed off by one bug.
4646 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4647 function not present in idl)
4649 2002-05-02 jacob berkman <jacob@ximian.com>
4651 * atk-bridge/Makefile.am: make atk-bridge a real module
4653 2002-04-26 Radek Doulik <rodo@ximian.com>
4655 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4656 atk_state_types table
4658 2002-04-22 jacob berkman <jacob@ximian.com>
4661 * libspi/Makefile.am: add deps on the built files to help
4662 automake, and don't version the ORBit typelib
4664 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4666 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4667 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4668 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4669 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4670 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4671 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4672 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4673 libspi/accessible.h libspi/accessible.h libspi/base.h
4674 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4675 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4676 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4677 libspi/spi-private.h libspi/statetset.h libspi/table.h
4678 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4679 util/mag_client.h util/mag_control.c util/mag_image.c
4680 util/mag_image.h util/magnifier.c util/magnifier.h:
4681 Add missing file headers; standardize existing ones
4683 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4685 * atk-bridge/bridge.c: Added window event support.
4687 2002-04-18 Michael Meeks <michael@ximian.com>
4689 * libspi/relation.c (impl_getNTargets): impl.
4690 (impl_getTarget): impl.
4692 * libspi/Makefile.am: fix stateset install.
4694 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4697 Started putting useful info in this file.
4699 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4701 * atk-bridge/bridge.c:
4702 Propagate state-changed notifications to ATs
4704 * cspi/spi_registry.c: update docs to reflect actual behavior of
4705 state-change events.
4707 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4710 Incremented version to 0.12.1
4712 * util/mag_client.h:
4713 Add missing declaration for magnifier_exit,
4714 used by mag_control.c - Forte compiler didn't like
4715 the implicit redeclaration of the function :-(
4718 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4721 Revved version to 0.12 due to API change (see below).
4723 * cspi/spi-roletypes.h:
4724 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4725 definition from the inline docs, and added docs
4726 for SPI_ROLE_LAST_DEFINED.
4729 * cspi/spi_streamablecontent.c:
4730 Added missing seek_type parameter to
4731 (so far unused) method,
4732 AccessibleStreamableContent_seek().
4733 [ RT approval JodyG. ]
4736 Fixed docs for SPI_createAccessibleKeystrokeListener.
4738 * cspi/spi_registry.c:
4739 Fixed docs for SPI_KEYSET_ALL_KEYS.
4741 * docs/reference/cspi/at-spi-cspi-sections.txt:
4742 Added a number of missing APIs to SECTIONS.
4744 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4746 * registryd/Makefile.am:
4748 * cspi/bonobo/Makefile.am:
4749 Add $(X_LIBS) to makefiles.
4751 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4754 Revved version to 0.11.
4756 * libspi/component.c:
4757 Added implementation for grabFocus.
4759 * idl/Accessibility_Component.idl
4760 (Accessibility_Component_grabFocus):
4761 Made this method return boolean to indicate success or failure, to
4762 be consistent with cspi and the corresponding ATK method.
4764 * idl/Accessibility_Selection.idl
4765 (Accessibility_Selection_selectAll) :
4766 Made these methods return boolean to indicate success or
4767 failure, to be consistent with cspi and the corresponding ATK methods.
4769 * idl/Accessibility_EditableText.idl
4770 (Accessibility_EditableText_setTextContents,
4771 Accessibility_EditableText_insertText,
4772 Accessibility_EditableText_cutText,
4773 Accessibility_EditableText_deleteText,
4774 Accessibility_EditableText_pasteText):
4775 Made these methods return boolean to indicate
4778 * cspi/spi_editabletext.c:
4779 Made these methods return booleans.
4781 * libspi/selection.c:
4782 * libspi/component.c:
4783 * libspi/editabletext.c:
4784 Connected the boolean returns from ATK
4785 to the server-side code referenced above.
4787 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4789 * idl/Accessibility_Table.idl: Added missing methods,
4790 Accessibility_Table_addRowSelection,
4791 Accessibility_Table_addColumnSelection,
4792 Accessibility_Table_removeRowSelection,
4793 Accessibility_Table_removeColumnSelection.
4796 Added C wrappers for above IDL:
4797 AccessibleTable_addRowSelection,
4798 AccessibleTable_addColumnSelection,
4799 AccessibleTable_removeRowSelection,
4800 AccessibleTable_removeColumnSelection.
4803 Added server-side implementation code for IDL above, connecting
4804 to pre-existing ATK api.
4806 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4808 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4810 * libspi/accessible.c: Added implementation fo
4811 Accessibility_Accessible_get_state.
4813 * libspi/libspi.h: Added stateset.h to the list of includes.
4815 * libspi/stateset.c: Fixed broken implementation.
4817 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4820 Added implementation code for Accessibility_Magnifier_exit ().
4822 * util/mag_control.c:
4823 Added test code for above method; you can
4824 now kill an existing magnifier via
4825 ./mag_control q, from the util directory.
4827 * test/key-listener-test.c:
4829 Added a new test, for our key listener API.
4831 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4833 * test/app.c, test/keysynth-demo.c:
4835 Replace use of snprintf with g_snprintf.
4836 (fix for bugzilla 78249)
4838 2002-03-27 Michael Meeks <michael@ximian.com>
4842 * util/Makefile.am (INCLUDES): fix.
4843 (DONT_DIST_SOURCE): don't distribute the
4846 * libspi/Makefile.am (dist-hook): ditto.
4848 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4850 * libspi/hypertext.c:
4851 Fix warnings when yelp is used with atk-bridge
4853 2002-03-21 Michael Meeks <michael@ximian.com>
4855 * libspi/application.c (spi_application_new):
4856 use spi_accessible_construct so we use the AtkObject
4859 2002-03-19 Michael Meeks <michael@ximian.com>
4861 * registryd/registry.c (desktop_remove_application),
4862 (desktop_add_application): clean coding style.
4864 * registryd/desktop.c (spi_desktop_remove_application),
4865 (spi_desktop_add_application): kill re-enterency hazards.
4866 (spi_desktop_dispose): remove bogus redundant cast
4867 obscuring bug; fix bug too.
4868 (spi_desktop_init): make the desktop object immortal.
4870 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4873 Added a #define-guarded tree-traversal step
4874 when enumerating the apps (diagnostic tool).
4876 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4878 * idl/Accessibility_Role.idl:
4879 Added ROLE_DRAWING_AREA which seemed to be missing from the
4882 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4884 * cspi/spi-roletypes.h cspi/spi_accessible.c
4885 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4888 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4889 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4890 AT when applications are added and removed from the desktop. This
4891 reverts the previous broken implementation using the backing
4892 AtkObject for the SpiDesktop.
4894 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4896 * registryd/desktop.c: emit the "children-changed::add" and
4897 "children-changed::remove" signals on the backing ATK object for
4898 the desktop so AT can tell when applications are started and shut
4901 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4903 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4905 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4907 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4909 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4911 * cspi/state-types.h: synched with IDL and ATK
4913 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4915 * libspi/accessible.c
4916 (impl_accessibility_accessible_get_child_at_index):
4917 Change return value for g_return_if_fail ()
4918 to CORBA_OBJECT_NIL instead of "0" (!)
4920 * registryd/Makefile.am:
4921 * registryd/Accessibility_Register.server.in:
4922 Changed name of executable, "registryd",
4923 to something more informative:
4926 2002-03-13 Michael Meeks <michael@ximian.com>
4928 * atk-bridge/bridge.c (atk_bridge_init): don't register
4929 if we're in a bonobo-component, rather than a bonobo app.
4931 2002-03-13 Michael Meeks <michael@ximian.com>
4933 * atk-bridge/bridge.c (gtk_module_init): split
4934 out body to (atk_bridge_init): here, since otherwise
4935 we get symbol conflicts and oddness when invoked
4936 from (gnome_accessibility_module_init): here (upd.)
4938 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4941 New file. Explicitly allow "build sheriff" putbacks provided
4942 they are tested on Solaris.
4944 * docs/reference/cspi/Makefile.am:
4945 Added '-' to the "cp" command for index.sgml.
4946 ("patch by thomasvs, soon coming to a GUADEC near you")
4949 Incremented version number (0.9.0) for new release.
4950 Changed macro that checks for popt, to better detect
4951 obsolete versions of popt.
4954 Added X_LIBS to AC_SUBST, for applications
4955 that call Xlib API directly.
4958 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4961 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4964 Fix regression caused by hard-coding major
4965 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4968 * test/test-simple.c (test_editable_text),
4969 (test_test): revert previous change (error was
4970 a regression in gail which is now fixed).
4972 2002-03-04 Michael Meeks <michael@ximian.com>
4974 * test/test-simple.c (test_editable_text),
4975 (test_text): pass G_MAXINT instead of '-1' for
4976 whole string - is this a good thing !?
4978 * cspi/spi_accessible.c
4979 (Accessible_getRelationSet): fix crasher bug
4980 overwriting the end of the array.
4982 * test/test-simple.c (validate_accessible): free,
4983 not g_free returned relation set.
4985 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4987 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4988 implemented stateset support
4990 * idl/Accessibility_State.idl: Made necessary changes to
4991 the IDL to support state sets.
4993 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4995 * registryd/deviceeventcontroller.c:
4996 Added implementation for generateMouseEvent.
4998 * cspi/spi_registry.c:
4999 Connected new implementation for generateMouseEvent
5002 2002-02-12 Bill Haneman <bill.haneman@sun.com>
5005 Incremented revision (but no change in public API
5006 outside of 'utils', which are not installed public yet.)
5008 * libspi/component.c:
5009 Changed to use atk_component API for layers and
5010 mdi_zorder, instead of deprecated atk_object API.
5012 Magnification Utility Enhancements:
5015 Added implementation of createZoomRegion, clearAllZoomRegions,
5016 resizeZoomRegion. Added new commandline argument
5017 "--no-initial-region". Note that clearAllZoomRegions doesn't
5018 unmap the old '0' region as it should (yet), and the other
5019 methods only work when creating/resizing a single region,
5020 which is "region 0".
5021 (Code for multiple region support will be added later.)
5024 Now we raise the magnifier window each time it's refreshed;
5025 this will help keep it on top.
5027 * util/mag_client.h:
5028 Added simple wrappers for above, used by mag_control.
5029 For general use, it's recommended to use the bonobo magnifier
5030 control API directly instead of using these wrappers.
5033 Moved ZoomRegionData from magnifier.c to this file.
5035 * util/mag_control.c:
5036 Added some code to exercise new IDL implementations.
5038 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
5040 * libspi/text.c: Provide implementation for getAttributes.
5042 2002-02-04 Bill Haneman <bill.haneman@sun.com>
5045 Incremented revision.
5047 * test/test-simple.c:
5048 Replaced use of deprecated g_main_iteration with
5049 g_main_context_iteration.
5051 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
5054 Incremented revision for desktop alpha 2.
5056 2002-01-28 Mark McLoughlin <mark@skynet.ie>
5058 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
5061 * test/simple-at.c: include netinet/in.h.
5063 2002-01-24 Mark McLoughlin <mark@skynet.ie>
5065 * cspi/spi_accessible.c: (Accessible_getRelationSet):
5066 use NULL, not CORBA_OBJECT_NIL.
5068 * libspi/accessible.c:
5069 (impl_accessibility_accessible_get_relation_set):
5070 allocate the sequence correctly.
5072 * libspi/remoteobject.h: kill spi_remote_object_new.
5074 * test/test-simple.c: (validate_accessible): add code
5075 to test relation sets, now all we need is to figure
5076 out how to excercise this code path :/
5078 2002-01-18 Michael Meeks <michael@ximian.com>
5080 * test/test-simple.c
5081 (key_listener_cb): consume the key.
5082 (test_keylisteners): update.
5083 (main): wait for any pending unrefs on events.
5085 * registryd/deviceeventcontroller.c
5086 (spi_controller_update_key_grabs): only re-issue the
5087 grab on a key release.
5088 (spi_device_event_controller_forward_key_event):
5089 refresh the keygrabs before we notify the listeners,
5090 to reduce the X ungrab / re-grab race.
5091 (spi_controller_register_with_devices): remove
5092 XSelectInput - we do that with the gdk_window_ call.
5093 (_spi_controller_device_error_handler): return a value.
5094 s/GDK_DISPLAY/spi_get_display/
5096 2002-01-17 Michael Meeks <michael@ximian.com>
5098 * registryd/deviceeventcontroller.c
5099 (_deregister_keygrab): don't blow out the later
5102 * test/test-simple.c (test_keylisteners): do a
5103 more intelligent validation.
5105 2002-01-14 Michael Meeks <michael@ximian.com>
5107 * atk-bridge/bridge.c
5108 (gnome_accessibility_module_init),
5109 (gnome_accessibility_module_shutdown): impl.
5110 (gtk_module_init): protect vs. double inits.
5111 (add_signal_listener): impl.
5112 (spi_atk_bridge_state_event_listener): kill
5113 (deregister_application): split out of
5114 (spi_atk_bridge_exit_func): here.
5116 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5119 Added caret tracking when using magnifier, and
5120 now use text bounds for focus tracking of text elements, rather than
5121 the component bounds - this is helpful for short text fields in long
5122 table cells, at high magnification.
5124 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5126 * registryd/deviceeventcontroller.c:
5127 Regression fix for keylistener de-registration; global keygrabs
5128 were not being released when deregisterKeystrokeListener was
5129 called in cspi, since
5130 Accessibility_DeviceEventController_deregisterKeystrokeListener
5131 was called with a zero-length keyset. That is because the cspi
5132 method, SPI_deregisterKeystrokeListener, does not take a keyset
5133 parameter but instead should remove all the key grabs held be a
5135 The code in impl_deregister_keystroke_listener was changed to copy
5136 the keylist from the listener instance previously registered with
5137 the DeviceEventController before releasing the grabs.
5139 * registryd/registry.c:
5140 * registryd/deviceeventcontroller.c:
5141 * libspi/spi-private.h:
5143 Changed spelling of "re-enterant" to "re-entrant" globally.
5145 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5147 * test/test-simple.c:
5148 Changed key listeners test - the test was slightly mis-using the
5149 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5150 It now uses '=' as the key event listened to and generated,
5151 relying on a keysym match rather than assuming that keycode 33
5152 is always equal to keysym '!'.
5154 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5157 Changed simple-at to use a specific keyset, rather than
5158 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5159 manager, desktop, etc.
5161 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5163 * registryd/deviceeventcontroller.c:
5164 Replaced standard X error handler with a special handler that
5165 is non-fatal for failed keygrabs. This works around
5166 problems with keygrab clashes sometimes observed on
5168 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5169 mouse handling code as yet).
5171 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5174 Incremented revision for desktop alpha release.
5177 Fixed a couple of the more glaring errors (still not
5180 2002-01-11 Michael Meeks <michael@ximian.com>
5182 * registryd/deviceeventcontroller.c
5183 (spi_device_event_controller_forward_key_event): kill
5184 XUngrabKey / XKeyGrab race.
5185 (spi_controller_grab_keyboard): rename to
5186 (spi_controller_update_key_grabs): this, and deal
5187 with incremental adding / removing grabs more
5189 (_register_keygrab): ensure we're not pending a remove.
5190 (spi_grab_mask_free): impl.
5191 (spi_controller_register_global_keygrabs): split out
5193 (handle_keygrab): impl.
5194 (_deregister_keygrab): impl.
5195 (spi_controller_deregister_global_keygrabs): impl.
5196 (spi_controller_update_key_grabs): re-issue the grab if
5197 we just recieved a notification.
5199 * test/test-simple.c (key_listener_cb): remove debug.
5201 * registryd/deviceeventcontroller.c
5202 (spi_controller_register_device_listener): after
5203 registering a global keygrab, actualy register it !
5204 don't wait for a timeout; doh !
5206 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5207 to make it more readable / manipulable.
5208 s/grabmask/grab_mask/ s/refcount/ref_count/
5209 s/keyval/key_val/ s/modmask/mod_mask
5211 2002-01-08 Michael Meeks <michael@ximian.com>
5213 * registryd/deviceeventcontroller.c
5214 (spi_controller_register_with_devices): use gdk calls to
5216 (global_filter_fn): implement the filter.
5217 (spi_device_event_controller_check_key_event): rename to
5218 (spi_device_event_controller_forward_key_event): this & upd.
5219 (spi_get_display): replace with GDK_DISPLAY.
5221 * registryd/deviceeventcontroller.c
5222 (spi_controller_deregister_device_listener): unroll into
5223 (impl_deregister_keystroke_listener): here to simplify.
5224 (spi_controller_register_global_keygrabs): split cut and
5225 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5226 (spi_controller_deregister_device_listener): remove.
5227 (impl_register_mouse_listener): remove, no mouse listener
5228 support in at-spi-1.0
5230 * registryd/registry.c
5231 (_device_event_controller_hook): kill.
5232 (spi_registry_init): upd.
5234 * registryd/deviceeventcontroller.c
5235 (spi_device_event_controller_class_init): upd.
5236 (spi_check_key_event): merge into.
5237 (spi_device_event_controller_check_key_event):
5238 here and kill strange static ev init, don't leak
5239 the x_event - nor dynamicaly allocate it.
5241 * registryd/registry-main.c (main): re-direct
5242 timeout to remove strange vtable mess.
5244 * registryd/deviceeventcontroller.c
5245 (remove_listener_cb): impl.
5246 (spi_controller_deregister_device_listener):
5247 fix re-enterancy hazard.
5249 2002-01-07 Michael Meeks <michael@ximian.com>
5251 * registryd/deviceeventcontroller.c
5252 (spi_device_event_controller_new): upd.
5253 (impl_notify_listeners_sync): upd. debug.
5254 (spi_notify_keylisteners): fix re-enterancy hazards,
5255 prettify, remove O(n*n) iteration.
5256 (spi_controller_grab_keyboard): fix iteration.
5257 (spi_check_key_event): re-format to suit coding style.
5258 Clean all the warnings - we're warning free.
5260 * registryd/deviceeventcontroller.h:
5261 * registryd/registry.h: make mutualy referential with
5262 typesafe forward references instead of (!) void pointer
5265 2002-01-11 Michael Meeks <michael@ximian.com>
5267 * cspi/spi_accessible.c (role_names): add a role name
5268 to sync this array with the enum; and make the regression
5271 2002-01-10 Michael Meeks <michael@ximian.com>
5273 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5274 allow expansion of enumeration & kill warning.
5276 * test/test-simple.c (key_listener_cb): impl.
5277 (test_keylisteners): impl.
5279 * cspi/spi-listener.h: make listener signatures const
5280 on the provided (const) events.
5282 * test/keysynth-demo.c: upd. to const events.
5284 * test/simple-at.c: ditto.
5286 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5289 Rev the version to 0.5 (the previous tarball was named 0.4,
5290 even though the micro number was 3), so we need to rev upwards
5291 again for beta2/"desktop-alpha"
5294 Checked in a demo script, which requires editing before use!
5295 Proceed with caution.
5298 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5300 * cspi/spi_accessible.c:
5301 Add a couple of missing enum initializations, and fix some enum
5304 * cspi/spi_registry.c:
5305 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5307 * docs/reference/cspi/at-spi-cspi-sections.txt:
5308 Remove/fix a couple of broken document references.
5311 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5312 as Alt-Control to listen for commands, since on some systems
5313 Control-Alt may already be grabbed.
5315 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5318 Update version number to 0.4 for Beta2.
5320 * libspi/accessible.c, libspi/accessible.h:
5321 Expose spi_accessible_construct, to enable libgail-gnome
5322 construction from spi_accessible subtype.
5324 * utils/magnifier.c:
5325 Workaround for bug in some non-gnome-compliant window managers
5326 which made magnifier resize improperly.
5328 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5330 * libspi/accessible.c: (spi_accessible_new) :
5331 Move the test for SPI_IS_REMOTE_OBJECT to
5332 spi_accessible_new_return, fixing a bug and compile time warning.
5334 2002-01-08 Michael Meeks <michael@ximian.com>
5336 * registryd/registry.c (parse_event_type): remove strndup.
5338 * libspi/Makefile.am (libspi_la_SOURCES): remove
5339 sources already included in the headers section.
5341 * libspi/util.c: add.
5343 * libspi/spi-private.h: add.
5345 * registryd/registry.c: update to moved list iterators.
5347 2002-01-05 Michael Meeks <michael@ximian.com>
5349 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5351 * test/test-simple.c (main): ditto.
5353 2002-01-04 Michael Meeks <michael@ximian.com>
5355 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5356 redundant construct.
5358 * registryd/registry.c
5359 (get_listener_list): impl.
5360 (impl_accessibility_registry_register_global_event_listener):
5361 re-impl. to simplify using ~, remove dodgy const cast off.
5362 (parse_event_type): constify.
5363 (impl_accessibility_registry_deregister_global_event_listener_all):
5364 re-write, more efficiency and simplicity, kill re-enterancy
5366 (compare_listener_corbaref, compare_corba_objects),
5367 (compare_listener_quarks): define out.
5368 (impl_accessibility_registry_deregister_global_event_listener):
5369 re-write for effiency, and nail re-enterancy hazard.
5370 (impl_accessibility_registry_get_desktop_list): impl.
5371 (re_enterant_list_delete_link): impl.
5372 (re_enterant_list_foreach): impl.
5373 (remove_listener_cb): impl.
5374 (_registry_notify_listeners): kill.
5375 (notify_listeners_cb): impl.
5377 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5378 (SPI_getDesktopList): impl.
5380 * test/test-simple.c (test_desktop): test the methods.
5382 2002-01-03 Michael Meeks <michael@ximian.com>
5384 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5385 keystrings since we free them
5386 (SPI_freeAccessibleKeySet): in here.
5388 * libspi/accessible.c (spi_accessible_new): kill warning,
5389 wonder what is going on with the constructor here.
5391 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5393 * libspi/accessible.c (spi_accessible_new ()) :
5394 Added check to see if AtkObject is an SpiRemoteObject before
5395 creating an SpiAccessible.
5397 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5399 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5400 Enable keygrabs using the Control modifier, now that they are
5401 working properly (they were previously disabled).
5404 Change the command keygrab for this demo to "Control+Alt", so as
5405 to conflict with fewer other key commands on the system; this
5406 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5408 Removed a pointlessly-chatty keylistener for unshifted keys
5409 (shifted keys are still reported).
5411 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5413 * libspi/remoteobject.h:
5414 * libspi/remoteobject.c:
5415 Added definitions for special AtkObject subtype, required for
5416 support of remote components (specifically, used by BonoboControl
5417 accessibility implementation).
5419 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5421 * cspi/spi.h: synched relation types with ATK
5423 * cspi/spi_accessible.c: Added implementations of
5424 AcccessibleRelation_* methods
5426 * idl/Accessibility_Relation.idl: added getRelationTypeName
5427 method. Synched known relation types with ATK. Allowed for
5428 relation type extension with the RELATION_EXTENDED type.
5430 * libspi/relation.c: Provided implementations for
5431 AccessibleRelation methods.
5433 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5435 API tweaks for today's API 'freeze'.
5438 Added placeholder functions to allow future compatible expansion
5439 of the IDL interfaces.
5441 * idl/Accessibility_Registry.idl:
5442 Changed generateKeyEvent to generateKeyboardEvent. Changed
5443 signature of this method to accept an optional keystring in
5444 parameter (for complex text input synthesis) and changed use of
5445 simple 'boolean' parameter in registerKeystrokeListener to a
5446 struct, EventListenerMode.
5448 * cspi/spi_accessible.c:
5450 * cspi/spi_streamablecontent.c:
5451 Added references to AccessibleStreamableContent interface, and
5452 definition and implementation of AccessibleStreamableContent
5455 * cspi/spi_registry.c:
5457 Changed generateKeyEvent API to generateKeyboardEvent,
5458 taking a new (optional) keystring parameter to support complex
5463 Renamed directory (to better reflect its actual purpose, bridging
5464 from at-spi to ATK). The .so module is also now named
5467 * idl/Accessibility_Hypertext.idl:
5468 * libspi/accessible.c:
5469 * libspi/hypertext.h:
5470 * libspi/hypertext.c:
5471 Changed Accessibility_Hypertext to *not* derive from
5474 * cspi/spi_registry.c:
5475 Added list of legal event type names for 'window' events, which
5476 completes the registry event API.
5478 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5480 * at-bridge/bridge.c: Added registration for separate
5481 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5482 signals. If either of the first two parameters to the generic
5483 bridge signal handler are ints, they are passed on as event
5484 details. This allows an AT to determine what text was inserted.
5486 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5488 * registryd/deviceeventcontroller.c:
5489 Fixed regressions in generateKeyEvent caused by the removal of
5490 gdk_init from registryd; we now use pure X calls to connect to the
5491 display, which makes sense because deviceeventcontroller already
5492 uses a fair bit of X API (should eventually be migrated to a
5493 'portability layer').
5495 * registryd/desktop.c:
5496 Fixed minor regression in spi_desktop_init, changed the way the
5497 desktop name is being set to work with new spi_base API
5498 (gobject-based, rather than AtkObject-based).
5500 * registryd/Makefile.am:
5501 Minor revision of makefile to use XTST_LIBS variable rather than
5502 hard-wiring the Xtst LD_ADD element.
5504 * test/keysynth-demo.c:
5505 Tweaked an output message; added initialization of the
5506 'keystrings' member of the "switch listener" key_set.
5508 * libspi/relation.c:
5509 Squashed compile-time warning.
5511 * libspi/accessible.c:
5512 Cosmetic and formatting fixes, renamed a static method.
5514 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5516 * libspi/accessible.c
5518 * libspi/application.c
5521 * libspi/component.c
5522 * libspi/editabletext.c
5523 * libspi/hyperlink.c
5524 * libspi/hypertext.c
5526 * libspi/selection.c
5530 * registryd/desktop.c:
5531 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5533 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5535 * idl/Accessibility_Registry.idl:
5536 Added boolean member 'is_text' to DeviceEvent. This is for the
5537 use of key events, and helps prevent ambiguity between composed
5538 key strings and keysym names, since both may potentially be
5539 returned in the 'event_string' member.
5541 * at-bridge/bridge.c:
5542 * registryd/deviceeventcontroller.c:
5543 Use the 'is_text' member when notifying device event listeners.
5544 Knon issue: composed characters are not dealt with correctly by
5545 the global key listener implementation yet.
5547 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5549 * at-bridge/bridge.c:
5550 Namespaced local static methods to spi_atk_bridge_* where
5551 previously named bridge_*, and spi_* elsewhere.
5553 * at-bridge/bridge.c:
5554 * cspi/bonobo/cspi-bonobo-listener.c:
5555 Added demarshalling/conversion for string member of
5556 Accessibility_DeviceEvent to AccessibleKeystroke.
5558 * registryd/deviceeventcontroller.c:
5559 Added code to fill the Accessibility_DeviceEvent key string value
5560 member for global key events (i.e. from XGrabKey), to match
5561 behavior of Accessibility_DeviceEvent from the toolkit key events
5562 from the bridge. Fixed timestamp in global key event notifications.
5565 Added printout of key event's string value to
5566 report_ordinary_key_event, for demo/debugging purposes.
5568 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5570 * idl/Accessibility_Registry.idl:
5571 Removed Accessibility_KeyStroke structure in favor of generic
5572 Accessibility_DeviceEvent structure.
5573 Changed Accessibility_ControllerEventMask from a struct to an
5576 * at-bridge/bridge.c:
5577 Changed APIs to use DeviceEvent structure as above, and removed
5578 bogus casting between these event structures.
5580 * cspi/spi-listener.h:
5581 Added keystring member of AccessibleKeystroke structure, to enable
5582 matching on event "names" rather than only hardware codes and
5586 Added keystrings member of AccessibleKeySet struct, to allow
5587 matching on event names (as above).
5588 Added declarations for SPI_createAccessibleKeySet and
5589 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5590 event modmasks directly as unsigned ints rather than structs with
5591 refcounts, in the DeviceEventController methods.
5593 * cspi/spi_registry.c:
5594 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5596 * cspi/spi-roletypes.h:
5597 Added documentation of newly added SPI Roles.
5599 * cspi/bonobo/cspi-bonobo-listener.c:
5600 Changes in support of API changes above.
5602 * libspi/accessible.c:
5603 Converted APIs to use DeviceEvent structure (see IDL changes
5606 * registryd/deviceeventcontroller.c:
5607 Added DEControllerGrabMask structure to track keygrabs not only by
5608 modmask but by keyset as well; this allows us to do "global"
5609 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5610 grabbing on AnyKey and then filtering after-the-fact.
5611 Bugfixes for event filtration mean that we don't get false matches
5612 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5614 * registryd/deviceeventcontroller.c:
5615 Namespaced a number of static methods to use spi_ prefix. Major
5616 revision to internals of global (i.e. X) key grabs.
5618 * registryd/deviceeventcontroller.h:
5619 Removed keymask_list and added keygrabs_list to
5620 SpiDeviceEventController struct.
5623 Added use of SPI_createAccessibleKeySet API when creating a
5624 listener for only one key. Attach a listener to "shift spacebar
5625 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5626 X key event names to SPI key event names, so that listeners are
5627 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5629 * test/keysynth-demo.c:
5630 Changed (incorrect) use of X key event names (KeyPressed,
5631 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5634 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5636 * libspi/accessible.c:
5637 Convert all AtkRole enumerations to Accessibility_Role enums when
5638 getting a role from an AtkObject.
5640 * cspi/spi_accessible.c:
5641 Complete the conversion of Accessibility_Role enums at runtime to
5642 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5643 role enums correctly match those given in spi-roletypes.h.
5644 Re-synchronize the local names list for AccessibleRole_getName ().
5645 AccessibleRole_getName is now deprecated, since it duplicates the
5646 more reliable Accessible_getRoleName.
5647 Added some role types from Accessibility_Role.idl.
5649 * idl/Accessibility_Role.idl:
5650 Added some role types used by AtkRole.
5652 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5655 * cspi/spi_registry.c:
5657 * cspi/cspi-bonobo-listener.c:
5658 Namespaced all methods that did not begin with an "SPI_" or
5659 "Accessible" prefix to "SPI_".
5662 Homogenized internal function namespace to "cspi_" for statics.
5665 Patched tests to use the new CSPI API.
5667 * docs/reference/cspi/at-spi-cspi-sections.txt:
5668 Updated docs to reflect namespace changes, and added a number of
5669 methods to the documentation.
5671 * registryd/registry.c:
5672 Changed use of strings and string hashes in listener event
5673 matching and parse_event_string to use GQuark, which is guaranteed
5676 * registryd/registry.h:
5677 Squashed annoying warning.
5679 * idl/Accessibility_Role.idl:
5680 Extended range of available Accessibility_Role values.
5682 * cspi/spi_accessible.c:
5683 Re-ordered role names.
5685 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5687 * idl/Accessibility_Value.idl:
5688 Revert use of union back to CORBA_double, since the double type is
5689 more efficient and can contain the other types without loss of
5692 * idl/Accessibility_Accessible.idl:
5693 Added method Accessibility:Accessible:getRoleName, to complement
5694 Accessibility:Accessible:getRole.
5696 * cspi/spi_accessible.c:
5698 Added C binding for above, Accessible_getRoleName (), and changed
5699 signature of Accessible_getRole () to return an AccessibleRole.
5701 * cspi/spi-roletypes.h:
5702 Changed AccessibleRole_getName to return a char * instead of a
5703 const char *. This method is now at least temporarily deprecated
5704 in favor of asking Accessibles for their RoleNames directly.
5707 Revert to match Accessibility_Value.idl;
5711 Change signature of AccessibleValue methods to use double rather
5715 * cspi/spi_accessible.c:
5716 Changed Accessible_getRole to return an AccessibleRole enum rather
5717 than a UTF-8 string. The UTF-8 string can still be obtained via
5718 AccessibleRole_getName ().
5720 * test/test-simple.c:
5721 Add test_action. Small fixup to match API change to Accessible_getRole.
5724 Bugfix for get_action_from_servant ().
5726 2001-12-11 Michael Meeks <michael@ximian.com>
5728 * libspi/libspi.h: remove registry.h and
5729 desktop.h, deviceeventcontroller.h
5731 * libspi/Makefile.am: remove registry.[ch],
5732 desktop.[ch], deviceeventcontroller.[ch]
5734 * registryd/Makefile.am: add registry.[ch],
5735 desktop.[ch], rename registryd.c to registry-main.c.
5736 add deviceeventcontroller.[ch]
5738 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5741 Replace setenv() call with putenv ().
5743 * libspi/component.c:
5744 Bugfix in AccessibleComponent_getExtents (),
5747 2001-12-11 Michael Meeks <michael@ximian.com>
5749 * libspi/image.c (impl_getImageExtents): impl.
5750 (spi_image_class_init): upd.
5753 (AccessibleImage_getImageDescription): fix daft bug
5756 * test/test-simple.c (global_listener_cb): update
5757 to only quit if not --poke
5758 (main): catch --poke.
5759 (validate_accessible): upd. dumping, call test_image
5762 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5765 * idl/Accessibility.idl: update all IDL includes.
5767 * idl/*.idl - rename to namespace - this sucks, blame
5768 mjs' bad decision for oafd.
5770 * test/test-simple.c (create_test_window): add more tests.
5771 (create_tree): split this out.
5772 (validate_accessible): bugfix.
5774 2001-12-11 Michael Meeks <michael@ximian.com>
5776 * cspi/bonobo/cspi-bonobo-listener.c:
5777 (cspi_kestroke_listener_unref),
5778 (cspi_event_listener_unref): impl. undoing previous
5779 homenous environment - for Bill.
5781 * cspi/spi_table.c (long_seq_to_array): use
5784 * cspi/spi_main.c: split out all bonoboish bits into
5787 * cspi/spi-impl.h: upd. typedefs.
5789 * cspi/spi_registry.c: update to lowlevel API,
5790 return booleans to indicate success in some places.
5792 * cspi/spi_event.c: update to lowlevel API.
5794 * cspi/bonobo/Makefile.am: add.
5796 * cspi/bonobo/cspi-lowlevel.h: add
5798 * cspi/bonobo/cspi-bonobo.c: add
5800 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5802 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5803 (SUBDIRS): add bonobo, link in the libs.
5805 * cspi/spi-util.c: kill this file.
5807 * TODO: merge in my bits.
5809 2001-12-11 Michael Meeks <michael@ximian.com>
5811 * test/test-simple.c (test_value, test_table, main):
5812 remove unused variables causing warnings.
5814 * configure.in: cleanup checks - require gail.
5816 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5819 Changed Value interface to use SValue (scalars) rather than
5820 assuming all values are floats. This allows floats, doubles,
5821 longs, shorts, and unsigned values to be manipulated.
5822 Introduced Accessibility:SValue union.
5825 Updated to use new API above, and to work correctly with GValues
5826 of different types in AtkValue.
5829 Updated to use new API above. cspi's API is as yet unchanged.
5832 Updated the Value revision action item.
5834 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5836 * test/test-simple.c:
5837 Added test_table (GtkTreeView widget in test window to follow).
5838 Un-commented test_value, added GtkRange widget.
5839 Added GtkTreeView widget with GtkListStore. It passes regression
5840 test but leaks one SPI object for some reason.
5843 Fixed bug in impl__set_currentValue.
5845 2001-12-10 Michael Meeks <michael@ximian.com>
5847 * cspi/spi_text.c: audit for exception handling,
5848 tolerating NULL object references safely etc.
5850 * cspi/spi_value.c: ditto.
5852 * cspi/spi_table.c (AccessibleTable_getSummary),
5853 (AccessibleTable_getAccessibleAt),
5854 (AccessibleTable_getRowHeader),
5855 (AccessibleTable_getColumnHeader),
5856 (AccessibleTable_getCaption): fix bugs hidden by
5858 (long_seq_to_array): impl.
5859 (AccessibleTable_getSelectedRows),
5860 (AccessibleTable_getSelectedColumns): use it.
5862 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5865 Added a TODO list (rough and short for now).
5867 * cspi/spi_hyperlink.c:
5868 * cspi/spi_hypertext.c:
5869 Fixed macro name typos, and remove use of obsolete macro in
5870 AccessibleHyperlink_getLink.
5872 * cspi/spi_action.c:
5873 * cspi/spi_accessible.c:
5874 * cspi/spi_application.c:
5875 * cspi/spi_component.c:
5876 * cspi/spi_selection.c:
5879 Documentation fixes (removed return values from ref/unref methods).
5881 2001-12-10 Michael Meeks <michael@ximian.com>
5883 * cspi/spi_action.c: audit for exception handling,
5884 tolerating NULL object references safely etc.
5886 * cspi/spi_accessible.c: ditto.
5888 * cspi/spi_component.c: ditto.
5890 * cspi/spi_editabletext.c: ditto.
5892 * cspi/spi_hyperlink.c: ditto.
5894 * cspi/spi_hypertext.c: ditto.
5896 * cspi/spi_image.c: ditto.
5898 * cspi/spi_selection.c: ditto.
5900 2001-12-10 Michael Meeks <michael@ximian.com>
5902 * configure.in: use cspi/libspi.pc.in instead.
5904 * Makefile.am (pkgconfig_DATA): upd. to match.
5906 * test/simple-at.c (report_focus_event): kill hacks around
5907 bad return values, use putenv not setenv
5909 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5910 fire ChildGone - I killed it.
5912 * libspi/component.c
5913 (impl_accessibility_component_get_extents): remove
5916 * idl/Accessible.idl: kill ChildGone exception.
5918 * cspi/*.[ch]: kill int return from ref / unref.
5920 * cspi/spi_main.c (cspi_object_add_check): fold into
5921 (cspi_object_add): here.
5923 * cspi/spi_component.c (AccessibleComponent_getExtents):
5924 handle exceptions elegantly.
5926 * cspi/spi-private.h (cspi_check_ev_return),
5927 (cspi_return_if_fail): impl.
5929 * cspi/spi_accessible.c: use extensively.
5930 (AccessibleStateSet_equals): add direct compare check.
5932 * cspi/spi_selection.c: tolerate NULL objs, and check
5933 exceptions before return.
5935 * cspi/spi-util.c (cspi_warn_ev): rename to
5936 (cspi_check_ev): this & don't pass ev in; no point.
5938 2001-12-10 Michael Meeks <michael@ximian.com>
5940 * test/test-simple.c: use putenv not setenv
5941 (get_environment_vars): more chatty if you're not using
5944 * test/simple-at.c: do the setenv so more people see the
5947 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5949 * libspi/registry.c:
5950 Changed check of CORBA_environment on notification to be a warning
5951 instead of an error for the moment, since we can recover from this
5952 error when caused by a queued notification from a dead app.
5955 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5956 used by all current implementors of AtkValue), and coerce to
5957 CORBA_float. (Proper general case fix may require change to Value.idl).
5959 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5963 * cspi/spi_accessible.c:
5964 Documentation fixes: added user_data params to documentation for
5965 listeners and callbacks.
5967 * cspi/spi_accessible.c:
5968 Changed AccessibleStateSet_compare to return a
5969 StateSet rather than return the difference set into a third parameter.
5972 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5975 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5976 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5980 Remove subdirectory po from SUBDIRS for now.
5982 * at-bridge/bridge.c:
5983 Beefed up a couple of debug printouts.
5984 One-line fix for signal notification name formatting.
5986 * libspi/accessible.c:
5987 Added assertion to spi_accessible_new ().
5989 * libspi/application.c:
5990 Put #ifdef qualifiers around a printf.
5993 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5995 * registryd/Makefile.am:
5997 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5998 INTLTOOL_SERVER_RULE macro.
6001 Added an event listener for several ATK signals, for
6002 testing and debugging. Removed a few g_warnings.
6003 Added test output if focussed item implements the Value interface.
6005 * test/test-simple.c:
6006 Added test_value () function (known not to pass at the moment, so
6007 not actually called yet.
6009 2001-12-08 Michael Meeks <michael@ximian.com>
6011 * at-bridge/bridge.c (bridge_focus_tracker),
6012 (emit_eventv): fix the same ref. leak.
6013 (register_atk_event_listeners): don't leak.
6015 * cspi/spi-listener-impl.c (cspi_event): more
6016 protection from client code.
6018 * test/test-simple.c (test_desktop): unref the app.
6020 * test/Makefile.am: upd. TESTS.
6022 * at-bridge/bridge.c (bridge_exit_func): release the registry.
6024 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
6026 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
6028 * cspi/spi_registry.c: constify in strings.
6029 (deregisterGlobalEventListenerAll): don't release the ref.
6031 * cspi/spi.h: start removing redundant / conflicting
6032 gtkdoc comments, making the API readable at a glance :-)
6034 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
6036 * test/keysynth-demo.c (keysynth_exit, main): upd.
6038 * test/simple-at.c (main, simple_at_exit): upd.
6040 * test/test-simple.c (unutterable_horror): kill.
6041 (utterable_normal_derefs): kill.
6042 (main): upd & do a setenv before gtk_init, so that we
6043 can use memprof - and to save the pain of remembering
6044 this, if we're running under memprof - don't exit.
6046 * cspi/spi_main.c (SPI_exit): return exit status
6048 (SPI_event_quit): impl.
6049 (SPI_event_main): simplify.
6050 (cspi_is_gnome_app): kill.
6051 (SPI_init): kill isGNOMEapp arg.
6053 * at-bridge/bridge.c (register_atk_event_listeners):
6054 re-instate the unref.
6055 (bridge_exit_func): don't re-activate the registry,
6056 protect vs. theoretical re-entry, use the
6057 AT_BRIDGE_SHUTDOWN env. var to determine whether to
6058 assert a clean shutdown - for regression tests.
6060 2001-12-08 Abel Cheung <maddog@linux.org.hk>
6062 * configure.in: Comment out dummy i18n support for now,
6063 otherwise it fails to build.
6064 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
6065 EXTRA_DIST. They are missing in tarball.
6067 2001-12-07 Michael Meeks <michael@ximian.com>
6069 * util/magnifier.c: kill bonobo activation reg. race.
6071 * libspi/component.c
6072 (impl_accessibility_component_get_extents): make it match
6075 * libspi/registry.c (_registry_notify_listeners):
6076 re-remove X headers & reconcile conflicts.
6077 (spi_listener_struct_free): bad conflict resolve.
6078 (impl_accessibility_registry_register_application):
6079 more bad merging fixed.
6080 (impl_accessibility_registry_deregister_application): ditto.
6081 (spi_registry_new): ditto.
6082 (spi_registry_init): don't have an applications field.
6084 [ merge fixups2 branch to here ]
6085 2001-12-07 Michael Meeks <michael@ximian.com>
6087 * test/simple-at.c (report_focus_event),
6088 (report_focussed_accessible): remove g_warning debug.
6090 2001-12-07 Michael Meeks <michael@ximian.com>
6092 * test/test-simple.c (validate_tree): comment out some checks.
6093 (test_desktop): app now not registered idly - horay.
6095 2001-12-07 Michael Meeks <michael@ximian.com>
6097 * cspi/spi_registry.c
6098 (registerAccessibleKeystrokeListener): clean, stop it leaking
6099 great swathes of memory, and device event controller references.
6100 ensure we always pass valid sequences.
6101 (deregisterAccessibleKeystrokeListener): ditto.
6102 (generateKeyEvent): upd.
6104 * at-bridge/bridge.c (bridge_key_listener): handle
6105 registry dead exception gracefully.
6106 (bridge_focus_tracker, emit_eventv): free ev.
6108 * test/simple-at.c (report_focus_event): fix polarity.
6110 * libspi/application.c (notify_listeners): kill the ev
6111 argument, and make sure we init the ev we use.
6112 (spi_application_object_event_listener): split out a chunk
6113 (get_atk_object_ref): here & fixup.
6114 (reverse_lookup_name_for_toolkit_event): make const.
6115 (spi_application_toolkit_event_listener): fixup, kill leaks
6118 * at-bridge/bridge.c (register_atk_event_listeners):
6119 don't unref the noop object - causes grief.
6121 * libspi/registry.c: remove the X headers.
6122 turn off the debug churn.
6124 * libspi/accessible.c (spi_accessible_new_return): only
6125 release the ref if we are supposed to [doh]
6127 * test/simple-at.c (report_button_press, report_focus_event):
6128 guard vs. unexpected exit.
6130 * at-bridge/bridge.c (gtk_module_init): prune printf.
6131 (bridge_exit_func): fix app unref.
6133 * libspi/Makefile.am: don't install registry or desktop.h
6135 * libspi/*.h: update includes.
6137 * libspi/application.h: don't include ourself, or
6138 other redundant headers.
6140 2001-12-06 Michael Meeks <michael@ximian.com>
6142 * libspi/accessible.c
6143 (get_accessible_from_servant): impl.
6144 Upd. all CORBA impl.s to use it killing cut and paste.
6146 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6148 (SPI_init): register atexit cleanup handler here.
6150 2001-12-06 Michael Meeks <michael@ximian.com>
6152 * at-bridge/bridge.c (gtk_module_init): g_error on
6153 activation exception
6155 2001-12-06 Michael Meeks <michael@ximian.com>
6157 * at-bridge/bridge.c (gtk_module_init): some sort of
6158 confusing merge clash - reverted.
6159 (bridge_idle_init): ditto.
6161 * test/test-simple.c (main, utterable_normal_derefs):
6162 merge from Bill - somehow not committed.
6164 2001-12-06 Michael Meeks <michael@ximian.com>
6166 * libspi/value.c (spi_value_class_init): upd.
6167 (spi_value_finalize): kill.
6169 * libspi/table.c (spi_table_finalize): kill.
6170 (spi_table_interface_new): upd.
6171 (spi_table_class_init): upd.
6172 (get_table_from_servant): impl.
6173 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6175 * libspi/selection.c (spi_selection_finalize): kill.
6176 (spi_selection_interface_new): upd.
6177 (spi_selection_class_init): upd.
6178 (get_selection_from_servant): impl.
6179 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6181 * libspi/relation.c (spi_relation_finalize): kill.
6182 (spi_relation_class_init, spi_relation_new): upd
6184 * libspi/image.c (spi_image_finalize): kill.
6185 (spi_image_class_init): upd.
6186 (spi_image_interface_new): upd.
6187 (get_image_from_servant): impl.
6188 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6190 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6191 (spi_hyperlink_finalize): kill.
6192 (spi_hyperlink_new): upd.
6193 (get_hyperlink_from_servant): impl.
6194 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6196 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6197 (spi_hypertext_finalize): kill.
6198 (spi_hypertext_class_init): upd.
6199 (get_hypertext_from_servant): impl.
6200 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6202 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6203 (spi_editable_text_interface_new): upd.
6204 (get_editable_text_from_servant): impl.
6205 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6207 * libspi/text.c (get_text_from_servant): impl.
6208 All impls - update to use it killing more cut and paste,
6209 also fix bad string returns on duff args ( a somewhat
6210 impossible case to handle - but hey ).
6211 (spi_text_construct): impl.
6212 (spi_text_interface_new): upd.
6213 (spi_text_object_finalize): kill.
6215 * libspi/component.c
6216 (accessibility_component_object_finalize): kill.
6217 (spi_component_class_init): upd.
6218 (get_component_from_servant): impl. helper to kill cut & paste.
6219 (impl_accessibility_component_contains):
6220 (impl_accessibility_component_get_accessible_at_point):
6221 (impl_accessibility_component_get_position):
6222 (impl_accessibility_component_get_extents):
6223 (impl_accessibility_component_get_mdi_z_order):
6224 (impl_accessibility_component_get_layer):
6225 (spi_component_interface_new): upd.
6227 * libspi/action.c (spi_action_finalize): kill.
6228 (spi_action_class_init): upd. inherit from SpiObject.
6229 (spi_action_interface_new): upd.
6230 (get_action_from_servant): impl. helper to reduce cut & paste.
6231 (impl_getKeyBinding, impl_getName, impl_doAction),
6232 (impl_getDescription): Use it everywhere.
6234 * cspi/spi_main.c (get_live_refs): a pointer hash.
6235 (spi_object_hash, spi_object_equal): comment out.
6236 There are issues with CORBA object hashing that need
6239 * libspi/application.c (spi_application_init),
6240 (spi_application_new): upd.
6242 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6243 (spi_accessible_class_init): upd.
6244 s/accessible/object/ in epv methods.
6246 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6248 * at-bridge/bridge.c:
6249 Reorder the bridge initialization into the bridge gtk_module_init,
6250 an immediate call to bridge_register_app, and an idle_add for
6251 register_atk_event_listeners (the only code that *must* wait until
6252 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6253 the activation, creates the application's Accessible object, and
6254 queues the bridge_idle_init function. Restored call to
6255 Accessibility_Registry_deregisterApplication().
6256 Prior to making this call we obtain a new reference to the
6257 registry, which is a temporary hack that helps us handle apps that
6258 shut down the bonobo mainloop before we get there.
6260 * libspi/registry.c:
6261 Fix string leakage in debug block, and don't segv if a an app
6262 dies before its event notifications have been propagated.
6265 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6266 as stopgap measure until we get proper exception handling when
6267 objects die during or before interrogation.
6271 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6272 Also changed default value of is_gnome_app to TRUE.
6275 * test/keysynth-demo.c:
6276 Changed use of SPI_init and SPI_event_main to reflect API change above.
6279 Made report_focus_event check the warning value from getName
6280 before reporting on focussed accessible; simplifies handling of
6281 notifications from dead objects.
6283 * test/test-simple.c: (Changes not in this patch since source is
6286 2001-12-05 Michael Meeks <michael@ximian.com>
6288 * registryd/registryd.c (main): protect against
6289 bonobo-activation startup race condition.
6291 * cspi/spi_main.c (cspi_object_add_check): cope
6292 with the exception elegantly.
6294 * idl/Accessible.idl: decl. ChildGone
6296 * libspi/desktop.c (spi_desktop_dispose): impl.
6297 (spi_desktop_class_init): upd.
6298 (spi_desktop_add_application),
6299 (spi_desktop_remove_application),
6300 (abnormal_application_termination): impl.
6301 (impl_desktop_get_child_at_index): re-impl.
6304 (impl_accessibility_registry_deregister_application),
6305 (impl_accessibility_registry_register_application):
6306 kill excessive debug clutter.
6308 * test/test-simple.c (test_misc): test some NULL
6309 tolerance. (main): upd.
6311 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6312 implements no interfaces - so let's not crash.
6314 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6316 * libspi/accessible.c (spi_accessible_new_return): impl.
6317 helper to calm the cut and paste, to cope with
6318 NULL AtkObjects effectively and efficiently, and to kill
6319 the referencing bugs.
6321 * libspi/table.c (impl_getAccessibleAt),
6322 (impl_getRowHeader, impl_getColumnHeader): upd.
6324 * libspi/hyperlink.c (impl_getObject): upd.
6326 * libspi/accessible.c
6327 (impl_accessibility_accessible_get_child_at_index): upd.
6329 * libspi/component.c
6330 (impl_accessibility_component_get_accessible_at_point): upd.
6332 * test/test-simple.c (test_editable_text, test_text): impl.
6335 * cspi/spi_editabletext.c
6336 (AccessibleEditableText_insertText): constify.
6338 * test/test-simple.c (focus_me): make more robust.
6340 * libspi/accessible.c: remove some printfs in methods that
6341 we test and work fine, so we can get a clean tree dump.
6343 * test/test-simple.c (validate_accessible),
6344 (validate_tree): make tree dumping pretty too.
6346 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6347 it builds without debug on.
6349 * test/test-simple.c (validate_accessible): fix the most
6352 * cspi/spi_main.c (spi_object_release): leave the nicely
6353 blanked memory around if in debug mode.
6355 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6357 [committed to fixups2]
6358 2001-12-05 Michael Meeks <michael@ximian.com>
6360 * libspi/editabletext.c
6361 (spi_editable_text_class_init): g_type_class_peek_parent,
6362 not interface peek - so we finalize cleanly.
6364 * libspi/accessible.c (spi_accessible_new): kill debug.
6366 * test/test-simple.c (validate_accessible): fix ref.
6367 leak, print strings before freeing them; sigh, comment a
6368 chunk out due to strangeness.
6369 (validate_tree): unref the child after use.
6371 * cspi/spi_component.c (AccessibleComponent_getLayer):
6372 add missing break statement, switch on zlayer not the
6373 uninitialized retval.
6375 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6376 before (possibly re-entering) remote unref.
6378 * test/simple-at.c (main): unref the desktop.
6380 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6383 * cspi/spi_main.c (cspi_accessible_is_a): here to
6384 isolate bonobo API usage more.
6386 * libspi/registry.c (impl_accessibility_registry_register_application):
6387 prune bogus comment.
6389 2001-12-04 Michael Meeks <michael@ximian.com>
6391 * test/test-simple.c (validate_tree): upd.
6392 IndexInParent check to make it more lucid.
6393 (validate_accessible): dump the tree.
6395 * libspi/accessible.c (de_register_public_ref),
6396 (get_public_refs): impl.
6397 (spi_accessible_new): make more efficient & intuitive.
6398 Now IndexInParent check works.
6400 2001-12-04 Michael Meeks <michael@ximian.com>
6402 * cspi/spi-util.h: remove.
6404 * cspi/spi.h: move SPI_freeString here
6406 * libspi/component.c (impl_accessibility_component_get_layer):
6408 (impl_accessibility_component_get_mdi_z_order): ditto,
6409 return -1 on error - is this ok ?
6411 * test/test-simple.c (test_application): impl.
6413 * cspi/spi_accessible.c (Accessible_getApplication),
6414 (Accessible_isApplication): impl.
6416 * libspi/registry.c (spi_listener_struct_free): release
6417 the CORBA reference too.
6419 * libspi/accessible.c
6420 (impl_accessibility_accessible_get_parent): fix ref leak.
6422 * libspi/registry.c (spi_registry_new): make the registry
6423 immortal - we don't want it to go away ever.
6425 * libspi/application.c
6426 (spi_accessible_application_finalize): impl. cleanup.
6428 * cspi/spi_registry.c
6429 (deregisterGlobalEventListenerAll),
6430 (deregisterGlobalEventListener),
6431 (deregisterAccessibleKeystrokeListener): fix ref leak.
6433 * cspi/spi_main.c (SPI_init): remove redundant ref.
6435 * test/test-simple.c (unutterable_horror): impl. to force a
6440 (impl_accessibility_registry_deregister_application): release
6441 the application when we de-register it.
6443 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6444 until we have the infastructure to get it right.
6446 2001-12-03 Michael Meeks <michael@ximian.com>
6448 * libspi/Makefile.am: only build eventlistener.[ch]
6450 * libspi/accessible.c
6451 (impl_accessibility_accessible_get_child_at_index): don't leak.
6453 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6454 before we hit the idle handler.
6456 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6457 debugging than exit.
6459 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6461 * libspi/listener.c (impl_notify_event): check source
6462 not NIL before unref.
6464 * libspi/registry.c (impl_registry_notify_event): ditto.
6466 * libspi/eventlistener.c
6467 (impl_accessible_event_notify_event): unref the source.
6469 * libspi/accessibleeventlistener.c
6470 (impl_accessible_event_notify_event): unref the source.
6472 * idl/Event.idl: remove 'hash_id' attribute - of no
6475 * libspi/application.c (notify_listeners): upd list
6477 (spi_application_object_event_listener),
6478 (spi_application_toolkit_event_listener): upd to do correct
6482 (_registry_notify_listeners): update.
6483 (parse_event_type): this method also leaks like a sieve.
6484 (impl_accessibility_registry_deregister_global_event_listener):
6485 fix ETYPE_WINDOW case.
6487 * libspi/application.c
6488 (impl_accessibility_application_register_object_event_listener):
6491 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6493 * libspi/hypertext.c (impl_getLink): ditto.
6495 * cspi/spi_main.c (cspi_object_add): remove
6496 bogus CORBA_Object_duplicate.
6498 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6501 * cspi/spi_accessible.c
6502 (Accessible_getRelationSet): fix leak / referencing issue.
6504 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6505 (cspi_object_add, cspi_object_unref): upd.
6506 (spi_object_release, get_live_refs): impl.
6507 (cspi_cleanup): simplify.
6509 * *.[ch]: s/boolean/SpiBoolean/
6511 * cspi/spi_accessible.c (role_names): actualy order so it
6512 corresponds with the enum !
6514 * test/test-simple.c (test_roles): check some role strings
6515 vs. enums to detect offset errors.
6517 2001-12-01 Michael Meeks <michael@ximian.com>
6519 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6521 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6523 (Accessible_getChildAtIndex): use cspi_add_check so we
6524 check the ev before using a (possibly) invalid value.
6526 * libspi/accessible.c
6527 (impl_accessibility_accessible_get_parent): don't segv
6530 * at-bridge/bridge.c (gtk_module_init): upd.
6531 (bridge_property_event_listener): don't leak strings
6533 (bridge_state_event_listener),
6534 (bridge_property_event_listener): don't use a static
6535 buffer in case of recursive event emission &
6536 re-enterancy - split out the swathe of cut and paste
6538 (emit_eventv): and fix 2 ref leaks here & comply to the
6540 (bridge_register_app): rename to
6541 (bridge_idle_init): this and kill arg parsing, split
6542 various inits & bonobo-activation registration to module
6543 init time, kill referencing error.
6544 (bridge_exit_func): fix the same leak.
6545 (bridge_focus_tracker): don't leak event structures
6547 (bridge_signal_listener): more leakage and cut & paste
6549 (bridge_key_listener): return the result - FIXME is
6550 this polarity correct ?
6551 (accessibility_keystroke_from_atk_key_event): rename
6552 (accessibility_init_keystroke_from_atk_key_event): and stop
6554 (gtk_module_init): return a value - not that it is checked by
6556 (bridge_key_listener): register my horror at casting between
6557 IDL defined structs.
6558 (bridge_get_registry): kill - not used.
6560 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6562 * test/test-simple.c (test_roles): impl.
6563 (test_desktop, validate_accessible, validate_tree): impl.
6565 * cspi/spi_accessible.c (role_names): fixup bogus
6566 MAX_ROLES setup, make constants const for efficient linkage
6567 (AccessibleRole_getName): conform to coding style, make
6570 2001-11-30 Michael Meeks <michael@ximian.com>
6572 * cspi/spi.h: add missing prototype.
6574 * libspi/registry.c (spi_listener_struct_new): fix sig.
6576 * test/Makefile.am: add test-simple
6578 * test/test-simple.c: add
6580 * test/test.sh: add.
6582 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6584 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6585 do it straight - since otherwise we often get an activation race.
6587 [ work before Bill duplicated a chunk of it ... ]
6588 2001-11-30 Michael Meeks <michael@ximian.com>
6590 * libspi/keystrokelistener.c
6591 (spi_keystroke_listener_class_init): fixup arg
6594 * libspi/eventlistener.c
6595 (spi_event_listener_class_init): ditto.
6597 * tests/test.sh: add.
6599 * cspi/spi-listener-impl.h: update macros.
6601 * cspi/spi-listener-impl.c
6602 (cspi_event_listener_remove_callback): add
6603 correct pre-conditions.
6605 * cspi/spi_main.c (SPI_exit): guard vs. double
6606 exits, exit the mainloop nicely.
6607 (SPI_event_main): make more sense.
6608 (SPI_init): move the atexit evilness here so we
6609 always do it (yuck).
6610 (SPI_event_main): upd.
6612 * test/simple-at.c: update for listener changes.
6614 * registryd/registryd.c (main): prune kruft.
6616 * libspi/libspi.h: upd.
6618 * libspi/eventlistener.[ch]: rename broken macros.
6620 * libspi/accessibleeventlistener.[ch]: remove.
6622 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6624 * test/test-simple.c: Add - automated tests.
6626 * cspi/spi-listener-impl.c (cspi_event),
6627 (cspi_key_event): add user_data to invoke.
6628 (cspi_keystroke_listener_finalize): impl.
6629 (cspi_keystroke_listener_class_init): upd.
6632 (createAccessibleEventListener),
6633 (AccessibleEventListener_addCallback),
6634 (createAccessibleKeystrokeListener),
6635 (AccessibleKeystrokeListener_addCallback): upd.
6637 * libspi/deviceeventcontroller.c
6638 (spi_device_event_controller_check_key_event): add public proto.
6641 (impl_accessibility_registry_deregister_global_event_listener):
6642 always init listeners.
6643 (_registry_notify_listeners): yes it is.
6645 * cspi/spi-listener-impl.c (cspi_key_event):
6647 (cspi_event_listener_finalize): impl.
6648 (cspi_event_listener_class_init): hook up.
6649 (event_handler_new, event_handler_free),
6650 (event_list_remove_by_callback): impl.
6651 (cspi_event_listener_remove_callback),
6652 (cspi_keystroke_listener_remove_callback),
6653 (cspi_keystroke_listener_add_callback),
6654 (cspi_event_listener_add_callback): upd.
6656 * libspi/keystrokelistener.c
6657 (keystroke_listener_object_finalize): kill
6658 (spi_keystroke_listener_class_init): upd.
6659 (spi_keystroke_listener_add_callback),
6660 (spi_keystroke_listener_remove_callback): kill,
6662 (impl_key_event): prune drasticaly.
6664 * libspi/eventlistener.c
6665 (spi_event_listener_add_callback),
6666 (spi_event_listener_remove_callback): kill, use
6668 (impl_accessible_event_notify_event): upd.
6669 (spi_event_listener_object_finalize): remove.
6671 * libspi/Makefile.am: use eventlistener.[ch]
6673 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6675 * libspi/registry.c (_registry_notify_listeners):
6676 Changed listener loop iteration to use preferred convention.
6677 Got rid of string memory leaks caused be calling g_strconcat
6678 inside function calls.
6680 * libspi/registry.c (parse_event_type):
6681 Stopped g_strconcat memory leaks, free the g_strsplit return,
6682 g_strdup the split pieces when used, etc.
6684 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6687 Change method 'compare' to return a 'difference set' rather than
6688 taking a StateSet as an out parameter (more Java-friendly).
6690 * idl/Accessible.idl:
6691 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6693 * idl/Component.idl:
6695 Changed methods 'getExtents' and 'getImageExtents' in these
6696 interfaces to return a BoundingBox structure.
6697 (getPosition and getSize are redundant and possibly should be
6698 removed, rather than creating a corresponding Point struct.)
6700 * cspi/spi_component.c:
6701 Modify implementation of getExtents to reflect the above IDL
6706 Add (missing) AccessibleImage_getExtents () API.
6708 * docs/reference/cspi/at-spi-cspi-sections.txt:
6709 Added AccessibleImage_getImageExtents () to docs.
6711 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6713 * idl/Component.idl:
6714 Added two methods, getLayer () and getMDIZOrder (), to reflect
6715 the new ATK methods atk_object_get_layer and
6716 atk_object_get_mdi_z_order. (Which arguably should be part of the
6717 AtkComponent API and AtkObject). Also added an enum,
6718 ComponentLayer, for the first method's return value.
6720 * libspi/component.c:
6721 Added implementations for these methods.
6723 * cspi/spi_component.c:
6725 Added cspi binding methods for above,
6726 AccessibleComponent_getLayer() and
6727 AccessibleComponent_getMDIZOrder().
6728 Added cspi enum 'AccessibleComponentLayer'.
6730 * docs/reference/cspi/at-spi-cspi-sections.txt:
6731 Added above methods to docs.
6735 Changed typedef for 'boolean' type (and all references to it) to
6736 SPIBoolean, to avoid keyword clashes with C++.
6739 Changed usages of 'boolean' to SPIBoolean.
6741 * test/keysynth-demo.c:
6742 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6743 app), except where SPIBoolean is required by the callbacks API.
6745 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6747 * cspi/spi_registry.c:
6748 Removed obsolete X event loop for passive keygrabs (which now
6751 * registryd/registryd.c:
6752 Removed unnecessary call to gdk_init() [cruft]. This also allows
6753 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6756 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6758 * docs/reference/cspi:
6759 Included docs for SPI_freeString in generated documentation.
6762 Renamed spi_freeString to SPI_freeString, for consistency. Added
6763 documentation for this function.
6766 Renamed spi_freeString to SPI_freeString, for consistency.
6767 Removed obsolete method declaration string_from_corba_string.
6769 * test/keysynth-demo.c:
6770 Small tweak to comments.
6773 Stopped leaking the strings returned from CSPI.
6775 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6777 Merged Michael's branch (see his ChangeLog entries below).
6779 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6780 bridge is alive, release on exit.
6782 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6783 Fix type check macro.
6786 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6789 Added is_gnome_app static, and method cspi_is_gnome_app(),
6790 so we can call the appropriate shutdown routine at exit in SPI_exit.
6792 * cspi/spi_main.c (cspi_object_ref):
6793 Duplicate the corba object passed in, since we're keeping it around.
6795 * cspi/SPI_exit.c, cspi_cleanup:
6796 Moved the releasing of the live refs to its own function, so we
6797 can put it in g_atexit (). Call the appropriate shutdown API
6798 depending on whethe calling client is a gnome app or not
6799 (bonobo_main_quit or CORBA_ORB_shutdown).
6801 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6802 Unref the listener when this method is called, after
6803 deregistration. Updated the API docs to note this behavior.
6805 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6806 Bugfixes: Ref the bonobo object when returning a parent or child
6807 reference, or an AccessibleRelation. Generally made sure
6808 BonoboObject refcount is incremented whenever we return an
6811 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6812 Fixed typo/bug in signal declaration.
6814 * libspi/accessibleeventlistener.h:
6817 * libspi/application.c (spi_application_new):
6818 Fixed leak in initialization.
6821 Remembered to increment bonobo-object refcount when returning
6822 children (applications) from desktop object.
6823 Added (empty) finalize method.
6825 * libspi/deviceeventcontroller.c:
6826 Hold a ref to listeners inside DEControllerKeyListeners.
6827 Added dec_key_listener_free() method. Use prepend instead of
6828 append in key_listener list. Fixed some refcount madness and
6829 leaks in the listener registration/deregistration - deregistration
6830 now calls dec_key_listener_free() on listeners, and on the
6831 temporarily constructed dec_key_listener() used to perform the search/match.
6833 * libspi/hypertext.c (spi_hypertest_finalize):
6834 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6835 class. Also fixed spi_hypertext_interface_new() and
6836 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6838 * libspi/hypertext.h:
6839 Removed pointless and duplicate AtkObject pointer from
6842 * libspi/keystrokelistener.c:
6843 Fixed incorrect type of keystroke_listener_parent_class,
6844 renamed keystroke_listener_object_finalize to
6845 spi_keystroke_listener_object_finalize.
6846 Fixed typo in signal declaration
6847 (spi_keystroke_listener_class_init).
6849 * libspi/registry.c:
6850 Added funcsions spi_listener_struct_new() and
6851 spi_listener_struct_free() to help with memory management issues.
6852 We also now use these methods instead of gnew + poking stuff into
6853 the struct, and to decrement listener counts/free the listeners
6854 when deregistering them.
6855 Fix more refcount bugs in getDesktop() and
6856 getDeviceEventController().
6859 De-ref the desktop after enumerating the applications. Explicitly
6860 decrement the refcounts on the created listeners on exit (using
6861 _unref for keystroke listeners, and via the
6862 deregisterGlobalEventListenerAll command for other event
6865 2001-11-27 Michael Meeks <michael@ximian.com>
6867 * cspi/spi-listener.h: fixup enum.
6869 2001-11-27 Michael Meeks <michael@ximian.com>
6871 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6872 (cspi_keystroke_listener_new): Use the cspi variants.
6874 2001-11-26 Michael Meeks <michael@ximian.com>
6876 * test/keysynth-demo.c: fix 2 compile warnings, missing
6879 * test/simple-at.c (report_focussed_accessible),
6880 (report_focus_event, report_button_press),
6881 (check_property_change, is_command_key),
6882 (report_ordinary_key_event, report_command_key_event): upd.
6884 * util/mag_client.h: include pre-requisites.
6886 * libspi/accessibleeventlistener.c
6887 (spi_event_listener_object_finalize): free any lingering
6890 * libspi/keystrokelistener.c
6891 (keystroke_listener_object_finalize): ditto.
6893 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6894 callbacks, with cspi types.
6896 * cspi/spi_event.c (createAccessibleEventListener): chain to
6897 (AccessibleEventListener_addCallback): here.
6898 (createAccessibleKeystrokeListener): chain to
6899 (AccessibleKeystrokeListener_addCallback): here.
6901 * libspi/keystrokelistener.c
6902 (spi_keystroke_listener_class_init): add signal.
6903 (impl_key_event): emit the event.
6904 (boolean_handled_accumulator): impl.
6905 (marshal_BOOLEAN__POINTER): add, gack.
6907 * libspi/accessibleeventlistener.c
6908 (spi_event_listener_class_init): add signal.
6909 (impl_accessible_event_notify_event): emit the signal &
6910 make the loop efficient.
6911 (spi_event_listener_add_callback): prepend the callback.
6913 * libspi/accessibleeventlistener.h: add an 'event' signal,
6914 decl type on callback.
6916 * libspi/keystrokelistener.h: ditto.
6918 * cspi/spi-listener.h: make methods typesafe and
6919 make them use the new event typedefs.
6921 * test/simple-at.c (report_focussed_accessible):
6922 include mag_client.h
6923 Use *(void *)text_interface not the other thing.
6925 * configure.in: add gtk to registryd bits - since we use
6928 * util/magnifier.c: include libbonobo.h
6930 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6932 * test/keysynth-demo.c:
6933 Turned this into a simple scanning keyboard, to demonstrate the
6934 use of g_timeout_add () as a means of creating timers for
6935 scanning, and the use of GtkStyle for visually indicating when
6936 virtual keyboard elements are selected.
6938 keysynth-demo now listens to any keyboard keys with zero-valued
6939 keycodes (i.e. 'unused' keys) and interprets them as
6942 Reworked the shiftlatch code so that shift-down state isn't held
6943 for long periods (it's only synthesized immediately prior to
6944 the keysynth event it's modifying). Note that shiftlatch in this
6945 demo is a convenience, not intended to take the place of AccessX
6946 which is the better choice for getting 'sticky' modifier keys.
6948 * libspi/deviceeventcontroller.c:
6949 * at-bridge/bridge.c:
6950 * cspi/spi_registry.c:
6951 Removed some debug print stuff, and put other verbosity in #ifdef
6956 Implemented some more of the magnifier IDL for the simple
6957 magnifier: namely, getZoomRegionParams.
6958 Added mag_x and mag_y members to MagnifierData struct, aid of this
6960 Added GtkWindow::realize signal handler to magnifier, to keep it
6961 from receiving keyboard focus from the WM.
6963 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6965 * cspi/spi-private.h: my guess at what michael forgot
6966 before he ran off to NZ :-)
6968 2001-11-23 Michael Meeks <michael@ximian.com>
6970 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6971 comment out non existant method invoke so we link.
6973 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6974 use bonobo_exception_get_text for more friendly warnings.
6976 * cspi/spi.c (Obj_Add): move into spi_main & rename
6977 spi_object_add; kill spi.c
6979 * cspi/spi_registry.c
6980 (deregisterGlobalEventListener),
6981 (deregisterGlobalEventListenerAll),
6982 (registerGlobalEventListener): fix exception leaks.
6984 * cspi/spi_main.c (spi_exception): impl. helper, so we
6985 don't leak exceptions.
6987 * cspi/spi_selection.c
6988 (AccessibleSelection_deselectSelectedChild): return the
6991 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6992 (spi_registry): ditto.
6993 (SPI_init): guard against double inits.
6995 * cspi/*.c: use spi_ev (), and spi_registry () where
6996 appropriate - a temporary hack until we have something
6997 better. Use spi_object_add
6999 2001-11-22 Michael Meeks <michael@ximian.com>
7001 * cspi/Makefile.am: re organise, install the headers.
7003 * cspi/*.h: add G_BEGIN/END_DECLS
7005 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7008 Added non-preemptive keylistener for key events with no modifiers
7009 and shift-only modifier.
7011 * libspi/keystrokelistener.c:
7012 Removed some verbose diagnostics printout.
7014 * cspi/spi_registry.c:
7015 Fixed a bug that caused all key listeners to be registered as
7018 * libspi/deviceeventcontroller.c:
7019 Fixed bug that caused XGrabKey (preemptive key grab) to be called
7020 for non-preemptive key masks.
7023 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7025 * docs/reference/idl/at-spi-idl-docs.sgml:
7026 * docs/reference/idl/at-spi-idl-sections.txt:
7027 * docs/reference/idl/at-spi-idl-overrides.txt:
7028 Added missing files.
7030 * docs/reference/Makefile.am:
7031 removed idl from SUBDIRS until we can figure a way to get gtk-doc
7032 to scan the IDL files :-(
7037 Added .cvsignore files.
7039 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7041 * libspi/deviceeventcontroller.c:
7042 * libspi/keystrokelistener.c:
7044 * cspi/spi_registry.c:
7045 Added filters for KeySets, KeyEventSeq, and event types to key
7046 event dispatching, so listeners should only receive those events
7047 that they requested :-)
7049 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7054 * docs/reference:Makefile.am:
7055 * docs/reference/cspi:
7056 * docs/reference/cspi:Makefile.am:
7057 * docs/reference/cspi:tmpl:
7058 * docs/reference/cspi:tmpl:*.sgml:
7059 * docs/reference/idl:
7060 * docs/reference/idl:Makefile.am:
7061 * docs/reference/idl:at-spi-idl-sections.txt:
7062 * docs/reference/idl:at-spi-idl-docs.sgml:
7063 * docs/reference/idl:tmpl:
7064 * docs/reference/idl:tmpl:*.sgml:
7066 Restructured docs directory to allow separate 'reference' docs
7067 section, and forked idl and cspi docs. Added the sgml template
7068 files to CVS. Added the first sections/structural sgml for the
7071 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
7073 * configure.in, libspi/Makefile.am: find libXtst.
7075 2001-11-21 Michael Meeks <michael@ximian.com>
7077 * test/accessx-gui.c: s/spi_value/value/ - doh.
7079 * libspi/base.[ch]: add.
7081 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7083 * idl/Accessible.idl:
7084 * idl/Application.idl:
7087 Started gtk-doc cleanup on IDL.
7089 * libspi/deviceeventcontroller.c:
7090 Added and connected non-preemptive key notification from the
7091 toolkits (in addition to the pre-emptive support from XServer
7092 which we had before, but which causes 'focus flashing'). Filters
7093 are presently limited to key modifiers and global/non-global,
7094 KeySets are presently ignored, as are KeyEvent masks.
7096 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7097 structs into the persistant structure rather than just storing
7098 pointers to things that might not persist across servant
7101 The XGrabKey call now does async keygrabs, because synchronous
7102 ones were deadlocking with GDK_event code in a very nasty way.
7104 Added boolean to internal method notify_keylisteners, to indicate
7105 whether the event came from the 'toolkit source' or the 'global
7106 (XServer) source' - this is used in the notification process to
7107 determine which listeners to send the event to.
7109 deviceeventcontroller.c is now warning-free.
7111 * libspi/registry.c:
7112 Fixed regression in application de-registration.
7113 Also fixed some really brain-dead weirdness having to do with
7114 event dispatching - event structs are now duplicated before being
7115 re-marshalled in the dispatch to listeners. This also fixes a
7116 Solaris build problem.
7119 2001-11-20 Michael Meeks <michael@ximian.com>
7122 (impl_accessibility_registry_deregister_global_event_listener):
7125 * libspi/deviceeventcontroller.c
7126 (spi_device_event_controller_check_key_event): return
7127 FALSE on no virtual method.
7129 * libspi/*..h: make includes work on a correctly pathed install.
7131 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7133 * libspi/application.h: kill unused ( and whacked out )
7134 gboolean *spi_application_set_id (AtkObject *app, long id);
7136 2001-11-20 Michael Meeks <michael@ximian.com>
7138 * libspi/*.[ch]: further convert to bonobo's type func
7139 macros, remove redundnant casts etc.
7141 * libspi/text.c s/accessibility_text/spi_text/g,
7142 re-order to de-cruft.
7144 * libspi/hypertext.c: re-order to kill a huge slew
7145 of redundant forward decls.
7147 * libspi/relation.c: ditto.
7149 * libspi/image.c: ditto.
7151 * */.cvsignore: update
7153 2001-11-20 Michael Meeks <michael@ximian.com>
7155 * libspi/deviceeventcontroller.c
7156 (_controller_register_with_devices): use g_getenv,
7157 kill stdlib.h include.
7159 * libspi/keystrokelistener.c
7160 (spi_keystroke_listener_get_type): kill
7161 (spi_keystroke_listener_class_init),
7162 (spi_keystroke_listener_init): rename to this.
7164 * libspi/text.c (impl_getAttributes): fix warning / bug.
7166 * libspi/*.[ch]: more headers, includes and over commenting.
7168 2001-11-20 Michael Meeks <michael@ximian.com>
7170 * libspi/*.[ch]: fixup headers, includes and over commenting.
7172 * libspi/image.c (impl__get_imageDescription): const
7173 correctness warning fix. remove redundant casting.
7175 * libspi/table.c (impl_getRowDescription): ditto.
7176 (impl_getColumnDescription): ditto.
7178 * libspi/libspi.h: add.
7180 2001-11-19 Michael Meeks <michael@ximian.com>
7182 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7184 * libspi/component.c (accessibility_component_get_type):
7185 rename to (spi_component_get_type): and macroify.
7186 (accessibility_component_init): rename to
7187 (spi_component_init): this
7188 (accessibility_component_class_init): rename to
7189 (spi_component_class_init): this
7191 * libspi/action.c (spi_action_get_type): kill, use the macro.
7193 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7196 * libspi/application.c (spi_application_object_event_listener),
7197 (impl_accessibility_application_register_object_event_listener):
7198 warning fixes / const understanding updates.
7200 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7203 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7205 * libspi/spi_accessible.c: Added docs and C bindings for
7206 AccessibleStateSet. (No implementations yet). Documentation
7207 coverage for C bindings now 100%. Made docs for event listeners
7212 boolean notifyListenersSync (in DeviceEventListener listener,
7213 in DeviceEvent event);
7215 oneway void notifyListenersAsync (in DeviceEventListener listener,
7216 in DeviceEvent event);
7218 Added DeviceEventListener and DeviceEvent structs (may deprecate
7219 KeyStroke and KeystrokeListener in favor of this generic
7220 event/listener framework for devices).
7222 * libspi/deviceeventcontroller.c:
7224 Changed some key listener code to take masks, etc., and paved the
7225 way for integration of toolkit/non-preemptive key events. Changed
7226 signatures of some internal methods.
7228 * at-bridge/bridge.c:
7229 Fixed regression connecting to interface signals, apparently
7230 caused by GTK+ changes.
7232 Added an internal bridge_state_listener to deal with
7233 property-change:accessible-state signals.
7235 Changed the key_listeners GList to store structs (including masks,
7236 etc.) instead of just CORBA_Objects (required for full
7237 implementation of key listener API).
7239 Connected the bridge to all currently supported Atk signals.
7240 Events now supported:
7241 object:property-change
7242 object:property-change:accessible-name
7243 object:property-change:accessible-state
7244 object:property-change:accessible-description
7245 object:property-change:accessible-parent
7246 object:property-change:accessible-value
7247 object:property-change:accessible-role
7248 object:property-change:accessible-table-caption
7249 object:property-change:accessible-table-column-description
7250 object:property-change:accessible-table-column-header
7251 object:property-change:accessible-table-row-description
7252 object:property-change:accessible-table-row-header
7253 object:property-change:accessible-table-summary
7254 object:children-changed
7255 object:visible-data-changed
7256 object:selection-changed
7257 object:text-selection-changed
7259 object:text-caret-moved
7261 object:row-reordered
7263 object:column-inserted
7264 object:column-reordered
7265 object:column-deleted
7266 object:model-changed
7268 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7270 * libspi/hyperlink.c,h:
7271 Fixed some broken stuff in hyperlink.
7273 * libspi/relation.h:
7274 * libspi/relation.c:
7275 * cspi/spi_accessible.c:
7276 Initial implementations of AccessibleRelation methods, and docs.
7278 * libspi/accessible.c:
7279 Fixed a bug that caused SEGV if an accessible
7280 object's description is NULL, and a client
7281 requests it. An empty string is now returned.
7283 * cspi/spi_editabletext.c:
7284 * cspi/spi_hypertext.c:
7286 * cspi/spi_hyperlink.c:
7290 Doc coverage now 95%.
7292 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7294 One last namespacing revision:
7295 * libspi/accessibleeventlistener.[ch]:
7296 Renamed SpiAccessibleEventListener to SpiEventListener,
7297 (no need for two namespaces ;-)
7299 And lots of documentation fixes:
7301 * docs/at-spi-docs.sgml:
7302 Fixed 'underscore vs. hyphen' bug that was preventing
7303 the gtk-doc API docs from being automatically generated.
7306 * cspi/spi-listener.h
7308 * cspi/spi_accessible.c
7310 * cspi/spi_application.c
7311 * cspi/spi_component.c
7312 * cspi/spi_editabletext.c
7314 * cspi/spi_hypertext.c
7316 * cspi/spi_registry.c
7317 * cspi/spi_selection.c
7321 * docs/at-spi-docs.sgml
7322 * docs/at-spi-sections.txt
7324 Added and fixed up gtk-doc documentation in cspi.
7326 Interfaces now (fully) documented (subject to revision and enhancement):
7328 Event Listener Support
7330 AccessibleApplication
7334 AccessibleEditableText
7341 AccessibleRelationSet
7346 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7348 * at-bridge/bridge.c:
7349 Initial work for toolkit-level key snooper connection by bridge.
7354 New typedefs and fixes to support new namespacing, and cleaner
7355 separation of cspi bindings from libspi bonobo implementation.
7356 Removed inconsistent and extraneous Spi* namespace prefix that
7357 had crept into cspi headers.
7358 Lots of comment fixes that sed had missed.
7360 * cspi/spi-roletypes.h:
7361 * cspi/spi-statetypes.h:
7362 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7363 to AccessibleRoleType.
7365 * libspi/accessibleeventlistener.h:
7366 Fixed minor namespacing weirdness.
7368 * libspi/deviceeventcontroller.c:
7369 Reordered some internal API for device listeners.
7370 Changed the key registry final boolean to 'is_system_global'
7371 rather than 'is_synchronous', which is more descriptive of its
7373 Added spi_device_event_controller_new().
7374 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7376 * libspi/keystrokelistener.[ch]:
7377 Namespaced KeystrokeListener to SpiKeystrokeListener.
7378 Changed uses of keymasks to use SPI_ prefix, and did other
7381 * libspi/keymasks.h:
7382 Namespaced keymask constants with SPI_ prefix.
7384 * libspi/registry.c:
7385 Some warning fixes, and knock-on fixes from namespace changes.
7388 Added rules for accessx-gui test program.
7390 * test/accessx-gui.c:
7391 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7392 utility. It doesn't actually use at-spi, but it's still cool and
7395 * test/keysynth-demo.c:
7399 Fixes so that these test clients work properly with the namespaced
7400 libraries. (Incompletely tested for technical reasons, fixes may follow)
7403 2001-11-13 Michael Meeks <michael@ximian.com>
7405 * libspi/application.c
7406 (impl_accessibility_application_get_version),
7407 (impl_accessibility_application_get_toolkit_name):
7409 (impl_accessibility_application_set_id),
7410 (impl_accessibility_application_get_id): remove
7411 redundant casting code.
7413 * libspi/action.c (impl_getDescription): fix warnings.
7415 * libspi/accessible.c
7416 (impl_accessibility_accessible_get_parent),
7417 (impl_accessibility_accessible_get_child_at_index),
7418 (impl_accessibility_accessible_get_state),
7419 (impl_accessibility_accessible_get_relation_set):
7420 warning fixes & include action.h
7422 2001-11-13 Michael Meeks <michael@ximian.com>
7424 * *.[ch] fix bits I screwed up:
7426 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7427 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7429 2001-11-13 Michael Meeks <michael@ximian.com>
7431 * *.[ch] Namespace libspi into spi_ and Spi.
7433 2001-13-11 Michael Meeks <michael@ximian.com>
7435 * Makefile.am: dist & install at-spi-1.0.pc
7437 * libspi/Makefile.am: install into at-spi-1.0
7439 * idl/Makefile.am (idldir): install into at-spi-1.0
7441 * at-spi-1.0.pc.in: add.
7443 * configure.in: build it.
7445 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7447 * test/keysynth-demo.c:
7448 Use a 'realize' signal-handler to set the WM properties for
7449 the virtual keyboard, rather than making it a "POPUP" type
7450 override-redirect window (thanks to anders carlsson for that
7453 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7456 * test/keysynth-demo.c:
7457 Added new test of key synthesis, which creates a simple
7458 (mouse-operated) onscreen keyboard. It inserts key events into
7459 the currently-focused window, thus it does not grab keyboard focus
7462 * cspi/spi_registry.c:
7463 Added C binding for AT-SPI generateKeyEvent.
7465 * libspi/deviceeventcontroller.c:
7466 Added call to XFilterEvent so that key listener works with XIM (we
7467 hope). Added event_synth_type to generateKeyEvent, so that we can
7468 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7469 synthesize a press/release pair for KeySyms.
7471 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7473 * libspi/Makefile.am:
7474 * registryd/Makefile.am:
7475 (temporary) hack to include libXtst in libspi and registryd.
7476 (Needed for keystroke synthesis, see below).
7479 Improved API for registerKeystrokeListener, in accordance with
7480 discussions with Gnopernicus team and X server research.
7482 * libspi/registry.c:
7483 * libspi/deviceeventcontroller.c:
7484 * libspi/accessible.c:
7485 * libspi/keystrokelistener.c:
7486 Changes and fixes to support keylisteners for potentially
7487 consumed key events (that is, 'passive grabs').
7488 Added implementation for generateKeyEvent() [untested].
7491 Changes to registerKeystrokeListener() API, as above.
7492 Added deregisterGlobalEventListenerAll(), and
7493 deregisterKeystrokeListener(), which are needed for clean exit of
7495 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7496 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7498 * cspi/spi_registry.c:
7499 Added implementations of function prototypes mentioned above.
7501 * registryd/registryd.c:
7502 Added the key listener event source as a g_timeout(), to allow
7503 receipt of key events that are not caught by GDK (since GDK
7504 doesn't support passive keygrabs, this was necessary).
7507 Changed to attach a keylistener to 'Alt' keys, and
7508 respond to the following keycommands: Alt-M (toggle magnifier);
7509 Alt-F (toggle speech); Alt-Q (quit).
7510 Added an exit routine to deregister the listeners, and a key
7511 listener that prints some key info to the console when a key
7512 matches the listener mask (and is thus received by the listener).
7514 * util/idl/Magnifier.idl:
7515 Changes to magnifier API to support multiple zoom regions,
7516 non-uniform scaling in x and y, markDirty, and a host of other
7517 features that would be useful to magnification.
7520 * util/mag_client.c:
7521 * util/mag_client.h:
7522 * util/mag_control.c:
7524 Source code changes to support the above IDL changes.
7527 As above, and also changes to use a (slower) generic conversion
7528 path for colormap conversions, since the fast RGB conversions have been
7529 reported to fail for 16-bit displays.
7531 2001-10-26 Michael Meeks <michael@ximian.com>
7533 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7535 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7537 * at-bridge/Makefile.am: fix LDFLAGS.
7539 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7541 * at-bridge/bridge.c:
7542 Re-worked listeners for toolkit events, now we have signal
7543 and property listeners. Added a private method
7544 register_atk_event_listeners(), which registers with the
7545 various atk and gtk signals we need to monitor in order to emit
7547 Added emission hook for AtkObject:property-change events, to
7548 support the 'property listeners'.
7549 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7552 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7553 which emit warnings and exit, respectively, if CORBA errors occur
7554 during remote calls, and we now use these methods to check most of
7555 our CORBA calls in the C bindings.
7557 * cspi/spi_accessible.c:
7558 Changed AccessibleSelection_refSelectedChild() to
7559 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7560 now increment refcounts.
7562 * cspi/spi_component.c:
7563 Fixed some long pointer casts (dangerous!) to pass pointers to
7564 CORBA_longs of the proper type to the CORBA stubs, and copy the
7565 data into the longs that were passed into the C bindings code.
7567 * at-bridge/bridge.c:
7569 * libspi/accessible.c:
7570 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7571 hyperlinks, AtkHyperlink is an object type.
7573 * libspi/application.c:
7574 Added various conversions to and from "generic" event types and
7575 atk-specific types; this is really part of the 'bridge'
7576 implementation but is valid for all AtkObject-based accessibility
7579 * libspi/editabletext.c:
7580 Fixed nasty bug wherein editable text's finalize method was
7581 unref'ing tha AtkObject reference that the text parent class was
7582 about to unref _again_. There was also a nasty inheritance bug
7583 that meant that the AccessibleEditableText class was corrupt.
7585 * libspi/selection.c:
7586 Provided implementations for some selection API that was broken.
7588 * idl/Application.idl:
7589 Added registerObjectEventListener () method.
7592 Fixed a number of return values that were Bonobo_Unknowns from
7593 bonobo_object_corba_objref(), which I
7594 forgot to dup before returning. Changed instances of
7595 bonobo_object_corba_objref (bonobo_object(o)) to
7596 BONOBO_OBJREF(o), for concision and clarity.
7598 2001-10-13 Louise Miller <louise.miller@sun.com>
7600 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7601 idl/Event.idl, idl/Registry.idl
7602 Changed these files to include Bonobo_Unknown.idl instead
7605 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7607 * libspi/component.c libspi/component.h:
7608 Fixed typo. Added assertions for object checks in
7609 AccessibleComponent code.
7611 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7613 * idl/Accessible.idl:
7614 Added 'isEqual (Accessible *object)'
7615 method for Accessible. (Not Yet Implemented).
7618 Changed signature of registerKeystrokeListener() to
7619 take a KeySet and KeyEventSeq so that specific keys and event
7620 types could be requested for monitoring, and added a flag
7621 is_synchronous so that either synchronous or asynchronous
7622 notification could be requested. (However this is not all
7623 implemented yet). This also meant adding two new typedefs,
7624 KeyEventSeq and KeySet.
7627 Added two new relations, RELATION_TOOLTIP_FOR and
7628 RELATION_LEAFNODE_OF.
7631 Added new state, STATE_HAS_TOOLTIP.
7633 * libspi/text.c, editabletext.c:
7634 Added new assertions to all casts of bonobo-objects from
7635 CORBA servants, to prevent Text API calls on non-text objects.
7636 Changed suspect casts of int-pointer types, so that we
7637 always send a valid CORBA_long pointer to the CORBA APIs that use
7638 in/out long parameters. We then have to copy from the CORBA_long
7639 into the regular long or int for return to the C bindings, or
7640 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7643 * libspi/deviceeventcontroller.c:
7644 Cleaned these sources up.
7646 Changed return type for getCharacterAtOffset to
7647 CORBA_unsigned_long, to allow for 32-bit characters.
7650 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7654 Fixed 'make dist' so that distro compiles...
7655 * libspi/keymasks.h:
7657 * cspi/spi-listener.c:
7658 KeystrokeListenerCB now returns a boolean.
7660 Added KeyEventType struct, and KeyStroke.
7661 Also added createKeystrokeListener(),
7662 KeystrokeListener_addCallback(),
7663 KeystrokeListener_removeCallback(), and added a keymask to
7664 registerKeystrokeListener().
7665 * cspi/spi_accessible.c:
7666 Changed numerous return types for interfaces from
7667 AccessibleComponent to Accessible<InterfaceName>; this was
7668 probably a cut-and-paste error.
7670 Implementations of new KeystrokeListener api (from spi.h,
7673 Changes to key modifier mapping.
7674 Created ControllerEventMask struct.
7675 Made DeviceEventController derive from Bonobo::Unknown.
7677 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7678 * libspi/deviceeventcontroller.c:
7679 Added a number of new internal (private) methods.
7680 * libspi/editabletext.c:
7681 * libspi/editabletext.h:
7682 Fixed a number of bugs related to the fact that
7683 editabletext inherits from text. Fixed the EditableText struct,
7684 the init() call, and use correct casts when calling Text methods
7685 from an EditableText object. Removed (duplicate) atko from the
7686 EditableText structure, we use the one in the parent Text
7687 structure via the casts mentioned above.
7688 * libspi/keystrokelistener.[ch]:
7689 * libspi/registry.c:
7690 Changes in support of keyboard handling (above).
7692 Keyboard handling, though partly functional, is still not
7693 recommended for at-spi client use as there is considerable
7694 work yet to be done.
7697 Changed some places where pointers to various int types
7698 are cast to be pointers to CORBA_long types and vice-versa:
7699 pointer casting is not safe so we pass pointers of the correct
7700 types and then cast the result before putting it into the target
7703 * libspi/text.h: minor typos corrected.
7705 We now speak not only the name of a Text element, but the
7706 first sentence of its content, when it receives focus.
7707 I also changed the text compression to 75% from 50%.
7708 * util/Accessibility_Util.server.in:
7709 Changed the default magnifier type to be a 3x vertical
7710 splitscreen magnifier (was previously a 2x horizontal one).
7712 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7714 * libspi/keystrokelistener.h:
7715 * libspi/keystrokelistener.c:
7716 Initial functional implementations of KeystrokeListener.
7719 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7721 Fixed string handling for NULL strings in libspi.
7722 Added spi_freeString to free strings returned by C bindings.
7724 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7726 * libspi/keystrokelistener.h:
7727 * libspi/keystrokelistener.c:
7728 Began (no-op) implementations of KeystrokeListener
7730 * libspi/deviceeventcontroller.c:
7731 * libspi/deviceeventcontroller.h:
7732 Began creating implementations of DeviceEventController,
7733 to handle keystroke and mouse event listening and
7735 * libspi/accessible.c:
7736 Stubbed-in the implementations for
7737 Accessibility_Accessible_getState and
7738 Accessibility_Accessible_getRelationSet.
7739 * libspi/registry.c:
7740 Improved de-registration process and fixed some bugs,
7741 deregistration now works correctly.
7743 Added initialization of applications list (to NULL).
7745 Reduced speech compression from 0.5 to 0.7, for demo.
7746 Changed call to gdk_window_set_decorations()
7747 to gtk_window_set_decorated().
7748 * at-bridge/bridge.c:
7749 Bridge now deregisters when app exits, via
7750 registration of a cleanup function
7751 with the g_atexit() call.
7752 Required making 'app' static, renamed 'this_app'.
7753 Fixed broken use of bonobo_init, passing argv wrongly.
7755 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7759 Created a new directory for
7760 accessibility-related utilities, primarily for
7761 testing and demo purposes, but with possible
7768 Onscreen magnifier utility that
7769 is implemented as a bonobo service.
7771 * util/mag_client.c:
7772 * util/mag_client.h:
7773 Client-side support (simple C bindings)
7774 for Magnification service
7776 * util/mag_control.c:
7777 Client program example for
7778 Magnification service
7780 * util/Accessibility_Magnifier.server.in:
7781 Bonobo-activation file for the
7782 Magnification service.
7785 * util/idl/Magnifier.idl:
7786 IDL defining the bonobo Magnification
7790 Modifications to use the bonobo-activated magnifier
7791 above, in place of trying to connect to an existing
7792 magnifier that uses socket-listening IPC.
7794 If env variable MAGNIFIER is set, a magnifier service
7795 will be started if one does not exist.
7797 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7799 * at-bridge/bridge.c:
7800 applied patch from Marc to build and run
7801 against new glib and gtk+ (seemed like a change
7802 to bonobo_init signature was made ?)
7804 made festival-server support turned off by default.
7805 Added support for a simple magnifier (off by default)
7806 which will be added to a 'util' directory later.
7807 * at-bridge/Makefile.am:
7808 Changed "application.h" header from a 'source'
7809 to a 'dependency' of libat-bridge.
7811 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7820 Added interface implementation c files to list of
7821 includes so they are included in libcspi.
7824 Changed prototype of AccessibleAction_doAction to return a
7826 Changed prototype of AccessibleTable_getCaption to
7827 return an Accessible.
7828 Changed prototype of AccessibleTable_getSelectedRows
7829 and AccessibleTable_getSelectedColumns to
7830 return a long (returns the number of selected rows
7831 or columns respectively).
7832 Changed name of AccessibleText_refRunAttributes to
7833 AccessibleText_getAttributes.
7834 Changed prototype of AccessibleText_getCharacterExtents to
7835 return a void rather than a boolean.
7836 Added support for a AccessibleCoordType parameter
7837 specifying what type of coordinates are desired.
7838 Added an AccessibleCordType parameter to
7839 AccessibleText_getPointAtOffset.
7841 * cspi/spi_accessible.c:
7842 Added code to return the outstanding interfaces from
7843 Accessible_queryInterface.
7845 * cspi/spi_action.c:
7847 Corrected call to getNActions to call the c binding
7850 * cspi/spi_editabletext.c:
7852 Changed name from setRunAttributes to setAttributes.
7854 * cspi/spi_hyperlink.c:
7856 Changed call to getNAnchors to correctly call the c
7857 binding for an attribute.
7859 * cspi/spi_hypertext.c:
7861 Changed getImageDescription to correctly call the
7862 binding for an attribute.
7864 * cspi/spi_selection.c:
7865 Changed getNSelectedChildren to correctly call the c
7866 binding for the attribute.
7867 Changed refSelectedChild to getSelectedChild.
7871 Changed getCaption to return an Accessible.
7872 Fixed calls which retrieve attributes.
7873 Changed refAt to getAccessibleAt.
7874 Changed getNSelectedRows and getNSelectedColumns to
7878 Changed getCharacterExtents and getPointAtOffset to accept an
7879 AccessibleCoordType.
7881 Changed calls which retrieve attributes.
7882 Changed refRunAttributes to getAttributes.
7887 * idl/Hyperlink.idl:
7888 Changed n_anchors attribute to nAnchors to keep naming
7889 convention consistent.
7892 Made Table inherit from Bonobo::Unknown.
7893 Added nSelectedColumns and nSelectedRows attributes.
7896 Made Value inherit from Bonobo::Unknown.
7898 * libspi/hyperlink.c:
7899 Change for nAnchors attributte name change.
7901 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7909 Added interface implementation c files to list of
7910 includes so they are included in libcspi.
7913 Changed prototype of AccessibleAction_doAction to return a
7915 Changed prototype of AccessibleTable_getCaption to
7916 return an Accessible.
7917 Changed prototype of AccessibleTable_getSelectedRows
7918 and AccessibleTable_getSelectedColumns to
7919 return a long (returns the number of selected rows
7920 or columns respectively).
7921 Changed name of AccessibleText_refRunAttributes to
7922 AccessibleText_getAttributes.
7923 Changed prototype of AccessibleText_getCharacterExtents to
7924 return a void rather than a boolean.
7925 Added support for a AccessibleCoordType parameter
7926 specifying what type of coordinates are desired.
7927 Added an AccessibleCordType parameter to
7928 AccessibleText_getPointAtOffset.
7930 * cspi/spi_accessible.c:
7931 Added code to return the outstanding interfaces from
7932 Accessible_queryInterface.
7934 * cspi/spi_action.c:
7936 Corrected call to getNActions to call the c binding
7939 * cspi/spi_editabletext.c:
7941 Changed name from setRunAttributes to setAttributes.
7943 * cspi/spi_hyperlink.c:
7945 Changed call to getNAnchors to correctly call the c
7946 binding for an attribute.
7948 * cspi/spi_hypertext.c:
7950 Changed getImageDescription to correctly call the
7951 binding for an attribute.
7953 * cspi/spi_selection.c:
7954 Changed getNSelectedChildren to correctly call the c
7955 binding for the attribute.
7956 Changed refSelectedChild to getSelectedChild.
7960 Changed getCaption to return an Accessible.
7961 Fixed calls which retrieve attributes.
7962 Changed refAt to getAccessibleAt.
7963 Changed getNSelectedRows and getNSelectedColumns to
7967 Changed getCharacterExtents and getPointAtOffset to accept an
7968 AccessibleCoordType.
7970 Changed calls which retrieve attributes.
7971 Changed refRunAttributes to getAttributes.
7976 * idl/Hyperlink.idl:
7977 Changed n_anchors attribute to nAnchors to keep naming
7978 convention consistent.
7981 Made Table inherit from Bonobo::Unknown.
7982 Added nSelectedColumns and nSelectedRows attributes.
7985 Made Value inherit from Bonobo::Unknown.
7987 * libspi/hyperlink.c:
7988 Change for nAnchors attributte name change.
7991 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7993 implementations-- made server implementations own AtkObject pointers
7994 rather than their respective AtkInterrface pointers to fix
7995 refcounting. AtkHyperlink is still broken.
7997 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7998 * cspi/spi_accessible.c:
7999 Added method Accessible_Role_getName(),
8000 and requisite string array (role_names).
8001 Added conversion string_from_corba_strin() call
8002 to Accessible_getName and _getDescription.
8003 * libspi/accessible.c:
8004 Added implementation for Accessible_getRole()
8006 Added festival support, used if environment variable
8009 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8011 * at-bridge/bridge.c:
8012 Now allocate Accessibility_Event using
8013 Accessibility_Event__alloc() instead of g_new0().
8014 * libspi/accessibleeventlistener.c:
8015 Initialize AccessibleEventListener->callbacks to NULL.
8016 Fixed accessible__event_listener_init() param, changed to
8017 "AccessibleEventListener *" type.
8018 Changed a bonobo_object_release_unref() call to
8019 Accessibility_Accessible_unref().
8020 * libspi/listener.c:
8021 Changed Bonobo_Unknown_unref to (equivalent)
8022 Accessibility_Accessible_unref.
8023 * libspi/registry.c:
8024 Changed bonobo_object_release_unref to
8025 Accessibility_Accessible_unref.
8027 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8030 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
8031 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
8032 spi-util.c spi-util.h
8033 Implementations for C bindings to remaining accessibility
8036 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8039 changed return value of Action from void to boolean to
8040 bring in line with ATK.
8043 Changed getText funcions to return "out" start and end offsets.
8044 Changed getAttributes to take and offset and return the start
8045 and end offset of the attribute run.
8046 Changed getOffsetAtPoint and getCharacterExtents to take an
8047 enum describing whether coordinates are window or screen.
8050 libspi/action.c libspi/action.h libspi/editabletext.c
8051 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
8052 libspi/hypertext.c libspi/hypertext.h libspi/image.c
8053 libspi/image.h libspi/selection.c libspi/selection.h
8054 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
8055 libspi/value.c libspi/value.h
8056 Added server implementations for outstanding ATK interfaces
8057 not yet implemented.
8059 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8062 Added (missing) getName() method.
8063 Made nActions an attribute.
8064 * idl/EditableText.idl:
8065 Changed order of params in setAttributes.
8066 * idl/Hyperlink.idl:
8067 Removed getAnchor, added getURI.
8069 Changed attributes to methods, for efficiency
8070 (so that getting extents can be done in one call)
8071 * idl/Selection.idl:
8072 Changed nSelectedChildren to attribute, and re-indented.
8073 * idl/Table.idl: changed nrows, ncolumns, caption, summary
8075 * idl/Text.idl: reformatted to match our coding style.
8076 (temporarily?) removed getRowColumnAtOffset().
8077 Changed text selection API to support multi-select and
8078 non-contiguous selections, as in ATK.
8079 * idl/Value.idl: changed some methods to attributes.
8081 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8083 * libspi/listener.c(impl_notify_event):
8084 BonoboUnkown_unref the source instead
8085 of bonobo_object_release_unref - the ORB
8086 handles the releasing.
8088 * configure.in: require ORBit-2.3.94 for
8091 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8093 Tagged CVS repository 'EA_1_0'.
8094 * README.EARLY_ACCESS:
8095 Alphabetized acknowledgements list, and
8097 Listed some known dependencies of at-spi.
8099 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8101 * docs/at-spi-docs.sgml:
8102 * docs/at-spi-sections.txt:
8103 * docs/at-spi-overrides.txt: (Added zero-length file)
8104 Documentation improvements - gtk-doc should build
8105 docs for all implemented C bindings now.
8108 * cspi/spi.c: (New file)
8109 * cspi/spi_event.c: (New file)
8110 * cspi/spi_registry.c: (New file)
8111 * cspi/spi_accessible.c: (New file)
8112 * cspi/spi_application.c: (New file)
8113 * cspi/spi_component.c: (New file)
8114 Split spi_main.c into six parts, and included them from
8115 "spi.c". This is a bit of a hack, probably temporary,
8116 but required by gtk-doc, apparently.
8118 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8121 * docs/at-spi-docs.sgml:
8122 * docs/at-spi-sections.txt:
8124 Initial checkins/modifications for gtk-doc generation.
8127 Added (missing) interface query methods to Accessible's C binding.
8129 Added GenericInterface type definition.
8131 Added query for AccessibleComponent interface to focus event handler.
8132 Added printout of bounding box for focussed component.
8133 * libspi/component.c:
8134 Added partial implementation for AccessibleComponent to C binding.
8135 * idl/Application.idl:
8136 * libspi/registry.c:
8137 * libspi/listener.c:
8138 * libspi/application.c:
8139 * libspi/application.h:
8140 Changed "ID" attribute type from string to long.
8142 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8146 Made method naming consistent: methods taking object args
8147 start with uppercase, other methods (except those using
8148 acronyms) start with lowercase. Underscores delimit between
8149 object names and method names:
8150 SPI_init() - uppercase since it starts with an acronym.
8151 getDesktopCount () - lowercase start since no object param0.
8152 Accessible_getName() - uppercase object type name, studlyCaps method
8156 Added gtk-doc documentation for all currently implemented
8157 methods in the C bindings API.
8159 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8161 * Makefile.am : changed build order to build test last.
8164 Changed "createEventListener" to "CreateEventListener".
8165 * libspi/accessibleeventlistener.c :
8166 Bugfix for addition of callbacks.
8167 * test/Makefile.am :
8168 * test/simple-at.c :
8169 Added new test that uses the C bindings API.
8171 * libspi/listener.c :
8172 * libspi/registry.c :
8173 * libspi/accessibleeventlistener.c :
8174 * at-bridge/bridge.c :
8175 Renamed member "target" of Accessibility_Event to "source",
8176 which is more descriptive.
8179 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8183 * cspi/Makefile.am :
8184 Added makefile support for at-spi/cspi directory.
8187 * cspi/spi-listener.h : (NEW FILE)
8188 Added support for/use of spi-listener.h.
8190 C bindings now build successfully, with no warnings.
8191 * libspi/accessibleeventlistener.h : (NEW FILE)
8192 * libspi/accessibleeventlistener.c : (NEW FILE)
8193 * libspi/Makefile.am :
8194 Added new object type "AccessibleEventListener"
8195 which inherits from Listener, and allows attachment
8196 of in-process callbacks (so that a client with a listening
8197 object instance can add functionality to the local
8198 implementation, dynamically).
8200 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8202 * libspi/accessible.c:
8203 Add implementation for get_index_in_parent().
8205 Added #include of "spi-roletypes.h", and
8206 added enumerated type AccessibleCoordType.
8207 Added definition for KeystrokeListener (function type).
8210 * cspi/spi-statetypes.h :
8211 * cspi/spi-roletypes.h :
8213 Added these headers, used by spi.h.
8215 Added code (NOTE: not yet built by make).
8217 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8219 * libspi/Makefile.am: generate imodule
8220 at the same time as other idl compiler
8223 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8224 * libspi/registry.c :
8225 * libspi/application.c :
8226 * idl/Application.idl :
8227 Made registration with toolkit an application method,
8228 which is required since each app has its own toolkit static
8229 environment. Thus the bridge must register for
8230 notification of toolkit events from each application in turn.
8231 Toolkit notifications are now successfully registered for, and
8232 sent to the listening at client.
8234 Changed toolkit event string to use hyphens rather than underscores.
8235 * libspi/listener.c :
8236 listner now gives more info in debug mode - it reports the
8237 name of the event received, as well as the name of the source.
8240 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8242 * libspi/registry.c :
8243 added more implementation for toolkit events.
8244 Fixed bug such that toolkit event registrations
8245 (via atk) use the whole event name string, not
8247 Removed a useless call to an ORBit_ method.
8248 * at-bridge/bridge.c :
8249 Removed unused local sbuf[] variable.
8251 We now register for Gtk:GtkWidget:button_press_event
8252 events as well as "focus:" events.
8254 Add some more API from Registry.idl that was missing,
8255 for keystroke listening, keystroke and mouse event
8256 synthesis, and enumeration of accessible desktops.
8258 2001-08-16 Michael Meeks <michael@ximian.com>
8260 * configure.in: use AM_GLIB_GNU_GETTEXT.
8262 * Makefile.am (SUBDIRS): kill intl.
8264 2001-08-15 Michael Meeks <michael@ximian.com>
8266 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8268 * configure.in: upd.
8270 * configure.in: depend on a recent bonobo-activation that
8271 will find our server files ...
8273 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8275 * libspi/accessible.c : accessible_new() :
8276 Now we add the Component interface via bonobo_object_add_interface,
8277 if the contained AtkObject implements AtkComponent.
8278 * libspi/accessible.h : now include "component.h"
8279 * libspi/component.h :
8280 * libspi/component.c : added files - implementation of
8281 bonobo wrapper object for Accessibility/Component
8282 * libspi/listener.c :
8283 Added test code to check for Accessibility/Component:1.0
8284 interface and report whether it is implemented by the
8286 * libspi/registry.c :
8287 Now we check for not only the hash of the whole event
8288 string before relaying the event, we also check the
8289 "minor" event string (without the detail string).
8290 This allows event listeners to be registered against
8291 all events of a certain major+minor type, or just
8292 against a specific major+minor+detail type.
8293 * libspi/accessible.c :
8294 Added implementations for Accessible:get_parent(),
8295 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8296 * libspi/registry.c :
8297 * libspi/listener.c :
8298 Replaced calls to Accessibility_Accessible_ref() and
8299 Accessibility_Accessible_unref() with
8300 calls to bonobo_object_dup_ref() and
8301 bonobo_object_release_unref(), so that the CORBA object
8302 is dup-ed and released when relayed, as well as the bonobo object.
8304 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8306 * libspi/Makefile.am,
8307 registryd/Makefile.am,
8308 at-bridge/Makefile.am.
8309 test/Makefile.am, configure.in:
8310 reverse previous changes.
8312 * /idl/Image.idl: fix typo.
8314 * test/Makefile.am: put DEBUG_FLAGS
8317 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8319 * test/app.c: use argv[0] instead of
8322 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8324 * libspi/Makefile.am,
8325 registryd/Makefile.am,
8326 at-bridge/Makefile.am.
8327 test/Makefile.am, configure.in:
8328 cleanup, replace individual LIBS/CFLAGS with
8329 AT_COMMON_{LIBS|CFLAGS}.
8333 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8335 * configure.in, libspi/Makefile.am:
8336 Change IDL path checking for bonobo-activation
8339 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8341 * registryd/registry.c : separated event listeners to use
8342 3 separate lists (focus, window, toolkit). Began testing
8343 event names against hashes before relaying events.
8344 * test/at.c : now register for events of type "focus:"
8345 * test/app.c : now generate events of type "focus:"
8346 * at-bridge/bridge.c : register with ATK for focus events,
8347 and we now relay those focus events to any "focus:" listeners.
8348 This now works with the bridge as a GTK_MODULE when running test/at.
8349 * libspi/registry.c :
8350 * libspi/listener.c :
8351 now we ref event sources before propagating, and unref on receipt.
8352 * libspi/registry.c :
8353 some changes to internal structs, to support event typestring hashes.
8354 * text/app.c : changed the way the appname is generated.
8355 * cspi : added directory that will hold the C bindings library for
8356 non-CORBA/bonobo-savvy clients.
8357 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8358 * idl/Component.idl : added in parameter to indicate coord system for
8359 geometry-related calls.
8360 * idl/Hyperlink.idl : added readonly n_links attribute
8361 * idl/Image.idl : changed methods to attributes.
8363 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8365 * at-bridge/Makefile.am: link against
8366 ../libspi/libspi.la instead of -lspi.
8368 * at-spi/test/app.c: include
8369 bonobo-activation.h. Use a default appname
8370 if one is not provided.
8372 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8374 * idl/Registry.idl : temporarily changed register_Application
8375 to oneway, to work around issue with initial registration
8377 * idl/Application.idl : changed attribute "id" from readonly
8378 to read-write, since it needs to be assigned by Registry.
8379 * registryd/registryd.c : added call to set application id
8381 * registryd/registry.c : changed de-registration procedure to
8382 use CORBA_Object_hash() to find matching object ref in application
8383 lists and listener lists.
8384 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8385 began distinguishing between event types (work in progress).
8387 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8390 * libspi/application.c:
8391 Added implementations for get/set id, get_toolkitName,
8393 * registryd/registryd.c :
8397 Converted from use of OAF to bonobo-activation.
8398 * libspi/desktop.h :
8399 * libspi/desktop.c :
8401 Removed references to atksimpleobject, since base atkobject
8402 implementation now provides functionality we need.
8403 * libspi/atksimpleobject.c :
8404 * libspi/atksimpleobject.h :
8409 * at-bridge/Makefile.am
8410 * at-bridge/bridge.c
8413 Added directory "bridge" and contents, and added dependencies
8414 in Makefile.am/configure.in.
8415 Initial checkin of "at-bridge".
8416 This code is a GTK_MODULE which automatically registers
8417 GTK+ apps with the accessibility registry, using an object
8418 reference to the root ATK object.
8420 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8422 * po/Makefile.in.in: Remove. Again. If this
8423 doesn't get autogenerated - you need to update
8426 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8428 * po/Makefile.in.in: Add. Again.
8430 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8432 * libspi/accessible.c : added support for 'description' property.
8433 * libspi/accessible.c
8435 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8436 (since the two are now equivalent in libbonobo)
8444 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8445 Bonobo::Unknown as does Accessibility::Accessible.
8446 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8447 interface with Bonobo::Stream, since it was redundant with it.
8448 (The Stream returned by a StreamableContext object is expected to
8449 implement only a subset of Bonobo::Stream)
8451 2001-07-28 Anders Carlsson <andersca@gnome.org>
8453 * libspi/accessible.c (accessible_object_finalize): Change
8454 g_free to g_object_unref since the AtkObject is a GObject.
8456 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8458 * idl/Accessibility.idl: add new IDL files
8461 * idl/Action.idl: Definitions of actionable UI object
8462 * idl/Component.idl: Definitions of UI component geometry, etc.
8463 * idl/Hyperlink.idl: Defs of hyperlink behavior
8464 * idl/Image.idl: Def of accessible image
8465 * idl/Selection.idl: Definition of UI object with selectable children
8466 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8467 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8468 * idl/Text.idl: Interface defs for UI elements with complex textual content
8469 * idl/Value.idl: Definition of UI element that is a value controller or display
8471 2001-07-27 Michael Meeks <michael@ximian.com>
8473 * po/Makefile.in.in: remove autogenerated file from CVS.
8475 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8478 * idl/Registry.idl: include guard.
8480 * idl/Accessibility.idl: Add, and include all the other IDL
8483 * idl/*.idl: remove mass of pragmas etc.
8485 2001-07-26 Michael Meeks <michael@ximian.com>
8487 * registryd/Makefile.am (registryd_SOURCES): remove
8490 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8492 * libspi/.cvsignore, registryd/.cvsignore,
8493 test/.cvsignore: updated.
8495 * po/Makefile.in.in: gettext update.
8497 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8499 * initial CVS checkin
8501 2001-06-29 Michael Meeks <michael@ximian.com>
8503 * configure.in: add AM_CONFIG_HEADER to gen config.h