1 2008-03-19 Li Yuan <li.yuan@sun.com>
3 * atk-bridge/bridge.c: (spi_atk_emit_eventv):
4 Bug #520490. Remove unused call.
6 2008-03-19 Li Yuan <li.yuan@sun.com>
8 * libspi/collection.c: (match_attributes_none_p), (inorder),
10 * registryd/deviceeventcontroller.c:
11 (impl_generate_keyboard_event):
12 Bug #521667. Patch from Jens Granseuer <jensgr@gmx.net>.
13 Fixes several C99 idioms that lead to compilation errors
14 with older compilers like gcc 2.x. Also removes a few unused
17 2008-03-14 Li Yuan <li.yuan@sun.com>
19 * atk-bridge/bridge.c: (deregister_application):
20 Bug #522356. Since in desktop.c:spi_desktop_remove_application, we
21 call bonobo_object_release_unref for the object, we don't need to
22 unref the object again.
24 2008-03-10 Li Yuan <li.yuan@sun.com>
31 2008-02-27 Ariel Rios <ariel@gnu.org>
33 * idl/Accessibility_Collection.idl:(getMatchesTo,
34 getMatchesFrom) API Change that adds in order querys.
35 * libspi/collection.c:
36 (sort_order_rev_canonical): Method to do querys and get results in
37 canonical reverse. New.
38 (inorder): Help method for getMatchesInOrder.
39 (getMatchesInOrder):New method to get next matches from a given object
41 (getMatchesInBackOrder): New method to get previous matches from a
42 given object in order.
43 (getMatchesFrom), (getMatchesTo): Old impl_getMatches[From/To] to be
44 able to accomodate in order querys.
45 (impl_getMatchesFrom), (impl_getMatchesTo): New implementation that
46 accomodate in order querys.
47 (spi_collection_interface_new),
48 (get_collection_from_servant), (impl_createMatchRule),
49 (child_interface_p), (match_states_all_p), (match_states_any_p),
50 (match_states_none_p), (match_states_lookup), (match_roles_all_p),
51 (match_roles_any_p), (match_roles_none_p), (match_roles_lookup),
52 (match_interfaces_all_p), (match_interfaces_any_p),
53 (match_interfaces_none_p), (match_interfaces_lookup),
54 (match_attributes_all_p), (match_attributes_any_p),
55 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
56 (sort_order_canonical), (query_exec), (impl_getMatches),
57 (spi_collection_init): Clean code.
59 Bug #496232. Work by Ariel Rios <ariel@gnu.org> and
60 Scott Haeger <scott@bashautomation.com>.
62 2008-02-25 Li Yuan <li.yuan@sun.com>
67 Uprev/release 1.21.92.
69 2008-02-25 Li Yuan <li.yuan@sun.com>
71 * registryd/deviceeventcontroller.c: (global_filter_fn),
72 (dec_lock_modifiers), (dec_unlock_modifiers),
73 (impl_generate_keyboard_event): patch from Franz.Netykafka@runbox.no.
74 Bug #508147. Lock/Unlock modifier keys when xkb extension is
77 2008-02-22 Scott Haeger <scott@bashautomation.com>
79 * libspi/collection.c:
80 Fixed bug #517761, Collection match rules not working for attributes.
82 2008-02-19 Li Yuan <li.yuan@sun.com>
84 Patch from Scott Haeger <scott@bashautomation.com>
85 * libspi/collection.c: (impl_freeMatchRule):
86 Bug #517250. Clear spimatchrule->_mrp when free match rule.
88 2008-01-14 Li Yuan <li.yuan@sun.com>
95 2008-01-03 Li Yuan <li.yuan@sun.com>
97 Patch from Gilles Casse <gcasse@oralux.org>
98 * atk-bridge/bridge.c: (spi_atk_register_event_listeners):
99 Bug #474480. Fix memory leak.
101 2008-01-02 Li Yuan <li.yuan@sun.com>
103 Patch from Luke Yelavich <themuso@themuso.com>
104 * registryd/Accessibility_Registry.server.in.in:
105 Marks translatable strings in
106 registryd/Accessibility_Registry.server.in.in, so that intltool picks
109 2007-12-03 Li Yuan <li.yuan@sun.com>
111 * configure.in, README, NEWS:
112 Uprev/release 1.21.3.
114 2007-12-03 Li Yuan <li.yuan@sun.com>
116 * idl/Accessibility_Collection.idl:
117 * libspi/collection.c:
118 (impl_getMatchesFrom), (impl_getMatchesTo):
119 Fix build error in Solaris, for restrict is a keyword in SS cc.
121 2007-12-03 Li Yuan <li.yuan@sun.com>
123 * idl/Accessibility_Collection.idl:
124 * libspi/accessible.c: (spi_accessible_construct):
125 * libspi/collection.c: (spi_collection_interface_new),
126 (get_atkobject_from_servant), (get_collection_from_servant),
127 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
128 (match_states_all_p), (match_states_any_p), (match_states_none_p),
129 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
130 (match_roles_none_p), (match_roles_lookup),
131 (match_interfaces_all_p), (match_interfaces_any_p),
132 (match_interfaces_none_p), (match_interfaces_lookup),
133 (match_attributes_all_p), (match_attributes_any_p),
134 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
135 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
136 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
137 (spi_collection_class_init), (spi_collection_init):
138 * libspi/collection.h:
139 Bug #326516. Patch from Ariel. Enhance collection support.
141 2007-12-03 Li Yuan <li.yuan@sun.com>
143 * atk-bridge/Makefile.am:
144 * libspi/Makefile.am:
145 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
147 2007-11-12 Li Yuan <li.yuan@sun.com>
149 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
150 (impl_accessibility_accessible_get_relation_set):
151 Fix for #446277. Decrease the ref count to 1.
153 2007-10-29 Li Yuan <li.yuan@sun.com>
155 * configure.in, README, NEWS:
156 Uprev/release 1.21.1.
158 2007-10-15 Li Yuan <li.yuan@sun.com>
160 * MAINTAINERS: add Willie Walker and Eitan Isaacson
163 2007-09-17 Li Yuan <li.yuan@sun.com>
165 * configure.in, README, NEWS:
166 Uprev/release 1.20.0.
168 2007-09-08 Li Yuan <li.yuan@sun.com>
170 * registryd/deviceeventcontroller.c:
171 (spi_key_event_matches_listener):
172 Bug #474796. Should not checkmask bit 14 when sond out
175 2007-08-20 Li Yuan <li.yuan@sun.com>
177 * libspi/base.c: (spi_base_construct):
178 Avoid unnecessary crash. Bug #467612.
180 2007-08-01 Li Yuan <li.yuan@sun.com>
182 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
183 Fix a potential dead-lock issue. Bug #462412.
185 2007-07-09 Li Yuan <li.yuan@sun.com>
187 * configure.in, README, NEWS:
188 Uprev/release 1.19.5.
190 2007-07-09 Li Yuan <li.yuan@sun.com>
192 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
193 Bug #446277. Control the ref_count to 1, so Orca can unref the
194 state_set and avoid the memory leak.
196 2007-06-26 Li Yuan <li.yuan@sun.com>
198 * atk-bridge/Makefile.am:
199 Bug #450897. Set logging domain.
200 * registryd/registry.c: (parse_event_type):
202 Handle the "document:" signal, set the type to
205 2007-06-04 Li Yuan <li.yuan@sun.com>
207 * configure.in, README, NEWS:
208 Uprev/release 1.19.3 for GNOME 2.19.3.
210 2007-05-30 Willie Walker <william.walker@sun.com>
212 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
213 439436 to add pyatspi to autotools stuff so it gets installed as
214 part of a make install.
216 2007-05-17 Li Yuan <li.yuan@sun.com>
219 Bug #439057. Add the original PATH to PATH.
221 2007-04-23 Li Yuan <li.yuan@sun.com>
223 * configure.in, NEWS:
224 Uprev/release 1.19.1 for GNOME 2.19.1.
226 2007-04-18 Li Yuan <li.yuan@sun.com>
228 * pyatspi/__init__.py:
229 * pyatspi/accessible.py:
230 * pyatspi/constants.py:
232 * pyatspi/registry.py:
234 Bug #430938. Add some files to create the uniform Python
237 2007-04-12 Li Yuan <li.yuan@sun.com>
239 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
240 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
241 Fix #427836. Fix leak and unify the code style.
243 2007-04-12 Yi Jin <yi.jin@sun.com>
245 * atk-bridge/bridge.c:
246 (spi_atk_bridge_focus_tracker):
247 Bug #428007. Fix a memory leak.
249 2007-04-02 Ariel Rios <ariel@gnu.org>
251 Implement the Matchrule interface required for Collection.
257 * cspi/spi_accessible.c: (Accessible_isCollection),
258 (Accessible_isMatchRule), (Accessible_getCollection),
259 (Accessible_getMatchRule):
260 * cspi/spi_collection.c: new file.
261 * cspi/spi_matchrule.c: new file.
262 * idl/Accessibility.idl:
263 * idl/Accessibility_Collection.idl: new file.
265 * libspi/Makefile.am:
266 * libspi/collection.c: new file.
267 * libspi/collection.h: new file.
269 * libspi/matchrule.c: new file.
270 * libspi/matchrule.h: new file.
272 2007-03-29 Ariel Rios <ariel@gnu.org>
274 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
276 2007-03-22 Li Yuan <li.yuan@sun.com>
278 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
279 main context. Fix for #329454.
281 2007-03-12 Li Yuan <li.yuan@sun.com>
283 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
285 2007-03-02 Li Yuan <li.yuan@sun.com>
287 * atk-bridge/bridge.c
288 (spi_atk_bridge_register_application),
289 (deregister_application), (spi_atk_bridge_focus_tracker),
290 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
291 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
292 to prevent calling threads_enter/leave during the init and shutdown.
294 2007-02-27 Li Yuan <li.yuan@sun.com>
297 (spi_re_entrant_list_delete_link):
298 Bug #412286. Reverse previous patch.
299 * configure.in, NEWS: Uprev/release 1.17.2.
301 2007-02-26 Li Yuan <li.yuan@sun.com>
303 * libspi/accessible.c:
304 (impl_accessibility_accessible_get_attributes),
305 (impl_accessibility_accessible_get_relation_set):
306 Bug #404584 and #401299. Return an empty object instead of return NULL.
307 * configure.in, NEWS: Uprev/release 1.17.1.
309 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
311 * Makefile.am: Dist MAINTAINERS.
313 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
315 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
316 (atk_bridge_init), (spi_atk_bridge_get_registry),
317 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
318 Fix some compiler warnings and plug a leak. Closes part of
321 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
323 * cspi/bonobo/cspi-bonobo-listener.h:
324 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
325 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
326 * cspi/spi_main.c: (SPI_eventIsReady):
327 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
328 * libspi/streamablecontent.c:
329 * libspi/util.c: (spi_re_entrant_list_delete_link):
330 * login-helper/login-helper.c:
331 * registryd/deviceeventcontroller.c:
332 (spi_controller_update_key_grabs), (isEvent):
333 * registryd/registry.c:
334 * test/key-listener-test.c: (simple_at_exit):
335 * test/login-helper-server-test.c: (test_set_wm_dock),
337 Fix a bunch of warnings from sparse:
338 - ANSIfication of function declarations
340 - Add some prototypes
341 - make some stuff static
343 2007-02-14 Li Yuan <li.yuan@sun.com>
345 * libspi/accessible.c:
346 (impl_accessibility_accessible_get_attributes):
347 Bug #404584. If there is no attributes, just return NULL.
349 2007-02-12 Li Yuan <li.yuan@sun.com>
351 * configure.in, NEWS: Uprev/release 1.17.0.
353 2007-02-12 Li Yuan <li.yuan@sun.com>
355 * atk-bridge/bridge.c:
356 (atk_bridge_init): bug #400709. we must emit events even if we are not
357 registered as a full-fledged app.
358 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
359 application like openoffice shutdown. They need to unload gtk before
360 the is spi_atk_bridge_exit_func called.
362 2007-01-22 Li Yuan <li.yuan@sun.com>
364 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
366 2007-01-22 Li Yuan <li.yuan@sun.com>
368 * cspi/bonobo/cspi-bonobo.c:
369 (cspi_get_registry_ior), (cspi_init):
370 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
372 2007-01-19 Li Yuan <li.yuan@sun.com>
374 * atk-bridge/bridge.c:
375 (atk_bridge_init), (spi_atk_bridge_register_application),
376 (deregister_application), (spi_atk_bridge_focus_tracker),
377 (spi_atk_emit_eventv):
378 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
381 2007-01-08 Li Yuan <li.yuan@sun.com>
383 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
385 2007-01-08 Li Yuan <li.yuan@sun.com>
387 * registryd/registry-main.c:
388 (main): set registry ior only when register server successfully.
389 * atk-bridge/bridge.c:
390 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
391 Bug #372988, #381670. Fix memory leak.
393 2007-01-02 Bill Haneman <billh@gnome.org>
396 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
397 appending default attributes to a text attribute set.
400 2006-12-28 Li Yuan <li.yuan@sun.com>
402 * atk-bridge/bridge.c:
403 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
404 the second time, because spi_atk_emit_eventv will free any. Bug
407 2006-12-15 Li Yuan <li.yuan@sun.com>
409 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
411 2006-12-14 Li Yuan <li.yuan@sun.com>
414 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
415 (spi_atk_bridge_property_event_listener),
416 (spi_atk_bridge_signal_listener):
417 Free some CORBA objects to fix memory leak and crash.
419 2006-12-13 Li Yuan <li.yuan@sun.com>
421 Patch from Ariel Rios to fix #163132 and #377079.
422 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
423 (spi_atk_bridge_get_registry_ior):
424 Use g_warning instead of g_error and g_critical to avoid crash.
426 2006-12-11 Bill Haneman <bill.haneman@sun.com>
429 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
430 if there are no non-default attributes defined at the current offset.
433 2006-12-04 Bill Haneman <bill.haneman@sun.com>
435 * idl/Accessibility_Role.idl: Fixed the documentation for
436 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
438 2006-12-04 Bill Haneman <bill.haneman@sun.com>
440 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
442 2006-11-07 Bill Haneman <bill.haneman@sun.com>
444 Patches from Padraig O'Briain for bugs #361386 and #369377.
446 * registryd/registry.c:
447 (struct NotifyContext): Change the e_out
448 member from an Accessibility_Event struct to a pointer to
450 (notify_listeners_cb): Modify to use the new struct definition above.
451 Allows use of ORBit_copy_value instead of CORBA_any__copy.
453 * registryd/deviceeventcontroller.c:
454 (spi_dec_button_update_and_emit): Free the event's any_data
456 (spi_dec_mouse_check):Free the event details any struct
458 (spi_device_event_controller_forward_mouse_event): Free any.
459 (spi_device_event_controller_forward_key_event): Ditto.
461 2006-11-07 Bill Haneman <bill.haneman@sun.com>
463 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
464 Don't require gtk+ and gail for building most of at-spi
467 * registryd/registry-main.c (main): We now get te value of display
468 using the env var DISPLAY rather than using the gdk_display_get_default
469 to avoid dependancy of gdk. Also, once the registry is started, we set
470 the ior of the registry as an X property.
471 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
473 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
474 the registration was successfull.
475 (spi_atk_bridge_do_registration): This function now returns success
476 or not on activating the registry.
477 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
478 has been set in the X root window and return it if available.
479 (spi_atk_bridge_get_registry): We now get the registry using the IOR
480 saved as a X property rather than using the OAFID.
482 2006-10-01 Bill Haneman <bill.haneman@sun.com>
484 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
486 2006-09-25 Bill Haneman <bill.haneman@sun.com>
488 * registryd/registry.c:
489 (desktop_remove_application): Don't pass a ref to the
490 dead application with the event, since it's probably
491 defunct and will cause SEGV if we try to unref,
492 extract app name, etc.
495 2006-09-20 Bill Haneman <bill.haneman@sun.com>
497 Patch from Neo Liu <nian.liu@sun.com>,
500 * atk-bridge/bridge.c:
501 (spi_atk_bridge_document_event_listener): New, for
504 2006-08-30 Bill Haneman <bill.haneman@sun.com>
507 Changed some parameter names so as not to
508 collide with class names - allows IDL to be compiled with
509 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
511 2006-08-22 Bill Haneman <bill.haneman@sun.com>
513 * atk-bridge/bridge.c:
514 (spi_atk_bridge_signal_listener):
515 Patch from Ginn Chen, assign detail1 in children-changed
516 so that the child object can be assigned to the Any when the
517 at-spi event is emitted. Bug #350552.
519 * libspi/application.c:
520 (spi_application_finalize): Remove g_print debug output.
523 2006-08-21 Bill Haneman <bill.haneman@sun.com>
525 * configure.in: Revved to AT-SPI 1.7.11.
527 * libspi/accessible.c:
528 (spi_accessible_new): Aggregate Hyperlink interface
529 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
531 * libspi/hyperlink.c:
532 (spi_hyperlink_new): Don't aggregate Action a second time if this
533 interface is created for an AtkHyperlinkImpl object (i.e. for a
534 child Accessible, as opposed to the Hyperlink instance from
536 (get_hyperlink_from_servant): Obtain the hyperlink from
537 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
539 Patch section from Ginn Chen...
541 * cspi/spi_accessible.c:
542 (_cspi_accessible_set_from_sequence):
543 Changed g_newa to g_new0 on Ginn Chen's suggestion.
545 * libspi/accessible.c:
546 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
547 (spi_accessible_new): Add the Document interface if present.
550 (impl_getAttributes): Fixed to use AtkAttribute properly.
553 (impl_getAttributes, impl_getDefaultAttributes):
554 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
556 2006-08-17 Bill Haneman <bill.haneman@sun.com>
558 * cspi/spi-private.h, cspi/spi_accessible.c:
559 (_cspi_attribute_set_from_sequence): Renamed from
560 cspi_attribute_set_from_sequence, to suppress export.
563 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
564 inline docs, which was keeping the doc from appearing.
565 (SPIExceptionHandler): Doc this.
567 * cspi/spi_document.c:
568 Added inline gtk-docs cut-n-pasted from the doxygen
569 docs in the corresponding IDL files.
570 (AccessibleDocument_getAttributes): Fix the retval here.
572 * cspi/spi_streamablecontent.c:
573 Fixed some 'Since' tags that were accidentally doxygen-style.
576 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
577 docs from the IDL file.
579 * docs/reference/cspi/at-spi-cspi-docs.sgml:
580 Added entities for Document and StreamableContent interfaces.
582 * docs/reference/cspi/at-spi-cspi-sections.txt:
583 Added some docs that were present inline but not getting
586 2006-07-31 Bill Haneman <bill.haneman@sun.com>
589 (impl_getRangeExtents): Use the atk_text_get_range_extents
590 API instead of looping over character bounds, now that
592 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
593 (_spi_text_bounds_contain): Remove, not needed anymore.
594 (_spi_text_rect_union): Remove, not needed anymore.
596 2006-07-31 Bill Haneman <bill.haneman@sun.com>
598 * atk-bridge/bridge.c:
599 (spi_atk_emit_eventv): Fix the CORBA_free call which was
600 causing 64-bit troubles and memory leaks.
601 Special thanks to Alexander Larsson who finally seems to
602 have tracked down the problem, not just here but in
606 (spi_init_any_object): Make sure we copy the CORBA value
607 when initializing an object for passing as a CORBA_Any.
610 2006-07-21 Bill Haneman <billh@gnome.org>
612 * idl/Accessibility.idl:
613 Reverted pragma changes, this broke the build in some envs
614 including the Debian team's build and some tinderbox builds.
616 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
619 Revved to 1.7.10, and edited the Xevie check (bug #319994).
621 * idl/Accessibility.idl:
622 Reworked inclusion of Bonobo_Unknown.idl, to
623 avoid double-linking libs in the Bonobo environment.
624 Thanks to Michael Meeks for the workaround, see bug #313122.
626 * registryd/deviceeventcontroller.c:
627 (spi_controller_notify_keylisteners):
628 Set the SPI_NUMLOCK_MASK bit if the modifier
629 corresponding to the conceptual numlock state is set.
632 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
634 * idl/Accessibility_Selection.idl:
635 (deselectChild): New method.
637 * libspi/selection.c:
638 (impl_deselectChild): Implement the new IDL method.
641 (AccessibleSelection_deselectChild): Added new method.
643 * cspi/spi_selection.c:
644 (AccessibleSelection_deselectChild): New method implemented.
646 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
648 * cspi/bonobo/cspi-bonobo.c:
649 (cspi_init): Replace g_error with g_warning, prevent
650 SEGV if the registry cannot be activated. Bug #346393.
652 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
654 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
656 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
657 2006-07-12 Ariel Rios <arios@us.ibm.com>
661 * idl/Accessibility_Table.idl:
662 (getRowColumnExtentsAtIndex): New method for getting
663 selection status and extents in one API call.
666 (impl_getRowColumnExtentsAtIndex): Implementation of
668 (spi_table_class_init): Add above to epv.
672 (AccessibleTable_getRowColumnExtentsAtIndex): New
673 method, retrieves selection status and row/col extents
674 for a table cell in a single API call.
676 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
677 2006-07-12 Ariel Rios <arios@us.ibm.com>
679 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
682 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
683 New bindings for new methods defined in idl and libspi.
686 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
687 Added prototype functions.
690 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
692 (spi_text_class_init): Added previous methods.
695 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
696 * libspi/spi-private.h: Corrections.
698 2006-06-29 Bill Haneman <bill.haneman@sun.com>
700 Added Document interface (see bug #326520),
701 with work from Ariel Rios <arios@us.ibm.com>.
703 * configure.in: Bump to 1.7.8.
705 * libspi/Makefile.am: Added document.[ch] to sources
708 (SpiDocument, SpiDocumentClass):
709 New interface implementation.
710 (spi_document_get_type, spi_document_construct)
711 (spi_document_interface_new): New methods added.
712 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
713 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
714 Added macros for SpiDocument
718 (spi_document_interface_new): Get a
719 new document interface. New.
720 (get_document_from_servant): Get an AtkDocument from servant New.
721 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
722 Implementation of methods defined on idl.
723 (spi_document_class_init, spi_document_init)
724 Init methods for SpiDocument. new
726 * idl/Accessibility.idl: Added Accessibility_Document.idl.
728 * cspi/Makefile.am: Added spi_document.c to sources.
730 * cspi/spi_document.c:
731 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
732 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
733 (AccessibleDocument_getAttributes): Bindings for methods defined
736 * cspi/spi_accessible.c:
737 (Accessible_isDocument, Accessible_getDocument) New.
739 (Accessible_isDocument, Accessible_getDocument)
740 (AccessibleDocument_ref, AccessibleDocument_unref)
741 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
742 (AccessibleDocument_getAttributes): Bindings added.
744 * idl/Makefile.am: Added Accessibility_Document.idl to
747 2006-06-29 Bill Haneman <bill.haneman@sun.com>
749 * idl/Accessibility_Document.idl: New interface
750 for complex documents. First stage of fix for RFE
753 2006-06-27 Bill Haneman <bill.haneman@sun.com>
755 * libspi/streamablecontent.c:
756 (impl_content_stream_close):
757 Unref the GIOChannel on close.
759 2006-06-23 Bill Haneman <bill.haneman@sun.com>
761 * idl/Accessibility_Role.idl:
762 * libspi/accessiblerole.c:
763 * cspi/spi_accessible.c: Added ROLE_LINK,
764 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
765 Bug #345758 and bug #140635.
768 2006-06-22 Bill Haneman <bill.haneman@sun.com>
772 * idl/Accessibility_StreamableContent.idl:
773 Fix derivation of StreamableContent and ContentStream.
775 * cspi/spi_streamablecontent.c:
776 (accessible_content_stream_client_read):
777 Fix the datatype of the content stream used.
778 Interpret short reads as EOF, and stop trying to
779 read when we've fulfilled the request.
780 (AccessibleStreamableContent_getContentTypes):
781 Use g_strdup, not CORBA_string_dup, for the strings.
782 (AccessibleStreamableContent_open):
783 Correctly use the new getStream method for opening,
784 not the deprecated getContent method.
785 Use the object reference as the stream hash key.
786 Make note of the 'one stream per client per streamable'
787 limitation in the docs.
790 Add streamablecontent.h to the list of #includes.
792 * libspi/streamablecontent.c:
793 (impl_content_stream_read): Initialize the GError.
794 Allocate the incoming buffer if reading a fixed length of
795 data. Use g_memmove instead of memcpy.
796 (impl_accessibility_streamable_get_content_types):
797 Init typelist->_maximum. Only allocate the buffer if
798 there is a non-zero number of content types available.
799 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
801 * libspi/streamablecontent.h:
802 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
805 (SPI_IS_VALUE): Fix a typo in this macro too.
807 2006-06-16 Bill Haneman <bill.haneman@sun.com>
811 * idl/Accessibility_StreambleContent.idl:
812 Deprecate the Bonobo_Stream-based methods in favor of
813 a self-contained "ContentStream" interface. This should
814 allow us to remove BonoboStream dependencies entirely, since
815 there were no non-NIL implementations of the old methods anyway.
816 (ContentStream): New interface.
817 (ContentStream::SeekType): Enum.
818 (ContentStream::seek): New.
819 (ContentStream::read): New.
820 (ContentStream::close): New.
821 (getContent): Deprecate.
822 (getURI): New method, returns a URI pointing to the content, if available.
824 * libspi/streamablecontent.c:
825 (SpiContentStream): Internal object type definition used to
826 implement Accessibility::StreamableContent::ContentStream via
827 AtkStreamableContent's GIOChannel back-end.
828 (spi_content_stream_new, spi_content_stream_dispose): See above;
830 (impl_content_stream_seek, impl_content_stream_read):
831 (impl_content_stream_close): New, implementations of
833 (impl_accessibility_streamable_get_stream): Implement the
834 public method Accessibility::StreamableContent::getStream.
835 (impl_accessibility_streamable_get_uri): Implement the
836 public method Accessibility::StreamableContent::getURI.
838 * cspi/spi_streamablecontent.c:
839 (accessible_bonobo_stream_client_seek): Replaced by
840 (accessible_content_stream_client_seek).
841 (accessible_bonobo_stream_client_read): Replaced by
842 (accessible_content_stream_client_read).
843 (AccessibleStreamableContent_open):
844 (AccessibleStreamableContent_seek):
845 (AccessibleStreamableContent_read):
846 (AccessibleStreamableContent_close): Use the new 'getStream'
847 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
849 2006-06-15 Bill Haneman <bill.haneman@sun.com>
851 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
852 remove from other .idl files (except LoginHelper).
855 2006-06-14 Bill Haneman <bill.haneman@sun.com>
857 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
860 * configure.in, */Makefile.am: mingw patch, modified from
861 original patch by yselkowitz. Bug #314216.
863 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
864 for completeness. Bug #163111.
866 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
867 * libspi/util.c, registryd/registry-main.c:
868 Fix guint/char* casts.
869 Patch from chpe, bug #333883.
871 2006-06-12 Bill Haneman <bill.haneman@sun.com>
873 * configure.in: Require atk-1.12.0, to pick up
874 new API. (bug #344412).
876 * libspi-1.0-uninstalled.pc.in:
878 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
879 Fix for #341488 from Samual Thibault.
881 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
882 Thanks to Brian Pepple.
884 2006-06-09 Bill Haneman <bill.haneman@sun.com>
887 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
888 New, missing implementations of attribute reading methods
891 * cspi/spi.h, spi_value.c:
892 (AccessibleValue_getMinimumIncrement): New methods wrapping
893 the (formerly unimplemented) property from Value.idl.
896 (impl_get_minimumIncrement): Implementation for retrieving
897 the minimum valuator increment, (formerly unimplemented).
900 2006-06-09 Bill Haneman <bill.haneman@sun.com>
902 * idl/Accessibility_State.idl:
903 Added STATE_VISITED (bug #338369).
905 * cspi/spi_accessible.c:
906 (spi_state_to_corba) Fixed marshalling of new statetypes.
909 (spi_init_state_tables, impl_getStates):
910 Fixed conversion of new statetypes to/from ATK.
912 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
914 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
915 definitions/conversions for new roles from ATK.
917 * idl/Accessibility_Relation.idl:
919 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
920 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
921 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
923 * libspi/accessible.c: Fixed marshalling of new role types from
926 2006-04-17 Matthias Clasen <mclasen@redhat.com>
928 * revert my previous change
930 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
932 * configure.in: Remove obssolete no_NO locale
933 * po/no.po: And the translation.
935 2006-04-05 Matthias Clasen <mclasen@redhat.com>
937 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
938 memory-management error that caused crashes on x86_64.
941 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
943 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
945 2006-03-27 Bill Haneman <bill.haneman@sun.com>
947 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
948 to strip "cspi_*" from the symbol table.
950 * cspi/spi_streamablecontent.c:
951 (get_streams): Make this method static.
954 (_cspi_exception_throw): rename to cspi_exception_throw,
955 so we can strip it with the rest...
958 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
960 2006-03-27 Bill Haneman <bill.haneman@sun.com>
962 Add doxygen-generated IDL docs to tarball, and enable
963 doxygen during build/install when available. Bug #301345.
965 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
967 * docs/reference/Makefile.am: Add idl to SUBDIRS.
969 * docs/reference/idl/Makefile.am: Optionally use
970 doxygen to create docs.
972 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
974 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
976 2006-03-20 Bill Haneman <bill.haneman@sun.com>
979 (impl_get_selected_rows): Don't free the selection if it's
980 empty or has not been assigned; init it to NULL so you can tell.
981 Also, allow for zero selected rows.
982 (impl_getSelectedColumns): Ditto. Bug #319088.
984 2006-03-11 Vincent Untz <vuntz@gnome.org>
986 Leak fix for bug #334217.
988 * libspi/application.c: spi_application_toolkit_event_listener():
989 don't duplicate the string we pass as an argument to
990 spi_init_any_nil() since spi_init_any_nil() already does it
991 * registryd/deviceeventcontroller.c:
992 (spi_dec_button_update_and_emit): ditto
993 (spi_dec_mouse_check): ditto
994 (spi_dec_emit_modifier_event): ditto
995 (spi_device_event_controller_forward_mouse): ditto
996 * registryd/registry.c:
997 (desktop_add_application): ditto
998 (desktop_remove_application): ditto
1000 2006-02-20 Bill Haneman <billh@gnome.org>
1002 * configure.in: Rev to 1.7.6.
1004 Leak fixes for bug #331924.
1006 * atk-bridge/bridge.c:
1007 (spi_atk_bridge_init_base): Don't dup the string, it's already
1008 been dup-ed. Fixes a leak.
1009 (spi_atk_emit_eventv): Move the CORBA_free call here,
1010 instead of spi_atk_state_event_listener; fixes another leak.
1011 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
1012 notifying the registry; fixes another leak.
1014 * registryd/registry.c:
1015 (registry_flush_event_queue): Free the CORBA_any when
1016 flushing the event, not just the string. Fixes another leak.
1017 (registry_queue_event): Free the CORBA_any when dropping
1018 events on the floor; fixes another leak.
1021 (spi_init_any_object, spi_init_any_nil):
1022 Always set _release to TRUE. Fixes another leak.
1024 2006-02-20 Bill Haneman <billh@gnome.org>
1026 * configure.in: Rev to 1.7.5.
1027 Reinstate localization of this module. Thanks for Rodney
1028 Dawes for fixing my patch.
1030 * registryd/Makefile.am: Remove Accessibility_Registry.server
1031 from dist, since it needs to be re-created at configure time.
1034 2006-01-31 Bill Haneman <billh@gnome.org>
1036 * configure.in: Rev to 1.7.4 (to include build fix below).
1038 * idl/Makefile.am: Include Selector.idl in dist.
1042 (cspi_internal_event_get_object): Handle case where
1043 "object" isn't present, i.e. CORBA_TC_Object doesn't match
1044 the EventDetails data.
1045 (cspi_internal_event_get_text): Handle NULL string.
1046 (cspi_internal_event_get_rect): Handle missing/empty rect
1047 data, Accessibility_TC_RectBounds doesn't match any_data.
1049 2006-01-30 Bill Haneman <billh@gnome.org>
1053 * atk-bridge/bridge.c:
1054 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
1055 interface and use that when instantiating a new source
1056 accessible. Better fix for bug #321814.
1058 2006-01-27 Bill Haneman <billh@gnome.org>
1060 * idl/Accessibility_Selector.idl: Added to the cvs repository.
1062 * configure.in: Revved to 1.7.3.
1064 2006-01-17 Bill Haneman <billh@gnome.org>
1066 * configure.in: Revved to 1.7.2, re-dist to include docs.
1068 2006-01-09 Bill Haneman <billh@gnome.org>
1070 * configure.in: Removed po/Makefile.in inclusion, we do not need
1071 it. Revved to 1.7.0.
1073 * idl/Accessibility.idl: Improved documentation here, and for all
1074 IDL in the 'GNOME::Accessibility' namespace.
1076 * idl/Accessibility_Accessible.idl:
1077 (LOCALE_TYPE): Added enum.
1078 (AttributeSet): New, for returning multiple name/value attribute pairs.
1079 (RoleSet): New, sequence of Roles, to be used in upcoming
1081 (getAttributes): New API, allows retrieval of name/value pair
1082 annotations for all kinds of Accessible objects. C.f.
1083 Text:getAttributes, which is only for typographic/textual/semantic tags in
1085 (getApplication): New, retrieves the host/containing Application
1086 instance for an object (without having to walk up the whole tree).
1088 * idl/Accessibility_Component.idl:
1089 (getAlpha): New method, returns the alpha blending (aka 'opacity')
1090 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
1093 * idl/Accessibility_Event.idl:
1094 (EventDetails): New struct definition, for encapsulating
1095 commonly-queried information about emitted events. The use of
1096 this structure in emitted events (in the 'any' member of
1097 Accessibility_Event) should greatly reduce the number of
1098 client-server roundtrips necessary.
1100 * idl/Accessibility_Image.idl:
1101 (imageLocale): New, a readonly attribute indicating the POSIX
1102 LC_MESSAGES locale of the image and associated Alt/descriptive
1105 * idl/Accessibility_Relation.idl:
1106 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1109 * idl/Accessibility_Role.idl:
1110 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1111 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1112 complex document and form support.
1114 * idl/Accessibility_State.idl:
1115 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1116 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1117 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1118 for support of complex documents and forms.
1120 * idl/Accessibility_StreamableContent.idl:
1121 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1122 allow old bonobo-stream interfaces to be deprecated in the next
1125 * idl/Accessibility_Text.idl:
1126 (getAttributeValue): New method, allows query-by-name of single
1129 * libspi/accessible.c:
1130 Added support for new roles. Implemented new methods
1131 (impl_accessibility_accessible_get_application): New
1132 (impl_accessibility_accessible_get_attributes): New
1134 * libspi/component.c:
1135 (impl_accessibility_component_get_alpha): New.
1138 (impl_accessibility_image_get_locale): New.
1140 * libspi/relation.c: Added support for new relation type.
1142 * libspi/stateset.c: Added support for new state types.
1145 (impl_getAttributeValue): New.
1148 New prototypes for private methods
1150 spi_init_any_object, spi_init_any_string,
1153 * libspi/spi_event.c:
1154 Use EventDetails in the event emission methods.
1156 * cspi/spi-private.h:
1157 (cspi_role_from_spi_role): Expose this adapter method, since
1158 we need it in the bridge (see below).
1161 (AccessibleEvent_getSourceName):
1162 (AccessibleEvent_getSourceRole):
1163 (AccessibleEvent_getSourceApplication):
1164 (AccessibleEvent_getSourceDetails):
1165 New methods for interrogating/demarshalling
1166 event details (i.e. source's accessible name, role,
1169 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1170 Make use of the new EventDetails struct in events, if present.
1171 (AccessibleEvent_getSourceName)
1172 (AccessibleEvent_getSourceRole)
1173 (AccessibleEvent_getSourceApplication)
1174 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1176 (Accessible_getAttributes): New, wraps
1177 Accessibility_Accessible_getAttributes.
1178 (Accessible_getHostApplication): New, wraps
1179 Accessibility_Accessible_getApplication.
1182 (AccessibleImage_getImageLocale): New wrapper for
1183 Accessibility_Image_get_imageLocale.
1185 * cspi/spi_component.c:
1186 (AccessibleComponent_getAlpha): New wrapper for
1187 Accessibility_Component_getAlpha.
1189 * atk-bridge/bridge.c:
1190 Use new prototyped for init_any methods.
1191 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1192 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1193 (spi_atk_bridge_init_base): Wrappers
1194 for spi_init_any_* methods, due to refactor; include extended
1195 information in the Accessibility_EventDetails struct, for instance
1196 accessible-name, Role, and containing Application.
1198 * registryd/registry.c:
1199 Use new event emission (with EventDetails).
1201 * registryd/deviceeventcontroller.c:
1202 Use new event emission (with EventDetails).
1204 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1206 * configure.in: Generate po/Makefile.in
1207 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1208 * cspi/spi_streamablecontent.c:
1209 (accessible_bonobo_stream_client_seek),
1210 (AccessibleStreamableContent_seek): Remove unused vars.
1211 * libspi/application.c: Missing header.
1212 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1213 * login-helper/login-helper.c: (login_helper_finalize),
1214 (login_helper_init): Remove unused stuff
1215 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1216 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1217 and surround some with #ifdef GRAB_BUTTON.
1218 * test/event-listener-test.c: (main), (report_event),
1219 (report_caret_event), (report_detail_event),
1220 (report_detail1_event), (report_bounds_event), (report_text_event),
1221 (report_text_selection_event),
1222 (report_active_descendant_changed_event),
1223 (report_children_changed_event), (report_name_changed_event),
1224 (report_description_changed_event), (report_parent_changed_event),
1225 (report_window_event), (report_table_summary_event),
1226 (report_table_header_event), (report_table_caption_event),
1227 (report_table_row_description_event),
1228 (report_table_column_description_event), (timing_test_event):
1229 Remove a bunch of unused variables and fix a slew of format specifiers
1230 * test/key-listener-test.c: (report_all_key_event): Format specifier
1231 * test/keypad-test.c: (print_key_event): Same
1232 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1234 * test/screen-review-test.c: (main), (print_chunk_debug),
1235 (review_buffer_get_text_chunk), (debug_chunk_list),
1236 (string_guess_clip), (text_chunk_get_clipped_string),
1237 (text_chunk_list_to_string), (get_screen_review_line_at):
1238 Remove unused variables and fix format specifiers.
1239 * test/simple-at.c: (report_text_event): Format specifier fix.
1240 * test/stress-test.c: (main): Remove unused var.
1242 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1244 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1245 (yes I know that's useless)
1247 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1249 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1251 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1253 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1254 urgh-fix embarassing typo.
1256 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1258 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1259 do a faster, less problematic _unref call on this local
1260 object, rather than a slower (potentially cross-thread
1261 complicated) CORBA call.
1263 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1265 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1266 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1267 * registryd/deviceeventcontroller.c:
1268 (spi_controller_notify_mouselisteners),
1269 (impl_generate_keyboard_event):
1270 * test/screen-review-test.c: (chunk_bounds_within):
1271 * test/test-simple.c: (test_desktop): Remove some unused code
1272 and fix compiler warnings. Closes bug #320049.
1274 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1276 * registryd/deviceeventcontroller.c:
1277 (spi_controller_notify_keylisteners): Check
1278 to make sure the event listener has requested 'preemptive'
1279 status before pre-empting an event.
1281 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1283 * configure.in, README, NEWS: Release 1.6.5.
1285 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1287 * test/window-listener-test.c: Fix a printf
1288 format error. (#169453)
1290 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1292 * tests/test-simple.c:
1293 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1294 relying on the old string from the key event hanging around after
1295 the event handler returns. Fixes broken 'make check'.
1297 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1299 * Added Marathi (mr_IN) translations.
1301 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1303 * cspi/bonobo/cspi-bonobo-listener.c:
1304 (cspi_event_list_remove_by_cb): Fix the build.
1306 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1308 * cspi/bonobo/cspi-bonobo-listener.c
1309 (cspi_event_list_remove_by_cb): actually filter by callback.
1311 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1313 * registryd/registry.c (remove_listener_cb):
1314 Make deregistration filter rules match the event emission rules.
1316 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1318 * registryd/registry.c (remove_listener_cb),
1319 (impl_accessibility_registry_deregister_global_event_listener),
1320 (impl_accessibility_registry_deregister_global_event_listener_all):
1321 pass a closure to the remove callback to filter listeners more
1322 accurately on remove.
1324 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1326 * configure.in: Revved to 1.6.4.
1327 Remember to put quotes around XEVIE_LIBS assignment.
1328 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1331 * tests/event-listener-test.c: Tweaked the tests - more detail
1332 from caret events, and some interrogation of AccessibleText APIs.
1333 Commented-out the bounds-changed events by default, since they can
1336 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1338 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1339 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1340 Same here. Closes bug #167806
1342 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1344 * atk-bridge/bridge.c:
1345 (spi_atk_bridge_signal_listener):
1346 Free the any._value if any._release is TRUE,
1347 since the ORB won't do it for us in this case
1348 [because this method is not a skel].
1349 Fix for bug #168679.
1351 2005-03-30 Steve Murphy <murf@e-tools.com>
1353 * configure.in: Added "rw" to ALL_LINGUAS.
1355 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1357 * configure.in: Improved check for HAVE_XEVIE, to detect
1358 presence on XOrg, where -lXevie is a separate library.
1360 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1362 * configure.in, NEWS, README: Revved to 1.6.3.
1364 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1366 * configure.in: Added "xh" to ALL_LINGUAS.
1368 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1370 * atk-bridge/bridge.c:
1371 (atk_bridge_init): Added missing NULL in g_strconcat(),
1372 also check for symlink before logging to
1373 insecure directory. Thanks to meissner@suse.de.
1375 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1377 * tests/login-helper-server-test.c: Add return call to main
1378 function. Patch from Chris Lahey. Fixes bug #165129.
1380 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1382 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1384 2004-12-09 Bill Haneman <billh@gnome.org>
1386 * registryd/registry-main.c:
1387 Added #define <string.h> for strrchr. (bug 160862).
1388 Thanks to Vincent Berger for catching.
1390 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1392 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1393 restart registry process if the registry process is found to have died
1394 and the current process is exiting.
1395 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1396 application if the registry process has died.
1397 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1398 does not return a registry object.
1399 (spi_atk_tidy_windows): Give up if the registry process has died.
1401 This fixes problems with hangs and crashes when logging out.
1403 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1405 * registryd/desktop.c: Add checking that we are not exiting before
1406 calling spi_desktop_remove_application in
1407 abnormal_application_termination. Fix for bug #152147.
1409 2004-12-02 Bill Haneman <billh@gnome.org>
1411 * configure.in, NEWS, README: Revved to 1.6.1.
1413 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1414 * atk-bridge/bridge.c:
1415 (atk_bridge_init): Save the pid when we start, to detect forks.
1416 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1417 if we're in a forked pid.
1419 2004-10-09 Bill Haneman <billh@gnome.org>
1421 * idl/Accessibility_LoginHelper.idl:
1422 Improved inline documentation.
1424 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1426 * configure.in: Added gl (Galician) to ALL_LINGUAS
1428 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1430 * libspi/accessible.c:
1431 (impl_accessibility_accessible_get_role_name),
1432 (impl_accessibility_accessible_get_local_role_name):
1433 NULL vs. 0 cleanups.
1434 * libspi/component.c:
1435 (impl_accessibility_component_get_accessible_at_point):
1437 * libspi/eventlistener.c: (spi_event_listener_new):
1439 * libspi/stateset.c: (impl_compare): More of the same
1440 * libspi/table.c: (impl_getRowDescription): Again.
1441 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1442 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1443 (impl_generate_keyboard_event): Same.
1444 * registryd/registry-main.c: (main): Same
1445 * test/event-listener-test.c: (test_exit): Same
1446 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1447 * test/keysynth-test.c: (test_key_synthesis): Same
1448 * test/login-helper-server-test.c: (main): Fix warning.
1449 * test/screen-review-test.c: (test_exit): Fix include.
1450 * test/simple-at.c: (simple_at_exit), (_festival_init):
1453 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1455 * configure.in, NEWS, README: Revved to 1.6.0.
1457 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1459 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1460 was missing the HTML docs.
1462 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1464 * configure.in: only cleanups:
1465 - better looking PKG_CHECK_MODULES() output,
1467 - declare in one common place required versions of other tools using
1470 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1472 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1473 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1474 required ATK version accordingly.
1476 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1478 * cspi/bonobo/cspi-bonobo.c:
1479 (cspi_display_name): Fix C99ism.
1480 * atk-bridge/bridge.c:
1481 (spi_display_name): Fix C99ism.
1482 Patch from Jens Granseuer, jensgr@gmx.net.
1484 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1486 * configure.in: Added "or" to ALL_LINGUAS.
1488 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1490 * configure.in, NEWS, README: Revved to 1.5.4.
1492 * registryd/registry-main.c:
1493 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1496 * cspi/bonobo/cspi-bonobo.c:
1497 (cspi_display_name): New convenience method, gets DISPLAY with
1498 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1499 (cspi_init): Set the activation env value above before getting
1502 * atk-bridge/bridge.c:
1503 (spi_display_name): Create the AT_SPI_DISPLAY activation
1504 environment for an app, based on the DISPLAY environment with the
1505 screen number stripped off.
1506 (atk_bridge_init): Allow redirection of error messages to a log.
1507 (spi_atk_bridge_get_registry): Call
1508 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1510 Fixes for bugs #149962, #136986, #144086.
1512 2004-08-16 Christian Rose <menthos@menthos.com>
1514 * configure.in: Added "bs" to ALL_LINGUAS.
1516 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1518 * configure.in: Added nb to ALL_LINGUAS.
1520 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1523 (SPI_init): Return error code '2' if the activated
1524 registry cannot be pinged. Fixes bug #147648.
1526 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1528 * registryd/deviceeventcontroller.c:
1529 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1530 rely on timer-poll instead, to avoid conflict with
1533 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1535 * configure.in: Revved to 1.5.3.
1537 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1539 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1541 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1543 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1545 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1547 * atk-bridge/bridge.c:
1548 (spi_atk_bridge_do_registration):
1549 Register with ATK for AtkComponent:bounds-changed events.
1550 (api_atk_bridge_signal_listener):
1551 Marshal the AtkRectangle info into the event notification
1552 for object:bounds-changed events.
1555 (spi_init_any_rect): New method, inits a corba struct of
1556 type Accessibility_BoundingBox from an AtkRectangle.
1558 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1561 (SPIRect): New struct definition.
1562 (SPI_freeRect): New declaration.
1563 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1566 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1567 implemented. Gets the bounding box data from the CORBA_any
1568 associated with a bounds-changed event notification.
1569 (cspi_internal_event_get_rect): New, used internally by above method.
1572 (SPI_freeRect): Implemented this new method, for freeing
1575 * test/event-listener-test.c:
1576 (main, report_bounds_event):
1577 Added a test for object:bounds-changed events.
1579 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1581 * test/login-helper-server-test.c:
1582 (main): Fix C99-ism. Thanks to Jens Granseuer.
1584 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1586 * libloginhelper-1.0.pc.in:
1587 * idl/Accessibility_LoginHelper.idl:
1588 * login-helper/Makefile.am:
1589 * login-helper/login-helper.[ch]:
1590 * test/login-helper-client-test.c:
1591 * test/login-helper-server-test.c: Added files missing from CVS.
1592 Files obtained from at-spi-1.5.2 tarball.
1594 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1596 * configure.in: Create login-helper/Makefile.
1597 Incremented micro version.
1599 * Makefile.am: Add login-helper subdir and pkgconfig data.
1601 * login-helper: New subdir.
1603 * libloginhelper-1.0.pc.in: New.
1605 * idl/Accessibility_LoginHelper.idl: New file, defines
1606 interface whereby authentication clients can identify agents which
1607 need access to services during the login process, e.g. screen lock
1610 * login-helper/Makefile.am : New.
1612 * login-helper/login-helper.[ch] : New, implementation of
1613 a LoginHelper base class. Services needing LoginHelper can subclass.
1615 * test/Makefile.am : Added test for login-helper, client and
1618 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1619 Use proper prefix in #include files.
1621 * test/login-helper-client-test.c: New.
1623 * test/login-helper-server-test.c: New.
1625 2004-05-27 Alexander Shopov <ash@contact.bg>
1627 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1629 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1631 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1632 is positive. This should make it easier to detect inapprorpiate unref
1635 2004-05-11 James Henstridge <james@daa.com.au>
1637 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1638 no-op and deprecated.
1640 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1642 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1644 2004-04-28 Bill Haneman <billh@gnome.org>
1646 * Makefile.am: Added --enable-gtk-doc to
1647 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1649 2004-04-19 Bill Haneman <billh@gnome.org>
1651 * configure.in: Revved to 1.5.1.
1653 * registryd/deviceeventcontroller.c:
1655 (DEControllerPrivateData): Added fields for
1656 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1657 (spi_dec_replace_map_keysym): New internal utility for
1658 replacing a keysym in the keymap - used to allow
1659 synthesis of individual characters which aren't in the
1661 (spi_dec_reset_reserved): New; resets the changed keysym value
1663 (keycode_for_keysym): We now try to deal with failed
1664 XKeysymToKeycode requests by changing a keymap value
1665 and returning a reserved keycode. We now take
1666 a DEController pointer as first arg.
1667 (spi_controller_register_with_devices): Call XkbGetMap with
1668 the XkbKeySymsMask. Find the highest keycode in the current
1669 keymap which doesn't have any grabs, and mark that one for
1670 temporary re-mapping when out-of-range KeySyms are synthesized.
1671 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1674 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1676 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1678 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1680 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1682 2004-03-24 Bill Haneman <billh@gnome.org>
1685 (AccessibleTable_addRowSelection),
1686 (AccessibleTable_addColumnSelection),
1687 (AccessibleTable_removeRowSelection),
1688 (AccessibleTable_removeColumnSelection):
1689 Add declarations for spi wrappers which were
1690 inadvertantly omitted. Fixes bug #133413.
1693 Revved to 1.5.0 (unstable series for GNOME 2.7).
1695 2004-03-24 Bill Haneman <billh@gnome.org>
1697 * atk-bridge/bridge.c:
1698 Bracketed some debug output in
1699 conditionals, to avoid printing it in normal use.
1702 * libspi/hyperlink.c:
1703 Don't cast 'object' to ATK_OBJECT when constructing
1704 an AtkAction interface for a hyperlink.
1705 See discussion in bug #120659.
1707 * test/key-listener-test.c:
1708 (report_all_key_event): Send output to stderr,
1709 not stdout, for consistency with the rest of the test callbacks.
1712 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1713 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1714 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1715 try incrementing the revision AFTER doing a dist, at least
1718 2004-03-22 Bill Haneman <billh@gnome.org>
1720 * configure.in: Revved to 1.4.0, libtool 9.14.9
1722 2004-03-17 Laszlo Peter <laca@sun.com>
1724 * libspi-1.0-uninstalled.pc.in: add idldir
1726 * cspi-1.0-uninstalled.pc.in: add idldir
1728 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1730 * configure.in: Added "en_GB" to ALL_LINGUAS
1732 2004-03-15 Bill Haneman <billh@gnome.org>
1734 * configure.in: Revved to 1.3.16,
1737 2004-03-15 Laszlo Peter <laca@sun.com>
1739 * libspi-1.0-uninstalled.pc.in: new file
1741 * cspi-1.0-uninstalled.pc.in: new file
1743 * configure.in: add the new pc files to AC_OUTPUT
1745 * Makefile.am: add the new pc files to EXTRA_DIST
1747 2004-03-12 Bill Haneman <billh@gnome.org>
1749 * atk-bridge/bridge.c:
1750 (spi_atk_bridge_key_listener):
1751 Make sure to return consumed=FALSE if snoop
1752 event is not dispatched to listener.
1755 2004-03-01 Bill Haneman <billh@gnome.org>
1757 * configure.in: Revved to 1.3.15,
1760 2004-03-07 Danilo Segan <dsegan@gmx.net>
1762 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1764 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1766 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1768 2004-03-01 Bill Haneman <billh@gnome.org>
1770 * configure.in: Revved to 1.3.14.
1773 (SPI_exit): Removed "bye-bye" exit message.
1774 Moved "leak" report to happen before the
1775 iteration over the leaked refs list.
1776 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1778 2004-02-24 Bill Haneman <billh@gnome.org>
1780 * configure.in: Revved to 1.3.13.
1782 * docs/reference/cspi/Makefile.am:
1783 Correct typo that was breaking the docs build.
1785 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1787 * autogen.sh: Require version 1.7 of automake.
1789 * configure.in: call GTK_DOC_CHECK([1.0])
1791 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1793 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1795 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1797 * test/Makefile.am: Remove use of CFLAGS.
1799 This fixes bug #132987.
1801 2004-02-11 Bill Haneman <billh@gnome.org>
1803 * reverted most of Tomasz' patch below, since it was breaking
1804 builds (see bug #134058).
1806 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1808 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1809 correct pass "make dist" (empty .. because seems no sach types in
1810 header files with gtk-doc markups).
1811 * docs/reference/cspi/Makefile.am, configure.in:
1812 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1813 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1814 * Makefile.am: added:
1815 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1816 for force correct pass generate documentation on "make distcheck".
1817 * libspi/Makefile.am: fixes for automake >= 1.6.
1818 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1819 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1822 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1824 * docs/reference/cspi/Makefile.am (install-data-local): Install
1825 index.sgml since the doc autobuilder on widget.gnome.org looks for
1828 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1830 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1833 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1835 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1837 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1839 * test/simple-at.c: Fixed null string problems that cause core
1840 dumping problems on Solaris.
1842 2004-01-12 Bill Haneman <billh@gnome.org>
1844 * configure.in: Incremented version to 1.3.11.
1846 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1848 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1849 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1852 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1854 * configure.in: Added "fa" to ALL_LINGUAS.
1856 2003-12-20 Arafat Medini <lumina@silverpen.de>
1858 * configure.in: Added "ar" to ALL_LINGUAS
1860 2003-12-16 Bill Haneman <billh@gnome.org>
1862 * registryd/registry-main.c:
1864 Set the reg_env DISPLAY variable before registering the
1865 activated registry service. Fixes bug #129479.
1867 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1869 * configure.in: Added "id" in ALL_LINGUAS
1870 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1872 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1874 * registryd/deviceeventcontroller.c (global_filter_fn):
1875 When an event is consumed discard any XEvents were added to
1876 the queue while dealing with the the event. This can happen if
1877 processing of the event takes a long time. Call XUngrabKeyboard
1878 if an event was discarded. This fixes bug $124837.
1879 Only call wait_for_release_event for a KeyPress.
1880 Use local variable display instead of spi_get_display().
1881 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1884 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1886 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1887 Allow for mask to contain values other than NumLock mask.
1890 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1892 * registryd/devieceventcontroller.c:
1893 (wait_for_release_event): Change first parameter from GdkEvent to
1895 (global_filter_fn); Correct call to wait_for_release_event.
1899 2003-12-08 Bill Haneman <billh@gnome.org>
1903 * registryd/ucs2keysym.c: New file.
1905 * registryd/deviceeventcontroller.c:
1906 (dec_keysym_for_unichar): Remove old partial implementation and
1907 replace with call to ucs2keysym(), which is much more complete.
1908 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1913 2003-12-05 Bill Haneman <billh@gnome.org>
1915 * configure.in: Version 1.3.9.
1917 * docs/reference/cspi/tmpl/spi_registry.sgml:
1918 Added reference to libspi/keymasks.h to the
1919 description of Registry queries: AccessibleKeyMaskType.
1922 2003-12-04 Bill Haneman <billh@gnome.org>
1924 Fix for bug #121974.
1926 * idl/Accessibility_Application.idl:
1927 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1928 setlocale's LC_TYPEs.
1929 (Accessibility::Application::getLocale): New method.
1930 Allows clients to query the locale, by type, of an app.
1933 * cspi/spi_application.c:
1934 (AccessibleApplication_getLocale): New method, wraps IDL above.
1936 * libspi/application.c:
1937 (spi_application_class_init): Init epv entry for getLocale.
1938 (impl_accessibility_application_get_locale): Impl for above.
1940 * test/test-simple.c:
1941 (test_application): Added assertion for getLocale, i.e.
1942 that the string from AccessibleApplication_getLocale (app, type)
1943 is the same as that from setlocale (type, NULL);
1945 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1947 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1948 the keyboard on a timeout intil the key state goes from pressed to
1949 released. Fixes bug #111429.
1951 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1953 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1954 root object so that it is present when a context menu in an
1955 out-of-process applet is popped up.
1956 (spi_atk_bridge_do_registration): Create acceessible application root
1957 object only if it does not exist.
1959 This fixes bug #125834.
1961 2003-12-01 Bill Haneman <billh@gnome.org>
1963 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1966 Added enum for AccessibleStreamableContentSeekType.
1967 (AccessibleStreamableContent_freeContentTypeList): New.
1969 * cspi/spi_streamablecontent.c:
1970 (accessible_bonobo_stream_client_seek): New private method.
1971 (AccessibleStreamableContent_seek): Implemented this method,
1972 using Bonobo_Stream_seek.
1973 (AccessibleStreamableContent_freeContentTypeList): New method
1974 for freeing the return value from
1975 AccessibleStreamableContent_getContentTypes.
1976 (stream_cache_item_free): Replaces stream_release; stop leaks.
1977 (stream_release): removed.
1978 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1979 free the memory properly.
1981 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1983 Fix for bug #116009.
1985 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1987 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1989 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1991 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1993 2003-12-01 Bill Haneman <billh@gnome.org>
1995 Fix for bug/rfe #127463.
1997 * idl/Accessibility_Accessible.idl:
1998 (getLocalizedRoleName): New.
1999 (unimplemented4): Removed (replaced by above).
2001 * libspi/accessible.c:
2002 (impl_accessibility_accessible_get_local_role_name): New.
2003 (spi_accessible_class_init): Add getLocalizedRoleName entry to
2007 (Accessible_getLocalizedRoleName): New.
2009 * cspi/spi_accessible.c:
2010 (Accessible_getLocalizedRoleName): New.
2012 2003-12-01 Bill Haneman <billh@gnome.org>
2014 Fix for bug #118581.
2015 * idl/Accessibility_Text.idl:
2016 (getDefaultAttributes): New.
2017 (unimplemented4): Removed (replaced by above method).
2020 (impl_getDefaultAttributes): New method.
2021 (spi_text_class_init):
2022 initialize the get_default_attributes slot in the epv.
2025 (AccessibleText_getDefaultAttributes): New prototype.
2028 (AccessibleText_getDefaultAttributes): New method.
2030 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
2032 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
2033 write beyond the end of the table. Fixes bug #120473.
2035 2003-09-30 Christian Rose <menthos@menthos.com>
2037 * configure.in: Added "eu" to ALL_LINGUAS.
2039 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
2041 * configure.in: ALL_LINGUAS: Added no.
2043 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
2045 * configure.in: Added lt to ALL_LINGUAS.
2047 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
2049 * atk-bridge/bridge.c:
2050 (atk_bridge_init): Register event listeners always even for
2051 out-of-process applet.
2052 (spi_atk_bridge_toplevel_added): Remove call to
2053 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
2054 (spi_atk_bridge_toplevelk_removed): Remove call to
2055 spi_atk_deregister_event_listenersa as the listeners are now always
2057 (spi_atk_bridge_register_application): Remove call to
2058 spi_atk_register_event_listeners as it is not done in atk_bridge_init
2060 This fixes bug #120991.
2062 * libspi/table.c (impl_getColumnDescription): Correct typo,
2063 pointed out by Bolian.Yin@sun.com.
2065 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
2067 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
2069 2003-09-08 Bill Haneman <billh@gnome.org>
2071 * configure.in: Revved to 1.3.7.
2073 This is the GNOME 2.4.0 release of at-spi.
2075 * docs/reference/cspi/Makefile.am:
2076 Removed spurious inclusion of 'index.sgml' in the
2077 html directory; this was breaking make distcheck and
2078 also some other build environments.
2080 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
2082 * registryd/registry.[ch}:
2083 Add queue_handler_id and focus_object to SpiRegistry data structure.
2084 (registry_flush_event_queue): If event being discarded is
2085 "state-change:focused" store object as focus_object.
2086 (registry_start_queue): Remove queue handler and focus object
2088 (registry_discard_event): New function which discards a focus event
2089 if we had stored focus object in the registry.
2090 (registry_queue_event): Add new check that is_queueing is set as this
2091 function is reentrant.
2092 (registry_filer_event): Add call to registry_discard_event.
2094 This resolves issues raised in bug #108664.
2096 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
2098 * configure.in: Added "bn" to ALL_LINGUAS.
2100 2003-09-04 Bill Haneman <billh@gnome.org>
2102 * cspi/spi_event.c: Documentation improvements for
2103 (SPI_registerAccessibleKeylistener).
2105 * docs/reference/tmpl/spi_registry.sgml:
2106 Documentation improvements for SpiAccessibleKeylistenerCB.
2108 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2110 * configure.in: Added "ro" to ALL_LINGUAS.
2113 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2115 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2116 not decremented to zero. Fixes bug #120725.
2118 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2120 * configure.in: Added "ja" to ALL_LINGUAS.
2122 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2124 * configure.in: Added "is" to ALL_LINGUAS.
2126 2003-08-22 Christian Rose <menthos@menthos.com>
2128 * configure.in: Added "nl" to ALL_LINGUAS.
2130 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2132 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2133 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2135 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2137 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2138 type for unspecified exception.
2139 * cspi_streamablecontect): Add include of string.h for memcpy.
2140 (stream_release): Correct call to bonobo_object_release_unref
2141 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2142 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2143 argument of _cspi_expection_throw.
2144 * libspi/hyperlink.c: Add include of libspi/action.h:
2145 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2146 * libspi/streamablecontent.c: add include of libspi/component.h.
2147 * regisrtyd/deviceeventcontroller.c:
2148 (spi_dec_translate_mask): Removed unused variable priv.
2149 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2150 * registryd/registry.c:
2151 (registry_filter_event): Remove unused variable queue_is-empty.
2152 (impl_registry_notify_event): Use correct modifier in fprintf call.
2154 This fixes compiler warnings reported in bug #120220.
2156 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2158 * registryd/registryd.c: Remove this file.
2160 2003-08-17 Sanlig Badral <badral@openmn.org>
2162 * configure.in: Added mn to ALL_LINGUAS.
2164 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2166 * configure.in: Added et to ALL_LINGUAS.
2168 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2170 * test/event-listener-test.c: Change active-descendant to
2171 active-descendant-changed.
2173 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2175 * configure.in: Added "fi" in ALL_LINGUAS.
2177 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2179 * configure.in: Added "hi" in ALL_LINGUAS.
2181 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2183 * configure.in: Revved to 1.3.6.
2187 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2189 * registryd/deviceeventcontroller.c
2190 (spi_device_event_controller_object_finalize): Fix typo in previous
2193 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2195 * registryd/deviceeventcontroller.c
2196 (spi_device_event_controller_object_finalize): Fix build on
2197 systems without XEvIE.
2199 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2201 * acconfig.h, configure.in, registryd/Makefile.am,
2202 registryd/devicecontoller.[ch]: Add XEViE support.
2204 2003-08-06 Wang Jian <lark@linux.net.cn>
2206 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2208 2003-08-06 Metin Amiroff<metin@karegen.com>
2210 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2212 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2214 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2215 MODIFIER_ALT in correct place.
2217 This fixes part of bug #118114.
2219 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2221 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2223 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2225 * configure.in: Added "ko" to ALL_LINGUAS.
2227 2003-07-28 Ole Laursen <olau@hardworking.dk>
2229 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2231 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2233 * configure.in: Added "sq" to ALL_LINGUAS.
2235 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2237 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2239 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2241 * configure.in: updated ALL_LINGUAS list
2243 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2245 * configure.in: Added Belarusian to ALL_LINGUAS.
2247 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2249 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2251 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2252 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2254 This fixes bug #116949.
2256 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2258 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2259 Correct CSPI to SPI in function documentation.
2261 This fixes bug #118054.
2263 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2265 * configure.in: Added Russian to ALL_LINGUAS.
2267 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2269 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2271 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2273 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2275 2003-07-10 Joel Brich <joel.brich@laposte.net>
2277 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2279 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2281 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2283 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2285 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2286 resources allocated for AccessibleEvent. See cspi_event().
2288 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2289 static variable streams to NULL.
2291 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2292 Update so that AcessibleEvent_ref will work.
2294 This fixes bug #116624.
2296 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2298 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2300 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2302 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2304 2003-07-02 Christian Neumair <chris@gnome-de.org>
2306 * configure.in: Added "de" (German) to ALL_LINGUAS.
2308 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2310 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2312 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2314 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2316 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2318 * configure.in: Added "pl" to ALL_LINGUAS.
2320 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2322 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2324 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2327 (get_action_from_servant):
2328 Removed assertion that action is implemented on an AtkObject.
2330 * libspi/hyperlink.c:
2331 (spi_hyperlink_new):
2332 Aggregate AccessibleAction interface on the hyperlink object if
2333 the object implements AtkAction. (This convention is used in
2336 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2338 * configure.in: Revved to 1.3.5.
2340 * registryd/Accessibility_Registry.server.in.in:
2341 Marked up appropriate strings for translation.
2343 * atk-bridge/bridge.c: Marked a couple of
2344 user-visible warnings for translation. Questionable
2345 whether they are really useful, but possibly so.
2348 2003-06-28 Christian Rose <menthos@menthos.com>
2350 * configure.in: Added "sv" to ALL_LINGUAS.
2352 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2354 * registryd/registry.c:
2355 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2356 (registry_defer_on_event): Defer focus: events, this is an
2357 improvement to the patch for bug #108664.
2359 * TODO: Update with 2.4/"Dev Complete" items.
2361 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2363 * atk-bridge/bridge.c:
2364 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2365 looks up signals once.
2366 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2367 if doing registration.
2368 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2369 when doing registration.
2371 This fixes bug #115014.
2373 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2375 * atk-bridge/bridge.c:
2376 (atk_bridge_init): Add signal handler for children-changed:remove on
2377 root when in a BonoboComponent.
2378 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2379 for first toplevel only other incrememt variable toplevels.
2380 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2381 application and remove listeners.
2382 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2384 (spi_atk_deregister_event_listeners): New function which removes
2386 (reinit_register_vars): New fuction which reinitializes variables.
2388 This fixes bug #111578.
2390 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2392 * configure.in: version 1.3.4.
2394 * cspi/spi_accessible.c:
2395 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2398 2003-06-13 Michael Meeks <michael@ximian.com>
2400 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2402 * cspi/spi_main.c (cspi_peek_ev): impl.
2404 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2406 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2408 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2410 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2411 SPI_ROLE_AUTOCOMPLETE
2413 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2415 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2416 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2418 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2420 * libspi/streamablecontent.h:
2421 * libspi/streamablecontent.c:
2422 New files, provide implementation/wrappers for
2423 Accessibility_StreamableContent.
2425 * cspi/spi_streamablecontent.c:
2426 Connected the C wrappers to the libspi C bindings.
2427 (AccessibleStreamableContent_close): New method.
2430 (AccessibleStreamableContent_close): New method, needed
2431 since we have an "open, [seek], read, close" model in cspi.
2433 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2435 Fix for #108664; Padraig's revision of my original patch.
2437 * registryd/registry.h:
2438 Added event queue list, is_queuing, and exit_notify_timeout
2439 to the registry struct.
2441 * registryd/registry.c:
2442 (registry_init): Initialize new struct from registry.h.
2443 (impl_registry_notify_event):
2444 Filter events before notifying, in case some need to be
2446 (registry_filter_event): New,
2447 we defer certain incoming events (for instance
2448 window:deactivate) because we may wish to hide
2449 or reject them based on pending events. This is
2450 mostly a workaround for bug #108664.
2451 (registry_queue_event, registry_start_queue): New.
2452 (registry_defer_on_event): Test event to see if it
2454 (registry_reset_on_event): Returns TRUE if the
2455 event should cause a queue reset.
2456 (registry_discard_on_event): Returns TRUE if the event
2457 should cause the previous queue contents to be discarded.
2458 (registry_timeout_flush_queue): Flushes the pending event
2459 queue if no reset/discard-triggering events have come in
2460 within the timeout period.
2461 (registry_emit_event): New.
2462 (registry_clone_notify_context): New, used when queueing the
2463 event notify contexts.
2465 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2467 * configure.in: Version revved to 1.3.2, lt 0.9.2
2468 Incremented ATK required version to 1.3.4.
2470 * cspi/spi_registry.c:
2471 (SPI_generateKeyEvent):
2472 We now pass the keystring along if it's non-null.
2474 * registryd/deviceeventcontroller.c:
2475 (keysym_mod_mask): New method, returns modifier mask
2476 required to generate a keysym from a given keycode.
2477 (dec_synth_keysym): New method.
2478 (dec_synth_keystring): New method.
2479 (dec_get_modifier_state): New method.
2480 (dec_lock_modifiers): New
2481 (dec_unlock_modifiers): New.
2482 (dec_keysym_for_unichar): New, rather brute-force
2483 conversion from UCS-4 to X KeySyms. Only works for
2484 Latin at the moment, with partial implementations for
2485 Greek, Hebrew, and (incomplete) Katakana.
2486 (impl_generate_keyboard_event): Now implement
2487 "KEYSTRING" synthesis and implement "KEYSYM"
2489 (keycode_from_keysym): Improved, passes a returned
2490 modmask value now if the corresponding param is non-NULL.
2492 Fixes bugs #92143 and #109776.
2495 * test/keysynth-test.c:
2496 New test program for key synthesis, to confirm fixes for
2500 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2502 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2504 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2505 Add line for RELATION_POPUP_FOR
2507 * docs/reference/cspi/tmpl/spi_relation.sgml:
2508 Add relation SPI_RELATION_POPUP_FOR
2510 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2511 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2513 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2515 * libspi/relation.c (spi_init_relation_type_table):
2516 Add line for RELATION_POPUP_FOR
2518 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2520 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2521 there are still windows which have not been deleted and emit
2522 window:deactivate, if necessary and window:destroy events.
2523 This fixes bug #114370. The change on June 5th was not correct.
2525 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2527 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2530 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2532 New methods for client exception handling and interception.
2533 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2534 (SPI_exceptionHandlerPop): You guessed it...
2535 (SPI_getSourceType): Return the type of object which offended.
2536 (SPI_getExceptionCode): Return an enum code telling, possibly,
2537 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2538 (SPIAccessibleException_getSource): get the source object for
2539 exceptions that come from Accessibles, if SPIExceptionSourceType is
2540 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2541 (SPIException_getDescription): New, returns a string description of
2542 the problem. [Not yet a stable ABI, strings are not frozen]
2544 * cspi/spi-private.h:
2545 Added implementation details of opaque SPIException
2549 Implementations of above. Also
2550 (_cspi_exception_throw): new private method that
2551 dispatches exceptions to handlers, called from cspi-bonobo.c
2553 * cspi/bonobo/cspi-bonobo.c:
2554 (cspi_check_ev): call _cspi_exception_throw.
2555 Don't print a warning message if the exception has been
2556 handled by _cspi_exception_throw.
2558 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2560 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2561 there are still windows which have not been deleted and emit
2562 window:deactivate, if necessary and window:destroy events.
2563 This fixes bug #114370.
2565 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2568 (cspi_accessible_is_a): Make non-fatal
2569 if the object reference is dead.
2571 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2573 * cspi/spi_main.c: #include <stdio.h>
2574 * test/simple-at.c: ditto
2575 * test/event-listener-test.c: ditto
2576 * test/screen-review-test.c: ditto
2578 2003-05-30 Michael Meeks <michael@ximian.com>
2580 * test/test-simple.c (main): use CORBA_ORB_perform_work
2581 instead of an unnecessary linc_ call.
2583 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2585 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2586 Add SPI_STATE_INDETERMINATE.
2588 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2591 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2593 * libspi/stateset.c (init_state_type_tables): Add support for
2596 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2598 * configure: Update versions of atk and gail required.
2599 This fixes bug #113268.
2601 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2603 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2605 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2607 * libspi/Makefile.am:
2608 Ensure headers are generated before being used by c sources.
2610 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2613 Simplified lt versioning rules.
2614 Incremented version to 1.3.0, to indicate that we're on the
2615 unstable branch now.
2617 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2619 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2620 Add MKDB_OPTIONS=--outtput-format=xml
2622 * docs/reference/cspi/at-spi-cspi-docs.sgml
2623 docs/reference/idl/at-spi-idl-docs.sgml:
2624 Convert to Docbook XML.
2626 This fixes bug #111793.
2628 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2630 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2631 AcccessibleKeyEventType, AccessibleKeyMaskType.
2633 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2635 * cspi/state-types.h: Add documentation for AccessibleState.
2637 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2638 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2639 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2640 AccessibleComponentLayer.
2642 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2645 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2647 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2648 Accessible. Add description of AccessibleEvent,
2649 AccessibleEventListenerCB.
2651 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2654 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2655 documentation. Add description of AccessibleKeystrokeListenerCB,
2656 AccessibleKeyEventMask, AccessibleModifierMaskType,
2657 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2658 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2660 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2663 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2666 This fixes bug #104730.
2668 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2670 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2671 Set is_text field of Accessibility_DeviceEvent data structure.
2673 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2674 is-text field of AccessibleDeviceEvent data structure.
2676 This addresses part of bug #108666.
2678 * registryd/devcieeventcontroller.c: Unset debug option.
2680 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2682 * cspi/accessible.c:
2683 (cpi_initial_relation_type_table): New function which initializes
2684 mapping between Accessibility_RelationType and AccessibleRelationType.
2685 (cspi_relation_type_from_spi_relation_type): New function which
2686 translates an Accessibility_RelationType into an AccessibleRelationType.
2687 (AccessibleRelation_getRelationType): Use
2688 cpi_relation_type_get_spi_relation_type to return correct value.
2689 (spi_state_to_corba): Return correct type for default case.
2691 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2692 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2694 * cspi/cspi-bonobo-listener.c:
2695 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2698 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2699 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2700 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2701 libspi/image.c, libspi/listener.c, libspi/selection.c,
2702 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2703 registryd/desktop.c, registryd/registry.c:
2704 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2706 * libspi/eventlistener.c
2707 Remove semicolon after BONOBO_TYPE_FUNC.
2709 * libspi/relation.c:
2710 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2711 (spi_init_relation_type_table): Initialize using correct type.
2713 * registryd/desktop.c:
2714 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2715 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2716 of Accessibility_KeyEventType.
2718 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2721 * tests/simple-at.c, tests/screen-review-test.c:
2722 Add include for <strings.h>.
2724 * tests.stress-test.c:
2725 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2727 These changes fix compiler warnings when using FORTE compiler on
2728 Solaris; fixes bug #107479.
2731 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2734 * configure.in: revved to 1.1.10
2736 * libspi/keymasks.h:
2737 (SPI_KEYMASK_NUMLOCK): Added.
2739 * registryd/deviceeventcontroller.c:
2740 (spi_key_event_matches_listener): AND with a smaller
2741 bitmask (as we should).
2742 (spi_dec_translate_mask):
2743 New method, sets the virtual NumLock modifier bit
2744 if numlock is on. Eventually it can handle other virtual
2745 modifier bits if needed, or other marshalling from
2746 at-spi modifier masks to platform (X) masks.
2747 (spi_dec_key_listener_new):
2748 Call spi_dec_translate_mask to set up virtual mod bits
2749 in the 'mask' field when creating a new listener struct.
2750 (spi_dec_emit_modifier_event):
2751 Set the virtual (i.e. NumLock) bits before emitting event.
2752 (spi_controller_register_with_devices):
2753 Query for the NumLock modifier 'physical' bit if Xkb is
2754 present, for use in above methods.
2758 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2760 * registryd/deviceeventcontroller.c:
2761 (spi_keystroke_from_x_key_event):
2762 Instead of checking to see if the keysym is
2763 printable, check the string from XLookupString
2764 if available, get the first unicode character from it,
2765 and call g_unichar_isprint to determine whether the
2766 is_text flag should be TRUE or FALSE.
2770 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2772 * atk-bridge/bridge.c: Add support for extended events
2773 * cspi/spi_event.c: Add documentation and implementation for
2775 * tests/event-listener-test.c: Add tests for extended events.
2777 This fixes bugs #100424 and #100426.
2779 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2781 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2782 of LT_CURRENT. This fixes bug #89350.
2784 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2786 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2787 number of signal parameter values before accessing them. This fixes
2790 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2792 * configure.in: Fixed duplicate inclusion of -lspi.
2793 * branched for gnome-2-2/HEAD.
2794 [created tag "gnome-2-2"]
2796 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2798 * configure.in: 1.1.9 release.
2801 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2803 [needed by GOK, to fix bugs 107985 and 107988]
2804 * registryd/deviceeventcontroller.c:
2805 (spi_dec_clear_unlatch_pending):
2806 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2807 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2808 (spi_dec_init_mouse_listener):Emit warning if mouse button
2810 (spi_device_event_controller_forward_mouse_event):
2811 Removed unnecessary parens from a conditional.
2812 (global_filter_fn):Added TODO comment.
2813 (impl_generate_keyboard_event):
2814 Cancel a pending relatch if a 'delatching' key was
2817 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2819 * atk-bridge/bridge.c:
2820 Change atk_signal_child_changed to atk_signal_children_changed.
2821 Reorganize code in spi_atk_bridge_signal_listener().
2823 * test/event-listener-test.c:
2824 Add children_changed_listener and report_children_changed_event()
2825 to test AccessibleChildEvent_getChildAccessible.
2827 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2829 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2830 g_strdup to CORBA_String_dup (bug #105291)
2832 * test/event-listener-test.c (report_text_event): Add call to
2835 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2837 * registryd/deviceeventcontroller.c:
2838 (spi_keystroke_from_x_key_event):
2839 Fix string and keysym return codes to match modifier state.
2842 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2844 * registryd/deviceeventcontroller.c:
2845 (spi_keystroke_from_x_key_event):
2846 Fix segv due to improper use of isprint(c). [bug #107254]
2848 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2851 (get_accessible_text_boundary_type):
2852 Move default return value to (new) default case in switch.
2853 (get_accessible_text_clip_type):
2854 Move default return value to (new) default case in switch.
2856 * libspi/application.c:
2857 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2858 Remove unused methods.
2859 (impl_accessibility_application_register_object_event_listener):
2860 Remove unused methods.
2863 Added #include of <math.h>.
2865 * registryd/deviceeventcontroller.c:
2866 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2867 we don't currently use this method.
2868 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2870 (impl_generate_key_event):
2871 Remove unused variables.
2872 (impl_generate_mouse_event):
2873 Initialize button to zero, just in case we get an invalid
2874 input. Added support for mouse buttons 4 and 5.
2875 (spi_device_event_controller_new):
2876 Removed unused variable declaration for 'private'.
2878 Added #include of <gdk/gdk.h>
2880 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2882 * configure.in: Update to work when X is not installed in expected
2883 location. Fixes bug #105836.
2885 * atk-bridge/bridge.c
2886 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2888 (spi_atk_register_event_listener): Add signal listener for
2890 (spi_atk_bridge_signal_listener): Event event when link-selected
2891 signal is emitted. (bug #104622)
2893 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2894 on returned string. (bug #105291)
2896 * test/event-listener-test.c: Add test for link-selected.
2898 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2900 * atk-bridge/Makefile.am: Correct typo in previous commit.
2902 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2904 * atk-bridge/Makefile.am: Allow for build directory to be different
2905 from source directory
2907 * registryd/Makefile.am: Allow for build directory to be different
2908 from source directory
2912 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2915 Fixed dependencies for libcspi so that libspi gets pulled in
2916 properly. Fixes 104741.
2920 Clean up inline docs a little.
2922 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2924 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2925 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2926 the AtkObject within an SpiDesktop.
2927 This addresses bug #101524.
2929 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2930 Remove call to gdk_init().
2932 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2933 so that Display is set when SpiDesktop is created.
2935 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2937 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2938 This fixes bug #102830.
2940 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2942 * test/test-simple.c: Update to take account of fact that GailButton
2943 now implements AtkText.
2944 (create_text_window): Set name on AtkObject for GtkEntry.
2945 (validate_accessible): Check accessible name before calling test_text().
2947 * libspi/Makefile.am: Fix problem with building outside of source
2948 directory. Bug #98120.
2950 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2951 typo in documentation comments. Bug #94275.
2953 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2955 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2957 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2960 Add includes to avoid compiler warnings on Solaris.
2961 (impl_getRangeExtents): Bug fix.
2963 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2965 Fix for 100944, [API addition approved by Gman and murrayc].
2972 * idl/Accessibility_Text.idl:
2973 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2974 (Text::getRangeExtents): New method for efficient
2975 bounds query of a text range.
2976 (Text::getBoundedRanges): New method for efficient
2977 clipping of text to bounding boxes.
2978 (unImplemented7, unImplemented8):
2979 Removed these padding methods to preserve bincompat.
2982 (impl_getRangeExtents): implementation of new IDL.
2983 (impl_getBoundedRanges): implementation of new IDL.
2984 (SpiTextRect): Internal use struct.
2985 (_spi_text_rect_union): internal method, calculates union of two
2986 SpiTextRect bounding rects.
2987 (_spi_text_range_seq_from_gslist): internal method, allows us
2988 to build our sequence efficiently as a gslist then convert it
2990 (_spi_bounds_contain): internal method, determines whether
2991 a text character is "in" or "out" of a clip rect according to
2992 values of TEXT_CLIP_TYPE.
2993 (spi_text_class_init): Initialize the new methods in the epv.
2996 (AccessibleTextClipType): New enum used by screen review api.
2997 (AccessibleTextRange): New struct used by screen review api.
2998 (AccessibleText_getRangeExtents):
2999 cspi binding for Accessibility_Text_getRangeExtents.
3000 (AccessibleText_getBoundedRanges):
3001 cspi binding for Accessibility_Text_getBoundedRanges.
3002 (AccessibleTextRange_freeRanges): convenience method.
3005 (AccessibleText_getRangeExtents):
3006 cspi binding for Accessibility_Text_getRangeExtents.
3007 (AccessibleText_getBoundedRanges):
3008 cspi binding for Accessibility_Text_getBoundedRanges.
3009 (AccessibleTextRange_freeRanges): convenience method.
3010 (get_accessible_text_clip_type): internal conversion method.
3011 (get_accessible_text_ranges_from_range_seq): internal conversion method.
3013 * registryd/deviceeventcontroller.c:
3014 (spi_dec_mouse_check):
3015 Improved behavior for mouse:abs events
3016 [same granularity as mouse:rel events, and no
3017 events when mouse is idle].
3019 2002-12-16 Michael Meeks <michael@ximian.com>
3021 * cspi/spi_accessible.c (spi_state_to_corba): rename.
3023 * libspi/stateset.c (state_spi_to_atk): split out
3024 ( fix several remote array bounds nasties )
3025 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
3026 (impl_remove): make safe from array bounds issues.
3027 (spi_atk_state_from_spi_state): impl.
3029 * libspi/stateset.h (spi_state_set_cache_is_empty):
3030 add a set of wrapper defines to get layering right.
3032 * cspi/spi_accessible.c: update state set stuff to
3035 2002-12-14 Michael Meeks <michael@ximian.com>
3037 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
3038 to avoid 2 roundtrips to the registry per key event
3039 (spi_atk_bridge_key_listener): upd.
3040 (deregister_application): release the dec.
3042 * registryd/registry.c (notify_listeners_cb):
3043 bin lots of re-enterant complexity - we no longer
3044 do a round-trip bonobo ref here, ensure that a single
3045 listener's exception failure won't poison all other
3047 (impl_registry_notify_event): bin obvious memory leak.
3049 2002-12-13 Michael Meeks <michael@ximian.com>
3051 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
3052 init the ev so the error is meaningful.
3053 (spi_atk_bridge_key_listener): ditto.
3055 * cspi/spi_main.c (cspi_ev): init the ev so we start
3056 with a clean slate, otherwise the first exception
3057 kills us completely.
3059 * cspi/spi_text.c (get_accessible_text_boundary_type):
3060 add a fallthrough for no warnings.
3062 * cspi/spi_registry.c: prune unused warnings.
3064 * cspi/spi_main.c (cspi_object_take): fix
3065 mind-blowing brokenness ( by watching the compile
3068 * cspi/spi_accessible.c (Accessible_getStateSet):
3069 re-impl. to use an AtkStateSet.
3070 (spi_state_type_from_accessible_state),
3071 (init_state_table): bin these.
3073 * libspi/stateset.c (spi_atk_state_set_from_sequence):
3075 (atk_state_set_from_accessibility_state_set): here.
3077 * cspi/spi_accessible.c (spi_state_to_atk): impl.
3078 (AccessibleStateSet_contains, AccessibleStateSet_ref),
3079 (AccessibleStateSet_unref, AccessibleStateSet_contains),
3080 (AccessibleStateSet_add, AccessibleStateSet_remove),
3081 (AccessibleStateSet_equals, AccessibleStateSet_compare),
3082 (AccessibleStateSet_isEmpty): re-write to use a local
3085 2002-12-13 Bill Haneman <bill.haneman@sun.com>
3087 * configure.in: Revved to 1.1.7 (new keymask vals).
3089 2002-12-10 Bill Haneman <bill.haneman@sun.com>
3091 * libspi/keymasks.h:
3092 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
3094 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
3097 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
3098 to compare two CORBA_TypeCodes.
3099 (cspi_internal_event_add): Silence warning from FORTE compiler.
3101 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
3102 avoid implicit declaration of functions.
3104 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3106 * atk-bridge/bridge.c:
3107 (spi_atk_bridge_init_event_type_consts): Store signal id for
3108 active-descendant-changed signal.
3109 (spi_atk_register_event_listeners): Add signal listener for
3110 active-descendant-changed signal,
3111 (spi_atk_bridge_signal_listener): Move code in function
3112 spi_atk-signal_emit_event() into this function.
3113 Add support for active-descendant-changed
3114 Update support for child-changed signal.
3115 (spi_bridge_window_event_listener): Silence warning.
3117 * libspi/spi_private.[ch]:
3118 (spi_init_any_object): Change second parameter from CORBA_Object to
3120 Omit call to CORBA_Object_duplicate().
3121 Set CORBA_any's _value to CORBA_Object*.
3123 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3129 (AccessibleEvent_ref, AccessibleEvent_unref):
3130 New methods, for persisting an event outside the emission context.
3131 Must be used if the new accessor methods are to be called
3132 outside of the event listener's callback.
3134 * cspi/bonobo/cspi-bonobo.c:
3135 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3136 as second parameter instead of NULL, so we can call
3137 cspi_check_ev afterwards.
3140 (cspi_object_take): New internal method,
3141 converts a CORBA_Object reference to a hard ref on
3142 an Accessible if possible, returning NULL if the object
3143 reference is invalid or an Accessible * otherwise.
3146 (AccessibleEvent_ref):
3147 Increment the event's internal private refcount, and
3148 add the event's internal struct to an internal cache
3149 if it's not already there.
3150 (AccessibleEvent_unref):
3151 Decrement the event's refcount and remove it from
3152 the cspi event cache if refcount==0.
3153 (cspi_event_compare): New private method.
3154 Compares two event structs via their ids. Used
3156 (cspi_internal_event_lookup): New private method.
3157 (cspi_internal_event_check): New private method,
3158 a 0-order sanity check for events to make sure their
3159 private data is intact.
3160 (cspi_internal_event_add, cspi_internal_event_remove):
3161 New private methods for managiing the event cache.
3163 * cspi/bonobo/cspi-bonobo-listener.c:
3165 Initialize the new private data elements (id, magic, ref_count).
3167 * atk-bridge/bridge.c:
3168 (spi_atk_bridge_signal_listener):
3169 Fixed bug #100530, passing wrong params to emission func.
3171 * registryd/deviceeventcontroller.c:
3172 (spi_dec_button_update_and_emit):
3173 Fixed type in mask bit operations; fix for #99799.
3175 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3177 Removed some of the more dangerous workarounds from
3178 previous commit; they are only needed by GOK, which
3179 in reality should be using another method to accomplish
3180 the goals. So on reconsideration some of the workarounds
3181 need to be reverted:
3183 * registryd/deviceeventcontroller.c:
3184 (spi_keycodes_contain, spi_dec_init_keycode_list):
3185 Removed these methods, used only by a nasty hack to try
3186 and detect whether a key synthesis should be allowed
3187 to reset the XKB latch state or not. This code was only
3188 required to work around an interaction between GOK,
3189 button events, and XKB.
3190 (impl_generate_key_event):
3191 Removed hack at end of key generation that tried to
3192 "do the right thing" if XKB latch keys were generated
3193 in the midst of button press/release pairs.
3196 Added a check for HAVE_XINPUT. Not normally used yet.
3198 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3200 Workarounds and fixes for mouse event/XKB interaction.
3202 * registryd/deviceeventcontroller.c:
3203 (spi_keycodes_contain, spi_dec_init_keycode_list):
3204 New internal methods.
3205 (spi_dec_set_unlatch_pending):
3206 Split the method that tells XKB to expect an
3207 unlatch (and revert it) out of the rest of the
3208 event handling code. This method is called by the
3209 two mouse event handlers (the poll and the filter).
3210 (spi_dec_update_and_emit, spi_dec_mouse_check):
3211 New methods split from spi_dec_poll_mouse_moved.
3212 The second one is now called from inside the filterFn
3213 when an XKB delatch event is received, to determine
3214 whether to revert the delatch or not.
3215 (spi_poll_mouse_moved): Refactor; also we can now
3216 properly handle the case where multiple button states
3217 have changed between polling cycles and we didn't get
3218 notified due to another client's grab.
3220 Synchronize the server while handling an XKB notification.
3221 Ugly, but apparently necessary to avoid nasty races.
3222 Check the mouse state on receipt of an XKB latch change,
3223 to decide whether to revert the latch or not. (Latches are
3224 reverted if there is an immediately preceding mouse button
3225 event that a client has consumed, in which case we don't want
3226 the user to see the side-effect of the event).
3227 (spi_device_event_controller_forward_mouse_event):
3228 Check for modifier events and fire before resetting mouse_mask_state,
3229 prevents losing modifier events.
3231 (impl_generate_keyboard_event):
3232 If we've just generated a keyboard event for a non-shift key,
3233 we don't want to revert the pending XKB latch.
3234 Otherwise, check the modifier state (via a call to
3235 spi_dev_mouse_check) and set the relatch mask to
3236 that state before returning.
3238 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3241 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3244 * atk-bridge/bridge.c:
3245 (spi_atk_register_event_listeners):
3246 Don't re-register for ATK events if the registry has died
3247 and the app needs to re-register; the ATK listeners are in
3248 process and doing so will cause duplicate emission.
3250 * registryd/deviceeventcontroller.c:
3251 (spi_poll_mouse_moved):
3252 Reformat the source, detect and emit multiple button-change
3253 events (i.e. if multiple buttons have changed between poll
3255 Add code to detect mouse-down events even when the pointer
3256 is grabbed; workaround for GOK bug 98420.
3257 (spi_controller_register_with_devices):
3258 Call XTestGrabControl with 'impervious' flag set to True,
3259 allows us to synthesize events and query the pointer even during
3260 an active grab by another client.
3261 (spi_device_event_controller_forward_mouse_event):
3262 Set the mouse_mask_state to the mouse_button_state from
3263 the intercepted event, to synchronize the grab listener with
3266 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3268 * cspi/spi_accessible.c:
3269 (AccessibleRole_getName):
3270 Added necessary strings for making this (deprecated)
3271 method work with the new role types.
3272 (init_role_table, role_table):
3273 Added definition of SPI_ROLE_APPLICATION.
3275 * libspi/spi-roletypes.h:
3276 Added SPI_ROLE_APPLICATION.
3278 * idl/Accessibility_Role.idl:
3279 Added ROLE_APPLICATION.
3281 * docs/reference/cspi/at-spi-cspi-decl.txt:
3282 Added SPI_ROLE_APPLICATION to docs.
3284 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3286 * cspi/spi_accessible.c
3287 (cspi_init_role_table): Do not write beyond end of role_table.
3288 (Accessible_getRole): Use correct type for value returned by
3289 Accessibility_Accessible_getRole().
3291 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3292 beyond end of role_table. (This fixes bug #98269)
3294 * libspi/application.c: Add include file spi-private.h for
3295 definition of spi_init_any_nil.
3297 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3301 * libspi/spi-private.h:
3302 Added DGB() macro, and extern int _dbg declaration.
3304 * registryd/registry.c:
3305 (definitions) storage for _dbg.
3306 (spi_registry_init):
3307 Get environment variable "AT_SPI_DEBUG".
3308 (spi_registry_set_debug):
3309 New method, to initialize _dbg value.
3310 (spi_listener_struct_new, spi_registry_object_finalize):
3311 (notify_listeners_cb):
3312 Changed fprintfs to use DBG and g_warning().
3314 * registryd/deviceeventcontroller.c:
3315 (_deregister_keygrab, spi_controller_register_device_listener):
3316 Changed debug/warning messages to use DBG macro.
3318 * libspi/listener.c:
3319 (impl_notify_event):
3320 Changed warning messages to use DBG macro and g_warning().
3322 * atk-bridge/bridge.c:
3323 (atk_bridge_init, spi_atk_bridge_get_registry):
3324 (spi_atk_bridge_exit_func):
3325 (spi_atk_bridge_property_event_listener):
3326 Changed status, warning, and error messages to use
3327 g_warning, g_message, and DBG macros.
3330 Read the state of the AT_SPI_DEBUG environment variable
3331 and set a local '_dbg' accordingly.
3333 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3335 FIXES for 98836, 98842, other bugs.
3338 Revved to 1.1.4, interface-age=4, binary-age=4.
3340 * registryd/deviceeventcontroller.c:
3342 Fixed crasher bug in last_mouse_pos initialization.
3344 * registryd/registry.c:
3345 (desktop_add_application, desktop_remove_application):
3346 Added (and then commented out) some support for
3347 object context marshalling. [TODO]
3349 * atk-bridge/bridge.c:
3350 (spi_atk_bridge_event_context_create):
3351 Commented out object context creation until it can
3352 be properly tested and debugged.
3354 * registryd/registry.c:
3355 (impl_registry_notify_event):
3356 Fixed crasher bug, we were calling
3357 spi_re_entrant_list_foreach () with an empty list.
3359 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3361 * idl/Accessibility_Action.idl:
3362 * idl/Accessibility_Component.idl:
3363 * idl/Accessibility_Desktop.idl:
3364 * idl/Accessibility_Event.idl:
3365 * idl/Accessibility_Hyperlink.idl:
3366 * idl/Accessibility_Image.idl:
3367 * idl/Accessibility_Relation.idl:
3368 * idl/Accessibility_Selection.idl:
3369 * idl/Accessibility_State.idl:
3370 * idl/Accessibility_Value.idl:
3371 Updated unimplemented slot count to minimum of
3372 four for all interfaces, for ABI freeze.
3374 * idl/Accessibility_EditableText.idl:
3375 * idl/Accessibility_Text.idl:
3376 Updated unimplemented slot count to six
3379 * idl/Accessibility_Registry.idl:
3380 Updated unimplemented slot count to six
3381 (also for DeviceEventController),
3384 * idl/Accessibility_Table.idl:
3385 Updated unimplemented slot count to eight,
3388 * idl/Accessibility_Event.idl:
3389 Added CORBA_any "any_data" member to Event struct.
3391 * idl/Accessibility_Event.idl:
3392 Added CORBA_any "any_data" member to Event struct.
3394 * atk-bridge/bridge.c:
3396 atk_signal_text_changed, atk_signal_child_changed,
3397 signal ids queried from gtype system.
3398 (AtkBridgeEventContextType): New enum.
3399 (AtkBridgeEventContextData): New struct.
3400 (AtkBridgeEventContext): New struct.
3401 (atk_bridge_init_event_type_consts):
3402 New method, initializes type contants for comparison
3403 prior to emit_eventv.
3404 (atk_bridge_event_context_init): New method,
3405 initializes a CORBA_any from an AtkBridgeEventContext.
3406 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3407 initialize the event.any_data struct.
3408 (spi_atk_bridge_event_context_create): New method,
3409 creates an AtkBridgeEventContext from signal/event info.
3410 (spi_atk_bridge_event_context_free): New method.
3411 (spi_atk_emit_eventv): Changed to take an
3412 AtkBridgeEventContext parameter. We now initialize
3413 the event.any_data member prior to notifying the
3414 Registry, via the AtkBridgeEventContext.
3415 (spi_atk_bridge_property_event_listener):
3416 (spi_atk_bridge_state_event_listener):
3417 Match emit_eventv signature.
3418 (spi_atk_bridge_object_event_listener):
3419 Match emit_eventv signature, and create an
3420 event context from the event details.
3421 Free the event context afterwards.
3422 (spi_atk_bridge_window_event_listener):
3423 Create an event context, pass it to the
3427 (AccessibleEvent_getContextString):
3428 (AccessibleEvent_getContextObject):
3429 New methods, allow query of AccessibleEvent objects
3430 for more context details (via the "any_data" member
3431 of the Event struct, above).
3434 Definitions for AccessibleEvent_getContextString
3435 and AccessibleEvent_getContextObject.
3437 * cspi/spi_listener.h:
3438 (InternalEvent): New struct.
3441 (AccessibleEvent_getContextString):
3442 (AccessibleEvent_getContextObject):
3443 Implementations of new methods, for obtaining
3444 additional context information from some event types.
3446 * cspi/spi_registry.c:
3447 (SPI_registerGlobalEventListener):
3448 Added mention of active-descendant-changed event in docs.
3450 * cspi/cspi-bonobo-listener.c:
3452 Marshal the any into the AccessibleEvent via
3455 * libspi/spi-private.h:
3456 #include <orbit/orbit.h>
3458 (spi_init_any_string):
3459 (spi_init_any_object):
3460 New convenience function declarations.
3464 (spi_init_any_string):
3465 (spi_init_any_object):
3466 New convenience function implementations.
3468 * registryd/deviceeventcontroller.c:
3469 (spi_poll_dec_mouse_moved):
3470 (spi_device_event_controller_forward_mous_event):
3471 Initialize any_data member of event.
3472 (spi_deregister_controller_device_listener):
3473 Fix incorrect param pass which was preventing deregistration.
3475 * registryd/registry.c:
3476 (desktop_add_application):
3477 (desktop_remove_application):
3478 Add object data to event's any_data before dispatch.
3480 Fix for error messages from GAIL.
3482 * test/event-listener-test.c:
3483 Test new ContextString and "any_data" API:
3484 (report_text_event): New method query and output context string.
3485 (main): register a new text listener with report_text_event
3488 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3490 Fixes for bugs 98127 and 97914.
3491 * cspi/spi-roletypes.h:
3492 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3494 * cspi/spi-statetypes.h:
3495 Added SPI_STATE_MANAGES_DESCENDANTS
3497 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3498 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3499 * cspi/spi_accessible.c:
3500 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3501 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3502 Accessibility_STATE_MANAGES_DESCENDANTS
3503 * libspi/accessible.c:
3504 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3505 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3506 As requested by Bill, I also cleaned up the alignment.
3507 * libspi/relation.c:
3508 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3509 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3510 * libspi/stateset.c:
3511 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3512 Accessibility_STATE_MANAGES_DESCENDANTS
3513 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3514 Document changes reflecting modifications to roles.
3515 * docs/reference/cspi/tmpl/spi_relation.sgml:
3516 Document changes reflecting modifications to relations.
3517 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3518 Document changes reflecting modifications to states.
3520 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3523 Revved to 1.1.3, interface-age=3, binary-age=3.
3524 Added REBUILD macro.
3527 Removed accessx-gui from the tests, since we have a nice
3528 keyboard accessibility capplet now :-)
3530 * test/keysynth-demo.c:
3531 (increment_scan): removed do-nothing default: case,
3534 * test/visual-bell.c:
3535 (main) : removed do-nothing default: case,
3538 * cspi/spi_action.c:
3539 (AccessibleAction_getKeyBinding_):
3540 Documented keybinding string format.
3544 (AccessibleText_getAttributes):
3545 Documented the text attribute string format.
3546 It's changed to use semicolon delimiters also,
3547 to prevent clashes with CSS attributes, but the old
3548 trick of looking for ", " strings will still work
3549 (as unreliably as ever). Fix for bug related to 97916.
3552 Include <cspi/bonobo/cspi-bonobo-listener.h>
3553 Fixes build warning.
3554 (SPI_freeAccessibleKeySet):
3555 (AccessibleKeystrokeListener_addCallback):
3556 (AccessibleKeystrokeListener_removeCallback):
3557 Modify to use AccessibleDeviceListener API internally,
3558 instead of AccessibleKeystrokeListener.
3560 * idl/Accessibility_Event.idl:
3561 Added two more empty slots to EventListener (for a total of four).
3563 * idl/Accessibility_Accessible.idl:
3564 Added four empty slots to Accessible interface.
3566 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3568 * idl/Accessibility_Registry.idl:
3569 (KeyEventType, EventType):
3570 Marked KeyEventType as deprecated; it duplicates
3571 functionality of EventType, which has been extended to
3572 include Mouse-button events.
3573 (KeyEventTypeSeq): defined in terms of EventType.
3574 (registerDeviceEventListener, deregisterDeviceEventListener):
3575 New methods, for managing listeners to device events,
3576 which potentially may consume them.
3579 Added definition for AccessibleDeviceListener.
3581 * cspi/spi-listener.h:
3582 (enum AccessibleDeviceEventType):
3583 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3584 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3585 for backwards compat.
3586 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3587 and typedef'd AccessibleKeystroke to it for back-compat.
3588 (AccessibleDeviceListenerCB):
3589 New function prototype typedef.
3592 (AccessibleDeviceEventMask): New typedef.
3593 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3594 (AccessibleKeyMaskType):
3595 Set equivalent to AccessibleModifierMaskType for back-compat.
3596 (SPI_createAccessibleKeystrokeListener):
3597 (AccessibleKeystrokeListener_unref):
3598 Deprecated in favor of equivalent (better-named) new API below..
3599 keystroke listeners are like all device listeners.
3600 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3601 New API names for old features :-).
3602 (AccessibleDeviceListener_addCallback):
3603 (AccessibleDeviceListener_removeCallback):
3604 (SPI_registerDeviceEventListener):
3605 (SPI_deregisterDeviceEventListener):
3609 (SPI_createAccessibleKeystrokeListener):
3610 Use new preferred API, cspi_device_listener_new() and
3611 cspi_device_listener_add_cb().
3612 (AccessibleKeystrokeListener_removeCallback):
3613 Use new preferred API, cspi_device_listener_remove_cb().
3614 (AccessibleKeystrokeListener_unref):
3615 Use new preferred API, cspi_device_listener_unref().
3616 (SPI_createAccessibleDeviceListener):
3617 (AccessibleDeviceListener_addCallback):
3618 (AccessibleDeviceListener_removeCallback):
3619 Implementation of new API.
3621 * cspi/spi_registry.c:
3622 (SPI_registerDeviceEventListener):
3623 (SPI_deregisterDeviceEventListener):
3624 Implementation of new API. Fixed memory leak and removed need to
3625 allocate EventTypeSeq (thanks Michael for catching this).
3626 Squashed a wayward CORBA_exception_free that shouldn't get called.
3628 * cspi/bonobo/cspi-bonobo-listener.c:
3630 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3631 (cspi_key_event): renamed to cspi_device_event().
3632 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3633 Extended to handle mouse button events as well as key events.
3634 (CSpiKeystrokeListener):
3635 Class superceded by CSpiDeviceListener.
3636 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3637 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3639 * cspi/bonobo/cspi-bonobo-listener.h:
3640 (CSpiKeystrokeListener):
3641 Class superceded by CSpiDeviceListener.
3642 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3643 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3645 * libspi/Makefile.am:
3646 Replaced keystrokelistener.h and keystrokelistener.c
3647 with devicelistener.h and devicelistener.c; keystrokelisener.h
3648 stub retained for back-compat.
3650 * libspi/keystrokelistener.c:
3654 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3656 * registryd/deviceeventcontroller.c:
3657 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3658 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3659 (DEControllerPrivateData): Added xkb settings data.
3660 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3661 button release events (which can't be captured via XGrabButton).
3662 Don't dispatch via the 'normal' event mechanism if the device event was
3664 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3665 Handle the typeseq data in its new location (see above).
3666 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3667 New methods, for "generic" device listeners.
3668 (spi_controller_register_device_listener):
3669 Now handle mouse event listeners as well as key listeners.
3670 (spi_controller_notify_mouselisteners):
3671 New internal method.
3672 (spi_device_event_controller_forward_mouse_event):
3673 Now we notify mouse device listeners as well as generating the
3674 non-consumable "mouse:" events.
3676 We must check and restore the XKB
3677 modifier map if we consume the event, since the act of triggering
3678 a mouse event will normally reset the XKB latch. This is required for
3680 (spi_controller_register_with_devices):
3681 Load the XKB settings when registering, and register for XKB
3682 state notify events.
3683 (spi_key_eventtype_seq_contains_event):
3684 Renamed spi_eventtype_seq_contains_event, since it's used
3685 internally for all device event types now.
3686 (spi_key_event_matches_listener):
3687 Uses spi_eventtype_seq_contains_event now.
3688 (spi_device_event_controller_object_finalize):
3689 Free the private data and the XkbKeyboard struct.
3690 (impl_register_device_listener, impl_deregister_device_listener):
3691 Implementation of new IDL.
3692 (spi_deregister_controller_device_listener):
3693 New internal method.
3694 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3695 More efficient implementation, we don't have to create a new
3696 XkbControls structure every time we query.
3697 (spi_device_event_controller_class_init):
3698 Initialize the epv entries for the new IDL. Assign the
3699 "spi-dec-private" quark.
3700 (spi_device_event_controller_init):
3701 Initialize the private data.
3702 (spi_device_event_controller_forward_key_event):
3703 Removed a bogus CORBA_exception_free() call.
3705 * registryd/deviceeventcontroller.h:
3706 Replaced inclusion of keystrokelistener.h with
3709 * test/event-listener-test.c:
3710 (report_mouse_event):
3713 Added mouse-event device listener.
3715 * test/test-simple.c:
3716 (create_test_window):
3717 Fixed regression (we were instantiating a GtkRange,
3718 which is now an abstract class). Also fixed to match
3719 existing AtkRole names, this seems to have changed in ATK
3720 awhile ago; too late now I think, and the new
3721 mechanism is at least elegant and consistent with the
3722 glib enum "nick" APIs.
3724 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3726 * idl/Accessibility_Relation.idl:
3727 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3728 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3729 * idl/Accessibility_Role.idl:
3730 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3731 * idl/Accessibility_State.idl:
3732 add STATE_MANAGES_DESCENDANTS
3733 * test/event-listener-test.c:
3734 Added a listener for active-descendant events.
3736 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3738 * atk-bridge/bridge.c
3739 (atk_bridge_init): If application is Bonobo component wait until top
3740 level is added before registering
3741 (spi_atk_bridge_do_registration): New function which contains code,
3742 formerly in atk_bridge_init, to do application registration.
3743 (spi_atk_bridge_toplevel_added): Signal called when top level
3744 added to Bonobo component
3746 This fixes bug #83134.
3748 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3750 * registryd/deviceeventcontroller.c
3751 Fixed compilation error caused by calling gettimeofday()
3754 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3759 Added template for HAVE_XKB.
3762 Changes to check for XKB, and to set the HAVE_XKB #define if it
3765 * libspi/listener.c:
3766 ()impl_notify_event): Make failure to get event source name
3769 * registryd/deviceeventcontroller.c:
3770 (#include): include X11/XKBlib.h.
3771 (DEControllerPrivateData) : New struct.
3772 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3774 (dec_synth_keycode_press) (dec_synth_keycode_release):
3775 New methods; split the key synthesis code into these methods.
3776 They check XKB settings before determining the "time" values to
3777 pass to Xtest; this fixes bug #95828.
3778 (impl_generate_keyboard_event): Changed to use methods above,
3779 instead of callng Xtest directly.
3780 (spi_device_event_controller_init): Initialize new privae struct s
3782 (spi_device_event_controllr_object_finalize):
3783 Free the (new) private data.
3785 * registryd/deviceeventcontroller.h:
3786 Add new gpointer to end of struct data.
3788 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3791 Incremented revision to 1.1.2, SONAME is still '.so', library
3792 extensions are ".so.0.0.2".
3794 * registryd/deviceeventcontroller.c:
3795 FIXES FOR #93592 and #95940.
3796 (statics): renamed mouse_button_state to mouse_mask_state,
3797 added key_modifier_mask.
3798 (spi_dec_poll_mouse_moved):
3799 Added key modifier checks, and emit "keyboard:modifiers"
3800 events when the key modifiers currently in use change.
3801 Also generate "mouse:abs" events periodically, even if the mouse
3802 is stationary (should we?).
3803 Alternatively we could generate "mouse:abs" events for either all
3804 mouse movements, or every 'nth' mouse movement, or at the
3805 beginning and end of every "active" mouse period.
3807 * test/event-listener-test.c:
3808 (main): Added listener for "keyboard:modifiers" events.
3810 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3812 * libspi/keymasks.h:
3813 Added key mask #defines for mouse buttons; e.g.
3814 SPI_KEYMASK_BUTTON1, etc.
3817 Incremented dependency on ATK to version 1.1.0. (This dependency
3818 is probably premature but will soon be real enough).
3820 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3822 * libspi/hyperlink.[ch]
3823 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3824 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3827 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3832 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3834 * registryd/deviceeventcontroller.c
3835 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3836 events to be ignored.
3837 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3838 keyboard_mode so that XAllowEvents() can be called.
3842 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3844 * cspi/spi-accessible.c: Correct names of roles returned by
3845 AccessibleRole_getName(). Fixes bug #95055.
3847 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3849 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3852 * registryd/registry.c
3853 (desktop_remove_application: Write diagnostic message to stderr for
3856 (impl_accessibility_registry_deregister_global_event_listener):
3857 Correct size of lists array. This addresses bug #94555).
3859 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3861 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3864 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3866 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3869 * registryd/registry.c (impl_registry_notify_event): Remove
3870 unnecessary call to parser_event_type().
3872 * docs/reference/cspi/tmpl/spi_component.sgml:
3873 Add reference to SPI_LAYER_WINDOW.
3875 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3877 * registryd/registry.c
3878 (desktop_add_application): Remove leak.
3879 (desktop_remove_application): Remove leak.
3880 (parser_event_type): Remove leak.
3882 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3884 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3885 bogus call to CORBA_string_dup(). Also removed unnecessary
3886 g_string_dup/g_free calls.
3888 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3890 * registryd/deviceeventcontroller.c:
3891 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3893 * test/event-listener-test.c:
3894 main: commented out three redundant listeners, to reduce output
3895 noise. (They still are potentially useful for testing).
3898 2002-09-13 Michael Meeks <michael@ximian.com>
3900 * Update all the copyrights to include Ximian.
3902 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3904 * cspi/spi.h: add SPI_LAYER_WINDOW.
3906 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3907 add Accessibility_LAYER_WINDOW case.
3909 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3911 * libspi/component.c: (impl_accessibility_component_get_layer):
3912 add ATK_LAYER_WINDOW case.
3914 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3916 * configure.in: incremented micro version.
3918 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3920 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3923 Clarified and reworded our commit policy.
3926 Started an API "todo" addition list for 2.2.
3929 (impl_getSelection):
3930 Free char pointer from atk_text_get_selection, which was being leaked.
3932 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3935 Small revision to author acknowledgement.
3937 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3939 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3940 If signal has detail add it to the type of the event.
3943 2002-08-12 Michael Meeks <michael@ximian.com>
3945 * test/test-simple.c (global_listener_cb): bin bogosity.
3946 (test_keylisteners): disable, still doesn't work reliably,
3947 certainly not on my system anyway.
3949 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3950 don't leak a reference on the DEC. This round-trip
3951 fetching of the DEC per keystroke sucks, it should be
3954 * cspi/spi-private.h,
3955 * cspi/cspi-lowlevel.h,
3956 * cspi/bonobo/cspi-bonobo-listener.[ch],
3957 * cspi/bonobo/cspi-bonobo.c: get the copyright
3958 notices better - there is still a large amount of
3959 work in at-spi falsely attributed solely to Sun.
3961 * cspi/spi_main.c (cspi_object_ref): kill bogus
3962 hash lookup, just increment the ref.
3963 (SPI_freeString): make explicit the fact that we
3964 handle NULL strings just fine.
3965 (report_leaked_ref): obey coding standards.
3966 (cspi_object_hash, cspi_object_equal): kill retval.
3967 (cspi_object_release): only release if not on loan.
3968 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3969 (cspi_object_borrow, cspi_object_return): impl.
3971 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3972 use cspi_object_borrow / return.
3974 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3976 * cspi/bonobo/cspi-bonobo-listener.c:
3978 Don't call cspi_oject_new() because this is creating a new Accessible
3979 every single time that an event is fired. This causes ATs like at-poke
3980 to nolonger recognise the source of the event and thus ignore it.
3981 Re-use the object from the cache, ref it and then unref it after the
3982 listeners have been called.
3984 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3986 * test/event-listener-test.c:
3987 Added command-line options to disable mouse events (m) and
3990 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3992 * configure.in: Update required versions of ATK, GTK+ and GAIL
3994 * cspi-1.0.pc.in: Add dependency for X include files
3997 * cspi/bonobo/Makefile.am:
3998 Add $(X_CFLAGS) so that X include files
3999 are picked up even if not in standard place (bug #71686)
4001 2002-06-25 Bill Haneman <bill.haneman@sun.com>
4003 * registryd/deviceeventcontroller.c: fix for 84261
4004 (spi_dec_mouse_moved):
4005 Added test of mouse button mask, so that we can detect mouse
4006 button release. Unfortunately we can't otherwise detect mouse
4007 button release events without consuming the mouse press event,
4008 because of the way XGrabButton works. This means that our mouse
4009 release events have a latency dependent on the polling period
4010 while the mouse button is down. At least in this case we only
4011 have to poll while the button is down, and not at other times.
4012 If the button masks don't match with what the last press event
4013 reported, we report the appropriate button release event.
4014 (spi_dec_ungrab_mouse):
4015 New method (not yet called).
4016 (spi_device_event_controller_forward_mouse_event):
4017 New method, sends mouse press event from GdkFilter.
4018 (spi_dec_init_mouse_listener):
4019 Added code to call XGrabButton, redirecting mouse button events to
4020 the root window and our Gdk event loop.
4022 Added code to filter mouse button events, and reordered.
4024 * test/event-listener-test.c:
4026 Added registration for mouse events of type "mouse:button".
4028 2002-06-25 Bill Haneman <bill.haneman@sun.com>
4030 * registryd/deviceeventcontroller.c: partial fix for 84261
4031 (spi_dec_poll_mouse_idle):
4032 New method, a timeout which checks to see if the mouse
4034 (spi_dec_poll_mouse_moving):
4035 A timeout to be called when mouse motion is underway.
4036 (spi_dec_poll_mouse_moved):
4037 A method which fires an event if the mouse has moved, and reports
4038 whether or not it did so.
4039 (spi_dec_init_mouse_listener):
4040 A method which sets up the timeouts above.
4041 (spi_device_event_controller_new):
4042 Now calls spi_dec_init_mouse_listener.
4044 * registryd/registry.c:
4045 (spi_registry_init):
4046 Now we initialize the device event controller when the registry is
4047 initialized, instead of waiting until a client has requested a key
4048 event notification; this is because we need the event controller
4049 for mouse events, but the mouse event registration API is a
4050 "registry" call and doesn't explicitly call the
4051 deviceeventcontroller.
4052 We now report mouse motion events with a 100 ms idle latency and
4053 a 20 ms granularity when motion is in progress.
4055 * test/event-listener-test.c:
4057 We now register the "detail listener" for events of type
4058 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
4059 delivered only for the first mouse event received, and thereafter
4060 "mouse:abs" events are delivered.)
4062 * cspi/spi_registry.c:
4063 DOCS: Documented the above mouse event typestrings.
4065 2002-06-21 Bill Haneman <bill.haneman@sun.com>
4067 Happy Summer Solstice...
4069 * registryd/deviceeventcontroller.c: [fix for bug 84100]
4070 (spi_controller_notify_keylisteners):
4071 Changes to remove a listener from the listener list, freeing its
4072 open keygrabs, if a notification to that listener fails. This
4073 means that although a dead listener can continue to hold a passive
4074 keygrab, a maximum of one dispatch to such a listener can fail
4075 before the listener is removed from the list, thus the keygrab
4076 will be released on the next occurrence.
4077 As part of this fix:
4078 (spi_notify_keylisteners):
4079 Renamed to spi_controller_notify_keylisteners, as the controller
4080 instance must now be passed as an argument.
4081 The copied 'notify' GList is now a list of DEControllerKeyListener
4082 objects, since we need more than just the CORBA reference if a
4083 notify fails and we need to deregister the listener.
4084 (impl_notify_listeners_sync):
4085 (impl_notify_listeners_async):
4086 (spi_device_event_controller_forward_key_event):
4087 Modify use of notify_keylisteners in accordance with above
4089 (spi_deregister_controller_key_listener):
4090 New method introduced by refactoring, from
4091 impl_deregister_keystroke_listener.
4092 (impl_deregister_keystroke_listener):
4093 Call spi_deregister_controller_key_listener.
4094 (spi_key_listener_clone):
4095 New method to copy a key listner without doing a 'ref' on the
4096 remote object instance; used to create a notifier list.
4097 (spi_key_listener_data_free):
4098 New method, frees data without unreffing the source.
4100 (spi_key_listener_clone_free): new method.
4101 (spi_key_listener_free):
4102 refactored to call spi_key_listener_data_free.
4104 2002-06-20 Bill Haneman <bill.haneman@sun.com>
4106 * registryd/registry.c: [fix for bug 86048]
4107 (notify_listeners_cb):
4108 Clear CORBA system exceptions which occur when notifying
4109 listeners, before returning to the source of the original event,
4110 since the event source doesn't care if the relayed notify failed.
4111 In other words, don't complain to the atk-bridge if the registry
4112 could not notify all its listeners, that's no fault of the
4113 application and thus should not appear to be an error from the
4114 application's perspective.
4116 * cspi/spi_main.c: [fix for bug 85980]
4118 Replaced use of bonobo_object_dup_ref with call to the wrapper
4119 method, csou_dup_ref (); this silences a compiler warning and
4120 provided more portability.
4122 Ping the registry before return, and restart if necessary.
4124 * cspi/bonobo/cspi-bonobo.c:
4126 New internal method.
4128 Fixed this method to return an object reference, as it should have
4131 * cspi/cspi-lowlevel.h:
4132 Added internal definition for cspi_ping() and fixed
4133 return type of cspi_dup_ref().
4136 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4138 * atk-bridge/bridge.c: [fix for bug 85305]
4139 (spi_atk_bridge_register_application):
4140 New method where the initial application registry calls have been
4141 moved; it allows an application to re-register in response to
4142 certain error conditions (such as a registry restart, see below).
4144 Moved some initialization code to the method
4145 spi_atk_bridge_get_registry, below.
4146 (spi_atk_bridge_get_registry):
4147 New, private accessor function for the Accessibility_Registry
4148 instance. If the registry has not been started before, or has
4149 died (as detected by failure of a CORBA exception), it is
4150 restarted before return, and spi_atk_bridge_register_application
4151 is called again to register with the new bridge instance.
4152 (spi_atk_emit_eventv):
4153 Set registry_died on error; use spi_atk_bridge_get_registry () to
4154 access the registry.
4156 * registryd/registry.c:
4157 (impl_accessibility_registry_register_global_event_listener):
4158 Set listener's event_type_quark to etype.minor instead of
4159 etype.major (fix for bug 84856).
4161 * test/event-listener-test.c:
4162 (report_detail_event):
4163 Change the output string so that user/tester can tell that the
4164 'detail listener' was called instead of the 'generic listener'.
4166 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4168 Fixes for bugs 84900, 84908, 84897, 84898.
4173 Revved version to 1.1.0
4174 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4175 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4177 * idl/Accessibility_Registry.idl:
4178 (EventListener::notifyEvent):
4179 Removed 'oneway' directive after extensive consulation with
4180 ORBit2 team and others. This means also that unref() of the event
4181 source can and should be done synchronously after emission, rather
4182 than remotely in the client, after servicing the notify call on
4185 NOTE: This change speeds up listener performance considerably, but
4186 introduces new latency on the application side. We may want to
4187 add an event queue to the atk-bridge.
4189 * atk-bridge/bridge.c:
4190 (spi_atk_bridge_focus_tracker):
4191 Do a local unref() on the event source after emission.
4193 * registryd/registry.c:
4194 (desktop_remove_application):
4195 Do an unref() on the event source after emission.
4196 (desktop_add_application):
4197 Do an unref() on the event source after emission.
4198 (notify_listeners_cb):
4199 When relaying an event, don't automatically add the event source
4200 to the local object cache, just CORBA_dup it instead. Likewise,
4201 if this method reenters, release the ref rather than calling
4203 (impl_registry_notify_event):
4204 No longer call remote unref() on the event source after dispatch.
4206 * libspi/eventlistener.c:
4207 (impl_accessible_event_notify_event):
4208 Removed remote unref ()
4210 * cspi/bonobo/cspi-bonobo-listener.c:
4212 We now call cspi_object_new() instead of cspi_object_add() on
4213 receipt of an event; thus we only have an implicit object ref
4214 while the cspi_event method is being executed. If we need to keep
4215 a reference to the object, the listener must call ref() on the
4216 object. Thus also we don't need to call cspi_object_unref() after
4217 invoking the listener callbacks in this method.
4221 New internal API for creating a new cspi object, without adding it
4222 to the object cache.
4224 Now uses cspi_object_new() to create the cspi object instance.
4226 Now checks to see if the object is in the internal object cache,
4227 and adds it if necessary before incrementing its refcount (note
4228 that new objects are added with a refcount of 1).
4229 (report_leaked_ref):
4230 New method which gives some information on leaked object instances
4231 if leak detection is turned on.
4233 * test/event-listener-test.c:
4234 (timing_test_event):
4235 New method, used for testing event delivery timing for special
4236 events of type "object:test". It reports elapsed time and
4237 events/sec every 500 events.
4239 Added a new listener, 'test listener', to check timing of event
4240 receipt as noted above.
4242 Added some timing output here also, reports elapsed time every 100
4245 * test/stress-test.c:
4246 Emit events of type "object:test", for use with "event-listener-test".
4248 * test/test-simple.c:
4249 (global_listener_cb):
4250 Call Accessible_ref() on the event source before calling
4251 validate_accessible, since the validation process does pointer
4252 comparisons on the event source, meaning that the event source
4253 needs to be added to the local object cache first. Any use of
4254 such pointer comparisons between Accessible objects requires that
4255 the caller hold an explicit reference to those objects.
4256 We also must therefore call Accessible_unref() when leaving this method.
4258 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4260 * registryd/deviceeventcontroller.c:
4261 (spi_controller_update_key_grabs):
4262 Fix for #84735, subsequent keygrab listeners not informed of
4263 registration failure.
4266 (spi_base_construct):
4267 Add an assertion on construct, to make sure the GObject passed in
4268 is really a GObject.
4270 Explicitly initialize object->gobj pointer to NULL;
4272 * cspi/bonobo/cspi-bonobo-listener.c:
4273 (cspi_object_add_ref):
4274 New method, can specify whether to dup-ref a bonobo object passed
4275 in if it's newly added to the object cache.
4277 Now calls cspi_object_add_ref with second param of "FALSE". This
4278 prevents us from doing a pointless dup-ref followed by
4279 release-unref for all those cases where the object is already in
4280 our object cache (fix for #85205).
4282 * atk-bridge/bridge.c:
4283 (spi_atk_bridge_idle_init):
4284 Removed this method, we don't need to initialize in an idle
4287 Changed to call spi_atk_register_event_listeners directly, not via an
4288 idle handler. (fix for #81139)
4289 (gnome_accessibility_module_shutdown):
4290 Removed conditional around deregistration of listeners, since we
4291 don't use the idle handler and thus have always registered when
4293 (spi_init_keystroke_from_atk_key_event):
4294 Changed references to Accessibility_KEY_PRESSED to
4295 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4297 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4299 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4304 * test/stress-test.c:
4307 (may have been an incomplete commit yesterday?)
4309 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4312 Added target for new stress-test.
4314 * test/stress-test.c:
4315 New test, sends 1000 focus notifies in quick succession.
4317 * test/key-listener-test.c:
4318 Now we report whether a keylistener registration
4319 request succeeded or failed.
4321 * test/event-listener-test.c:
4322 Uncommented some listeners which are now implemented.
4325 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4327 * registryd/deviceeventcontroller.c:
4328 (spi_controller_update_key_grabs):
4329 Fix for #82509, lack of failure notification when
4330 ALL_WINDOWS keygrabs fail due to XGrabKey
4331 failure: we synchronize the server when
4332 registering a passive grab, to make sure we get the
4333 error message before the call returns.
4335 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4337 * test/test-simple.c:
4339 Removed #ifdef KEY_IMPL_WORKS guards.
4340 (test_keylisteners):
4341 Removed #ifdef KEY_IMPL_WORKS guards.
4342 Fixed bug which was causing a hang waiting for a
4343 "press" event (which was already overwritten by a "release"
4344 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4346 Added code to set globals 'key_press_received' and
4347 'key_release_received'.
4350 Added section "1.1 API Proposed Additions" which
4351 lists API additions desired for at-spi-1.1 (only one so far).
4352 Updated TODO list a little.
4354 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4356 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4359 * configure.in: Revved to 1.0.0.
4361 * idl/Accessibility_Registry.idl:
4362 (registerKeystrokeListener):
4363 Added boolean return value.
4365 * registryd/registry.c:
4366 (notify_listeners_cb): Minor fix to debug output.
4368 * registryd/Accessibility_Registry.server.in.in:
4369 Revved version number in OAFIID to 1.0.
4371 * registryd/registryd.c:
4373 Use new OAFIID version.
4375 * cspi/bonobo/cspi-bonobo.c:
4377 Use new OAFIID version.
4383 * atk-bridge/bridge.c:
4385 Use new OAFIID version.
4387 * registryd/deviceeventcontroller.c:
4388 (impl_register_keystroke_listener):
4389 Added CORBA_boolean return value.
4390 (spi_controller_register_device_listener):
4391 Added gboolean return value.
4392 (spi_controller_register_global_keygrabs):
4393 Added gboolean return value.
4394 (spi_key_set_contains_key):
4395 Added implementation for many more control keys,
4396 for instance F1-F12, arrow keys, End, Home, Page_Up,
4398 [TODO: some still not implemented].
4400 * text/screen-review-test.c:
4401 (text_chunk_pad_string):
4402 New function: it provides mapping between coordinate
4403 positions of text chunks and character positions in the
4404 screen-review-line output string.
4405 (text_chunk_to_string):
4406 New function, calls text_chunk_pad_string with various
4407 pad/delimiter characters. Pushbuttons are delimited with
4408 square brackets, Frames with vertical 'pipe' lines, and
4409 other text with double quotes.
4410 (text_chunk_list_to_string):
4411 Calls new function text_chunk_to_string.
4412 (toplevel_composite):
4413 New function to composite layers CANVAS through
4414 POPUP in each toplevel (other layers are composited
4415 across toplevels, i.e. BACKGROUND and OVERLAY).
4416 (review_buffer_composite):
4417 Revise to use new methods.
4423 2002-05-31 Laszlo Peter <laca@sun.com>
4425 * configure.in: add the Xtst libdir to the runpath on Solaris,
4426 since it's not in the default library search path.
4428 2002-05-29 jacob berkman <jacob@ximian.com>
4430 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4432 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4434 * test/screen-review-test.c:
4435 (text_chunk_pad_string):
4436 Added method, which pads the string according to the
4437 text bounds of the chunk. It also takes a 3-character
4438 string as a param which indicates the characters to be
4439 used for start, padding, and end delimitation of the chunk.
4440 (text_chunk_to_string):
4441 Changed to use text_chunk_pad_string.
4443 * configure.in: Fixed bug in AC_OUTPUT that was
4444 causing path substitution in Accessibility_Registry.server
4447 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4449 * text/screen-review-test.c:
4450 (guess_string_clip):
4451 New method which attempts a best-guess at clipping
4452 text from components (like Java labels) which don't
4453 actually implement AccessibleText. This inaccurate
4454 clip is based on the assumption that the label is
4455 justified left-and-right, and monospaced.
4456 (text_chunk_get_clipped_string):
4457 We now call guess_string_clip() for text-containing
4458 components that don't implement AccessibleText.
4460 * test/screen-review-test.c:
4461 (review_buffer_get_text_chunk):
4462 We now pull "name" from labels if they do not implement
4463 AccessibleText (i.e. for Java labels).
4464 (get_screen_review_line_at):
4465 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4468 Replaceded AC_OUTPUT target
4469 registryd/Accessibility_Registry.server with
4470 registryd/Accessibility_Registry.server.in.
4472 * registryd/Accessibility_Registry.server.in:
4473 Removed (this is now a Makefile target).
4475 * registryd/Accessibility_Registry.server.in.in:
4476 Added (source for target above). We now use $(libexecdir) as
4477 prefix for the executable at-spi-registryd.
4479 * registry/Makefile.am:
4480 Now install at-spi-registryd into $(libexecdir), and build .server
4481 file with path (see above).
4483 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4485 * test/screen-review-test.c:
4486 (text_chunk_get_clipped_string):
4487 We now check to see if words fall within clip bounds
4488 before resorting to character-by-character clip bounds testing.
4490 * TODO: Added a section for "2.2 Proposed API Additions".
4492 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4494 * test/screen-review-test.c:
4496 Added a screen review benchmarking and test program to test
4499 * cspi/spi_accessible.c:
4501 Made some of the debug strings passed to cspi_check_ev a
4502 little more specific.
4504 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4506 * test/screen-review-test.c: Fix crashes in debug statements
4508 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4510 * test/screen-review-test.c: Added this file.
4512 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4514 * atk-bridge/bridge.c: changed "object:state-change" to
4515 "object:state-changed" to match docs.
4517 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4519 * atk-bridge/bridge.c: Hooked up state-change event details.
4521 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4523 * registryd/registry.c:
4524 Fixed quarking bug in event string parsing; now events with
4525 detail parameters get matched correctly to listeners.
4528 * util/idl/Magnifier.idl: remove.
4530 * util/*.[ch]: Remove.
4531 Magnification utilities and IDL are now in module gnome-mag.
4533 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4535 * registryd/deviceeventcontroller.c:
4536 Fixed bug in grab key conversion which was causing keycode grabs
4537 to be converted to AnyKey grabs.
4540 updated NEWS file to reflect recent spin-off of gnome-mag.
4542 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4544 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4545 busted AccessibleStateSet_compare. Removed redundant casts.
4547 * cspi/spi-action.c: Removed redundant casts.
4549 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4551 * cspi/spi_component.c: Fixed typos and casting error.
4553 * cspi/spi_editabletext.c: Removed redundant casts.
4555 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4557 * cspi/spi_hypertext.c: Eliminated redundant casts.
4559 * cspi/spi_image.c: Eliminated redundant casts.
4561 * cspi/spi_registry.c: Eliminated redundant casts.
4562 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4563 * cspi/spi_selection.c: Removed redundant casts.
4564 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4565 handling. Screen geometry and text offsets were being returned as 0
4566 on error which is technically valid-- changed these to return -1.
4567 Added marshaller for text boundary types to fix bug with boundary
4568 types being passed incorrectly to atk.
4570 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4573 * cspi/spi_registry.c:
4574 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4575 which was uncovered by the recent key changes.
4577 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4579 * test/event-listener-test.c:
4581 Added new test, "event-listener-test";
4582 this code does two things; it benchmarks traversal time
4583 for the accessible hierarchy for the first running accessible
4584 app, and it connects listeners for all supported event types.
4585 It is thus useful as an example event listener and for
4586 diagnostics/debugging of event generation.
4588 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4591 Removed unnecessary dependency on libutil.
4594 Revved micro version: 0.13.1
4596 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4599 Removed util/Makefile from targets.
4602 Removed util subdir from SUBDIRS (temporarily,
4603 pending removal of magnifier-only code
4607 #ifdef-ed out magnifier dependencies, since
4608 magnifier IDL, headers, and binary now live in
4609 module gnome-mag and we don't want at-spi to depend
4610 on gnome-mag. A magnifier demo which can run alongside
4611 simple-at is forthcoming in the gnome-mag module.
4613 NOTE: Split magnifier binary, IDL, and magnification
4614 activation code from at-spi into module gnome-mag.
4616 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4618 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4619 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4621 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4624 Revved to version 0.13.0
4626 * idl/Accessibility_Registry.idl:
4627 Changed definition of KeySet from sequence of longs to sequence of
4628 KeyDefinitions, and added KeyDefinition struct.
4629 Required for fix to bug 80616.
4631 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4632 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4633 to use new definition (see above).
4635 * registryd/deviceeventcontroller.c: handle_keygrab(),
4636 spi_keyset_contains_key():
4637 Changed to make use of new struct; this allows matching based on
4638 string key-name, for instance "Tab". This also allows matching of
4639 composed characters, non-alphanumeric characters in a way that
4640 doesn't involve dependencies on X keysym codes directly, etc.
4642 * test/key-listener-test.c:
4643 Added test for Alt-Tab key using "string" specification of keyset,
4644 and modified one of the tests to use a keycode-based keyset.
4645 Thus this test both tests and demonstrates the creation and use of
4646 keysets of three forms: specified via keycode array,
4647 keysym array, and string array. (The string case only contains a
4648 single string, i.e. a string array of length 1).
4651 Turned on PRINT_TREE option by default. Also fixed a
4652 string-freeing bug in the PRINT_TREE code.
4653 Added a listener to window:minimize events.
4655 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4657 * atk-bridge/bridge.c:
4658 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4659 for window:activate and window:deactiveate
4660 (atk_bridge_property_event_listener atk_bridge_signal_listener
4661 atk_bridge_window_event_listener) Tidy debug code
4663 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4665 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4666 Fixed handling for NULL return value from ATK.
4668 * libspi/action.c libspi/component.c libspi/editabletext.
4669 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4670 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4671 Removed redundant casts.
4673 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4674 Fixed off by one bug.
4676 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4677 function not present in idl)
4679 2002-05-02 jacob berkman <jacob@ximian.com>
4681 * atk-bridge/Makefile.am: make atk-bridge a real module
4683 2002-04-26 Radek Doulik <rodo@ximian.com>
4685 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4686 atk_state_types table
4688 2002-04-22 jacob berkman <jacob@ximian.com>
4691 * libspi/Makefile.am: add deps on the built files to help
4692 automake, and don't version the ORBit typelib
4694 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4696 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4697 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4698 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4699 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4700 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4701 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4702 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4703 libspi/accessible.h libspi/accessible.h libspi/base.h
4704 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4705 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4706 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4707 libspi/spi-private.h libspi/statetset.h libspi/table.h
4708 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4709 util/mag_client.h util/mag_control.c util/mag_image.c
4710 util/mag_image.h util/magnifier.c util/magnifier.h:
4711 Add missing file headers; standardize existing ones
4713 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4715 * atk-bridge/bridge.c: Added window event support.
4717 2002-04-18 Michael Meeks <michael@ximian.com>
4719 * libspi/relation.c (impl_getNTargets): impl.
4720 (impl_getTarget): impl.
4722 * libspi/Makefile.am: fix stateset install.
4724 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4727 Started putting useful info in this file.
4729 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4731 * atk-bridge/bridge.c:
4732 Propagate state-changed notifications to ATs
4734 * cspi/spi_registry.c: update docs to reflect actual behavior of
4735 state-change events.
4737 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4740 Incremented version to 0.12.1
4742 * util/mag_client.h:
4743 Add missing declaration for magnifier_exit,
4744 used by mag_control.c - Forte compiler didn't like
4745 the implicit redeclaration of the function :-(
4748 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4751 Revved version to 0.12 due to API change (see below).
4753 * cspi/spi-roletypes.h:
4754 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4755 definition from the inline docs, and added docs
4756 for SPI_ROLE_LAST_DEFINED.
4759 * cspi/spi_streamablecontent.c:
4760 Added missing seek_type parameter to
4761 (so far unused) method,
4762 AccessibleStreamableContent_seek().
4763 [ RT approval JodyG. ]
4766 Fixed docs for SPI_createAccessibleKeystrokeListener.
4768 * cspi/spi_registry.c:
4769 Fixed docs for SPI_KEYSET_ALL_KEYS.
4771 * docs/reference/cspi/at-spi-cspi-sections.txt:
4772 Added a number of missing APIs to SECTIONS.
4774 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4776 * registryd/Makefile.am:
4778 * cspi/bonobo/Makefile.am:
4779 Add $(X_LIBS) to makefiles.
4781 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4784 Revved version to 0.11.
4786 * libspi/component.c:
4787 Added implementation for grabFocus.
4789 * idl/Accessibility_Component.idl
4790 (Accessibility_Component_grabFocus):
4791 Made this method return boolean to indicate success or failure, to
4792 be consistent with cspi and the corresponding ATK method.
4794 * idl/Accessibility_Selection.idl
4795 (Accessibility_Selection_selectAll) :
4796 Made these methods return boolean to indicate success or
4797 failure, to be consistent with cspi and the corresponding ATK methods.
4799 * idl/Accessibility_EditableText.idl
4800 (Accessibility_EditableText_setTextContents,
4801 Accessibility_EditableText_insertText,
4802 Accessibility_EditableText_cutText,
4803 Accessibility_EditableText_deleteText,
4804 Accessibility_EditableText_pasteText):
4805 Made these methods return boolean to indicate
4808 * cspi/spi_editabletext.c:
4809 Made these methods return booleans.
4811 * libspi/selection.c:
4812 * libspi/component.c:
4813 * libspi/editabletext.c:
4814 Connected the boolean returns from ATK
4815 to the server-side code referenced above.
4817 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4819 * idl/Accessibility_Table.idl: Added missing methods,
4820 Accessibility_Table_addRowSelection,
4821 Accessibility_Table_addColumnSelection,
4822 Accessibility_Table_removeRowSelection,
4823 Accessibility_Table_removeColumnSelection.
4826 Added C wrappers for above IDL:
4827 AccessibleTable_addRowSelection,
4828 AccessibleTable_addColumnSelection,
4829 AccessibleTable_removeRowSelection,
4830 AccessibleTable_removeColumnSelection.
4833 Added server-side implementation code for IDL above, connecting
4834 to pre-existing ATK api.
4836 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4838 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4840 * libspi/accessible.c: Added implementation fo
4841 Accessibility_Accessible_get_state.
4843 * libspi/libspi.h: Added stateset.h to the list of includes.
4845 * libspi/stateset.c: Fixed broken implementation.
4847 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4850 Added implementation code for Accessibility_Magnifier_exit ().
4852 * util/mag_control.c:
4853 Added test code for above method; you can
4854 now kill an existing magnifier via
4855 ./mag_control q, from the util directory.
4857 * test/key-listener-test.c:
4859 Added a new test, for our key listener API.
4861 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4863 * test/app.c, test/keysynth-demo.c:
4865 Replace use of snprintf with g_snprintf.
4866 (fix for bugzilla 78249)
4868 2002-03-27 Michael Meeks <michael@ximian.com>
4872 * util/Makefile.am (INCLUDES): fix.
4873 (DONT_DIST_SOURCE): don't distribute the
4876 * libspi/Makefile.am (dist-hook): ditto.
4878 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4880 * libspi/hypertext.c:
4881 Fix warnings when yelp is used with atk-bridge
4883 2002-03-21 Michael Meeks <michael@ximian.com>
4885 * libspi/application.c (spi_application_new):
4886 use spi_accessible_construct so we use the AtkObject
4889 2002-03-19 Michael Meeks <michael@ximian.com>
4891 * registryd/registry.c (desktop_remove_application),
4892 (desktop_add_application): clean coding style.
4894 * registryd/desktop.c (spi_desktop_remove_application),
4895 (spi_desktop_add_application): kill re-enterency hazards.
4896 (spi_desktop_dispose): remove bogus redundant cast
4897 obscuring bug; fix bug too.
4898 (spi_desktop_init): make the desktop object immortal.
4900 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4903 Added a #define-guarded tree-traversal step
4904 when enumerating the apps (diagnostic tool).
4906 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4908 * idl/Accessibility_Role.idl:
4909 Added ROLE_DRAWING_AREA which seemed to be missing from the
4912 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4914 * cspi/spi-roletypes.h cspi/spi_accessible.c
4915 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4918 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4919 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4920 AT when applications are added and removed from the desktop. This
4921 reverts the previous broken implementation using the backing
4922 AtkObject for the SpiDesktop.
4924 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4926 * registryd/desktop.c: emit the "children-changed::add" and
4927 "children-changed::remove" signals on the backing ATK object for
4928 the desktop so AT can tell when applications are started and shut
4931 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4933 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4935 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4937 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4939 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4941 * cspi/state-types.h: synched with IDL and ATK
4943 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4945 * libspi/accessible.c
4946 (impl_accessibility_accessible_get_child_at_index):
4947 Change return value for g_return_if_fail ()
4948 to CORBA_OBJECT_NIL instead of "0" (!)
4950 * registryd/Makefile.am:
4951 * registryd/Accessibility_Register.server.in:
4952 Changed name of executable, "registryd",
4953 to something more informative:
4956 2002-03-13 Michael Meeks <michael@ximian.com>
4958 * atk-bridge/bridge.c (atk_bridge_init): don't register
4959 if we're in a bonobo-component, rather than a bonobo app.
4961 2002-03-13 Michael Meeks <michael@ximian.com>
4963 * atk-bridge/bridge.c (gtk_module_init): split
4964 out body to (atk_bridge_init): here, since otherwise
4965 we get symbol conflicts and oddness when invoked
4966 from (gnome_accessibility_module_init): here (upd.)
4968 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4971 New file. Explicitly allow "build sheriff" putbacks provided
4972 they are tested on Solaris.
4974 * docs/reference/cspi/Makefile.am:
4975 Added '-' to the "cp" command for index.sgml.
4976 ("patch by thomasvs, soon coming to a GUADEC near you")
4979 Incremented version number (0.9.0) for new release.
4980 Changed macro that checks for popt, to better detect
4981 obsolete versions of popt.
4984 Added X_LIBS to AC_SUBST, for applications
4985 that call Xlib API directly.
4988 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4991 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4994 Fix regression caused by hard-coding major
4995 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4998 * test/test-simple.c (test_editable_text),
4999 (test_test): revert previous change (error was
5000 a regression in gail which is now fixed).
5002 2002-03-04 Michael Meeks <michael@ximian.com>
5004 * test/test-simple.c (test_editable_text),
5005 (test_text): pass G_MAXINT instead of '-1' for
5006 whole string - is this a good thing !?
5008 * cspi/spi_accessible.c
5009 (Accessible_getRelationSet): fix crasher bug
5010 overwriting the end of the array.
5012 * test/test-simple.c (validate_accessible): free,
5013 not g_free returned relation set.
5015 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
5017 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
5018 implemented stateset support
5020 * idl/Accessibility_State.idl: Made necessary changes to
5021 the IDL to support state sets.
5023 2002-02-12 Bill Haneman <bill.haneman@sun.com>
5025 * registryd/deviceeventcontroller.c:
5026 Added implementation for generateMouseEvent.
5028 * cspi/spi_registry.c:
5029 Connected new implementation for generateMouseEvent
5032 2002-02-12 Bill Haneman <bill.haneman@sun.com>
5035 Incremented revision (but no change in public API
5036 outside of 'utils', which are not installed public yet.)
5038 * libspi/component.c:
5039 Changed to use atk_component API for layers and
5040 mdi_zorder, instead of deprecated atk_object API.
5042 Magnification Utility Enhancements:
5045 Added implementation of createZoomRegion, clearAllZoomRegions,
5046 resizeZoomRegion. Added new commandline argument
5047 "--no-initial-region". Note that clearAllZoomRegions doesn't
5048 unmap the old '0' region as it should (yet), and the other
5049 methods only work when creating/resizing a single region,
5050 which is "region 0".
5051 (Code for multiple region support will be added later.)
5054 Now we raise the magnifier window each time it's refreshed;
5055 this will help keep it on top.
5057 * util/mag_client.h:
5058 Added simple wrappers for above, used by mag_control.
5059 For general use, it's recommended to use the bonobo magnifier
5060 control API directly instead of using these wrappers.
5063 Moved ZoomRegionData from magnifier.c to this file.
5065 * util/mag_control.c:
5066 Added some code to exercise new IDL implementations.
5068 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
5070 * libspi/text.c: Provide implementation for getAttributes.
5072 2002-02-04 Bill Haneman <bill.haneman@sun.com>
5075 Incremented revision.
5077 * test/test-simple.c:
5078 Replaced use of deprecated g_main_iteration with
5079 g_main_context_iteration.
5081 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
5084 Incremented revision for desktop alpha 2.
5086 2002-01-28 Mark McLoughlin <mark@skynet.ie>
5088 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
5091 * test/simple-at.c: include netinet/in.h.
5093 2002-01-24 Mark McLoughlin <mark@skynet.ie>
5095 * cspi/spi_accessible.c: (Accessible_getRelationSet):
5096 use NULL, not CORBA_OBJECT_NIL.
5098 * libspi/accessible.c:
5099 (impl_accessibility_accessible_get_relation_set):
5100 allocate the sequence correctly.
5102 * libspi/remoteobject.h: kill spi_remote_object_new.
5104 * test/test-simple.c: (validate_accessible): add code
5105 to test relation sets, now all we need is to figure
5106 out how to excercise this code path :/
5108 2002-01-18 Michael Meeks <michael@ximian.com>
5110 * test/test-simple.c
5111 (key_listener_cb): consume the key.
5112 (test_keylisteners): update.
5113 (main): wait for any pending unrefs on events.
5115 * registryd/deviceeventcontroller.c
5116 (spi_controller_update_key_grabs): only re-issue the
5117 grab on a key release.
5118 (spi_device_event_controller_forward_key_event):
5119 refresh the keygrabs before we notify the listeners,
5120 to reduce the X ungrab / re-grab race.
5121 (spi_controller_register_with_devices): remove
5122 XSelectInput - we do that with the gdk_window_ call.
5123 (_spi_controller_device_error_handler): return a value.
5124 s/GDK_DISPLAY/spi_get_display/
5126 2002-01-17 Michael Meeks <michael@ximian.com>
5128 * registryd/deviceeventcontroller.c
5129 (_deregister_keygrab): don't blow out the later
5132 * test/test-simple.c (test_keylisteners): do a
5133 more intelligent validation.
5135 2002-01-14 Michael Meeks <michael@ximian.com>
5137 * atk-bridge/bridge.c
5138 (gnome_accessibility_module_init),
5139 (gnome_accessibility_module_shutdown): impl.
5140 (gtk_module_init): protect vs. double inits.
5141 (add_signal_listener): impl.
5142 (spi_atk_bridge_state_event_listener): kill
5143 (deregister_application): split out of
5144 (spi_atk_bridge_exit_func): here.
5146 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5149 Added caret tracking when using magnifier, and
5150 now use text bounds for focus tracking of text elements, rather than
5151 the component bounds - this is helpful for short text fields in long
5152 table cells, at high magnification.
5154 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5156 * registryd/deviceeventcontroller.c:
5157 Regression fix for keylistener de-registration; global keygrabs
5158 were not being released when deregisterKeystrokeListener was
5159 called in cspi, since
5160 Accessibility_DeviceEventController_deregisterKeystrokeListener
5161 was called with a zero-length keyset. That is because the cspi
5162 method, SPI_deregisterKeystrokeListener, does not take a keyset
5163 parameter but instead should remove all the key grabs held be a
5165 The code in impl_deregister_keystroke_listener was changed to copy
5166 the keylist from the listener instance previously registered with
5167 the DeviceEventController before releasing the grabs.
5169 * registryd/registry.c:
5170 * registryd/deviceeventcontroller.c:
5171 * libspi/spi-private.h:
5173 Changed spelling of "re-enterant" to "re-entrant" globally.
5175 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5177 * test/test-simple.c:
5178 Changed key listeners test - the test was slightly mis-using the
5179 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5180 It now uses '=' as the key event listened to and generated,
5181 relying on a keysym match rather than assuming that keycode 33
5182 is always equal to keysym '!'.
5184 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5187 Changed simple-at to use a specific keyset, rather than
5188 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5189 manager, desktop, etc.
5191 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5193 * registryd/deviceeventcontroller.c:
5194 Replaced standard X error handler with a special handler that
5195 is non-fatal for failed keygrabs. This works around
5196 problems with keygrab clashes sometimes observed on
5198 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5199 mouse handling code as yet).
5201 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5204 Incremented revision for desktop alpha release.
5207 Fixed a couple of the more glaring errors (still not
5210 2002-01-11 Michael Meeks <michael@ximian.com>
5212 * registryd/deviceeventcontroller.c
5213 (spi_device_event_controller_forward_key_event): kill
5214 XUngrabKey / XKeyGrab race.
5215 (spi_controller_grab_keyboard): rename to
5216 (spi_controller_update_key_grabs): this, and deal
5217 with incremental adding / removing grabs more
5219 (_register_keygrab): ensure we're not pending a remove.
5220 (spi_grab_mask_free): impl.
5221 (spi_controller_register_global_keygrabs): split out
5223 (handle_keygrab): impl.
5224 (_deregister_keygrab): impl.
5225 (spi_controller_deregister_global_keygrabs): impl.
5226 (spi_controller_update_key_grabs): re-issue the grab if
5227 we just recieved a notification.
5229 * test/test-simple.c (key_listener_cb): remove debug.
5231 * registryd/deviceeventcontroller.c
5232 (spi_controller_register_device_listener): after
5233 registering a global keygrab, actualy register it !
5234 don't wait for a timeout; doh !
5236 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5237 to make it more readable / manipulable.
5238 s/grabmask/grab_mask/ s/refcount/ref_count/
5239 s/keyval/key_val/ s/modmask/mod_mask
5241 2002-01-08 Michael Meeks <michael@ximian.com>
5243 * registryd/deviceeventcontroller.c
5244 (spi_controller_register_with_devices): use gdk calls to
5246 (global_filter_fn): implement the filter.
5247 (spi_device_event_controller_check_key_event): rename to
5248 (spi_device_event_controller_forward_key_event): this & upd.
5249 (spi_get_display): replace with GDK_DISPLAY.
5251 * registryd/deviceeventcontroller.c
5252 (spi_controller_deregister_device_listener): unroll into
5253 (impl_deregister_keystroke_listener): here to simplify.
5254 (spi_controller_register_global_keygrabs): split cut and
5255 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5256 (spi_controller_deregister_device_listener): remove.
5257 (impl_register_mouse_listener): remove, no mouse listener
5258 support in at-spi-1.0
5260 * registryd/registry.c
5261 (_device_event_controller_hook): kill.
5262 (spi_registry_init): upd.
5264 * registryd/deviceeventcontroller.c
5265 (spi_device_event_controller_class_init): upd.
5266 (spi_check_key_event): merge into.
5267 (spi_device_event_controller_check_key_event):
5268 here and kill strange static ev init, don't leak
5269 the x_event - nor dynamicaly allocate it.
5271 * registryd/registry-main.c (main): re-direct
5272 timeout to remove strange vtable mess.
5274 * registryd/deviceeventcontroller.c
5275 (remove_listener_cb): impl.
5276 (spi_controller_deregister_device_listener):
5277 fix re-enterancy hazard.
5279 2002-01-07 Michael Meeks <michael@ximian.com>
5281 * registryd/deviceeventcontroller.c
5282 (spi_device_event_controller_new): upd.
5283 (impl_notify_listeners_sync): upd. debug.
5284 (spi_notify_keylisteners): fix re-enterancy hazards,
5285 prettify, remove O(n*n) iteration.
5286 (spi_controller_grab_keyboard): fix iteration.
5287 (spi_check_key_event): re-format to suit coding style.
5288 Clean all the warnings - we're warning free.
5290 * registryd/deviceeventcontroller.h:
5291 * registryd/registry.h: make mutualy referential with
5292 typesafe forward references instead of (!) void pointer
5295 2002-01-11 Michael Meeks <michael@ximian.com>
5297 * cspi/spi_accessible.c (role_names): add a role name
5298 to sync this array with the enum; and make the regression
5301 2002-01-10 Michael Meeks <michael@ximian.com>
5303 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5304 allow expansion of enumeration & kill warning.
5306 * test/test-simple.c (key_listener_cb): impl.
5307 (test_keylisteners): impl.
5309 * cspi/spi-listener.h: make listener signatures const
5310 on the provided (const) events.
5312 * test/keysynth-demo.c: upd. to const events.
5314 * test/simple-at.c: ditto.
5316 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5319 Rev the version to 0.5 (the previous tarball was named 0.4,
5320 even though the micro number was 3), so we need to rev upwards
5321 again for beta2/"desktop-alpha"
5324 Checked in a demo script, which requires editing before use!
5325 Proceed with caution.
5328 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5330 * cspi/spi_accessible.c:
5331 Add a couple of missing enum initializations, and fix some enum
5334 * cspi/spi_registry.c:
5335 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5337 * docs/reference/cspi/at-spi-cspi-sections.txt:
5338 Remove/fix a couple of broken document references.
5341 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5342 as Alt-Control to listen for commands, since on some systems
5343 Control-Alt may already be grabbed.
5345 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5348 Update version number to 0.4 for Beta2.
5350 * libspi/accessible.c, libspi/accessible.h:
5351 Expose spi_accessible_construct, to enable libgail-gnome
5352 construction from spi_accessible subtype.
5354 * utils/magnifier.c:
5355 Workaround for bug in some non-gnome-compliant window managers
5356 which made magnifier resize improperly.
5358 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5360 * libspi/accessible.c: (spi_accessible_new) :
5361 Move the test for SPI_IS_REMOTE_OBJECT to
5362 spi_accessible_new_return, fixing a bug and compile time warning.
5364 2002-01-08 Michael Meeks <michael@ximian.com>
5366 * registryd/registry.c (parse_event_type): remove strndup.
5368 * libspi/Makefile.am (libspi_la_SOURCES): remove
5369 sources already included in the headers section.
5371 * libspi/util.c: add.
5373 * libspi/spi-private.h: add.
5375 * registryd/registry.c: update to moved list iterators.
5377 2002-01-05 Michael Meeks <michael@ximian.com>
5379 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5381 * test/test-simple.c (main): ditto.
5383 2002-01-04 Michael Meeks <michael@ximian.com>
5385 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5386 redundant construct.
5388 * registryd/registry.c
5389 (get_listener_list): impl.
5390 (impl_accessibility_registry_register_global_event_listener):
5391 re-impl. to simplify using ~, remove dodgy const cast off.
5392 (parse_event_type): constify.
5393 (impl_accessibility_registry_deregister_global_event_listener_all):
5394 re-write, more efficiency and simplicity, kill re-enterancy
5396 (compare_listener_corbaref, compare_corba_objects),
5397 (compare_listener_quarks): define out.
5398 (impl_accessibility_registry_deregister_global_event_listener):
5399 re-write for effiency, and nail re-enterancy hazard.
5400 (impl_accessibility_registry_get_desktop_list): impl.
5401 (re_enterant_list_delete_link): impl.
5402 (re_enterant_list_foreach): impl.
5403 (remove_listener_cb): impl.
5404 (_registry_notify_listeners): kill.
5405 (notify_listeners_cb): impl.
5407 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5408 (SPI_getDesktopList): impl.
5410 * test/test-simple.c (test_desktop): test the methods.
5412 2002-01-03 Michael Meeks <michael@ximian.com>
5414 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5415 keystrings since we free them
5416 (SPI_freeAccessibleKeySet): in here.
5418 * libspi/accessible.c (spi_accessible_new): kill warning,
5419 wonder what is going on with the constructor here.
5421 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5423 * libspi/accessible.c (spi_accessible_new ()) :
5424 Added check to see if AtkObject is an SpiRemoteObject before
5425 creating an SpiAccessible.
5427 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5429 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5430 Enable keygrabs using the Control modifier, now that they are
5431 working properly (they were previously disabled).
5434 Change the command keygrab for this demo to "Control+Alt", so as
5435 to conflict with fewer other key commands on the system; this
5436 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5438 Removed a pointlessly-chatty keylistener for unshifted keys
5439 (shifted keys are still reported).
5441 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5443 * libspi/remoteobject.h:
5444 * libspi/remoteobject.c:
5445 Added definitions for special AtkObject subtype, required for
5446 support of remote components (specifically, used by BonoboControl
5447 accessibility implementation).
5449 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5451 * cspi/spi.h: synched relation types with ATK
5453 * cspi/spi_accessible.c: Added implementations of
5454 AcccessibleRelation_* methods
5456 * idl/Accessibility_Relation.idl: added getRelationTypeName
5457 method. Synched known relation types with ATK. Allowed for
5458 relation type extension with the RELATION_EXTENDED type.
5460 * libspi/relation.c: Provided implementations for
5461 AccessibleRelation methods.
5463 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5465 API tweaks for today's API 'freeze'.
5468 Added placeholder functions to allow future compatible expansion
5469 of the IDL interfaces.
5471 * idl/Accessibility_Registry.idl:
5472 Changed generateKeyEvent to generateKeyboardEvent. Changed
5473 signature of this method to accept an optional keystring in
5474 parameter (for complex text input synthesis) and changed use of
5475 simple 'boolean' parameter in registerKeystrokeListener to a
5476 struct, EventListenerMode.
5478 * cspi/spi_accessible.c:
5480 * cspi/spi_streamablecontent.c:
5481 Added references to AccessibleStreamableContent interface, and
5482 definition and implementation of AccessibleStreamableContent
5485 * cspi/spi_registry.c:
5487 Changed generateKeyEvent API to generateKeyboardEvent,
5488 taking a new (optional) keystring parameter to support complex
5493 Renamed directory (to better reflect its actual purpose, bridging
5494 from at-spi to ATK). The .so module is also now named
5497 * idl/Accessibility_Hypertext.idl:
5498 * libspi/accessible.c:
5499 * libspi/hypertext.h:
5500 * libspi/hypertext.c:
5501 Changed Accessibility_Hypertext to *not* derive from
5504 * cspi/spi_registry.c:
5505 Added list of legal event type names for 'window' events, which
5506 completes the registry event API.
5508 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5510 * at-bridge/bridge.c: Added registration for separate
5511 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5512 signals. If either of the first two parameters to the generic
5513 bridge signal handler are ints, they are passed on as event
5514 details. This allows an AT to determine what text was inserted.
5516 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5518 * registryd/deviceeventcontroller.c:
5519 Fixed regressions in generateKeyEvent caused by the removal of
5520 gdk_init from registryd; we now use pure X calls to connect to the
5521 display, which makes sense because deviceeventcontroller already
5522 uses a fair bit of X API (should eventually be migrated to a
5523 'portability layer').
5525 * registryd/desktop.c:
5526 Fixed minor regression in spi_desktop_init, changed the way the
5527 desktop name is being set to work with new spi_base API
5528 (gobject-based, rather than AtkObject-based).
5530 * registryd/Makefile.am:
5531 Minor revision of makefile to use XTST_LIBS variable rather than
5532 hard-wiring the Xtst LD_ADD element.
5534 * test/keysynth-demo.c:
5535 Tweaked an output message; added initialization of the
5536 'keystrings' member of the "switch listener" key_set.
5538 * libspi/relation.c:
5539 Squashed compile-time warning.
5541 * libspi/accessible.c:
5542 Cosmetic and formatting fixes, renamed a static method.
5544 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5546 * libspi/accessible.c
5548 * libspi/application.c
5551 * libspi/component.c
5552 * libspi/editabletext.c
5553 * libspi/hyperlink.c
5554 * libspi/hypertext.c
5556 * libspi/selection.c
5560 * registryd/desktop.c:
5561 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5563 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5565 * idl/Accessibility_Registry.idl:
5566 Added boolean member 'is_text' to DeviceEvent. This is for the
5567 use of key events, and helps prevent ambiguity between composed
5568 key strings and keysym names, since both may potentially be
5569 returned in the 'event_string' member.
5571 * at-bridge/bridge.c:
5572 * registryd/deviceeventcontroller.c:
5573 Use the 'is_text' member when notifying device event listeners.
5574 Knon issue: composed characters are not dealt with correctly by
5575 the global key listener implementation yet.
5577 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5579 * at-bridge/bridge.c:
5580 Namespaced local static methods to spi_atk_bridge_* where
5581 previously named bridge_*, and spi_* elsewhere.
5583 * at-bridge/bridge.c:
5584 * cspi/bonobo/cspi-bonobo-listener.c:
5585 Added demarshalling/conversion for string member of
5586 Accessibility_DeviceEvent to AccessibleKeystroke.
5588 * registryd/deviceeventcontroller.c:
5589 Added code to fill the Accessibility_DeviceEvent key string value
5590 member for global key events (i.e. from XGrabKey), to match
5591 behavior of Accessibility_DeviceEvent from the toolkit key events
5592 from the bridge. Fixed timestamp in global key event notifications.
5595 Added printout of key event's string value to
5596 report_ordinary_key_event, for demo/debugging purposes.
5598 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5600 * idl/Accessibility_Registry.idl:
5601 Removed Accessibility_KeyStroke structure in favor of generic
5602 Accessibility_DeviceEvent structure.
5603 Changed Accessibility_ControllerEventMask from a struct to an
5606 * at-bridge/bridge.c:
5607 Changed APIs to use DeviceEvent structure as above, and removed
5608 bogus casting between these event structures.
5610 * cspi/spi-listener.h:
5611 Added keystring member of AccessibleKeystroke structure, to enable
5612 matching on event "names" rather than only hardware codes and
5616 Added keystrings member of AccessibleKeySet struct, to allow
5617 matching on event names (as above).
5618 Added declarations for SPI_createAccessibleKeySet and
5619 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5620 event modmasks directly as unsigned ints rather than structs with
5621 refcounts, in the DeviceEventController methods.
5623 * cspi/spi_registry.c:
5624 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5626 * cspi/spi-roletypes.h:
5627 Added documentation of newly added SPI Roles.
5629 * cspi/bonobo/cspi-bonobo-listener.c:
5630 Changes in support of API changes above.
5632 * libspi/accessible.c:
5633 Converted APIs to use DeviceEvent structure (see IDL changes
5636 * registryd/deviceeventcontroller.c:
5637 Added DEControllerGrabMask structure to track keygrabs not only by
5638 modmask but by keyset as well; this allows us to do "global"
5639 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5640 grabbing on AnyKey and then filtering after-the-fact.
5641 Bugfixes for event filtration mean that we don't get false matches
5642 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5644 * registryd/deviceeventcontroller.c:
5645 Namespaced a number of static methods to use spi_ prefix. Major
5646 revision to internals of global (i.e. X) key grabs.
5648 * registryd/deviceeventcontroller.h:
5649 Removed keymask_list and added keygrabs_list to
5650 SpiDeviceEventController struct.
5653 Added use of SPI_createAccessibleKeySet API when creating a
5654 listener for only one key. Attach a listener to "shift spacebar
5655 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5656 X key event names to SPI key event names, so that listeners are
5657 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5659 * test/keysynth-demo.c:
5660 Changed (incorrect) use of X key event names (KeyPressed,
5661 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5664 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5666 * libspi/accessible.c:
5667 Convert all AtkRole enumerations to Accessibility_Role enums when
5668 getting a role from an AtkObject.
5670 * cspi/spi_accessible.c:
5671 Complete the conversion of Accessibility_Role enums at runtime to
5672 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5673 role enums correctly match those given in spi-roletypes.h.
5674 Re-synchronize the local names list for AccessibleRole_getName ().
5675 AccessibleRole_getName is now deprecated, since it duplicates the
5676 more reliable Accessible_getRoleName.
5677 Added some role types from Accessibility_Role.idl.
5679 * idl/Accessibility_Role.idl:
5680 Added some role types used by AtkRole.
5682 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5685 * cspi/spi_registry.c:
5687 * cspi/cspi-bonobo-listener.c:
5688 Namespaced all methods that did not begin with an "SPI_" or
5689 "Accessible" prefix to "SPI_".
5692 Homogenized internal function namespace to "cspi_" for statics.
5695 Patched tests to use the new CSPI API.
5697 * docs/reference/cspi/at-spi-cspi-sections.txt:
5698 Updated docs to reflect namespace changes, and added a number of
5699 methods to the documentation.
5701 * registryd/registry.c:
5702 Changed use of strings and string hashes in listener event
5703 matching and parse_event_string to use GQuark, which is guaranteed
5706 * registryd/registry.h:
5707 Squashed annoying warning.
5709 * idl/Accessibility_Role.idl:
5710 Extended range of available Accessibility_Role values.
5712 * cspi/spi_accessible.c:
5713 Re-ordered role names.
5715 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5717 * idl/Accessibility_Value.idl:
5718 Revert use of union back to CORBA_double, since the double type is
5719 more efficient and can contain the other types without loss of
5722 * idl/Accessibility_Accessible.idl:
5723 Added method Accessibility:Accessible:getRoleName, to complement
5724 Accessibility:Accessible:getRole.
5726 * cspi/spi_accessible.c:
5728 Added C binding for above, Accessible_getRoleName (), and changed
5729 signature of Accessible_getRole () to return an AccessibleRole.
5731 * cspi/spi-roletypes.h:
5732 Changed AccessibleRole_getName to return a char * instead of a
5733 const char *. This method is now at least temporarily deprecated
5734 in favor of asking Accessibles for their RoleNames directly.
5737 Revert to match Accessibility_Value.idl;
5741 Change signature of AccessibleValue methods to use double rather
5745 * cspi/spi_accessible.c:
5746 Changed Accessible_getRole to return an AccessibleRole enum rather
5747 than a UTF-8 string. The UTF-8 string can still be obtained via
5748 AccessibleRole_getName ().
5750 * test/test-simple.c:
5751 Add test_action. Small fixup to match API change to Accessible_getRole.
5754 Bugfix for get_action_from_servant ().
5756 2001-12-11 Michael Meeks <michael@ximian.com>
5758 * libspi/libspi.h: remove registry.h and
5759 desktop.h, deviceeventcontroller.h
5761 * libspi/Makefile.am: remove registry.[ch],
5762 desktop.[ch], deviceeventcontroller.[ch]
5764 * registryd/Makefile.am: add registry.[ch],
5765 desktop.[ch], rename registryd.c to registry-main.c.
5766 add deviceeventcontroller.[ch]
5768 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5771 Replace setenv() call with putenv ().
5773 * libspi/component.c:
5774 Bugfix in AccessibleComponent_getExtents (),
5777 2001-12-11 Michael Meeks <michael@ximian.com>
5779 * libspi/image.c (impl_getImageExtents): impl.
5780 (spi_image_class_init): upd.
5783 (AccessibleImage_getImageDescription): fix daft bug
5786 * test/test-simple.c (global_listener_cb): update
5787 to only quit if not --poke
5788 (main): catch --poke.
5789 (validate_accessible): upd. dumping, call test_image
5792 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5795 * idl/Accessibility.idl: update all IDL includes.
5797 * idl/*.idl - rename to namespace - this sucks, blame
5798 mjs' bad decision for oafd.
5800 * test/test-simple.c (create_test_window): add more tests.
5801 (create_tree): split this out.
5802 (validate_accessible): bugfix.
5804 2001-12-11 Michael Meeks <michael@ximian.com>
5806 * cspi/bonobo/cspi-bonobo-listener.c:
5807 (cspi_kestroke_listener_unref),
5808 (cspi_event_listener_unref): impl. undoing previous
5809 homenous environment - for Bill.
5811 * cspi/spi_table.c (long_seq_to_array): use
5814 * cspi/spi_main.c: split out all bonoboish bits into
5817 * cspi/spi-impl.h: upd. typedefs.
5819 * cspi/spi_registry.c: update to lowlevel API,
5820 return booleans to indicate success in some places.
5822 * cspi/spi_event.c: update to lowlevel API.
5824 * cspi/bonobo/Makefile.am: add.
5826 * cspi/bonobo/cspi-lowlevel.h: add
5828 * cspi/bonobo/cspi-bonobo.c: add
5830 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5832 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5833 (SUBDIRS): add bonobo, link in the libs.
5835 * cspi/spi-util.c: kill this file.
5837 * TODO: merge in my bits.
5839 2001-12-11 Michael Meeks <michael@ximian.com>
5841 * test/test-simple.c (test_value, test_table, main):
5842 remove unused variables causing warnings.
5844 * configure.in: cleanup checks - require gail.
5846 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5849 Changed Value interface to use SValue (scalars) rather than
5850 assuming all values are floats. This allows floats, doubles,
5851 longs, shorts, and unsigned values to be manipulated.
5852 Introduced Accessibility:SValue union.
5855 Updated to use new API above, and to work correctly with GValues
5856 of different types in AtkValue.
5859 Updated to use new API above. cspi's API is as yet unchanged.
5862 Updated the Value revision action item.
5864 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5866 * test/test-simple.c:
5867 Added test_table (GtkTreeView widget in test window to follow).
5868 Un-commented test_value, added GtkRange widget.
5869 Added GtkTreeView widget with GtkListStore. It passes regression
5870 test but leaks one SPI object for some reason.
5873 Fixed bug in impl__set_currentValue.
5875 2001-12-10 Michael Meeks <michael@ximian.com>
5877 * cspi/spi_text.c: audit for exception handling,
5878 tolerating NULL object references safely etc.
5880 * cspi/spi_value.c: ditto.
5882 * cspi/spi_table.c (AccessibleTable_getSummary),
5883 (AccessibleTable_getAccessibleAt),
5884 (AccessibleTable_getRowHeader),
5885 (AccessibleTable_getColumnHeader),
5886 (AccessibleTable_getCaption): fix bugs hidden by
5888 (long_seq_to_array): impl.
5889 (AccessibleTable_getSelectedRows),
5890 (AccessibleTable_getSelectedColumns): use it.
5892 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5895 Added a TODO list (rough and short for now).
5897 * cspi/spi_hyperlink.c:
5898 * cspi/spi_hypertext.c:
5899 Fixed macro name typos, and remove use of obsolete macro in
5900 AccessibleHyperlink_getLink.
5902 * cspi/spi_action.c:
5903 * cspi/spi_accessible.c:
5904 * cspi/spi_application.c:
5905 * cspi/spi_component.c:
5906 * cspi/spi_selection.c:
5909 Documentation fixes (removed return values from ref/unref methods).
5911 2001-12-10 Michael Meeks <michael@ximian.com>
5913 * cspi/spi_action.c: audit for exception handling,
5914 tolerating NULL object references safely etc.
5916 * cspi/spi_accessible.c: ditto.
5918 * cspi/spi_component.c: ditto.
5920 * cspi/spi_editabletext.c: ditto.
5922 * cspi/spi_hyperlink.c: ditto.
5924 * cspi/spi_hypertext.c: ditto.
5926 * cspi/spi_image.c: ditto.
5928 * cspi/spi_selection.c: ditto.
5930 2001-12-10 Michael Meeks <michael@ximian.com>
5932 * configure.in: use cspi/libspi.pc.in instead.
5934 * Makefile.am (pkgconfig_DATA): upd. to match.
5936 * test/simple-at.c (report_focus_event): kill hacks around
5937 bad return values, use putenv not setenv
5939 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5940 fire ChildGone - I killed it.
5942 * libspi/component.c
5943 (impl_accessibility_component_get_extents): remove
5946 * idl/Accessible.idl: kill ChildGone exception.
5948 * cspi/*.[ch]: kill int return from ref / unref.
5950 * cspi/spi_main.c (cspi_object_add_check): fold into
5951 (cspi_object_add): here.
5953 * cspi/spi_component.c (AccessibleComponent_getExtents):
5954 handle exceptions elegantly.
5956 * cspi/spi-private.h (cspi_check_ev_return),
5957 (cspi_return_if_fail): impl.
5959 * cspi/spi_accessible.c: use extensively.
5960 (AccessibleStateSet_equals): add direct compare check.
5962 * cspi/spi_selection.c: tolerate NULL objs, and check
5963 exceptions before return.
5965 * cspi/spi-util.c (cspi_warn_ev): rename to
5966 (cspi_check_ev): this & don't pass ev in; no point.
5968 2001-12-10 Michael Meeks <michael@ximian.com>
5970 * test/test-simple.c: use putenv not setenv
5971 (get_environment_vars): more chatty if you're not using
5974 * test/simple-at.c: do the setenv so more people see the
5977 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5979 * libspi/registry.c:
5980 Changed check of CORBA_environment on notification to be a warning
5981 instead of an error for the moment, since we can recover from this
5982 error when caused by a queued notification from a dead app.
5985 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5986 used by all current implementors of AtkValue), and coerce to
5987 CORBA_float. (Proper general case fix may require change to Value.idl).
5989 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5993 * cspi/spi_accessible.c:
5994 Documentation fixes: added user_data params to documentation for
5995 listeners and callbacks.
5997 * cspi/spi_accessible.c:
5998 Changed AccessibleStateSet_compare to return a
5999 StateSet rather than return the difference set into a third parameter.
6002 2001-12-09 Bill Haneman <bill.haneman@sun.com>
6005 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
6006 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
6010 Remove subdirectory po from SUBDIRS for now.
6012 * at-bridge/bridge.c:
6013 Beefed up a couple of debug printouts.
6014 One-line fix for signal notification name formatting.
6016 * libspi/accessible.c:
6017 Added assertion to spi_accessible_new ().
6019 * libspi/application.c:
6020 Put #ifdef qualifiers around a printf.
6023 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
6025 * registryd/Makefile.am:
6027 Replaces use of XML_I18N_MERGE_SERVER_RULE with
6028 INTLTOOL_SERVER_RULE macro.
6031 Added an event listener for several ATK signals, for
6032 testing and debugging. Removed a few g_warnings.
6033 Added test output if focussed item implements the Value interface.
6035 * test/test-simple.c:
6036 Added test_value () function (known not to pass at the moment, so
6037 not actually called yet.
6039 2001-12-08 Michael Meeks <michael@ximian.com>
6041 * at-bridge/bridge.c (bridge_focus_tracker),
6042 (emit_eventv): fix the same ref. leak.
6043 (register_atk_event_listeners): don't leak.
6045 * cspi/spi-listener-impl.c (cspi_event): more
6046 protection from client code.
6048 * test/test-simple.c (test_desktop): unref the app.
6050 * test/Makefile.am: upd. TESTS.
6052 * at-bridge/bridge.c (bridge_exit_func): release the registry.
6054 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
6056 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
6058 * cspi/spi_registry.c: constify in strings.
6059 (deregisterGlobalEventListenerAll): don't release the ref.
6061 * cspi/spi.h: start removing redundant / conflicting
6062 gtkdoc comments, making the API readable at a glance :-)
6064 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
6066 * test/keysynth-demo.c (keysynth_exit, main): upd.
6068 * test/simple-at.c (main, simple_at_exit): upd.
6070 * test/test-simple.c (unutterable_horror): kill.
6071 (utterable_normal_derefs): kill.
6072 (main): upd & do a setenv before gtk_init, so that we
6073 can use memprof - and to save the pain of remembering
6074 this, if we're running under memprof - don't exit.
6076 * cspi/spi_main.c (SPI_exit): return exit status
6078 (SPI_event_quit): impl.
6079 (SPI_event_main): simplify.
6080 (cspi_is_gnome_app): kill.
6081 (SPI_init): kill isGNOMEapp arg.
6083 * at-bridge/bridge.c (register_atk_event_listeners):
6084 re-instate the unref.
6085 (bridge_exit_func): don't re-activate the registry,
6086 protect vs. theoretical re-entry, use the
6087 AT_BRIDGE_SHUTDOWN env. var to determine whether to
6088 assert a clean shutdown - for regression tests.
6090 2001-12-08 Abel Cheung <maddog@linux.org.hk>
6092 * configure.in: Comment out dummy i18n support for now,
6093 otherwise it fails to build.
6094 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
6095 EXTRA_DIST. They are missing in tarball.
6097 2001-12-07 Michael Meeks <michael@ximian.com>
6099 * util/magnifier.c: kill bonobo activation reg. race.
6101 * libspi/component.c
6102 (impl_accessibility_component_get_extents): make it match
6105 * libspi/registry.c (_registry_notify_listeners):
6106 re-remove X headers & reconcile conflicts.
6107 (spi_listener_struct_free): bad conflict resolve.
6108 (impl_accessibility_registry_register_application):
6109 more bad merging fixed.
6110 (impl_accessibility_registry_deregister_application): ditto.
6111 (spi_registry_new): ditto.
6112 (spi_registry_init): don't have an applications field.
6114 [ merge fixups2 branch to here ]
6115 2001-12-07 Michael Meeks <michael@ximian.com>
6117 * test/simple-at.c (report_focus_event),
6118 (report_focussed_accessible): remove g_warning debug.
6120 2001-12-07 Michael Meeks <michael@ximian.com>
6122 * test/test-simple.c (validate_tree): comment out some checks.
6123 (test_desktop): app now not registered idly - horay.
6125 2001-12-07 Michael Meeks <michael@ximian.com>
6127 * cspi/spi_registry.c
6128 (registerAccessibleKeystrokeListener): clean, stop it leaking
6129 great swathes of memory, and device event controller references.
6130 ensure we always pass valid sequences.
6131 (deregisterAccessibleKeystrokeListener): ditto.
6132 (generateKeyEvent): upd.
6134 * at-bridge/bridge.c (bridge_key_listener): handle
6135 registry dead exception gracefully.
6136 (bridge_focus_tracker, emit_eventv): free ev.
6138 * test/simple-at.c (report_focus_event): fix polarity.
6140 * libspi/application.c (notify_listeners): kill the ev
6141 argument, and make sure we init the ev we use.
6142 (spi_application_object_event_listener): split out a chunk
6143 (get_atk_object_ref): here & fixup.
6144 (reverse_lookup_name_for_toolkit_event): make const.
6145 (spi_application_toolkit_event_listener): fixup, kill leaks
6148 * at-bridge/bridge.c (register_atk_event_listeners):
6149 don't unref the noop object - causes grief.
6151 * libspi/registry.c: remove the X headers.
6152 turn off the debug churn.
6154 * libspi/accessible.c (spi_accessible_new_return): only
6155 release the ref if we are supposed to [doh]
6157 * test/simple-at.c (report_button_press, report_focus_event):
6158 guard vs. unexpected exit.
6160 * at-bridge/bridge.c (gtk_module_init): prune printf.
6161 (bridge_exit_func): fix app unref.
6163 * libspi/Makefile.am: don't install registry or desktop.h
6165 * libspi/*.h: update includes.
6167 * libspi/application.h: don't include ourself, or
6168 other redundant headers.
6170 2001-12-06 Michael Meeks <michael@ximian.com>
6172 * libspi/accessible.c
6173 (get_accessible_from_servant): impl.
6174 Upd. all CORBA impl.s to use it killing cut and paste.
6176 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6178 (SPI_init): register atexit cleanup handler here.
6180 2001-12-06 Michael Meeks <michael@ximian.com>
6182 * at-bridge/bridge.c (gtk_module_init): g_error on
6183 activation exception
6185 2001-12-06 Michael Meeks <michael@ximian.com>
6187 * at-bridge/bridge.c (gtk_module_init): some sort of
6188 confusing merge clash - reverted.
6189 (bridge_idle_init): ditto.
6191 * test/test-simple.c (main, utterable_normal_derefs):
6192 merge from Bill - somehow not committed.
6194 2001-12-06 Michael Meeks <michael@ximian.com>
6196 * libspi/value.c (spi_value_class_init): upd.
6197 (spi_value_finalize): kill.
6199 * libspi/table.c (spi_table_finalize): kill.
6200 (spi_table_interface_new): upd.
6201 (spi_table_class_init): upd.
6202 (get_table_from_servant): impl.
6203 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6205 * libspi/selection.c (spi_selection_finalize): kill.
6206 (spi_selection_interface_new): upd.
6207 (spi_selection_class_init): upd.
6208 (get_selection_from_servant): impl.
6209 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6211 * libspi/relation.c (spi_relation_finalize): kill.
6212 (spi_relation_class_init, spi_relation_new): upd
6214 * libspi/image.c (spi_image_finalize): kill.
6215 (spi_image_class_init): upd.
6216 (spi_image_interface_new): upd.
6217 (get_image_from_servant): impl.
6218 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6220 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6221 (spi_hyperlink_finalize): kill.
6222 (spi_hyperlink_new): upd.
6223 (get_hyperlink_from_servant): impl.
6224 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6226 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6227 (spi_hypertext_finalize): kill.
6228 (spi_hypertext_class_init): upd.
6229 (get_hypertext_from_servant): impl.
6230 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6232 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6233 (spi_editable_text_interface_new): upd.
6234 (get_editable_text_from_servant): impl.
6235 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6237 * libspi/text.c (get_text_from_servant): impl.
6238 All impls - update to use it killing more cut and paste,
6239 also fix bad string returns on duff args ( a somewhat
6240 impossible case to handle - but hey ).
6241 (spi_text_construct): impl.
6242 (spi_text_interface_new): upd.
6243 (spi_text_object_finalize): kill.
6245 * libspi/component.c
6246 (accessibility_component_object_finalize): kill.
6247 (spi_component_class_init): upd.
6248 (get_component_from_servant): impl. helper to kill cut & paste.
6249 (impl_accessibility_component_contains):
6250 (impl_accessibility_component_get_accessible_at_point):
6251 (impl_accessibility_component_get_position):
6252 (impl_accessibility_component_get_extents):
6253 (impl_accessibility_component_get_mdi_z_order):
6254 (impl_accessibility_component_get_layer):
6255 (spi_component_interface_new): upd.
6257 * libspi/action.c (spi_action_finalize): kill.
6258 (spi_action_class_init): upd. inherit from SpiObject.
6259 (spi_action_interface_new): upd.
6260 (get_action_from_servant): impl. helper to reduce cut & paste.
6261 (impl_getKeyBinding, impl_getName, impl_doAction),
6262 (impl_getDescription): Use it everywhere.
6264 * cspi/spi_main.c (get_live_refs): a pointer hash.
6265 (spi_object_hash, spi_object_equal): comment out.
6266 There are issues with CORBA object hashing that need
6269 * libspi/application.c (spi_application_init),
6270 (spi_application_new): upd.
6272 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6273 (spi_accessible_class_init): upd.
6274 s/accessible/object/ in epv methods.
6276 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6278 * at-bridge/bridge.c:
6279 Reorder the bridge initialization into the bridge gtk_module_init,
6280 an immediate call to bridge_register_app, and an idle_add for
6281 register_atk_event_listeners (the only code that *must* wait until
6282 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6283 the activation, creates the application's Accessible object, and
6284 queues the bridge_idle_init function. Restored call to
6285 Accessibility_Registry_deregisterApplication().
6286 Prior to making this call we obtain a new reference to the
6287 registry, which is a temporary hack that helps us handle apps that
6288 shut down the bonobo mainloop before we get there.
6290 * libspi/registry.c:
6291 Fix string leakage in debug block, and don't segv if a an app
6292 dies before its event notifications have been propagated.
6295 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6296 as stopgap measure until we get proper exception handling when
6297 objects die during or before interrogation.
6301 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6302 Also changed default value of is_gnome_app to TRUE.
6305 * test/keysynth-demo.c:
6306 Changed use of SPI_init and SPI_event_main to reflect API change above.
6309 Made report_focus_event check the warning value from getName
6310 before reporting on focussed accessible; simplifies handling of
6311 notifications from dead objects.
6313 * test/test-simple.c: (Changes not in this patch since source is
6316 2001-12-05 Michael Meeks <michael@ximian.com>
6318 * registryd/registryd.c (main): protect against
6319 bonobo-activation startup race condition.
6321 * cspi/spi_main.c (cspi_object_add_check): cope
6322 with the exception elegantly.
6324 * idl/Accessible.idl: decl. ChildGone
6326 * libspi/desktop.c (spi_desktop_dispose): impl.
6327 (spi_desktop_class_init): upd.
6328 (spi_desktop_add_application),
6329 (spi_desktop_remove_application),
6330 (abnormal_application_termination): impl.
6331 (impl_desktop_get_child_at_index): re-impl.
6334 (impl_accessibility_registry_deregister_application),
6335 (impl_accessibility_registry_register_application):
6336 kill excessive debug clutter.
6338 * test/test-simple.c (test_misc): test some NULL
6339 tolerance. (main): upd.
6341 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6342 implements no interfaces - so let's not crash.
6344 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6346 * libspi/accessible.c (spi_accessible_new_return): impl.
6347 helper to calm the cut and paste, to cope with
6348 NULL AtkObjects effectively and efficiently, and to kill
6349 the referencing bugs.
6351 * libspi/table.c (impl_getAccessibleAt),
6352 (impl_getRowHeader, impl_getColumnHeader): upd.
6354 * libspi/hyperlink.c (impl_getObject): upd.
6356 * libspi/accessible.c
6357 (impl_accessibility_accessible_get_child_at_index): upd.
6359 * libspi/component.c
6360 (impl_accessibility_component_get_accessible_at_point): upd.
6362 * test/test-simple.c (test_editable_text, test_text): impl.
6365 * cspi/spi_editabletext.c
6366 (AccessibleEditableText_insertText): constify.
6368 * test/test-simple.c (focus_me): make more robust.
6370 * libspi/accessible.c: remove some printfs in methods that
6371 we test and work fine, so we can get a clean tree dump.
6373 * test/test-simple.c (validate_accessible),
6374 (validate_tree): make tree dumping pretty too.
6376 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6377 it builds without debug on.
6379 * test/test-simple.c (validate_accessible): fix the most
6382 * cspi/spi_main.c (spi_object_release): leave the nicely
6383 blanked memory around if in debug mode.
6385 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6387 [committed to fixups2]
6388 2001-12-05 Michael Meeks <michael@ximian.com>
6390 * libspi/editabletext.c
6391 (spi_editable_text_class_init): g_type_class_peek_parent,
6392 not interface peek - so we finalize cleanly.
6394 * libspi/accessible.c (spi_accessible_new): kill debug.
6396 * test/test-simple.c (validate_accessible): fix ref.
6397 leak, print strings before freeing them; sigh, comment a
6398 chunk out due to strangeness.
6399 (validate_tree): unref the child after use.
6401 * cspi/spi_component.c (AccessibleComponent_getLayer):
6402 add missing break statement, switch on zlayer not the
6403 uninitialized retval.
6405 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6406 before (possibly re-entering) remote unref.
6408 * test/simple-at.c (main): unref the desktop.
6410 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6413 * cspi/spi_main.c (cspi_accessible_is_a): here to
6414 isolate bonobo API usage more.
6416 * libspi/registry.c (impl_accessibility_registry_register_application):
6417 prune bogus comment.
6419 2001-12-04 Michael Meeks <michael@ximian.com>
6421 * test/test-simple.c (validate_tree): upd.
6422 IndexInParent check to make it more lucid.
6423 (validate_accessible): dump the tree.
6425 * libspi/accessible.c (de_register_public_ref),
6426 (get_public_refs): impl.
6427 (spi_accessible_new): make more efficient & intuitive.
6428 Now IndexInParent check works.
6430 2001-12-04 Michael Meeks <michael@ximian.com>
6432 * cspi/spi-util.h: remove.
6434 * cspi/spi.h: move SPI_freeString here
6436 * libspi/component.c (impl_accessibility_component_get_layer):
6438 (impl_accessibility_component_get_mdi_z_order): ditto,
6439 return -1 on error - is this ok ?
6441 * test/test-simple.c (test_application): impl.
6443 * cspi/spi_accessible.c (Accessible_getApplication),
6444 (Accessible_isApplication): impl.
6446 * libspi/registry.c (spi_listener_struct_free): release
6447 the CORBA reference too.
6449 * libspi/accessible.c
6450 (impl_accessibility_accessible_get_parent): fix ref leak.
6452 * libspi/registry.c (spi_registry_new): make the registry
6453 immortal - we don't want it to go away ever.
6455 * libspi/application.c
6456 (spi_accessible_application_finalize): impl. cleanup.
6458 * cspi/spi_registry.c
6459 (deregisterGlobalEventListenerAll),
6460 (deregisterGlobalEventListener),
6461 (deregisterAccessibleKeystrokeListener): fix ref leak.
6463 * cspi/spi_main.c (SPI_init): remove redundant ref.
6465 * test/test-simple.c (unutterable_horror): impl. to force a
6470 (impl_accessibility_registry_deregister_application): release
6471 the application when we de-register it.
6473 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6474 until we have the infastructure to get it right.
6476 2001-12-03 Michael Meeks <michael@ximian.com>
6478 * libspi/Makefile.am: only build eventlistener.[ch]
6480 * libspi/accessible.c
6481 (impl_accessibility_accessible_get_child_at_index): don't leak.
6483 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6484 before we hit the idle handler.
6486 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6487 debugging than exit.
6489 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6491 * libspi/listener.c (impl_notify_event): check source
6492 not NIL before unref.
6494 * libspi/registry.c (impl_registry_notify_event): ditto.
6496 * libspi/eventlistener.c
6497 (impl_accessible_event_notify_event): unref the source.
6499 * libspi/accessibleeventlistener.c
6500 (impl_accessible_event_notify_event): unref the source.
6502 * idl/Event.idl: remove 'hash_id' attribute - of no
6505 * libspi/application.c (notify_listeners): upd list
6507 (spi_application_object_event_listener),
6508 (spi_application_toolkit_event_listener): upd to do correct
6512 (_registry_notify_listeners): update.
6513 (parse_event_type): this method also leaks like a sieve.
6514 (impl_accessibility_registry_deregister_global_event_listener):
6515 fix ETYPE_WINDOW case.
6517 * libspi/application.c
6518 (impl_accessibility_application_register_object_event_listener):
6521 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6523 * libspi/hypertext.c (impl_getLink): ditto.
6525 * cspi/spi_main.c (cspi_object_add): remove
6526 bogus CORBA_Object_duplicate.
6528 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6531 * cspi/spi_accessible.c
6532 (Accessible_getRelationSet): fix leak / referencing issue.
6534 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6535 (cspi_object_add, cspi_object_unref): upd.
6536 (spi_object_release, get_live_refs): impl.
6537 (cspi_cleanup): simplify.
6539 * *.[ch]: s/boolean/SpiBoolean/
6541 * cspi/spi_accessible.c (role_names): actualy order so it
6542 corresponds with the enum !
6544 * test/test-simple.c (test_roles): check some role strings
6545 vs. enums to detect offset errors.
6547 2001-12-01 Michael Meeks <michael@ximian.com>
6549 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6551 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6553 (Accessible_getChildAtIndex): use cspi_add_check so we
6554 check the ev before using a (possibly) invalid value.
6556 * libspi/accessible.c
6557 (impl_accessibility_accessible_get_parent): don't segv
6560 * at-bridge/bridge.c (gtk_module_init): upd.
6561 (bridge_property_event_listener): don't leak strings
6563 (bridge_state_event_listener),
6564 (bridge_property_event_listener): don't use a static
6565 buffer in case of recursive event emission &
6566 re-enterancy - split out the swathe of cut and paste
6568 (emit_eventv): and fix 2 ref leaks here & comply to the
6570 (bridge_register_app): rename to
6571 (bridge_idle_init): this and kill arg parsing, split
6572 various inits & bonobo-activation registration to module
6573 init time, kill referencing error.
6574 (bridge_exit_func): fix the same leak.
6575 (bridge_focus_tracker): don't leak event structures
6577 (bridge_signal_listener): more leakage and cut & paste
6579 (bridge_key_listener): return the result - FIXME is
6580 this polarity correct ?
6581 (accessibility_keystroke_from_atk_key_event): rename
6582 (accessibility_init_keystroke_from_atk_key_event): and stop
6584 (gtk_module_init): return a value - not that it is checked by
6586 (bridge_key_listener): register my horror at casting between
6587 IDL defined structs.
6588 (bridge_get_registry): kill - not used.
6590 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6592 * test/test-simple.c (test_roles): impl.
6593 (test_desktop, validate_accessible, validate_tree): impl.
6595 * cspi/spi_accessible.c (role_names): fixup bogus
6596 MAX_ROLES setup, make constants const for efficient linkage
6597 (AccessibleRole_getName): conform to coding style, make
6600 2001-11-30 Michael Meeks <michael@ximian.com>
6602 * cspi/spi.h: add missing prototype.
6604 * libspi/registry.c (spi_listener_struct_new): fix sig.
6606 * test/Makefile.am: add test-simple
6608 * test/test-simple.c: add
6610 * test/test.sh: add.
6612 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6614 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6615 do it straight - since otherwise we often get an activation race.
6617 [ work before Bill duplicated a chunk of it ... ]
6618 2001-11-30 Michael Meeks <michael@ximian.com>
6620 * libspi/keystrokelistener.c
6621 (spi_keystroke_listener_class_init): fixup arg
6624 * libspi/eventlistener.c
6625 (spi_event_listener_class_init): ditto.
6627 * tests/test.sh: add.
6629 * cspi/spi-listener-impl.h: update macros.
6631 * cspi/spi-listener-impl.c
6632 (cspi_event_listener_remove_callback): add
6633 correct pre-conditions.
6635 * cspi/spi_main.c (SPI_exit): guard vs. double
6636 exits, exit the mainloop nicely.
6637 (SPI_event_main): make more sense.
6638 (SPI_init): move the atexit evilness here so we
6639 always do it (yuck).
6640 (SPI_event_main): upd.
6642 * test/simple-at.c: update for listener changes.
6644 * registryd/registryd.c (main): prune kruft.
6646 * libspi/libspi.h: upd.
6648 * libspi/eventlistener.[ch]: rename broken macros.
6650 * libspi/accessibleeventlistener.[ch]: remove.
6652 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6654 * test/test-simple.c: Add - automated tests.
6656 * cspi/spi-listener-impl.c (cspi_event),
6657 (cspi_key_event): add user_data to invoke.
6658 (cspi_keystroke_listener_finalize): impl.
6659 (cspi_keystroke_listener_class_init): upd.
6662 (createAccessibleEventListener),
6663 (AccessibleEventListener_addCallback),
6664 (createAccessibleKeystrokeListener),
6665 (AccessibleKeystrokeListener_addCallback): upd.
6667 * libspi/deviceeventcontroller.c
6668 (spi_device_event_controller_check_key_event): add public proto.
6671 (impl_accessibility_registry_deregister_global_event_listener):
6672 always init listeners.
6673 (_registry_notify_listeners): yes it is.
6675 * cspi/spi-listener-impl.c (cspi_key_event):
6677 (cspi_event_listener_finalize): impl.
6678 (cspi_event_listener_class_init): hook up.
6679 (event_handler_new, event_handler_free),
6680 (event_list_remove_by_callback): impl.
6681 (cspi_event_listener_remove_callback),
6682 (cspi_keystroke_listener_remove_callback),
6683 (cspi_keystroke_listener_add_callback),
6684 (cspi_event_listener_add_callback): upd.
6686 * libspi/keystrokelistener.c
6687 (keystroke_listener_object_finalize): kill
6688 (spi_keystroke_listener_class_init): upd.
6689 (spi_keystroke_listener_add_callback),
6690 (spi_keystroke_listener_remove_callback): kill,
6692 (impl_key_event): prune drasticaly.
6694 * libspi/eventlistener.c
6695 (spi_event_listener_add_callback),
6696 (spi_event_listener_remove_callback): kill, use
6698 (impl_accessible_event_notify_event): upd.
6699 (spi_event_listener_object_finalize): remove.
6701 * libspi/Makefile.am: use eventlistener.[ch]
6703 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6705 * libspi/registry.c (_registry_notify_listeners):
6706 Changed listener loop iteration to use preferred convention.
6707 Got rid of string memory leaks caused be calling g_strconcat
6708 inside function calls.
6710 * libspi/registry.c (parse_event_type):
6711 Stopped g_strconcat memory leaks, free the g_strsplit return,
6712 g_strdup the split pieces when used, etc.
6714 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6717 Change method 'compare' to return a 'difference set' rather than
6718 taking a StateSet as an out parameter (more Java-friendly).
6720 * idl/Accessible.idl:
6721 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6723 * idl/Component.idl:
6725 Changed methods 'getExtents' and 'getImageExtents' in these
6726 interfaces to return a BoundingBox structure.
6727 (getPosition and getSize are redundant and possibly should be
6728 removed, rather than creating a corresponding Point struct.)
6730 * cspi/spi_component.c:
6731 Modify implementation of getExtents to reflect the above IDL
6736 Add (missing) AccessibleImage_getExtents () API.
6738 * docs/reference/cspi/at-spi-cspi-sections.txt:
6739 Added AccessibleImage_getImageExtents () to docs.
6741 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6743 * idl/Component.idl:
6744 Added two methods, getLayer () and getMDIZOrder (), to reflect
6745 the new ATK methods atk_object_get_layer and
6746 atk_object_get_mdi_z_order. (Which arguably should be part of the
6747 AtkComponent API and AtkObject). Also added an enum,
6748 ComponentLayer, for the first method's return value.
6750 * libspi/component.c:
6751 Added implementations for these methods.
6753 * cspi/spi_component.c:
6755 Added cspi binding methods for above,
6756 AccessibleComponent_getLayer() and
6757 AccessibleComponent_getMDIZOrder().
6758 Added cspi enum 'AccessibleComponentLayer'.
6760 * docs/reference/cspi/at-spi-cspi-sections.txt:
6761 Added above methods to docs.
6765 Changed typedef for 'boolean' type (and all references to it) to
6766 SPIBoolean, to avoid keyword clashes with C++.
6769 Changed usages of 'boolean' to SPIBoolean.
6771 * test/keysynth-demo.c:
6772 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6773 app), except where SPIBoolean is required by the callbacks API.
6775 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6777 * cspi/spi_registry.c:
6778 Removed obsolete X event loop for passive keygrabs (which now
6781 * registryd/registryd.c:
6782 Removed unnecessary call to gdk_init() [cruft]. This also allows
6783 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6786 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6788 * docs/reference/cspi:
6789 Included docs for SPI_freeString in generated documentation.
6792 Renamed spi_freeString to SPI_freeString, for consistency. Added
6793 documentation for this function.
6796 Renamed spi_freeString to SPI_freeString, for consistency.
6797 Removed obsolete method declaration string_from_corba_string.
6799 * test/keysynth-demo.c:
6800 Small tweak to comments.
6803 Stopped leaking the strings returned from CSPI.
6805 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6807 Merged Michael's branch (see his ChangeLog entries below).
6809 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6810 bridge is alive, release on exit.
6812 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6813 Fix type check macro.
6816 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6819 Added is_gnome_app static, and method cspi_is_gnome_app(),
6820 so we can call the appropriate shutdown routine at exit in SPI_exit.
6822 * cspi/spi_main.c (cspi_object_ref):
6823 Duplicate the corba object passed in, since we're keeping it around.
6825 * cspi/SPI_exit.c, cspi_cleanup:
6826 Moved the releasing of the live refs to its own function, so we
6827 can put it in g_atexit (). Call the appropriate shutdown API
6828 depending on whethe calling client is a gnome app or not
6829 (bonobo_main_quit or CORBA_ORB_shutdown).
6831 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6832 Unref the listener when this method is called, after
6833 deregistration. Updated the API docs to note this behavior.
6835 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6836 Bugfixes: Ref the bonobo object when returning a parent or child
6837 reference, or an AccessibleRelation. Generally made sure
6838 BonoboObject refcount is incremented whenever we return an
6841 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6842 Fixed typo/bug in signal declaration.
6844 * libspi/accessibleeventlistener.h:
6847 * libspi/application.c (spi_application_new):
6848 Fixed leak in initialization.
6851 Remembered to increment bonobo-object refcount when returning
6852 children (applications) from desktop object.
6853 Added (empty) finalize method.
6855 * libspi/deviceeventcontroller.c:
6856 Hold a ref to listeners inside DEControllerKeyListeners.
6857 Added dec_key_listener_free() method. Use prepend instead of
6858 append in key_listener list. Fixed some refcount madness and
6859 leaks in the listener registration/deregistration - deregistration
6860 now calls dec_key_listener_free() on listeners, and on the
6861 temporarily constructed dec_key_listener() used to perform the search/match.
6863 * libspi/hypertext.c (spi_hypertest_finalize):
6864 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6865 class. Also fixed spi_hypertext_interface_new() and
6866 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6868 * libspi/hypertext.h:
6869 Removed pointless and duplicate AtkObject pointer from
6872 * libspi/keystrokelistener.c:
6873 Fixed incorrect type of keystroke_listener_parent_class,
6874 renamed keystroke_listener_object_finalize to
6875 spi_keystroke_listener_object_finalize.
6876 Fixed typo in signal declaration
6877 (spi_keystroke_listener_class_init).
6879 * libspi/registry.c:
6880 Added funcsions spi_listener_struct_new() and
6881 spi_listener_struct_free() to help with memory management issues.
6882 We also now use these methods instead of gnew + poking stuff into
6883 the struct, and to decrement listener counts/free the listeners
6884 when deregistering them.
6885 Fix more refcount bugs in getDesktop() and
6886 getDeviceEventController().
6889 De-ref the desktop after enumerating the applications. Explicitly
6890 decrement the refcounts on the created listeners on exit (using
6891 _unref for keystroke listeners, and via the
6892 deregisterGlobalEventListenerAll command for other event
6895 2001-11-27 Michael Meeks <michael@ximian.com>
6897 * cspi/spi-listener.h: fixup enum.
6899 2001-11-27 Michael Meeks <michael@ximian.com>
6901 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6902 (cspi_keystroke_listener_new): Use the cspi variants.
6904 2001-11-26 Michael Meeks <michael@ximian.com>
6906 * test/keysynth-demo.c: fix 2 compile warnings, missing
6909 * test/simple-at.c (report_focussed_accessible),
6910 (report_focus_event, report_button_press),
6911 (check_property_change, is_command_key),
6912 (report_ordinary_key_event, report_command_key_event): upd.
6914 * util/mag_client.h: include pre-requisites.
6916 * libspi/accessibleeventlistener.c
6917 (spi_event_listener_object_finalize): free any lingering
6920 * libspi/keystrokelistener.c
6921 (keystroke_listener_object_finalize): ditto.
6923 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6924 callbacks, with cspi types.
6926 * cspi/spi_event.c (createAccessibleEventListener): chain to
6927 (AccessibleEventListener_addCallback): here.
6928 (createAccessibleKeystrokeListener): chain to
6929 (AccessibleKeystrokeListener_addCallback): here.
6931 * libspi/keystrokelistener.c
6932 (spi_keystroke_listener_class_init): add signal.
6933 (impl_key_event): emit the event.
6934 (boolean_handled_accumulator): impl.
6935 (marshal_BOOLEAN__POINTER): add, gack.
6937 * libspi/accessibleeventlistener.c
6938 (spi_event_listener_class_init): add signal.
6939 (impl_accessible_event_notify_event): emit the signal &
6940 make the loop efficient.
6941 (spi_event_listener_add_callback): prepend the callback.
6943 * libspi/accessibleeventlistener.h: add an 'event' signal,
6944 decl type on callback.
6946 * libspi/keystrokelistener.h: ditto.
6948 * cspi/spi-listener.h: make methods typesafe and
6949 make them use the new event typedefs.
6951 * test/simple-at.c (report_focussed_accessible):
6952 include mag_client.h
6953 Use *(void *)text_interface not the other thing.
6955 * configure.in: add gtk to registryd bits - since we use
6958 * util/magnifier.c: include libbonobo.h
6960 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6962 * test/keysynth-demo.c:
6963 Turned this into a simple scanning keyboard, to demonstrate the
6964 use of g_timeout_add () as a means of creating timers for
6965 scanning, and the use of GtkStyle for visually indicating when
6966 virtual keyboard elements are selected.
6968 keysynth-demo now listens to any keyboard keys with zero-valued
6969 keycodes (i.e. 'unused' keys) and interprets them as
6972 Reworked the shiftlatch code so that shift-down state isn't held
6973 for long periods (it's only synthesized immediately prior to
6974 the keysynth event it's modifying). Note that shiftlatch in this
6975 demo is a convenience, not intended to take the place of AccessX
6976 which is the better choice for getting 'sticky' modifier keys.
6978 * libspi/deviceeventcontroller.c:
6979 * at-bridge/bridge.c:
6980 * cspi/spi_registry.c:
6981 Removed some debug print stuff, and put other verbosity in #ifdef
6986 Implemented some more of the magnifier IDL for the simple
6987 magnifier: namely, getZoomRegionParams.
6988 Added mag_x and mag_y members to MagnifierData struct, aid of this
6990 Added GtkWindow::realize signal handler to magnifier, to keep it
6991 from receiving keyboard focus from the WM.
6993 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6995 * cspi/spi-private.h: my guess at what michael forgot
6996 before he ran off to NZ :-)
6998 2001-11-23 Michael Meeks <michael@ximian.com>
7000 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
7001 comment out non existant method invoke so we link.
7003 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
7004 use bonobo_exception_get_text for more friendly warnings.
7006 * cspi/spi.c (Obj_Add): move into spi_main & rename
7007 spi_object_add; kill spi.c
7009 * cspi/spi_registry.c
7010 (deregisterGlobalEventListener),
7011 (deregisterGlobalEventListenerAll),
7012 (registerGlobalEventListener): fix exception leaks.
7014 * cspi/spi_main.c (spi_exception): impl. helper, so we
7015 don't leak exceptions.
7017 * cspi/spi_selection.c
7018 (AccessibleSelection_deselectSelectedChild): return the
7021 * cspi/spi_main.c (spi_ev): impl; hack - gack.
7022 (spi_registry): ditto.
7023 (SPI_init): guard against double inits.
7025 * cspi/*.c: use spi_ev (), and spi_registry () where
7026 appropriate - a temporary hack until we have something
7027 better. Use spi_object_add
7029 2001-11-22 Michael Meeks <michael@ximian.com>
7031 * cspi/Makefile.am: re organise, install the headers.
7033 * cspi/*.h: add G_BEGIN/END_DECLS
7035 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7038 Added non-preemptive keylistener for key events with no modifiers
7039 and shift-only modifier.
7041 * libspi/keystrokelistener.c:
7042 Removed some verbose diagnostics printout.
7044 * cspi/spi_registry.c:
7045 Fixed a bug that caused all key listeners to be registered as
7048 * libspi/deviceeventcontroller.c:
7049 Fixed bug that caused XGrabKey (preemptive key grab) to be called
7050 for non-preemptive key masks.
7053 2001-11-22 Bill Haneman <bill.haneman@sun.com>
7055 * docs/reference/idl/at-spi-idl-docs.sgml:
7056 * docs/reference/idl/at-spi-idl-sections.txt:
7057 * docs/reference/idl/at-spi-idl-overrides.txt:
7058 Added missing files.
7060 * docs/reference/Makefile.am:
7061 removed idl from SUBDIRS until we can figure a way to get gtk-doc
7062 to scan the IDL files :-(
7067 Added .cvsignore files.
7069 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7071 * libspi/deviceeventcontroller.c:
7072 * libspi/keystrokelistener.c:
7074 * cspi/spi_registry.c:
7075 Added filters for KeySets, KeyEventSeq, and event types to key
7076 event dispatching, so listeners should only receive those events
7077 that they requested :-)
7079 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7084 * docs/reference:Makefile.am:
7085 * docs/reference/cspi:
7086 * docs/reference/cspi:Makefile.am:
7087 * docs/reference/cspi:tmpl:
7088 * docs/reference/cspi:tmpl:*.sgml:
7089 * docs/reference/idl:
7090 * docs/reference/idl:Makefile.am:
7091 * docs/reference/idl:at-spi-idl-sections.txt:
7092 * docs/reference/idl:at-spi-idl-docs.sgml:
7093 * docs/reference/idl:tmpl:
7094 * docs/reference/idl:tmpl:*.sgml:
7096 Restructured docs directory to allow separate 'reference' docs
7097 section, and forked idl and cspi docs. Added the sgml template
7098 files to CVS. Added the first sections/structural sgml for the
7101 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
7103 * configure.in, libspi/Makefile.am: find libXtst.
7105 2001-11-21 Michael Meeks <michael@ximian.com>
7107 * test/accessx-gui.c: s/spi_value/value/ - doh.
7109 * libspi/base.[ch]: add.
7111 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7113 * idl/Accessible.idl:
7114 * idl/Application.idl:
7117 Started gtk-doc cleanup on IDL.
7119 * libspi/deviceeventcontroller.c:
7120 Added and connected non-preemptive key notification from the
7121 toolkits (in addition to the pre-emptive support from XServer
7122 which we had before, but which causes 'focus flashing'). Filters
7123 are presently limited to key modifiers and global/non-global,
7124 KeySets are presently ignored, as are KeyEvent masks.
7126 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7127 structs into the persistant structure rather than just storing
7128 pointers to things that might not persist across servant
7131 The XGrabKey call now does async keygrabs, because synchronous
7132 ones were deadlocking with GDK_event code in a very nasty way.
7134 Added boolean to internal method notify_keylisteners, to indicate
7135 whether the event came from the 'toolkit source' or the 'global
7136 (XServer) source' - this is used in the notification process to
7137 determine which listeners to send the event to.
7139 deviceeventcontroller.c is now warning-free.
7141 * libspi/registry.c:
7142 Fixed regression in application de-registration.
7143 Also fixed some really brain-dead weirdness having to do with
7144 event dispatching - event structs are now duplicated before being
7145 re-marshalled in the dispatch to listeners. This also fixes a
7146 Solaris build problem.
7149 2001-11-20 Michael Meeks <michael@ximian.com>
7152 (impl_accessibility_registry_deregister_global_event_listener):
7155 * libspi/deviceeventcontroller.c
7156 (spi_device_event_controller_check_key_event): return
7157 FALSE on no virtual method.
7159 * libspi/*..h: make includes work on a correctly pathed install.
7161 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7163 * libspi/application.h: kill unused ( and whacked out )
7164 gboolean *spi_application_set_id (AtkObject *app, long id);
7166 2001-11-20 Michael Meeks <michael@ximian.com>
7168 * libspi/*.[ch]: further convert to bonobo's type func
7169 macros, remove redundnant casts etc.
7171 * libspi/text.c s/accessibility_text/spi_text/g,
7172 re-order to de-cruft.
7174 * libspi/hypertext.c: re-order to kill a huge slew
7175 of redundant forward decls.
7177 * libspi/relation.c: ditto.
7179 * libspi/image.c: ditto.
7181 * */.cvsignore: update
7183 2001-11-20 Michael Meeks <michael@ximian.com>
7185 * libspi/deviceeventcontroller.c
7186 (_controller_register_with_devices): use g_getenv,
7187 kill stdlib.h include.
7189 * libspi/keystrokelistener.c
7190 (spi_keystroke_listener_get_type): kill
7191 (spi_keystroke_listener_class_init),
7192 (spi_keystroke_listener_init): rename to this.
7194 * libspi/text.c (impl_getAttributes): fix warning / bug.
7196 * libspi/*.[ch]: more headers, includes and over commenting.
7198 2001-11-20 Michael Meeks <michael@ximian.com>
7200 * libspi/*.[ch]: fixup headers, includes and over commenting.
7202 * libspi/image.c (impl__get_imageDescription): const
7203 correctness warning fix. remove redundant casting.
7205 * libspi/table.c (impl_getRowDescription): ditto.
7206 (impl_getColumnDescription): ditto.
7208 * libspi/libspi.h: add.
7210 2001-11-19 Michael Meeks <michael@ximian.com>
7212 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7214 * libspi/component.c (accessibility_component_get_type):
7215 rename to (spi_component_get_type): and macroify.
7216 (accessibility_component_init): rename to
7217 (spi_component_init): this
7218 (accessibility_component_class_init): rename to
7219 (spi_component_class_init): this
7221 * libspi/action.c (spi_action_get_type): kill, use the macro.
7223 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7226 * libspi/application.c (spi_application_object_event_listener),
7227 (impl_accessibility_application_register_object_event_listener):
7228 warning fixes / const understanding updates.
7230 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7233 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7235 * libspi/spi_accessible.c: Added docs and C bindings for
7236 AccessibleStateSet. (No implementations yet). Documentation
7237 coverage for C bindings now 100%. Made docs for event listeners
7242 boolean notifyListenersSync (in DeviceEventListener listener,
7243 in DeviceEvent event);
7245 oneway void notifyListenersAsync (in DeviceEventListener listener,
7246 in DeviceEvent event);
7248 Added DeviceEventListener and DeviceEvent structs (may deprecate
7249 KeyStroke and KeystrokeListener in favor of this generic
7250 event/listener framework for devices).
7252 * libspi/deviceeventcontroller.c:
7254 Changed some key listener code to take masks, etc., and paved the
7255 way for integration of toolkit/non-preemptive key events. Changed
7256 signatures of some internal methods.
7258 * at-bridge/bridge.c:
7259 Fixed regression connecting to interface signals, apparently
7260 caused by GTK+ changes.
7262 Added an internal bridge_state_listener to deal with
7263 property-change:accessible-state signals.
7265 Changed the key_listeners GList to store structs (including masks,
7266 etc.) instead of just CORBA_Objects (required for full
7267 implementation of key listener API).
7269 Connected the bridge to all currently supported Atk signals.
7270 Events now supported:
7271 object:property-change
7272 object:property-change:accessible-name
7273 object:property-change:accessible-state
7274 object:property-change:accessible-description
7275 object:property-change:accessible-parent
7276 object:property-change:accessible-value
7277 object:property-change:accessible-role
7278 object:property-change:accessible-table-caption
7279 object:property-change:accessible-table-column-description
7280 object:property-change:accessible-table-column-header
7281 object:property-change:accessible-table-row-description
7282 object:property-change:accessible-table-row-header
7283 object:property-change:accessible-table-summary
7284 object:children-changed
7285 object:visible-data-changed
7286 object:selection-changed
7287 object:text-selection-changed
7289 object:text-caret-moved
7291 object:row-reordered
7293 object:column-inserted
7294 object:column-reordered
7295 object:column-deleted
7296 object:model-changed
7298 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7300 * libspi/hyperlink.c,h:
7301 Fixed some broken stuff in hyperlink.
7303 * libspi/relation.h:
7304 * libspi/relation.c:
7305 * cspi/spi_accessible.c:
7306 Initial implementations of AccessibleRelation methods, and docs.
7308 * libspi/accessible.c:
7309 Fixed a bug that caused SEGV if an accessible
7310 object's description is NULL, and a client
7311 requests it. An empty string is now returned.
7313 * cspi/spi_editabletext.c:
7314 * cspi/spi_hypertext.c:
7316 * cspi/spi_hyperlink.c:
7320 Doc coverage now 95%.
7322 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7324 One last namespacing revision:
7325 * libspi/accessibleeventlistener.[ch]:
7326 Renamed SpiAccessibleEventListener to SpiEventListener,
7327 (no need for two namespaces ;-)
7329 And lots of documentation fixes:
7331 * docs/at-spi-docs.sgml:
7332 Fixed 'underscore vs. hyphen' bug that was preventing
7333 the gtk-doc API docs from being automatically generated.
7336 * cspi/spi-listener.h
7338 * cspi/spi_accessible.c
7340 * cspi/spi_application.c
7341 * cspi/spi_component.c
7342 * cspi/spi_editabletext.c
7344 * cspi/spi_hypertext.c
7346 * cspi/spi_registry.c
7347 * cspi/spi_selection.c
7351 * docs/at-spi-docs.sgml
7352 * docs/at-spi-sections.txt
7354 Added and fixed up gtk-doc documentation in cspi.
7356 Interfaces now (fully) documented (subject to revision and enhancement):
7358 Event Listener Support
7360 AccessibleApplication
7364 AccessibleEditableText
7371 AccessibleRelationSet
7376 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7378 * at-bridge/bridge.c:
7379 Initial work for toolkit-level key snooper connection by bridge.
7384 New typedefs and fixes to support new namespacing, and cleaner
7385 separation of cspi bindings from libspi bonobo implementation.
7386 Removed inconsistent and extraneous Spi* namespace prefix that
7387 had crept into cspi headers.
7388 Lots of comment fixes that sed had missed.
7390 * cspi/spi-roletypes.h:
7391 * cspi/spi-statetypes.h:
7392 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7393 to AccessibleRoleType.
7395 * libspi/accessibleeventlistener.h:
7396 Fixed minor namespacing weirdness.
7398 * libspi/deviceeventcontroller.c:
7399 Reordered some internal API for device listeners.
7400 Changed the key registry final boolean to 'is_system_global'
7401 rather than 'is_synchronous', which is more descriptive of its
7403 Added spi_device_event_controller_new().
7404 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7406 * libspi/keystrokelistener.[ch]:
7407 Namespaced KeystrokeListener to SpiKeystrokeListener.
7408 Changed uses of keymasks to use SPI_ prefix, and did other
7411 * libspi/keymasks.h:
7412 Namespaced keymask constants with SPI_ prefix.
7414 * libspi/registry.c:
7415 Some warning fixes, and knock-on fixes from namespace changes.
7418 Added rules for accessx-gui test program.
7420 * test/accessx-gui.c:
7421 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7422 utility. It doesn't actually use at-spi, but it's still cool and
7425 * test/keysynth-demo.c:
7429 Fixes so that these test clients work properly with the namespaced
7430 libraries. (Incompletely tested for technical reasons, fixes may follow)
7433 2001-11-13 Michael Meeks <michael@ximian.com>
7435 * libspi/application.c
7436 (impl_accessibility_application_get_version),
7437 (impl_accessibility_application_get_toolkit_name):
7439 (impl_accessibility_application_set_id),
7440 (impl_accessibility_application_get_id): remove
7441 redundant casting code.
7443 * libspi/action.c (impl_getDescription): fix warnings.
7445 * libspi/accessible.c
7446 (impl_accessibility_accessible_get_parent),
7447 (impl_accessibility_accessible_get_child_at_index),
7448 (impl_accessibility_accessible_get_state),
7449 (impl_accessibility_accessible_get_relation_set):
7450 warning fixes & include action.h
7452 2001-11-13 Michael Meeks <michael@ximian.com>
7454 * *.[ch] fix bits I screwed up:
7456 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7457 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7459 2001-11-13 Michael Meeks <michael@ximian.com>
7461 * *.[ch] Namespace libspi into spi_ and Spi.
7463 2001-13-11 Michael Meeks <michael@ximian.com>
7465 * Makefile.am: dist & install at-spi-1.0.pc
7467 * libspi/Makefile.am: install into at-spi-1.0
7469 * idl/Makefile.am (idldir): install into at-spi-1.0
7471 * at-spi-1.0.pc.in: add.
7473 * configure.in: build it.
7475 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7477 * test/keysynth-demo.c:
7478 Use a 'realize' signal-handler to set the WM properties for
7479 the virtual keyboard, rather than making it a "POPUP" type
7480 override-redirect window (thanks to anders carlsson for that
7483 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7486 * test/keysynth-demo.c:
7487 Added new test of key synthesis, which creates a simple
7488 (mouse-operated) onscreen keyboard. It inserts key events into
7489 the currently-focused window, thus it does not grab keyboard focus
7492 * cspi/spi_registry.c:
7493 Added C binding for AT-SPI generateKeyEvent.
7495 * libspi/deviceeventcontroller.c:
7496 Added call to XFilterEvent so that key listener works with XIM (we
7497 hope). Added event_synth_type to generateKeyEvent, so that we can
7498 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7499 synthesize a press/release pair for KeySyms.
7501 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7503 * libspi/Makefile.am:
7504 * registryd/Makefile.am:
7505 (temporary) hack to include libXtst in libspi and registryd.
7506 (Needed for keystroke synthesis, see below).
7509 Improved API for registerKeystrokeListener, in accordance with
7510 discussions with Gnopernicus team and X server research.
7512 * libspi/registry.c:
7513 * libspi/deviceeventcontroller.c:
7514 * libspi/accessible.c:
7515 * libspi/keystrokelistener.c:
7516 Changes and fixes to support keylisteners for potentially
7517 consumed key events (that is, 'passive grabs').
7518 Added implementation for generateKeyEvent() [untested].
7521 Changes to registerKeystrokeListener() API, as above.
7522 Added deregisterGlobalEventListenerAll(), and
7523 deregisterKeystrokeListener(), which are needed for clean exit of
7525 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7526 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7528 * cspi/spi_registry.c:
7529 Added implementations of function prototypes mentioned above.
7531 * registryd/registryd.c:
7532 Added the key listener event source as a g_timeout(), to allow
7533 receipt of key events that are not caught by GDK (since GDK
7534 doesn't support passive keygrabs, this was necessary).
7537 Changed to attach a keylistener to 'Alt' keys, and
7538 respond to the following keycommands: Alt-M (toggle magnifier);
7539 Alt-F (toggle speech); Alt-Q (quit).
7540 Added an exit routine to deregister the listeners, and a key
7541 listener that prints some key info to the console when a key
7542 matches the listener mask (and is thus received by the listener).
7544 * util/idl/Magnifier.idl:
7545 Changes to magnifier API to support multiple zoom regions,
7546 non-uniform scaling in x and y, markDirty, and a host of other
7547 features that would be useful to magnification.
7550 * util/mag_client.c:
7551 * util/mag_client.h:
7552 * util/mag_control.c:
7554 Source code changes to support the above IDL changes.
7557 As above, and also changes to use a (slower) generic conversion
7558 path for colormap conversions, since the fast RGB conversions have been
7559 reported to fail for 16-bit displays.
7561 2001-10-26 Michael Meeks <michael@ximian.com>
7563 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7565 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7567 * at-bridge/Makefile.am: fix LDFLAGS.
7569 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7571 * at-bridge/bridge.c:
7572 Re-worked listeners for toolkit events, now we have signal
7573 and property listeners. Added a private method
7574 register_atk_event_listeners(), which registers with the
7575 various atk and gtk signals we need to monitor in order to emit
7577 Added emission hook for AtkObject:property-change events, to
7578 support the 'property listeners'.
7579 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7582 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7583 which emit warnings and exit, respectively, if CORBA errors occur
7584 during remote calls, and we now use these methods to check most of
7585 our CORBA calls in the C bindings.
7587 * cspi/spi_accessible.c:
7588 Changed AccessibleSelection_refSelectedChild() to
7589 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7590 now increment refcounts.
7592 * cspi/spi_component.c:
7593 Fixed some long pointer casts (dangerous!) to pass pointers to
7594 CORBA_longs of the proper type to the CORBA stubs, and copy the
7595 data into the longs that were passed into the C bindings code.
7597 * at-bridge/bridge.c:
7599 * libspi/accessible.c:
7600 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7601 hyperlinks, AtkHyperlink is an object type.
7603 * libspi/application.c:
7604 Added various conversions to and from "generic" event types and
7605 atk-specific types; this is really part of the 'bridge'
7606 implementation but is valid for all AtkObject-based accessibility
7609 * libspi/editabletext.c:
7610 Fixed nasty bug wherein editable text's finalize method was
7611 unref'ing tha AtkObject reference that the text parent class was
7612 about to unref _again_. There was also a nasty inheritance bug
7613 that meant that the AccessibleEditableText class was corrupt.
7615 * libspi/selection.c:
7616 Provided implementations for some selection API that was broken.
7618 * idl/Application.idl:
7619 Added registerObjectEventListener () method.
7622 Fixed a number of return values that were Bonobo_Unknowns from
7623 bonobo_object_corba_objref(), which I
7624 forgot to dup before returning. Changed instances of
7625 bonobo_object_corba_objref (bonobo_object(o)) to
7626 BONOBO_OBJREF(o), for concision and clarity.
7628 2001-10-13 Louise Miller <louise.miller@sun.com>
7630 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7631 idl/Event.idl, idl/Registry.idl
7632 Changed these files to include Bonobo_Unknown.idl instead
7635 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7637 * libspi/component.c libspi/component.h:
7638 Fixed typo. Added assertions for object checks in
7639 AccessibleComponent code.
7641 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7643 * idl/Accessible.idl:
7644 Added 'isEqual (Accessible *object)'
7645 method for Accessible. (Not Yet Implemented).
7648 Changed signature of registerKeystrokeListener() to
7649 take a KeySet and KeyEventSeq so that specific keys and event
7650 types could be requested for monitoring, and added a flag
7651 is_synchronous so that either synchronous or asynchronous
7652 notification could be requested. (However this is not all
7653 implemented yet). This also meant adding two new typedefs,
7654 KeyEventSeq and KeySet.
7657 Added two new relations, RELATION_TOOLTIP_FOR and
7658 RELATION_LEAFNODE_OF.
7661 Added new state, STATE_HAS_TOOLTIP.
7663 * libspi/text.c, editabletext.c:
7664 Added new assertions to all casts of bonobo-objects from
7665 CORBA servants, to prevent Text API calls on non-text objects.
7666 Changed suspect casts of int-pointer types, so that we
7667 always send a valid CORBA_long pointer to the CORBA APIs that use
7668 in/out long parameters. We then have to copy from the CORBA_long
7669 into the regular long or int for return to the C bindings, or
7670 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7673 * libspi/deviceeventcontroller.c:
7674 Cleaned these sources up.
7676 Changed return type for getCharacterAtOffset to
7677 CORBA_unsigned_long, to allow for 32-bit characters.
7680 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7684 Fixed 'make dist' so that distro compiles...
7685 * libspi/keymasks.h:
7687 * cspi/spi-listener.c:
7688 KeystrokeListenerCB now returns a boolean.
7690 Added KeyEventType struct, and KeyStroke.
7691 Also added createKeystrokeListener(),
7692 KeystrokeListener_addCallback(),
7693 KeystrokeListener_removeCallback(), and added a keymask to
7694 registerKeystrokeListener().
7695 * cspi/spi_accessible.c:
7696 Changed numerous return types for interfaces from
7697 AccessibleComponent to Accessible<InterfaceName>; this was
7698 probably a cut-and-paste error.
7700 Implementations of new KeystrokeListener api (from spi.h,
7703 Changes to key modifier mapping.
7704 Created ControllerEventMask struct.
7705 Made DeviceEventController derive from Bonobo::Unknown.
7707 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7708 * libspi/deviceeventcontroller.c:
7709 Added a number of new internal (private) methods.
7710 * libspi/editabletext.c:
7711 * libspi/editabletext.h:
7712 Fixed a number of bugs related to the fact that
7713 editabletext inherits from text. Fixed the EditableText struct,
7714 the init() call, and use correct casts when calling Text methods
7715 from an EditableText object. Removed (duplicate) atko from the
7716 EditableText structure, we use the one in the parent Text
7717 structure via the casts mentioned above.
7718 * libspi/keystrokelistener.[ch]:
7719 * libspi/registry.c:
7720 Changes in support of keyboard handling (above).
7722 Keyboard handling, though partly functional, is still not
7723 recommended for at-spi client use as there is considerable
7724 work yet to be done.
7727 Changed some places where pointers to various int types
7728 are cast to be pointers to CORBA_long types and vice-versa:
7729 pointer casting is not safe so we pass pointers of the correct
7730 types and then cast the result before putting it into the target
7733 * libspi/text.h: minor typos corrected.
7735 We now speak not only the name of a Text element, but the
7736 first sentence of its content, when it receives focus.
7737 I also changed the text compression to 75% from 50%.
7738 * util/Accessibility_Util.server.in:
7739 Changed the default magnifier type to be a 3x vertical
7740 splitscreen magnifier (was previously a 2x horizontal one).
7742 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7744 * libspi/keystrokelistener.h:
7745 * libspi/keystrokelistener.c:
7746 Initial functional implementations of KeystrokeListener.
7749 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7751 Fixed string handling for NULL strings in libspi.
7752 Added spi_freeString to free strings returned by C bindings.
7754 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7756 * libspi/keystrokelistener.h:
7757 * libspi/keystrokelistener.c:
7758 Began (no-op) implementations of KeystrokeListener
7760 * libspi/deviceeventcontroller.c:
7761 * libspi/deviceeventcontroller.h:
7762 Began creating implementations of DeviceEventController,
7763 to handle keystroke and mouse event listening and
7765 * libspi/accessible.c:
7766 Stubbed-in the implementations for
7767 Accessibility_Accessible_getState and
7768 Accessibility_Accessible_getRelationSet.
7769 * libspi/registry.c:
7770 Improved de-registration process and fixed some bugs,
7771 deregistration now works correctly.
7773 Added initialization of applications list (to NULL).
7775 Reduced speech compression from 0.5 to 0.7, for demo.
7776 Changed call to gdk_window_set_decorations()
7777 to gtk_window_set_decorated().
7778 * at-bridge/bridge.c:
7779 Bridge now deregisters when app exits, via
7780 registration of a cleanup function
7781 with the g_atexit() call.
7782 Required making 'app' static, renamed 'this_app'.
7783 Fixed broken use of bonobo_init, passing argv wrongly.
7785 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7789 Created a new directory for
7790 accessibility-related utilities, primarily for
7791 testing and demo purposes, but with possible
7798 Onscreen magnifier utility that
7799 is implemented as a bonobo service.
7801 * util/mag_client.c:
7802 * util/mag_client.h:
7803 Client-side support (simple C bindings)
7804 for Magnification service
7806 * util/mag_control.c:
7807 Client program example for
7808 Magnification service
7810 * util/Accessibility_Magnifier.server.in:
7811 Bonobo-activation file for the
7812 Magnification service.
7815 * util/idl/Magnifier.idl:
7816 IDL defining the bonobo Magnification
7820 Modifications to use the bonobo-activated magnifier
7821 above, in place of trying to connect to an existing
7822 magnifier that uses socket-listening IPC.
7824 If env variable MAGNIFIER is set, a magnifier service
7825 will be started if one does not exist.
7827 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7829 * at-bridge/bridge.c:
7830 applied patch from Marc to build and run
7831 against new glib and gtk+ (seemed like a change
7832 to bonobo_init signature was made ?)
7834 made festival-server support turned off by default.
7835 Added support for a simple magnifier (off by default)
7836 which will be added to a 'util' directory later.
7837 * at-bridge/Makefile.am:
7838 Changed "application.h" header from a 'source'
7839 to a 'dependency' of libat-bridge.
7841 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7850 Added interface implementation c files to list of
7851 includes so they are included in libcspi.
7854 Changed prototype of AccessibleAction_doAction to return a
7856 Changed prototype of AccessibleTable_getCaption to
7857 return an Accessible.
7858 Changed prototype of AccessibleTable_getSelectedRows
7859 and AccessibleTable_getSelectedColumns to
7860 return a long (returns the number of selected rows
7861 or columns respectively).
7862 Changed name of AccessibleText_refRunAttributes to
7863 AccessibleText_getAttributes.
7864 Changed prototype of AccessibleText_getCharacterExtents to
7865 return a void rather than a boolean.
7866 Added support for a AccessibleCoordType parameter
7867 specifying what type of coordinates are desired.
7868 Added an AccessibleCordType parameter to
7869 AccessibleText_getPointAtOffset.
7871 * cspi/spi_accessible.c:
7872 Added code to return the outstanding interfaces from
7873 Accessible_queryInterface.
7875 * cspi/spi_action.c:
7877 Corrected call to getNActions to call the c binding
7880 * cspi/spi_editabletext.c:
7882 Changed name from setRunAttributes to setAttributes.
7884 * cspi/spi_hyperlink.c:
7886 Changed call to getNAnchors to correctly call the c
7887 binding for an attribute.
7889 * cspi/spi_hypertext.c:
7891 Changed getImageDescription to correctly call the
7892 binding for an attribute.
7894 * cspi/spi_selection.c:
7895 Changed getNSelectedChildren to correctly call the c
7896 binding for the attribute.
7897 Changed refSelectedChild to getSelectedChild.
7901 Changed getCaption to return an Accessible.
7902 Fixed calls which retrieve attributes.
7903 Changed refAt to getAccessibleAt.
7904 Changed getNSelectedRows and getNSelectedColumns to
7908 Changed getCharacterExtents and getPointAtOffset to accept an
7909 AccessibleCoordType.
7911 Changed calls which retrieve attributes.
7912 Changed refRunAttributes to getAttributes.
7917 * idl/Hyperlink.idl:
7918 Changed n_anchors attribute to nAnchors to keep naming
7919 convention consistent.
7922 Made Table inherit from Bonobo::Unknown.
7923 Added nSelectedColumns and nSelectedRows attributes.
7926 Made Value inherit from Bonobo::Unknown.
7928 * libspi/hyperlink.c:
7929 Change for nAnchors attributte name change.
7931 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7939 Added interface implementation c files to list of
7940 includes so they are included in libcspi.
7943 Changed prototype of AccessibleAction_doAction to return a
7945 Changed prototype of AccessibleTable_getCaption to
7946 return an Accessible.
7947 Changed prototype of AccessibleTable_getSelectedRows
7948 and AccessibleTable_getSelectedColumns to
7949 return a long (returns the number of selected rows
7950 or columns respectively).
7951 Changed name of AccessibleText_refRunAttributes to
7952 AccessibleText_getAttributes.
7953 Changed prototype of AccessibleText_getCharacterExtents to
7954 return a void rather than a boolean.
7955 Added support for a AccessibleCoordType parameter
7956 specifying what type of coordinates are desired.
7957 Added an AccessibleCordType parameter to
7958 AccessibleText_getPointAtOffset.
7960 * cspi/spi_accessible.c:
7961 Added code to return the outstanding interfaces from
7962 Accessible_queryInterface.
7964 * cspi/spi_action.c:
7966 Corrected call to getNActions to call the c binding
7969 * cspi/spi_editabletext.c:
7971 Changed name from setRunAttributes to setAttributes.
7973 * cspi/spi_hyperlink.c:
7975 Changed call to getNAnchors to correctly call the c
7976 binding for an attribute.
7978 * cspi/spi_hypertext.c:
7980 Changed getImageDescription to correctly call the
7981 binding for an attribute.
7983 * cspi/spi_selection.c:
7984 Changed getNSelectedChildren to correctly call the c
7985 binding for the attribute.
7986 Changed refSelectedChild to getSelectedChild.
7990 Changed getCaption to return an Accessible.
7991 Fixed calls which retrieve attributes.
7992 Changed refAt to getAccessibleAt.
7993 Changed getNSelectedRows and getNSelectedColumns to
7997 Changed getCharacterExtents and getPointAtOffset to accept an
7998 AccessibleCoordType.
8000 Changed calls which retrieve attributes.
8001 Changed refRunAttributes to getAttributes.
8006 * idl/Hyperlink.idl:
8007 Changed n_anchors attribute to nAnchors to keep naming
8008 convention consistent.
8011 Made Table inherit from Bonobo::Unknown.
8012 Added nSelectedColumns and nSelectedRows attributes.
8015 Made Value inherit from Bonobo::Unknown.
8017 * libspi/hyperlink.c:
8018 Change for nAnchors attributte name change.
8021 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
8023 implementations-- made server implementations own AtkObject pointers
8024 rather than their respective AtkInterrface pointers to fix
8025 refcounting. AtkHyperlink is still broken.
8027 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8028 * cspi/spi_accessible.c:
8029 Added method Accessible_Role_getName(),
8030 and requisite string array (role_names).
8031 Added conversion string_from_corba_strin() call
8032 to Accessible_getName and _getDescription.
8033 * libspi/accessible.c:
8034 Added implementation for Accessible_getRole()
8036 Added festival support, used if environment variable
8039 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8041 * at-bridge/bridge.c:
8042 Now allocate Accessibility_Event using
8043 Accessibility_Event__alloc() instead of g_new0().
8044 * libspi/accessibleeventlistener.c:
8045 Initialize AccessibleEventListener->callbacks to NULL.
8046 Fixed accessible__event_listener_init() param, changed to
8047 "AccessibleEventListener *" type.
8048 Changed a bonobo_object_release_unref() call to
8049 Accessibility_Accessible_unref().
8050 * libspi/listener.c:
8051 Changed Bonobo_Unknown_unref to (equivalent)
8052 Accessibility_Accessible_unref.
8053 * libspi/registry.c:
8054 Changed bonobo_object_release_unref to
8055 Accessibility_Accessible_unref.
8057 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8060 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
8061 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
8062 spi-util.c spi-util.h
8063 Implementations for C bindings to remaining accessibility
8066 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
8069 changed return value of Action from void to boolean to
8070 bring in line with ATK.
8073 Changed getText funcions to return "out" start and end offsets.
8074 Changed getAttributes to take and offset and return the start
8075 and end offset of the attribute run.
8076 Changed getOffsetAtPoint and getCharacterExtents to take an
8077 enum describing whether coordinates are window or screen.
8080 libspi/action.c libspi/action.h libspi/editabletext.c
8081 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
8082 libspi/hypertext.c libspi/hypertext.h libspi/image.c
8083 libspi/image.h libspi/selection.c libspi/selection.h
8084 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
8085 libspi/value.c libspi/value.h
8086 Added server implementations for outstanding ATK interfaces
8087 not yet implemented.
8089 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8092 Added (missing) getName() method.
8093 Made nActions an attribute.
8094 * idl/EditableText.idl:
8095 Changed order of params in setAttributes.
8096 * idl/Hyperlink.idl:
8097 Removed getAnchor, added getURI.
8099 Changed attributes to methods, for efficiency
8100 (so that getting extents can be done in one call)
8101 * idl/Selection.idl:
8102 Changed nSelectedChildren to attribute, and re-indented.
8103 * idl/Table.idl: changed nrows, ncolumns, caption, summary
8105 * idl/Text.idl: reformatted to match our coding style.
8106 (temporarily?) removed getRowColumnAtOffset().
8107 Changed text selection API to support multi-select and
8108 non-contiguous selections, as in ATK.
8109 * idl/Value.idl: changed some methods to attributes.
8111 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8113 * libspi/listener.c(impl_notify_event):
8114 BonoboUnkown_unref the source instead
8115 of bonobo_object_release_unref - the ORB
8116 handles the releasing.
8118 * configure.in: require ORBit-2.3.94 for
8121 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8123 Tagged CVS repository 'EA_1_0'.
8124 * README.EARLY_ACCESS:
8125 Alphabetized acknowledgements list, and
8127 Listed some known dependencies of at-spi.
8129 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8131 * docs/at-spi-docs.sgml:
8132 * docs/at-spi-sections.txt:
8133 * docs/at-spi-overrides.txt: (Added zero-length file)
8134 Documentation improvements - gtk-doc should build
8135 docs for all implemented C bindings now.
8138 * cspi/spi.c: (New file)
8139 * cspi/spi_event.c: (New file)
8140 * cspi/spi_registry.c: (New file)
8141 * cspi/spi_accessible.c: (New file)
8142 * cspi/spi_application.c: (New file)
8143 * cspi/spi_component.c: (New file)
8144 Split spi_main.c into six parts, and included them from
8145 "spi.c". This is a bit of a hack, probably temporary,
8146 but required by gtk-doc, apparently.
8148 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8151 * docs/at-spi-docs.sgml:
8152 * docs/at-spi-sections.txt:
8154 Initial checkins/modifications for gtk-doc generation.
8157 Added (missing) interface query methods to Accessible's C binding.
8159 Added GenericInterface type definition.
8161 Added query for AccessibleComponent interface to focus event handler.
8162 Added printout of bounding box for focussed component.
8163 * libspi/component.c:
8164 Added partial implementation for AccessibleComponent to C binding.
8165 * idl/Application.idl:
8166 * libspi/registry.c:
8167 * libspi/listener.c:
8168 * libspi/application.c:
8169 * libspi/application.h:
8170 Changed "ID" attribute type from string to long.
8172 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8176 Made method naming consistent: methods taking object args
8177 start with uppercase, other methods (except those using
8178 acronyms) start with lowercase. Underscores delimit between
8179 object names and method names:
8180 SPI_init() - uppercase since it starts with an acronym.
8181 getDesktopCount () - lowercase start since no object param0.
8182 Accessible_getName() - uppercase object type name, studlyCaps method
8186 Added gtk-doc documentation for all currently implemented
8187 methods in the C bindings API.
8189 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8191 * Makefile.am : changed build order to build test last.
8194 Changed "createEventListener" to "CreateEventListener".
8195 * libspi/accessibleeventlistener.c :
8196 Bugfix for addition of callbacks.
8197 * test/Makefile.am :
8198 * test/simple-at.c :
8199 Added new test that uses the C bindings API.
8201 * libspi/listener.c :
8202 * libspi/registry.c :
8203 * libspi/accessibleeventlistener.c :
8204 * at-bridge/bridge.c :
8205 Renamed member "target" of Accessibility_Event to "source",
8206 which is more descriptive.
8209 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8213 * cspi/Makefile.am :
8214 Added makefile support for at-spi/cspi directory.
8217 * cspi/spi-listener.h : (NEW FILE)
8218 Added support for/use of spi-listener.h.
8220 C bindings now build successfully, with no warnings.
8221 * libspi/accessibleeventlistener.h : (NEW FILE)
8222 * libspi/accessibleeventlistener.c : (NEW FILE)
8223 * libspi/Makefile.am :
8224 Added new object type "AccessibleEventListener"
8225 which inherits from Listener, and allows attachment
8226 of in-process callbacks (so that a client with a listening
8227 object instance can add functionality to the local
8228 implementation, dynamically).
8230 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8232 * libspi/accessible.c:
8233 Add implementation for get_index_in_parent().
8235 Added #include of "spi-roletypes.h", and
8236 added enumerated type AccessibleCoordType.
8237 Added definition for KeystrokeListener (function type).
8240 * cspi/spi-statetypes.h :
8241 * cspi/spi-roletypes.h :
8243 Added these headers, used by spi.h.
8245 Added code (NOTE: not yet built by make).
8247 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8249 * libspi/Makefile.am: generate imodule
8250 at the same time as other idl compiler
8253 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8254 * libspi/registry.c :
8255 * libspi/application.c :
8256 * idl/Application.idl :
8257 Made registration with toolkit an application method,
8258 which is required since each app has its own toolkit static
8259 environment. Thus the bridge must register for
8260 notification of toolkit events from each application in turn.
8261 Toolkit notifications are now successfully registered for, and
8262 sent to the listening at client.
8264 Changed toolkit event string to use hyphens rather than underscores.
8265 * libspi/listener.c :
8266 listner now gives more info in debug mode - it reports the
8267 name of the event received, as well as the name of the source.
8270 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8272 * libspi/registry.c :
8273 added more implementation for toolkit events.
8274 Fixed bug such that toolkit event registrations
8275 (via atk) use the whole event name string, not
8277 Removed a useless call to an ORBit_ method.
8278 * at-bridge/bridge.c :
8279 Removed unused local sbuf[] variable.
8281 We now register for Gtk:GtkWidget:button_press_event
8282 events as well as "focus:" events.
8284 Add some more API from Registry.idl that was missing,
8285 for keystroke listening, keystroke and mouse event
8286 synthesis, and enumeration of accessible desktops.
8288 2001-08-16 Michael Meeks <michael@ximian.com>
8290 * configure.in: use AM_GLIB_GNU_GETTEXT.
8292 * Makefile.am (SUBDIRS): kill intl.
8294 2001-08-15 Michael Meeks <michael@ximian.com>
8296 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8298 * configure.in: upd.
8300 * configure.in: depend on a recent bonobo-activation that
8301 will find our server files ...
8303 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8305 * libspi/accessible.c : accessible_new() :
8306 Now we add the Component interface via bonobo_object_add_interface,
8307 if the contained AtkObject implements AtkComponent.
8308 * libspi/accessible.h : now include "component.h"
8309 * libspi/component.h :
8310 * libspi/component.c : added files - implementation of
8311 bonobo wrapper object for Accessibility/Component
8312 * libspi/listener.c :
8313 Added test code to check for Accessibility/Component:1.0
8314 interface and report whether it is implemented by the
8316 * libspi/registry.c :
8317 Now we check for not only the hash of the whole event
8318 string before relaying the event, we also check the
8319 "minor" event string (without the detail string).
8320 This allows event listeners to be registered against
8321 all events of a certain major+minor type, or just
8322 against a specific major+minor+detail type.
8323 * libspi/accessible.c :
8324 Added implementations for Accessible:get_parent(),
8325 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8326 * libspi/registry.c :
8327 * libspi/listener.c :
8328 Replaced calls to Accessibility_Accessible_ref() and
8329 Accessibility_Accessible_unref() with
8330 calls to bonobo_object_dup_ref() and
8331 bonobo_object_release_unref(), so that the CORBA object
8332 is dup-ed and released when relayed, as well as the bonobo object.
8334 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8336 * libspi/Makefile.am,
8337 registryd/Makefile.am,
8338 at-bridge/Makefile.am.
8339 test/Makefile.am, configure.in:
8340 reverse previous changes.
8342 * /idl/Image.idl: fix typo.
8344 * test/Makefile.am: put DEBUG_FLAGS
8347 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8349 * test/app.c: use argv[0] instead of
8352 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8354 * libspi/Makefile.am,
8355 registryd/Makefile.am,
8356 at-bridge/Makefile.am.
8357 test/Makefile.am, configure.in:
8358 cleanup, replace individual LIBS/CFLAGS with
8359 AT_COMMON_{LIBS|CFLAGS}.
8363 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8365 * configure.in, libspi/Makefile.am:
8366 Change IDL path checking for bonobo-activation
8369 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8371 * registryd/registry.c : separated event listeners to use
8372 3 separate lists (focus, window, toolkit). Began testing
8373 event names against hashes before relaying events.
8374 * test/at.c : now register for events of type "focus:"
8375 * test/app.c : now generate events of type "focus:"
8376 * at-bridge/bridge.c : register with ATK for focus events,
8377 and we now relay those focus events to any "focus:" listeners.
8378 This now works with the bridge as a GTK_MODULE when running test/at.
8379 * libspi/registry.c :
8380 * libspi/listener.c :
8381 now we ref event sources before propagating, and unref on receipt.
8382 * libspi/registry.c :
8383 some changes to internal structs, to support event typestring hashes.
8384 * text/app.c : changed the way the appname is generated.
8385 * cspi : added directory that will hold the C bindings library for
8386 non-CORBA/bonobo-savvy clients.
8387 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8388 * idl/Component.idl : added in parameter to indicate coord system for
8389 geometry-related calls.
8390 * idl/Hyperlink.idl : added readonly n_links attribute
8391 * idl/Image.idl : changed methods to attributes.
8393 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8395 * at-bridge/Makefile.am: link against
8396 ../libspi/libspi.la instead of -lspi.
8398 * at-spi/test/app.c: include
8399 bonobo-activation.h. Use a default appname
8400 if one is not provided.
8402 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8404 * idl/Registry.idl : temporarily changed register_Application
8405 to oneway, to work around issue with initial registration
8407 * idl/Application.idl : changed attribute "id" from readonly
8408 to read-write, since it needs to be assigned by Registry.
8409 * registryd/registryd.c : added call to set application id
8411 * registryd/registry.c : changed de-registration procedure to
8412 use CORBA_Object_hash() to find matching object ref in application
8413 lists and listener lists.
8414 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8415 began distinguishing between event types (work in progress).
8417 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8420 * libspi/application.c:
8421 Added implementations for get/set id, get_toolkitName,
8423 * registryd/registryd.c :
8427 Converted from use of OAF to bonobo-activation.
8428 * libspi/desktop.h :
8429 * libspi/desktop.c :
8431 Removed references to atksimpleobject, since base atkobject
8432 implementation now provides functionality we need.
8433 * libspi/atksimpleobject.c :
8434 * libspi/atksimpleobject.h :
8439 * at-bridge/Makefile.am
8440 * at-bridge/bridge.c
8443 Added directory "bridge" and contents, and added dependencies
8444 in Makefile.am/configure.in.
8445 Initial checkin of "at-bridge".
8446 This code is a GTK_MODULE which automatically registers
8447 GTK+ apps with the accessibility registry, using an object
8448 reference to the root ATK object.
8450 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8452 * po/Makefile.in.in: Remove. Again. If this
8453 doesn't get autogenerated - you need to update
8456 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8458 * po/Makefile.in.in: Add. Again.
8460 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8462 * libspi/accessible.c : added support for 'description' property.
8463 * libspi/accessible.c
8465 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8466 (since the two are now equivalent in libbonobo)
8474 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8475 Bonobo::Unknown as does Accessibility::Accessible.
8476 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8477 interface with Bonobo::Stream, since it was redundant with it.
8478 (The Stream returned by a StreamableContext object is expected to
8479 implement only a subset of Bonobo::Stream)
8481 2001-07-28 Anders Carlsson <andersca@gnome.org>
8483 * libspi/accessible.c (accessible_object_finalize): Change
8484 g_free to g_object_unref since the AtkObject is a GObject.
8486 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8488 * idl/Accessibility.idl: add new IDL files
8491 * idl/Action.idl: Definitions of actionable UI object
8492 * idl/Component.idl: Definitions of UI component geometry, etc.
8493 * idl/Hyperlink.idl: Defs of hyperlink behavior
8494 * idl/Image.idl: Def of accessible image
8495 * idl/Selection.idl: Definition of UI object with selectable children
8496 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8497 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8498 * idl/Text.idl: Interface defs for UI elements with complex textual content
8499 * idl/Value.idl: Definition of UI element that is a value controller or display
8501 2001-07-27 Michael Meeks <michael@ximian.com>
8503 * po/Makefile.in.in: remove autogenerated file from CVS.
8505 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8508 * idl/Registry.idl: include guard.
8510 * idl/Accessibility.idl: Add, and include all the other IDL
8513 * idl/*.idl: remove mass of pragmas etc.
8515 2001-07-26 Michael Meeks <michael@ximian.com>
8517 * registryd/Makefile.am (registryd_SOURCES): remove
8520 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8522 * libspi/.cvsignore, registryd/.cvsignore,
8523 test/.cvsignore: updated.
8525 * po/Makefile.in.in: gettext update.
8527 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8529 * initial CVS checkin
8531 2001-06-29 Michael Meeks <michael@ximian.com>
8533 * configure.in: add AM_CONFIG_HEADER to gen config.h