1 2008-02-19 Li Yuan <li.yuan@sun.com>
3 Patch from Scott Haeger <scott@bashautomation.com>
4 * libspi/collection.c: (impl_freeMatchRule):
5 Bug #517250. Clear spimatchrule->_mrp when free match rule.
7 2008-01-14 Li Yuan <li.yuan@sun.com>
14 2008-01-03 Li Yuan <li.yuan@sun.com>
16 Patch from Gilles Casse <gcasse@oralux.org>
17 * atk-bridge/bridge.c: (spi_atk_register_event_listeners):
18 Bug #474480. Fix memory leak.
20 2008-01-02 Li Yuan <li.yuan@sun.com>
22 Patch from Luke Yelavich <themuso@themuso.com>
23 * registryd/Accessibility_Registry.server.in.in:
24 Marks translatable strings in
25 registryd/Accessibility_Registry.server.in.in, so that intltool picks
28 2007-12-03 Li Yuan <li.yuan@sun.com>
30 * configure.in, README, NEWS:
33 2007-12-03 Li Yuan <li.yuan@sun.com>
35 * idl/Accessibility_Collection.idl:
36 * libspi/collection.c:
37 (impl_getMatchesFrom), (impl_getMatchesTo):
38 Fix build error in Solaris, for restrict is a keyword in SS cc.
40 2007-12-03 Li Yuan <li.yuan@sun.com>
42 * idl/Accessibility_Collection.idl:
43 * libspi/accessible.c: (spi_accessible_construct):
44 * libspi/collection.c: (spi_collection_interface_new),
45 (get_atkobject_from_servant), (get_collection_from_servant),
46 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
47 (match_states_all_p), (match_states_any_p), (match_states_none_p),
48 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
49 (match_roles_none_p), (match_roles_lookup),
50 (match_interfaces_all_p), (match_interfaces_any_p),
51 (match_interfaces_none_p), (match_interfaces_lookup),
52 (match_attributes_all_p), (match_attributes_any_p),
53 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
54 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
55 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
56 (spi_collection_class_init), (spi_collection_init):
57 * libspi/collection.h:
58 Bug #326516. Patch from Ariel. Enhance collection support.
60 2007-12-03 Li Yuan <li.yuan@sun.com>
62 * atk-bridge/Makefile.am:
64 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
66 2007-11-12 Li Yuan <li.yuan@sun.com>
68 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
69 (impl_accessibility_accessible_get_relation_set):
70 Fix for #446277. Decrease the ref count to 1.
72 2007-10-29 Li Yuan <li.yuan@sun.com>
74 * configure.in, README, NEWS:
77 2007-10-15 Li Yuan <li.yuan@sun.com>
79 * MAINTAINERS: add Willie Walker and Eitan Isaacson
82 2007-09-17 Li Yuan <li.yuan@sun.com>
84 * configure.in, README, NEWS:
87 2007-09-08 Li Yuan <li.yuan@sun.com>
89 * registryd/deviceeventcontroller.c:
90 (spi_key_event_matches_listener):
91 Bug #474796. Should not checkmask bit 14 when sond out
94 2007-08-20 Li Yuan <li.yuan@sun.com>
96 * libspi/base.c: (spi_base_construct):
97 Avoid unnecessary crash. Bug #467612.
99 2007-08-01 Li Yuan <li.yuan@sun.com>
101 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
102 Fix a potential dead-lock issue. Bug #462412.
104 2007-07-09 Li Yuan <li.yuan@sun.com>
106 * configure.in, README, NEWS:
107 Uprev/release 1.19.5.
109 2007-07-09 Li Yuan <li.yuan@sun.com>
111 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
112 Bug #446277. Control the ref_count to 1, so Orca can unref the
113 state_set and avoid the memory leak.
115 2007-06-26 Li Yuan <li.yuan@sun.com>
117 * atk-bridge/Makefile.am:
118 Bug #450897. Set logging domain.
119 * registryd/registry.c: (parse_event_type):
121 Handle the "document:" signal, set the type to
124 2007-06-04 Li Yuan <li.yuan@sun.com>
126 * configure.in, README, NEWS:
127 Uprev/release 1.19.3 for GNOME 2.19.3.
129 2007-05-30 Willie Walker <william.walker@sun.com>
131 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
132 439436 to add pyatspi to autotools stuff so it gets installed as
133 part of a make install.
135 2007-05-17 Li Yuan <li.yuan@sun.com>
138 Bug #439057. Add the original PATH to PATH.
140 2007-04-23 Li Yuan <li.yuan@sun.com>
142 * configure.in, NEWS:
143 Uprev/release 1.19.1 for GNOME 2.19.1.
145 2007-04-18 Li Yuan <li.yuan@sun.com>
147 * pyatspi/__init__.py:
148 * pyatspi/accessible.py:
149 * pyatspi/constants.py:
151 * pyatspi/registry.py:
153 Bug #430938. Add some files to create the uniform Python
156 2007-04-12 Li Yuan <li.yuan@sun.com>
158 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
159 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
160 Fix #427836. Fix leak and unify the code style.
162 2007-04-12 Yi Jin <yi.jin@sun.com>
164 * atk-bridge/bridge.c:
165 (spi_atk_bridge_focus_tracker):
166 Bug #428007. Fix a memory leak.
168 2007-04-02 Ariel Rios <ariel@gnu.org>
170 Implement the Matchrule interface required for Collection.
176 * cspi/spi_accessible.c: (Accessible_isCollection),
177 (Accessible_isMatchRule), (Accessible_getCollection),
178 (Accessible_getMatchRule):
179 * cspi/spi_collection.c: new file.
180 * cspi/spi_matchrule.c: new file.
181 * idl/Accessibility.idl:
182 * idl/Accessibility_Collection.idl: new file.
184 * libspi/Makefile.am:
185 * libspi/collection.c: new file.
186 * libspi/collection.h: new file.
188 * libspi/matchrule.c: new file.
189 * libspi/matchrule.h: new file.
191 2007-03-29 Ariel Rios <ariel@gnu.org>
193 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
195 2007-03-22 Li Yuan <li.yuan@sun.com>
197 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
198 main context. Fix for #329454.
200 2007-03-12 Li Yuan <li.yuan@sun.com>
202 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
204 2007-03-02 Li Yuan <li.yuan@sun.com>
206 * atk-bridge/bridge.c
207 (spi_atk_bridge_register_application),
208 (deregister_application), (spi_atk_bridge_focus_tracker),
209 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
210 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
211 to prevent calling threads_enter/leave during the init and shutdown.
213 2007-02-27 Li Yuan <li.yuan@sun.com>
216 (spi_re_entrant_list_delete_link):
217 Bug #412286. Reverse previous patch.
218 * configure.in, NEWS: Uprev/release 1.17.2.
220 2007-02-26 Li Yuan <li.yuan@sun.com>
222 * libspi/accessible.c:
223 (impl_accessibility_accessible_get_attributes),
224 (impl_accessibility_accessible_get_relation_set):
225 Bug #404584 and #401299. Return an empty object instead of return NULL.
226 * configure.in, NEWS: Uprev/release 1.17.1.
228 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
230 * Makefile.am: Dist MAINTAINERS.
232 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
234 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
235 (atk_bridge_init), (spi_atk_bridge_get_registry),
236 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
237 Fix some compiler warnings and plug a leak. Closes part of
240 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
242 * cspi/bonobo/cspi-bonobo-listener.h:
243 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
244 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
245 * cspi/spi_main.c: (SPI_eventIsReady):
246 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
247 * libspi/streamablecontent.c:
248 * libspi/util.c: (spi_re_entrant_list_delete_link):
249 * login-helper/login-helper.c:
250 * registryd/deviceeventcontroller.c:
251 (spi_controller_update_key_grabs), (isEvent):
252 * registryd/registry.c:
253 * test/key-listener-test.c: (simple_at_exit):
254 * test/login-helper-server-test.c: (test_set_wm_dock),
256 Fix a bunch of warnings from sparse:
257 - ANSIfication of function declarations
259 - Add some prototypes
260 - make some stuff static
262 2007-02-14 Li Yuan <li.yuan@sun.com>
264 * libspi/accessible.c:
265 (impl_accessibility_accessible_get_attributes):
266 Bug #404584. If there is no attributes, just return NULL.
268 2007-02-12 Li Yuan <li.yuan@sun.com>
270 * configure.in, NEWS: Uprev/release 1.17.0.
272 2007-02-12 Li Yuan <li.yuan@sun.com>
274 * atk-bridge/bridge.c:
275 (atk_bridge_init): bug #400709. we must emit events even if we are not
276 registered as a full-fledged app.
277 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
278 application like openoffice shutdown. They need to unload gtk before
279 the is spi_atk_bridge_exit_func called.
281 2007-01-22 Li Yuan <li.yuan@sun.com>
283 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
285 2007-01-22 Li Yuan <li.yuan@sun.com>
287 * cspi/bonobo/cspi-bonobo.c:
288 (cspi_get_registry_ior), (cspi_init):
289 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
291 2007-01-19 Li Yuan <li.yuan@sun.com>
293 * atk-bridge/bridge.c:
294 (atk_bridge_init), (spi_atk_bridge_register_application),
295 (deregister_application), (spi_atk_bridge_focus_tracker),
296 (spi_atk_emit_eventv):
297 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
300 2007-01-08 Li Yuan <li.yuan@sun.com>
302 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
304 2007-01-08 Li Yuan <li.yuan@sun.com>
306 * registryd/registry-main.c:
307 (main): set registry ior only when register server successfully.
308 * atk-bridge/bridge.c:
309 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
310 Bug #372988, #381670. Fix memory leak.
312 2007-01-02 Bill Haneman <billh@gnome.org>
315 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
316 appending default attributes to a text attribute set.
319 2006-12-28 Li Yuan <li.yuan@sun.com>
321 * atk-bridge/bridge.c:
322 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
323 the second time, because spi_atk_emit_eventv will free any. Bug
326 2006-12-15 Li Yuan <li.yuan@sun.com>
328 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
330 2006-12-14 Li Yuan <li.yuan@sun.com>
333 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
334 (spi_atk_bridge_property_event_listener),
335 (spi_atk_bridge_signal_listener):
336 Free some CORBA objects to fix memory leak and crash.
338 2006-12-13 Li Yuan <li.yuan@sun.com>
340 Patch from Ariel Rios to fix #163132 and #377079.
341 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
342 (spi_atk_bridge_get_registry_ior):
343 Use g_warning instead of g_error and g_critical to avoid crash.
345 2006-12-11 Bill Haneman <bill.haneman@sun.com>
348 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
349 if there are no non-default attributes defined at the current offset.
352 2006-12-04 Bill Haneman <bill.haneman@sun.com>
354 * idl/Accessibility_Role.idl: Fixed the documentation for
355 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
357 2006-12-04 Bill Haneman <bill.haneman@sun.com>
359 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
361 2006-11-07 Bill Haneman <bill.haneman@sun.com>
363 Patches from Padraig O'Briain for bugs #361386 and #369377.
365 * registryd/registry.c:
366 (struct NotifyContext): Change the e_out
367 member from an Accessibility_Event struct to a pointer to
369 (notify_listeners_cb): Modify to use the new struct definition above.
370 Allows use of ORBit_copy_value instead of CORBA_any__copy.
372 * registryd/deviceeventcontroller.c:
373 (spi_dec_button_update_and_emit): Free the event's any_data
375 (spi_dec_mouse_check):Free the event details any struct
377 (spi_device_event_controller_forward_mouse_event): Free any.
378 (spi_device_event_controller_forward_key_event): Ditto.
380 2006-11-07 Bill Haneman <bill.haneman@sun.com>
382 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
383 Don't require gtk+ and gail for building most of at-spi
386 * registryd/registry-main.c (main): We now get te value of display
387 using the env var DISPLAY rather than using the gdk_display_get_default
388 to avoid dependancy of gdk. Also, once the registry is started, we set
389 the ior of the registry as an X property.
390 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
392 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
393 the registration was successfull.
394 (spi_atk_bridge_do_registration): This function now returns success
395 or not on activating the registry.
396 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
397 has been set in the X root window and return it if available.
398 (spi_atk_bridge_get_registry): We now get the registry using the IOR
399 saved as a X property rather than using the OAFID.
401 2006-10-01 Bill Haneman <bill.haneman@sun.com>
403 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
405 2006-09-25 Bill Haneman <bill.haneman@sun.com>
407 * registryd/registry.c:
408 (desktop_remove_application): Don't pass a ref to the
409 dead application with the event, since it's probably
410 defunct and will cause SEGV if we try to unref,
411 extract app name, etc.
414 2006-09-20 Bill Haneman <bill.haneman@sun.com>
416 Patch from Neo Liu <nian.liu@sun.com>,
419 * atk-bridge/bridge.c:
420 (spi_atk_bridge_document_event_listener): New, for
423 2006-08-30 Bill Haneman <bill.haneman@sun.com>
426 Changed some parameter names so as not to
427 collide with class names - allows IDL to be compiled with
428 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
430 2006-08-22 Bill Haneman <bill.haneman@sun.com>
432 * atk-bridge/bridge.c:
433 (spi_atk_bridge_signal_listener):
434 Patch from Ginn Chen, assign detail1 in children-changed
435 so that the child object can be assigned to the Any when the
436 at-spi event is emitted. Bug #350552.
438 * libspi/application.c:
439 (spi_application_finalize): Remove g_print debug output.
442 2006-08-21 Bill Haneman <bill.haneman@sun.com>
444 * configure.in: Revved to AT-SPI 1.7.11.
446 * libspi/accessible.c:
447 (spi_accessible_new): Aggregate Hyperlink interface
448 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
450 * libspi/hyperlink.c:
451 (spi_hyperlink_new): Don't aggregate Action a second time if this
452 interface is created for an AtkHyperlinkImpl object (i.e. for a
453 child Accessible, as opposed to the Hyperlink instance from
455 (get_hyperlink_from_servant): Obtain the hyperlink from
456 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
458 Patch section from Ginn Chen...
460 * cspi/spi_accessible.c:
461 (_cspi_accessible_set_from_sequence):
462 Changed g_newa to g_new0 on Ginn Chen's suggestion.
464 * libspi/accessible.c:
465 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
466 (spi_accessible_new): Add the Document interface if present.
469 (impl_getAttributes): Fixed to use AtkAttribute properly.
472 (impl_getAttributes, impl_getDefaultAttributes):
473 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
475 2006-08-17 Bill Haneman <bill.haneman@sun.com>
477 * cspi/spi-private.h, cspi/spi_accessible.c:
478 (_cspi_attribute_set_from_sequence): Renamed from
479 cspi_attribute_set_from_sequence, to suppress export.
482 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
483 inline docs, which was keeping the doc from appearing.
484 (SPIExceptionHandler): Doc this.
486 * cspi/spi_document.c:
487 Added inline gtk-docs cut-n-pasted from the doxygen
488 docs in the corresponding IDL files.
489 (AccessibleDocument_getAttributes): Fix the retval here.
491 * cspi/spi_streamablecontent.c:
492 Fixed some 'Since' tags that were accidentally doxygen-style.
495 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
496 docs from the IDL file.
498 * docs/reference/cspi/at-spi-cspi-docs.sgml:
499 Added entities for Document and StreamableContent interfaces.
501 * docs/reference/cspi/at-spi-cspi-sections.txt:
502 Added some docs that were present inline but not getting
505 2006-07-31 Bill Haneman <bill.haneman@sun.com>
508 (impl_getRangeExtents): Use the atk_text_get_range_extents
509 API instead of looping over character bounds, now that
511 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
512 (_spi_text_bounds_contain): Remove, not needed anymore.
513 (_spi_text_rect_union): Remove, not needed anymore.
515 2006-07-31 Bill Haneman <bill.haneman@sun.com>
517 * atk-bridge/bridge.c:
518 (spi_atk_emit_eventv): Fix the CORBA_free call which was
519 causing 64-bit troubles and memory leaks.
520 Special thanks to Alexander Larsson who finally seems to
521 have tracked down the problem, not just here but in
525 (spi_init_any_object): Make sure we copy the CORBA value
526 when initializing an object for passing as a CORBA_Any.
529 2006-07-21 Bill Haneman <billh@gnome.org>
531 * idl/Accessibility.idl:
532 Reverted pragma changes, this broke the build in some envs
533 including the Debian team's build and some tinderbox builds.
535 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
538 Revved to 1.7.10, and edited the Xevie check (bug #319994).
540 * idl/Accessibility.idl:
541 Reworked inclusion of Bonobo_Unknown.idl, to
542 avoid double-linking libs in the Bonobo environment.
543 Thanks to Michael Meeks for the workaround, see bug #313122.
545 * registryd/deviceeventcontroller.c:
546 (spi_controller_notify_keylisteners):
547 Set the SPI_NUMLOCK_MASK bit if the modifier
548 corresponding to the conceptual numlock state is set.
551 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
553 * idl/Accessibility_Selection.idl:
554 (deselectChild): New method.
556 * libspi/selection.c:
557 (impl_deselectChild): Implement the new IDL method.
560 (AccessibleSelection_deselectChild): Added new method.
562 * cspi/spi_selection.c:
563 (AccessibleSelection_deselectChild): New method implemented.
565 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
567 * cspi/bonobo/cspi-bonobo.c:
568 (cspi_init): Replace g_error with g_warning, prevent
569 SEGV if the registry cannot be activated. Bug #346393.
571 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
573 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
575 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
576 2006-07-12 Ariel Rios <arios@us.ibm.com>
580 * idl/Accessibility_Table.idl:
581 (getRowColumnExtentsAtIndex): New method for getting
582 selection status and extents in one API call.
585 (impl_getRowColumnExtentsAtIndex): Implementation of
587 (spi_table_class_init): Add above to epv.
591 (AccessibleTable_getRowColumnExtentsAtIndex): New
592 method, retrieves selection status and row/col extents
593 for a table cell in a single API call.
595 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
596 2006-07-12 Ariel Rios <arios@us.ibm.com>
598 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
601 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
602 New bindings for new methods defined in idl and libspi.
605 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
606 Added prototype functions.
609 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
611 (spi_text_class_init): Added previous methods.
614 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
615 * libspi/spi-private.h: Corrections.
617 2006-06-29 Bill Haneman <bill.haneman@sun.com>
619 Added Document interface (see bug #326520),
620 with work from Ariel Rios <arios@us.ibm.com>.
622 * configure.in: Bump to 1.7.8.
624 * libspi/Makefile.am: Added document.[ch] to sources
627 (SpiDocument, SpiDocumentClass):
628 New interface implementation.
629 (spi_document_get_type, spi_document_construct)
630 (spi_document_interface_new): New methods added.
631 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
632 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
633 Added macros for SpiDocument
637 (spi_document_interface_new): Get a
638 new document interface. New.
639 (get_document_from_servant): Get an AtkDocument from servant New.
640 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
641 Implementation of methods defined on idl.
642 (spi_document_class_init, spi_document_init)
643 Init methods for SpiDocument. new
645 * idl/Accessibility.idl: Added Accessibility_Document.idl.
647 * cspi/Makefile.am: Added spi_document.c to sources.
649 * cspi/spi_document.c:
650 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
651 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
652 (AccessibleDocument_getAttributes): Bindings for methods defined
655 * cspi/spi_accessible.c:
656 (Accessible_isDocument, Accessible_getDocument) New.
658 (Accessible_isDocument, Accessible_getDocument)
659 (AccessibleDocument_ref, AccessibleDocument_unref)
660 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
661 (AccessibleDocument_getAttributes): Bindings added.
663 * idl/Makefile.am: Added Accessibility_Document.idl to
666 2006-06-29 Bill Haneman <bill.haneman@sun.com>
668 * idl/Accessibility_Document.idl: New interface
669 for complex documents. First stage of fix for RFE
672 2006-06-27 Bill Haneman <bill.haneman@sun.com>
674 * libspi/streamablecontent.c:
675 (impl_content_stream_close):
676 Unref the GIOChannel on close.
678 2006-06-23 Bill Haneman <bill.haneman@sun.com>
680 * idl/Accessibility_Role.idl:
681 * libspi/accessiblerole.c:
682 * cspi/spi_accessible.c: Added ROLE_LINK,
683 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
684 Bug #345758 and bug #140635.
687 2006-06-22 Bill Haneman <bill.haneman@sun.com>
691 * idl/Accessibility_StreamableContent.idl:
692 Fix derivation of StreamableContent and ContentStream.
694 * cspi/spi_streamablecontent.c:
695 (accessible_content_stream_client_read):
696 Fix the datatype of the content stream used.
697 Interpret short reads as EOF, and stop trying to
698 read when we've fulfilled the request.
699 (AccessibleStreamableContent_getContentTypes):
700 Use g_strdup, not CORBA_string_dup, for the strings.
701 (AccessibleStreamableContent_open):
702 Correctly use the new getStream method for opening,
703 not the deprecated getContent method.
704 Use the object reference as the stream hash key.
705 Make note of the 'one stream per client per streamable'
706 limitation in the docs.
709 Add streamablecontent.h to the list of #includes.
711 * libspi/streamablecontent.c:
712 (impl_content_stream_read): Initialize the GError.
713 Allocate the incoming buffer if reading a fixed length of
714 data. Use g_memmove instead of memcpy.
715 (impl_accessibility_streamable_get_content_types):
716 Init typelist->_maximum. Only allocate the buffer if
717 there is a non-zero number of content types available.
718 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
720 * libspi/streamablecontent.h:
721 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
724 (SPI_IS_VALUE): Fix a typo in this macro too.
726 2006-06-16 Bill Haneman <bill.haneman@sun.com>
730 * idl/Accessibility_StreambleContent.idl:
731 Deprecate the Bonobo_Stream-based methods in favor of
732 a self-contained "ContentStream" interface. This should
733 allow us to remove BonoboStream dependencies entirely, since
734 there were no non-NIL implementations of the old methods anyway.
735 (ContentStream): New interface.
736 (ContentStream::SeekType): Enum.
737 (ContentStream::seek): New.
738 (ContentStream::read): New.
739 (ContentStream::close): New.
740 (getContent): Deprecate.
741 (getURI): New method, returns a URI pointing to the content, if available.
743 * libspi/streamablecontent.c:
744 (SpiContentStream): Internal object type definition used to
745 implement Accessibility::StreamableContent::ContentStream via
746 AtkStreamableContent's GIOChannel back-end.
747 (spi_content_stream_new, spi_content_stream_dispose): See above;
749 (impl_content_stream_seek, impl_content_stream_read):
750 (impl_content_stream_close): New, implementations of
752 (impl_accessibility_streamable_get_stream): Implement the
753 public method Accessibility::StreamableContent::getStream.
754 (impl_accessibility_streamable_get_uri): Implement the
755 public method Accessibility::StreamableContent::getURI.
757 * cspi/spi_streamablecontent.c:
758 (accessible_bonobo_stream_client_seek): Replaced by
759 (accessible_content_stream_client_seek).
760 (accessible_bonobo_stream_client_read): Replaced by
761 (accessible_content_stream_client_read).
762 (AccessibleStreamableContent_open):
763 (AccessibleStreamableContent_seek):
764 (AccessibleStreamableContent_read):
765 (AccessibleStreamableContent_close): Use the new 'getStream'
766 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
768 2006-06-15 Bill Haneman <bill.haneman@sun.com>
770 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
771 remove from other .idl files (except LoginHelper).
774 2006-06-14 Bill Haneman <bill.haneman@sun.com>
776 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
779 * configure.in, */Makefile.am: mingw patch, modified from
780 original patch by yselkowitz. Bug #314216.
782 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
783 for completeness. Bug #163111.
785 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
786 * libspi/util.c, registryd/registry-main.c:
787 Fix guint/char* casts.
788 Patch from chpe, bug #333883.
790 2006-06-12 Bill Haneman <bill.haneman@sun.com>
792 * configure.in: Require atk-1.12.0, to pick up
793 new API. (bug #344412).
795 * libspi-1.0-uninstalled.pc.in:
797 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
798 Fix for #341488 from Samual Thibault.
800 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
801 Thanks to Brian Pepple.
803 2006-06-09 Bill Haneman <bill.haneman@sun.com>
806 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
807 New, missing implementations of attribute reading methods
810 * cspi/spi.h, spi_value.c:
811 (AccessibleValue_getMinimumIncrement): New methods wrapping
812 the (formerly unimplemented) property from Value.idl.
815 (impl_get_minimumIncrement): Implementation for retrieving
816 the minimum valuator increment, (formerly unimplemented).
819 2006-06-09 Bill Haneman <bill.haneman@sun.com>
821 * idl/Accessibility_State.idl:
822 Added STATE_VISITED (bug #338369).
824 * cspi/spi_accessible.c:
825 (spi_state_to_corba) Fixed marshalling of new statetypes.
828 (spi_init_state_tables, impl_getStates):
829 Fixed conversion of new statetypes to/from ATK.
831 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
833 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
834 definitions/conversions for new roles from ATK.
836 * idl/Accessibility_Relation.idl:
838 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
839 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
840 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
842 * libspi/accessible.c: Fixed marshalling of new role types from
845 2006-04-17 Matthias Clasen <mclasen@redhat.com>
847 * revert my previous change
849 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
851 * configure.in: Remove obssolete no_NO locale
852 * po/no.po: And the translation.
854 2006-04-05 Matthias Clasen <mclasen@redhat.com>
856 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
857 memory-management error that caused crashes on x86_64.
860 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
862 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
864 2006-03-27 Bill Haneman <bill.haneman@sun.com>
866 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
867 to strip "cspi_*" from the symbol table.
869 * cspi/spi_streamablecontent.c:
870 (get_streams): Make this method static.
873 (_cspi_exception_throw): rename to cspi_exception_throw,
874 so we can strip it with the rest...
877 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
879 2006-03-27 Bill Haneman <bill.haneman@sun.com>
881 Add doxygen-generated IDL docs to tarball, and enable
882 doxygen during build/install when available. Bug #301345.
884 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
886 * docs/reference/Makefile.am: Add idl to SUBDIRS.
888 * docs/reference/idl/Makefile.am: Optionally use
889 doxygen to create docs.
891 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
893 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
895 2006-03-20 Bill Haneman <bill.haneman@sun.com>
898 (impl_get_selected_rows): Don't free the selection if it's
899 empty or has not been assigned; init it to NULL so you can tell.
900 Also, allow for zero selected rows.
901 (impl_getSelectedColumns): Ditto. Bug #319088.
903 2006-03-11 Vincent Untz <vuntz@gnome.org>
905 Leak fix for bug #334217.
907 * libspi/application.c: spi_application_toolkit_event_listener():
908 don't duplicate the string we pass as an argument to
909 spi_init_any_nil() since spi_init_any_nil() already does it
910 * registryd/deviceeventcontroller.c:
911 (spi_dec_button_update_and_emit): ditto
912 (spi_dec_mouse_check): ditto
913 (spi_dec_emit_modifier_event): ditto
914 (spi_device_event_controller_forward_mouse): ditto
915 * registryd/registry.c:
916 (desktop_add_application): ditto
917 (desktop_remove_application): ditto
919 2006-02-20 Bill Haneman <billh@gnome.org>
921 * configure.in: Rev to 1.7.6.
923 Leak fixes for bug #331924.
925 * atk-bridge/bridge.c:
926 (spi_atk_bridge_init_base): Don't dup the string, it's already
927 been dup-ed. Fixes a leak.
928 (spi_atk_emit_eventv): Move the CORBA_free call here,
929 instead of spi_atk_state_event_listener; fixes another leak.
930 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
931 notifying the registry; fixes another leak.
933 * registryd/registry.c:
934 (registry_flush_event_queue): Free the CORBA_any when
935 flushing the event, not just the string. Fixes another leak.
936 (registry_queue_event): Free the CORBA_any when dropping
937 events on the floor; fixes another leak.
940 (spi_init_any_object, spi_init_any_nil):
941 Always set _release to TRUE. Fixes another leak.
943 2006-02-20 Bill Haneman <billh@gnome.org>
945 * configure.in: Rev to 1.7.5.
946 Reinstate localization of this module. Thanks for Rodney
947 Dawes for fixing my patch.
949 * registryd/Makefile.am: Remove Accessibility_Registry.server
950 from dist, since it needs to be re-created at configure time.
953 2006-01-31 Bill Haneman <billh@gnome.org>
955 * configure.in: Rev to 1.7.4 (to include build fix below).
957 * idl/Makefile.am: Include Selector.idl in dist.
961 (cspi_internal_event_get_object): Handle case where
962 "object" isn't present, i.e. CORBA_TC_Object doesn't match
963 the EventDetails data.
964 (cspi_internal_event_get_text): Handle NULL string.
965 (cspi_internal_event_get_rect): Handle missing/empty rect
966 data, Accessibility_TC_RectBounds doesn't match any_data.
968 2006-01-30 Bill Haneman <billh@gnome.org>
972 * atk-bridge/bridge.c:
973 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
974 interface and use that when instantiating a new source
975 accessible. Better fix for bug #321814.
977 2006-01-27 Bill Haneman <billh@gnome.org>
979 * idl/Accessibility_Selector.idl: Added to the cvs repository.
981 * configure.in: Revved to 1.7.3.
983 2006-01-17 Bill Haneman <billh@gnome.org>
985 * configure.in: Revved to 1.7.2, re-dist to include docs.
987 2006-01-09 Bill Haneman <billh@gnome.org>
989 * configure.in: Removed po/Makefile.in inclusion, we do not need
992 * idl/Accessibility.idl: Improved documentation here, and for all
993 IDL in the 'GNOME::Accessibility' namespace.
995 * idl/Accessibility_Accessible.idl:
996 (LOCALE_TYPE): Added enum.
997 (AttributeSet): New, for returning multiple name/value attribute pairs.
998 (RoleSet): New, sequence of Roles, to be used in upcoming
1000 (getAttributes): New API, allows retrieval of name/value pair
1001 annotations for all kinds of Accessible objects. C.f.
1002 Text:getAttributes, which is only for typographic/textual/semantic tags in
1004 (getApplication): New, retrieves the host/containing Application
1005 instance for an object (without having to walk up the whole tree).
1007 * idl/Accessibility_Component.idl:
1008 (getAlpha): New method, returns the alpha blending (aka 'opacity')
1009 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
1012 * idl/Accessibility_Event.idl:
1013 (EventDetails): New struct definition, for encapsulating
1014 commonly-queried information about emitted events. The use of
1015 this structure in emitted events (in the 'any' member of
1016 Accessibility_Event) should greatly reduce the number of
1017 client-server roundtrips necessary.
1019 * idl/Accessibility_Image.idl:
1020 (imageLocale): New, a readonly attribute indicating the POSIX
1021 LC_MESSAGES locale of the image and associated Alt/descriptive
1024 * idl/Accessibility_Relation.idl:
1025 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1028 * idl/Accessibility_Role.idl:
1029 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1030 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1031 complex document and form support.
1033 * idl/Accessibility_State.idl:
1034 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1035 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1036 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1037 for support of complex documents and forms.
1039 * idl/Accessibility_StreamableContent.idl:
1040 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1041 allow old bonobo-stream interfaces to be deprecated in the next
1044 * idl/Accessibility_Text.idl:
1045 (getAttributeValue): New method, allows query-by-name of single
1048 * libspi/accessible.c:
1049 Added support for new roles. Implemented new methods
1050 (impl_accessibility_accessible_get_application): New
1051 (impl_accessibility_accessible_get_attributes): New
1053 * libspi/component.c:
1054 (impl_accessibility_component_get_alpha): New.
1057 (impl_accessibility_image_get_locale): New.
1059 * libspi/relation.c: Added support for new relation type.
1061 * libspi/stateset.c: Added support for new state types.
1064 (impl_getAttributeValue): New.
1067 New prototypes for private methods
1069 spi_init_any_object, spi_init_any_string,
1072 * libspi/spi_event.c:
1073 Use EventDetails in the event emission methods.
1075 * cspi/spi-private.h:
1076 (cspi_role_from_spi_role): Expose this adapter method, since
1077 we need it in the bridge (see below).
1080 (AccessibleEvent_getSourceName):
1081 (AccessibleEvent_getSourceRole):
1082 (AccessibleEvent_getSourceApplication):
1083 (AccessibleEvent_getSourceDetails):
1084 New methods for interrogating/demarshalling
1085 event details (i.e. source's accessible name, role,
1088 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1089 Make use of the new EventDetails struct in events, if present.
1090 (AccessibleEvent_getSourceName)
1091 (AccessibleEvent_getSourceRole)
1092 (AccessibleEvent_getSourceApplication)
1093 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1095 (Accessible_getAttributes): New, wraps
1096 Accessibility_Accessible_getAttributes.
1097 (Accessible_getHostApplication): New, wraps
1098 Accessibility_Accessible_getApplication.
1101 (AccessibleImage_getImageLocale): New wrapper for
1102 Accessibility_Image_get_imageLocale.
1104 * cspi/spi_component.c:
1105 (AccessibleComponent_getAlpha): New wrapper for
1106 Accessibility_Component_getAlpha.
1108 * atk-bridge/bridge.c:
1109 Use new prototyped for init_any methods.
1110 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1111 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1112 (spi_atk_bridge_init_base): Wrappers
1113 for spi_init_any_* methods, due to refactor; include extended
1114 information in the Accessibility_EventDetails struct, for instance
1115 accessible-name, Role, and containing Application.
1117 * registryd/registry.c:
1118 Use new event emission (with EventDetails).
1120 * registryd/deviceeventcontroller.c:
1121 Use new event emission (with EventDetails).
1123 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1125 * configure.in: Generate po/Makefile.in
1126 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1127 * cspi/spi_streamablecontent.c:
1128 (accessible_bonobo_stream_client_seek),
1129 (AccessibleStreamableContent_seek): Remove unused vars.
1130 * libspi/application.c: Missing header.
1131 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1132 * login-helper/login-helper.c: (login_helper_finalize),
1133 (login_helper_init): Remove unused stuff
1134 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1135 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1136 and surround some with #ifdef GRAB_BUTTON.
1137 * test/event-listener-test.c: (main), (report_event),
1138 (report_caret_event), (report_detail_event),
1139 (report_detail1_event), (report_bounds_event), (report_text_event),
1140 (report_text_selection_event),
1141 (report_active_descendant_changed_event),
1142 (report_children_changed_event), (report_name_changed_event),
1143 (report_description_changed_event), (report_parent_changed_event),
1144 (report_window_event), (report_table_summary_event),
1145 (report_table_header_event), (report_table_caption_event),
1146 (report_table_row_description_event),
1147 (report_table_column_description_event), (timing_test_event):
1148 Remove a bunch of unused variables and fix a slew of format specifiers
1149 * test/key-listener-test.c: (report_all_key_event): Format specifier
1150 * test/keypad-test.c: (print_key_event): Same
1151 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1153 * test/screen-review-test.c: (main), (print_chunk_debug),
1154 (review_buffer_get_text_chunk), (debug_chunk_list),
1155 (string_guess_clip), (text_chunk_get_clipped_string),
1156 (text_chunk_list_to_string), (get_screen_review_line_at):
1157 Remove unused variables and fix format specifiers.
1158 * test/simple-at.c: (report_text_event): Format specifier fix.
1159 * test/stress-test.c: (main): Remove unused var.
1161 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1163 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1164 (yes I know that's useless)
1166 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1168 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1170 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1172 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1173 urgh-fix embarassing typo.
1175 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1177 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1178 do a faster, less problematic _unref call on this local
1179 object, rather than a slower (potentially cross-thread
1180 complicated) CORBA call.
1182 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1184 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1185 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1186 * registryd/deviceeventcontroller.c:
1187 (spi_controller_notify_mouselisteners),
1188 (impl_generate_keyboard_event):
1189 * test/screen-review-test.c: (chunk_bounds_within):
1190 * test/test-simple.c: (test_desktop): Remove some unused code
1191 and fix compiler warnings. Closes bug #320049.
1193 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1195 * registryd/deviceeventcontroller.c:
1196 (spi_controller_notify_keylisteners): Check
1197 to make sure the event listener has requested 'preemptive'
1198 status before pre-empting an event.
1200 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1202 * configure.in, README, NEWS: Release 1.6.5.
1204 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1206 * test/window-listener-test.c: Fix a printf
1207 format error. (#169453)
1209 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1211 * tests/test-simple.c:
1212 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1213 relying on the old string from the key event hanging around after
1214 the event handler returns. Fixes broken 'make check'.
1216 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1218 * Added Marathi (mr_IN) translations.
1220 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1222 * cspi/bonobo/cspi-bonobo-listener.c:
1223 (cspi_event_list_remove_by_cb): Fix the build.
1225 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1227 * cspi/bonobo/cspi-bonobo-listener.c
1228 (cspi_event_list_remove_by_cb): actually filter by callback.
1230 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1232 * registryd/registry.c (remove_listener_cb):
1233 Make deregistration filter rules match the event emission rules.
1235 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1237 * registryd/registry.c (remove_listener_cb),
1238 (impl_accessibility_registry_deregister_global_event_listener),
1239 (impl_accessibility_registry_deregister_global_event_listener_all):
1240 pass a closure to the remove callback to filter listeners more
1241 accurately on remove.
1243 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1245 * configure.in: Revved to 1.6.4.
1246 Remember to put quotes around XEVIE_LIBS assignment.
1247 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1250 * tests/event-listener-test.c: Tweaked the tests - more detail
1251 from caret events, and some interrogation of AccessibleText APIs.
1252 Commented-out the bounds-changed events by default, since they can
1255 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1257 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1258 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1259 Same here. Closes bug #167806
1261 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1263 * atk-bridge/bridge.c:
1264 (spi_atk_bridge_signal_listener):
1265 Free the any._value if any._release is TRUE,
1266 since the ORB won't do it for us in this case
1267 [because this method is not a skel].
1268 Fix for bug #168679.
1270 2005-03-30 Steve Murphy <murf@e-tools.com>
1272 * configure.in: Added "rw" to ALL_LINGUAS.
1274 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1276 * configure.in: Improved check for HAVE_XEVIE, to detect
1277 presence on XOrg, where -lXevie is a separate library.
1279 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1281 * configure.in, NEWS, README: Revved to 1.6.3.
1283 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1285 * configure.in: Added "xh" to ALL_LINGUAS.
1287 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1289 * atk-bridge/bridge.c:
1290 (atk_bridge_init): Added missing NULL in g_strconcat(),
1291 also check for symlink before logging to
1292 insecure directory. Thanks to meissner@suse.de.
1294 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1296 * tests/login-helper-server-test.c: Add return call to main
1297 function. Patch from Chris Lahey. Fixes bug #165129.
1299 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1301 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1303 2004-12-09 Bill Haneman <billh@gnome.org>
1305 * registryd/registry-main.c:
1306 Added #define <string.h> for strrchr. (bug 160862).
1307 Thanks to Vincent Berger for catching.
1309 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1311 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1312 restart registry process if the registry process is found to have died
1313 and the current process is exiting.
1314 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1315 application if the registry process has died.
1316 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1317 does not return a registry object.
1318 (spi_atk_tidy_windows): Give up if the registry process has died.
1320 This fixes problems with hangs and crashes when logging out.
1322 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1324 * registryd/desktop.c: Add checking that we are not exiting before
1325 calling spi_desktop_remove_application in
1326 abnormal_application_termination. Fix for bug #152147.
1328 2004-12-02 Bill Haneman <billh@gnome.org>
1330 * configure.in, NEWS, README: Revved to 1.6.1.
1332 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1333 * atk-bridge/bridge.c:
1334 (atk_bridge_init): Save the pid when we start, to detect forks.
1335 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1336 if we're in a forked pid.
1338 2004-10-09 Bill Haneman <billh@gnome.org>
1340 * idl/Accessibility_LoginHelper.idl:
1341 Improved inline documentation.
1343 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1345 * configure.in: Added gl (Galician) to ALL_LINGUAS
1347 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1349 * libspi/accessible.c:
1350 (impl_accessibility_accessible_get_role_name),
1351 (impl_accessibility_accessible_get_local_role_name):
1352 NULL vs. 0 cleanups.
1353 * libspi/component.c:
1354 (impl_accessibility_component_get_accessible_at_point):
1356 * libspi/eventlistener.c: (spi_event_listener_new):
1358 * libspi/stateset.c: (impl_compare): More of the same
1359 * libspi/table.c: (impl_getRowDescription): Again.
1360 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1361 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1362 (impl_generate_keyboard_event): Same.
1363 * registryd/registry-main.c: (main): Same
1364 * test/event-listener-test.c: (test_exit): Same
1365 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1366 * test/keysynth-test.c: (test_key_synthesis): Same
1367 * test/login-helper-server-test.c: (main): Fix warning.
1368 * test/screen-review-test.c: (test_exit): Fix include.
1369 * test/simple-at.c: (simple_at_exit), (_festival_init):
1372 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1374 * configure.in, NEWS, README: Revved to 1.6.0.
1376 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1378 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1379 was missing the HTML docs.
1381 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1383 * configure.in: only cleanups:
1384 - better looking PKG_CHECK_MODULES() output,
1386 - declare in one common place required versions of other tools using
1389 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1391 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1392 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1393 required ATK version accordingly.
1395 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1397 * cspi/bonobo/cspi-bonobo.c:
1398 (cspi_display_name): Fix C99ism.
1399 * atk-bridge/bridge.c:
1400 (spi_display_name): Fix C99ism.
1401 Patch from Jens Granseuer, jensgr@gmx.net.
1403 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1405 * configure.in: Added "or" to ALL_LINGUAS.
1407 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1409 * configure.in, NEWS, README: Revved to 1.5.4.
1411 * registryd/registry-main.c:
1412 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1415 * cspi/bonobo/cspi-bonobo.c:
1416 (cspi_display_name): New convenience method, gets DISPLAY with
1417 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1418 (cspi_init): Set the activation env value above before getting
1421 * atk-bridge/bridge.c:
1422 (spi_display_name): Create the AT_SPI_DISPLAY activation
1423 environment for an app, based on the DISPLAY environment with the
1424 screen number stripped off.
1425 (atk_bridge_init): Allow redirection of error messages to a log.
1426 (spi_atk_bridge_get_registry): Call
1427 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1429 Fixes for bugs #149962, #136986, #144086.
1431 2004-08-16 Christian Rose <menthos@menthos.com>
1433 * configure.in: Added "bs" to ALL_LINGUAS.
1435 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1437 * configure.in: Added nb to ALL_LINGUAS.
1439 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1442 (SPI_init): Return error code '2' if the activated
1443 registry cannot be pinged. Fixes bug #147648.
1445 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1447 * registryd/deviceeventcontroller.c:
1448 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1449 rely on timer-poll instead, to avoid conflict with
1452 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1454 * configure.in: Revved to 1.5.3.
1456 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1458 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1460 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1462 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1464 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1466 * atk-bridge/bridge.c:
1467 (spi_atk_bridge_do_registration):
1468 Register with ATK for AtkComponent:bounds-changed events.
1469 (api_atk_bridge_signal_listener):
1470 Marshal the AtkRectangle info into the event notification
1471 for object:bounds-changed events.
1474 (spi_init_any_rect): New method, inits a corba struct of
1475 type Accessibility_BoundingBox from an AtkRectangle.
1477 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1480 (SPIRect): New struct definition.
1481 (SPI_freeRect): New declaration.
1482 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1485 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1486 implemented. Gets the bounding box data from the CORBA_any
1487 associated with a bounds-changed event notification.
1488 (cspi_internal_event_get_rect): New, used internally by above method.
1491 (SPI_freeRect): Implemented this new method, for freeing
1494 * test/event-listener-test.c:
1495 (main, report_bounds_event):
1496 Added a test for object:bounds-changed events.
1498 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1500 * test/login-helper-server-test.c:
1501 (main): Fix C99-ism. Thanks to Jens Granseuer.
1503 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1505 * libloginhelper-1.0.pc.in:
1506 * idl/Accessibility_LoginHelper.idl:
1507 * login-helper/Makefile.am:
1508 * login-helper/login-helper.[ch]:
1509 * test/login-helper-client-test.c:
1510 * test/login-helper-server-test.c: Added files missing from CVS.
1511 Files obtained from at-spi-1.5.2 tarball.
1513 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1515 * configure.in: Create login-helper/Makefile.
1516 Incremented micro version.
1518 * Makefile.am: Add login-helper subdir and pkgconfig data.
1520 * login-helper: New subdir.
1522 * libloginhelper-1.0.pc.in: New.
1524 * idl/Accessibility_LoginHelper.idl: New file, defines
1525 interface whereby authentication clients can identify agents which
1526 need access to services during the login process, e.g. screen lock
1529 * login-helper/Makefile.am : New.
1531 * login-helper/login-helper.[ch] : New, implementation of
1532 a LoginHelper base class. Services needing LoginHelper can subclass.
1534 * test/Makefile.am : Added test for login-helper, client and
1537 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1538 Use proper prefix in #include files.
1540 * test/login-helper-client-test.c: New.
1542 * test/login-helper-server-test.c: New.
1544 2004-05-27 Alexander Shopov <ash@contact.bg>
1546 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1548 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1550 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1551 is positive. This should make it easier to detect inapprorpiate unref
1554 2004-05-11 James Henstridge <james@daa.com.au>
1556 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1557 no-op and deprecated.
1559 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1561 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1563 2004-04-28 Bill Haneman <billh@gnome.org>
1565 * Makefile.am: Added --enable-gtk-doc to
1566 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1568 2004-04-19 Bill Haneman <billh@gnome.org>
1570 * configure.in: Revved to 1.5.1.
1572 * registryd/deviceeventcontroller.c:
1574 (DEControllerPrivateData): Added fields for
1575 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1576 (spi_dec_replace_map_keysym): New internal utility for
1577 replacing a keysym in the keymap - used to allow
1578 synthesis of individual characters which aren't in the
1580 (spi_dec_reset_reserved): New; resets the changed keysym value
1582 (keycode_for_keysym): We now try to deal with failed
1583 XKeysymToKeycode requests by changing a keymap value
1584 and returning a reserved keycode. We now take
1585 a DEController pointer as first arg.
1586 (spi_controller_register_with_devices): Call XkbGetMap with
1587 the XkbKeySymsMask. Find the highest keycode in the current
1588 keymap which doesn't have any grabs, and mark that one for
1589 temporary re-mapping when out-of-range KeySyms are synthesized.
1590 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1593 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1595 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1597 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1599 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1601 2004-03-24 Bill Haneman <billh@gnome.org>
1604 (AccessibleTable_addRowSelection),
1605 (AccessibleTable_addColumnSelection),
1606 (AccessibleTable_removeRowSelection),
1607 (AccessibleTable_removeColumnSelection):
1608 Add declarations for spi wrappers which were
1609 inadvertantly omitted. Fixes bug #133413.
1612 Revved to 1.5.0 (unstable series for GNOME 2.7).
1614 2004-03-24 Bill Haneman <billh@gnome.org>
1616 * atk-bridge/bridge.c:
1617 Bracketed some debug output in
1618 conditionals, to avoid printing it in normal use.
1621 * libspi/hyperlink.c:
1622 Don't cast 'object' to ATK_OBJECT when constructing
1623 an AtkAction interface for a hyperlink.
1624 See discussion in bug #120659.
1626 * test/key-listener-test.c:
1627 (report_all_key_event): Send output to stderr,
1628 not stdout, for consistency with the rest of the test callbacks.
1631 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1632 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1633 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1634 try incrementing the revision AFTER doing a dist, at least
1637 2004-03-22 Bill Haneman <billh@gnome.org>
1639 * configure.in: Revved to 1.4.0, libtool 9.14.9
1641 2004-03-17 Laszlo Peter <laca@sun.com>
1643 * libspi-1.0-uninstalled.pc.in: add idldir
1645 * cspi-1.0-uninstalled.pc.in: add idldir
1647 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1649 * configure.in: Added "en_GB" to ALL_LINGUAS
1651 2004-03-15 Bill Haneman <billh@gnome.org>
1653 * configure.in: Revved to 1.3.16,
1656 2004-03-15 Laszlo Peter <laca@sun.com>
1658 * libspi-1.0-uninstalled.pc.in: new file
1660 * cspi-1.0-uninstalled.pc.in: new file
1662 * configure.in: add the new pc files to AC_OUTPUT
1664 * Makefile.am: add the new pc files to EXTRA_DIST
1666 2004-03-12 Bill Haneman <billh@gnome.org>
1668 * atk-bridge/bridge.c:
1669 (spi_atk_bridge_key_listener):
1670 Make sure to return consumed=FALSE if snoop
1671 event is not dispatched to listener.
1674 2004-03-01 Bill Haneman <billh@gnome.org>
1676 * configure.in: Revved to 1.3.15,
1679 2004-03-07 Danilo Segan <dsegan@gmx.net>
1681 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1683 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1685 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1687 2004-03-01 Bill Haneman <billh@gnome.org>
1689 * configure.in: Revved to 1.3.14.
1692 (SPI_exit): Removed "bye-bye" exit message.
1693 Moved "leak" report to happen before the
1694 iteration over the leaked refs list.
1695 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1697 2004-02-24 Bill Haneman <billh@gnome.org>
1699 * configure.in: Revved to 1.3.13.
1701 * docs/reference/cspi/Makefile.am:
1702 Correct typo that was breaking the docs build.
1704 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1706 * autogen.sh: Require version 1.7 of automake.
1708 * configure.in: call GTK_DOC_CHECK([1.0])
1710 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1712 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1714 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1716 * test/Makefile.am: Remove use of CFLAGS.
1718 This fixes bug #132987.
1720 2004-02-11 Bill Haneman <billh@gnome.org>
1722 * reverted most of Tomasz' patch below, since it was breaking
1723 builds (see bug #134058).
1725 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1727 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1728 correct pass "make dist" (empty .. because seems no sach types in
1729 header files with gtk-doc markups).
1730 * docs/reference/cspi/Makefile.am, configure.in:
1731 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1732 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1733 * Makefile.am: added:
1734 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1735 for force correct pass generate documentation on "make distcheck".
1736 * libspi/Makefile.am: fixes for automake >= 1.6.
1737 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1738 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1741 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1743 * docs/reference/cspi/Makefile.am (install-data-local): Install
1744 index.sgml since the doc autobuilder on widget.gnome.org looks for
1747 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1749 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1752 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1754 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1756 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1758 * test/simple-at.c: Fixed null string problems that cause core
1759 dumping problems on Solaris.
1761 2004-01-12 Bill Haneman <billh@gnome.org>
1763 * configure.in: Incremented version to 1.3.11.
1765 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1767 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1768 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1771 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1773 * configure.in: Added "fa" to ALL_LINGUAS.
1775 2003-12-20 Arafat Medini <lumina@silverpen.de>
1777 * configure.in: Added "ar" to ALL_LINGUAS
1779 2003-12-16 Bill Haneman <billh@gnome.org>
1781 * registryd/registry-main.c:
1783 Set the reg_env DISPLAY variable before registering the
1784 activated registry service. Fixes bug #129479.
1786 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1788 * configure.in: Added "id" in ALL_LINGUAS
1789 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1791 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1793 * registryd/deviceeventcontroller.c (global_filter_fn):
1794 When an event is consumed discard any XEvents were added to
1795 the queue while dealing with the the event. This can happen if
1796 processing of the event takes a long time. Call XUngrabKeyboard
1797 if an event was discarded. This fixes bug $124837.
1798 Only call wait_for_release_event for a KeyPress.
1799 Use local variable display instead of spi_get_display().
1800 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1803 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1805 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1806 Allow for mask to contain values other than NumLock mask.
1809 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1811 * registryd/devieceventcontroller.c:
1812 (wait_for_release_event): Change first parameter from GdkEvent to
1814 (global_filter_fn); Correct call to wait_for_release_event.
1818 2003-12-08 Bill Haneman <billh@gnome.org>
1822 * registryd/ucs2keysym.c: New file.
1824 * registryd/deviceeventcontroller.c:
1825 (dec_keysym_for_unichar): Remove old partial implementation and
1826 replace with call to ucs2keysym(), which is much more complete.
1827 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1832 2003-12-05 Bill Haneman <billh@gnome.org>
1834 * configure.in: Version 1.3.9.
1836 * docs/reference/cspi/tmpl/spi_registry.sgml:
1837 Added reference to libspi/keymasks.h to the
1838 description of Registry queries: AccessibleKeyMaskType.
1841 2003-12-04 Bill Haneman <billh@gnome.org>
1843 Fix for bug #121974.
1845 * idl/Accessibility_Application.idl:
1846 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1847 setlocale's LC_TYPEs.
1848 (Accessibility::Application::getLocale): New method.
1849 Allows clients to query the locale, by type, of an app.
1852 * cspi/spi_application.c:
1853 (AccessibleApplication_getLocale): New method, wraps IDL above.
1855 * libspi/application.c:
1856 (spi_application_class_init): Init epv entry for getLocale.
1857 (impl_accessibility_application_get_locale): Impl for above.
1859 * test/test-simple.c:
1860 (test_application): Added assertion for getLocale, i.e.
1861 that the string from AccessibleApplication_getLocale (app, type)
1862 is the same as that from setlocale (type, NULL);
1864 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1866 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1867 the keyboard on a timeout intil the key state goes from pressed to
1868 released. Fixes bug #111429.
1870 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1872 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1873 root object so that it is present when a context menu in an
1874 out-of-process applet is popped up.
1875 (spi_atk_bridge_do_registration): Create acceessible application root
1876 object only if it does not exist.
1878 This fixes bug #125834.
1880 2003-12-01 Bill Haneman <billh@gnome.org>
1882 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1885 Added enum for AccessibleStreamableContentSeekType.
1886 (AccessibleStreamableContent_freeContentTypeList): New.
1888 * cspi/spi_streamablecontent.c:
1889 (accessible_bonobo_stream_client_seek): New private method.
1890 (AccessibleStreamableContent_seek): Implemented this method,
1891 using Bonobo_Stream_seek.
1892 (AccessibleStreamableContent_freeContentTypeList): New method
1893 for freeing the return value from
1894 AccessibleStreamableContent_getContentTypes.
1895 (stream_cache_item_free): Replaces stream_release; stop leaks.
1896 (stream_release): removed.
1897 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1898 free the memory properly.
1900 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1902 Fix for bug #116009.
1904 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1906 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1908 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1910 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1912 2003-12-01 Bill Haneman <billh@gnome.org>
1914 Fix for bug/rfe #127463.
1916 * idl/Accessibility_Accessible.idl:
1917 (getLocalizedRoleName): New.
1918 (unimplemented4): Removed (replaced by above).
1920 * libspi/accessible.c:
1921 (impl_accessibility_accessible_get_local_role_name): New.
1922 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1926 (Accessible_getLocalizedRoleName): New.
1928 * cspi/spi_accessible.c:
1929 (Accessible_getLocalizedRoleName): New.
1931 2003-12-01 Bill Haneman <billh@gnome.org>
1933 Fix for bug #118581.
1934 * idl/Accessibility_Text.idl:
1935 (getDefaultAttributes): New.
1936 (unimplemented4): Removed (replaced by above method).
1939 (impl_getDefaultAttributes): New method.
1940 (spi_text_class_init):
1941 initialize the get_default_attributes slot in the epv.
1944 (AccessibleText_getDefaultAttributes): New prototype.
1947 (AccessibleText_getDefaultAttributes): New method.
1949 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1951 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1952 write beyond the end of the table. Fixes bug #120473.
1954 2003-09-30 Christian Rose <menthos@menthos.com>
1956 * configure.in: Added "eu" to ALL_LINGUAS.
1958 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1960 * configure.in: ALL_LINGUAS: Added no.
1962 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1964 * configure.in: Added lt to ALL_LINGUAS.
1966 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1968 * atk-bridge/bridge.c:
1969 (atk_bridge_init): Register event listeners always even for
1970 out-of-process applet.
1971 (spi_atk_bridge_toplevel_added): Remove call to
1972 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1973 (spi_atk_bridge_toplevelk_removed): Remove call to
1974 spi_atk_deregister_event_listenersa as the listeners are now always
1976 (spi_atk_bridge_register_application): Remove call to
1977 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1979 This fixes bug #120991.
1981 * libspi/table.c (impl_getColumnDescription): Correct typo,
1982 pointed out by Bolian.Yin@sun.com.
1984 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1986 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1988 2003-09-08 Bill Haneman <billh@gnome.org>
1990 * configure.in: Revved to 1.3.7.
1992 This is the GNOME 2.4.0 release of at-spi.
1994 * docs/reference/cspi/Makefile.am:
1995 Removed spurious inclusion of 'index.sgml' in the
1996 html directory; this was breaking make distcheck and
1997 also some other build environments.
1999 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
2001 * registryd/registry.[ch}:
2002 Add queue_handler_id and focus_object to SpiRegistry data structure.
2003 (registry_flush_event_queue): If event being discarded is
2004 "state-change:focused" store object as focus_object.
2005 (registry_start_queue): Remove queue handler and focus object
2007 (registry_discard_event): New function which discards a focus event
2008 if we had stored focus object in the registry.
2009 (registry_queue_event): Add new check that is_queueing is set as this
2010 function is reentrant.
2011 (registry_filer_event): Add call to registry_discard_event.
2013 This resolves issues raised in bug #108664.
2015 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
2017 * configure.in: Added "bn" to ALL_LINGUAS.
2019 2003-09-04 Bill Haneman <billh@gnome.org>
2021 * cspi/spi_event.c: Documentation improvements for
2022 (SPI_registerAccessibleKeylistener).
2024 * docs/reference/tmpl/spi_registry.sgml:
2025 Documentation improvements for SpiAccessibleKeylistenerCB.
2027 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2029 * configure.in: Added "ro" to ALL_LINGUAS.
2032 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2034 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2035 not decremented to zero. Fixes bug #120725.
2037 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2039 * configure.in: Added "ja" to ALL_LINGUAS.
2041 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2043 * configure.in: Added "is" to ALL_LINGUAS.
2045 2003-08-22 Christian Rose <menthos@menthos.com>
2047 * configure.in: Added "nl" to ALL_LINGUAS.
2049 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2051 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2052 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2054 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2056 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2057 type for unspecified exception.
2058 * cspi_streamablecontect): Add include of string.h for memcpy.
2059 (stream_release): Correct call to bonobo_object_release_unref
2060 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2061 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2062 argument of _cspi_expection_throw.
2063 * libspi/hyperlink.c: Add include of libspi/action.h:
2064 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2065 * libspi/streamablecontent.c: add include of libspi/component.h.
2066 * regisrtyd/deviceeventcontroller.c:
2067 (spi_dec_translate_mask): Removed unused variable priv.
2068 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2069 * registryd/registry.c:
2070 (registry_filter_event): Remove unused variable queue_is-empty.
2071 (impl_registry_notify_event): Use correct modifier in fprintf call.
2073 This fixes compiler warnings reported in bug #120220.
2075 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2077 * registryd/registryd.c: Remove this file.
2079 2003-08-17 Sanlig Badral <badral@openmn.org>
2081 * configure.in: Added mn to ALL_LINGUAS.
2083 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2085 * configure.in: Added et to ALL_LINGUAS.
2087 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2089 * test/event-listener-test.c: Change active-descendant to
2090 active-descendant-changed.
2092 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2094 * configure.in: Added "fi" in ALL_LINGUAS.
2096 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2098 * configure.in: Added "hi" in ALL_LINGUAS.
2100 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2102 * configure.in: Revved to 1.3.6.
2106 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2108 * registryd/deviceeventcontroller.c
2109 (spi_device_event_controller_object_finalize): Fix typo in previous
2112 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2114 * registryd/deviceeventcontroller.c
2115 (spi_device_event_controller_object_finalize): Fix build on
2116 systems without XEvIE.
2118 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2120 * acconfig.h, configure.in, registryd/Makefile.am,
2121 registryd/devicecontoller.[ch]: Add XEViE support.
2123 2003-08-06 Wang Jian <lark@linux.net.cn>
2125 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2127 2003-08-06 Metin Amiroff<metin@karegen.com>
2129 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2131 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2133 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2134 MODIFIER_ALT in correct place.
2136 This fixes part of bug #118114.
2138 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2140 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2142 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2144 * configure.in: Added "ko" to ALL_LINGUAS.
2146 2003-07-28 Ole Laursen <olau@hardworking.dk>
2148 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2150 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2152 * configure.in: Added "sq" to ALL_LINGUAS.
2154 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2156 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2158 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2160 * configure.in: updated ALL_LINGUAS list
2162 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2164 * configure.in: Added Belarusian to ALL_LINGUAS.
2166 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2168 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2170 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2171 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2173 This fixes bug #116949.
2175 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2177 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2178 Correct CSPI to SPI in function documentation.
2180 This fixes bug #118054.
2182 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2184 * configure.in: Added Russian to ALL_LINGUAS.
2186 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2188 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2190 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2192 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2194 2003-07-10 Joel Brich <joel.brich@laposte.net>
2196 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2198 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2200 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2202 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2204 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2205 resources allocated for AccessibleEvent. See cspi_event().
2207 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2208 static variable streams to NULL.
2210 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2211 Update so that AcessibleEvent_ref will work.
2213 This fixes bug #116624.
2215 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2217 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2219 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2221 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2223 2003-07-02 Christian Neumair <chris@gnome-de.org>
2225 * configure.in: Added "de" (German) to ALL_LINGUAS.
2227 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2229 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2231 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2233 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2235 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2237 * configure.in: Added "pl" to ALL_LINGUAS.
2239 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2241 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2243 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2246 (get_action_from_servant):
2247 Removed assertion that action is implemented on an AtkObject.
2249 * libspi/hyperlink.c:
2250 (spi_hyperlink_new):
2251 Aggregate AccessibleAction interface on the hyperlink object if
2252 the object implements AtkAction. (This convention is used in
2255 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2257 * configure.in: Revved to 1.3.5.
2259 * registryd/Accessibility_Registry.server.in.in:
2260 Marked up appropriate strings for translation.
2262 * atk-bridge/bridge.c: Marked a couple of
2263 user-visible warnings for translation. Questionable
2264 whether they are really useful, but possibly so.
2267 2003-06-28 Christian Rose <menthos@menthos.com>
2269 * configure.in: Added "sv" to ALL_LINGUAS.
2271 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2273 * registryd/registry.c:
2274 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2275 (registry_defer_on_event): Defer focus: events, this is an
2276 improvement to the patch for bug #108664.
2278 * TODO: Update with 2.4/"Dev Complete" items.
2280 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2282 * atk-bridge/bridge.c:
2283 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2284 looks up signals once.
2285 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2286 if doing registration.
2287 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2288 when doing registration.
2290 This fixes bug #115014.
2292 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2294 * atk-bridge/bridge.c:
2295 (atk_bridge_init): Add signal handler for children-changed:remove on
2296 root when in a BonoboComponent.
2297 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2298 for first toplevel only other incrememt variable toplevels.
2299 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2300 application and remove listeners.
2301 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2303 (spi_atk_deregister_event_listeners): New function which removes
2305 (reinit_register_vars): New fuction which reinitializes variables.
2307 This fixes bug #111578.
2309 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2311 * configure.in: version 1.3.4.
2313 * cspi/spi_accessible.c:
2314 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2317 2003-06-13 Michael Meeks <michael@ximian.com>
2319 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2321 * cspi/spi_main.c (cspi_peek_ev): impl.
2323 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2325 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2327 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2329 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2330 SPI_ROLE_AUTOCOMPLETE
2332 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2334 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2335 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2337 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2339 * libspi/streamablecontent.h:
2340 * libspi/streamablecontent.c:
2341 New files, provide implementation/wrappers for
2342 Accessibility_StreamableContent.
2344 * cspi/spi_streamablecontent.c:
2345 Connected the C wrappers to the libspi C bindings.
2346 (AccessibleStreamableContent_close): New method.
2349 (AccessibleStreamableContent_close): New method, needed
2350 since we have an "open, [seek], read, close" model in cspi.
2352 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2354 Fix for #108664; Padraig's revision of my original patch.
2356 * registryd/registry.h:
2357 Added event queue list, is_queuing, and exit_notify_timeout
2358 to the registry struct.
2360 * registryd/registry.c:
2361 (registry_init): Initialize new struct from registry.h.
2362 (impl_registry_notify_event):
2363 Filter events before notifying, in case some need to be
2365 (registry_filter_event): New,
2366 we defer certain incoming events (for instance
2367 window:deactivate) because we may wish to hide
2368 or reject them based on pending events. This is
2369 mostly a workaround for bug #108664.
2370 (registry_queue_event, registry_start_queue): New.
2371 (registry_defer_on_event): Test event to see if it
2373 (registry_reset_on_event): Returns TRUE if the
2374 event should cause a queue reset.
2375 (registry_discard_on_event): Returns TRUE if the event
2376 should cause the previous queue contents to be discarded.
2377 (registry_timeout_flush_queue): Flushes the pending event
2378 queue if no reset/discard-triggering events have come in
2379 within the timeout period.
2380 (registry_emit_event): New.
2381 (registry_clone_notify_context): New, used when queueing the
2382 event notify contexts.
2384 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2386 * configure.in: Version revved to 1.3.2, lt 0.9.2
2387 Incremented ATK required version to 1.3.4.
2389 * cspi/spi_registry.c:
2390 (SPI_generateKeyEvent):
2391 We now pass the keystring along if it's non-null.
2393 * registryd/deviceeventcontroller.c:
2394 (keysym_mod_mask): New method, returns modifier mask
2395 required to generate a keysym from a given keycode.
2396 (dec_synth_keysym): New method.
2397 (dec_synth_keystring): New method.
2398 (dec_get_modifier_state): New method.
2399 (dec_lock_modifiers): New
2400 (dec_unlock_modifiers): New.
2401 (dec_keysym_for_unichar): New, rather brute-force
2402 conversion from UCS-4 to X KeySyms. Only works for
2403 Latin at the moment, with partial implementations for
2404 Greek, Hebrew, and (incomplete) Katakana.
2405 (impl_generate_keyboard_event): Now implement
2406 "KEYSTRING" synthesis and implement "KEYSYM"
2408 (keycode_from_keysym): Improved, passes a returned
2409 modmask value now if the corresponding param is non-NULL.
2411 Fixes bugs #92143 and #109776.
2414 * test/keysynth-test.c:
2415 New test program for key synthesis, to confirm fixes for
2419 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2421 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2423 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2424 Add line for RELATION_POPUP_FOR
2426 * docs/reference/cspi/tmpl/spi_relation.sgml:
2427 Add relation SPI_RELATION_POPUP_FOR
2429 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2430 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2432 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2434 * libspi/relation.c (spi_init_relation_type_table):
2435 Add line for RELATION_POPUP_FOR
2437 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2439 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2440 there are still windows which have not been deleted and emit
2441 window:deactivate, if necessary and window:destroy events.
2442 This fixes bug #114370. The change on June 5th was not correct.
2444 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2446 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2449 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2451 New methods for client exception handling and interception.
2452 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2453 (SPI_exceptionHandlerPop): You guessed it...
2454 (SPI_getSourceType): Return the type of object which offended.
2455 (SPI_getExceptionCode): Return an enum code telling, possibly,
2456 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2457 (SPIAccessibleException_getSource): get the source object for
2458 exceptions that come from Accessibles, if SPIExceptionSourceType is
2459 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2460 (SPIException_getDescription): New, returns a string description of
2461 the problem. [Not yet a stable ABI, strings are not frozen]
2463 * cspi/spi-private.h:
2464 Added implementation details of opaque SPIException
2468 Implementations of above. Also
2469 (_cspi_exception_throw): new private method that
2470 dispatches exceptions to handlers, called from cspi-bonobo.c
2472 * cspi/bonobo/cspi-bonobo.c:
2473 (cspi_check_ev): call _cspi_exception_throw.
2474 Don't print a warning message if the exception has been
2475 handled by _cspi_exception_throw.
2477 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2479 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2480 there are still windows which have not been deleted and emit
2481 window:deactivate, if necessary and window:destroy events.
2482 This fixes bug #114370.
2484 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2487 (cspi_accessible_is_a): Make non-fatal
2488 if the object reference is dead.
2490 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2492 * cspi/spi_main.c: #include <stdio.h>
2493 * test/simple-at.c: ditto
2494 * test/event-listener-test.c: ditto
2495 * test/screen-review-test.c: ditto
2497 2003-05-30 Michael Meeks <michael@ximian.com>
2499 * test/test-simple.c (main): use CORBA_ORB_perform_work
2500 instead of an unnecessary linc_ call.
2502 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2504 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2505 Add SPI_STATE_INDETERMINATE.
2507 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2510 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2512 * libspi/stateset.c (init_state_type_tables): Add support for
2515 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2517 * configure: Update versions of atk and gail required.
2518 This fixes bug #113268.
2520 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2522 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2524 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2526 * libspi/Makefile.am:
2527 Ensure headers are generated before being used by c sources.
2529 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2532 Simplified lt versioning rules.
2533 Incremented version to 1.3.0, to indicate that we're on the
2534 unstable branch now.
2536 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2538 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2539 Add MKDB_OPTIONS=--outtput-format=xml
2541 * docs/reference/cspi/at-spi-cspi-docs.sgml
2542 docs/reference/idl/at-spi-idl-docs.sgml:
2543 Convert to Docbook XML.
2545 This fixes bug #111793.
2547 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2549 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2550 AcccessibleKeyEventType, AccessibleKeyMaskType.
2552 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2554 * cspi/state-types.h: Add documentation for AccessibleState.
2556 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2557 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2558 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2559 AccessibleComponentLayer.
2561 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2564 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2566 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2567 Accessible. Add description of AccessibleEvent,
2568 AccessibleEventListenerCB.
2570 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2573 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2574 documentation. Add description of AccessibleKeystrokeListenerCB,
2575 AccessibleKeyEventMask, AccessibleModifierMaskType,
2576 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2577 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2579 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2582 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2585 This fixes bug #104730.
2587 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2589 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2590 Set is_text field of Accessibility_DeviceEvent data structure.
2592 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2593 is-text field of AccessibleDeviceEvent data structure.
2595 This addresses part of bug #108666.
2597 * registryd/devcieeventcontroller.c: Unset debug option.
2599 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2601 * cspi/accessible.c:
2602 (cpi_initial_relation_type_table): New function which initializes
2603 mapping between Accessibility_RelationType and AccessibleRelationType.
2604 (cspi_relation_type_from_spi_relation_type): New function which
2605 translates an Accessibility_RelationType into an AccessibleRelationType.
2606 (AccessibleRelation_getRelationType): Use
2607 cpi_relation_type_get_spi_relation_type to return correct value.
2608 (spi_state_to_corba): Return correct type for default case.
2610 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2611 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2613 * cspi/cspi-bonobo-listener.c:
2614 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2617 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2618 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2619 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2620 libspi/image.c, libspi/listener.c, libspi/selection.c,
2621 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2622 registryd/desktop.c, registryd/registry.c:
2623 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2625 * libspi/eventlistener.c
2626 Remove semicolon after BONOBO_TYPE_FUNC.
2628 * libspi/relation.c:
2629 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2630 (spi_init_relation_type_table): Initialize using correct type.
2632 * registryd/desktop.c:
2633 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2634 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2635 of Accessibility_KeyEventType.
2637 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2640 * tests/simple-at.c, tests/screen-review-test.c:
2641 Add include for <strings.h>.
2643 * tests.stress-test.c:
2644 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2646 These changes fix compiler warnings when using FORTE compiler on
2647 Solaris; fixes bug #107479.
2650 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2653 * configure.in: revved to 1.1.10
2655 * libspi/keymasks.h:
2656 (SPI_KEYMASK_NUMLOCK): Added.
2658 * registryd/deviceeventcontroller.c:
2659 (spi_key_event_matches_listener): AND with a smaller
2660 bitmask (as we should).
2661 (spi_dec_translate_mask):
2662 New method, sets the virtual NumLock modifier bit
2663 if numlock is on. Eventually it can handle other virtual
2664 modifier bits if needed, or other marshalling from
2665 at-spi modifier masks to platform (X) masks.
2666 (spi_dec_key_listener_new):
2667 Call spi_dec_translate_mask to set up virtual mod bits
2668 in the 'mask' field when creating a new listener struct.
2669 (spi_dec_emit_modifier_event):
2670 Set the virtual (i.e. NumLock) bits before emitting event.
2671 (spi_controller_register_with_devices):
2672 Query for the NumLock modifier 'physical' bit if Xkb is
2673 present, for use in above methods.
2677 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2679 * registryd/deviceeventcontroller.c:
2680 (spi_keystroke_from_x_key_event):
2681 Instead of checking to see if the keysym is
2682 printable, check the string from XLookupString
2683 if available, get the first unicode character from it,
2684 and call g_unichar_isprint to determine whether the
2685 is_text flag should be TRUE or FALSE.
2689 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2691 * atk-bridge/bridge.c: Add support for extended events
2692 * cspi/spi_event.c: Add documentation and implementation for
2694 * tests/event-listener-test.c: Add tests for extended events.
2696 This fixes bugs #100424 and #100426.
2698 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2700 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2701 of LT_CURRENT. This fixes bug #89350.
2703 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2705 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2706 number of signal parameter values before accessing them. This fixes
2709 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2711 * configure.in: Fixed duplicate inclusion of -lspi.
2712 * branched for gnome-2-2/HEAD.
2713 [created tag "gnome-2-2"]
2715 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2717 * configure.in: 1.1.9 release.
2720 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2722 [needed by GOK, to fix bugs 107985 and 107988]
2723 * registryd/deviceeventcontroller.c:
2724 (spi_dec_clear_unlatch_pending):
2725 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2726 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2727 (spi_dec_init_mouse_listener):Emit warning if mouse button
2729 (spi_device_event_controller_forward_mouse_event):
2730 Removed unnecessary parens from a conditional.
2731 (global_filter_fn):Added TODO comment.
2732 (impl_generate_keyboard_event):
2733 Cancel a pending relatch if a 'delatching' key was
2736 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2738 * atk-bridge/bridge.c:
2739 Change atk_signal_child_changed to atk_signal_children_changed.
2740 Reorganize code in spi_atk_bridge_signal_listener().
2742 * test/event-listener-test.c:
2743 Add children_changed_listener and report_children_changed_event()
2744 to test AccessibleChildEvent_getChildAccessible.
2746 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2748 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2749 g_strdup to CORBA_String_dup (bug #105291)
2751 * test/event-listener-test.c (report_text_event): Add call to
2754 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2756 * registryd/deviceeventcontroller.c:
2757 (spi_keystroke_from_x_key_event):
2758 Fix string and keysym return codes to match modifier state.
2761 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2763 * registryd/deviceeventcontroller.c:
2764 (spi_keystroke_from_x_key_event):
2765 Fix segv due to improper use of isprint(c). [bug #107254]
2767 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2770 (get_accessible_text_boundary_type):
2771 Move default return value to (new) default case in switch.
2772 (get_accessible_text_clip_type):
2773 Move default return value to (new) default case in switch.
2775 * libspi/application.c:
2776 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2777 Remove unused methods.
2778 (impl_accessibility_application_register_object_event_listener):
2779 Remove unused methods.
2782 Added #include of <math.h>.
2784 * registryd/deviceeventcontroller.c:
2785 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2786 we don't currently use this method.
2787 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2789 (impl_generate_key_event):
2790 Remove unused variables.
2791 (impl_generate_mouse_event):
2792 Initialize button to zero, just in case we get an invalid
2793 input. Added support for mouse buttons 4 and 5.
2794 (spi_device_event_controller_new):
2795 Removed unused variable declaration for 'private'.
2797 Added #include of <gdk/gdk.h>
2799 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2801 * configure.in: Update to work when X is not installed in expected
2802 location. Fixes bug #105836.
2804 * atk-bridge/bridge.c
2805 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2807 (spi_atk_register_event_listener): Add signal listener for
2809 (spi_atk_bridge_signal_listener): Event event when link-selected
2810 signal is emitted. (bug #104622)
2812 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2813 on returned string. (bug #105291)
2815 * test/event-listener-test.c: Add test for link-selected.
2817 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2819 * atk-bridge/Makefile.am: Correct typo in previous commit.
2821 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2823 * atk-bridge/Makefile.am: Allow for build directory to be different
2824 from source directory
2826 * registryd/Makefile.am: Allow for build directory to be different
2827 from source directory
2831 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2834 Fixed dependencies for libcspi so that libspi gets pulled in
2835 properly. Fixes 104741.
2839 Clean up inline docs a little.
2841 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2843 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2844 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2845 the AtkObject within an SpiDesktop.
2846 This addresses bug #101524.
2848 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2849 Remove call to gdk_init().
2851 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2852 so that Display is set when SpiDesktop is created.
2854 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2856 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2857 This fixes bug #102830.
2859 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2861 * test/test-simple.c: Update to take account of fact that GailButton
2862 now implements AtkText.
2863 (create_text_window): Set name on AtkObject for GtkEntry.
2864 (validate_accessible): Check accessible name before calling test_text().
2866 * libspi/Makefile.am: Fix problem with building outside of source
2867 directory. Bug #98120.
2869 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2870 typo in documentation comments. Bug #94275.
2872 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2874 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2876 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2879 Add includes to avoid compiler warnings on Solaris.
2880 (impl_getRangeExtents): Bug fix.
2882 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2884 Fix for 100944, [API addition approved by Gman and murrayc].
2891 * idl/Accessibility_Text.idl:
2892 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2893 (Text::getRangeExtents): New method for efficient
2894 bounds query of a text range.
2895 (Text::getBoundedRanges): New method for efficient
2896 clipping of text to bounding boxes.
2897 (unImplemented7, unImplemented8):
2898 Removed these padding methods to preserve bincompat.
2901 (impl_getRangeExtents): implementation of new IDL.
2902 (impl_getBoundedRanges): implementation of new IDL.
2903 (SpiTextRect): Internal use struct.
2904 (_spi_text_rect_union): internal method, calculates union of two
2905 SpiTextRect bounding rects.
2906 (_spi_text_range_seq_from_gslist): internal method, allows us
2907 to build our sequence efficiently as a gslist then convert it
2909 (_spi_bounds_contain): internal method, determines whether
2910 a text character is "in" or "out" of a clip rect according to
2911 values of TEXT_CLIP_TYPE.
2912 (spi_text_class_init): Initialize the new methods in the epv.
2915 (AccessibleTextClipType): New enum used by screen review api.
2916 (AccessibleTextRange): New struct used by screen review api.
2917 (AccessibleText_getRangeExtents):
2918 cspi binding for Accessibility_Text_getRangeExtents.
2919 (AccessibleText_getBoundedRanges):
2920 cspi binding for Accessibility_Text_getBoundedRanges.
2921 (AccessibleTextRange_freeRanges): convenience method.
2924 (AccessibleText_getRangeExtents):
2925 cspi binding for Accessibility_Text_getRangeExtents.
2926 (AccessibleText_getBoundedRanges):
2927 cspi binding for Accessibility_Text_getBoundedRanges.
2928 (AccessibleTextRange_freeRanges): convenience method.
2929 (get_accessible_text_clip_type): internal conversion method.
2930 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2932 * registryd/deviceeventcontroller.c:
2933 (spi_dec_mouse_check):
2934 Improved behavior for mouse:abs events
2935 [same granularity as mouse:rel events, and no
2936 events when mouse is idle].
2938 2002-12-16 Michael Meeks <michael@ximian.com>
2940 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2942 * libspi/stateset.c (state_spi_to_atk): split out
2943 ( fix several remote array bounds nasties )
2944 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2945 (impl_remove): make safe from array bounds issues.
2946 (spi_atk_state_from_spi_state): impl.
2948 * libspi/stateset.h (spi_state_set_cache_is_empty):
2949 add a set of wrapper defines to get layering right.
2951 * cspi/spi_accessible.c: update state set stuff to
2954 2002-12-14 Michael Meeks <michael@ximian.com>
2956 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2957 to avoid 2 roundtrips to the registry per key event
2958 (spi_atk_bridge_key_listener): upd.
2959 (deregister_application): release the dec.
2961 * registryd/registry.c (notify_listeners_cb):
2962 bin lots of re-enterant complexity - we no longer
2963 do a round-trip bonobo ref here, ensure that a single
2964 listener's exception failure won't poison all other
2966 (impl_registry_notify_event): bin obvious memory leak.
2968 2002-12-13 Michael Meeks <michael@ximian.com>
2970 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2971 init the ev so the error is meaningful.
2972 (spi_atk_bridge_key_listener): ditto.
2974 * cspi/spi_main.c (cspi_ev): init the ev so we start
2975 with a clean slate, otherwise the first exception
2976 kills us completely.
2978 * cspi/spi_text.c (get_accessible_text_boundary_type):
2979 add a fallthrough for no warnings.
2981 * cspi/spi_registry.c: prune unused warnings.
2983 * cspi/spi_main.c (cspi_object_take): fix
2984 mind-blowing brokenness ( by watching the compile
2987 * cspi/spi_accessible.c (Accessible_getStateSet):
2988 re-impl. to use an AtkStateSet.
2989 (spi_state_type_from_accessible_state),
2990 (init_state_table): bin these.
2992 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2994 (atk_state_set_from_accessibility_state_set): here.
2996 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2997 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2998 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2999 (AccessibleStateSet_add, AccessibleStateSet_remove),
3000 (AccessibleStateSet_equals, AccessibleStateSet_compare),
3001 (AccessibleStateSet_isEmpty): re-write to use a local
3004 2002-12-13 Bill Haneman <bill.haneman@sun.com>
3006 * configure.in: Revved to 1.1.7 (new keymask vals).
3008 2002-12-10 Bill Haneman <bill.haneman@sun.com>
3010 * libspi/keymasks.h:
3011 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
3013 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
3016 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
3017 to compare two CORBA_TypeCodes.
3018 (cspi_internal_event_add): Silence warning from FORTE compiler.
3020 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
3021 avoid implicit declaration of functions.
3023 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3025 * atk-bridge/bridge.c:
3026 (spi_atk_bridge_init_event_type_consts): Store signal id for
3027 active-descendant-changed signal.
3028 (spi_atk_register_event_listeners): Add signal listener for
3029 active-descendant-changed signal,
3030 (spi_atk_bridge_signal_listener): Move code in function
3031 spi_atk-signal_emit_event() into this function.
3032 Add support for active-descendant-changed
3033 Update support for child-changed signal.
3034 (spi_bridge_window_event_listener): Silence warning.
3036 * libspi/spi_private.[ch]:
3037 (spi_init_any_object): Change second parameter from CORBA_Object to
3039 Omit call to CORBA_Object_duplicate().
3040 Set CORBA_any's _value to CORBA_Object*.
3042 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3048 (AccessibleEvent_ref, AccessibleEvent_unref):
3049 New methods, for persisting an event outside the emission context.
3050 Must be used if the new accessor methods are to be called
3051 outside of the event listener's callback.
3053 * cspi/bonobo/cspi-bonobo.c:
3054 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3055 as second parameter instead of NULL, so we can call
3056 cspi_check_ev afterwards.
3059 (cspi_object_take): New internal method,
3060 converts a CORBA_Object reference to a hard ref on
3061 an Accessible if possible, returning NULL if the object
3062 reference is invalid or an Accessible * otherwise.
3065 (AccessibleEvent_ref):
3066 Increment the event's internal private refcount, and
3067 add the event's internal struct to an internal cache
3068 if it's not already there.
3069 (AccessibleEvent_unref):
3070 Decrement the event's refcount and remove it from
3071 the cspi event cache if refcount==0.
3072 (cspi_event_compare): New private method.
3073 Compares two event structs via their ids. Used
3075 (cspi_internal_event_lookup): New private method.
3076 (cspi_internal_event_check): New private method,
3077 a 0-order sanity check for events to make sure their
3078 private data is intact.
3079 (cspi_internal_event_add, cspi_internal_event_remove):
3080 New private methods for managiing the event cache.
3082 * cspi/bonobo/cspi-bonobo-listener.c:
3084 Initialize the new private data elements (id, magic, ref_count).
3086 * atk-bridge/bridge.c:
3087 (spi_atk_bridge_signal_listener):
3088 Fixed bug #100530, passing wrong params to emission func.
3090 * registryd/deviceeventcontroller.c:
3091 (spi_dec_button_update_and_emit):
3092 Fixed type in mask bit operations; fix for #99799.
3094 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3096 Removed some of the more dangerous workarounds from
3097 previous commit; they are only needed by GOK, which
3098 in reality should be using another method to accomplish
3099 the goals. So on reconsideration some of the workarounds
3100 need to be reverted:
3102 * registryd/deviceeventcontroller.c:
3103 (spi_keycodes_contain, spi_dec_init_keycode_list):
3104 Removed these methods, used only by a nasty hack to try
3105 and detect whether a key synthesis should be allowed
3106 to reset the XKB latch state or not. This code was only
3107 required to work around an interaction between GOK,
3108 button events, and XKB.
3109 (impl_generate_key_event):
3110 Removed hack at end of key generation that tried to
3111 "do the right thing" if XKB latch keys were generated
3112 in the midst of button press/release pairs.
3115 Added a check for HAVE_XINPUT. Not normally used yet.
3117 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3119 Workarounds and fixes for mouse event/XKB interaction.
3121 * registryd/deviceeventcontroller.c:
3122 (spi_keycodes_contain, spi_dec_init_keycode_list):
3123 New internal methods.
3124 (spi_dec_set_unlatch_pending):
3125 Split the method that tells XKB to expect an
3126 unlatch (and revert it) out of the rest of the
3127 event handling code. This method is called by the
3128 two mouse event handlers (the poll and the filter).
3129 (spi_dec_update_and_emit, spi_dec_mouse_check):
3130 New methods split from spi_dec_poll_mouse_moved.
3131 The second one is now called from inside the filterFn
3132 when an XKB delatch event is received, to determine
3133 whether to revert the delatch or not.
3134 (spi_poll_mouse_moved): Refactor; also we can now
3135 properly handle the case where multiple button states
3136 have changed between polling cycles and we didn't get
3137 notified due to another client's grab.
3139 Synchronize the server while handling an XKB notification.
3140 Ugly, but apparently necessary to avoid nasty races.
3141 Check the mouse state on receipt of an XKB latch change,
3142 to decide whether to revert the latch or not. (Latches are
3143 reverted if there is an immediately preceding mouse button
3144 event that a client has consumed, in which case we don't want
3145 the user to see the side-effect of the event).
3146 (spi_device_event_controller_forward_mouse_event):
3147 Check for modifier events and fire before resetting mouse_mask_state,
3148 prevents losing modifier events.
3150 (impl_generate_keyboard_event):
3151 If we've just generated a keyboard event for a non-shift key,
3152 we don't want to revert the pending XKB latch.
3153 Otherwise, check the modifier state (via a call to
3154 spi_dev_mouse_check) and set the relatch mask to
3155 that state before returning.
3157 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3160 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3163 * atk-bridge/bridge.c:
3164 (spi_atk_register_event_listeners):
3165 Don't re-register for ATK events if the registry has died
3166 and the app needs to re-register; the ATK listeners are in
3167 process and doing so will cause duplicate emission.
3169 * registryd/deviceeventcontroller.c:
3170 (spi_poll_mouse_moved):
3171 Reformat the source, detect and emit multiple button-change
3172 events (i.e. if multiple buttons have changed between poll
3174 Add code to detect mouse-down events even when the pointer
3175 is grabbed; workaround for GOK bug 98420.
3176 (spi_controller_register_with_devices):
3177 Call XTestGrabControl with 'impervious' flag set to True,
3178 allows us to synthesize events and query the pointer even during
3179 an active grab by another client.
3180 (spi_device_event_controller_forward_mouse_event):
3181 Set the mouse_mask_state to the mouse_button_state from
3182 the intercepted event, to synchronize the grab listener with
3185 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3187 * cspi/spi_accessible.c:
3188 (AccessibleRole_getName):
3189 Added necessary strings for making this (deprecated)
3190 method work with the new role types.
3191 (init_role_table, role_table):
3192 Added definition of SPI_ROLE_APPLICATION.
3194 * libspi/spi-roletypes.h:
3195 Added SPI_ROLE_APPLICATION.
3197 * idl/Accessibility_Role.idl:
3198 Added ROLE_APPLICATION.
3200 * docs/reference/cspi/at-spi-cspi-decl.txt:
3201 Added SPI_ROLE_APPLICATION to docs.
3203 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3205 * cspi/spi_accessible.c
3206 (cspi_init_role_table): Do not write beyond end of role_table.
3207 (Accessible_getRole): Use correct type for value returned by
3208 Accessibility_Accessible_getRole().
3210 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3211 beyond end of role_table. (This fixes bug #98269)
3213 * libspi/application.c: Add include file spi-private.h for
3214 definition of spi_init_any_nil.
3216 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3220 * libspi/spi-private.h:
3221 Added DGB() macro, and extern int _dbg declaration.
3223 * registryd/registry.c:
3224 (definitions) storage for _dbg.
3225 (spi_registry_init):
3226 Get environment variable "AT_SPI_DEBUG".
3227 (spi_registry_set_debug):
3228 New method, to initialize _dbg value.
3229 (spi_listener_struct_new, spi_registry_object_finalize):
3230 (notify_listeners_cb):
3231 Changed fprintfs to use DBG and g_warning().
3233 * registryd/deviceeventcontroller.c:
3234 (_deregister_keygrab, spi_controller_register_device_listener):
3235 Changed debug/warning messages to use DBG macro.
3237 * libspi/listener.c:
3238 (impl_notify_event):
3239 Changed warning messages to use DBG macro and g_warning().
3241 * atk-bridge/bridge.c:
3242 (atk_bridge_init, spi_atk_bridge_get_registry):
3243 (spi_atk_bridge_exit_func):
3244 (spi_atk_bridge_property_event_listener):
3245 Changed status, warning, and error messages to use
3246 g_warning, g_message, and DBG macros.
3249 Read the state of the AT_SPI_DEBUG environment variable
3250 and set a local '_dbg' accordingly.
3252 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3254 FIXES for 98836, 98842, other bugs.
3257 Revved to 1.1.4, interface-age=4, binary-age=4.
3259 * registryd/deviceeventcontroller.c:
3261 Fixed crasher bug in last_mouse_pos initialization.
3263 * registryd/registry.c:
3264 (desktop_add_application, desktop_remove_application):
3265 Added (and then commented out) some support for
3266 object context marshalling. [TODO]
3268 * atk-bridge/bridge.c:
3269 (spi_atk_bridge_event_context_create):
3270 Commented out object context creation until it can
3271 be properly tested and debugged.
3273 * registryd/registry.c:
3274 (impl_registry_notify_event):
3275 Fixed crasher bug, we were calling
3276 spi_re_entrant_list_foreach () with an empty list.
3278 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3280 * idl/Accessibility_Action.idl:
3281 * idl/Accessibility_Component.idl:
3282 * idl/Accessibility_Desktop.idl:
3283 * idl/Accessibility_Event.idl:
3284 * idl/Accessibility_Hyperlink.idl:
3285 * idl/Accessibility_Image.idl:
3286 * idl/Accessibility_Relation.idl:
3287 * idl/Accessibility_Selection.idl:
3288 * idl/Accessibility_State.idl:
3289 * idl/Accessibility_Value.idl:
3290 Updated unimplemented slot count to minimum of
3291 four for all interfaces, for ABI freeze.
3293 * idl/Accessibility_EditableText.idl:
3294 * idl/Accessibility_Text.idl:
3295 Updated unimplemented slot count to six
3298 * idl/Accessibility_Registry.idl:
3299 Updated unimplemented slot count to six
3300 (also for DeviceEventController),
3303 * idl/Accessibility_Table.idl:
3304 Updated unimplemented slot count to eight,
3307 * idl/Accessibility_Event.idl:
3308 Added CORBA_any "any_data" member to Event struct.
3310 * idl/Accessibility_Event.idl:
3311 Added CORBA_any "any_data" member to Event struct.
3313 * atk-bridge/bridge.c:
3315 atk_signal_text_changed, atk_signal_child_changed,
3316 signal ids queried from gtype system.
3317 (AtkBridgeEventContextType): New enum.
3318 (AtkBridgeEventContextData): New struct.
3319 (AtkBridgeEventContext): New struct.
3320 (atk_bridge_init_event_type_consts):
3321 New method, initializes type contants for comparison
3322 prior to emit_eventv.
3323 (atk_bridge_event_context_init): New method,
3324 initializes a CORBA_any from an AtkBridgeEventContext.
3325 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3326 initialize the event.any_data struct.
3327 (spi_atk_bridge_event_context_create): New method,
3328 creates an AtkBridgeEventContext from signal/event info.
3329 (spi_atk_bridge_event_context_free): New method.
3330 (spi_atk_emit_eventv): Changed to take an
3331 AtkBridgeEventContext parameter. We now initialize
3332 the event.any_data member prior to notifying the
3333 Registry, via the AtkBridgeEventContext.
3334 (spi_atk_bridge_property_event_listener):
3335 (spi_atk_bridge_state_event_listener):
3336 Match emit_eventv signature.
3337 (spi_atk_bridge_object_event_listener):
3338 Match emit_eventv signature, and create an
3339 event context from the event details.
3340 Free the event context afterwards.
3341 (spi_atk_bridge_window_event_listener):
3342 Create an event context, pass it to the
3346 (AccessibleEvent_getContextString):
3347 (AccessibleEvent_getContextObject):
3348 New methods, allow query of AccessibleEvent objects
3349 for more context details (via the "any_data" member
3350 of the Event struct, above).
3353 Definitions for AccessibleEvent_getContextString
3354 and AccessibleEvent_getContextObject.
3356 * cspi/spi_listener.h:
3357 (InternalEvent): New struct.
3360 (AccessibleEvent_getContextString):
3361 (AccessibleEvent_getContextObject):
3362 Implementations of new methods, for obtaining
3363 additional context information from some event types.
3365 * cspi/spi_registry.c:
3366 (SPI_registerGlobalEventListener):
3367 Added mention of active-descendant-changed event in docs.
3369 * cspi/cspi-bonobo-listener.c:
3371 Marshal the any into the AccessibleEvent via
3374 * libspi/spi-private.h:
3375 #include <orbit/orbit.h>
3377 (spi_init_any_string):
3378 (spi_init_any_object):
3379 New convenience function declarations.
3383 (spi_init_any_string):
3384 (spi_init_any_object):
3385 New convenience function implementations.
3387 * registryd/deviceeventcontroller.c:
3388 (spi_poll_dec_mouse_moved):
3389 (spi_device_event_controller_forward_mous_event):
3390 Initialize any_data member of event.
3391 (spi_deregister_controller_device_listener):
3392 Fix incorrect param pass which was preventing deregistration.
3394 * registryd/registry.c:
3395 (desktop_add_application):
3396 (desktop_remove_application):
3397 Add object data to event's any_data before dispatch.
3399 Fix for error messages from GAIL.
3401 * test/event-listener-test.c:
3402 Test new ContextString and "any_data" API:
3403 (report_text_event): New method query and output context string.
3404 (main): register a new text listener with report_text_event
3407 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3409 Fixes for bugs 98127 and 97914.
3410 * cspi/spi-roletypes.h:
3411 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3413 * cspi/spi-statetypes.h:
3414 Added SPI_STATE_MANAGES_DESCENDANTS
3416 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3417 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3418 * cspi/spi_accessible.c:
3419 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3420 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3421 Accessibility_STATE_MANAGES_DESCENDANTS
3422 * libspi/accessible.c:
3423 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3424 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3425 As requested by Bill, I also cleaned up the alignment.
3426 * libspi/relation.c:
3427 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3428 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3429 * libspi/stateset.c:
3430 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3431 Accessibility_STATE_MANAGES_DESCENDANTS
3432 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3433 Document changes reflecting modifications to roles.
3434 * docs/reference/cspi/tmpl/spi_relation.sgml:
3435 Document changes reflecting modifications to relations.
3436 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3437 Document changes reflecting modifications to states.
3439 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3442 Revved to 1.1.3, interface-age=3, binary-age=3.
3443 Added REBUILD macro.
3446 Removed accessx-gui from the tests, since we have a nice
3447 keyboard accessibility capplet now :-)
3449 * test/keysynth-demo.c:
3450 (increment_scan): removed do-nothing default: case,
3453 * test/visual-bell.c:
3454 (main) : removed do-nothing default: case,
3457 * cspi/spi_action.c:
3458 (AccessibleAction_getKeyBinding_):
3459 Documented keybinding string format.
3463 (AccessibleText_getAttributes):
3464 Documented the text attribute string format.
3465 It's changed to use semicolon delimiters also,
3466 to prevent clashes with CSS attributes, but the old
3467 trick of looking for ", " strings will still work
3468 (as unreliably as ever). Fix for bug related to 97916.
3471 Include <cspi/bonobo/cspi-bonobo-listener.h>
3472 Fixes build warning.
3473 (SPI_freeAccessibleKeySet):
3474 (AccessibleKeystrokeListener_addCallback):
3475 (AccessibleKeystrokeListener_removeCallback):
3476 Modify to use AccessibleDeviceListener API internally,
3477 instead of AccessibleKeystrokeListener.
3479 * idl/Accessibility_Event.idl:
3480 Added two more empty slots to EventListener (for a total of four).
3482 * idl/Accessibility_Accessible.idl:
3483 Added four empty slots to Accessible interface.
3485 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3487 * idl/Accessibility_Registry.idl:
3488 (KeyEventType, EventType):
3489 Marked KeyEventType as deprecated; it duplicates
3490 functionality of EventType, which has been extended to
3491 include Mouse-button events.
3492 (KeyEventTypeSeq): defined in terms of EventType.
3493 (registerDeviceEventListener, deregisterDeviceEventListener):
3494 New methods, for managing listeners to device events,
3495 which potentially may consume them.
3498 Added definition for AccessibleDeviceListener.
3500 * cspi/spi-listener.h:
3501 (enum AccessibleDeviceEventType):
3502 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3503 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3504 for backwards compat.
3505 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3506 and typedef'd AccessibleKeystroke to it for back-compat.
3507 (AccessibleDeviceListenerCB):
3508 New function prototype typedef.
3511 (AccessibleDeviceEventMask): New typedef.
3512 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3513 (AccessibleKeyMaskType):
3514 Set equivalent to AccessibleModifierMaskType for back-compat.
3515 (SPI_createAccessibleKeystrokeListener):
3516 (AccessibleKeystrokeListener_unref):
3517 Deprecated in favor of equivalent (better-named) new API below..
3518 keystroke listeners are like all device listeners.
3519 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3520 New API names for old features :-).
3521 (AccessibleDeviceListener_addCallback):
3522 (AccessibleDeviceListener_removeCallback):
3523 (SPI_registerDeviceEventListener):
3524 (SPI_deregisterDeviceEventListener):
3528 (SPI_createAccessibleKeystrokeListener):
3529 Use new preferred API, cspi_device_listener_new() and
3530 cspi_device_listener_add_cb().
3531 (AccessibleKeystrokeListener_removeCallback):
3532 Use new preferred API, cspi_device_listener_remove_cb().
3533 (AccessibleKeystrokeListener_unref):
3534 Use new preferred API, cspi_device_listener_unref().
3535 (SPI_createAccessibleDeviceListener):
3536 (AccessibleDeviceListener_addCallback):
3537 (AccessibleDeviceListener_removeCallback):
3538 Implementation of new API.
3540 * cspi/spi_registry.c:
3541 (SPI_registerDeviceEventListener):
3542 (SPI_deregisterDeviceEventListener):
3543 Implementation of new API. Fixed memory leak and removed need to
3544 allocate EventTypeSeq (thanks Michael for catching this).
3545 Squashed a wayward CORBA_exception_free that shouldn't get called.
3547 * cspi/bonobo/cspi-bonobo-listener.c:
3549 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3550 (cspi_key_event): renamed to cspi_device_event().
3551 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3552 Extended to handle mouse button events as well as key events.
3553 (CSpiKeystrokeListener):
3554 Class superceded by CSpiDeviceListener.
3555 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3556 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3558 * cspi/bonobo/cspi-bonobo-listener.h:
3559 (CSpiKeystrokeListener):
3560 Class superceded by CSpiDeviceListener.
3561 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3562 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3564 * libspi/Makefile.am:
3565 Replaced keystrokelistener.h and keystrokelistener.c
3566 with devicelistener.h and devicelistener.c; keystrokelisener.h
3567 stub retained for back-compat.
3569 * libspi/keystrokelistener.c:
3573 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3575 * registryd/deviceeventcontroller.c:
3576 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3577 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3578 (DEControllerPrivateData): Added xkb settings data.
3579 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3580 button release events (which can't be captured via XGrabButton).
3581 Don't dispatch via the 'normal' event mechanism if the device event was
3583 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3584 Handle the typeseq data in its new location (see above).
3585 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3586 New methods, for "generic" device listeners.
3587 (spi_controller_register_device_listener):
3588 Now handle mouse event listeners as well as key listeners.
3589 (spi_controller_notify_mouselisteners):
3590 New internal method.
3591 (spi_device_event_controller_forward_mouse_event):
3592 Now we notify mouse device listeners as well as generating the
3593 non-consumable "mouse:" events.
3595 We must check and restore the XKB
3596 modifier map if we consume the event, since the act of triggering
3597 a mouse event will normally reset the XKB latch. This is required for
3599 (spi_controller_register_with_devices):
3600 Load the XKB settings when registering, and register for XKB
3601 state notify events.
3602 (spi_key_eventtype_seq_contains_event):
3603 Renamed spi_eventtype_seq_contains_event, since it's used
3604 internally for all device event types now.
3605 (spi_key_event_matches_listener):
3606 Uses spi_eventtype_seq_contains_event now.
3607 (spi_device_event_controller_object_finalize):
3608 Free the private data and the XkbKeyboard struct.
3609 (impl_register_device_listener, impl_deregister_device_listener):
3610 Implementation of new IDL.
3611 (spi_deregister_controller_device_listener):
3612 New internal method.
3613 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3614 More efficient implementation, we don't have to create a new
3615 XkbControls structure every time we query.
3616 (spi_device_event_controller_class_init):
3617 Initialize the epv entries for the new IDL. Assign the
3618 "spi-dec-private" quark.
3619 (spi_device_event_controller_init):
3620 Initialize the private data.
3621 (spi_device_event_controller_forward_key_event):
3622 Removed a bogus CORBA_exception_free() call.
3624 * registryd/deviceeventcontroller.h:
3625 Replaced inclusion of keystrokelistener.h with
3628 * test/event-listener-test.c:
3629 (report_mouse_event):
3632 Added mouse-event device listener.
3634 * test/test-simple.c:
3635 (create_test_window):
3636 Fixed regression (we were instantiating a GtkRange,
3637 which is now an abstract class). Also fixed to match
3638 existing AtkRole names, this seems to have changed in ATK
3639 awhile ago; too late now I think, and the new
3640 mechanism is at least elegant and consistent with the
3641 glib enum "nick" APIs.
3643 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3645 * idl/Accessibility_Relation.idl:
3646 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3647 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3648 * idl/Accessibility_Role.idl:
3649 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3650 * idl/Accessibility_State.idl:
3651 add STATE_MANAGES_DESCENDANTS
3652 * test/event-listener-test.c:
3653 Added a listener for active-descendant events.
3655 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3657 * atk-bridge/bridge.c
3658 (atk_bridge_init): If application is Bonobo component wait until top
3659 level is added before registering
3660 (spi_atk_bridge_do_registration): New function which contains code,
3661 formerly in atk_bridge_init, to do application registration.
3662 (spi_atk_bridge_toplevel_added): Signal called when top level
3663 added to Bonobo component
3665 This fixes bug #83134.
3667 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3669 * registryd/deviceeventcontroller.c
3670 Fixed compilation error caused by calling gettimeofday()
3673 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3678 Added template for HAVE_XKB.
3681 Changes to check for XKB, and to set the HAVE_XKB #define if it
3684 * libspi/listener.c:
3685 ()impl_notify_event): Make failure to get event source name
3688 * registryd/deviceeventcontroller.c:
3689 (#include): include X11/XKBlib.h.
3690 (DEControllerPrivateData) : New struct.
3691 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3693 (dec_synth_keycode_press) (dec_synth_keycode_release):
3694 New methods; split the key synthesis code into these methods.
3695 They check XKB settings before determining the "time" values to
3696 pass to Xtest; this fixes bug #95828.
3697 (impl_generate_keyboard_event): Changed to use methods above,
3698 instead of callng Xtest directly.
3699 (spi_device_event_controller_init): Initialize new privae struct s
3701 (spi_device_event_controllr_object_finalize):
3702 Free the (new) private data.
3704 * registryd/deviceeventcontroller.h:
3705 Add new gpointer to end of struct data.
3707 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3710 Incremented revision to 1.1.2, SONAME is still '.so', library
3711 extensions are ".so.0.0.2".
3713 * registryd/deviceeventcontroller.c:
3714 FIXES FOR #93592 and #95940.
3715 (statics): renamed mouse_button_state to mouse_mask_state,
3716 added key_modifier_mask.
3717 (spi_dec_poll_mouse_moved):
3718 Added key modifier checks, and emit "keyboard:modifiers"
3719 events when the key modifiers currently in use change.
3720 Also generate "mouse:abs" events periodically, even if the mouse
3721 is stationary (should we?).
3722 Alternatively we could generate "mouse:abs" events for either all
3723 mouse movements, or every 'nth' mouse movement, or at the
3724 beginning and end of every "active" mouse period.
3726 * test/event-listener-test.c:
3727 (main): Added listener for "keyboard:modifiers" events.
3729 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3731 * libspi/keymasks.h:
3732 Added key mask #defines for mouse buttons; e.g.
3733 SPI_KEYMASK_BUTTON1, etc.
3736 Incremented dependency on ATK to version 1.1.0. (This dependency
3737 is probably premature but will soon be real enough).
3739 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3741 * libspi/hyperlink.[ch]
3742 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3743 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3746 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3751 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3753 * registryd/deviceeventcontroller.c
3754 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3755 events to be ignored.
3756 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3757 keyboard_mode so that XAllowEvents() can be called.
3761 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3763 * cspi/spi-accessible.c: Correct names of roles returned by
3764 AccessibleRole_getName(). Fixes bug #95055.
3766 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3768 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3771 * registryd/registry.c
3772 (desktop_remove_application: Write diagnostic message to stderr for
3775 (impl_accessibility_registry_deregister_global_event_listener):
3776 Correct size of lists array. This addresses bug #94555).
3778 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3780 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3783 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3785 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3788 * registryd/registry.c (impl_registry_notify_event): Remove
3789 unnecessary call to parser_event_type().
3791 * docs/reference/cspi/tmpl/spi_component.sgml:
3792 Add reference to SPI_LAYER_WINDOW.
3794 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3796 * registryd/registry.c
3797 (desktop_add_application): Remove leak.
3798 (desktop_remove_application): Remove leak.
3799 (parser_event_type): Remove leak.
3801 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3803 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3804 bogus call to CORBA_string_dup(). Also removed unnecessary
3805 g_string_dup/g_free calls.
3807 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3809 * registryd/deviceeventcontroller.c:
3810 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3812 * test/event-listener-test.c:
3813 main: commented out three redundant listeners, to reduce output
3814 noise. (They still are potentially useful for testing).
3817 2002-09-13 Michael Meeks <michael@ximian.com>
3819 * Update all the copyrights to include Ximian.
3821 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3823 * cspi/spi.h: add SPI_LAYER_WINDOW.
3825 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3826 add Accessibility_LAYER_WINDOW case.
3828 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3830 * libspi/component.c: (impl_accessibility_component_get_layer):
3831 add ATK_LAYER_WINDOW case.
3833 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3835 * configure.in: incremented micro version.
3837 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3839 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3842 Clarified and reworded our commit policy.
3845 Started an API "todo" addition list for 2.2.
3848 (impl_getSelection):
3849 Free char pointer from atk_text_get_selection, which was being leaked.
3851 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3854 Small revision to author acknowledgement.
3856 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3858 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3859 If signal has detail add it to the type of the event.
3862 2002-08-12 Michael Meeks <michael@ximian.com>
3864 * test/test-simple.c (global_listener_cb): bin bogosity.
3865 (test_keylisteners): disable, still doesn't work reliably,
3866 certainly not on my system anyway.
3868 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3869 don't leak a reference on the DEC. This round-trip
3870 fetching of the DEC per keystroke sucks, it should be
3873 * cspi/spi-private.h,
3874 * cspi/cspi-lowlevel.h,
3875 * cspi/bonobo/cspi-bonobo-listener.[ch],
3876 * cspi/bonobo/cspi-bonobo.c: get the copyright
3877 notices better - there is still a large amount of
3878 work in at-spi falsely attributed solely to Sun.
3880 * cspi/spi_main.c (cspi_object_ref): kill bogus
3881 hash lookup, just increment the ref.
3882 (SPI_freeString): make explicit the fact that we
3883 handle NULL strings just fine.
3884 (report_leaked_ref): obey coding standards.
3885 (cspi_object_hash, cspi_object_equal): kill retval.
3886 (cspi_object_release): only release if not on loan.
3887 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3888 (cspi_object_borrow, cspi_object_return): impl.
3890 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3891 use cspi_object_borrow / return.
3893 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3895 * cspi/bonobo/cspi-bonobo-listener.c:
3897 Don't call cspi_oject_new() because this is creating a new Accessible
3898 every single time that an event is fired. This causes ATs like at-poke
3899 to nolonger recognise the source of the event and thus ignore it.
3900 Re-use the object from the cache, ref it and then unref it after the
3901 listeners have been called.
3903 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3905 * test/event-listener-test.c:
3906 Added command-line options to disable mouse events (m) and
3909 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3911 * configure.in: Update required versions of ATK, GTK+ and GAIL
3913 * cspi-1.0.pc.in: Add dependency for X include files
3916 * cspi/bonobo/Makefile.am:
3917 Add $(X_CFLAGS) so that X include files
3918 are picked up even if not in standard place (bug #71686)
3920 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3922 * registryd/deviceeventcontroller.c: fix for 84261
3923 (spi_dec_mouse_moved):
3924 Added test of mouse button mask, so that we can detect mouse
3925 button release. Unfortunately we can't otherwise detect mouse
3926 button release events without consuming the mouse press event,
3927 because of the way XGrabButton works. This means that our mouse
3928 release events have a latency dependent on the polling period
3929 while the mouse button is down. At least in this case we only
3930 have to poll while the button is down, and not at other times.
3931 If the button masks don't match with what the last press event
3932 reported, we report the appropriate button release event.
3933 (spi_dec_ungrab_mouse):
3934 New method (not yet called).
3935 (spi_device_event_controller_forward_mouse_event):
3936 New method, sends mouse press event from GdkFilter.
3937 (spi_dec_init_mouse_listener):
3938 Added code to call XGrabButton, redirecting mouse button events to
3939 the root window and our Gdk event loop.
3941 Added code to filter mouse button events, and reordered.
3943 * test/event-listener-test.c:
3945 Added registration for mouse events of type "mouse:button".
3947 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3949 * registryd/deviceeventcontroller.c: partial fix for 84261
3950 (spi_dec_poll_mouse_idle):
3951 New method, a timeout which checks to see if the mouse
3953 (spi_dec_poll_mouse_moving):
3954 A timeout to be called when mouse motion is underway.
3955 (spi_dec_poll_mouse_moved):
3956 A method which fires an event if the mouse has moved, and reports
3957 whether or not it did so.
3958 (spi_dec_init_mouse_listener):
3959 A method which sets up the timeouts above.
3960 (spi_device_event_controller_new):
3961 Now calls spi_dec_init_mouse_listener.
3963 * registryd/registry.c:
3964 (spi_registry_init):
3965 Now we initialize the device event controller when the registry is
3966 initialized, instead of waiting until a client has requested a key
3967 event notification; this is because we need the event controller
3968 for mouse events, but the mouse event registration API is a
3969 "registry" call and doesn't explicitly call the
3970 deviceeventcontroller.
3971 We now report mouse motion events with a 100 ms idle latency and
3972 a 20 ms granularity when motion is in progress.
3974 * test/event-listener-test.c:
3976 We now register the "detail listener" for events of type
3977 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3978 delivered only for the first mouse event received, and thereafter
3979 "mouse:abs" events are delivered.)
3981 * cspi/spi_registry.c:
3982 DOCS: Documented the above mouse event typestrings.
3984 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3986 Happy Summer Solstice...
3988 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3989 (spi_controller_notify_keylisteners):
3990 Changes to remove a listener from the listener list, freeing its
3991 open keygrabs, if a notification to that listener fails. This
3992 means that although a dead listener can continue to hold a passive
3993 keygrab, a maximum of one dispatch to such a listener can fail
3994 before the listener is removed from the list, thus the keygrab
3995 will be released on the next occurrence.
3996 As part of this fix:
3997 (spi_notify_keylisteners):
3998 Renamed to spi_controller_notify_keylisteners, as the controller
3999 instance must now be passed as an argument.
4000 The copied 'notify' GList is now a list of DEControllerKeyListener
4001 objects, since we need more than just the CORBA reference if a
4002 notify fails and we need to deregister the listener.
4003 (impl_notify_listeners_sync):
4004 (impl_notify_listeners_async):
4005 (spi_device_event_controller_forward_key_event):
4006 Modify use of notify_keylisteners in accordance with above
4008 (spi_deregister_controller_key_listener):
4009 New method introduced by refactoring, from
4010 impl_deregister_keystroke_listener.
4011 (impl_deregister_keystroke_listener):
4012 Call spi_deregister_controller_key_listener.
4013 (spi_key_listener_clone):
4014 New method to copy a key listner without doing a 'ref' on the
4015 remote object instance; used to create a notifier list.
4016 (spi_key_listener_data_free):
4017 New method, frees data without unreffing the source.
4019 (spi_key_listener_clone_free): new method.
4020 (spi_key_listener_free):
4021 refactored to call spi_key_listener_data_free.
4023 2002-06-20 Bill Haneman <bill.haneman@sun.com>
4025 * registryd/registry.c: [fix for bug 86048]
4026 (notify_listeners_cb):
4027 Clear CORBA system exceptions which occur when notifying
4028 listeners, before returning to the source of the original event,
4029 since the event source doesn't care if the relayed notify failed.
4030 In other words, don't complain to the atk-bridge if the registry
4031 could not notify all its listeners, that's no fault of the
4032 application and thus should not appear to be an error from the
4033 application's perspective.
4035 * cspi/spi_main.c: [fix for bug 85980]
4037 Replaced use of bonobo_object_dup_ref with call to the wrapper
4038 method, csou_dup_ref (); this silences a compiler warning and
4039 provided more portability.
4041 Ping the registry before return, and restart if necessary.
4043 * cspi/bonobo/cspi-bonobo.c:
4045 New internal method.
4047 Fixed this method to return an object reference, as it should have
4050 * cspi/cspi-lowlevel.h:
4051 Added internal definition for cspi_ping() and fixed
4052 return type of cspi_dup_ref().
4055 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4057 * atk-bridge/bridge.c: [fix for bug 85305]
4058 (spi_atk_bridge_register_application):
4059 New method where the initial application registry calls have been
4060 moved; it allows an application to re-register in response to
4061 certain error conditions (such as a registry restart, see below).
4063 Moved some initialization code to the method
4064 spi_atk_bridge_get_registry, below.
4065 (spi_atk_bridge_get_registry):
4066 New, private accessor function for the Accessibility_Registry
4067 instance. If the registry has not been started before, or has
4068 died (as detected by failure of a CORBA exception), it is
4069 restarted before return, and spi_atk_bridge_register_application
4070 is called again to register with the new bridge instance.
4071 (spi_atk_emit_eventv):
4072 Set registry_died on error; use spi_atk_bridge_get_registry () to
4073 access the registry.
4075 * registryd/registry.c:
4076 (impl_accessibility_registry_register_global_event_listener):
4077 Set listener's event_type_quark to etype.minor instead of
4078 etype.major (fix for bug 84856).
4080 * test/event-listener-test.c:
4081 (report_detail_event):
4082 Change the output string so that user/tester can tell that the
4083 'detail listener' was called instead of the 'generic listener'.
4085 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4087 Fixes for bugs 84900, 84908, 84897, 84898.
4092 Revved version to 1.1.0
4093 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4094 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4096 * idl/Accessibility_Registry.idl:
4097 (EventListener::notifyEvent):
4098 Removed 'oneway' directive after extensive consulation with
4099 ORBit2 team and others. This means also that unref() of the event
4100 source can and should be done synchronously after emission, rather
4101 than remotely in the client, after servicing the notify call on
4104 NOTE: This change speeds up listener performance considerably, but
4105 introduces new latency on the application side. We may want to
4106 add an event queue to the atk-bridge.
4108 * atk-bridge/bridge.c:
4109 (spi_atk_bridge_focus_tracker):
4110 Do a local unref() on the event source after emission.
4112 * registryd/registry.c:
4113 (desktop_remove_application):
4114 Do an unref() on the event source after emission.
4115 (desktop_add_application):
4116 Do an unref() on the event source after emission.
4117 (notify_listeners_cb):
4118 When relaying an event, don't automatically add the event source
4119 to the local object cache, just CORBA_dup it instead. Likewise,
4120 if this method reenters, release the ref rather than calling
4122 (impl_registry_notify_event):
4123 No longer call remote unref() on the event source after dispatch.
4125 * libspi/eventlistener.c:
4126 (impl_accessible_event_notify_event):
4127 Removed remote unref ()
4129 * cspi/bonobo/cspi-bonobo-listener.c:
4131 We now call cspi_object_new() instead of cspi_object_add() on
4132 receipt of an event; thus we only have an implicit object ref
4133 while the cspi_event method is being executed. If we need to keep
4134 a reference to the object, the listener must call ref() on the
4135 object. Thus also we don't need to call cspi_object_unref() after
4136 invoking the listener callbacks in this method.
4140 New internal API for creating a new cspi object, without adding it
4141 to the object cache.
4143 Now uses cspi_object_new() to create the cspi object instance.
4145 Now checks to see if the object is in the internal object cache,
4146 and adds it if necessary before incrementing its refcount (note
4147 that new objects are added with a refcount of 1).
4148 (report_leaked_ref):
4149 New method which gives some information on leaked object instances
4150 if leak detection is turned on.
4152 * test/event-listener-test.c:
4153 (timing_test_event):
4154 New method, used for testing event delivery timing for special
4155 events of type "object:test". It reports elapsed time and
4156 events/sec every 500 events.
4158 Added a new listener, 'test listener', to check timing of event
4159 receipt as noted above.
4161 Added some timing output here also, reports elapsed time every 100
4164 * test/stress-test.c:
4165 Emit events of type "object:test", for use with "event-listener-test".
4167 * test/test-simple.c:
4168 (global_listener_cb):
4169 Call Accessible_ref() on the event source before calling
4170 validate_accessible, since the validation process does pointer
4171 comparisons on the event source, meaning that the event source
4172 needs to be added to the local object cache first. Any use of
4173 such pointer comparisons between Accessible objects requires that
4174 the caller hold an explicit reference to those objects.
4175 We also must therefore call Accessible_unref() when leaving this method.
4177 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4179 * registryd/deviceeventcontroller.c:
4180 (spi_controller_update_key_grabs):
4181 Fix for #84735, subsequent keygrab listeners not informed of
4182 registration failure.
4185 (spi_base_construct):
4186 Add an assertion on construct, to make sure the GObject passed in
4187 is really a GObject.
4189 Explicitly initialize object->gobj pointer to NULL;
4191 * cspi/bonobo/cspi-bonobo-listener.c:
4192 (cspi_object_add_ref):
4193 New method, can specify whether to dup-ref a bonobo object passed
4194 in if it's newly added to the object cache.
4196 Now calls cspi_object_add_ref with second param of "FALSE". This
4197 prevents us from doing a pointless dup-ref followed by
4198 release-unref for all those cases where the object is already in
4199 our object cache (fix for #85205).
4201 * atk-bridge/bridge.c:
4202 (spi_atk_bridge_idle_init):
4203 Removed this method, we don't need to initialize in an idle
4206 Changed to call spi_atk_register_event_listeners directly, not via an
4207 idle handler. (fix for #81139)
4208 (gnome_accessibility_module_shutdown):
4209 Removed conditional around deregistration of listeners, since we
4210 don't use the idle handler and thus have always registered when
4212 (spi_init_keystroke_from_atk_key_event):
4213 Changed references to Accessibility_KEY_PRESSED to
4214 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4216 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4218 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4223 * test/stress-test.c:
4226 (may have been an incomplete commit yesterday?)
4228 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4231 Added target for new stress-test.
4233 * test/stress-test.c:
4234 New test, sends 1000 focus notifies in quick succession.
4236 * test/key-listener-test.c:
4237 Now we report whether a keylistener registration
4238 request succeeded or failed.
4240 * test/event-listener-test.c:
4241 Uncommented some listeners which are now implemented.
4244 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4246 * registryd/deviceeventcontroller.c:
4247 (spi_controller_update_key_grabs):
4248 Fix for #82509, lack of failure notification when
4249 ALL_WINDOWS keygrabs fail due to XGrabKey
4250 failure: we synchronize the server when
4251 registering a passive grab, to make sure we get the
4252 error message before the call returns.
4254 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4256 * test/test-simple.c:
4258 Removed #ifdef KEY_IMPL_WORKS guards.
4259 (test_keylisteners):
4260 Removed #ifdef KEY_IMPL_WORKS guards.
4261 Fixed bug which was causing a hang waiting for a
4262 "press" event (which was already overwritten by a "release"
4263 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4265 Added code to set globals 'key_press_received' and
4266 'key_release_received'.
4269 Added section "1.1 API Proposed Additions" which
4270 lists API additions desired for at-spi-1.1 (only one so far).
4271 Updated TODO list a little.
4273 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4275 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4278 * configure.in: Revved to 1.0.0.
4280 * idl/Accessibility_Registry.idl:
4281 (registerKeystrokeListener):
4282 Added boolean return value.
4284 * registryd/registry.c:
4285 (notify_listeners_cb): Minor fix to debug output.
4287 * registryd/Accessibility_Registry.server.in.in:
4288 Revved version number in OAFIID to 1.0.
4290 * registryd/registryd.c:
4292 Use new OAFIID version.
4294 * cspi/bonobo/cspi-bonobo.c:
4296 Use new OAFIID version.
4302 * atk-bridge/bridge.c:
4304 Use new OAFIID version.
4306 * registryd/deviceeventcontroller.c:
4307 (impl_register_keystroke_listener):
4308 Added CORBA_boolean return value.
4309 (spi_controller_register_device_listener):
4310 Added gboolean return value.
4311 (spi_controller_register_global_keygrabs):
4312 Added gboolean return value.
4313 (spi_key_set_contains_key):
4314 Added implementation for many more control keys,
4315 for instance F1-F12, arrow keys, End, Home, Page_Up,
4317 [TODO: some still not implemented].
4319 * text/screen-review-test.c:
4320 (text_chunk_pad_string):
4321 New function: it provides mapping between coordinate
4322 positions of text chunks and character positions in the
4323 screen-review-line output string.
4324 (text_chunk_to_string):
4325 New function, calls text_chunk_pad_string with various
4326 pad/delimiter characters. Pushbuttons are delimited with
4327 square brackets, Frames with vertical 'pipe' lines, and
4328 other text with double quotes.
4329 (text_chunk_list_to_string):
4330 Calls new function text_chunk_to_string.
4331 (toplevel_composite):
4332 New function to composite layers CANVAS through
4333 POPUP in each toplevel (other layers are composited
4334 across toplevels, i.e. BACKGROUND and OVERLAY).
4335 (review_buffer_composite):
4336 Revise to use new methods.
4342 2002-05-31 Laszlo Peter <laca@sun.com>
4344 * configure.in: add the Xtst libdir to the runpath on Solaris,
4345 since it's not in the default library search path.
4347 2002-05-29 jacob berkman <jacob@ximian.com>
4349 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4351 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4353 * test/screen-review-test.c:
4354 (text_chunk_pad_string):
4355 Added method, which pads the string according to the
4356 text bounds of the chunk. It also takes a 3-character
4357 string as a param which indicates the characters to be
4358 used for start, padding, and end delimitation of the chunk.
4359 (text_chunk_to_string):
4360 Changed to use text_chunk_pad_string.
4362 * configure.in: Fixed bug in AC_OUTPUT that was
4363 causing path substitution in Accessibility_Registry.server
4366 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4368 * text/screen-review-test.c:
4369 (guess_string_clip):
4370 New method which attempts a best-guess at clipping
4371 text from components (like Java labels) which don't
4372 actually implement AccessibleText. This inaccurate
4373 clip is based on the assumption that the label is
4374 justified left-and-right, and monospaced.
4375 (text_chunk_get_clipped_string):
4376 We now call guess_string_clip() for text-containing
4377 components that don't implement AccessibleText.
4379 * test/screen-review-test.c:
4380 (review_buffer_get_text_chunk):
4381 We now pull "name" from labels if they do not implement
4382 AccessibleText (i.e. for Java labels).
4383 (get_screen_review_line_at):
4384 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4387 Replaceded AC_OUTPUT target
4388 registryd/Accessibility_Registry.server with
4389 registryd/Accessibility_Registry.server.in.
4391 * registryd/Accessibility_Registry.server.in:
4392 Removed (this is now a Makefile target).
4394 * registryd/Accessibility_Registry.server.in.in:
4395 Added (source for target above). We now use $(libexecdir) as
4396 prefix for the executable at-spi-registryd.
4398 * registry/Makefile.am:
4399 Now install at-spi-registryd into $(libexecdir), and build .server
4400 file with path (see above).
4402 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4404 * test/screen-review-test.c:
4405 (text_chunk_get_clipped_string):
4406 We now check to see if words fall within clip bounds
4407 before resorting to character-by-character clip bounds testing.
4409 * TODO: Added a section for "2.2 Proposed API Additions".
4411 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4413 * test/screen-review-test.c:
4415 Added a screen review benchmarking and test program to test
4418 * cspi/spi_accessible.c:
4420 Made some of the debug strings passed to cspi_check_ev a
4421 little more specific.
4423 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4425 * test/screen-review-test.c: Fix crashes in debug statements
4427 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4429 * test/screen-review-test.c: Added this file.
4431 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4433 * atk-bridge/bridge.c: changed "object:state-change" to
4434 "object:state-changed" to match docs.
4436 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4438 * atk-bridge/bridge.c: Hooked up state-change event details.
4440 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4442 * registryd/registry.c:
4443 Fixed quarking bug in event string parsing; now events with
4444 detail parameters get matched correctly to listeners.
4447 * util/idl/Magnifier.idl: remove.
4449 * util/*.[ch]: Remove.
4450 Magnification utilities and IDL are now in module gnome-mag.
4452 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4454 * registryd/deviceeventcontroller.c:
4455 Fixed bug in grab key conversion which was causing keycode grabs
4456 to be converted to AnyKey grabs.
4459 updated NEWS file to reflect recent spin-off of gnome-mag.
4461 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4463 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4464 busted AccessibleStateSet_compare. Removed redundant casts.
4466 * cspi/spi-action.c: Removed redundant casts.
4468 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4470 * cspi/spi_component.c: Fixed typos and casting error.
4472 * cspi/spi_editabletext.c: Removed redundant casts.
4474 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4476 * cspi/spi_hypertext.c: Eliminated redundant casts.
4478 * cspi/spi_image.c: Eliminated redundant casts.
4480 * cspi/spi_registry.c: Eliminated redundant casts.
4481 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4482 * cspi/spi_selection.c: Removed redundant casts.
4483 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4484 handling. Screen geometry and text offsets were being returned as 0
4485 on error which is technically valid-- changed these to return -1.
4486 Added marshaller for text boundary types to fix bug with boundary
4487 types being passed incorrectly to atk.
4489 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4492 * cspi/spi_registry.c:
4493 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4494 which was uncovered by the recent key changes.
4496 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4498 * test/event-listener-test.c:
4500 Added new test, "event-listener-test";
4501 this code does two things; it benchmarks traversal time
4502 for the accessible hierarchy for the first running accessible
4503 app, and it connects listeners for all supported event types.
4504 It is thus useful as an example event listener and for
4505 diagnostics/debugging of event generation.
4507 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4510 Removed unnecessary dependency on libutil.
4513 Revved micro version: 0.13.1
4515 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4518 Removed util/Makefile from targets.
4521 Removed util subdir from SUBDIRS (temporarily,
4522 pending removal of magnifier-only code
4526 #ifdef-ed out magnifier dependencies, since
4527 magnifier IDL, headers, and binary now live in
4528 module gnome-mag and we don't want at-spi to depend
4529 on gnome-mag. A magnifier demo which can run alongside
4530 simple-at is forthcoming in the gnome-mag module.
4532 NOTE: Split magnifier binary, IDL, and magnification
4533 activation code from at-spi into module gnome-mag.
4535 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4537 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4538 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4540 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4543 Revved to version 0.13.0
4545 * idl/Accessibility_Registry.idl:
4546 Changed definition of KeySet from sequence of longs to sequence of
4547 KeyDefinitions, and added KeyDefinition struct.
4548 Required for fix to bug 80616.
4550 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4551 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4552 to use new definition (see above).
4554 * registryd/deviceeventcontroller.c: handle_keygrab(),
4555 spi_keyset_contains_key():
4556 Changed to make use of new struct; this allows matching based on
4557 string key-name, for instance "Tab". This also allows matching of
4558 composed characters, non-alphanumeric characters in a way that
4559 doesn't involve dependencies on X keysym codes directly, etc.
4561 * test/key-listener-test.c:
4562 Added test for Alt-Tab key using "string" specification of keyset,
4563 and modified one of the tests to use a keycode-based keyset.
4564 Thus this test both tests and demonstrates the creation and use of
4565 keysets of three forms: specified via keycode array,
4566 keysym array, and string array. (The string case only contains a
4567 single string, i.e. a string array of length 1).
4570 Turned on PRINT_TREE option by default. Also fixed a
4571 string-freeing bug in the PRINT_TREE code.
4572 Added a listener to window:minimize events.
4574 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4576 * atk-bridge/bridge.c:
4577 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4578 for window:activate and window:deactiveate
4579 (atk_bridge_property_event_listener atk_bridge_signal_listener
4580 atk_bridge_window_event_listener) Tidy debug code
4582 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4584 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4585 Fixed handling for NULL return value from ATK.
4587 * libspi/action.c libspi/component.c libspi/editabletext.
4588 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4589 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4590 Removed redundant casts.
4592 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4593 Fixed off by one bug.
4595 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4596 function not present in idl)
4598 2002-05-02 jacob berkman <jacob@ximian.com>
4600 * atk-bridge/Makefile.am: make atk-bridge a real module
4602 2002-04-26 Radek Doulik <rodo@ximian.com>
4604 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4605 atk_state_types table
4607 2002-04-22 jacob berkman <jacob@ximian.com>
4610 * libspi/Makefile.am: add deps on the built files to help
4611 automake, and don't version the ORBit typelib
4613 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4615 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4616 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4617 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4618 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4619 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4620 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4621 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4622 libspi/accessible.h libspi/accessible.h libspi/base.h
4623 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4624 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4625 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4626 libspi/spi-private.h libspi/statetset.h libspi/table.h
4627 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4628 util/mag_client.h util/mag_control.c util/mag_image.c
4629 util/mag_image.h util/magnifier.c util/magnifier.h:
4630 Add missing file headers; standardize existing ones
4632 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4634 * atk-bridge/bridge.c: Added window event support.
4636 2002-04-18 Michael Meeks <michael@ximian.com>
4638 * libspi/relation.c (impl_getNTargets): impl.
4639 (impl_getTarget): impl.
4641 * libspi/Makefile.am: fix stateset install.
4643 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4646 Started putting useful info in this file.
4648 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4650 * atk-bridge/bridge.c:
4651 Propagate state-changed notifications to ATs
4653 * cspi/spi_registry.c: update docs to reflect actual behavior of
4654 state-change events.
4656 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4659 Incremented version to 0.12.1
4661 * util/mag_client.h:
4662 Add missing declaration for magnifier_exit,
4663 used by mag_control.c - Forte compiler didn't like
4664 the implicit redeclaration of the function :-(
4667 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4670 Revved version to 0.12 due to API change (see below).
4672 * cspi/spi-roletypes.h:
4673 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4674 definition from the inline docs, and added docs
4675 for SPI_ROLE_LAST_DEFINED.
4678 * cspi/spi_streamablecontent.c:
4679 Added missing seek_type parameter to
4680 (so far unused) method,
4681 AccessibleStreamableContent_seek().
4682 [ RT approval JodyG. ]
4685 Fixed docs for SPI_createAccessibleKeystrokeListener.
4687 * cspi/spi_registry.c:
4688 Fixed docs for SPI_KEYSET_ALL_KEYS.
4690 * docs/reference/cspi/at-spi-cspi-sections.txt:
4691 Added a number of missing APIs to SECTIONS.
4693 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4695 * registryd/Makefile.am:
4697 * cspi/bonobo/Makefile.am:
4698 Add $(X_LIBS) to makefiles.
4700 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4703 Revved version to 0.11.
4705 * libspi/component.c:
4706 Added implementation for grabFocus.
4708 * idl/Accessibility_Component.idl
4709 (Accessibility_Component_grabFocus):
4710 Made this method return boolean to indicate success or failure, to
4711 be consistent with cspi and the corresponding ATK method.
4713 * idl/Accessibility_Selection.idl
4714 (Accessibility_Selection_selectAll) :
4715 Made these methods return boolean to indicate success or
4716 failure, to be consistent with cspi and the corresponding ATK methods.
4718 * idl/Accessibility_EditableText.idl
4719 (Accessibility_EditableText_setTextContents,
4720 Accessibility_EditableText_insertText,
4721 Accessibility_EditableText_cutText,
4722 Accessibility_EditableText_deleteText,
4723 Accessibility_EditableText_pasteText):
4724 Made these methods return boolean to indicate
4727 * cspi/spi_editabletext.c:
4728 Made these methods return booleans.
4730 * libspi/selection.c:
4731 * libspi/component.c:
4732 * libspi/editabletext.c:
4733 Connected the boolean returns from ATK
4734 to the server-side code referenced above.
4736 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4738 * idl/Accessibility_Table.idl: Added missing methods,
4739 Accessibility_Table_addRowSelection,
4740 Accessibility_Table_addColumnSelection,
4741 Accessibility_Table_removeRowSelection,
4742 Accessibility_Table_removeColumnSelection.
4745 Added C wrappers for above IDL:
4746 AccessibleTable_addRowSelection,
4747 AccessibleTable_addColumnSelection,
4748 AccessibleTable_removeRowSelection,
4749 AccessibleTable_removeColumnSelection.
4752 Added server-side implementation code for IDL above, connecting
4753 to pre-existing ATK api.
4755 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4757 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4759 * libspi/accessible.c: Added implementation fo
4760 Accessibility_Accessible_get_state.
4762 * libspi/libspi.h: Added stateset.h to the list of includes.
4764 * libspi/stateset.c: Fixed broken implementation.
4766 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4769 Added implementation code for Accessibility_Magnifier_exit ().
4771 * util/mag_control.c:
4772 Added test code for above method; you can
4773 now kill an existing magnifier via
4774 ./mag_control q, from the util directory.
4776 * test/key-listener-test.c:
4778 Added a new test, for our key listener API.
4780 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4782 * test/app.c, test/keysynth-demo.c:
4784 Replace use of snprintf with g_snprintf.
4785 (fix for bugzilla 78249)
4787 2002-03-27 Michael Meeks <michael@ximian.com>
4791 * util/Makefile.am (INCLUDES): fix.
4792 (DONT_DIST_SOURCE): don't distribute the
4795 * libspi/Makefile.am (dist-hook): ditto.
4797 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4799 * libspi/hypertext.c:
4800 Fix warnings when yelp is used with atk-bridge
4802 2002-03-21 Michael Meeks <michael@ximian.com>
4804 * libspi/application.c (spi_application_new):
4805 use spi_accessible_construct so we use the AtkObject
4808 2002-03-19 Michael Meeks <michael@ximian.com>
4810 * registryd/registry.c (desktop_remove_application),
4811 (desktop_add_application): clean coding style.
4813 * registryd/desktop.c (spi_desktop_remove_application),
4814 (spi_desktop_add_application): kill re-enterency hazards.
4815 (spi_desktop_dispose): remove bogus redundant cast
4816 obscuring bug; fix bug too.
4817 (spi_desktop_init): make the desktop object immortal.
4819 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4822 Added a #define-guarded tree-traversal step
4823 when enumerating the apps (diagnostic tool).
4825 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4827 * idl/Accessibility_Role.idl:
4828 Added ROLE_DRAWING_AREA which seemed to be missing from the
4831 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4833 * cspi/spi-roletypes.h cspi/spi_accessible.c
4834 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4837 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4838 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4839 AT when applications are added and removed from the desktop. This
4840 reverts the previous broken implementation using the backing
4841 AtkObject for the SpiDesktop.
4843 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4845 * registryd/desktop.c: emit the "children-changed::add" and
4846 "children-changed::remove" signals on the backing ATK object for
4847 the desktop so AT can tell when applications are started and shut
4850 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4852 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4854 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4856 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4858 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4860 * cspi/state-types.h: synched with IDL and ATK
4862 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4864 * libspi/accessible.c
4865 (impl_accessibility_accessible_get_child_at_index):
4866 Change return value for g_return_if_fail ()
4867 to CORBA_OBJECT_NIL instead of "0" (!)
4869 * registryd/Makefile.am:
4870 * registryd/Accessibility_Register.server.in:
4871 Changed name of executable, "registryd",
4872 to something more informative:
4875 2002-03-13 Michael Meeks <michael@ximian.com>
4877 * atk-bridge/bridge.c (atk_bridge_init): don't register
4878 if we're in a bonobo-component, rather than a bonobo app.
4880 2002-03-13 Michael Meeks <michael@ximian.com>
4882 * atk-bridge/bridge.c (gtk_module_init): split
4883 out body to (atk_bridge_init): here, since otherwise
4884 we get symbol conflicts and oddness when invoked
4885 from (gnome_accessibility_module_init): here (upd.)
4887 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4890 New file. Explicitly allow "build sheriff" putbacks provided
4891 they are tested on Solaris.
4893 * docs/reference/cspi/Makefile.am:
4894 Added '-' to the "cp" command for index.sgml.
4895 ("patch by thomasvs, soon coming to a GUADEC near you")
4898 Incremented version number (0.9.0) for new release.
4899 Changed macro that checks for popt, to better detect
4900 obsolete versions of popt.
4903 Added X_LIBS to AC_SUBST, for applications
4904 that call Xlib API directly.
4907 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4910 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4913 Fix regression caused by hard-coding major
4914 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4917 * test/test-simple.c (test_editable_text),
4918 (test_test): revert previous change (error was
4919 a regression in gail which is now fixed).
4921 2002-03-04 Michael Meeks <michael@ximian.com>
4923 * test/test-simple.c (test_editable_text),
4924 (test_text): pass G_MAXINT instead of '-1' for
4925 whole string - is this a good thing !?
4927 * cspi/spi_accessible.c
4928 (Accessible_getRelationSet): fix crasher bug
4929 overwriting the end of the array.
4931 * test/test-simple.c (validate_accessible): free,
4932 not g_free returned relation set.
4934 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4936 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4937 implemented stateset support
4939 * idl/Accessibility_State.idl: Made necessary changes to
4940 the IDL to support state sets.
4942 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4944 * registryd/deviceeventcontroller.c:
4945 Added implementation for generateMouseEvent.
4947 * cspi/spi_registry.c:
4948 Connected new implementation for generateMouseEvent
4951 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4954 Incremented revision (but no change in public API
4955 outside of 'utils', which are not installed public yet.)
4957 * libspi/component.c:
4958 Changed to use atk_component API for layers and
4959 mdi_zorder, instead of deprecated atk_object API.
4961 Magnification Utility Enhancements:
4964 Added implementation of createZoomRegion, clearAllZoomRegions,
4965 resizeZoomRegion. Added new commandline argument
4966 "--no-initial-region". Note that clearAllZoomRegions doesn't
4967 unmap the old '0' region as it should (yet), and the other
4968 methods only work when creating/resizing a single region,
4969 which is "region 0".
4970 (Code for multiple region support will be added later.)
4973 Now we raise the magnifier window each time it's refreshed;
4974 this will help keep it on top.
4976 * util/mag_client.h:
4977 Added simple wrappers for above, used by mag_control.
4978 For general use, it's recommended to use the bonobo magnifier
4979 control API directly instead of using these wrappers.
4982 Moved ZoomRegionData from magnifier.c to this file.
4984 * util/mag_control.c:
4985 Added some code to exercise new IDL implementations.
4987 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4989 * libspi/text.c: Provide implementation for getAttributes.
4991 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4994 Incremented revision.
4996 * test/test-simple.c:
4997 Replaced use of deprecated g_main_iteration with
4998 g_main_context_iteration.
5000 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
5003 Incremented revision for desktop alpha 2.
5005 2002-01-28 Mark McLoughlin <mark@skynet.ie>
5007 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
5010 * test/simple-at.c: include netinet/in.h.
5012 2002-01-24 Mark McLoughlin <mark@skynet.ie>
5014 * cspi/spi_accessible.c: (Accessible_getRelationSet):
5015 use NULL, not CORBA_OBJECT_NIL.
5017 * libspi/accessible.c:
5018 (impl_accessibility_accessible_get_relation_set):
5019 allocate the sequence correctly.
5021 * libspi/remoteobject.h: kill spi_remote_object_new.
5023 * test/test-simple.c: (validate_accessible): add code
5024 to test relation sets, now all we need is to figure
5025 out how to excercise this code path :/
5027 2002-01-18 Michael Meeks <michael@ximian.com>
5029 * test/test-simple.c
5030 (key_listener_cb): consume the key.
5031 (test_keylisteners): update.
5032 (main): wait for any pending unrefs on events.
5034 * registryd/deviceeventcontroller.c
5035 (spi_controller_update_key_grabs): only re-issue the
5036 grab on a key release.
5037 (spi_device_event_controller_forward_key_event):
5038 refresh the keygrabs before we notify the listeners,
5039 to reduce the X ungrab / re-grab race.
5040 (spi_controller_register_with_devices): remove
5041 XSelectInput - we do that with the gdk_window_ call.
5042 (_spi_controller_device_error_handler): return a value.
5043 s/GDK_DISPLAY/spi_get_display/
5045 2002-01-17 Michael Meeks <michael@ximian.com>
5047 * registryd/deviceeventcontroller.c
5048 (_deregister_keygrab): don't blow out the later
5051 * test/test-simple.c (test_keylisteners): do a
5052 more intelligent validation.
5054 2002-01-14 Michael Meeks <michael@ximian.com>
5056 * atk-bridge/bridge.c
5057 (gnome_accessibility_module_init),
5058 (gnome_accessibility_module_shutdown): impl.
5059 (gtk_module_init): protect vs. double inits.
5060 (add_signal_listener): impl.
5061 (spi_atk_bridge_state_event_listener): kill
5062 (deregister_application): split out of
5063 (spi_atk_bridge_exit_func): here.
5065 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5068 Added caret tracking when using magnifier, and
5069 now use text bounds for focus tracking of text elements, rather than
5070 the component bounds - this is helpful for short text fields in long
5071 table cells, at high magnification.
5073 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5075 * registryd/deviceeventcontroller.c:
5076 Regression fix for keylistener de-registration; global keygrabs
5077 were not being released when deregisterKeystrokeListener was
5078 called in cspi, since
5079 Accessibility_DeviceEventController_deregisterKeystrokeListener
5080 was called with a zero-length keyset. That is because the cspi
5081 method, SPI_deregisterKeystrokeListener, does not take a keyset
5082 parameter but instead should remove all the key grabs held be a
5084 The code in impl_deregister_keystroke_listener was changed to copy
5085 the keylist from the listener instance previously registered with
5086 the DeviceEventController before releasing the grabs.
5088 * registryd/registry.c:
5089 * registryd/deviceeventcontroller.c:
5090 * libspi/spi-private.h:
5092 Changed spelling of "re-enterant" to "re-entrant" globally.
5094 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5096 * test/test-simple.c:
5097 Changed key listeners test - the test was slightly mis-using the
5098 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5099 It now uses '=' as the key event listened to and generated,
5100 relying on a keysym match rather than assuming that keycode 33
5101 is always equal to keysym '!'.
5103 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5106 Changed simple-at to use a specific keyset, rather than
5107 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5108 manager, desktop, etc.
5110 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5112 * registryd/deviceeventcontroller.c:
5113 Replaced standard X error handler with a special handler that
5114 is non-fatal for failed keygrabs. This works around
5115 problems with keygrab clashes sometimes observed on
5117 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5118 mouse handling code as yet).
5120 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5123 Incremented revision for desktop alpha release.
5126 Fixed a couple of the more glaring errors (still not
5129 2002-01-11 Michael Meeks <michael@ximian.com>
5131 * registryd/deviceeventcontroller.c
5132 (spi_device_event_controller_forward_key_event): kill
5133 XUngrabKey / XKeyGrab race.
5134 (spi_controller_grab_keyboard): rename to
5135 (spi_controller_update_key_grabs): this, and deal
5136 with incremental adding / removing grabs more
5138 (_register_keygrab): ensure we're not pending a remove.
5139 (spi_grab_mask_free): impl.
5140 (spi_controller_register_global_keygrabs): split out
5142 (handle_keygrab): impl.
5143 (_deregister_keygrab): impl.
5144 (spi_controller_deregister_global_keygrabs): impl.
5145 (spi_controller_update_key_grabs): re-issue the grab if
5146 we just recieved a notification.
5148 * test/test-simple.c (key_listener_cb): remove debug.
5150 * registryd/deviceeventcontroller.c
5151 (spi_controller_register_device_listener): after
5152 registering a global keygrab, actualy register it !
5153 don't wait for a timeout; doh !
5155 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5156 to make it more readable / manipulable.
5157 s/grabmask/grab_mask/ s/refcount/ref_count/
5158 s/keyval/key_val/ s/modmask/mod_mask
5160 2002-01-08 Michael Meeks <michael@ximian.com>
5162 * registryd/deviceeventcontroller.c
5163 (spi_controller_register_with_devices): use gdk calls to
5165 (global_filter_fn): implement the filter.
5166 (spi_device_event_controller_check_key_event): rename to
5167 (spi_device_event_controller_forward_key_event): this & upd.
5168 (spi_get_display): replace with GDK_DISPLAY.
5170 * registryd/deviceeventcontroller.c
5171 (spi_controller_deregister_device_listener): unroll into
5172 (impl_deregister_keystroke_listener): here to simplify.
5173 (spi_controller_register_global_keygrabs): split cut and
5174 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5175 (spi_controller_deregister_device_listener): remove.
5176 (impl_register_mouse_listener): remove, no mouse listener
5177 support in at-spi-1.0
5179 * registryd/registry.c
5180 (_device_event_controller_hook): kill.
5181 (spi_registry_init): upd.
5183 * registryd/deviceeventcontroller.c
5184 (spi_device_event_controller_class_init): upd.
5185 (spi_check_key_event): merge into.
5186 (spi_device_event_controller_check_key_event):
5187 here and kill strange static ev init, don't leak
5188 the x_event - nor dynamicaly allocate it.
5190 * registryd/registry-main.c (main): re-direct
5191 timeout to remove strange vtable mess.
5193 * registryd/deviceeventcontroller.c
5194 (remove_listener_cb): impl.
5195 (spi_controller_deregister_device_listener):
5196 fix re-enterancy hazard.
5198 2002-01-07 Michael Meeks <michael@ximian.com>
5200 * registryd/deviceeventcontroller.c
5201 (spi_device_event_controller_new): upd.
5202 (impl_notify_listeners_sync): upd. debug.
5203 (spi_notify_keylisteners): fix re-enterancy hazards,
5204 prettify, remove O(n*n) iteration.
5205 (spi_controller_grab_keyboard): fix iteration.
5206 (spi_check_key_event): re-format to suit coding style.
5207 Clean all the warnings - we're warning free.
5209 * registryd/deviceeventcontroller.h:
5210 * registryd/registry.h: make mutualy referential with
5211 typesafe forward references instead of (!) void pointer
5214 2002-01-11 Michael Meeks <michael@ximian.com>
5216 * cspi/spi_accessible.c (role_names): add a role name
5217 to sync this array with the enum; and make the regression
5220 2002-01-10 Michael Meeks <michael@ximian.com>
5222 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5223 allow expansion of enumeration & kill warning.
5225 * test/test-simple.c (key_listener_cb): impl.
5226 (test_keylisteners): impl.
5228 * cspi/spi-listener.h: make listener signatures const
5229 on the provided (const) events.
5231 * test/keysynth-demo.c: upd. to const events.
5233 * test/simple-at.c: ditto.
5235 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5238 Rev the version to 0.5 (the previous tarball was named 0.4,
5239 even though the micro number was 3), so we need to rev upwards
5240 again for beta2/"desktop-alpha"
5243 Checked in a demo script, which requires editing before use!
5244 Proceed with caution.
5247 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5249 * cspi/spi_accessible.c:
5250 Add a couple of missing enum initializations, and fix some enum
5253 * cspi/spi_registry.c:
5254 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5256 * docs/reference/cspi/at-spi-cspi-sections.txt:
5257 Remove/fix a couple of broken document references.
5260 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5261 as Alt-Control to listen for commands, since on some systems
5262 Control-Alt may already be grabbed.
5264 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5267 Update version number to 0.4 for Beta2.
5269 * libspi/accessible.c, libspi/accessible.h:
5270 Expose spi_accessible_construct, to enable libgail-gnome
5271 construction from spi_accessible subtype.
5273 * utils/magnifier.c:
5274 Workaround for bug in some non-gnome-compliant window managers
5275 which made magnifier resize improperly.
5277 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5279 * libspi/accessible.c: (spi_accessible_new) :
5280 Move the test for SPI_IS_REMOTE_OBJECT to
5281 spi_accessible_new_return, fixing a bug and compile time warning.
5283 2002-01-08 Michael Meeks <michael@ximian.com>
5285 * registryd/registry.c (parse_event_type): remove strndup.
5287 * libspi/Makefile.am (libspi_la_SOURCES): remove
5288 sources already included in the headers section.
5290 * libspi/util.c: add.
5292 * libspi/spi-private.h: add.
5294 * registryd/registry.c: update to moved list iterators.
5296 2002-01-05 Michael Meeks <michael@ximian.com>
5298 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5300 * test/test-simple.c (main): ditto.
5302 2002-01-04 Michael Meeks <michael@ximian.com>
5304 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5305 redundant construct.
5307 * registryd/registry.c
5308 (get_listener_list): impl.
5309 (impl_accessibility_registry_register_global_event_listener):
5310 re-impl. to simplify using ~, remove dodgy const cast off.
5311 (parse_event_type): constify.
5312 (impl_accessibility_registry_deregister_global_event_listener_all):
5313 re-write, more efficiency and simplicity, kill re-enterancy
5315 (compare_listener_corbaref, compare_corba_objects),
5316 (compare_listener_quarks): define out.
5317 (impl_accessibility_registry_deregister_global_event_listener):
5318 re-write for effiency, and nail re-enterancy hazard.
5319 (impl_accessibility_registry_get_desktop_list): impl.
5320 (re_enterant_list_delete_link): impl.
5321 (re_enterant_list_foreach): impl.
5322 (remove_listener_cb): impl.
5323 (_registry_notify_listeners): kill.
5324 (notify_listeners_cb): impl.
5326 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5327 (SPI_getDesktopList): impl.
5329 * test/test-simple.c (test_desktop): test the methods.
5331 2002-01-03 Michael Meeks <michael@ximian.com>
5333 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5334 keystrings since we free them
5335 (SPI_freeAccessibleKeySet): in here.
5337 * libspi/accessible.c (spi_accessible_new): kill warning,
5338 wonder what is going on with the constructor here.
5340 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5342 * libspi/accessible.c (spi_accessible_new ()) :
5343 Added check to see if AtkObject is an SpiRemoteObject before
5344 creating an SpiAccessible.
5346 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5348 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5349 Enable keygrabs using the Control modifier, now that they are
5350 working properly (they were previously disabled).
5353 Change the command keygrab for this demo to "Control+Alt", so as
5354 to conflict with fewer other key commands on the system; this
5355 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5357 Removed a pointlessly-chatty keylistener for unshifted keys
5358 (shifted keys are still reported).
5360 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5362 * libspi/remoteobject.h:
5363 * libspi/remoteobject.c:
5364 Added definitions for special AtkObject subtype, required for
5365 support of remote components (specifically, used by BonoboControl
5366 accessibility implementation).
5368 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5370 * cspi/spi.h: synched relation types with ATK
5372 * cspi/spi_accessible.c: Added implementations of
5373 AcccessibleRelation_* methods
5375 * idl/Accessibility_Relation.idl: added getRelationTypeName
5376 method. Synched known relation types with ATK. Allowed for
5377 relation type extension with the RELATION_EXTENDED type.
5379 * libspi/relation.c: Provided implementations for
5380 AccessibleRelation methods.
5382 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5384 API tweaks for today's API 'freeze'.
5387 Added placeholder functions to allow future compatible expansion
5388 of the IDL interfaces.
5390 * idl/Accessibility_Registry.idl:
5391 Changed generateKeyEvent to generateKeyboardEvent. Changed
5392 signature of this method to accept an optional keystring in
5393 parameter (for complex text input synthesis) and changed use of
5394 simple 'boolean' parameter in registerKeystrokeListener to a
5395 struct, EventListenerMode.
5397 * cspi/spi_accessible.c:
5399 * cspi/spi_streamablecontent.c:
5400 Added references to AccessibleStreamableContent interface, and
5401 definition and implementation of AccessibleStreamableContent
5404 * cspi/spi_registry.c:
5406 Changed generateKeyEvent API to generateKeyboardEvent,
5407 taking a new (optional) keystring parameter to support complex
5412 Renamed directory (to better reflect its actual purpose, bridging
5413 from at-spi to ATK). The .so module is also now named
5416 * idl/Accessibility_Hypertext.idl:
5417 * libspi/accessible.c:
5418 * libspi/hypertext.h:
5419 * libspi/hypertext.c:
5420 Changed Accessibility_Hypertext to *not* derive from
5423 * cspi/spi_registry.c:
5424 Added list of legal event type names for 'window' events, which
5425 completes the registry event API.
5427 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5429 * at-bridge/bridge.c: Added registration for separate
5430 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5431 signals. If either of the first two parameters to the generic
5432 bridge signal handler are ints, they are passed on as event
5433 details. This allows an AT to determine what text was inserted.
5435 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5437 * registryd/deviceeventcontroller.c:
5438 Fixed regressions in generateKeyEvent caused by the removal of
5439 gdk_init from registryd; we now use pure X calls to connect to the
5440 display, which makes sense because deviceeventcontroller already
5441 uses a fair bit of X API (should eventually be migrated to a
5442 'portability layer').
5444 * registryd/desktop.c:
5445 Fixed minor regression in spi_desktop_init, changed the way the
5446 desktop name is being set to work with new spi_base API
5447 (gobject-based, rather than AtkObject-based).
5449 * registryd/Makefile.am:
5450 Minor revision of makefile to use XTST_LIBS variable rather than
5451 hard-wiring the Xtst LD_ADD element.
5453 * test/keysynth-demo.c:
5454 Tweaked an output message; added initialization of the
5455 'keystrings' member of the "switch listener" key_set.
5457 * libspi/relation.c:
5458 Squashed compile-time warning.
5460 * libspi/accessible.c:
5461 Cosmetic and formatting fixes, renamed a static method.
5463 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5465 * libspi/accessible.c
5467 * libspi/application.c
5470 * libspi/component.c
5471 * libspi/editabletext.c
5472 * libspi/hyperlink.c
5473 * libspi/hypertext.c
5475 * libspi/selection.c
5479 * registryd/desktop.c:
5480 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5482 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5484 * idl/Accessibility_Registry.idl:
5485 Added boolean member 'is_text' to DeviceEvent. This is for the
5486 use of key events, and helps prevent ambiguity between composed
5487 key strings and keysym names, since both may potentially be
5488 returned in the 'event_string' member.
5490 * at-bridge/bridge.c:
5491 * registryd/deviceeventcontroller.c:
5492 Use the 'is_text' member when notifying device event listeners.
5493 Knon issue: composed characters are not dealt with correctly by
5494 the global key listener implementation yet.
5496 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5498 * at-bridge/bridge.c:
5499 Namespaced local static methods to spi_atk_bridge_* where
5500 previously named bridge_*, and spi_* elsewhere.
5502 * at-bridge/bridge.c:
5503 * cspi/bonobo/cspi-bonobo-listener.c:
5504 Added demarshalling/conversion for string member of
5505 Accessibility_DeviceEvent to AccessibleKeystroke.
5507 * registryd/deviceeventcontroller.c:
5508 Added code to fill the Accessibility_DeviceEvent key string value
5509 member for global key events (i.e. from XGrabKey), to match
5510 behavior of Accessibility_DeviceEvent from the toolkit key events
5511 from the bridge. Fixed timestamp in global key event notifications.
5514 Added printout of key event's string value to
5515 report_ordinary_key_event, for demo/debugging purposes.
5517 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5519 * idl/Accessibility_Registry.idl:
5520 Removed Accessibility_KeyStroke structure in favor of generic
5521 Accessibility_DeviceEvent structure.
5522 Changed Accessibility_ControllerEventMask from a struct to an
5525 * at-bridge/bridge.c:
5526 Changed APIs to use DeviceEvent structure as above, and removed
5527 bogus casting between these event structures.
5529 * cspi/spi-listener.h:
5530 Added keystring member of AccessibleKeystroke structure, to enable
5531 matching on event "names" rather than only hardware codes and
5535 Added keystrings member of AccessibleKeySet struct, to allow
5536 matching on event names (as above).
5537 Added declarations for SPI_createAccessibleKeySet and
5538 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5539 event modmasks directly as unsigned ints rather than structs with
5540 refcounts, in the DeviceEventController methods.
5542 * cspi/spi_registry.c:
5543 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5545 * cspi/spi-roletypes.h:
5546 Added documentation of newly added SPI Roles.
5548 * cspi/bonobo/cspi-bonobo-listener.c:
5549 Changes in support of API changes above.
5551 * libspi/accessible.c:
5552 Converted APIs to use DeviceEvent structure (see IDL changes
5555 * registryd/deviceeventcontroller.c:
5556 Added DEControllerGrabMask structure to track keygrabs not only by
5557 modmask but by keyset as well; this allows us to do "global"
5558 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5559 grabbing on AnyKey and then filtering after-the-fact.
5560 Bugfixes for event filtration mean that we don't get false matches
5561 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5563 * registryd/deviceeventcontroller.c:
5564 Namespaced a number of static methods to use spi_ prefix. Major
5565 revision to internals of global (i.e. X) key grabs.
5567 * registryd/deviceeventcontroller.h:
5568 Removed keymask_list and added keygrabs_list to
5569 SpiDeviceEventController struct.
5572 Added use of SPI_createAccessibleKeySet API when creating a
5573 listener for only one key. Attach a listener to "shift spacebar
5574 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5575 X key event names to SPI key event names, so that listeners are
5576 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5578 * test/keysynth-demo.c:
5579 Changed (incorrect) use of X key event names (KeyPressed,
5580 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5583 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5585 * libspi/accessible.c:
5586 Convert all AtkRole enumerations to Accessibility_Role enums when
5587 getting a role from an AtkObject.
5589 * cspi/spi_accessible.c:
5590 Complete the conversion of Accessibility_Role enums at runtime to
5591 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5592 role enums correctly match those given in spi-roletypes.h.
5593 Re-synchronize the local names list for AccessibleRole_getName ().
5594 AccessibleRole_getName is now deprecated, since it duplicates the
5595 more reliable Accessible_getRoleName.
5596 Added some role types from Accessibility_Role.idl.
5598 * idl/Accessibility_Role.idl:
5599 Added some role types used by AtkRole.
5601 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5604 * cspi/spi_registry.c:
5606 * cspi/cspi-bonobo-listener.c:
5607 Namespaced all methods that did not begin with an "SPI_" or
5608 "Accessible" prefix to "SPI_".
5611 Homogenized internal function namespace to "cspi_" for statics.
5614 Patched tests to use the new CSPI API.
5616 * docs/reference/cspi/at-spi-cspi-sections.txt:
5617 Updated docs to reflect namespace changes, and added a number of
5618 methods to the documentation.
5620 * registryd/registry.c:
5621 Changed use of strings and string hashes in listener event
5622 matching and parse_event_string to use GQuark, which is guaranteed
5625 * registryd/registry.h:
5626 Squashed annoying warning.
5628 * idl/Accessibility_Role.idl:
5629 Extended range of available Accessibility_Role values.
5631 * cspi/spi_accessible.c:
5632 Re-ordered role names.
5634 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5636 * idl/Accessibility_Value.idl:
5637 Revert use of union back to CORBA_double, since the double type is
5638 more efficient and can contain the other types without loss of
5641 * idl/Accessibility_Accessible.idl:
5642 Added method Accessibility:Accessible:getRoleName, to complement
5643 Accessibility:Accessible:getRole.
5645 * cspi/spi_accessible.c:
5647 Added C binding for above, Accessible_getRoleName (), and changed
5648 signature of Accessible_getRole () to return an AccessibleRole.
5650 * cspi/spi-roletypes.h:
5651 Changed AccessibleRole_getName to return a char * instead of a
5652 const char *. This method is now at least temporarily deprecated
5653 in favor of asking Accessibles for their RoleNames directly.
5656 Revert to match Accessibility_Value.idl;
5660 Change signature of AccessibleValue methods to use double rather
5664 * cspi/spi_accessible.c:
5665 Changed Accessible_getRole to return an AccessibleRole enum rather
5666 than a UTF-8 string. The UTF-8 string can still be obtained via
5667 AccessibleRole_getName ().
5669 * test/test-simple.c:
5670 Add test_action. Small fixup to match API change to Accessible_getRole.
5673 Bugfix for get_action_from_servant ().
5675 2001-12-11 Michael Meeks <michael@ximian.com>
5677 * libspi/libspi.h: remove registry.h and
5678 desktop.h, deviceeventcontroller.h
5680 * libspi/Makefile.am: remove registry.[ch],
5681 desktop.[ch], deviceeventcontroller.[ch]
5683 * registryd/Makefile.am: add registry.[ch],
5684 desktop.[ch], rename registryd.c to registry-main.c.
5685 add deviceeventcontroller.[ch]
5687 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5690 Replace setenv() call with putenv ().
5692 * libspi/component.c:
5693 Bugfix in AccessibleComponent_getExtents (),
5696 2001-12-11 Michael Meeks <michael@ximian.com>
5698 * libspi/image.c (impl_getImageExtents): impl.
5699 (spi_image_class_init): upd.
5702 (AccessibleImage_getImageDescription): fix daft bug
5705 * test/test-simple.c (global_listener_cb): update
5706 to only quit if not --poke
5707 (main): catch --poke.
5708 (validate_accessible): upd. dumping, call test_image
5711 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5714 * idl/Accessibility.idl: update all IDL includes.
5716 * idl/*.idl - rename to namespace - this sucks, blame
5717 mjs' bad decision for oafd.
5719 * test/test-simple.c (create_test_window): add more tests.
5720 (create_tree): split this out.
5721 (validate_accessible): bugfix.
5723 2001-12-11 Michael Meeks <michael@ximian.com>
5725 * cspi/bonobo/cspi-bonobo-listener.c:
5726 (cspi_kestroke_listener_unref),
5727 (cspi_event_listener_unref): impl. undoing previous
5728 homenous environment - for Bill.
5730 * cspi/spi_table.c (long_seq_to_array): use
5733 * cspi/spi_main.c: split out all bonoboish bits into
5736 * cspi/spi-impl.h: upd. typedefs.
5738 * cspi/spi_registry.c: update to lowlevel API,
5739 return booleans to indicate success in some places.
5741 * cspi/spi_event.c: update to lowlevel API.
5743 * cspi/bonobo/Makefile.am: add.
5745 * cspi/bonobo/cspi-lowlevel.h: add
5747 * cspi/bonobo/cspi-bonobo.c: add
5749 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5751 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5752 (SUBDIRS): add bonobo, link in the libs.
5754 * cspi/spi-util.c: kill this file.
5756 * TODO: merge in my bits.
5758 2001-12-11 Michael Meeks <michael@ximian.com>
5760 * test/test-simple.c (test_value, test_table, main):
5761 remove unused variables causing warnings.
5763 * configure.in: cleanup checks - require gail.
5765 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5768 Changed Value interface to use SValue (scalars) rather than
5769 assuming all values are floats. This allows floats, doubles,
5770 longs, shorts, and unsigned values to be manipulated.
5771 Introduced Accessibility:SValue union.
5774 Updated to use new API above, and to work correctly with GValues
5775 of different types in AtkValue.
5778 Updated to use new API above. cspi's API is as yet unchanged.
5781 Updated the Value revision action item.
5783 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5785 * test/test-simple.c:
5786 Added test_table (GtkTreeView widget in test window to follow).
5787 Un-commented test_value, added GtkRange widget.
5788 Added GtkTreeView widget with GtkListStore. It passes regression
5789 test but leaks one SPI object for some reason.
5792 Fixed bug in impl__set_currentValue.
5794 2001-12-10 Michael Meeks <michael@ximian.com>
5796 * cspi/spi_text.c: audit for exception handling,
5797 tolerating NULL object references safely etc.
5799 * cspi/spi_value.c: ditto.
5801 * cspi/spi_table.c (AccessibleTable_getSummary),
5802 (AccessibleTable_getAccessibleAt),
5803 (AccessibleTable_getRowHeader),
5804 (AccessibleTable_getColumnHeader),
5805 (AccessibleTable_getCaption): fix bugs hidden by
5807 (long_seq_to_array): impl.
5808 (AccessibleTable_getSelectedRows),
5809 (AccessibleTable_getSelectedColumns): use it.
5811 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5814 Added a TODO list (rough and short for now).
5816 * cspi/spi_hyperlink.c:
5817 * cspi/spi_hypertext.c:
5818 Fixed macro name typos, and remove use of obsolete macro in
5819 AccessibleHyperlink_getLink.
5821 * cspi/spi_action.c:
5822 * cspi/spi_accessible.c:
5823 * cspi/spi_application.c:
5824 * cspi/spi_component.c:
5825 * cspi/spi_selection.c:
5828 Documentation fixes (removed return values from ref/unref methods).
5830 2001-12-10 Michael Meeks <michael@ximian.com>
5832 * cspi/spi_action.c: audit for exception handling,
5833 tolerating NULL object references safely etc.
5835 * cspi/spi_accessible.c: ditto.
5837 * cspi/spi_component.c: ditto.
5839 * cspi/spi_editabletext.c: ditto.
5841 * cspi/spi_hyperlink.c: ditto.
5843 * cspi/spi_hypertext.c: ditto.
5845 * cspi/spi_image.c: ditto.
5847 * cspi/spi_selection.c: ditto.
5849 2001-12-10 Michael Meeks <michael@ximian.com>
5851 * configure.in: use cspi/libspi.pc.in instead.
5853 * Makefile.am (pkgconfig_DATA): upd. to match.
5855 * test/simple-at.c (report_focus_event): kill hacks around
5856 bad return values, use putenv not setenv
5858 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5859 fire ChildGone - I killed it.
5861 * libspi/component.c
5862 (impl_accessibility_component_get_extents): remove
5865 * idl/Accessible.idl: kill ChildGone exception.
5867 * cspi/*.[ch]: kill int return from ref / unref.
5869 * cspi/spi_main.c (cspi_object_add_check): fold into
5870 (cspi_object_add): here.
5872 * cspi/spi_component.c (AccessibleComponent_getExtents):
5873 handle exceptions elegantly.
5875 * cspi/spi-private.h (cspi_check_ev_return),
5876 (cspi_return_if_fail): impl.
5878 * cspi/spi_accessible.c: use extensively.
5879 (AccessibleStateSet_equals): add direct compare check.
5881 * cspi/spi_selection.c: tolerate NULL objs, and check
5882 exceptions before return.
5884 * cspi/spi-util.c (cspi_warn_ev): rename to
5885 (cspi_check_ev): this & don't pass ev in; no point.
5887 2001-12-10 Michael Meeks <michael@ximian.com>
5889 * test/test-simple.c: use putenv not setenv
5890 (get_environment_vars): more chatty if you're not using
5893 * test/simple-at.c: do the setenv so more people see the
5896 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5898 * libspi/registry.c:
5899 Changed check of CORBA_environment on notification to be a warning
5900 instead of an error for the moment, since we can recover from this
5901 error when caused by a queued notification from a dead app.
5904 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5905 used by all current implementors of AtkValue), and coerce to
5906 CORBA_float. (Proper general case fix may require change to Value.idl).
5908 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5912 * cspi/spi_accessible.c:
5913 Documentation fixes: added user_data params to documentation for
5914 listeners and callbacks.
5916 * cspi/spi_accessible.c:
5917 Changed AccessibleStateSet_compare to return a
5918 StateSet rather than return the difference set into a third parameter.
5921 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5924 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5925 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5929 Remove subdirectory po from SUBDIRS for now.
5931 * at-bridge/bridge.c:
5932 Beefed up a couple of debug printouts.
5933 One-line fix for signal notification name formatting.
5935 * libspi/accessible.c:
5936 Added assertion to spi_accessible_new ().
5938 * libspi/application.c:
5939 Put #ifdef qualifiers around a printf.
5942 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5944 * registryd/Makefile.am:
5946 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5947 INTLTOOL_SERVER_RULE macro.
5950 Added an event listener for several ATK signals, for
5951 testing and debugging. Removed a few g_warnings.
5952 Added test output if focussed item implements the Value interface.
5954 * test/test-simple.c:
5955 Added test_value () function (known not to pass at the moment, so
5956 not actually called yet.
5958 2001-12-08 Michael Meeks <michael@ximian.com>
5960 * at-bridge/bridge.c (bridge_focus_tracker),
5961 (emit_eventv): fix the same ref. leak.
5962 (register_atk_event_listeners): don't leak.
5964 * cspi/spi-listener-impl.c (cspi_event): more
5965 protection from client code.
5967 * test/test-simple.c (test_desktop): unref the app.
5969 * test/Makefile.am: upd. TESTS.
5971 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5973 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5975 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5977 * cspi/spi_registry.c: constify in strings.
5978 (deregisterGlobalEventListenerAll): don't release the ref.
5980 * cspi/spi.h: start removing redundant / conflicting
5981 gtkdoc comments, making the API readable at a glance :-)
5983 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5985 * test/keysynth-demo.c (keysynth_exit, main): upd.
5987 * test/simple-at.c (main, simple_at_exit): upd.
5989 * test/test-simple.c (unutterable_horror): kill.
5990 (utterable_normal_derefs): kill.
5991 (main): upd & do a setenv before gtk_init, so that we
5992 can use memprof - and to save the pain of remembering
5993 this, if we're running under memprof - don't exit.
5995 * cspi/spi_main.c (SPI_exit): return exit status
5997 (SPI_event_quit): impl.
5998 (SPI_event_main): simplify.
5999 (cspi_is_gnome_app): kill.
6000 (SPI_init): kill isGNOMEapp arg.
6002 * at-bridge/bridge.c (register_atk_event_listeners):
6003 re-instate the unref.
6004 (bridge_exit_func): don't re-activate the registry,
6005 protect vs. theoretical re-entry, use the
6006 AT_BRIDGE_SHUTDOWN env. var to determine whether to
6007 assert a clean shutdown - for regression tests.
6009 2001-12-08 Abel Cheung <maddog@linux.org.hk>
6011 * configure.in: Comment out dummy i18n support for now,
6012 otherwise it fails to build.
6013 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
6014 EXTRA_DIST. They are missing in tarball.
6016 2001-12-07 Michael Meeks <michael@ximian.com>
6018 * util/magnifier.c: kill bonobo activation reg. race.
6020 * libspi/component.c
6021 (impl_accessibility_component_get_extents): make it match
6024 * libspi/registry.c (_registry_notify_listeners):
6025 re-remove X headers & reconcile conflicts.
6026 (spi_listener_struct_free): bad conflict resolve.
6027 (impl_accessibility_registry_register_application):
6028 more bad merging fixed.
6029 (impl_accessibility_registry_deregister_application): ditto.
6030 (spi_registry_new): ditto.
6031 (spi_registry_init): don't have an applications field.
6033 [ merge fixups2 branch to here ]
6034 2001-12-07 Michael Meeks <michael@ximian.com>
6036 * test/simple-at.c (report_focus_event),
6037 (report_focussed_accessible): remove g_warning debug.
6039 2001-12-07 Michael Meeks <michael@ximian.com>
6041 * test/test-simple.c (validate_tree): comment out some checks.
6042 (test_desktop): app now not registered idly - horay.
6044 2001-12-07 Michael Meeks <michael@ximian.com>
6046 * cspi/spi_registry.c
6047 (registerAccessibleKeystrokeListener): clean, stop it leaking
6048 great swathes of memory, and device event controller references.
6049 ensure we always pass valid sequences.
6050 (deregisterAccessibleKeystrokeListener): ditto.
6051 (generateKeyEvent): upd.
6053 * at-bridge/bridge.c (bridge_key_listener): handle
6054 registry dead exception gracefully.
6055 (bridge_focus_tracker, emit_eventv): free ev.
6057 * test/simple-at.c (report_focus_event): fix polarity.
6059 * libspi/application.c (notify_listeners): kill the ev
6060 argument, and make sure we init the ev we use.
6061 (spi_application_object_event_listener): split out a chunk
6062 (get_atk_object_ref): here & fixup.
6063 (reverse_lookup_name_for_toolkit_event): make const.
6064 (spi_application_toolkit_event_listener): fixup, kill leaks
6067 * at-bridge/bridge.c (register_atk_event_listeners):
6068 don't unref the noop object - causes grief.
6070 * libspi/registry.c: remove the X headers.
6071 turn off the debug churn.
6073 * libspi/accessible.c (spi_accessible_new_return): only
6074 release the ref if we are supposed to [doh]
6076 * test/simple-at.c (report_button_press, report_focus_event):
6077 guard vs. unexpected exit.
6079 * at-bridge/bridge.c (gtk_module_init): prune printf.
6080 (bridge_exit_func): fix app unref.
6082 * libspi/Makefile.am: don't install registry or desktop.h
6084 * libspi/*.h: update includes.
6086 * libspi/application.h: don't include ourself, or
6087 other redundant headers.
6089 2001-12-06 Michael Meeks <michael@ximian.com>
6091 * libspi/accessible.c
6092 (get_accessible_from_servant): impl.
6093 Upd. all CORBA impl.s to use it killing cut and paste.
6095 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6097 (SPI_init): register atexit cleanup handler here.
6099 2001-12-06 Michael Meeks <michael@ximian.com>
6101 * at-bridge/bridge.c (gtk_module_init): g_error on
6102 activation exception
6104 2001-12-06 Michael Meeks <michael@ximian.com>
6106 * at-bridge/bridge.c (gtk_module_init): some sort of
6107 confusing merge clash - reverted.
6108 (bridge_idle_init): ditto.
6110 * test/test-simple.c (main, utterable_normal_derefs):
6111 merge from Bill - somehow not committed.
6113 2001-12-06 Michael Meeks <michael@ximian.com>
6115 * libspi/value.c (spi_value_class_init): upd.
6116 (spi_value_finalize): kill.
6118 * libspi/table.c (spi_table_finalize): kill.
6119 (spi_table_interface_new): upd.
6120 (spi_table_class_init): upd.
6121 (get_table_from_servant): impl.
6122 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6124 * libspi/selection.c (spi_selection_finalize): kill.
6125 (spi_selection_interface_new): upd.
6126 (spi_selection_class_init): upd.
6127 (get_selection_from_servant): impl.
6128 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6130 * libspi/relation.c (spi_relation_finalize): kill.
6131 (spi_relation_class_init, spi_relation_new): upd
6133 * libspi/image.c (spi_image_finalize): kill.
6134 (spi_image_class_init): upd.
6135 (spi_image_interface_new): upd.
6136 (get_image_from_servant): impl.
6137 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6139 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6140 (spi_hyperlink_finalize): kill.
6141 (spi_hyperlink_new): upd.
6142 (get_hyperlink_from_servant): impl.
6143 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6145 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6146 (spi_hypertext_finalize): kill.
6147 (spi_hypertext_class_init): upd.
6148 (get_hypertext_from_servant): impl.
6149 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6151 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6152 (spi_editable_text_interface_new): upd.
6153 (get_editable_text_from_servant): impl.
6154 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6156 * libspi/text.c (get_text_from_servant): impl.
6157 All impls - update to use it killing more cut and paste,
6158 also fix bad string returns on duff args ( a somewhat
6159 impossible case to handle - but hey ).
6160 (spi_text_construct): impl.
6161 (spi_text_interface_new): upd.
6162 (spi_text_object_finalize): kill.
6164 * libspi/component.c
6165 (accessibility_component_object_finalize): kill.
6166 (spi_component_class_init): upd.
6167 (get_component_from_servant): impl. helper to kill cut & paste.
6168 (impl_accessibility_component_contains):
6169 (impl_accessibility_component_get_accessible_at_point):
6170 (impl_accessibility_component_get_position):
6171 (impl_accessibility_component_get_extents):
6172 (impl_accessibility_component_get_mdi_z_order):
6173 (impl_accessibility_component_get_layer):
6174 (spi_component_interface_new): upd.
6176 * libspi/action.c (spi_action_finalize): kill.
6177 (spi_action_class_init): upd. inherit from SpiObject.
6178 (spi_action_interface_new): upd.
6179 (get_action_from_servant): impl. helper to reduce cut & paste.
6180 (impl_getKeyBinding, impl_getName, impl_doAction),
6181 (impl_getDescription): Use it everywhere.
6183 * cspi/spi_main.c (get_live_refs): a pointer hash.
6184 (spi_object_hash, spi_object_equal): comment out.
6185 There are issues with CORBA object hashing that need
6188 * libspi/application.c (spi_application_init),
6189 (spi_application_new): upd.
6191 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6192 (spi_accessible_class_init): upd.
6193 s/accessible/object/ in epv methods.
6195 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6197 * at-bridge/bridge.c:
6198 Reorder the bridge initialization into the bridge gtk_module_init,
6199 an immediate call to bridge_register_app, and an idle_add for
6200 register_atk_event_listeners (the only code that *must* wait until
6201 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6202 the activation, creates the application's Accessible object, and
6203 queues the bridge_idle_init function. Restored call to
6204 Accessibility_Registry_deregisterApplication().
6205 Prior to making this call we obtain a new reference to the
6206 registry, which is a temporary hack that helps us handle apps that
6207 shut down the bonobo mainloop before we get there.
6209 * libspi/registry.c:
6210 Fix string leakage in debug block, and don't segv if a an app
6211 dies before its event notifications have been propagated.
6214 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6215 as stopgap measure until we get proper exception handling when
6216 objects die during or before interrogation.
6220 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6221 Also changed default value of is_gnome_app to TRUE.
6224 * test/keysynth-demo.c:
6225 Changed use of SPI_init and SPI_event_main to reflect API change above.
6228 Made report_focus_event check the warning value from getName
6229 before reporting on focussed accessible; simplifies handling of
6230 notifications from dead objects.
6232 * test/test-simple.c: (Changes not in this patch since source is
6235 2001-12-05 Michael Meeks <michael@ximian.com>
6237 * registryd/registryd.c (main): protect against
6238 bonobo-activation startup race condition.
6240 * cspi/spi_main.c (cspi_object_add_check): cope
6241 with the exception elegantly.
6243 * idl/Accessible.idl: decl. ChildGone
6245 * libspi/desktop.c (spi_desktop_dispose): impl.
6246 (spi_desktop_class_init): upd.
6247 (spi_desktop_add_application),
6248 (spi_desktop_remove_application),
6249 (abnormal_application_termination): impl.
6250 (impl_desktop_get_child_at_index): re-impl.
6253 (impl_accessibility_registry_deregister_application),
6254 (impl_accessibility_registry_register_application):
6255 kill excessive debug clutter.
6257 * test/test-simple.c (test_misc): test some NULL
6258 tolerance. (main): upd.
6260 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6261 implements no interfaces - so let's not crash.
6263 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6265 * libspi/accessible.c (spi_accessible_new_return): impl.
6266 helper to calm the cut and paste, to cope with
6267 NULL AtkObjects effectively and efficiently, and to kill
6268 the referencing bugs.
6270 * libspi/table.c (impl_getAccessibleAt),
6271 (impl_getRowHeader, impl_getColumnHeader): upd.
6273 * libspi/hyperlink.c (impl_getObject): upd.
6275 * libspi/accessible.c
6276 (impl_accessibility_accessible_get_child_at_index): upd.
6278 * libspi/component.c
6279 (impl_accessibility_component_get_accessible_at_point): upd.
6281 * test/test-simple.c (test_editable_text, test_text): impl.
6284 * cspi/spi_editabletext.c
6285 (AccessibleEditableText_insertText): constify.
6287 * test/test-simple.c (focus_me): make more robust.
6289 * libspi/accessible.c: remove some printfs in methods that
6290 we test and work fine, so we can get a clean tree dump.
6292 * test/test-simple.c (validate_accessible),
6293 (validate_tree): make tree dumping pretty too.
6295 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6296 it builds without debug on.
6298 * test/test-simple.c (validate_accessible): fix the most
6301 * cspi/spi_main.c (spi_object_release): leave the nicely
6302 blanked memory around if in debug mode.
6304 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6306 [committed to fixups2]
6307 2001-12-05 Michael Meeks <michael@ximian.com>
6309 * libspi/editabletext.c
6310 (spi_editable_text_class_init): g_type_class_peek_parent,
6311 not interface peek - so we finalize cleanly.
6313 * libspi/accessible.c (spi_accessible_new): kill debug.
6315 * test/test-simple.c (validate_accessible): fix ref.
6316 leak, print strings before freeing them; sigh, comment a
6317 chunk out due to strangeness.
6318 (validate_tree): unref the child after use.
6320 * cspi/spi_component.c (AccessibleComponent_getLayer):
6321 add missing break statement, switch on zlayer not the
6322 uninitialized retval.
6324 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6325 before (possibly re-entering) remote unref.
6327 * test/simple-at.c (main): unref the desktop.
6329 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6332 * cspi/spi_main.c (cspi_accessible_is_a): here to
6333 isolate bonobo API usage more.
6335 * libspi/registry.c (impl_accessibility_registry_register_application):
6336 prune bogus comment.
6338 2001-12-04 Michael Meeks <michael@ximian.com>
6340 * test/test-simple.c (validate_tree): upd.
6341 IndexInParent check to make it more lucid.
6342 (validate_accessible): dump the tree.
6344 * libspi/accessible.c (de_register_public_ref),
6345 (get_public_refs): impl.
6346 (spi_accessible_new): make more efficient & intuitive.
6347 Now IndexInParent check works.
6349 2001-12-04 Michael Meeks <michael@ximian.com>
6351 * cspi/spi-util.h: remove.
6353 * cspi/spi.h: move SPI_freeString here
6355 * libspi/component.c (impl_accessibility_component_get_layer):
6357 (impl_accessibility_component_get_mdi_z_order): ditto,
6358 return -1 on error - is this ok ?
6360 * test/test-simple.c (test_application): impl.
6362 * cspi/spi_accessible.c (Accessible_getApplication),
6363 (Accessible_isApplication): impl.
6365 * libspi/registry.c (spi_listener_struct_free): release
6366 the CORBA reference too.
6368 * libspi/accessible.c
6369 (impl_accessibility_accessible_get_parent): fix ref leak.
6371 * libspi/registry.c (spi_registry_new): make the registry
6372 immortal - we don't want it to go away ever.
6374 * libspi/application.c
6375 (spi_accessible_application_finalize): impl. cleanup.
6377 * cspi/spi_registry.c
6378 (deregisterGlobalEventListenerAll),
6379 (deregisterGlobalEventListener),
6380 (deregisterAccessibleKeystrokeListener): fix ref leak.
6382 * cspi/spi_main.c (SPI_init): remove redundant ref.
6384 * test/test-simple.c (unutterable_horror): impl. to force a
6389 (impl_accessibility_registry_deregister_application): release
6390 the application when we de-register it.
6392 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6393 until we have the infastructure to get it right.
6395 2001-12-03 Michael Meeks <michael@ximian.com>
6397 * libspi/Makefile.am: only build eventlistener.[ch]
6399 * libspi/accessible.c
6400 (impl_accessibility_accessible_get_child_at_index): don't leak.
6402 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6403 before we hit the idle handler.
6405 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6406 debugging than exit.
6408 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6410 * libspi/listener.c (impl_notify_event): check source
6411 not NIL before unref.
6413 * libspi/registry.c (impl_registry_notify_event): ditto.
6415 * libspi/eventlistener.c
6416 (impl_accessible_event_notify_event): unref the source.
6418 * libspi/accessibleeventlistener.c
6419 (impl_accessible_event_notify_event): unref the source.
6421 * idl/Event.idl: remove 'hash_id' attribute - of no
6424 * libspi/application.c (notify_listeners): upd list
6426 (spi_application_object_event_listener),
6427 (spi_application_toolkit_event_listener): upd to do correct
6431 (_registry_notify_listeners): update.
6432 (parse_event_type): this method also leaks like a sieve.
6433 (impl_accessibility_registry_deregister_global_event_listener):
6434 fix ETYPE_WINDOW case.
6436 * libspi/application.c
6437 (impl_accessibility_application_register_object_event_listener):
6440 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6442 * libspi/hypertext.c (impl_getLink): ditto.
6444 * cspi/spi_main.c (cspi_object_add): remove
6445 bogus CORBA_Object_duplicate.
6447 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6450 * cspi/spi_accessible.c
6451 (Accessible_getRelationSet): fix leak / referencing issue.
6453 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6454 (cspi_object_add, cspi_object_unref): upd.
6455 (spi_object_release, get_live_refs): impl.
6456 (cspi_cleanup): simplify.
6458 * *.[ch]: s/boolean/SpiBoolean/
6460 * cspi/spi_accessible.c (role_names): actualy order so it
6461 corresponds with the enum !
6463 * test/test-simple.c (test_roles): check some role strings
6464 vs. enums to detect offset errors.
6466 2001-12-01 Michael Meeks <michael@ximian.com>
6468 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6470 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6472 (Accessible_getChildAtIndex): use cspi_add_check so we
6473 check the ev before using a (possibly) invalid value.
6475 * libspi/accessible.c
6476 (impl_accessibility_accessible_get_parent): don't segv
6479 * at-bridge/bridge.c (gtk_module_init): upd.
6480 (bridge_property_event_listener): don't leak strings
6482 (bridge_state_event_listener),
6483 (bridge_property_event_listener): don't use a static
6484 buffer in case of recursive event emission &
6485 re-enterancy - split out the swathe of cut and paste
6487 (emit_eventv): and fix 2 ref leaks here & comply to the
6489 (bridge_register_app): rename to
6490 (bridge_idle_init): this and kill arg parsing, split
6491 various inits & bonobo-activation registration to module
6492 init time, kill referencing error.
6493 (bridge_exit_func): fix the same leak.
6494 (bridge_focus_tracker): don't leak event structures
6496 (bridge_signal_listener): more leakage and cut & paste
6498 (bridge_key_listener): return the result - FIXME is
6499 this polarity correct ?
6500 (accessibility_keystroke_from_atk_key_event): rename
6501 (accessibility_init_keystroke_from_atk_key_event): and stop
6503 (gtk_module_init): return a value - not that it is checked by
6505 (bridge_key_listener): register my horror at casting between
6506 IDL defined structs.
6507 (bridge_get_registry): kill - not used.
6509 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6511 * test/test-simple.c (test_roles): impl.
6512 (test_desktop, validate_accessible, validate_tree): impl.
6514 * cspi/spi_accessible.c (role_names): fixup bogus
6515 MAX_ROLES setup, make constants const for efficient linkage
6516 (AccessibleRole_getName): conform to coding style, make
6519 2001-11-30 Michael Meeks <michael@ximian.com>
6521 * cspi/spi.h: add missing prototype.
6523 * libspi/registry.c (spi_listener_struct_new): fix sig.
6525 * test/Makefile.am: add test-simple
6527 * test/test-simple.c: add
6529 * test/test.sh: add.
6531 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6533 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6534 do it straight - since otherwise we often get an activation race.
6536 [ work before Bill duplicated a chunk of it ... ]
6537 2001-11-30 Michael Meeks <michael@ximian.com>
6539 * libspi/keystrokelistener.c
6540 (spi_keystroke_listener_class_init): fixup arg
6543 * libspi/eventlistener.c
6544 (spi_event_listener_class_init): ditto.
6546 * tests/test.sh: add.
6548 * cspi/spi-listener-impl.h: update macros.
6550 * cspi/spi-listener-impl.c
6551 (cspi_event_listener_remove_callback): add
6552 correct pre-conditions.
6554 * cspi/spi_main.c (SPI_exit): guard vs. double
6555 exits, exit the mainloop nicely.
6556 (SPI_event_main): make more sense.
6557 (SPI_init): move the atexit evilness here so we
6558 always do it (yuck).
6559 (SPI_event_main): upd.
6561 * test/simple-at.c: update for listener changes.
6563 * registryd/registryd.c (main): prune kruft.
6565 * libspi/libspi.h: upd.
6567 * libspi/eventlistener.[ch]: rename broken macros.
6569 * libspi/accessibleeventlistener.[ch]: remove.
6571 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6573 * test/test-simple.c: Add - automated tests.
6575 * cspi/spi-listener-impl.c (cspi_event),
6576 (cspi_key_event): add user_data to invoke.
6577 (cspi_keystroke_listener_finalize): impl.
6578 (cspi_keystroke_listener_class_init): upd.
6581 (createAccessibleEventListener),
6582 (AccessibleEventListener_addCallback),
6583 (createAccessibleKeystrokeListener),
6584 (AccessibleKeystrokeListener_addCallback): upd.
6586 * libspi/deviceeventcontroller.c
6587 (spi_device_event_controller_check_key_event): add public proto.
6590 (impl_accessibility_registry_deregister_global_event_listener):
6591 always init listeners.
6592 (_registry_notify_listeners): yes it is.
6594 * cspi/spi-listener-impl.c (cspi_key_event):
6596 (cspi_event_listener_finalize): impl.
6597 (cspi_event_listener_class_init): hook up.
6598 (event_handler_new, event_handler_free),
6599 (event_list_remove_by_callback): impl.
6600 (cspi_event_listener_remove_callback),
6601 (cspi_keystroke_listener_remove_callback),
6602 (cspi_keystroke_listener_add_callback),
6603 (cspi_event_listener_add_callback): upd.
6605 * libspi/keystrokelistener.c
6606 (keystroke_listener_object_finalize): kill
6607 (spi_keystroke_listener_class_init): upd.
6608 (spi_keystroke_listener_add_callback),
6609 (spi_keystroke_listener_remove_callback): kill,
6611 (impl_key_event): prune drasticaly.
6613 * libspi/eventlistener.c
6614 (spi_event_listener_add_callback),
6615 (spi_event_listener_remove_callback): kill, use
6617 (impl_accessible_event_notify_event): upd.
6618 (spi_event_listener_object_finalize): remove.
6620 * libspi/Makefile.am: use eventlistener.[ch]
6622 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6624 * libspi/registry.c (_registry_notify_listeners):
6625 Changed listener loop iteration to use preferred convention.
6626 Got rid of string memory leaks caused be calling g_strconcat
6627 inside function calls.
6629 * libspi/registry.c (parse_event_type):
6630 Stopped g_strconcat memory leaks, free the g_strsplit return,
6631 g_strdup the split pieces when used, etc.
6633 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6636 Change method 'compare' to return a 'difference set' rather than
6637 taking a StateSet as an out parameter (more Java-friendly).
6639 * idl/Accessible.idl:
6640 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6642 * idl/Component.idl:
6644 Changed methods 'getExtents' and 'getImageExtents' in these
6645 interfaces to return a BoundingBox structure.
6646 (getPosition and getSize are redundant and possibly should be
6647 removed, rather than creating a corresponding Point struct.)
6649 * cspi/spi_component.c:
6650 Modify implementation of getExtents to reflect the above IDL
6655 Add (missing) AccessibleImage_getExtents () API.
6657 * docs/reference/cspi/at-spi-cspi-sections.txt:
6658 Added AccessibleImage_getImageExtents () to docs.
6660 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6662 * idl/Component.idl:
6663 Added two methods, getLayer () and getMDIZOrder (), to reflect
6664 the new ATK methods atk_object_get_layer and
6665 atk_object_get_mdi_z_order. (Which arguably should be part of the
6666 AtkComponent API and AtkObject). Also added an enum,
6667 ComponentLayer, for the first method's return value.
6669 * libspi/component.c:
6670 Added implementations for these methods.
6672 * cspi/spi_component.c:
6674 Added cspi binding methods for above,
6675 AccessibleComponent_getLayer() and
6676 AccessibleComponent_getMDIZOrder().
6677 Added cspi enum 'AccessibleComponentLayer'.
6679 * docs/reference/cspi/at-spi-cspi-sections.txt:
6680 Added above methods to docs.
6684 Changed typedef for 'boolean' type (and all references to it) to
6685 SPIBoolean, to avoid keyword clashes with C++.
6688 Changed usages of 'boolean' to SPIBoolean.
6690 * test/keysynth-demo.c:
6691 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6692 app), except where SPIBoolean is required by the callbacks API.
6694 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6696 * cspi/spi_registry.c:
6697 Removed obsolete X event loop for passive keygrabs (which now
6700 * registryd/registryd.c:
6701 Removed unnecessary call to gdk_init() [cruft]. This also allows
6702 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6705 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6707 * docs/reference/cspi:
6708 Included docs for SPI_freeString in generated documentation.
6711 Renamed spi_freeString to SPI_freeString, for consistency. Added
6712 documentation for this function.
6715 Renamed spi_freeString to SPI_freeString, for consistency.
6716 Removed obsolete method declaration string_from_corba_string.
6718 * test/keysynth-demo.c:
6719 Small tweak to comments.
6722 Stopped leaking the strings returned from CSPI.
6724 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6726 Merged Michael's branch (see his ChangeLog entries below).
6728 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6729 bridge is alive, release on exit.
6731 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6732 Fix type check macro.
6735 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6738 Added is_gnome_app static, and method cspi_is_gnome_app(),
6739 so we can call the appropriate shutdown routine at exit in SPI_exit.
6741 * cspi/spi_main.c (cspi_object_ref):
6742 Duplicate the corba object passed in, since we're keeping it around.
6744 * cspi/SPI_exit.c, cspi_cleanup:
6745 Moved the releasing of the live refs to its own function, so we
6746 can put it in g_atexit (). Call the appropriate shutdown API
6747 depending on whethe calling client is a gnome app or not
6748 (bonobo_main_quit or CORBA_ORB_shutdown).
6750 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6751 Unref the listener when this method is called, after
6752 deregistration. Updated the API docs to note this behavior.
6754 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6755 Bugfixes: Ref the bonobo object when returning a parent or child
6756 reference, or an AccessibleRelation. Generally made sure
6757 BonoboObject refcount is incremented whenever we return an
6760 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6761 Fixed typo/bug in signal declaration.
6763 * libspi/accessibleeventlistener.h:
6766 * libspi/application.c (spi_application_new):
6767 Fixed leak in initialization.
6770 Remembered to increment bonobo-object refcount when returning
6771 children (applications) from desktop object.
6772 Added (empty) finalize method.
6774 * libspi/deviceeventcontroller.c:
6775 Hold a ref to listeners inside DEControllerKeyListeners.
6776 Added dec_key_listener_free() method. Use prepend instead of
6777 append in key_listener list. Fixed some refcount madness and
6778 leaks in the listener registration/deregistration - deregistration
6779 now calls dec_key_listener_free() on listeners, and on the
6780 temporarily constructed dec_key_listener() used to perform the search/match.
6782 * libspi/hypertext.c (spi_hypertest_finalize):
6783 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6784 class. Also fixed spi_hypertext_interface_new() and
6785 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6787 * libspi/hypertext.h:
6788 Removed pointless and duplicate AtkObject pointer from
6791 * libspi/keystrokelistener.c:
6792 Fixed incorrect type of keystroke_listener_parent_class,
6793 renamed keystroke_listener_object_finalize to
6794 spi_keystroke_listener_object_finalize.
6795 Fixed typo in signal declaration
6796 (spi_keystroke_listener_class_init).
6798 * libspi/registry.c:
6799 Added funcsions spi_listener_struct_new() and
6800 spi_listener_struct_free() to help with memory management issues.
6801 We also now use these methods instead of gnew + poking stuff into
6802 the struct, and to decrement listener counts/free the listeners
6803 when deregistering them.
6804 Fix more refcount bugs in getDesktop() and
6805 getDeviceEventController().
6808 De-ref the desktop after enumerating the applications. Explicitly
6809 decrement the refcounts on the created listeners on exit (using
6810 _unref for keystroke listeners, and via the
6811 deregisterGlobalEventListenerAll command for other event
6814 2001-11-27 Michael Meeks <michael@ximian.com>
6816 * cspi/spi-listener.h: fixup enum.
6818 2001-11-27 Michael Meeks <michael@ximian.com>
6820 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6821 (cspi_keystroke_listener_new): Use the cspi variants.
6823 2001-11-26 Michael Meeks <michael@ximian.com>
6825 * test/keysynth-demo.c: fix 2 compile warnings, missing
6828 * test/simple-at.c (report_focussed_accessible),
6829 (report_focus_event, report_button_press),
6830 (check_property_change, is_command_key),
6831 (report_ordinary_key_event, report_command_key_event): upd.
6833 * util/mag_client.h: include pre-requisites.
6835 * libspi/accessibleeventlistener.c
6836 (spi_event_listener_object_finalize): free any lingering
6839 * libspi/keystrokelistener.c
6840 (keystroke_listener_object_finalize): ditto.
6842 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6843 callbacks, with cspi types.
6845 * cspi/spi_event.c (createAccessibleEventListener): chain to
6846 (AccessibleEventListener_addCallback): here.
6847 (createAccessibleKeystrokeListener): chain to
6848 (AccessibleKeystrokeListener_addCallback): here.
6850 * libspi/keystrokelistener.c
6851 (spi_keystroke_listener_class_init): add signal.
6852 (impl_key_event): emit the event.
6853 (boolean_handled_accumulator): impl.
6854 (marshal_BOOLEAN__POINTER): add, gack.
6856 * libspi/accessibleeventlistener.c
6857 (spi_event_listener_class_init): add signal.
6858 (impl_accessible_event_notify_event): emit the signal &
6859 make the loop efficient.
6860 (spi_event_listener_add_callback): prepend the callback.
6862 * libspi/accessibleeventlistener.h: add an 'event' signal,
6863 decl type on callback.
6865 * libspi/keystrokelistener.h: ditto.
6867 * cspi/spi-listener.h: make methods typesafe and
6868 make them use the new event typedefs.
6870 * test/simple-at.c (report_focussed_accessible):
6871 include mag_client.h
6872 Use *(void *)text_interface not the other thing.
6874 * configure.in: add gtk to registryd bits - since we use
6877 * util/magnifier.c: include libbonobo.h
6879 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6881 * test/keysynth-demo.c:
6882 Turned this into a simple scanning keyboard, to demonstrate the
6883 use of g_timeout_add () as a means of creating timers for
6884 scanning, and the use of GtkStyle for visually indicating when
6885 virtual keyboard elements are selected.
6887 keysynth-demo now listens to any keyboard keys with zero-valued
6888 keycodes (i.e. 'unused' keys) and interprets them as
6891 Reworked the shiftlatch code so that shift-down state isn't held
6892 for long periods (it's only synthesized immediately prior to
6893 the keysynth event it's modifying). Note that shiftlatch in this
6894 demo is a convenience, not intended to take the place of AccessX
6895 which is the better choice for getting 'sticky' modifier keys.
6897 * libspi/deviceeventcontroller.c:
6898 * at-bridge/bridge.c:
6899 * cspi/spi_registry.c:
6900 Removed some debug print stuff, and put other verbosity in #ifdef
6905 Implemented some more of the magnifier IDL for the simple
6906 magnifier: namely, getZoomRegionParams.
6907 Added mag_x and mag_y members to MagnifierData struct, aid of this
6909 Added GtkWindow::realize signal handler to magnifier, to keep it
6910 from receiving keyboard focus from the WM.
6912 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6914 * cspi/spi-private.h: my guess at what michael forgot
6915 before he ran off to NZ :-)
6917 2001-11-23 Michael Meeks <michael@ximian.com>
6919 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6920 comment out non existant method invoke so we link.
6922 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6923 use bonobo_exception_get_text for more friendly warnings.
6925 * cspi/spi.c (Obj_Add): move into spi_main & rename
6926 spi_object_add; kill spi.c
6928 * cspi/spi_registry.c
6929 (deregisterGlobalEventListener),
6930 (deregisterGlobalEventListenerAll),
6931 (registerGlobalEventListener): fix exception leaks.
6933 * cspi/spi_main.c (spi_exception): impl. helper, so we
6934 don't leak exceptions.
6936 * cspi/spi_selection.c
6937 (AccessibleSelection_deselectSelectedChild): return the
6940 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6941 (spi_registry): ditto.
6942 (SPI_init): guard against double inits.
6944 * cspi/*.c: use spi_ev (), and spi_registry () where
6945 appropriate - a temporary hack until we have something
6946 better. Use spi_object_add
6948 2001-11-22 Michael Meeks <michael@ximian.com>
6950 * cspi/Makefile.am: re organise, install the headers.
6952 * cspi/*.h: add G_BEGIN/END_DECLS
6954 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6957 Added non-preemptive keylistener for key events with no modifiers
6958 and shift-only modifier.
6960 * libspi/keystrokelistener.c:
6961 Removed some verbose diagnostics printout.
6963 * cspi/spi_registry.c:
6964 Fixed a bug that caused all key listeners to be registered as
6967 * libspi/deviceeventcontroller.c:
6968 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6969 for non-preemptive key masks.
6972 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6974 * docs/reference/idl/at-spi-idl-docs.sgml:
6975 * docs/reference/idl/at-spi-idl-sections.txt:
6976 * docs/reference/idl/at-spi-idl-overrides.txt:
6977 Added missing files.
6979 * docs/reference/Makefile.am:
6980 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6981 to scan the IDL files :-(
6986 Added .cvsignore files.
6988 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6990 * libspi/deviceeventcontroller.c:
6991 * libspi/keystrokelistener.c:
6993 * cspi/spi_registry.c:
6994 Added filters for KeySets, KeyEventSeq, and event types to key
6995 event dispatching, so listeners should only receive those events
6996 that they requested :-)
6998 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7003 * docs/reference:Makefile.am:
7004 * docs/reference/cspi:
7005 * docs/reference/cspi:Makefile.am:
7006 * docs/reference/cspi:tmpl:
7007 * docs/reference/cspi:tmpl:*.sgml:
7008 * docs/reference/idl:
7009 * docs/reference/idl:Makefile.am:
7010 * docs/reference/idl:at-spi-idl-sections.txt:
7011 * docs/reference/idl:at-spi-idl-docs.sgml:
7012 * docs/reference/idl:tmpl:
7013 * docs/reference/idl:tmpl:*.sgml:
7015 Restructured docs directory to allow separate 'reference' docs
7016 section, and forked idl and cspi docs. Added the sgml template
7017 files to CVS. Added the first sections/structural sgml for the
7020 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
7022 * configure.in, libspi/Makefile.am: find libXtst.
7024 2001-11-21 Michael Meeks <michael@ximian.com>
7026 * test/accessx-gui.c: s/spi_value/value/ - doh.
7028 * libspi/base.[ch]: add.
7030 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7032 * idl/Accessible.idl:
7033 * idl/Application.idl:
7036 Started gtk-doc cleanup on IDL.
7038 * libspi/deviceeventcontroller.c:
7039 Added and connected non-preemptive key notification from the
7040 toolkits (in addition to the pre-emptive support from XServer
7041 which we had before, but which causes 'focus flashing'). Filters
7042 are presently limited to key modifiers and global/non-global,
7043 KeySets are presently ignored, as are KeyEvent masks.
7045 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7046 structs into the persistant structure rather than just storing
7047 pointers to things that might not persist across servant
7050 The XGrabKey call now does async keygrabs, because synchronous
7051 ones were deadlocking with GDK_event code in a very nasty way.
7053 Added boolean to internal method notify_keylisteners, to indicate
7054 whether the event came from the 'toolkit source' or the 'global
7055 (XServer) source' - this is used in the notification process to
7056 determine which listeners to send the event to.
7058 deviceeventcontroller.c is now warning-free.
7060 * libspi/registry.c:
7061 Fixed regression in application de-registration.
7062 Also fixed some really brain-dead weirdness having to do with
7063 event dispatching - event structs are now duplicated before being
7064 re-marshalled in the dispatch to listeners. This also fixes a
7065 Solaris build problem.
7068 2001-11-20 Michael Meeks <michael@ximian.com>
7071 (impl_accessibility_registry_deregister_global_event_listener):
7074 * libspi/deviceeventcontroller.c
7075 (spi_device_event_controller_check_key_event): return
7076 FALSE on no virtual method.
7078 * libspi/*..h: make includes work on a correctly pathed install.
7080 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7082 * libspi/application.h: kill unused ( and whacked out )
7083 gboolean *spi_application_set_id (AtkObject *app, long id);
7085 2001-11-20 Michael Meeks <michael@ximian.com>
7087 * libspi/*.[ch]: further convert to bonobo's type func
7088 macros, remove redundnant casts etc.
7090 * libspi/text.c s/accessibility_text/spi_text/g,
7091 re-order to de-cruft.
7093 * libspi/hypertext.c: re-order to kill a huge slew
7094 of redundant forward decls.
7096 * libspi/relation.c: ditto.
7098 * libspi/image.c: ditto.
7100 * */.cvsignore: update
7102 2001-11-20 Michael Meeks <michael@ximian.com>
7104 * libspi/deviceeventcontroller.c
7105 (_controller_register_with_devices): use g_getenv,
7106 kill stdlib.h include.
7108 * libspi/keystrokelistener.c
7109 (spi_keystroke_listener_get_type): kill
7110 (spi_keystroke_listener_class_init),
7111 (spi_keystroke_listener_init): rename to this.
7113 * libspi/text.c (impl_getAttributes): fix warning / bug.
7115 * libspi/*.[ch]: more headers, includes and over commenting.
7117 2001-11-20 Michael Meeks <michael@ximian.com>
7119 * libspi/*.[ch]: fixup headers, includes and over commenting.
7121 * libspi/image.c (impl__get_imageDescription): const
7122 correctness warning fix. remove redundant casting.
7124 * libspi/table.c (impl_getRowDescription): ditto.
7125 (impl_getColumnDescription): ditto.
7127 * libspi/libspi.h: add.
7129 2001-11-19 Michael Meeks <michael@ximian.com>
7131 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7133 * libspi/component.c (accessibility_component_get_type):
7134 rename to (spi_component_get_type): and macroify.
7135 (accessibility_component_init): rename to
7136 (spi_component_init): this
7137 (accessibility_component_class_init): rename to
7138 (spi_component_class_init): this
7140 * libspi/action.c (spi_action_get_type): kill, use the macro.
7142 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7145 * libspi/application.c (spi_application_object_event_listener),
7146 (impl_accessibility_application_register_object_event_listener):
7147 warning fixes / const understanding updates.
7149 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7152 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7154 * libspi/spi_accessible.c: Added docs and C bindings for
7155 AccessibleStateSet. (No implementations yet). Documentation
7156 coverage for C bindings now 100%. Made docs for event listeners
7161 boolean notifyListenersSync (in DeviceEventListener listener,
7162 in DeviceEvent event);
7164 oneway void notifyListenersAsync (in DeviceEventListener listener,
7165 in DeviceEvent event);
7167 Added DeviceEventListener and DeviceEvent structs (may deprecate
7168 KeyStroke and KeystrokeListener in favor of this generic
7169 event/listener framework for devices).
7171 * libspi/deviceeventcontroller.c:
7173 Changed some key listener code to take masks, etc., and paved the
7174 way for integration of toolkit/non-preemptive key events. Changed
7175 signatures of some internal methods.
7177 * at-bridge/bridge.c:
7178 Fixed regression connecting to interface signals, apparently
7179 caused by GTK+ changes.
7181 Added an internal bridge_state_listener to deal with
7182 property-change:accessible-state signals.
7184 Changed the key_listeners GList to store structs (including masks,
7185 etc.) instead of just CORBA_Objects (required for full
7186 implementation of key listener API).
7188 Connected the bridge to all currently supported Atk signals.
7189 Events now supported:
7190 object:property-change
7191 object:property-change:accessible-name
7192 object:property-change:accessible-state
7193 object:property-change:accessible-description
7194 object:property-change:accessible-parent
7195 object:property-change:accessible-value
7196 object:property-change:accessible-role
7197 object:property-change:accessible-table-caption
7198 object:property-change:accessible-table-column-description
7199 object:property-change:accessible-table-column-header
7200 object:property-change:accessible-table-row-description
7201 object:property-change:accessible-table-row-header
7202 object:property-change:accessible-table-summary
7203 object:children-changed
7204 object:visible-data-changed
7205 object:selection-changed
7206 object:text-selection-changed
7208 object:text-caret-moved
7210 object:row-reordered
7212 object:column-inserted
7213 object:column-reordered
7214 object:column-deleted
7215 object:model-changed
7217 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7219 * libspi/hyperlink.c,h:
7220 Fixed some broken stuff in hyperlink.
7222 * libspi/relation.h:
7223 * libspi/relation.c:
7224 * cspi/spi_accessible.c:
7225 Initial implementations of AccessibleRelation methods, and docs.
7227 * libspi/accessible.c:
7228 Fixed a bug that caused SEGV if an accessible
7229 object's description is NULL, and a client
7230 requests it. An empty string is now returned.
7232 * cspi/spi_editabletext.c:
7233 * cspi/spi_hypertext.c:
7235 * cspi/spi_hyperlink.c:
7239 Doc coverage now 95%.
7241 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7243 One last namespacing revision:
7244 * libspi/accessibleeventlistener.[ch]:
7245 Renamed SpiAccessibleEventListener to SpiEventListener,
7246 (no need for two namespaces ;-)
7248 And lots of documentation fixes:
7250 * docs/at-spi-docs.sgml:
7251 Fixed 'underscore vs. hyphen' bug that was preventing
7252 the gtk-doc API docs from being automatically generated.
7255 * cspi/spi-listener.h
7257 * cspi/spi_accessible.c
7259 * cspi/spi_application.c
7260 * cspi/spi_component.c
7261 * cspi/spi_editabletext.c
7263 * cspi/spi_hypertext.c
7265 * cspi/spi_registry.c
7266 * cspi/spi_selection.c
7270 * docs/at-spi-docs.sgml
7271 * docs/at-spi-sections.txt
7273 Added and fixed up gtk-doc documentation in cspi.
7275 Interfaces now (fully) documented (subject to revision and enhancement):
7277 Event Listener Support
7279 AccessibleApplication
7283 AccessibleEditableText
7290 AccessibleRelationSet
7295 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7297 * at-bridge/bridge.c:
7298 Initial work for toolkit-level key snooper connection by bridge.
7303 New typedefs and fixes to support new namespacing, and cleaner
7304 separation of cspi bindings from libspi bonobo implementation.
7305 Removed inconsistent and extraneous Spi* namespace prefix that
7306 had crept into cspi headers.
7307 Lots of comment fixes that sed had missed.
7309 * cspi/spi-roletypes.h:
7310 * cspi/spi-statetypes.h:
7311 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7312 to AccessibleRoleType.
7314 * libspi/accessibleeventlistener.h:
7315 Fixed minor namespacing weirdness.
7317 * libspi/deviceeventcontroller.c:
7318 Reordered some internal API for device listeners.
7319 Changed the key registry final boolean to 'is_system_global'
7320 rather than 'is_synchronous', which is more descriptive of its
7322 Added spi_device_event_controller_new().
7323 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7325 * libspi/keystrokelistener.[ch]:
7326 Namespaced KeystrokeListener to SpiKeystrokeListener.
7327 Changed uses of keymasks to use SPI_ prefix, and did other
7330 * libspi/keymasks.h:
7331 Namespaced keymask constants with SPI_ prefix.
7333 * libspi/registry.c:
7334 Some warning fixes, and knock-on fixes from namespace changes.
7337 Added rules for accessx-gui test program.
7339 * test/accessx-gui.c:
7340 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7341 utility. It doesn't actually use at-spi, but it's still cool and
7344 * test/keysynth-demo.c:
7348 Fixes so that these test clients work properly with the namespaced
7349 libraries. (Incompletely tested for technical reasons, fixes may follow)
7352 2001-11-13 Michael Meeks <michael@ximian.com>
7354 * libspi/application.c
7355 (impl_accessibility_application_get_version),
7356 (impl_accessibility_application_get_toolkit_name):
7358 (impl_accessibility_application_set_id),
7359 (impl_accessibility_application_get_id): remove
7360 redundant casting code.
7362 * libspi/action.c (impl_getDescription): fix warnings.
7364 * libspi/accessible.c
7365 (impl_accessibility_accessible_get_parent),
7366 (impl_accessibility_accessible_get_child_at_index),
7367 (impl_accessibility_accessible_get_state),
7368 (impl_accessibility_accessible_get_relation_set):
7369 warning fixes & include action.h
7371 2001-11-13 Michael Meeks <michael@ximian.com>
7373 * *.[ch] fix bits I screwed up:
7375 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7376 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7378 2001-11-13 Michael Meeks <michael@ximian.com>
7380 * *.[ch] Namespace libspi into spi_ and Spi.
7382 2001-13-11 Michael Meeks <michael@ximian.com>
7384 * Makefile.am: dist & install at-spi-1.0.pc
7386 * libspi/Makefile.am: install into at-spi-1.0
7388 * idl/Makefile.am (idldir): install into at-spi-1.0
7390 * at-spi-1.0.pc.in: add.
7392 * configure.in: build it.
7394 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7396 * test/keysynth-demo.c:
7397 Use a 'realize' signal-handler to set the WM properties for
7398 the virtual keyboard, rather than making it a "POPUP" type
7399 override-redirect window (thanks to anders carlsson for that
7402 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7405 * test/keysynth-demo.c:
7406 Added new test of key synthesis, which creates a simple
7407 (mouse-operated) onscreen keyboard. It inserts key events into
7408 the currently-focused window, thus it does not grab keyboard focus
7411 * cspi/spi_registry.c:
7412 Added C binding for AT-SPI generateKeyEvent.
7414 * libspi/deviceeventcontroller.c:
7415 Added call to XFilterEvent so that key listener works with XIM (we
7416 hope). Added event_synth_type to generateKeyEvent, so that we can
7417 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7418 synthesize a press/release pair for KeySyms.
7420 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7422 * libspi/Makefile.am:
7423 * registryd/Makefile.am:
7424 (temporary) hack to include libXtst in libspi and registryd.
7425 (Needed for keystroke synthesis, see below).
7428 Improved API for registerKeystrokeListener, in accordance with
7429 discussions with Gnopernicus team and X server research.
7431 * libspi/registry.c:
7432 * libspi/deviceeventcontroller.c:
7433 * libspi/accessible.c:
7434 * libspi/keystrokelistener.c:
7435 Changes and fixes to support keylisteners for potentially
7436 consumed key events (that is, 'passive grabs').
7437 Added implementation for generateKeyEvent() [untested].
7440 Changes to registerKeystrokeListener() API, as above.
7441 Added deregisterGlobalEventListenerAll(), and
7442 deregisterKeystrokeListener(), which are needed for clean exit of
7444 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7445 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7447 * cspi/spi_registry.c:
7448 Added implementations of function prototypes mentioned above.
7450 * registryd/registryd.c:
7451 Added the key listener event source as a g_timeout(), to allow
7452 receipt of key events that are not caught by GDK (since GDK
7453 doesn't support passive keygrabs, this was necessary).
7456 Changed to attach a keylistener to 'Alt' keys, and
7457 respond to the following keycommands: Alt-M (toggle magnifier);
7458 Alt-F (toggle speech); Alt-Q (quit).
7459 Added an exit routine to deregister the listeners, and a key
7460 listener that prints some key info to the console when a key
7461 matches the listener mask (and is thus received by the listener).
7463 * util/idl/Magnifier.idl:
7464 Changes to magnifier API to support multiple zoom regions,
7465 non-uniform scaling in x and y, markDirty, and a host of other
7466 features that would be useful to magnification.
7469 * util/mag_client.c:
7470 * util/mag_client.h:
7471 * util/mag_control.c:
7473 Source code changes to support the above IDL changes.
7476 As above, and also changes to use a (slower) generic conversion
7477 path for colormap conversions, since the fast RGB conversions have been
7478 reported to fail for 16-bit displays.
7480 2001-10-26 Michael Meeks <michael@ximian.com>
7482 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7484 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7486 * at-bridge/Makefile.am: fix LDFLAGS.
7488 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7490 * at-bridge/bridge.c:
7491 Re-worked listeners for toolkit events, now we have signal
7492 and property listeners. Added a private method
7493 register_atk_event_listeners(), which registers with the
7494 various atk and gtk signals we need to monitor in order to emit
7496 Added emission hook for AtkObject:property-change events, to
7497 support the 'property listeners'.
7498 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7501 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7502 which emit warnings and exit, respectively, if CORBA errors occur
7503 during remote calls, and we now use these methods to check most of
7504 our CORBA calls in the C bindings.
7506 * cspi/spi_accessible.c:
7507 Changed AccessibleSelection_refSelectedChild() to
7508 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7509 now increment refcounts.
7511 * cspi/spi_component.c:
7512 Fixed some long pointer casts (dangerous!) to pass pointers to
7513 CORBA_longs of the proper type to the CORBA stubs, and copy the
7514 data into the longs that were passed into the C bindings code.
7516 * at-bridge/bridge.c:
7518 * libspi/accessible.c:
7519 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7520 hyperlinks, AtkHyperlink is an object type.
7522 * libspi/application.c:
7523 Added various conversions to and from "generic" event types and
7524 atk-specific types; this is really part of the 'bridge'
7525 implementation but is valid for all AtkObject-based accessibility
7528 * libspi/editabletext.c:
7529 Fixed nasty bug wherein editable text's finalize method was
7530 unref'ing tha AtkObject reference that the text parent class was
7531 about to unref _again_. There was also a nasty inheritance bug
7532 that meant that the AccessibleEditableText class was corrupt.
7534 * libspi/selection.c:
7535 Provided implementations for some selection API that was broken.
7537 * idl/Application.idl:
7538 Added registerObjectEventListener () method.
7541 Fixed a number of return values that were Bonobo_Unknowns from
7542 bonobo_object_corba_objref(), which I
7543 forgot to dup before returning. Changed instances of
7544 bonobo_object_corba_objref (bonobo_object(o)) to
7545 BONOBO_OBJREF(o), for concision and clarity.
7547 2001-10-13 Louise Miller <louise.miller@sun.com>
7549 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7550 idl/Event.idl, idl/Registry.idl
7551 Changed these files to include Bonobo_Unknown.idl instead
7554 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7556 * libspi/component.c libspi/component.h:
7557 Fixed typo. Added assertions for object checks in
7558 AccessibleComponent code.
7560 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7562 * idl/Accessible.idl:
7563 Added 'isEqual (Accessible *object)'
7564 method for Accessible. (Not Yet Implemented).
7567 Changed signature of registerKeystrokeListener() to
7568 take a KeySet and KeyEventSeq so that specific keys and event
7569 types could be requested for monitoring, and added a flag
7570 is_synchronous so that either synchronous or asynchronous
7571 notification could be requested. (However this is not all
7572 implemented yet). This also meant adding two new typedefs,
7573 KeyEventSeq and KeySet.
7576 Added two new relations, RELATION_TOOLTIP_FOR and
7577 RELATION_LEAFNODE_OF.
7580 Added new state, STATE_HAS_TOOLTIP.
7582 * libspi/text.c, editabletext.c:
7583 Added new assertions to all casts of bonobo-objects from
7584 CORBA servants, to prevent Text API calls on non-text objects.
7585 Changed suspect casts of int-pointer types, so that we
7586 always send a valid CORBA_long pointer to the CORBA APIs that use
7587 in/out long parameters. We then have to copy from the CORBA_long
7588 into the regular long or int for return to the C bindings, or
7589 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7592 * libspi/deviceeventcontroller.c:
7593 Cleaned these sources up.
7595 Changed return type for getCharacterAtOffset to
7596 CORBA_unsigned_long, to allow for 32-bit characters.
7599 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7603 Fixed 'make dist' so that distro compiles...
7604 * libspi/keymasks.h:
7606 * cspi/spi-listener.c:
7607 KeystrokeListenerCB now returns a boolean.
7609 Added KeyEventType struct, and KeyStroke.
7610 Also added createKeystrokeListener(),
7611 KeystrokeListener_addCallback(),
7612 KeystrokeListener_removeCallback(), and added a keymask to
7613 registerKeystrokeListener().
7614 * cspi/spi_accessible.c:
7615 Changed numerous return types for interfaces from
7616 AccessibleComponent to Accessible<InterfaceName>; this was
7617 probably a cut-and-paste error.
7619 Implementations of new KeystrokeListener api (from spi.h,
7622 Changes to key modifier mapping.
7623 Created ControllerEventMask struct.
7624 Made DeviceEventController derive from Bonobo::Unknown.
7626 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7627 * libspi/deviceeventcontroller.c:
7628 Added a number of new internal (private) methods.
7629 * libspi/editabletext.c:
7630 * libspi/editabletext.h:
7631 Fixed a number of bugs related to the fact that
7632 editabletext inherits from text. Fixed the EditableText struct,
7633 the init() call, and use correct casts when calling Text methods
7634 from an EditableText object. Removed (duplicate) atko from the
7635 EditableText structure, we use the one in the parent Text
7636 structure via the casts mentioned above.
7637 * libspi/keystrokelistener.[ch]:
7638 * libspi/registry.c:
7639 Changes in support of keyboard handling (above).
7641 Keyboard handling, though partly functional, is still not
7642 recommended for at-spi client use as there is considerable
7643 work yet to be done.
7646 Changed some places where pointers to various int types
7647 are cast to be pointers to CORBA_long types and vice-versa:
7648 pointer casting is not safe so we pass pointers of the correct
7649 types and then cast the result before putting it into the target
7652 * libspi/text.h: minor typos corrected.
7654 We now speak not only the name of a Text element, but the
7655 first sentence of its content, when it receives focus.
7656 I also changed the text compression to 75% from 50%.
7657 * util/Accessibility_Util.server.in:
7658 Changed the default magnifier type to be a 3x vertical
7659 splitscreen magnifier (was previously a 2x horizontal one).
7661 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7663 * libspi/keystrokelistener.h:
7664 * libspi/keystrokelistener.c:
7665 Initial functional implementations of KeystrokeListener.
7668 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7670 Fixed string handling for NULL strings in libspi.
7671 Added spi_freeString to free strings returned by C bindings.
7673 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7675 * libspi/keystrokelistener.h:
7676 * libspi/keystrokelistener.c:
7677 Began (no-op) implementations of KeystrokeListener
7679 * libspi/deviceeventcontroller.c:
7680 * libspi/deviceeventcontroller.h:
7681 Began creating implementations of DeviceEventController,
7682 to handle keystroke and mouse event listening and
7684 * libspi/accessible.c:
7685 Stubbed-in the implementations for
7686 Accessibility_Accessible_getState and
7687 Accessibility_Accessible_getRelationSet.
7688 * libspi/registry.c:
7689 Improved de-registration process and fixed some bugs,
7690 deregistration now works correctly.
7692 Added initialization of applications list (to NULL).
7694 Reduced speech compression from 0.5 to 0.7, for demo.
7695 Changed call to gdk_window_set_decorations()
7696 to gtk_window_set_decorated().
7697 * at-bridge/bridge.c:
7698 Bridge now deregisters when app exits, via
7699 registration of a cleanup function
7700 with the g_atexit() call.
7701 Required making 'app' static, renamed 'this_app'.
7702 Fixed broken use of bonobo_init, passing argv wrongly.
7704 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7708 Created a new directory for
7709 accessibility-related utilities, primarily for
7710 testing and demo purposes, but with possible
7717 Onscreen magnifier utility that
7718 is implemented as a bonobo service.
7720 * util/mag_client.c:
7721 * util/mag_client.h:
7722 Client-side support (simple C bindings)
7723 for Magnification service
7725 * util/mag_control.c:
7726 Client program example for
7727 Magnification service
7729 * util/Accessibility_Magnifier.server.in:
7730 Bonobo-activation file for the
7731 Magnification service.
7734 * util/idl/Magnifier.idl:
7735 IDL defining the bonobo Magnification
7739 Modifications to use the bonobo-activated magnifier
7740 above, in place of trying to connect to an existing
7741 magnifier that uses socket-listening IPC.
7743 If env variable MAGNIFIER is set, a magnifier service
7744 will be started if one does not exist.
7746 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7748 * at-bridge/bridge.c:
7749 applied patch from Marc to build and run
7750 against new glib and gtk+ (seemed like a change
7751 to bonobo_init signature was made ?)
7753 made festival-server support turned off by default.
7754 Added support for a simple magnifier (off by default)
7755 which will be added to a 'util' directory later.
7756 * at-bridge/Makefile.am:
7757 Changed "application.h" header from a 'source'
7758 to a 'dependency' of libat-bridge.
7760 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7769 Added interface implementation c files to list of
7770 includes so they are included in libcspi.
7773 Changed prototype of AccessibleAction_doAction to return a
7775 Changed prototype of AccessibleTable_getCaption to
7776 return an Accessible.
7777 Changed prototype of AccessibleTable_getSelectedRows
7778 and AccessibleTable_getSelectedColumns to
7779 return a long (returns the number of selected rows
7780 or columns respectively).
7781 Changed name of AccessibleText_refRunAttributes to
7782 AccessibleText_getAttributes.
7783 Changed prototype of AccessibleText_getCharacterExtents to
7784 return a void rather than a boolean.
7785 Added support for a AccessibleCoordType parameter
7786 specifying what type of coordinates are desired.
7787 Added an AccessibleCordType parameter to
7788 AccessibleText_getPointAtOffset.
7790 * cspi/spi_accessible.c:
7791 Added code to return the outstanding interfaces from
7792 Accessible_queryInterface.
7794 * cspi/spi_action.c:
7796 Corrected call to getNActions to call the c binding
7799 * cspi/spi_editabletext.c:
7801 Changed name from setRunAttributes to setAttributes.
7803 * cspi/spi_hyperlink.c:
7805 Changed call to getNAnchors to correctly call the c
7806 binding for an attribute.
7808 * cspi/spi_hypertext.c:
7810 Changed getImageDescription to correctly call the
7811 binding for an attribute.
7813 * cspi/spi_selection.c:
7814 Changed getNSelectedChildren to correctly call the c
7815 binding for the attribute.
7816 Changed refSelectedChild to getSelectedChild.
7820 Changed getCaption to return an Accessible.
7821 Fixed calls which retrieve attributes.
7822 Changed refAt to getAccessibleAt.
7823 Changed getNSelectedRows and getNSelectedColumns to
7827 Changed getCharacterExtents and getPointAtOffset to accept an
7828 AccessibleCoordType.
7830 Changed calls which retrieve attributes.
7831 Changed refRunAttributes to getAttributes.
7836 * idl/Hyperlink.idl:
7837 Changed n_anchors attribute to nAnchors to keep naming
7838 convention consistent.
7841 Made Table inherit from Bonobo::Unknown.
7842 Added nSelectedColumns and nSelectedRows attributes.
7845 Made Value inherit from Bonobo::Unknown.
7847 * libspi/hyperlink.c:
7848 Change for nAnchors attributte name change.
7850 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7858 Added interface implementation c files to list of
7859 includes so they are included in libcspi.
7862 Changed prototype of AccessibleAction_doAction to return a
7864 Changed prototype of AccessibleTable_getCaption to
7865 return an Accessible.
7866 Changed prototype of AccessibleTable_getSelectedRows
7867 and AccessibleTable_getSelectedColumns to
7868 return a long (returns the number of selected rows
7869 or columns respectively).
7870 Changed name of AccessibleText_refRunAttributes to
7871 AccessibleText_getAttributes.
7872 Changed prototype of AccessibleText_getCharacterExtents to
7873 return a void rather than a boolean.
7874 Added support for a AccessibleCoordType parameter
7875 specifying what type of coordinates are desired.
7876 Added an AccessibleCordType parameter to
7877 AccessibleText_getPointAtOffset.
7879 * cspi/spi_accessible.c:
7880 Added code to return the outstanding interfaces from
7881 Accessible_queryInterface.
7883 * cspi/spi_action.c:
7885 Corrected call to getNActions to call the c binding
7888 * cspi/spi_editabletext.c:
7890 Changed name from setRunAttributes to setAttributes.
7892 * cspi/spi_hyperlink.c:
7894 Changed call to getNAnchors to correctly call the c
7895 binding for an attribute.
7897 * cspi/spi_hypertext.c:
7899 Changed getImageDescription to correctly call the
7900 binding for an attribute.
7902 * cspi/spi_selection.c:
7903 Changed getNSelectedChildren to correctly call the c
7904 binding for the attribute.
7905 Changed refSelectedChild to getSelectedChild.
7909 Changed getCaption to return an Accessible.
7910 Fixed calls which retrieve attributes.
7911 Changed refAt to getAccessibleAt.
7912 Changed getNSelectedRows and getNSelectedColumns to
7916 Changed getCharacterExtents and getPointAtOffset to accept an
7917 AccessibleCoordType.
7919 Changed calls which retrieve attributes.
7920 Changed refRunAttributes to getAttributes.
7925 * idl/Hyperlink.idl:
7926 Changed n_anchors attribute to nAnchors to keep naming
7927 convention consistent.
7930 Made Table inherit from Bonobo::Unknown.
7931 Added nSelectedColumns and nSelectedRows attributes.
7934 Made Value inherit from Bonobo::Unknown.
7936 * libspi/hyperlink.c:
7937 Change for nAnchors attributte name change.
7940 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7942 implementations-- made server implementations own AtkObject pointers
7943 rather than their respective AtkInterrface pointers to fix
7944 refcounting. AtkHyperlink is still broken.
7946 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7947 * cspi/spi_accessible.c:
7948 Added method Accessible_Role_getName(),
7949 and requisite string array (role_names).
7950 Added conversion string_from_corba_strin() call
7951 to Accessible_getName and _getDescription.
7952 * libspi/accessible.c:
7953 Added implementation for Accessible_getRole()
7955 Added festival support, used if environment variable
7958 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7960 * at-bridge/bridge.c:
7961 Now allocate Accessibility_Event using
7962 Accessibility_Event__alloc() instead of g_new0().
7963 * libspi/accessibleeventlistener.c:
7964 Initialize AccessibleEventListener->callbacks to NULL.
7965 Fixed accessible__event_listener_init() param, changed to
7966 "AccessibleEventListener *" type.
7967 Changed a bonobo_object_release_unref() call to
7968 Accessibility_Accessible_unref().
7969 * libspi/listener.c:
7970 Changed Bonobo_Unknown_unref to (equivalent)
7971 Accessibility_Accessible_unref.
7972 * libspi/registry.c:
7973 Changed bonobo_object_release_unref to
7974 Accessibility_Accessible_unref.
7976 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7979 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7980 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7981 spi-util.c spi-util.h
7982 Implementations for C bindings to remaining accessibility
7985 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7988 changed return value of Action from void to boolean to
7989 bring in line with ATK.
7992 Changed getText funcions to return "out" start and end offsets.
7993 Changed getAttributes to take and offset and return the start
7994 and end offset of the attribute run.
7995 Changed getOffsetAtPoint and getCharacterExtents to take an
7996 enum describing whether coordinates are window or screen.
7999 libspi/action.c libspi/action.h libspi/editabletext.c
8000 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
8001 libspi/hypertext.c libspi/hypertext.h libspi/image.c
8002 libspi/image.h libspi/selection.c libspi/selection.h
8003 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
8004 libspi/value.c libspi/value.h
8005 Added server implementations for outstanding ATK interfaces
8006 not yet implemented.
8008 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8011 Added (missing) getName() method.
8012 Made nActions an attribute.
8013 * idl/EditableText.idl:
8014 Changed order of params in setAttributes.
8015 * idl/Hyperlink.idl:
8016 Removed getAnchor, added getURI.
8018 Changed attributes to methods, for efficiency
8019 (so that getting extents can be done in one call)
8020 * idl/Selection.idl:
8021 Changed nSelectedChildren to attribute, and re-indented.
8022 * idl/Table.idl: changed nrows, ncolumns, caption, summary
8024 * idl/Text.idl: reformatted to match our coding style.
8025 (temporarily?) removed getRowColumnAtOffset().
8026 Changed text selection API to support multi-select and
8027 non-contiguous selections, as in ATK.
8028 * idl/Value.idl: changed some methods to attributes.
8030 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8032 * libspi/listener.c(impl_notify_event):
8033 BonoboUnkown_unref the source instead
8034 of bonobo_object_release_unref - the ORB
8035 handles the releasing.
8037 * configure.in: require ORBit-2.3.94 for
8040 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8042 Tagged CVS repository 'EA_1_0'.
8043 * README.EARLY_ACCESS:
8044 Alphabetized acknowledgements list, and
8046 Listed some known dependencies of at-spi.
8048 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8050 * docs/at-spi-docs.sgml:
8051 * docs/at-spi-sections.txt:
8052 * docs/at-spi-overrides.txt: (Added zero-length file)
8053 Documentation improvements - gtk-doc should build
8054 docs for all implemented C bindings now.
8057 * cspi/spi.c: (New file)
8058 * cspi/spi_event.c: (New file)
8059 * cspi/spi_registry.c: (New file)
8060 * cspi/spi_accessible.c: (New file)
8061 * cspi/spi_application.c: (New file)
8062 * cspi/spi_component.c: (New file)
8063 Split spi_main.c into six parts, and included them from
8064 "spi.c". This is a bit of a hack, probably temporary,
8065 but required by gtk-doc, apparently.
8067 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8070 * docs/at-spi-docs.sgml:
8071 * docs/at-spi-sections.txt:
8073 Initial checkins/modifications for gtk-doc generation.
8076 Added (missing) interface query methods to Accessible's C binding.
8078 Added GenericInterface type definition.
8080 Added query for AccessibleComponent interface to focus event handler.
8081 Added printout of bounding box for focussed component.
8082 * libspi/component.c:
8083 Added partial implementation for AccessibleComponent to C binding.
8084 * idl/Application.idl:
8085 * libspi/registry.c:
8086 * libspi/listener.c:
8087 * libspi/application.c:
8088 * libspi/application.h:
8089 Changed "ID" attribute type from string to long.
8091 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8095 Made method naming consistent: methods taking object args
8096 start with uppercase, other methods (except those using
8097 acronyms) start with lowercase. Underscores delimit between
8098 object names and method names:
8099 SPI_init() - uppercase since it starts with an acronym.
8100 getDesktopCount () - lowercase start since no object param0.
8101 Accessible_getName() - uppercase object type name, studlyCaps method
8105 Added gtk-doc documentation for all currently implemented
8106 methods in the C bindings API.
8108 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8110 * Makefile.am : changed build order to build test last.
8113 Changed "createEventListener" to "CreateEventListener".
8114 * libspi/accessibleeventlistener.c :
8115 Bugfix for addition of callbacks.
8116 * test/Makefile.am :
8117 * test/simple-at.c :
8118 Added new test that uses the C bindings API.
8120 * libspi/listener.c :
8121 * libspi/registry.c :
8122 * libspi/accessibleeventlistener.c :
8123 * at-bridge/bridge.c :
8124 Renamed member "target" of Accessibility_Event to "source",
8125 which is more descriptive.
8128 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8132 * cspi/Makefile.am :
8133 Added makefile support for at-spi/cspi directory.
8136 * cspi/spi-listener.h : (NEW FILE)
8137 Added support for/use of spi-listener.h.
8139 C bindings now build successfully, with no warnings.
8140 * libspi/accessibleeventlistener.h : (NEW FILE)
8141 * libspi/accessibleeventlistener.c : (NEW FILE)
8142 * libspi/Makefile.am :
8143 Added new object type "AccessibleEventListener"
8144 which inherits from Listener, and allows attachment
8145 of in-process callbacks (so that a client with a listening
8146 object instance can add functionality to the local
8147 implementation, dynamically).
8149 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8151 * libspi/accessible.c:
8152 Add implementation for get_index_in_parent().
8154 Added #include of "spi-roletypes.h", and
8155 added enumerated type AccessibleCoordType.
8156 Added definition for KeystrokeListener (function type).
8159 * cspi/spi-statetypes.h :
8160 * cspi/spi-roletypes.h :
8162 Added these headers, used by spi.h.
8164 Added code (NOTE: not yet built by make).
8166 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8168 * libspi/Makefile.am: generate imodule
8169 at the same time as other idl compiler
8172 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8173 * libspi/registry.c :
8174 * libspi/application.c :
8175 * idl/Application.idl :
8176 Made registration with toolkit an application method,
8177 which is required since each app has its own toolkit static
8178 environment. Thus the bridge must register for
8179 notification of toolkit events from each application in turn.
8180 Toolkit notifications are now successfully registered for, and
8181 sent to the listening at client.
8183 Changed toolkit event string to use hyphens rather than underscores.
8184 * libspi/listener.c :
8185 listner now gives more info in debug mode - it reports the
8186 name of the event received, as well as the name of the source.
8189 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8191 * libspi/registry.c :
8192 added more implementation for toolkit events.
8193 Fixed bug such that toolkit event registrations
8194 (via atk) use the whole event name string, not
8196 Removed a useless call to an ORBit_ method.
8197 * at-bridge/bridge.c :
8198 Removed unused local sbuf[] variable.
8200 We now register for Gtk:GtkWidget:button_press_event
8201 events as well as "focus:" events.
8203 Add some more API from Registry.idl that was missing,
8204 for keystroke listening, keystroke and mouse event
8205 synthesis, and enumeration of accessible desktops.
8207 2001-08-16 Michael Meeks <michael@ximian.com>
8209 * configure.in: use AM_GLIB_GNU_GETTEXT.
8211 * Makefile.am (SUBDIRS): kill intl.
8213 2001-08-15 Michael Meeks <michael@ximian.com>
8215 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8217 * configure.in: upd.
8219 * configure.in: depend on a recent bonobo-activation that
8220 will find our server files ...
8222 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8224 * libspi/accessible.c : accessible_new() :
8225 Now we add the Component interface via bonobo_object_add_interface,
8226 if the contained AtkObject implements AtkComponent.
8227 * libspi/accessible.h : now include "component.h"
8228 * libspi/component.h :
8229 * libspi/component.c : added files - implementation of
8230 bonobo wrapper object for Accessibility/Component
8231 * libspi/listener.c :
8232 Added test code to check for Accessibility/Component:1.0
8233 interface and report whether it is implemented by the
8235 * libspi/registry.c :
8236 Now we check for not only the hash of the whole event
8237 string before relaying the event, we also check the
8238 "minor" event string (without the detail string).
8239 This allows event listeners to be registered against
8240 all events of a certain major+minor type, or just
8241 against a specific major+minor+detail type.
8242 * libspi/accessible.c :
8243 Added implementations for Accessible:get_parent(),
8244 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8245 * libspi/registry.c :
8246 * libspi/listener.c :
8247 Replaced calls to Accessibility_Accessible_ref() and
8248 Accessibility_Accessible_unref() with
8249 calls to bonobo_object_dup_ref() and
8250 bonobo_object_release_unref(), so that the CORBA object
8251 is dup-ed and released when relayed, as well as the bonobo object.
8253 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8255 * libspi/Makefile.am,
8256 registryd/Makefile.am,
8257 at-bridge/Makefile.am.
8258 test/Makefile.am, configure.in:
8259 reverse previous changes.
8261 * /idl/Image.idl: fix typo.
8263 * test/Makefile.am: put DEBUG_FLAGS
8266 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8268 * test/app.c: use argv[0] instead of
8271 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8273 * libspi/Makefile.am,
8274 registryd/Makefile.am,
8275 at-bridge/Makefile.am.
8276 test/Makefile.am, configure.in:
8277 cleanup, replace individual LIBS/CFLAGS with
8278 AT_COMMON_{LIBS|CFLAGS}.
8282 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8284 * configure.in, libspi/Makefile.am:
8285 Change IDL path checking for bonobo-activation
8288 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8290 * registryd/registry.c : separated event listeners to use
8291 3 separate lists (focus, window, toolkit). Began testing
8292 event names against hashes before relaying events.
8293 * test/at.c : now register for events of type "focus:"
8294 * test/app.c : now generate events of type "focus:"
8295 * at-bridge/bridge.c : register with ATK for focus events,
8296 and we now relay those focus events to any "focus:" listeners.
8297 This now works with the bridge as a GTK_MODULE when running test/at.
8298 * libspi/registry.c :
8299 * libspi/listener.c :
8300 now we ref event sources before propagating, and unref on receipt.
8301 * libspi/registry.c :
8302 some changes to internal structs, to support event typestring hashes.
8303 * text/app.c : changed the way the appname is generated.
8304 * cspi : added directory that will hold the C bindings library for
8305 non-CORBA/bonobo-savvy clients.
8306 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8307 * idl/Component.idl : added in parameter to indicate coord system for
8308 geometry-related calls.
8309 * idl/Hyperlink.idl : added readonly n_links attribute
8310 * idl/Image.idl : changed methods to attributes.
8312 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8314 * at-bridge/Makefile.am: link against
8315 ../libspi/libspi.la instead of -lspi.
8317 * at-spi/test/app.c: include
8318 bonobo-activation.h. Use a default appname
8319 if one is not provided.
8321 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8323 * idl/Registry.idl : temporarily changed register_Application
8324 to oneway, to work around issue with initial registration
8326 * idl/Application.idl : changed attribute "id" from readonly
8327 to read-write, since it needs to be assigned by Registry.
8328 * registryd/registryd.c : added call to set application id
8330 * registryd/registry.c : changed de-registration procedure to
8331 use CORBA_Object_hash() to find matching object ref in application
8332 lists and listener lists.
8333 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8334 began distinguishing between event types (work in progress).
8336 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8339 * libspi/application.c:
8340 Added implementations for get/set id, get_toolkitName,
8342 * registryd/registryd.c :
8346 Converted from use of OAF to bonobo-activation.
8347 * libspi/desktop.h :
8348 * libspi/desktop.c :
8350 Removed references to atksimpleobject, since base atkobject
8351 implementation now provides functionality we need.
8352 * libspi/atksimpleobject.c :
8353 * libspi/atksimpleobject.h :
8358 * at-bridge/Makefile.am
8359 * at-bridge/bridge.c
8362 Added directory "bridge" and contents, and added dependencies
8363 in Makefile.am/configure.in.
8364 Initial checkin of "at-bridge".
8365 This code is a GTK_MODULE which automatically registers
8366 GTK+ apps with the accessibility registry, using an object
8367 reference to the root ATK object.
8369 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8371 * po/Makefile.in.in: Remove. Again. If this
8372 doesn't get autogenerated - you need to update
8375 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8377 * po/Makefile.in.in: Add. Again.
8379 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8381 * libspi/accessible.c : added support for 'description' property.
8382 * libspi/accessible.c
8384 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8385 (since the two are now equivalent in libbonobo)
8393 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8394 Bonobo::Unknown as does Accessibility::Accessible.
8395 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8396 interface with Bonobo::Stream, since it was redundant with it.
8397 (The Stream returned by a StreamableContext object is expected to
8398 implement only a subset of Bonobo::Stream)
8400 2001-07-28 Anders Carlsson <andersca@gnome.org>
8402 * libspi/accessible.c (accessible_object_finalize): Change
8403 g_free to g_object_unref since the AtkObject is a GObject.
8405 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8407 * idl/Accessibility.idl: add new IDL files
8410 * idl/Action.idl: Definitions of actionable UI object
8411 * idl/Component.idl: Definitions of UI component geometry, etc.
8412 * idl/Hyperlink.idl: Defs of hyperlink behavior
8413 * idl/Image.idl: Def of accessible image
8414 * idl/Selection.idl: Definition of UI object with selectable children
8415 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8416 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8417 * idl/Text.idl: Interface defs for UI elements with complex textual content
8418 * idl/Value.idl: Definition of UI element that is a value controller or display
8420 2001-07-27 Michael Meeks <michael@ximian.com>
8422 * po/Makefile.in.in: remove autogenerated file from CVS.
8424 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8427 * idl/Registry.idl: include guard.
8429 * idl/Accessibility.idl: Add, and include all the other IDL
8432 * idl/*.idl: remove mass of pragmas etc.
8434 2001-07-26 Michael Meeks <michael@ximian.com>
8436 * registryd/Makefile.am (registryd_SOURCES): remove
8439 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8441 * libspi/.cvsignore, registryd/.cvsignore,
8442 test/.cvsignore: updated.
8444 * po/Makefile.in.in: gettext update.
8446 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8448 * initial CVS checkin
8450 2001-06-29 Michael Meeks <michael@ximian.com>
8452 * configure.in: add AM_CONFIG_HEADER to gen config.h