1 2008-02-22 Scott Haeger <scott@bashautomation.com>
4 Fixed bug #517761, Collection match rules not working for attributes.
6 2008-02-19 Li Yuan <li.yuan@sun.com>
8 Patch from Scott Haeger <scott@bashautomation.com>
9 * libspi/collection.c: (impl_freeMatchRule):
10 Bug #517250. Clear spimatchrule->_mrp when free match rule.
12 2008-01-14 Li Yuan <li.yuan@sun.com>
19 2008-01-03 Li Yuan <li.yuan@sun.com>
21 Patch from Gilles Casse <gcasse@oralux.org>
22 * atk-bridge/bridge.c: (spi_atk_register_event_listeners):
23 Bug #474480. Fix memory leak.
25 2008-01-02 Li Yuan <li.yuan@sun.com>
27 Patch from Luke Yelavich <themuso@themuso.com>
28 * registryd/Accessibility_Registry.server.in.in:
29 Marks translatable strings in
30 registryd/Accessibility_Registry.server.in.in, so that intltool picks
33 2007-12-03 Li Yuan <li.yuan@sun.com>
35 * configure.in, README, NEWS:
38 2007-12-03 Li Yuan <li.yuan@sun.com>
40 * idl/Accessibility_Collection.idl:
41 * libspi/collection.c:
42 (impl_getMatchesFrom), (impl_getMatchesTo):
43 Fix build error in Solaris, for restrict is a keyword in SS cc.
45 2007-12-03 Li Yuan <li.yuan@sun.com>
47 * idl/Accessibility_Collection.idl:
48 * libspi/accessible.c: (spi_accessible_construct):
49 * libspi/collection.c: (spi_collection_interface_new),
50 (get_atkobject_from_servant), (get_collection_from_servant),
51 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
52 (match_states_all_p), (match_states_any_p), (match_states_none_p),
53 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
54 (match_roles_none_p), (match_roles_lookup),
55 (match_interfaces_all_p), (match_interfaces_any_p),
56 (match_interfaces_none_p), (match_interfaces_lookup),
57 (match_attributes_all_p), (match_attributes_any_p),
58 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
59 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
60 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
61 (spi_collection_class_init), (spi_collection_init):
62 * libspi/collection.h:
63 Bug #326516. Patch from Ariel. Enhance collection support.
65 2007-12-03 Li Yuan <li.yuan@sun.com>
67 * atk-bridge/Makefile.am:
69 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
71 2007-11-12 Li Yuan <li.yuan@sun.com>
73 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
74 (impl_accessibility_accessible_get_relation_set):
75 Fix for #446277. Decrease the ref count to 1.
77 2007-10-29 Li Yuan <li.yuan@sun.com>
79 * configure.in, README, NEWS:
82 2007-10-15 Li Yuan <li.yuan@sun.com>
84 * MAINTAINERS: add Willie Walker and Eitan Isaacson
87 2007-09-17 Li Yuan <li.yuan@sun.com>
89 * configure.in, README, NEWS:
92 2007-09-08 Li Yuan <li.yuan@sun.com>
94 * registryd/deviceeventcontroller.c:
95 (spi_key_event_matches_listener):
96 Bug #474796. Should not checkmask bit 14 when sond out
99 2007-08-20 Li Yuan <li.yuan@sun.com>
101 * libspi/base.c: (spi_base_construct):
102 Avoid unnecessary crash. Bug #467612.
104 2007-08-01 Li Yuan <li.yuan@sun.com>
106 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
107 Fix a potential dead-lock issue. Bug #462412.
109 2007-07-09 Li Yuan <li.yuan@sun.com>
111 * configure.in, README, NEWS:
112 Uprev/release 1.19.5.
114 2007-07-09 Li Yuan <li.yuan@sun.com>
116 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
117 Bug #446277. Control the ref_count to 1, so Orca can unref the
118 state_set and avoid the memory leak.
120 2007-06-26 Li Yuan <li.yuan@sun.com>
122 * atk-bridge/Makefile.am:
123 Bug #450897. Set logging domain.
124 * registryd/registry.c: (parse_event_type):
126 Handle the "document:" signal, set the type to
129 2007-06-04 Li Yuan <li.yuan@sun.com>
131 * configure.in, README, NEWS:
132 Uprev/release 1.19.3 for GNOME 2.19.3.
134 2007-05-30 Willie Walker <william.walker@sun.com>
136 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
137 439436 to add pyatspi to autotools stuff so it gets installed as
138 part of a make install.
140 2007-05-17 Li Yuan <li.yuan@sun.com>
143 Bug #439057. Add the original PATH to PATH.
145 2007-04-23 Li Yuan <li.yuan@sun.com>
147 * configure.in, NEWS:
148 Uprev/release 1.19.1 for GNOME 2.19.1.
150 2007-04-18 Li Yuan <li.yuan@sun.com>
152 * pyatspi/__init__.py:
153 * pyatspi/accessible.py:
154 * pyatspi/constants.py:
156 * pyatspi/registry.py:
158 Bug #430938. Add some files to create the uniform Python
161 2007-04-12 Li Yuan <li.yuan@sun.com>
163 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
164 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
165 Fix #427836. Fix leak and unify the code style.
167 2007-04-12 Yi Jin <yi.jin@sun.com>
169 * atk-bridge/bridge.c:
170 (spi_atk_bridge_focus_tracker):
171 Bug #428007. Fix a memory leak.
173 2007-04-02 Ariel Rios <ariel@gnu.org>
175 Implement the Matchrule interface required for Collection.
181 * cspi/spi_accessible.c: (Accessible_isCollection),
182 (Accessible_isMatchRule), (Accessible_getCollection),
183 (Accessible_getMatchRule):
184 * cspi/spi_collection.c: new file.
185 * cspi/spi_matchrule.c: new file.
186 * idl/Accessibility.idl:
187 * idl/Accessibility_Collection.idl: new file.
189 * libspi/Makefile.am:
190 * libspi/collection.c: new file.
191 * libspi/collection.h: new file.
193 * libspi/matchrule.c: new file.
194 * libspi/matchrule.h: new file.
196 2007-03-29 Ariel Rios <ariel@gnu.org>
198 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
200 2007-03-22 Li Yuan <li.yuan@sun.com>
202 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
203 main context. Fix for #329454.
205 2007-03-12 Li Yuan <li.yuan@sun.com>
207 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
209 2007-03-02 Li Yuan <li.yuan@sun.com>
211 * atk-bridge/bridge.c
212 (spi_atk_bridge_register_application),
213 (deregister_application), (spi_atk_bridge_focus_tracker),
214 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
215 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
216 to prevent calling threads_enter/leave during the init and shutdown.
218 2007-02-27 Li Yuan <li.yuan@sun.com>
221 (spi_re_entrant_list_delete_link):
222 Bug #412286. Reverse previous patch.
223 * configure.in, NEWS: Uprev/release 1.17.2.
225 2007-02-26 Li Yuan <li.yuan@sun.com>
227 * libspi/accessible.c:
228 (impl_accessibility_accessible_get_attributes),
229 (impl_accessibility_accessible_get_relation_set):
230 Bug #404584 and #401299. Return an empty object instead of return NULL.
231 * configure.in, NEWS: Uprev/release 1.17.1.
233 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
235 * Makefile.am: Dist MAINTAINERS.
237 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
239 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
240 (atk_bridge_init), (spi_atk_bridge_get_registry),
241 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
242 Fix some compiler warnings and plug a leak. Closes part of
245 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
247 * cspi/bonobo/cspi-bonobo-listener.h:
248 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
249 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
250 * cspi/spi_main.c: (SPI_eventIsReady):
251 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
252 * libspi/streamablecontent.c:
253 * libspi/util.c: (spi_re_entrant_list_delete_link):
254 * login-helper/login-helper.c:
255 * registryd/deviceeventcontroller.c:
256 (spi_controller_update_key_grabs), (isEvent):
257 * registryd/registry.c:
258 * test/key-listener-test.c: (simple_at_exit):
259 * test/login-helper-server-test.c: (test_set_wm_dock),
261 Fix a bunch of warnings from sparse:
262 - ANSIfication of function declarations
264 - Add some prototypes
265 - make some stuff static
267 2007-02-14 Li Yuan <li.yuan@sun.com>
269 * libspi/accessible.c:
270 (impl_accessibility_accessible_get_attributes):
271 Bug #404584. If there is no attributes, just return NULL.
273 2007-02-12 Li Yuan <li.yuan@sun.com>
275 * configure.in, NEWS: Uprev/release 1.17.0.
277 2007-02-12 Li Yuan <li.yuan@sun.com>
279 * atk-bridge/bridge.c:
280 (atk_bridge_init): bug #400709. we must emit events even if we are not
281 registered as a full-fledged app.
282 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
283 application like openoffice shutdown. They need to unload gtk before
284 the is spi_atk_bridge_exit_func called.
286 2007-01-22 Li Yuan <li.yuan@sun.com>
288 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
290 2007-01-22 Li Yuan <li.yuan@sun.com>
292 * cspi/bonobo/cspi-bonobo.c:
293 (cspi_get_registry_ior), (cspi_init):
294 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
296 2007-01-19 Li Yuan <li.yuan@sun.com>
298 * atk-bridge/bridge.c:
299 (atk_bridge_init), (spi_atk_bridge_register_application),
300 (deregister_application), (spi_atk_bridge_focus_tracker),
301 (spi_atk_emit_eventv):
302 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
305 2007-01-08 Li Yuan <li.yuan@sun.com>
307 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
309 2007-01-08 Li Yuan <li.yuan@sun.com>
311 * registryd/registry-main.c:
312 (main): set registry ior only when register server successfully.
313 * atk-bridge/bridge.c:
314 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
315 Bug #372988, #381670. Fix memory leak.
317 2007-01-02 Bill Haneman <billh@gnome.org>
320 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
321 appending default attributes to a text attribute set.
324 2006-12-28 Li Yuan <li.yuan@sun.com>
326 * atk-bridge/bridge.c:
327 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
328 the second time, because spi_atk_emit_eventv will free any. Bug
331 2006-12-15 Li Yuan <li.yuan@sun.com>
333 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
335 2006-12-14 Li Yuan <li.yuan@sun.com>
338 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
339 (spi_atk_bridge_property_event_listener),
340 (spi_atk_bridge_signal_listener):
341 Free some CORBA objects to fix memory leak and crash.
343 2006-12-13 Li Yuan <li.yuan@sun.com>
345 Patch from Ariel Rios to fix #163132 and #377079.
346 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
347 (spi_atk_bridge_get_registry_ior):
348 Use g_warning instead of g_error and g_critical to avoid crash.
350 2006-12-11 Bill Haneman <bill.haneman@sun.com>
353 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
354 if there are no non-default attributes defined at the current offset.
357 2006-12-04 Bill Haneman <bill.haneman@sun.com>
359 * idl/Accessibility_Role.idl: Fixed the documentation for
360 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
362 2006-12-04 Bill Haneman <bill.haneman@sun.com>
364 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
366 2006-11-07 Bill Haneman <bill.haneman@sun.com>
368 Patches from Padraig O'Briain for bugs #361386 and #369377.
370 * registryd/registry.c:
371 (struct NotifyContext): Change the e_out
372 member from an Accessibility_Event struct to a pointer to
374 (notify_listeners_cb): Modify to use the new struct definition above.
375 Allows use of ORBit_copy_value instead of CORBA_any__copy.
377 * registryd/deviceeventcontroller.c:
378 (spi_dec_button_update_and_emit): Free the event's any_data
380 (spi_dec_mouse_check):Free the event details any struct
382 (spi_device_event_controller_forward_mouse_event): Free any.
383 (spi_device_event_controller_forward_key_event): Ditto.
385 2006-11-07 Bill Haneman <bill.haneman@sun.com>
387 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
388 Don't require gtk+ and gail for building most of at-spi
391 * registryd/registry-main.c (main): We now get te value of display
392 using the env var DISPLAY rather than using the gdk_display_get_default
393 to avoid dependancy of gdk. Also, once the registry is started, we set
394 the ior of the registry as an X property.
395 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
397 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
398 the registration was successfull.
399 (spi_atk_bridge_do_registration): This function now returns success
400 or not on activating the registry.
401 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
402 has been set in the X root window and return it if available.
403 (spi_atk_bridge_get_registry): We now get the registry using the IOR
404 saved as a X property rather than using the OAFID.
406 2006-10-01 Bill Haneman <bill.haneman@sun.com>
408 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
410 2006-09-25 Bill Haneman <bill.haneman@sun.com>
412 * registryd/registry.c:
413 (desktop_remove_application): Don't pass a ref to the
414 dead application with the event, since it's probably
415 defunct and will cause SEGV if we try to unref,
416 extract app name, etc.
419 2006-09-20 Bill Haneman <bill.haneman@sun.com>
421 Patch from Neo Liu <nian.liu@sun.com>,
424 * atk-bridge/bridge.c:
425 (spi_atk_bridge_document_event_listener): New, for
428 2006-08-30 Bill Haneman <bill.haneman@sun.com>
431 Changed some parameter names so as not to
432 collide with class names - allows IDL to be compiled with
433 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
435 2006-08-22 Bill Haneman <bill.haneman@sun.com>
437 * atk-bridge/bridge.c:
438 (spi_atk_bridge_signal_listener):
439 Patch from Ginn Chen, assign detail1 in children-changed
440 so that the child object can be assigned to the Any when the
441 at-spi event is emitted. Bug #350552.
443 * libspi/application.c:
444 (spi_application_finalize): Remove g_print debug output.
447 2006-08-21 Bill Haneman <bill.haneman@sun.com>
449 * configure.in: Revved to AT-SPI 1.7.11.
451 * libspi/accessible.c:
452 (spi_accessible_new): Aggregate Hyperlink interface
453 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
455 * libspi/hyperlink.c:
456 (spi_hyperlink_new): Don't aggregate Action a second time if this
457 interface is created for an AtkHyperlinkImpl object (i.e. for a
458 child Accessible, as opposed to the Hyperlink instance from
460 (get_hyperlink_from_servant): Obtain the hyperlink from
461 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
463 Patch section from Ginn Chen...
465 * cspi/spi_accessible.c:
466 (_cspi_accessible_set_from_sequence):
467 Changed g_newa to g_new0 on Ginn Chen's suggestion.
469 * libspi/accessible.c:
470 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
471 (spi_accessible_new): Add the Document interface if present.
474 (impl_getAttributes): Fixed to use AtkAttribute properly.
477 (impl_getAttributes, impl_getDefaultAttributes):
478 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
480 2006-08-17 Bill Haneman <bill.haneman@sun.com>
482 * cspi/spi-private.h, cspi/spi_accessible.c:
483 (_cspi_attribute_set_from_sequence): Renamed from
484 cspi_attribute_set_from_sequence, to suppress export.
487 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
488 inline docs, which was keeping the doc from appearing.
489 (SPIExceptionHandler): Doc this.
491 * cspi/spi_document.c:
492 Added inline gtk-docs cut-n-pasted from the doxygen
493 docs in the corresponding IDL files.
494 (AccessibleDocument_getAttributes): Fix the retval here.
496 * cspi/spi_streamablecontent.c:
497 Fixed some 'Since' tags that were accidentally doxygen-style.
500 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
501 docs from the IDL file.
503 * docs/reference/cspi/at-spi-cspi-docs.sgml:
504 Added entities for Document and StreamableContent interfaces.
506 * docs/reference/cspi/at-spi-cspi-sections.txt:
507 Added some docs that were present inline but not getting
510 2006-07-31 Bill Haneman <bill.haneman@sun.com>
513 (impl_getRangeExtents): Use the atk_text_get_range_extents
514 API instead of looping over character bounds, now that
516 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
517 (_spi_text_bounds_contain): Remove, not needed anymore.
518 (_spi_text_rect_union): Remove, not needed anymore.
520 2006-07-31 Bill Haneman <bill.haneman@sun.com>
522 * atk-bridge/bridge.c:
523 (spi_atk_emit_eventv): Fix the CORBA_free call which was
524 causing 64-bit troubles and memory leaks.
525 Special thanks to Alexander Larsson who finally seems to
526 have tracked down the problem, not just here but in
530 (spi_init_any_object): Make sure we copy the CORBA value
531 when initializing an object for passing as a CORBA_Any.
534 2006-07-21 Bill Haneman <billh@gnome.org>
536 * idl/Accessibility.idl:
537 Reverted pragma changes, this broke the build in some envs
538 including the Debian team's build and some tinderbox builds.
540 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
543 Revved to 1.7.10, and edited the Xevie check (bug #319994).
545 * idl/Accessibility.idl:
546 Reworked inclusion of Bonobo_Unknown.idl, to
547 avoid double-linking libs in the Bonobo environment.
548 Thanks to Michael Meeks for the workaround, see bug #313122.
550 * registryd/deviceeventcontroller.c:
551 (spi_controller_notify_keylisteners):
552 Set the SPI_NUMLOCK_MASK bit if the modifier
553 corresponding to the conceptual numlock state is set.
556 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
558 * idl/Accessibility_Selection.idl:
559 (deselectChild): New method.
561 * libspi/selection.c:
562 (impl_deselectChild): Implement the new IDL method.
565 (AccessibleSelection_deselectChild): Added new method.
567 * cspi/spi_selection.c:
568 (AccessibleSelection_deselectChild): New method implemented.
570 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
572 * cspi/bonobo/cspi-bonobo.c:
573 (cspi_init): Replace g_error with g_warning, prevent
574 SEGV if the registry cannot be activated. Bug #346393.
576 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
578 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
580 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
581 2006-07-12 Ariel Rios <arios@us.ibm.com>
585 * idl/Accessibility_Table.idl:
586 (getRowColumnExtentsAtIndex): New method for getting
587 selection status and extents in one API call.
590 (impl_getRowColumnExtentsAtIndex): Implementation of
592 (spi_table_class_init): Add above to epv.
596 (AccessibleTable_getRowColumnExtentsAtIndex): New
597 method, retrieves selection status and row/col extents
598 for a table cell in a single API call.
600 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
601 2006-07-12 Ariel Rios <arios@us.ibm.com>
603 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
606 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
607 New bindings for new methods defined in idl and libspi.
610 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
611 Added prototype functions.
614 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
616 (spi_text_class_init): Added previous methods.
619 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
620 * libspi/spi-private.h: Corrections.
622 2006-06-29 Bill Haneman <bill.haneman@sun.com>
624 Added Document interface (see bug #326520),
625 with work from Ariel Rios <arios@us.ibm.com>.
627 * configure.in: Bump to 1.7.8.
629 * libspi/Makefile.am: Added document.[ch] to sources
632 (SpiDocument, SpiDocumentClass):
633 New interface implementation.
634 (spi_document_get_type, spi_document_construct)
635 (spi_document_interface_new): New methods added.
636 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
637 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
638 Added macros for SpiDocument
642 (spi_document_interface_new): Get a
643 new document interface. New.
644 (get_document_from_servant): Get an AtkDocument from servant New.
645 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
646 Implementation of methods defined on idl.
647 (spi_document_class_init, spi_document_init)
648 Init methods for SpiDocument. new
650 * idl/Accessibility.idl: Added Accessibility_Document.idl.
652 * cspi/Makefile.am: Added spi_document.c to sources.
654 * cspi/spi_document.c:
655 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
656 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
657 (AccessibleDocument_getAttributes): Bindings for methods defined
660 * cspi/spi_accessible.c:
661 (Accessible_isDocument, Accessible_getDocument) New.
663 (Accessible_isDocument, Accessible_getDocument)
664 (AccessibleDocument_ref, AccessibleDocument_unref)
665 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
666 (AccessibleDocument_getAttributes): Bindings added.
668 * idl/Makefile.am: Added Accessibility_Document.idl to
671 2006-06-29 Bill Haneman <bill.haneman@sun.com>
673 * idl/Accessibility_Document.idl: New interface
674 for complex documents. First stage of fix for RFE
677 2006-06-27 Bill Haneman <bill.haneman@sun.com>
679 * libspi/streamablecontent.c:
680 (impl_content_stream_close):
681 Unref the GIOChannel on close.
683 2006-06-23 Bill Haneman <bill.haneman@sun.com>
685 * idl/Accessibility_Role.idl:
686 * libspi/accessiblerole.c:
687 * cspi/spi_accessible.c: Added ROLE_LINK,
688 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
689 Bug #345758 and bug #140635.
692 2006-06-22 Bill Haneman <bill.haneman@sun.com>
696 * idl/Accessibility_StreamableContent.idl:
697 Fix derivation of StreamableContent and ContentStream.
699 * cspi/spi_streamablecontent.c:
700 (accessible_content_stream_client_read):
701 Fix the datatype of the content stream used.
702 Interpret short reads as EOF, and stop trying to
703 read when we've fulfilled the request.
704 (AccessibleStreamableContent_getContentTypes):
705 Use g_strdup, not CORBA_string_dup, for the strings.
706 (AccessibleStreamableContent_open):
707 Correctly use the new getStream method for opening,
708 not the deprecated getContent method.
709 Use the object reference as the stream hash key.
710 Make note of the 'one stream per client per streamable'
711 limitation in the docs.
714 Add streamablecontent.h to the list of #includes.
716 * libspi/streamablecontent.c:
717 (impl_content_stream_read): Initialize the GError.
718 Allocate the incoming buffer if reading a fixed length of
719 data. Use g_memmove instead of memcpy.
720 (impl_accessibility_streamable_get_content_types):
721 Init typelist->_maximum. Only allocate the buffer if
722 there is a non-zero number of content types available.
723 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
725 * libspi/streamablecontent.h:
726 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
729 (SPI_IS_VALUE): Fix a typo in this macro too.
731 2006-06-16 Bill Haneman <bill.haneman@sun.com>
735 * idl/Accessibility_StreambleContent.idl:
736 Deprecate the Bonobo_Stream-based methods in favor of
737 a self-contained "ContentStream" interface. This should
738 allow us to remove BonoboStream dependencies entirely, since
739 there were no non-NIL implementations of the old methods anyway.
740 (ContentStream): New interface.
741 (ContentStream::SeekType): Enum.
742 (ContentStream::seek): New.
743 (ContentStream::read): New.
744 (ContentStream::close): New.
745 (getContent): Deprecate.
746 (getURI): New method, returns a URI pointing to the content, if available.
748 * libspi/streamablecontent.c:
749 (SpiContentStream): Internal object type definition used to
750 implement Accessibility::StreamableContent::ContentStream via
751 AtkStreamableContent's GIOChannel back-end.
752 (spi_content_stream_new, spi_content_stream_dispose): See above;
754 (impl_content_stream_seek, impl_content_stream_read):
755 (impl_content_stream_close): New, implementations of
757 (impl_accessibility_streamable_get_stream): Implement the
758 public method Accessibility::StreamableContent::getStream.
759 (impl_accessibility_streamable_get_uri): Implement the
760 public method Accessibility::StreamableContent::getURI.
762 * cspi/spi_streamablecontent.c:
763 (accessible_bonobo_stream_client_seek): Replaced by
764 (accessible_content_stream_client_seek).
765 (accessible_bonobo_stream_client_read): Replaced by
766 (accessible_content_stream_client_read).
767 (AccessibleStreamableContent_open):
768 (AccessibleStreamableContent_seek):
769 (AccessibleStreamableContent_read):
770 (AccessibleStreamableContent_close): Use the new 'getStream'
771 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
773 2006-06-15 Bill Haneman <bill.haneman@sun.com>
775 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
776 remove from other .idl files (except LoginHelper).
779 2006-06-14 Bill Haneman <bill.haneman@sun.com>
781 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
784 * configure.in, */Makefile.am: mingw patch, modified from
785 original patch by yselkowitz. Bug #314216.
787 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
788 for completeness. Bug #163111.
790 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
791 * libspi/util.c, registryd/registry-main.c:
792 Fix guint/char* casts.
793 Patch from chpe, bug #333883.
795 2006-06-12 Bill Haneman <bill.haneman@sun.com>
797 * configure.in: Require atk-1.12.0, to pick up
798 new API. (bug #344412).
800 * libspi-1.0-uninstalled.pc.in:
802 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
803 Fix for #341488 from Samual Thibault.
805 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
806 Thanks to Brian Pepple.
808 2006-06-09 Bill Haneman <bill.haneman@sun.com>
811 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
812 New, missing implementations of attribute reading methods
815 * cspi/spi.h, spi_value.c:
816 (AccessibleValue_getMinimumIncrement): New methods wrapping
817 the (formerly unimplemented) property from Value.idl.
820 (impl_get_minimumIncrement): Implementation for retrieving
821 the minimum valuator increment, (formerly unimplemented).
824 2006-06-09 Bill Haneman <bill.haneman@sun.com>
826 * idl/Accessibility_State.idl:
827 Added STATE_VISITED (bug #338369).
829 * cspi/spi_accessible.c:
830 (spi_state_to_corba) Fixed marshalling of new statetypes.
833 (spi_init_state_tables, impl_getStates):
834 Fixed conversion of new statetypes to/from ATK.
836 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
838 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
839 definitions/conversions for new roles from ATK.
841 * idl/Accessibility_Relation.idl:
843 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
844 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
845 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
847 * libspi/accessible.c: Fixed marshalling of new role types from
850 2006-04-17 Matthias Clasen <mclasen@redhat.com>
852 * revert my previous change
854 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
856 * configure.in: Remove obssolete no_NO locale
857 * po/no.po: And the translation.
859 2006-04-05 Matthias Clasen <mclasen@redhat.com>
861 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
862 memory-management error that caused crashes on x86_64.
865 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
867 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
869 2006-03-27 Bill Haneman <bill.haneman@sun.com>
871 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
872 to strip "cspi_*" from the symbol table.
874 * cspi/spi_streamablecontent.c:
875 (get_streams): Make this method static.
878 (_cspi_exception_throw): rename to cspi_exception_throw,
879 so we can strip it with the rest...
882 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
884 2006-03-27 Bill Haneman <bill.haneman@sun.com>
886 Add doxygen-generated IDL docs to tarball, and enable
887 doxygen during build/install when available. Bug #301345.
889 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
891 * docs/reference/Makefile.am: Add idl to SUBDIRS.
893 * docs/reference/idl/Makefile.am: Optionally use
894 doxygen to create docs.
896 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
898 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
900 2006-03-20 Bill Haneman <bill.haneman@sun.com>
903 (impl_get_selected_rows): Don't free the selection if it's
904 empty or has not been assigned; init it to NULL so you can tell.
905 Also, allow for zero selected rows.
906 (impl_getSelectedColumns): Ditto. Bug #319088.
908 2006-03-11 Vincent Untz <vuntz@gnome.org>
910 Leak fix for bug #334217.
912 * libspi/application.c: spi_application_toolkit_event_listener():
913 don't duplicate the string we pass as an argument to
914 spi_init_any_nil() since spi_init_any_nil() already does it
915 * registryd/deviceeventcontroller.c:
916 (spi_dec_button_update_and_emit): ditto
917 (spi_dec_mouse_check): ditto
918 (spi_dec_emit_modifier_event): ditto
919 (spi_device_event_controller_forward_mouse): ditto
920 * registryd/registry.c:
921 (desktop_add_application): ditto
922 (desktop_remove_application): ditto
924 2006-02-20 Bill Haneman <billh@gnome.org>
926 * configure.in: Rev to 1.7.6.
928 Leak fixes for bug #331924.
930 * atk-bridge/bridge.c:
931 (spi_atk_bridge_init_base): Don't dup the string, it's already
932 been dup-ed. Fixes a leak.
933 (spi_atk_emit_eventv): Move the CORBA_free call here,
934 instead of spi_atk_state_event_listener; fixes another leak.
935 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
936 notifying the registry; fixes another leak.
938 * registryd/registry.c:
939 (registry_flush_event_queue): Free the CORBA_any when
940 flushing the event, not just the string. Fixes another leak.
941 (registry_queue_event): Free the CORBA_any when dropping
942 events on the floor; fixes another leak.
945 (spi_init_any_object, spi_init_any_nil):
946 Always set _release to TRUE. Fixes another leak.
948 2006-02-20 Bill Haneman <billh@gnome.org>
950 * configure.in: Rev to 1.7.5.
951 Reinstate localization of this module. Thanks for Rodney
952 Dawes for fixing my patch.
954 * registryd/Makefile.am: Remove Accessibility_Registry.server
955 from dist, since it needs to be re-created at configure time.
958 2006-01-31 Bill Haneman <billh@gnome.org>
960 * configure.in: Rev to 1.7.4 (to include build fix below).
962 * idl/Makefile.am: Include Selector.idl in dist.
966 (cspi_internal_event_get_object): Handle case where
967 "object" isn't present, i.e. CORBA_TC_Object doesn't match
968 the EventDetails data.
969 (cspi_internal_event_get_text): Handle NULL string.
970 (cspi_internal_event_get_rect): Handle missing/empty rect
971 data, Accessibility_TC_RectBounds doesn't match any_data.
973 2006-01-30 Bill Haneman <billh@gnome.org>
977 * atk-bridge/bridge.c:
978 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
979 interface and use that when instantiating a new source
980 accessible. Better fix for bug #321814.
982 2006-01-27 Bill Haneman <billh@gnome.org>
984 * idl/Accessibility_Selector.idl: Added to the cvs repository.
986 * configure.in: Revved to 1.7.3.
988 2006-01-17 Bill Haneman <billh@gnome.org>
990 * configure.in: Revved to 1.7.2, re-dist to include docs.
992 2006-01-09 Bill Haneman <billh@gnome.org>
994 * configure.in: Removed po/Makefile.in inclusion, we do not need
997 * idl/Accessibility.idl: Improved documentation here, and for all
998 IDL in the 'GNOME::Accessibility' namespace.
1000 * idl/Accessibility_Accessible.idl:
1001 (LOCALE_TYPE): Added enum.
1002 (AttributeSet): New, for returning multiple name/value attribute pairs.
1003 (RoleSet): New, sequence of Roles, to be used in upcoming
1005 (getAttributes): New API, allows retrieval of name/value pair
1006 annotations for all kinds of Accessible objects. C.f.
1007 Text:getAttributes, which is only for typographic/textual/semantic tags in
1009 (getApplication): New, retrieves the host/containing Application
1010 instance for an object (without having to walk up the whole tree).
1012 * idl/Accessibility_Component.idl:
1013 (getAlpha): New method, returns the alpha blending (aka 'opacity')
1014 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
1017 * idl/Accessibility_Event.idl:
1018 (EventDetails): New struct definition, for encapsulating
1019 commonly-queried information about emitted events. The use of
1020 this structure in emitted events (in the 'any' member of
1021 Accessibility_Event) should greatly reduce the number of
1022 client-server roundtrips necessary.
1024 * idl/Accessibility_Image.idl:
1025 (imageLocale): New, a readonly attribute indicating the POSIX
1026 LC_MESSAGES locale of the image and associated Alt/descriptive
1029 * idl/Accessibility_Relation.idl:
1030 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1033 * idl/Accessibility_Role.idl:
1034 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1035 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1036 complex document and form support.
1038 * idl/Accessibility_State.idl:
1039 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1040 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1041 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1042 for support of complex documents and forms.
1044 * idl/Accessibility_StreamableContent.idl:
1045 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1046 allow old bonobo-stream interfaces to be deprecated in the next
1049 * idl/Accessibility_Text.idl:
1050 (getAttributeValue): New method, allows query-by-name of single
1053 * libspi/accessible.c:
1054 Added support for new roles. Implemented new methods
1055 (impl_accessibility_accessible_get_application): New
1056 (impl_accessibility_accessible_get_attributes): New
1058 * libspi/component.c:
1059 (impl_accessibility_component_get_alpha): New.
1062 (impl_accessibility_image_get_locale): New.
1064 * libspi/relation.c: Added support for new relation type.
1066 * libspi/stateset.c: Added support for new state types.
1069 (impl_getAttributeValue): New.
1072 New prototypes for private methods
1074 spi_init_any_object, spi_init_any_string,
1077 * libspi/spi_event.c:
1078 Use EventDetails in the event emission methods.
1080 * cspi/spi-private.h:
1081 (cspi_role_from_spi_role): Expose this adapter method, since
1082 we need it in the bridge (see below).
1085 (AccessibleEvent_getSourceName):
1086 (AccessibleEvent_getSourceRole):
1087 (AccessibleEvent_getSourceApplication):
1088 (AccessibleEvent_getSourceDetails):
1089 New methods for interrogating/demarshalling
1090 event details (i.e. source's accessible name, role,
1093 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1094 Make use of the new EventDetails struct in events, if present.
1095 (AccessibleEvent_getSourceName)
1096 (AccessibleEvent_getSourceRole)
1097 (AccessibleEvent_getSourceApplication)
1098 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1100 (Accessible_getAttributes): New, wraps
1101 Accessibility_Accessible_getAttributes.
1102 (Accessible_getHostApplication): New, wraps
1103 Accessibility_Accessible_getApplication.
1106 (AccessibleImage_getImageLocale): New wrapper for
1107 Accessibility_Image_get_imageLocale.
1109 * cspi/spi_component.c:
1110 (AccessibleComponent_getAlpha): New wrapper for
1111 Accessibility_Component_getAlpha.
1113 * atk-bridge/bridge.c:
1114 Use new prototyped for init_any methods.
1115 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1116 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1117 (spi_atk_bridge_init_base): Wrappers
1118 for spi_init_any_* methods, due to refactor; include extended
1119 information in the Accessibility_EventDetails struct, for instance
1120 accessible-name, Role, and containing Application.
1122 * registryd/registry.c:
1123 Use new event emission (with EventDetails).
1125 * registryd/deviceeventcontroller.c:
1126 Use new event emission (with EventDetails).
1128 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1130 * configure.in: Generate po/Makefile.in
1131 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1132 * cspi/spi_streamablecontent.c:
1133 (accessible_bonobo_stream_client_seek),
1134 (AccessibleStreamableContent_seek): Remove unused vars.
1135 * libspi/application.c: Missing header.
1136 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1137 * login-helper/login-helper.c: (login_helper_finalize),
1138 (login_helper_init): Remove unused stuff
1139 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1140 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1141 and surround some with #ifdef GRAB_BUTTON.
1142 * test/event-listener-test.c: (main), (report_event),
1143 (report_caret_event), (report_detail_event),
1144 (report_detail1_event), (report_bounds_event), (report_text_event),
1145 (report_text_selection_event),
1146 (report_active_descendant_changed_event),
1147 (report_children_changed_event), (report_name_changed_event),
1148 (report_description_changed_event), (report_parent_changed_event),
1149 (report_window_event), (report_table_summary_event),
1150 (report_table_header_event), (report_table_caption_event),
1151 (report_table_row_description_event),
1152 (report_table_column_description_event), (timing_test_event):
1153 Remove a bunch of unused variables and fix a slew of format specifiers
1154 * test/key-listener-test.c: (report_all_key_event): Format specifier
1155 * test/keypad-test.c: (print_key_event): Same
1156 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1158 * test/screen-review-test.c: (main), (print_chunk_debug),
1159 (review_buffer_get_text_chunk), (debug_chunk_list),
1160 (string_guess_clip), (text_chunk_get_clipped_string),
1161 (text_chunk_list_to_string), (get_screen_review_line_at):
1162 Remove unused variables and fix format specifiers.
1163 * test/simple-at.c: (report_text_event): Format specifier fix.
1164 * test/stress-test.c: (main): Remove unused var.
1166 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1168 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1169 (yes I know that's useless)
1171 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1173 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1175 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1177 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1178 urgh-fix embarassing typo.
1180 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1182 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1183 do a faster, less problematic _unref call on this local
1184 object, rather than a slower (potentially cross-thread
1185 complicated) CORBA call.
1187 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1189 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1190 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1191 * registryd/deviceeventcontroller.c:
1192 (spi_controller_notify_mouselisteners),
1193 (impl_generate_keyboard_event):
1194 * test/screen-review-test.c: (chunk_bounds_within):
1195 * test/test-simple.c: (test_desktop): Remove some unused code
1196 and fix compiler warnings. Closes bug #320049.
1198 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1200 * registryd/deviceeventcontroller.c:
1201 (spi_controller_notify_keylisteners): Check
1202 to make sure the event listener has requested 'preemptive'
1203 status before pre-empting an event.
1205 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1207 * configure.in, README, NEWS: Release 1.6.5.
1209 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1211 * test/window-listener-test.c: Fix a printf
1212 format error. (#169453)
1214 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1216 * tests/test-simple.c:
1217 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1218 relying on the old string from the key event hanging around after
1219 the event handler returns. Fixes broken 'make check'.
1221 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1223 * Added Marathi (mr_IN) translations.
1225 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1227 * cspi/bonobo/cspi-bonobo-listener.c:
1228 (cspi_event_list_remove_by_cb): Fix the build.
1230 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1232 * cspi/bonobo/cspi-bonobo-listener.c
1233 (cspi_event_list_remove_by_cb): actually filter by callback.
1235 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1237 * registryd/registry.c (remove_listener_cb):
1238 Make deregistration filter rules match the event emission rules.
1240 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1242 * registryd/registry.c (remove_listener_cb),
1243 (impl_accessibility_registry_deregister_global_event_listener),
1244 (impl_accessibility_registry_deregister_global_event_listener_all):
1245 pass a closure to the remove callback to filter listeners more
1246 accurately on remove.
1248 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1250 * configure.in: Revved to 1.6.4.
1251 Remember to put quotes around XEVIE_LIBS assignment.
1252 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1255 * tests/event-listener-test.c: Tweaked the tests - more detail
1256 from caret events, and some interrogation of AccessibleText APIs.
1257 Commented-out the bounds-changed events by default, since they can
1260 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1262 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1263 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1264 Same here. Closes bug #167806
1266 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1268 * atk-bridge/bridge.c:
1269 (spi_atk_bridge_signal_listener):
1270 Free the any._value if any._release is TRUE,
1271 since the ORB won't do it for us in this case
1272 [because this method is not a skel].
1273 Fix for bug #168679.
1275 2005-03-30 Steve Murphy <murf@e-tools.com>
1277 * configure.in: Added "rw" to ALL_LINGUAS.
1279 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1281 * configure.in: Improved check for HAVE_XEVIE, to detect
1282 presence on XOrg, where -lXevie is a separate library.
1284 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1286 * configure.in, NEWS, README: Revved to 1.6.3.
1288 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1290 * configure.in: Added "xh" to ALL_LINGUAS.
1292 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1294 * atk-bridge/bridge.c:
1295 (atk_bridge_init): Added missing NULL in g_strconcat(),
1296 also check for symlink before logging to
1297 insecure directory. Thanks to meissner@suse.de.
1299 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1301 * tests/login-helper-server-test.c: Add return call to main
1302 function. Patch from Chris Lahey. Fixes bug #165129.
1304 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1306 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1308 2004-12-09 Bill Haneman <billh@gnome.org>
1310 * registryd/registry-main.c:
1311 Added #define <string.h> for strrchr. (bug 160862).
1312 Thanks to Vincent Berger for catching.
1314 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1316 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1317 restart registry process if the registry process is found to have died
1318 and the current process is exiting.
1319 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1320 application if the registry process has died.
1321 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1322 does not return a registry object.
1323 (spi_atk_tidy_windows): Give up if the registry process has died.
1325 This fixes problems with hangs and crashes when logging out.
1327 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1329 * registryd/desktop.c: Add checking that we are not exiting before
1330 calling spi_desktop_remove_application in
1331 abnormal_application_termination. Fix for bug #152147.
1333 2004-12-02 Bill Haneman <billh@gnome.org>
1335 * configure.in, NEWS, README: Revved to 1.6.1.
1337 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1338 * atk-bridge/bridge.c:
1339 (atk_bridge_init): Save the pid when we start, to detect forks.
1340 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1341 if we're in a forked pid.
1343 2004-10-09 Bill Haneman <billh@gnome.org>
1345 * idl/Accessibility_LoginHelper.idl:
1346 Improved inline documentation.
1348 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1350 * configure.in: Added gl (Galician) to ALL_LINGUAS
1352 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1354 * libspi/accessible.c:
1355 (impl_accessibility_accessible_get_role_name),
1356 (impl_accessibility_accessible_get_local_role_name):
1357 NULL vs. 0 cleanups.
1358 * libspi/component.c:
1359 (impl_accessibility_component_get_accessible_at_point):
1361 * libspi/eventlistener.c: (spi_event_listener_new):
1363 * libspi/stateset.c: (impl_compare): More of the same
1364 * libspi/table.c: (impl_getRowDescription): Again.
1365 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1366 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1367 (impl_generate_keyboard_event): Same.
1368 * registryd/registry-main.c: (main): Same
1369 * test/event-listener-test.c: (test_exit): Same
1370 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1371 * test/keysynth-test.c: (test_key_synthesis): Same
1372 * test/login-helper-server-test.c: (main): Fix warning.
1373 * test/screen-review-test.c: (test_exit): Fix include.
1374 * test/simple-at.c: (simple_at_exit), (_festival_init):
1377 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1379 * configure.in, NEWS, README: Revved to 1.6.0.
1381 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1383 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1384 was missing the HTML docs.
1386 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1388 * configure.in: only cleanups:
1389 - better looking PKG_CHECK_MODULES() output,
1391 - declare in one common place required versions of other tools using
1394 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1396 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1397 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1398 required ATK version accordingly.
1400 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1402 * cspi/bonobo/cspi-bonobo.c:
1403 (cspi_display_name): Fix C99ism.
1404 * atk-bridge/bridge.c:
1405 (spi_display_name): Fix C99ism.
1406 Patch from Jens Granseuer, jensgr@gmx.net.
1408 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1410 * configure.in: Added "or" to ALL_LINGUAS.
1412 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1414 * configure.in, NEWS, README: Revved to 1.5.4.
1416 * registryd/registry-main.c:
1417 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1420 * cspi/bonobo/cspi-bonobo.c:
1421 (cspi_display_name): New convenience method, gets DISPLAY with
1422 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1423 (cspi_init): Set the activation env value above before getting
1426 * atk-bridge/bridge.c:
1427 (spi_display_name): Create the AT_SPI_DISPLAY activation
1428 environment for an app, based on the DISPLAY environment with the
1429 screen number stripped off.
1430 (atk_bridge_init): Allow redirection of error messages to a log.
1431 (spi_atk_bridge_get_registry): Call
1432 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1434 Fixes for bugs #149962, #136986, #144086.
1436 2004-08-16 Christian Rose <menthos@menthos.com>
1438 * configure.in: Added "bs" to ALL_LINGUAS.
1440 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1442 * configure.in: Added nb to ALL_LINGUAS.
1444 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1447 (SPI_init): Return error code '2' if the activated
1448 registry cannot be pinged. Fixes bug #147648.
1450 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1452 * registryd/deviceeventcontroller.c:
1453 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1454 rely on timer-poll instead, to avoid conflict with
1457 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1459 * configure.in: Revved to 1.5.3.
1461 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1463 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1465 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1467 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1469 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1471 * atk-bridge/bridge.c:
1472 (spi_atk_bridge_do_registration):
1473 Register with ATK for AtkComponent:bounds-changed events.
1474 (api_atk_bridge_signal_listener):
1475 Marshal the AtkRectangle info into the event notification
1476 for object:bounds-changed events.
1479 (spi_init_any_rect): New method, inits a corba struct of
1480 type Accessibility_BoundingBox from an AtkRectangle.
1482 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1485 (SPIRect): New struct definition.
1486 (SPI_freeRect): New declaration.
1487 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1490 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1491 implemented. Gets the bounding box data from the CORBA_any
1492 associated with a bounds-changed event notification.
1493 (cspi_internal_event_get_rect): New, used internally by above method.
1496 (SPI_freeRect): Implemented this new method, for freeing
1499 * test/event-listener-test.c:
1500 (main, report_bounds_event):
1501 Added a test for object:bounds-changed events.
1503 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1505 * test/login-helper-server-test.c:
1506 (main): Fix C99-ism. Thanks to Jens Granseuer.
1508 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1510 * libloginhelper-1.0.pc.in:
1511 * idl/Accessibility_LoginHelper.idl:
1512 * login-helper/Makefile.am:
1513 * login-helper/login-helper.[ch]:
1514 * test/login-helper-client-test.c:
1515 * test/login-helper-server-test.c: Added files missing from CVS.
1516 Files obtained from at-spi-1.5.2 tarball.
1518 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1520 * configure.in: Create login-helper/Makefile.
1521 Incremented micro version.
1523 * Makefile.am: Add login-helper subdir and pkgconfig data.
1525 * login-helper: New subdir.
1527 * libloginhelper-1.0.pc.in: New.
1529 * idl/Accessibility_LoginHelper.idl: New file, defines
1530 interface whereby authentication clients can identify agents which
1531 need access to services during the login process, e.g. screen lock
1534 * login-helper/Makefile.am : New.
1536 * login-helper/login-helper.[ch] : New, implementation of
1537 a LoginHelper base class. Services needing LoginHelper can subclass.
1539 * test/Makefile.am : Added test for login-helper, client and
1542 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1543 Use proper prefix in #include files.
1545 * test/login-helper-client-test.c: New.
1547 * test/login-helper-server-test.c: New.
1549 2004-05-27 Alexander Shopov <ash@contact.bg>
1551 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1553 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1555 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1556 is positive. This should make it easier to detect inapprorpiate unref
1559 2004-05-11 James Henstridge <james@daa.com.au>
1561 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1562 no-op and deprecated.
1564 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1566 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1568 2004-04-28 Bill Haneman <billh@gnome.org>
1570 * Makefile.am: Added --enable-gtk-doc to
1571 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1573 2004-04-19 Bill Haneman <billh@gnome.org>
1575 * configure.in: Revved to 1.5.1.
1577 * registryd/deviceeventcontroller.c:
1579 (DEControllerPrivateData): Added fields for
1580 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1581 (spi_dec_replace_map_keysym): New internal utility for
1582 replacing a keysym in the keymap - used to allow
1583 synthesis of individual characters which aren't in the
1585 (spi_dec_reset_reserved): New; resets the changed keysym value
1587 (keycode_for_keysym): We now try to deal with failed
1588 XKeysymToKeycode requests by changing a keymap value
1589 and returning a reserved keycode. We now take
1590 a DEController pointer as first arg.
1591 (spi_controller_register_with_devices): Call XkbGetMap with
1592 the XkbKeySymsMask. Find the highest keycode in the current
1593 keymap which doesn't have any grabs, and mark that one for
1594 temporary re-mapping when out-of-range KeySyms are synthesized.
1595 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1598 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1600 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1602 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1604 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1606 2004-03-24 Bill Haneman <billh@gnome.org>
1609 (AccessibleTable_addRowSelection),
1610 (AccessibleTable_addColumnSelection),
1611 (AccessibleTable_removeRowSelection),
1612 (AccessibleTable_removeColumnSelection):
1613 Add declarations for spi wrappers which were
1614 inadvertantly omitted. Fixes bug #133413.
1617 Revved to 1.5.0 (unstable series for GNOME 2.7).
1619 2004-03-24 Bill Haneman <billh@gnome.org>
1621 * atk-bridge/bridge.c:
1622 Bracketed some debug output in
1623 conditionals, to avoid printing it in normal use.
1626 * libspi/hyperlink.c:
1627 Don't cast 'object' to ATK_OBJECT when constructing
1628 an AtkAction interface for a hyperlink.
1629 See discussion in bug #120659.
1631 * test/key-listener-test.c:
1632 (report_all_key_event): Send output to stderr,
1633 not stdout, for consistency with the rest of the test callbacks.
1636 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1637 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1638 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1639 try incrementing the revision AFTER doing a dist, at least
1642 2004-03-22 Bill Haneman <billh@gnome.org>
1644 * configure.in: Revved to 1.4.0, libtool 9.14.9
1646 2004-03-17 Laszlo Peter <laca@sun.com>
1648 * libspi-1.0-uninstalled.pc.in: add idldir
1650 * cspi-1.0-uninstalled.pc.in: add idldir
1652 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1654 * configure.in: Added "en_GB" to ALL_LINGUAS
1656 2004-03-15 Bill Haneman <billh@gnome.org>
1658 * configure.in: Revved to 1.3.16,
1661 2004-03-15 Laszlo Peter <laca@sun.com>
1663 * libspi-1.0-uninstalled.pc.in: new file
1665 * cspi-1.0-uninstalled.pc.in: new file
1667 * configure.in: add the new pc files to AC_OUTPUT
1669 * Makefile.am: add the new pc files to EXTRA_DIST
1671 2004-03-12 Bill Haneman <billh@gnome.org>
1673 * atk-bridge/bridge.c:
1674 (spi_atk_bridge_key_listener):
1675 Make sure to return consumed=FALSE if snoop
1676 event is not dispatched to listener.
1679 2004-03-01 Bill Haneman <billh@gnome.org>
1681 * configure.in: Revved to 1.3.15,
1684 2004-03-07 Danilo Segan <dsegan@gmx.net>
1686 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1688 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1690 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1692 2004-03-01 Bill Haneman <billh@gnome.org>
1694 * configure.in: Revved to 1.3.14.
1697 (SPI_exit): Removed "bye-bye" exit message.
1698 Moved "leak" report to happen before the
1699 iteration over the leaked refs list.
1700 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1702 2004-02-24 Bill Haneman <billh@gnome.org>
1704 * configure.in: Revved to 1.3.13.
1706 * docs/reference/cspi/Makefile.am:
1707 Correct typo that was breaking the docs build.
1709 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1711 * autogen.sh: Require version 1.7 of automake.
1713 * configure.in: call GTK_DOC_CHECK([1.0])
1715 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1717 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1719 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1721 * test/Makefile.am: Remove use of CFLAGS.
1723 This fixes bug #132987.
1725 2004-02-11 Bill Haneman <billh@gnome.org>
1727 * reverted most of Tomasz' patch below, since it was breaking
1728 builds (see bug #134058).
1730 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1732 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1733 correct pass "make dist" (empty .. because seems no sach types in
1734 header files with gtk-doc markups).
1735 * docs/reference/cspi/Makefile.am, configure.in:
1736 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1737 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1738 * Makefile.am: added:
1739 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1740 for force correct pass generate documentation on "make distcheck".
1741 * libspi/Makefile.am: fixes for automake >= 1.6.
1742 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1743 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1746 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1748 * docs/reference/cspi/Makefile.am (install-data-local): Install
1749 index.sgml since the doc autobuilder on widget.gnome.org looks for
1752 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1754 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1757 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1759 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1761 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1763 * test/simple-at.c: Fixed null string problems that cause core
1764 dumping problems on Solaris.
1766 2004-01-12 Bill Haneman <billh@gnome.org>
1768 * configure.in: Incremented version to 1.3.11.
1770 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1772 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1773 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1776 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1778 * configure.in: Added "fa" to ALL_LINGUAS.
1780 2003-12-20 Arafat Medini <lumina@silverpen.de>
1782 * configure.in: Added "ar" to ALL_LINGUAS
1784 2003-12-16 Bill Haneman <billh@gnome.org>
1786 * registryd/registry-main.c:
1788 Set the reg_env DISPLAY variable before registering the
1789 activated registry service. Fixes bug #129479.
1791 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1793 * configure.in: Added "id" in ALL_LINGUAS
1794 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1796 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1798 * registryd/deviceeventcontroller.c (global_filter_fn):
1799 When an event is consumed discard any XEvents were added to
1800 the queue while dealing with the the event. This can happen if
1801 processing of the event takes a long time. Call XUngrabKeyboard
1802 if an event was discarded. This fixes bug $124837.
1803 Only call wait_for_release_event for a KeyPress.
1804 Use local variable display instead of spi_get_display().
1805 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1808 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1810 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1811 Allow for mask to contain values other than NumLock mask.
1814 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1816 * registryd/devieceventcontroller.c:
1817 (wait_for_release_event): Change first parameter from GdkEvent to
1819 (global_filter_fn); Correct call to wait_for_release_event.
1823 2003-12-08 Bill Haneman <billh@gnome.org>
1827 * registryd/ucs2keysym.c: New file.
1829 * registryd/deviceeventcontroller.c:
1830 (dec_keysym_for_unichar): Remove old partial implementation and
1831 replace with call to ucs2keysym(), which is much more complete.
1832 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1837 2003-12-05 Bill Haneman <billh@gnome.org>
1839 * configure.in: Version 1.3.9.
1841 * docs/reference/cspi/tmpl/spi_registry.sgml:
1842 Added reference to libspi/keymasks.h to the
1843 description of Registry queries: AccessibleKeyMaskType.
1846 2003-12-04 Bill Haneman <billh@gnome.org>
1848 Fix for bug #121974.
1850 * idl/Accessibility_Application.idl:
1851 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1852 setlocale's LC_TYPEs.
1853 (Accessibility::Application::getLocale): New method.
1854 Allows clients to query the locale, by type, of an app.
1857 * cspi/spi_application.c:
1858 (AccessibleApplication_getLocale): New method, wraps IDL above.
1860 * libspi/application.c:
1861 (spi_application_class_init): Init epv entry for getLocale.
1862 (impl_accessibility_application_get_locale): Impl for above.
1864 * test/test-simple.c:
1865 (test_application): Added assertion for getLocale, i.e.
1866 that the string from AccessibleApplication_getLocale (app, type)
1867 is the same as that from setlocale (type, NULL);
1869 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1871 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1872 the keyboard on a timeout intil the key state goes from pressed to
1873 released. Fixes bug #111429.
1875 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1877 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1878 root object so that it is present when a context menu in an
1879 out-of-process applet is popped up.
1880 (spi_atk_bridge_do_registration): Create acceessible application root
1881 object only if it does not exist.
1883 This fixes bug #125834.
1885 2003-12-01 Bill Haneman <billh@gnome.org>
1887 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1890 Added enum for AccessibleStreamableContentSeekType.
1891 (AccessibleStreamableContent_freeContentTypeList): New.
1893 * cspi/spi_streamablecontent.c:
1894 (accessible_bonobo_stream_client_seek): New private method.
1895 (AccessibleStreamableContent_seek): Implemented this method,
1896 using Bonobo_Stream_seek.
1897 (AccessibleStreamableContent_freeContentTypeList): New method
1898 for freeing the return value from
1899 AccessibleStreamableContent_getContentTypes.
1900 (stream_cache_item_free): Replaces stream_release; stop leaks.
1901 (stream_release): removed.
1902 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1903 free the memory properly.
1905 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1907 Fix for bug #116009.
1909 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1911 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1913 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1915 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1917 2003-12-01 Bill Haneman <billh@gnome.org>
1919 Fix for bug/rfe #127463.
1921 * idl/Accessibility_Accessible.idl:
1922 (getLocalizedRoleName): New.
1923 (unimplemented4): Removed (replaced by above).
1925 * libspi/accessible.c:
1926 (impl_accessibility_accessible_get_local_role_name): New.
1927 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1931 (Accessible_getLocalizedRoleName): New.
1933 * cspi/spi_accessible.c:
1934 (Accessible_getLocalizedRoleName): New.
1936 2003-12-01 Bill Haneman <billh@gnome.org>
1938 Fix for bug #118581.
1939 * idl/Accessibility_Text.idl:
1940 (getDefaultAttributes): New.
1941 (unimplemented4): Removed (replaced by above method).
1944 (impl_getDefaultAttributes): New method.
1945 (spi_text_class_init):
1946 initialize the get_default_attributes slot in the epv.
1949 (AccessibleText_getDefaultAttributes): New prototype.
1952 (AccessibleText_getDefaultAttributes): New method.
1954 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1956 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1957 write beyond the end of the table. Fixes bug #120473.
1959 2003-09-30 Christian Rose <menthos@menthos.com>
1961 * configure.in: Added "eu" to ALL_LINGUAS.
1963 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1965 * configure.in: ALL_LINGUAS: Added no.
1967 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1969 * configure.in: Added lt to ALL_LINGUAS.
1971 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1973 * atk-bridge/bridge.c:
1974 (atk_bridge_init): Register event listeners always even for
1975 out-of-process applet.
1976 (spi_atk_bridge_toplevel_added): Remove call to
1977 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1978 (spi_atk_bridge_toplevelk_removed): Remove call to
1979 spi_atk_deregister_event_listenersa as the listeners are now always
1981 (spi_atk_bridge_register_application): Remove call to
1982 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1984 This fixes bug #120991.
1986 * libspi/table.c (impl_getColumnDescription): Correct typo,
1987 pointed out by Bolian.Yin@sun.com.
1989 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1991 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1993 2003-09-08 Bill Haneman <billh@gnome.org>
1995 * configure.in: Revved to 1.3.7.
1997 This is the GNOME 2.4.0 release of at-spi.
1999 * docs/reference/cspi/Makefile.am:
2000 Removed spurious inclusion of 'index.sgml' in the
2001 html directory; this was breaking make distcheck and
2002 also some other build environments.
2004 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
2006 * registryd/registry.[ch}:
2007 Add queue_handler_id and focus_object to SpiRegistry data structure.
2008 (registry_flush_event_queue): If event being discarded is
2009 "state-change:focused" store object as focus_object.
2010 (registry_start_queue): Remove queue handler and focus object
2012 (registry_discard_event): New function which discards a focus event
2013 if we had stored focus object in the registry.
2014 (registry_queue_event): Add new check that is_queueing is set as this
2015 function is reentrant.
2016 (registry_filer_event): Add call to registry_discard_event.
2018 This resolves issues raised in bug #108664.
2020 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
2022 * configure.in: Added "bn" to ALL_LINGUAS.
2024 2003-09-04 Bill Haneman <billh@gnome.org>
2026 * cspi/spi_event.c: Documentation improvements for
2027 (SPI_registerAccessibleKeylistener).
2029 * docs/reference/tmpl/spi_registry.sgml:
2030 Documentation improvements for SpiAccessibleKeylistenerCB.
2032 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2034 * configure.in: Added "ro" to ALL_LINGUAS.
2037 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2039 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2040 not decremented to zero. Fixes bug #120725.
2042 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2044 * configure.in: Added "ja" to ALL_LINGUAS.
2046 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2048 * configure.in: Added "is" to ALL_LINGUAS.
2050 2003-08-22 Christian Rose <menthos@menthos.com>
2052 * configure.in: Added "nl" to ALL_LINGUAS.
2054 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2056 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2057 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2059 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2061 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2062 type for unspecified exception.
2063 * cspi_streamablecontect): Add include of string.h for memcpy.
2064 (stream_release): Correct call to bonobo_object_release_unref
2065 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2066 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2067 argument of _cspi_expection_throw.
2068 * libspi/hyperlink.c: Add include of libspi/action.h:
2069 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2070 * libspi/streamablecontent.c: add include of libspi/component.h.
2071 * regisrtyd/deviceeventcontroller.c:
2072 (spi_dec_translate_mask): Removed unused variable priv.
2073 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2074 * registryd/registry.c:
2075 (registry_filter_event): Remove unused variable queue_is-empty.
2076 (impl_registry_notify_event): Use correct modifier in fprintf call.
2078 This fixes compiler warnings reported in bug #120220.
2080 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2082 * registryd/registryd.c: Remove this file.
2084 2003-08-17 Sanlig Badral <badral@openmn.org>
2086 * configure.in: Added mn to ALL_LINGUAS.
2088 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2090 * configure.in: Added et to ALL_LINGUAS.
2092 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2094 * test/event-listener-test.c: Change active-descendant to
2095 active-descendant-changed.
2097 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2099 * configure.in: Added "fi" in ALL_LINGUAS.
2101 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2103 * configure.in: Added "hi" in ALL_LINGUAS.
2105 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2107 * configure.in: Revved to 1.3.6.
2111 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2113 * registryd/deviceeventcontroller.c
2114 (spi_device_event_controller_object_finalize): Fix typo in previous
2117 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2119 * registryd/deviceeventcontroller.c
2120 (spi_device_event_controller_object_finalize): Fix build on
2121 systems without XEvIE.
2123 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2125 * acconfig.h, configure.in, registryd/Makefile.am,
2126 registryd/devicecontoller.[ch]: Add XEViE support.
2128 2003-08-06 Wang Jian <lark@linux.net.cn>
2130 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2132 2003-08-06 Metin Amiroff<metin@karegen.com>
2134 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2136 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2138 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2139 MODIFIER_ALT in correct place.
2141 This fixes part of bug #118114.
2143 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2145 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2147 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2149 * configure.in: Added "ko" to ALL_LINGUAS.
2151 2003-07-28 Ole Laursen <olau@hardworking.dk>
2153 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2155 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2157 * configure.in: Added "sq" to ALL_LINGUAS.
2159 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2161 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2163 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2165 * configure.in: updated ALL_LINGUAS list
2167 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2169 * configure.in: Added Belarusian to ALL_LINGUAS.
2171 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2173 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2175 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2176 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2178 This fixes bug #116949.
2180 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2182 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2183 Correct CSPI to SPI in function documentation.
2185 This fixes bug #118054.
2187 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2189 * configure.in: Added Russian to ALL_LINGUAS.
2191 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2193 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2195 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2197 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2199 2003-07-10 Joel Brich <joel.brich@laposte.net>
2201 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2203 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2205 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2207 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2209 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2210 resources allocated for AccessibleEvent. See cspi_event().
2212 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2213 static variable streams to NULL.
2215 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2216 Update so that AcessibleEvent_ref will work.
2218 This fixes bug #116624.
2220 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2222 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2224 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2226 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2228 2003-07-02 Christian Neumair <chris@gnome-de.org>
2230 * configure.in: Added "de" (German) to ALL_LINGUAS.
2232 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2234 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2236 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2238 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2240 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2242 * configure.in: Added "pl" to ALL_LINGUAS.
2244 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2246 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2248 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2251 (get_action_from_servant):
2252 Removed assertion that action is implemented on an AtkObject.
2254 * libspi/hyperlink.c:
2255 (spi_hyperlink_new):
2256 Aggregate AccessibleAction interface on the hyperlink object if
2257 the object implements AtkAction. (This convention is used in
2260 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2262 * configure.in: Revved to 1.3.5.
2264 * registryd/Accessibility_Registry.server.in.in:
2265 Marked up appropriate strings for translation.
2267 * atk-bridge/bridge.c: Marked a couple of
2268 user-visible warnings for translation. Questionable
2269 whether they are really useful, but possibly so.
2272 2003-06-28 Christian Rose <menthos@menthos.com>
2274 * configure.in: Added "sv" to ALL_LINGUAS.
2276 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2278 * registryd/registry.c:
2279 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2280 (registry_defer_on_event): Defer focus: events, this is an
2281 improvement to the patch for bug #108664.
2283 * TODO: Update with 2.4/"Dev Complete" items.
2285 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2287 * atk-bridge/bridge.c:
2288 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2289 looks up signals once.
2290 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2291 if doing registration.
2292 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2293 when doing registration.
2295 This fixes bug #115014.
2297 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2299 * atk-bridge/bridge.c:
2300 (atk_bridge_init): Add signal handler for children-changed:remove on
2301 root when in a BonoboComponent.
2302 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2303 for first toplevel only other incrememt variable toplevels.
2304 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2305 application and remove listeners.
2306 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2308 (spi_atk_deregister_event_listeners): New function which removes
2310 (reinit_register_vars): New fuction which reinitializes variables.
2312 This fixes bug #111578.
2314 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2316 * configure.in: version 1.3.4.
2318 * cspi/spi_accessible.c:
2319 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2322 2003-06-13 Michael Meeks <michael@ximian.com>
2324 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2326 * cspi/spi_main.c (cspi_peek_ev): impl.
2328 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2330 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2332 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2334 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2335 SPI_ROLE_AUTOCOMPLETE
2337 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2339 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2340 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2342 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2344 * libspi/streamablecontent.h:
2345 * libspi/streamablecontent.c:
2346 New files, provide implementation/wrappers for
2347 Accessibility_StreamableContent.
2349 * cspi/spi_streamablecontent.c:
2350 Connected the C wrappers to the libspi C bindings.
2351 (AccessibleStreamableContent_close): New method.
2354 (AccessibleStreamableContent_close): New method, needed
2355 since we have an "open, [seek], read, close" model in cspi.
2357 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2359 Fix for #108664; Padraig's revision of my original patch.
2361 * registryd/registry.h:
2362 Added event queue list, is_queuing, and exit_notify_timeout
2363 to the registry struct.
2365 * registryd/registry.c:
2366 (registry_init): Initialize new struct from registry.h.
2367 (impl_registry_notify_event):
2368 Filter events before notifying, in case some need to be
2370 (registry_filter_event): New,
2371 we defer certain incoming events (for instance
2372 window:deactivate) because we may wish to hide
2373 or reject them based on pending events. This is
2374 mostly a workaround for bug #108664.
2375 (registry_queue_event, registry_start_queue): New.
2376 (registry_defer_on_event): Test event to see if it
2378 (registry_reset_on_event): Returns TRUE if the
2379 event should cause a queue reset.
2380 (registry_discard_on_event): Returns TRUE if the event
2381 should cause the previous queue contents to be discarded.
2382 (registry_timeout_flush_queue): Flushes the pending event
2383 queue if no reset/discard-triggering events have come in
2384 within the timeout period.
2385 (registry_emit_event): New.
2386 (registry_clone_notify_context): New, used when queueing the
2387 event notify contexts.
2389 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2391 * configure.in: Version revved to 1.3.2, lt 0.9.2
2392 Incremented ATK required version to 1.3.4.
2394 * cspi/spi_registry.c:
2395 (SPI_generateKeyEvent):
2396 We now pass the keystring along if it's non-null.
2398 * registryd/deviceeventcontroller.c:
2399 (keysym_mod_mask): New method, returns modifier mask
2400 required to generate a keysym from a given keycode.
2401 (dec_synth_keysym): New method.
2402 (dec_synth_keystring): New method.
2403 (dec_get_modifier_state): New method.
2404 (dec_lock_modifiers): New
2405 (dec_unlock_modifiers): New.
2406 (dec_keysym_for_unichar): New, rather brute-force
2407 conversion from UCS-4 to X KeySyms. Only works for
2408 Latin at the moment, with partial implementations for
2409 Greek, Hebrew, and (incomplete) Katakana.
2410 (impl_generate_keyboard_event): Now implement
2411 "KEYSTRING" synthesis and implement "KEYSYM"
2413 (keycode_from_keysym): Improved, passes a returned
2414 modmask value now if the corresponding param is non-NULL.
2416 Fixes bugs #92143 and #109776.
2419 * test/keysynth-test.c:
2420 New test program for key synthesis, to confirm fixes for
2424 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2426 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2428 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2429 Add line for RELATION_POPUP_FOR
2431 * docs/reference/cspi/tmpl/spi_relation.sgml:
2432 Add relation SPI_RELATION_POPUP_FOR
2434 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2435 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2437 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2439 * libspi/relation.c (spi_init_relation_type_table):
2440 Add line for RELATION_POPUP_FOR
2442 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2444 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2445 there are still windows which have not been deleted and emit
2446 window:deactivate, if necessary and window:destroy events.
2447 This fixes bug #114370. The change on June 5th was not correct.
2449 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2451 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2454 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2456 New methods for client exception handling and interception.
2457 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2458 (SPI_exceptionHandlerPop): You guessed it...
2459 (SPI_getSourceType): Return the type of object which offended.
2460 (SPI_getExceptionCode): Return an enum code telling, possibly,
2461 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2462 (SPIAccessibleException_getSource): get the source object for
2463 exceptions that come from Accessibles, if SPIExceptionSourceType is
2464 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2465 (SPIException_getDescription): New, returns a string description of
2466 the problem. [Not yet a stable ABI, strings are not frozen]
2468 * cspi/spi-private.h:
2469 Added implementation details of opaque SPIException
2473 Implementations of above. Also
2474 (_cspi_exception_throw): new private method that
2475 dispatches exceptions to handlers, called from cspi-bonobo.c
2477 * cspi/bonobo/cspi-bonobo.c:
2478 (cspi_check_ev): call _cspi_exception_throw.
2479 Don't print a warning message if the exception has been
2480 handled by _cspi_exception_throw.
2482 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2484 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2485 there are still windows which have not been deleted and emit
2486 window:deactivate, if necessary and window:destroy events.
2487 This fixes bug #114370.
2489 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2492 (cspi_accessible_is_a): Make non-fatal
2493 if the object reference is dead.
2495 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2497 * cspi/spi_main.c: #include <stdio.h>
2498 * test/simple-at.c: ditto
2499 * test/event-listener-test.c: ditto
2500 * test/screen-review-test.c: ditto
2502 2003-05-30 Michael Meeks <michael@ximian.com>
2504 * test/test-simple.c (main): use CORBA_ORB_perform_work
2505 instead of an unnecessary linc_ call.
2507 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2509 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2510 Add SPI_STATE_INDETERMINATE.
2512 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2515 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2517 * libspi/stateset.c (init_state_type_tables): Add support for
2520 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2522 * configure: Update versions of atk and gail required.
2523 This fixes bug #113268.
2525 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2527 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2529 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2531 * libspi/Makefile.am:
2532 Ensure headers are generated before being used by c sources.
2534 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2537 Simplified lt versioning rules.
2538 Incremented version to 1.3.0, to indicate that we're on the
2539 unstable branch now.
2541 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2543 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2544 Add MKDB_OPTIONS=--outtput-format=xml
2546 * docs/reference/cspi/at-spi-cspi-docs.sgml
2547 docs/reference/idl/at-spi-idl-docs.sgml:
2548 Convert to Docbook XML.
2550 This fixes bug #111793.
2552 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2554 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2555 AcccessibleKeyEventType, AccessibleKeyMaskType.
2557 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2559 * cspi/state-types.h: Add documentation for AccessibleState.
2561 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2562 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2563 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2564 AccessibleComponentLayer.
2566 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2569 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2571 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2572 Accessible. Add description of AccessibleEvent,
2573 AccessibleEventListenerCB.
2575 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2578 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2579 documentation. Add description of AccessibleKeystrokeListenerCB,
2580 AccessibleKeyEventMask, AccessibleModifierMaskType,
2581 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2582 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2584 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2587 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2590 This fixes bug #104730.
2592 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2594 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2595 Set is_text field of Accessibility_DeviceEvent data structure.
2597 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2598 is-text field of AccessibleDeviceEvent data structure.
2600 This addresses part of bug #108666.
2602 * registryd/devcieeventcontroller.c: Unset debug option.
2604 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2606 * cspi/accessible.c:
2607 (cpi_initial_relation_type_table): New function which initializes
2608 mapping between Accessibility_RelationType and AccessibleRelationType.
2609 (cspi_relation_type_from_spi_relation_type): New function which
2610 translates an Accessibility_RelationType into an AccessibleRelationType.
2611 (AccessibleRelation_getRelationType): Use
2612 cpi_relation_type_get_spi_relation_type to return correct value.
2613 (spi_state_to_corba): Return correct type for default case.
2615 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2616 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2618 * cspi/cspi-bonobo-listener.c:
2619 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2622 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2623 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2624 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2625 libspi/image.c, libspi/listener.c, libspi/selection.c,
2626 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2627 registryd/desktop.c, registryd/registry.c:
2628 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2630 * libspi/eventlistener.c
2631 Remove semicolon after BONOBO_TYPE_FUNC.
2633 * libspi/relation.c:
2634 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2635 (spi_init_relation_type_table): Initialize using correct type.
2637 * registryd/desktop.c:
2638 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2639 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2640 of Accessibility_KeyEventType.
2642 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2645 * tests/simple-at.c, tests/screen-review-test.c:
2646 Add include for <strings.h>.
2648 * tests.stress-test.c:
2649 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2651 These changes fix compiler warnings when using FORTE compiler on
2652 Solaris; fixes bug #107479.
2655 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2658 * configure.in: revved to 1.1.10
2660 * libspi/keymasks.h:
2661 (SPI_KEYMASK_NUMLOCK): Added.
2663 * registryd/deviceeventcontroller.c:
2664 (spi_key_event_matches_listener): AND with a smaller
2665 bitmask (as we should).
2666 (spi_dec_translate_mask):
2667 New method, sets the virtual NumLock modifier bit
2668 if numlock is on. Eventually it can handle other virtual
2669 modifier bits if needed, or other marshalling from
2670 at-spi modifier masks to platform (X) masks.
2671 (spi_dec_key_listener_new):
2672 Call spi_dec_translate_mask to set up virtual mod bits
2673 in the 'mask' field when creating a new listener struct.
2674 (spi_dec_emit_modifier_event):
2675 Set the virtual (i.e. NumLock) bits before emitting event.
2676 (spi_controller_register_with_devices):
2677 Query for the NumLock modifier 'physical' bit if Xkb is
2678 present, for use in above methods.
2682 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2684 * registryd/deviceeventcontroller.c:
2685 (spi_keystroke_from_x_key_event):
2686 Instead of checking to see if the keysym is
2687 printable, check the string from XLookupString
2688 if available, get the first unicode character from it,
2689 and call g_unichar_isprint to determine whether the
2690 is_text flag should be TRUE or FALSE.
2694 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2696 * atk-bridge/bridge.c: Add support for extended events
2697 * cspi/spi_event.c: Add documentation and implementation for
2699 * tests/event-listener-test.c: Add tests for extended events.
2701 This fixes bugs #100424 and #100426.
2703 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2705 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2706 of LT_CURRENT. This fixes bug #89350.
2708 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2710 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2711 number of signal parameter values before accessing them. This fixes
2714 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2716 * configure.in: Fixed duplicate inclusion of -lspi.
2717 * branched for gnome-2-2/HEAD.
2718 [created tag "gnome-2-2"]
2720 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2722 * configure.in: 1.1.9 release.
2725 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2727 [needed by GOK, to fix bugs 107985 and 107988]
2728 * registryd/deviceeventcontroller.c:
2729 (spi_dec_clear_unlatch_pending):
2730 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2731 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2732 (spi_dec_init_mouse_listener):Emit warning if mouse button
2734 (spi_device_event_controller_forward_mouse_event):
2735 Removed unnecessary parens from a conditional.
2736 (global_filter_fn):Added TODO comment.
2737 (impl_generate_keyboard_event):
2738 Cancel a pending relatch if a 'delatching' key was
2741 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2743 * atk-bridge/bridge.c:
2744 Change atk_signal_child_changed to atk_signal_children_changed.
2745 Reorganize code in spi_atk_bridge_signal_listener().
2747 * test/event-listener-test.c:
2748 Add children_changed_listener and report_children_changed_event()
2749 to test AccessibleChildEvent_getChildAccessible.
2751 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2753 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2754 g_strdup to CORBA_String_dup (bug #105291)
2756 * test/event-listener-test.c (report_text_event): Add call to
2759 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2761 * registryd/deviceeventcontroller.c:
2762 (spi_keystroke_from_x_key_event):
2763 Fix string and keysym return codes to match modifier state.
2766 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2768 * registryd/deviceeventcontroller.c:
2769 (spi_keystroke_from_x_key_event):
2770 Fix segv due to improper use of isprint(c). [bug #107254]
2772 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2775 (get_accessible_text_boundary_type):
2776 Move default return value to (new) default case in switch.
2777 (get_accessible_text_clip_type):
2778 Move default return value to (new) default case in switch.
2780 * libspi/application.c:
2781 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2782 Remove unused methods.
2783 (impl_accessibility_application_register_object_event_listener):
2784 Remove unused methods.
2787 Added #include of <math.h>.
2789 * registryd/deviceeventcontroller.c:
2790 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2791 we don't currently use this method.
2792 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2794 (impl_generate_key_event):
2795 Remove unused variables.
2796 (impl_generate_mouse_event):
2797 Initialize button to zero, just in case we get an invalid
2798 input. Added support for mouse buttons 4 and 5.
2799 (spi_device_event_controller_new):
2800 Removed unused variable declaration for 'private'.
2802 Added #include of <gdk/gdk.h>
2804 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2806 * configure.in: Update to work when X is not installed in expected
2807 location. Fixes bug #105836.
2809 * atk-bridge/bridge.c
2810 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2812 (spi_atk_register_event_listener): Add signal listener for
2814 (spi_atk_bridge_signal_listener): Event event when link-selected
2815 signal is emitted. (bug #104622)
2817 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2818 on returned string. (bug #105291)
2820 * test/event-listener-test.c: Add test for link-selected.
2822 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2824 * atk-bridge/Makefile.am: Correct typo in previous commit.
2826 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2828 * atk-bridge/Makefile.am: Allow for build directory to be different
2829 from source directory
2831 * registryd/Makefile.am: Allow for build directory to be different
2832 from source directory
2836 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2839 Fixed dependencies for libcspi so that libspi gets pulled in
2840 properly. Fixes 104741.
2844 Clean up inline docs a little.
2846 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2848 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2849 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2850 the AtkObject within an SpiDesktop.
2851 This addresses bug #101524.
2853 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2854 Remove call to gdk_init().
2856 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2857 so that Display is set when SpiDesktop is created.
2859 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2861 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2862 This fixes bug #102830.
2864 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2866 * test/test-simple.c: Update to take account of fact that GailButton
2867 now implements AtkText.
2868 (create_text_window): Set name on AtkObject for GtkEntry.
2869 (validate_accessible): Check accessible name before calling test_text().
2871 * libspi/Makefile.am: Fix problem with building outside of source
2872 directory. Bug #98120.
2874 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2875 typo in documentation comments. Bug #94275.
2877 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2879 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2881 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2884 Add includes to avoid compiler warnings on Solaris.
2885 (impl_getRangeExtents): Bug fix.
2887 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2889 Fix for 100944, [API addition approved by Gman and murrayc].
2896 * idl/Accessibility_Text.idl:
2897 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2898 (Text::getRangeExtents): New method for efficient
2899 bounds query of a text range.
2900 (Text::getBoundedRanges): New method for efficient
2901 clipping of text to bounding boxes.
2902 (unImplemented7, unImplemented8):
2903 Removed these padding methods to preserve bincompat.
2906 (impl_getRangeExtents): implementation of new IDL.
2907 (impl_getBoundedRanges): implementation of new IDL.
2908 (SpiTextRect): Internal use struct.
2909 (_spi_text_rect_union): internal method, calculates union of two
2910 SpiTextRect bounding rects.
2911 (_spi_text_range_seq_from_gslist): internal method, allows us
2912 to build our sequence efficiently as a gslist then convert it
2914 (_spi_bounds_contain): internal method, determines whether
2915 a text character is "in" or "out" of a clip rect according to
2916 values of TEXT_CLIP_TYPE.
2917 (spi_text_class_init): Initialize the new methods in the epv.
2920 (AccessibleTextClipType): New enum used by screen review api.
2921 (AccessibleTextRange): New struct used by screen review api.
2922 (AccessibleText_getRangeExtents):
2923 cspi binding for Accessibility_Text_getRangeExtents.
2924 (AccessibleText_getBoundedRanges):
2925 cspi binding for Accessibility_Text_getBoundedRanges.
2926 (AccessibleTextRange_freeRanges): convenience method.
2929 (AccessibleText_getRangeExtents):
2930 cspi binding for Accessibility_Text_getRangeExtents.
2931 (AccessibleText_getBoundedRanges):
2932 cspi binding for Accessibility_Text_getBoundedRanges.
2933 (AccessibleTextRange_freeRanges): convenience method.
2934 (get_accessible_text_clip_type): internal conversion method.
2935 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2937 * registryd/deviceeventcontroller.c:
2938 (spi_dec_mouse_check):
2939 Improved behavior for mouse:abs events
2940 [same granularity as mouse:rel events, and no
2941 events when mouse is idle].
2943 2002-12-16 Michael Meeks <michael@ximian.com>
2945 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2947 * libspi/stateset.c (state_spi_to_atk): split out
2948 ( fix several remote array bounds nasties )
2949 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2950 (impl_remove): make safe from array bounds issues.
2951 (spi_atk_state_from_spi_state): impl.
2953 * libspi/stateset.h (spi_state_set_cache_is_empty):
2954 add a set of wrapper defines to get layering right.
2956 * cspi/spi_accessible.c: update state set stuff to
2959 2002-12-14 Michael Meeks <michael@ximian.com>
2961 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2962 to avoid 2 roundtrips to the registry per key event
2963 (spi_atk_bridge_key_listener): upd.
2964 (deregister_application): release the dec.
2966 * registryd/registry.c (notify_listeners_cb):
2967 bin lots of re-enterant complexity - we no longer
2968 do a round-trip bonobo ref here, ensure that a single
2969 listener's exception failure won't poison all other
2971 (impl_registry_notify_event): bin obvious memory leak.
2973 2002-12-13 Michael Meeks <michael@ximian.com>
2975 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2976 init the ev so the error is meaningful.
2977 (spi_atk_bridge_key_listener): ditto.
2979 * cspi/spi_main.c (cspi_ev): init the ev so we start
2980 with a clean slate, otherwise the first exception
2981 kills us completely.
2983 * cspi/spi_text.c (get_accessible_text_boundary_type):
2984 add a fallthrough for no warnings.
2986 * cspi/spi_registry.c: prune unused warnings.
2988 * cspi/spi_main.c (cspi_object_take): fix
2989 mind-blowing brokenness ( by watching the compile
2992 * cspi/spi_accessible.c (Accessible_getStateSet):
2993 re-impl. to use an AtkStateSet.
2994 (spi_state_type_from_accessible_state),
2995 (init_state_table): bin these.
2997 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2999 (atk_state_set_from_accessibility_state_set): here.
3001 * cspi/spi_accessible.c (spi_state_to_atk): impl.
3002 (AccessibleStateSet_contains, AccessibleStateSet_ref),
3003 (AccessibleStateSet_unref, AccessibleStateSet_contains),
3004 (AccessibleStateSet_add, AccessibleStateSet_remove),
3005 (AccessibleStateSet_equals, AccessibleStateSet_compare),
3006 (AccessibleStateSet_isEmpty): re-write to use a local
3009 2002-12-13 Bill Haneman <bill.haneman@sun.com>
3011 * configure.in: Revved to 1.1.7 (new keymask vals).
3013 2002-12-10 Bill Haneman <bill.haneman@sun.com>
3015 * libspi/keymasks.h:
3016 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
3018 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
3021 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
3022 to compare two CORBA_TypeCodes.
3023 (cspi_internal_event_add): Silence warning from FORTE compiler.
3025 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
3026 avoid implicit declaration of functions.
3028 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3030 * atk-bridge/bridge.c:
3031 (spi_atk_bridge_init_event_type_consts): Store signal id for
3032 active-descendant-changed signal.
3033 (spi_atk_register_event_listeners): Add signal listener for
3034 active-descendant-changed signal,
3035 (spi_atk_bridge_signal_listener): Move code in function
3036 spi_atk-signal_emit_event() into this function.
3037 Add support for active-descendant-changed
3038 Update support for child-changed signal.
3039 (spi_bridge_window_event_listener): Silence warning.
3041 * libspi/spi_private.[ch]:
3042 (spi_init_any_object): Change second parameter from CORBA_Object to
3044 Omit call to CORBA_Object_duplicate().
3045 Set CORBA_any's _value to CORBA_Object*.
3047 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3053 (AccessibleEvent_ref, AccessibleEvent_unref):
3054 New methods, for persisting an event outside the emission context.
3055 Must be used if the new accessor methods are to be called
3056 outside of the event listener's callback.
3058 * cspi/bonobo/cspi-bonobo.c:
3059 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3060 as second parameter instead of NULL, so we can call
3061 cspi_check_ev afterwards.
3064 (cspi_object_take): New internal method,
3065 converts a CORBA_Object reference to a hard ref on
3066 an Accessible if possible, returning NULL if the object
3067 reference is invalid or an Accessible * otherwise.
3070 (AccessibleEvent_ref):
3071 Increment the event's internal private refcount, and
3072 add the event's internal struct to an internal cache
3073 if it's not already there.
3074 (AccessibleEvent_unref):
3075 Decrement the event's refcount and remove it from
3076 the cspi event cache if refcount==0.
3077 (cspi_event_compare): New private method.
3078 Compares two event structs via their ids. Used
3080 (cspi_internal_event_lookup): New private method.
3081 (cspi_internal_event_check): New private method,
3082 a 0-order sanity check for events to make sure their
3083 private data is intact.
3084 (cspi_internal_event_add, cspi_internal_event_remove):
3085 New private methods for managiing the event cache.
3087 * cspi/bonobo/cspi-bonobo-listener.c:
3089 Initialize the new private data elements (id, magic, ref_count).
3091 * atk-bridge/bridge.c:
3092 (spi_atk_bridge_signal_listener):
3093 Fixed bug #100530, passing wrong params to emission func.
3095 * registryd/deviceeventcontroller.c:
3096 (spi_dec_button_update_and_emit):
3097 Fixed type in mask bit operations; fix for #99799.
3099 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3101 Removed some of the more dangerous workarounds from
3102 previous commit; they are only needed by GOK, which
3103 in reality should be using another method to accomplish
3104 the goals. So on reconsideration some of the workarounds
3105 need to be reverted:
3107 * registryd/deviceeventcontroller.c:
3108 (spi_keycodes_contain, spi_dec_init_keycode_list):
3109 Removed these methods, used only by a nasty hack to try
3110 and detect whether a key synthesis should be allowed
3111 to reset the XKB latch state or not. This code was only
3112 required to work around an interaction between GOK,
3113 button events, and XKB.
3114 (impl_generate_key_event):
3115 Removed hack at end of key generation that tried to
3116 "do the right thing" if XKB latch keys were generated
3117 in the midst of button press/release pairs.
3120 Added a check for HAVE_XINPUT. Not normally used yet.
3122 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3124 Workarounds and fixes for mouse event/XKB interaction.
3126 * registryd/deviceeventcontroller.c:
3127 (spi_keycodes_contain, spi_dec_init_keycode_list):
3128 New internal methods.
3129 (spi_dec_set_unlatch_pending):
3130 Split the method that tells XKB to expect an
3131 unlatch (and revert it) out of the rest of the
3132 event handling code. This method is called by the
3133 two mouse event handlers (the poll and the filter).
3134 (spi_dec_update_and_emit, spi_dec_mouse_check):
3135 New methods split from spi_dec_poll_mouse_moved.
3136 The second one is now called from inside the filterFn
3137 when an XKB delatch event is received, to determine
3138 whether to revert the delatch or not.
3139 (spi_poll_mouse_moved): Refactor; also we can now
3140 properly handle the case where multiple button states
3141 have changed between polling cycles and we didn't get
3142 notified due to another client's grab.
3144 Synchronize the server while handling an XKB notification.
3145 Ugly, but apparently necessary to avoid nasty races.
3146 Check the mouse state on receipt of an XKB latch change,
3147 to decide whether to revert the latch or not. (Latches are
3148 reverted if there is an immediately preceding mouse button
3149 event that a client has consumed, in which case we don't want
3150 the user to see the side-effect of the event).
3151 (spi_device_event_controller_forward_mouse_event):
3152 Check for modifier events and fire before resetting mouse_mask_state,
3153 prevents losing modifier events.
3155 (impl_generate_keyboard_event):
3156 If we've just generated a keyboard event for a non-shift key,
3157 we don't want to revert the pending XKB latch.
3158 Otherwise, check the modifier state (via a call to
3159 spi_dev_mouse_check) and set the relatch mask to
3160 that state before returning.
3162 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3165 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3168 * atk-bridge/bridge.c:
3169 (spi_atk_register_event_listeners):
3170 Don't re-register for ATK events if the registry has died
3171 and the app needs to re-register; the ATK listeners are in
3172 process and doing so will cause duplicate emission.
3174 * registryd/deviceeventcontroller.c:
3175 (spi_poll_mouse_moved):
3176 Reformat the source, detect and emit multiple button-change
3177 events (i.e. if multiple buttons have changed between poll
3179 Add code to detect mouse-down events even when the pointer
3180 is grabbed; workaround for GOK bug 98420.
3181 (spi_controller_register_with_devices):
3182 Call XTestGrabControl with 'impervious' flag set to True,
3183 allows us to synthesize events and query the pointer even during
3184 an active grab by another client.
3185 (spi_device_event_controller_forward_mouse_event):
3186 Set the mouse_mask_state to the mouse_button_state from
3187 the intercepted event, to synchronize the grab listener with
3190 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3192 * cspi/spi_accessible.c:
3193 (AccessibleRole_getName):
3194 Added necessary strings for making this (deprecated)
3195 method work with the new role types.
3196 (init_role_table, role_table):
3197 Added definition of SPI_ROLE_APPLICATION.
3199 * libspi/spi-roletypes.h:
3200 Added SPI_ROLE_APPLICATION.
3202 * idl/Accessibility_Role.idl:
3203 Added ROLE_APPLICATION.
3205 * docs/reference/cspi/at-spi-cspi-decl.txt:
3206 Added SPI_ROLE_APPLICATION to docs.
3208 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3210 * cspi/spi_accessible.c
3211 (cspi_init_role_table): Do not write beyond end of role_table.
3212 (Accessible_getRole): Use correct type for value returned by
3213 Accessibility_Accessible_getRole().
3215 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3216 beyond end of role_table. (This fixes bug #98269)
3218 * libspi/application.c: Add include file spi-private.h for
3219 definition of spi_init_any_nil.
3221 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3225 * libspi/spi-private.h:
3226 Added DGB() macro, and extern int _dbg declaration.
3228 * registryd/registry.c:
3229 (definitions) storage for _dbg.
3230 (spi_registry_init):
3231 Get environment variable "AT_SPI_DEBUG".
3232 (spi_registry_set_debug):
3233 New method, to initialize _dbg value.
3234 (spi_listener_struct_new, spi_registry_object_finalize):
3235 (notify_listeners_cb):
3236 Changed fprintfs to use DBG and g_warning().
3238 * registryd/deviceeventcontroller.c:
3239 (_deregister_keygrab, spi_controller_register_device_listener):
3240 Changed debug/warning messages to use DBG macro.
3242 * libspi/listener.c:
3243 (impl_notify_event):
3244 Changed warning messages to use DBG macro and g_warning().
3246 * atk-bridge/bridge.c:
3247 (atk_bridge_init, spi_atk_bridge_get_registry):
3248 (spi_atk_bridge_exit_func):
3249 (spi_atk_bridge_property_event_listener):
3250 Changed status, warning, and error messages to use
3251 g_warning, g_message, and DBG macros.
3254 Read the state of the AT_SPI_DEBUG environment variable
3255 and set a local '_dbg' accordingly.
3257 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3259 FIXES for 98836, 98842, other bugs.
3262 Revved to 1.1.4, interface-age=4, binary-age=4.
3264 * registryd/deviceeventcontroller.c:
3266 Fixed crasher bug in last_mouse_pos initialization.
3268 * registryd/registry.c:
3269 (desktop_add_application, desktop_remove_application):
3270 Added (and then commented out) some support for
3271 object context marshalling. [TODO]
3273 * atk-bridge/bridge.c:
3274 (spi_atk_bridge_event_context_create):
3275 Commented out object context creation until it can
3276 be properly tested and debugged.
3278 * registryd/registry.c:
3279 (impl_registry_notify_event):
3280 Fixed crasher bug, we were calling
3281 spi_re_entrant_list_foreach () with an empty list.
3283 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3285 * idl/Accessibility_Action.idl:
3286 * idl/Accessibility_Component.idl:
3287 * idl/Accessibility_Desktop.idl:
3288 * idl/Accessibility_Event.idl:
3289 * idl/Accessibility_Hyperlink.idl:
3290 * idl/Accessibility_Image.idl:
3291 * idl/Accessibility_Relation.idl:
3292 * idl/Accessibility_Selection.idl:
3293 * idl/Accessibility_State.idl:
3294 * idl/Accessibility_Value.idl:
3295 Updated unimplemented slot count to minimum of
3296 four for all interfaces, for ABI freeze.
3298 * idl/Accessibility_EditableText.idl:
3299 * idl/Accessibility_Text.idl:
3300 Updated unimplemented slot count to six
3303 * idl/Accessibility_Registry.idl:
3304 Updated unimplemented slot count to six
3305 (also for DeviceEventController),
3308 * idl/Accessibility_Table.idl:
3309 Updated unimplemented slot count to eight,
3312 * idl/Accessibility_Event.idl:
3313 Added CORBA_any "any_data" member to Event struct.
3315 * idl/Accessibility_Event.idl:
3316 Added CORBA_any "any_data" member to Event struct.
3318 * atk-bridge/bridge.c:
3320 atk_signal_text_changed, atk_signal_child_changed,
3321 signal ids queried from gtype system.
3322 (AtkBridgeEventContextType): New enum.
3323 (AtkBridgeEventContextData): New struct.
3324 (AtkBridgeEventContext): New struct.
3325 (atk_bridge_init_event_type_consts):
3326 New method, initializes type contants for comparison
3327 prior to emit_eventv.
3328 (atk_bridge_event_context_init): New method,
3329 initializes a CORBA_any from an AtkBridgeEventContext.
3330 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3331 initialize the event.any_data struct.
3332 (spi_atk_bridge_event_context_create): New method,
3333 creates an AtkBridgeEventContext from signal/event info.
3334 (spi_atk_bridge_event_context_free): New method.
3335 (spi_atk_emit_eventv): Changed to take an
3336 AtkBridgeEventContext parameter. We now initialize
3337 the event.any_data member prior to notifying the
3338 Registry, via the AtkBridgeEventContext.
3339 (spi_atk_bridge_property_event_listener):
3340 (spi_atk_bridge_state_event_listener):
3341 Match emit_eventv signature.
3342 (spi_atk_bridge_object_event_listener):
3343 Match emit_eventv signature, and create an
3344 event context from the event details.
3345 Free the event context afterwards.
3346 (spi_atk_bridge_window_event_listener):
3347 Create an event context, pass it to the
3351 (AccessibleEvent_getContextString):
3352 (AccessibleEvent_getContextObject):
3353 New methods, allow query of AccessibleEvent objects
3354 for more context details (via the "any_data" member
3355 of the Event struct, above).
3358 Definitions for AccessibleEvent_getContextString
3359 and AccessibleEvent_getContextObject.
3361 * cspi/spi_listener.h:
3362 (InternalEvent): New struct.
3365 (AccessibleEvent_getContextString):
3366 (AccessibleEvent_getContextObject):
3367 Implementations of new methods, for obtaining
3368 additional context information from some event types.
3370 * cspi/spi_registry.c:
3371 (SPI_registerGlobalEventListener):
3372 Added mention of active-descendant-changed event in docs.
3374 * cspi/cspi-bonobo-listener.c:
3376 Marshal the any into the AccessibleEvent via
3379 * libspi/spi-private.h:
3380 #include <orbit/orbit.h>
3382 (spi_init_any_string):
3383 (spi_init_any_object):
3384 New convenience function declarations.
3388 (spi_init_any_string):
3389 (spi_init_any_object):
3390 New convenience function implementations.
3392 * registryd/deviceeventcontroller.c:
3393 (spi_poll_dec_mouse_moved):
3394 (spi_device_event_controller_forward_mous_event):
3395 Initialize any_data member of event.
3396 (spi_deregister_controller_device_listener):
3397 Fix incorrect param pass which was preventing deregistration.
3399 * registryd/registry.c:
3400 (desktop_add_application):
3401 (desktop_remove_application):
3402 Add object data to event's any_data before dispatch.
3404 Fix for error messages from GAIL.
3406 * test/event-listener-test.c:
3407 Test new ContextString and "any_data" API:
3408 (report_text_event): New method query and output context string.
3409 (main): register a new text listener with report_text_event
3412 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3414 Fixes for bugs 98127 and 97914.
3415 * cspi/spi-roletypes.h:
3416 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3418 * cspi/spi-statetypes.h:
3419 Added SPI_STATE_MANAGES_DESCENDANTS
3421 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3422 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3423 * cspi/spi_accessible.c:
3424 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3425 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3426 Accessibility_STATE_MANAGES_DESCENDANTS
3427 * libspi/accessible.c:
3428 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3429 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3430 As requested by Bill, I also cleaned up the alignment.
3431 * libspi/relation.c:
3432 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3433 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3434 * libspi/stateset.c:
3435 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3436 Accessibility_STATE_MANAGES_DESCENDANTS
3437 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3438 Document changes reflecting modifications to roles.
3439 * docs/reference/cspi/tmpl/spi_relation.sgml:
3440 Document changes reflecting modifications to relations.
3441 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3442 Document changes reflecting modifications to states.
3444 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3447 Revved to 1.1.3, interface-age=3, binary-age=3.
3448 Added REBUILD macro.
3451 Removed accessx-gui from the tests, since we have a nice
3452 keyboard accessibility capplet now :-)
3454 * test/keysynth-demo.c:
3455 (increment_scan): removed do-nothing default: case,
3458 * test/visual-bell.c:
3459 (main) : removed do-nothing default: case,
3462 * cspi/spi_action.c:
3463 (AccessibleAction_getKeyBinding_):
3464 Documented keybinding string format.
3468 (AccessibleText_getAttributes):
3469 Documented the text attribute string format.
3470 It's changed to use semicolon delimiters also,
3471 to prevent clashes with CSS attributes, but the old
3472 trick of looking for ", " strings will still work
3473 (as unreliably as ever). Fix for bug related to 97916.
3476 Include <cspi/bonobo/cspi-bonobo-listener.h>
3477 Fixes build warning.
3478 (SPI_freeAccessibleKeySet):
3479 (AccessibleKeystrokeListener_addCallback):
3480 (AccessibleKeystrokeListener_removeCallback):
3481 Modify to use AccessibleDeviceListener API internally,
3482 instead of AccessibleKeystrokeListener.
3484 * idl/Accessibility_Event.idl:
3485 Added two more empty slots to EventListener (for a total of four).
3487 * idl/Accessibility_Accessible.idl:
3488 Added four empty slots to Accessible interface.
3490 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3492 * idl/Accessibility_Registry.idl:
3493 (KeyEventType, EventType):
3494 Marked KeyEventType as deprecated; it duplicates
3495 functionality of EventType, which has been extended to
3496 include Mouse-button events.
3497 (KeyEventTypeSeq): defined in terms of EventType.
3498 (registerDeviceEventListener, deregisterDeviceEventListener):
3499 New methods, for managing listeners to device events,
3500 which potentially may consume them.
3503 Added definition for AccessibleDeviceListener.
3505 * cspi/spi-listener.h:
3506 (enum AccessibleDeviceEventType):
3507 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3508 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3509 for backwards compat.
3510 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3511 and typedef'd AccessibleKeystroke to it for back-compat.
3512 (AccessibleDeviceListenerCB):
3513 New function prototype typedef.
3516 (AccessibleDeviceEventMask): New typedef.
3517 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3518 (AccessibleKeyMaskType):
3519 Set equivalent to AccessibleModifierMaskType for back-compat.
3520 (SPI_createAccessibleKeystrokeListener):
3521 (AccessibleKeystrokeListener_unref):
3522 Deprecated in favor of equivalent (better-named) new API below..
3523 keystroke listeners are like all device listeners.
3524 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3525 New API names for old features :-).
3526 (AccessibleDeviceListener_addCallback):
3527 (AccessibleDeviceListener_removeCallback):
3528 (SPI_registerDeviceEventListener):
3529 (SPI_deregisterDeviceEventListener):
3533 (SPI_createAccessibleKeystrokeListener):
3534 Use new preferred API, cspi_device_listener_new() and
3535 cspi_device_listener_add_cb().
3536 (AccessibleKeystrokeListener_removeCallback):
3537 Use new preferred API, cspi_device_listener_remove_cb().
3538 (AccessibleKeystrokeListener_unref):
3539 Use new preferred API, cspi_device_listener_unref().
3540 (SPI_createAccessibleDeviceListener):
3541 (AccessibleDeviceListener_addCallback):
3542 (AccessibleDeviceListener_removeCallback):
3543 Implementation of new API.
3545 * cspi/spi_registry.c:
3546 (SPI_registerDeviceEventListener):
3547 (SPI_deregisterDeviceEventListener):
3548 Implementation of new API. Fixed memory leak and removed need to
3549 allocate EventTypeSeq (thanks Michael for catching this).
3550 Squashed a wayward CORBA_exception_free that shouldn't get called.
3552 * cspi/bonobo/cspi-bonobo-listener.c:
3554 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3555 (cspi_key_event): renamed to cspi_device_event().
3556 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3557 Extended to handle mouse button events as well as key events.
3558 (CSpiKeystrokeListener):
3559 Class superceded by CSpiDeviceListener.
3560 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3561 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3563 * cspi/bonobo/cspi-bonobo-listener.h:
3564 (CSpiKeystrokeListener):
3565 Class superceded by CSpiDeviceListener.
3566 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3567 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3569 * libspi/Makefile.am:
3570 Replaced keystrokelistener.h and keystrokelistener.c
3571 with devicelistener.h and devicelistener.c; keystrokelisener.h
3572 stub retained for back-compat.
3574 * libspi/keystrokelistener.c:
3578 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3580 * registryd/deviceeventcontroller.c:
3581 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3582 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3583 (DEControllerPrivateData): Added xkb settings data.
3584 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3585 button release events (which can't be captured via XGrabButton).
3586 Don't dispatch via the 'normal' event mechanism if the device event was
3588 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3589 Handle the typeseq data in its new location (see above).
3590 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3591 New methods, for "generic" device listeners.
3592 (spi_controller_register_device_listener):
3593 Now handle mouse event listeners as well as key listeners.
3594 (spi_controller_notify_mouselisteners):
3595 New internal method.
3596 (spi_device_event_controller_forward_mouse_event):
3597 Now we notify mouse device listeners as well as generating the
3598 non-consumable "mouse:" events.
3600 We must check and restore the XKB
3601 modifier map if we consume the event, since the act of triggering
3602 a mouse event will normally reset the XKB latch. This is required for
3604 (spi_controller_register_with_devices):
3605 Load the XKB settings when registering, and register for XKB
3606 state notify events.
3607 (spi_key_eventtype_seq_contains_event):
3608 Renamed spi_eventtype_seq_contains_event, since it's used
3609 internally for all device event types now.
3610 (spi_key_event_matches_listener):
3611 Uses spi_eventtype_seq_contains_event now.
3612 (spi_device_event_controller_object_finalize):
3613 Free the private data and the XkbKeyboard struct.
3614 (impl_register_device_listener, impl_deregister_device_listener):
3615 Implementation of new IDL.
3616 (spi_deregister_controller_device_listener):
3617 New internal method.
3618 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3619 More efficient implementation, we don't have to create a new
3620 XkbControls structure every time we query.
3621 (spi_device_event_controller_class_init):
3622 Initialize the epv entries for the new IDL. Assign the
3623 "spi-dec-private" quark.
3624 (spi_device_event_controller_init):
3625 Initialize the private data.
3626 (spi_device_event_controller_forward_key_event):
3627 Removed a bogus CORBA_exception_free() call.
3629 * registryd/deviceeventcontroller.h:
3630 Replaced inclusion of keystrokelistener.h with
3633 * test/event-listener-test.c:
3634 (report_mouse_event):
3637 Added mouse-event device listener.
3639 * test/test-simple.c:
3640 (create_test_window):
3641 Fixed regression (we were instantiating a GtkRange,
3642 which is now an abstract class). Also fixed to match
3643 existing AtkRole names, this seems to have changed in ATK
3644 awhile ago; too late now I think, and the new
3645 mechanism is at least elegant and consistent with the
3646 glib enum "nick" APIs.
3648 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3650 * idl/Accessibility_Relation.idl:
3651 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3652 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3653 * idl/Accessibility_Role.idl:
3654 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3655 * idl/Accessibility_State.idl:
3656 add STATE_MANAGES_DESCENDANTS
3657 * test/event-listener-test.c:
3658 Added a listener for active-descendant events.
3660 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3662 * atk-bridge/bridge.c
3663 (atk_bridge_init): If application is Bonobo component wait until top
3664 level is added before registering
3665 (spi_atk_bridge_do_registration): New function which contains code,
3666 formerly in atk_bridge_init, to do application registration.
3667 (spi_atk_bridge_toplevel_added): Signal called when top level
3668 added to Bonobo component
3670 This fixes bug #83134.
3672 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3674 * registryd/deviceeventcontroller.c
3675 Fixed compilation error caused by calling gettimeofday()
3678 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3683 Added template for HAVE_XKB.
3686 Changes to check for XKB, and to set the HAVE_XKB #define if it
3689 * libspi/listener.c:
3690 ()impl_notify_event): Make failure to get event source name
3693 * registryd/deviceeventcontroller.c:
3694 (#include): include X11/XKBlib.h.
3695 (DEControllerPrivateData) : New struct.
3696 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3698 (dec_synth_keycode_press) (dec_synth_keycode_release):
3699 New methods; split the key synthesis code into these methods.
3700 They check XKB settings before determining the "time" values to
3701 pass to Xtest; this fixes bug #95828.
3702 (impl_generate_keyboard_event): Changed to use methods above,
3703 instead of callng Xtest directly.
3704 (spi_device_event_controller_init): Initialize new privae struct s
3706 (spi_device_event_controllr_object_finalize):
3707 Free the (new) private data.
3709 * registryd/deviceeventcontroller.h:
3710 Add new gpointer to end of struct data.
3712 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3715 Incremented revision to 1.1.2, SONAME is still '.so', library
3716 extensions are ".so.0.0.2".
3718 * registryd/deviceeventcontroller.c:
3719 FIXES FOR #93592 and #95940.
3720 (statics): renamed mouse_button_state to mouse_mask_state,
3721 added key_modifier_mask.
3722 (spi_dec_poll_mouse_moved):
3723 Added key modifier checks, and emit "keyboard:modifiers"
3724 events when the key modifiers currently in use change.
3725 Also generate "mouse:abs" events periodically, even if the mouse
3726 is stationary (should we?).
3727 Alternatively we could generate "mouse:abs" events for either all
3728 mouse movements, or every 'nth' mouse movement, or at the
3729 beginning and end of every "active" mouse period.
3731 * test/event-listener-test.c:
3732 (main): Added listener for "keyboard:modifiers" events.
3734 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3736 * libspi/keymasks.h:
3737 Added key mask #defines for mouse buttons; e.g.
3738 SPI_KEYMASK_BUTTON1, etc.
3741 Incremented dependency on ATK to version 1.1.0. (This dependency
3742 is probably premature but will soon be real enough).
3744 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3746 * libspi/hyperlink.[ch]
3747 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3748 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3751 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3756 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3758 * registryd/deviceeventcontroller.c
3759 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3760 events to be ignored.
3761 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3762 keyboard_mode so that XAllowEvents() can be called.
3766 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3768 * cspi/spi-accessible.c: Correct names of roles returned by
3769 AccessibleRole_getName(). Fixes bug #95055.
3771 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3773 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3776 * registryd/registry.c
3777 (desktop_remove_application: Write diagnostic message to stderr for
3780 (impl_accessibility_registry_deregister_global_event_listener):
3781 Correct size of lists array. This addresses bug #94555).
3783 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3785 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3788 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3790 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3793 * registryd/registry.c (impl_registry_notify_event): Remove
3794 unnecessary call to parser_event_type().
3796 * docs/reference/cspi/tmpl/spi_component.sgml:
3797 Add reference to SPI_LAYER_WINDOW.
3799 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3801 * registryd/registry.c
3802 (desktop_add_application): Remove leak.
3803 (desktop_remove_application): Remove leak.
3804 (parser_event_type): Remove leak.
3806 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3808 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3809 bogus call to CORBA_string_dup(). Also removed unnecessary
3810 g_string_dup/g_free calls.
3812 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3814 * registryd/deviceeventcontroller.c:
3815 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3817 * test/event-listener-test.c:
3818 main: commented out three redundant listeners, to reduce output
3819 noise. (They still are potentially useful for testing).
3822 2002-09-13 Michael Meeks <michael@ximian.com>
3824 * Update all the copyrights to include Ximian.
3826 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3828 * cspi/spi.h: add SPI_LAYER_WINDOW.
3830 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3831 add Accessibility_LAYER_WINDOW case.
3833 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3835 * libspi/component.c: (impl_accessibility_component_get_layer):
3836 add ATK_LAYER_WINDOW case.
3838 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3840 * configure.in: incremented micro version.
3842 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3844 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3847 Clarified and reworded our commit policy.
3850 Started an API "todo" addition list for 2.2.
3853 (impl_getSelection):
3854 Free char pointer from atk_text_get_selection, which was being leaked.
3856 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3859 Small revision to author acknowledgement.
3861 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3863 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3864 If signal has detail add it to the type of the event.
3867 2002-08-12 Michael Meeks <michael@ximian.com>
3869 * test/test-simple.c (global_listener_cb): bin bogosity.
3870 (test_keylisteners): disable, still doesn't work reliably,
3871 certainly not on my system anyway.
3873 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3874 don't leak a reference on the DEC. This round-trip
3875 fetching of the DEC per keystroke sucks, it should be
3878 * cspi/spi-private.h,
3879 * cspi/cspi-lowlevel.h,
3880 * cspi/bonobo/cspi-bonobo-listener.[ch],
3881 * cspi/bonobo/cspi-bonobo.c: get the copyright
3882 notices better - there is still a large amount of
3883 work in at-spi falsely attributed solely to Sun.
3885 * cspi/spi_main.c (cspi_object_ref): kill bogus
3886 hash lookup, just increment the ref.
3887 (SPI_freeString): make explicit the fact that we
3888 handle NULL strings just fine.
3889 (report_leaked_ref): obey coding standards.
3890 (cspi_object_hash, cspi_object_equal): kill retval.
3891 (cspi_object_release): only release if not on loan.
3892 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3893 (cspi_object_borrow, cspi_object_return): impl.
3895 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3896 use cspi_object_borrow / return.
3898 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3900 * cspi/bonobo/cspi-bonobo-listener.c:
3902 Don't call cspi_oject_new() because this is creating a new Accessible
3903 every single time that an event is fired. This causes ATs like at-poke
3904 to nolonger recognise the source of the event and thus ignore it.
3905 Re-use the object from the cache, ref it and then unref it after the
3906 listeners have been called.
3908 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3910 * test/event-listener-test.c:
3911 Added command-line options to disable mouse events (m) and
3914 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3916 * configure.in: Update required versions of ATK, GTK+ and GAIL
3918 * cspi-1.0.pc.in: Add dependency for X include files
3921 * cspi/bonobo/Makefile.am:
3922 Add $(X_CFLAGS) so that X include files
3923 are picked up even if not in standard place (bug #71686)
3925 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3927 * registryd/deviceeventcontroller.c: fix for 84261
3928 (spi_dec_mouse_moved):
3929 Added test of mouse button mask, so that we can detect mouse
3930 button release. Unfortunately we can't otherwise detect mouse
3931 button release events without consuming the mouse press event,
3932 because of the way XGrabButton works. This means that our mouse
3933 release events have a latency dependent on the polling period
3934 while the mouse button is down. At least in this case we only
3935 have to poll while the button is down, and not at other times.
3936 If the button masks don't match with what the last press event
3937 reported, we report the appropriate button release event.
3938 (spi_dec_ungrab_mouse):
3939 New method (not yet called).
3940 (spi_device_event_controller_forward_mouse_event):
3941 New method, sends mouse press event from GdkFilter.
3942 (spi_dec_init_mouse_listener):
3943 Added code to call XGrabButton, redirecting mouse button events to
3944 the root window and our Gdk event loop.
3946 Added code to filter mouse button events, and reordered.
3948 * test/event-listener-test.c:
3950 Added registration for mouse events of type "mouse:button".
3952 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3954 * registryd/deviceeventcontroller.c: partial fix for 84261
3955 (spi_dec_poll_mouse_idle):
3956 New method, a timeout which checks to see if the mouse
3958 (spi_dec_poll_mouse_moving):
3959 A timeout to be called when mouse motion is underway.
3960 (spi_dec_poll_mouse_moved):
3961 A method which fires an event if the mouse has moved, and reports
3962 whether or not it did so.
3963 (spi_dec_init_mouse_listener):
3964 A method which sets up the timeouts above.
3965 (spi_device_event_controller_new):
3966 Now calls spi_dec_init_mouse_listener.
3968 * registryd/registry.c:
3969 (spi_registry_init):
3970 Now we initialize the device event controller when the registry is
3971 initialized, instead of waiting until a client has requested a key
3972 event notification; this is because we need the event controller
3973 for mouse events, but the mouse event registration API is a
3974 "registry" call and doesn't explicitly call the
3975 deviceeventcontroller.
3976 We now report mouse motion events with a 100 ms idle latency and
3977 a 20 ms granularity when motion is in progress.
3979 * test/event-listener-test.c:
3981 We now register the "detail listener" for events of type
3982 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3983 delivered only for the first mouse event received, and thereafter
3984 "mouse:abs" events are delivered.)
3986 * cspi/spi_registry.c:
3987 DOCS: Documented the above mouse event typestrings.
3989 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3991 Happy Summer Solstice...
3993 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3994 (spi_controller_notify_keylisteners):
3995 Changes to remove a listener from the listener list, freeing its
3996 open keygrabs, if a notification to that listener fails. This
3997 means that although a dead listener can continue to hold a passive
3998 keygrab, a maximum of one dispatch to such a listener can fail
3999 before the listener is removed from the list, thus the keygrab
4000 will be released on the next occurrence.
4001 As part of this fix:
4002 (spi_notify_keylisteners):
4003 Renamed to spi_controller_notify_keylisteners, as the controller
4004 instance must now be passed as an argument.
4005 The copied 'notify' GList is now a list of DEControllerKeyListener
4006 objects, since we need more than just the CORBA reference if a
4007 notify fails and we need to deregister the listener.
4008 (impl_notify_listeners_sync):
4009 (impl_notify_listeners_async):
4010 (spi_device_event_controller_forward_key_event):
4011 Modify use of notify_keylisteners in accordance with above
4013 (spi_deregister_controller_key_listener):
4014 New method introduced by refactoring, from
4015 impl_deregister_keystroke_listener.
4016 (impl_deregister_keystroke_listener):
4017 Call spi_deregister_controller_key_listener.
4018 (spi_key_listener_clone):
4019 New method to copy a key listner without doing a 'ref' on the
4020 remote object instance; used to create a notifier list.
4021 (spi_key_listener_data_free):
4022 New method, frees data without unreffing the source.
4024 (spi_key_listener_clone_free): new method.
4025 (spi_key_listener_free):
4026 refactored to call spi_key_listener_data_free.
4028 2002-06-20 Bill Haneman <bill.haneman@sun.com>
4030 * registryd/registry.c: [fix for bug 86048]
4031 (notify_listeners_cb):
4032 Clear CORBA system exceptions which occur when notifying
4033 listeners, before returning to the source of the original event,
4034 since the event source doesn't care if the relayed notify failed.
4035 In other words, don't complain to the atk-bridge if the registry
4036 could not notify all its listeners, that's no fault of the
4037 application and thus should not appear to be an error from the
4038 application's perspective.
4040 * cspi/spi_main.c: [fix for bug 85980]
4042 Replaced use of bonobo_object_dup_ref with call to the wrapper
4043 method, csou_dup_ref (); this silences a compiler warning and
4044 provided more portability.
4046 Ping the registry before return, and restart if necessary.
4048 * cspi/bonobo/cspi-bonobo.c:
4050 New internal method.
4052 Fixed this method to return an object reference, as it should have
4055 * cspi/cspi-lowlevel.h:
4056 Added internal definition for cspi_ping() and fixed
4057 return type of cspi_dup_ref().
4060 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4062 * atk-bridge/bridge.c: [fix for bug 85305]
4063 (spi_atk_bridge_register_application):
4064 New method where the initial application registry calls have been
4065 moved; it allows an application to re-register in response to
4066 certain error conditions (such as a registry restart, see below).
4068 Moved some initialization code to the method
4069 spi_atk_bridge_get_registry, below.
4070 (spi_atk_bridge_get_registry):
4071 New, private accessor function for the Accessibility_Registry
4072 instance. If the registry has not been started before, or has
4073 died (as detected by failure of a CORBA exception), it is
4074 restarted before return, and spi_atk_bridge_register_application
4075 is called again to register with the new bridge instance.
4076 (spi_atk_emit_eventv):
4077 Set registry_died on error; use spi_atk_bridge_get_registry () to
4078 access the registry.
4080 * registryd/registry.c:
4081 (impl_accessibility_registry_register_global_event_listener):
4082 Set listener's event_type_quark to etype.minor instead of
4083 etype.major (fix for bug 84856).
4085 * test/event-listener-test.c:
4086 (report_detail_event):
4087 Change the output string so that user/tester can tell that the
4088 'detail listener' was called instead of the 'generic listener'.
4090 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4092 Fixes for bugs 84900, 84908, 84897, 84898.
4097 Revved version to 1.1.0
4098 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4099 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4101 * idl/Accessibility_Registry.idl:
4102 (EventListener::notifyEvent):
4103 Removed 'oneway' directive after extensive consulation with
4104 ORBit2 team and others. This means also that unref() of the event
4105 source can and should be done synchronously after emission, rather
4106 than remotely in the client, after servicing the notify call on
4109 NOTE: This change speeds up listener performance considerably, but
4110 introduces new latency on the application side. We may want to
4111 add an event queue to the atk-bridge.
4113 * atk-bridge/bridge.c:
4114 (spi_atk_bridge_focus_tracker):
4115 Do a local unref() on the event source after emission.
4117 * registryd/registry.c:
4118 (desktop_remove_application):
4119 Do an unref() on the event source after emission.
4120 (desktop_add_application):
4121 Do an unref() on the event source after emission.
4122 (notify_listeners_cb):
4123 When relaying an event, don't automatically add the event source
4124 to the local object cache, just CORBA_dup it instead. Likewise,
4125 if this method reenters, release the ref rather than calling
4127 (impl_registry_notify_event):
4128 No longer call remote unref() on the event source after dispatch.
4130 * libspi/eventlistener.c:
4131 (impl_accessible_event_notify_event):
4132 Removed remote unref ()
4134 * cspi/bonobo/cspi-bonobo-listener.c:
4136 We now call cspi_object_new() instead of cspi_object_add() on
4137 receipt of an event; thus we only have an implicit object ref
4138 while the cspi_event method is being executed. If we need to keep
4139 a reference to the object, the listener must call ref() on the
4140 object. Thus also we don't need to call cspi_object_unref() after
4141 invoking the listener callbacks in this method.
4145 New internal API for creating a new cspi object, without adding it
4146 to the object cache.
4148 Now uses cspi_object_new() to create the cspi object instance.
4150 Now checks to see if the object is in the internal object cache,
4151 and adds it if necessary before incrementing its refcount (note
4152 that new objects are added with a refcount of 1).
4153 (report_leaked_ref):
4154 New method which gives some information on leaked object instances
4155 if leak detection is turned on.
4157 * test/event-listener-test.c:
4158 (timing_test_event):
4159 New method, used for testing event delivery timing for special
4160 events of type "object:test". It reports elapsed time and
4161 events/sec every 500 events.
4163 Added a new listener, 'test listener', to check timing of event
4164 receipt as noted above.
4166 Added some timing output here also, reports elapsed time every 100
4169 * test/stress-test.c:
4170 Emit events of type "object:test", for use with "event-listener-test".
4172 * test/test-simple.c:
4173 (global_listener_cb):
4174 Call Accessible_ref() on the event source before calling
4175 validate_accessible, since the validation process does pointer
4176 comparisons on the event source, meaning that the event source
4177 needs to be added to the local object cache first. Any use of
4178 such pointer comparisons between Accessible objects requires that
4179 the caller hold an explicit reference to those objects.
4180 We also must therefore call Accessible_unref() when leaving this method.
4182 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4184 * registryd/deviceeventcontroller.c:
4185 (spi_controller_update_key_grabs):
4186 Fix for #84735, subsequent keygrab listeners not informed of
4187 registration failure.
4190 (spi_base_construct):
4191 Add an assertion on construct, to make sure the GObject passed in
4192 is really a GObject.
4194 Explicitly initialize object->gobj pointer to NULL;
4196 * cspi/bonobo/cspi-bonobo-listener.c:
4197 (cspi_object_add_ref):
4198 New method, can specify whether to dup-ref a bonobo object passed
4199 in if it's newly added to the object cache.
4201 Now calls cspi_object_add_ref with second param of "FALSE". This
4202 prevents us from doing a pointless dup-ref followed by
4203 release-unref for all those cases where the object is already in
4204 our object cache (fix for #85205).
4206 * atk-bridge/bridge.c:
4207 (spi_atk_bridge_idle_init):
4208 Removed this method, we don't need to initialize in an idle
4211 Changed to call spi_atk_register_event_listeners directly, not via an
4212 idle handler. (fix for #81139)
4213 (gnome_accessibility_module_shutdown):
4214 Removed conditional around deregistration of listeners, since we
4215 don't use the idle handler and thus have always registered when
4217 (spi_init_keystroke_from_atk_key_event):
4218 Changed references to Accessibility_KEY_PRESSED to
4219 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4221 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4223 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4228 * test/stress-test.c:
4231 (may have been an incomplete commit yesterday?)
4233 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4236 Added target for new stress-test.
4238 * test/stress-test.c:
4239 New test, sends 1000 focus notifies in quick succession.
4241 * test/key-listener-test.c:
4242 Now we report whether a keylistener registration
4243 request succeeded or failed.
4245 * test/event-listener-test.c:
4246 Uncommented some listeners which are now implemented.
4249 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4251 * registryd/deviceeventcontroller.c:
4252 (spi_controller_update_key_grabs):
4253 Fix for #82509, lack of failure notification when
4254 ALL_WINDOWS keygrabs fail due to XGrabKey
4255 failure: we synchronize the server when
4256 registering a passive grab, to make sure we get the
4257 error message before the call returns.
4259 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4261 * test/test-simple.c:
4263 Removed #ifdef KEY_IMPL_WORKS guards.
4264 (test_keylisteners):
4265 Removed #ifdef KEY_IMPL_WORKS guards.
4266 Fixed bug which was causing a hang waiting for a
4267 "press" event (which was already overwritten by a "release"
4268 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4270 Added code to set globals 'key_press_received' and
4271 'key_release_received'.
4274 Added section "1.1 API Proposed Additions" which
4275 lists API additions desired for at-spi-1.1 (only one so far).
4276 Updated TODO list a little.
4278 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4280 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4283 * configure.in: Revved to 1.0.0.
4285 * idl/Accessibility_Registry.idl:
4286 (registerKeystrokeListener):
4287 Added boolean return value.
4289 * registryd/registry.c:
4290 (notify_listeners_cb): Minor fix to debug output.
4292 * registryd/Accessibility_Registry.server.in.in:
4293 Revved version number in OAFIID to 1.0.
4295 * registryd/registryd.c:
4297 Use new OAFIID version.
4299 * cspi/bonobo/cspi-bonobo.c:
4301 Use new OAFIID version.
4307 * atk-bridge/bridge.c:
4309 Use new OAFIID version.
4311 * registryd/deviceeventcontroller.c:
4312 (impl_register_keystroke_listener):
4313 Added CORBA_boolean return value.
4314 (spi_controller_register_device_listener):
4315 Added gboolean return value.
4316 (spi_controller_register_global_keygrabs):
4317 Added gboolean return value.
4318 (spi_key_set_contains_key):
4319 Added implementation for many more control keys,
4320 for instance F1-F12, arrow keys, End, Home, Page_Up,
4322 [TODO: some still not implemented].
4324 * text/screen-review-test.c:
4325 (text_chunk_pad_string):
4326 New function: it provides mapping between coordinate
4327 positions of text chunks and character positions in the
4328 screen-review-line output string.
4329 (text_chunk_to_string):
4330 New function, calls text_chunk_pad_string with various
4331 pad/delimiter characters. Pushbuttons are delimited with
4332 square brackets, Frames with vertical 'pipe' lines, and
4333 other text with double quotes.
4334 (text_chunk_list_to_string):
4335 Calls new function text_chunk_to_string.
4336 (toplevel_composite):
4337 New function to composite layers CANVAS through
4338 POPUP in each toplevel (other layers are composited
4339 across toplevels, i.e. BACKGROUND and OVERLAY).
4340 (review_buffer_composite):
4341 Revise to use new methods.
4347 2002-05-31 Laszlo Peter <laca@sun.com>
4349 * configure.in: add the Xtst libdir to the runpath on Solaris,
4350 since it's not in the default library search path.
4352 2002-05-29 jacob berkman <jacob@ximian.com>
4354 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4356 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4358 * test/screen-review-test.c:
4359 (text_chunk_pad_string):
4360 Added method, which pads the string according to the
4361 text bounds of the chunk. It also takes a 3-character
4362 string as a param which indicates the characters to be
4363 used for start, padding, and end delimitation of the chunk.
4364 (text_chunk_to_string):
4365 Changed to use text_chunk_pad_string.
4367 * configure.in: Fixed bug in AC_OUTPUT that was
4368 causing path substitution in Accessibility_Registry.server
4371 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4373 * text/screen-review-test.c:
4374 (guess_string_clip):
4375 New method which attempts a best-guess at clipping
4376 text from components (like Java labels) which don't
4377 actually implement AccessibleText. This inaccurate
4378 clip is based on the assumption that the label is
4379 justified left-and-right, and monospaced.
4380 (text_chunk_get_clipped_string):
4381 We now call guess_string_clip() for text-containing
4382 components that don't implement AccessibleText.
4384 * test/screen-review-test.c:
4385 (review_buffer_get_text_chunk):
4386 We now pull "name" from labels if they do not implement
4387 AccessibleText (i.e. for Java labels).
4388 (get_screen_review_line_at):
4389 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4392 Replaceded AC_OUTPUT target
4393 registryd/Accessibility_Registry.server with
4394 registryd/Accessibility_Registry.server.in.
4396 * registryd/Accessibility_Registry.server.in:
4397 Removed (this is now a Makefile target).
4399 * registryd/Accessibility_Registry.server.in.in:
4400 Added (source for target above). We now use $(libexecdir) as
4401 prefix for the executable at-spi-registryd.
4403 * registry/Makefile.am:
4404 Now install at-spi-registryd into $(libexecdir), and build .server
4405 file with path (see above).
4407 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4409 * test/screen-review-test.c:
4410 (text_chunk_get_clipped_string):
4411 We now check to see if words fall within clip bounds
4412 before resorting to character-by-character clip bounds testing.
4414 * TODO: Added a section for "2.2 Proposed API Additions".
4416 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4418 * test/screen-review-test.c:
4420 Added a screen review benchmarking and test program to test
4423 * cspi/spi_accessible.c:
4425 Made some of the debug strings passed to cspi_check_ev a
4426 little more specific.
4428 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4430 * test/screen-review-test.c: Fix crashes in debug statements
4432 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4434 * test/screen-review-test.c: Added this file.
4436 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4438 * atk-bridge/bridge.c: changed "object:state-change" to
4439 "object:state-changed" to match docs.
4441 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4443 * atk-bridge/bridge.c: Hooked up state-change event details.
4445 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4447 * registryd/registry.c:
4448 Fixed quarking bug in event string parsing; now events with
4449 detail parameters get matched correctly to listeners.
4452 * util/idl/Magnifier.idl: remove.
4454 * util/*.[ch]: Remove.
4455 Magnification utilities and IDL are now in module gnome-mag.
4457 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4459 * registryd/deviceeventcontroller.c:
4460 Fixed bug in grab key conversion which was causing keycode grabs
4461 to be converted to AnyKey grabs.
4464 updated NEWS file to reflect recent spin-off of gnome-mag.
4466 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4468 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4469 busted AccessibleStateSet_compare. Removed redundant casts.
4471 * cspi/spi-action.c: Removed redundant casts.
4473 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4475 * cspi/spi_component.c: Fixed typos and casting error.
4477 * cspi/spi_editabletext.c: Removed redundant casts.
4479 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4481 * cspi/spi_hypertext.c: Eliminated redundant casts.
4483 * cspi/spi_image.c: Eliminated redundant casts.
4485 * cspi/spi_registry.c: Eliminated redundant casts.
4486 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4487 * cspi/spi_selection.c: Removed redundant casts.
4488 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4489 handling. Screen geometry and text offsets were being returned as 0
4490 on error which is technically valid-- changed these to return -1.
4491 Added marshaller for text boundary types to fix bug with boundary
4492 types being passed incorrectly to atk.
4494 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4497 * cspi/spi_registry.c:
4498 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4499 which was uncovered by the recent key changes.
4501 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4503 * test/event-listener-test.c:
4505 Added new test, "event-listener-test";
4506 this code does two things; it benchmarks traversal time
4507 for the accessible hierarchy for the first running accessible
4508 app, and it connects listeners for all supported event types.
4509 It is thus useful as an example event listener and for
4510 diagnostics/debugging of event generation.
4512 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4515 Removed unnecessary dependency on libutil.
4518 Revved micro version: 0.13.1
4520 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4523 Removed util/Makefile from targets.
4526 Removed util subdir from SUBDIRS (temporarily,
4527 pending removal of magnifier-only code
4531 #ifdef-ed out magnifier dependencies, since
4532 magnifier IDL, headers, and binary now live in
4533 module gnome-mag and we don't want at-spi to depend
4534 on gnome-mag. A magnifier demo which can run alongside
4535 simple-at is forthcoming in the gnome-mag module.
4537 NOTE: Split magnifier binary, IDL, and magnification
4538 activation code from at-spi into module gnome-mag.
4540 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4542 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4543 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4545 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4548 Revved to version 0.13.0
4550 * idl/Accessibility_Registry.idl:
4551 Changed definition of KeySet from sequence of longs to sequence of
4552 KeyDefinitions, and added KeyDefinition struct.
4553 Required for fix to bug 80616.
4555 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4556 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4557 to use new definition (see above).
4559 * registryd/deviceeventcontroller.c: handle_keygrab(),
4560 spi_keyset_contains_key():
4561 Changed to make use of new struct; this allows matching based on
4562 string key-name, for instance "Tab". This also allows matching of
4563 composed characters, non-alphanumeric characters in a way that
4564 doesn't involve dependencies on X keysym codes directly, etc.
4566 * test/key-listener-test.c:
4567 Added test for Alt-Tab key using "string" specification of keyset,
4568 and modified one of the tests to use a keycode-based keyset.
4569 Thus this test both tests and demonstrates the creation and use of
4570 keysets of three forms: specified via keycode array,
4571 keysym array, and string array. (The string case only contains a
4572 single string, i.e. a string array of length 1).
4575 Turned on PRINT_TREE option by default. Also fixed a
4576 string-freeing bug in the PRINT_TREE code.
4577 Added a listener to window:minimize events.
4579 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4581 * atk-bridge/bridge.c:
4582 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4583 for window:activate and window:deactiveate
4584 (atk_bridge_property_event_listener atk_bridge_signal_listener
4585 atk_bridge_window_event_listener) Tidy debug code
4587 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4589 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4590 Fixed handling for NULL return value from ATK.
4592 * libspi/action.c libspi/component.c libspi/editabletext.
4593 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4594 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4595 Removed redundant casts.
4597 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4598 Fixed off by one bug.
4600 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4601 function not present in idl)
4603 2002-05-02 jacob berkman <jacob@ximian.com>
4605 * atk-bridge/Makefile.am: make atk-bridge a real module
4607 2002-04-26 Radek Doulik <rodo@ximian.com>
4609 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4610 atk_state_types table
4612 2002-04-22 jacob berkman <jacob@ximian.com>
4615 * libspi/Makefile.am: add deps on the built files to help
4616 automake, and don't version the ORBit typelib
4618 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4620 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4621 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4622 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4623 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4624 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4625 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4626 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4627 libspi/accessible.h libspi/accessible.h libspi/base.h
4628 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4629 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4630 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4631 libspi/spi-private.h libspi/statetset.h libspi/table.h
4632 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4633 util/mag_client.h util/mag_control.c util/mag_image.c
4634 util/mag_image.h util/magnifier.c util/magnifier.h:
4635 Add missing file headers; standardize existing ones
4637 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4639 * atk-bridge/bridge.c: Added window event support.
4641 2002-04-18 Michael Meeks <michael@ximian.com>
4643 * libspi/relation.c (impl_getNTargets): impl.
4644 (impl_getTarget): impl.
4646 * libspi/Makefile.am: fix stateset install.
4648 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4651 Started putting useful info in this file.
4653 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4655 * atk-bridge/bridge.c:
4656 Propagate state-changed notifications to ATs
4658 * cspi/spi_registry.c: update docs to reflect actual behavior of
4659 state-change events.
4661 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4664 Incremented version to 0.12.1
4666 * util/mag_client.h:
4667 Add missing declaration for magnifier_exit,
4668 used by mag_control.c - Forte compiler didn't like
4669 the implicit redeclaration of the function :-(
4672 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4675 Revved version to 0.12 due to API change (see below).
4677 * cspi/spi-roletypes.h:
4678 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4679 definition from the inline docs, and added docs
4680 for SPI_ROLE_LAST_DEFINED.
4683 * cspi/spi_streamablecontent.c:
4684 Added missing seek_type parameter to
4685 (so far unused) method,
4686 AccessibleStreamableContent_seek().
4687 [ RT approval JodyG. ]
4690 Fixed docs for SPI_createAccessibleKeystrokeListener.
4692 * cspi/spi_registry.c:
4693 Fixed docs for SPI_KEYSET_ALL_KEYS.
4695 * docs/reference/cspi/at-spi-cspi-sections.txt:
4696 Added a number of missing APIs to SECTIONS.
4698 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4700 * registryd/Makefile.am:
4702 * cspi/bonobo/Makefile.am:
4703 Add $(X_LIBS) to makefiles.
4705 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4708 Revved version to 0.11.
4710 * libspi/component.c:
4711 Added implementation for grabFocus.
4713 * idl/Accessibility_Component.idl
4714 (Accessibility_Component_grabFocus):
4715 Made this method return boolean to indicate success or failure, to
4716 be consistent with cspi and the corresponding ATK method.
4718 * idl/Accessibility_Selection.idl
4719 (Accessibility_Selection_selectAll) :
4720 Made these methods return boolean to indicate success or
4721 failure, to be consistent with cspi and the corresponding ATK methods.
4723 * idl/Accessibility_EditableText.idl
4724 (Accessibility_EditableText_setTextContents,
4725 Accessibility_EditableText_insertText,
4726 Accessibility_EditableText_cutText,
4727 Accessibility_EditableText_deleteText,
4728 Accessibility_EditableText_pasteText):
4729 Made these methods return boolean to indicate
4732 * cspi/spi_editabletext.c:
4733 Made these methods return booleans.
4735 * libspi/selection.c:
4736 * libspi/component.c:
4737 * libspi/editabletext.c:
4738 Connected the boolean returns from ATK
4739 to the server-side code referenced above.
4741 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4743 * idl/Accessibility_Table.idl: Added missing methods,
4744 Accessibility_Table_addRowSelection,
4745 Accessibility_Table_addColumnSelection,
4746 Accessibility_Table_removeRowSelection,
4747 Accessibility_Table_removeColumnSelection.
4750 Added C wrappers for above IDL:
4751 AccessibleTable_addRowSelection,
4752 AccessibleTable_addColumnSelection,
4753 AccessibleTable_removeRowSelection,
4754 AccessibleTable_removeColumnSelection.
4757 Added server-side implementation code for IDL above, connecting
4758 to pre-existing ATK api.
4760 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4762 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4764 * libspi/accessible.c: Added implementation fo
4765 Accessibility_Accessible_get_state.
4767 * libspi/libspi.h: Added stateset.h to the list of includes.
4769 * libspi/stateset.c: Fixed broken implementation.
4771 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4774 Added implementation code for Accessibility_Magnifier_exit ().
4776 * util/mag_control.c:
4777 Added test code for above method; you can
4778 now kill an existing magnifier via
4779 ./mag_control q, from the util directory.
4781 * test/key-listener-test.c:
4783 Added a new test, for our key listener API.
4785 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4787 * test/app.c, test/keysynth-demo.c:
4789 Replace use of snprintf with g_snprintf.
4790 (fix for bugzilla 78249)
4792 2002-03-27 Michael Meeks <michael@ximian.com>
4796 * util/Makefile.am (INCLUDES): fix.
4797 (DONT_DIST_SOURCE): don't distribute the
4800 * libspi/Makefile.am (dist-hook): ditto.
4802 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4804 * libspi/hypertext.c:
4805 Fix warnings when yelp is used with atk-bridge
4807 2002-03-21 Michael Meeks <michael@ximian.com>
4809 * libspi/application.c (spi_application_new):
4810 use spi_accessible_construct so we use the AtkObject
4813 2002-03-19 Michael Meeks <michael@ximian.com>
4815 * registryd/registry.c (desktop_remove_application),
4816 (desktop_add_application): clean coding style.
4818 * registryd/desktop.c (spi_desktop_remove_application),
4819 (spi_desktop_add_application): kill re-enterency hazards.
4820 (spi_desktop_dispose): remove bogus redundant cast
4821 obscuring bug; fix bug too.
4822 (spi_desktop_init): make the desktop object immortal.
4824 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4827 Added a #define-guarded tree-traversal step
4828 when enumerating the apps (diagnostic tool).
4830 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4832 * idl/Accessibility_Role.idl:
4833 Added ROLE_DRAWING_AREA which seemed to be missing from the
4836 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4838 * cspi/spi-roletypes.h cspi/spi_accessible.c
4839 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4842 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4843 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4844 AT when applications are added and removed from the desktop. This
4845 reverts the previous broken implementation using the backing
4846 AtkObject for the SpiDesktop.
4848 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4850 * registryd/desktop.c: emit the "children-changed::add" and
4851 "children-changed::remove" signals on the backing ATK object for
4852 the desktop so AT can tell when applications are started and shut
4855 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4857 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4859 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4861 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4863 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4865 * cspi/state-types.h: synched with IDL and ATK
4867 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4869 * libspi/accessible.c
4870 (impl_accessibility_accessible_get_child_at_index):
4871 Change return value for g_return_if_fail ()
4872 to CORBA_OBJECT_NIL instead of "0" (!)
4874 * registryd/Makefile.am:
4875 * registryd/Accessibility_Register.server.in:
4876 Changed name of executable, "registryd",
4877 to something more informative:
4880 2002-03-13 Michael Meeks <michael@ximian.com>
4882 * atk-bridge/bridge.c (atk_bridge_init): don't register
4883 if we're in a bonobo-component, rather than a bonobo app.
4885 2002-03-13 Michael Meeks <michael@ximian.com>
4887 * atk-bridge/bridge.c (gtk_module_init): split
4888 out body to (atk_bridge_init): here, since otherwise
4889 we get symbol conflicts and oddness when invoked
4890 from (gnome_accessibility_module_init): here (upd.)
4892 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4895 New file. Explicitly allow "build sheriff" putbacks provided
4896 they are tested on Solaris.
4898 * docs/reference/cspi/Makefile.am:
4899 Added '-' to the "cp" command for index.sgml.
4900 ("patch by thomasvs, soon coming to a GUADEC near you")
4903 Incremented version number (0.9.0) for new release.
4904 Changed macro that checks for popt, to better detect
4905 obsolete versions of popt.
4908 Added X_LIBS to AC_SUBST, for applications
4909 that call Xlib API directly.
4912 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4915 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4918 Fix regression caused by hard-coding major
4919 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4922 * test/test-simple.c (test_editable_text),
4923 (test_test): revert previous change (error was
4924 a regression in gail which is now fixed).
4926 2002-03-04 Michael Meeks <michael@ximian.com>
4928 * test/test-simple.c (test_editable_text),
4929 (test_text): pass G_MAXINT instead of '-1' for
4930 whole string - is this a good thing !?
4932 * cspi/spi_accessible.c
4933 (Accessible_getRelationSet): fix crasher bug
4934 overwriting the end of the array.
4936 * test/test-simple.c (validate_accessible): free,
4937 not g_free returned relation set.
4939 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4941 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4942 implemented stateset support
4944 * idl/Accessibility_State.idl: Made necessary changes to
4945 the IDL to support state sets.
4947 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4949 * registryd/deviceeventcontroller.c:
4950 Added implementation for generateMouseEvent.
4952 * cspi/spi_registry.c:
4953 Connected new implementation for generateMouseEvent
4956 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4959 Incremented revision (but no change in public API
4960 outside of 'utils', which are not installed public yet.)
4962 * libspi/component.c:
4963 Changed to use atk_component API for layers and
4964 mdi_zorder, instead of deprecated atk_object API.
4966 Magnification Utility Enhancements:
4969 Added implementation of createZoomRegion, clearAllZoomRegions,
4970 resizeZoomRegion. Added new commandline argument
4971 "--no-initial-region". Note that clearAllZoomRegions doesn't
4972 unmap the old '0' region as it should (yet), and the other
4973 methods only work when creating/resizing a single region,
4974 which is "region 0".
4975 (Code for multiple region support will be added later.)
4978 Now we raise the magnifier window each time it's refreshed;
4979 this will help keep it on top.
4981 * util/mag_client.h:
4982 Added simple wrappers for above, used by mag_control.
4983 For general use, it's recommended to use the bonobo magnifier
4984 control API directly instead of using these wrappers.
4987 Moved ZoomRegionData from magnifier.c to this file.
4989 * util/mag_control.c:
4990 Added some code to exercise new IDL implementations.
4992 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4994 * libspi/text.c: Provide implementation for getAttributes.
4996 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4999 Incremented revision.
5001 * test/test-simple.c:
5002 Replaced use of deprecated g_main_iteration with
5003 g_main_context_iteration.
5005 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
5008 Incremented revision for desktop alpha 2.
5010 2002-01-28 Mark McLoughlin <mark@skynet.ie>
5012 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
5015 * test/simple-at.c: include netinet/in.h.
5017 2002-01-24 Mark McLoughlin <mark@skynet.ie>
5019 * cspi/spi_accessible.c: (Accessible_getRelationSet):
5020 use NULL, not CORBA_OBJECT_NIL.
5022 * libspi/accessible.c:
5023 (impl_accessibility_accessible_get_relation_set):
5024 allocate the sequence correctly.
5026 * libspi/remoteobject.h: kill spi_remote_object_new.
5028 * test/test-simple.c: (validate_accessible): add code
5029 to test relation sets, now all we need is to figure
5030 out how to excercise this code path :/
5032 2002-01-18 Michael Meeks <michael@ximian.com>
5034 * test/test-simple.c
5035 (key_listener_cb): consume the key.
5036 (test_keylisteners): update.
5037 (main): wait for any pending unrefs on events.
5039 * registryd/deviceeventcontroller.c
5040 (spi_controller_update_key_grabs): only re-issue the
5041 grab on a key release.
5042 (spi_device_event_controller_forward_key_event):
5043 refresh the keygrabs before we notify the listeners,
5044 to reduce the X ungrab / re-grab race.
5045 (spi_controller_register_with_devices): remove
5046 XSelectInput - we do that with the gdk_window_ call.
5047 (_spi_controller_device_error_handler): return a value.
5048 s/GDK_DISPLAY/spi_get_display/
5050 2002-01-17 Michael Meeks <michael@ximian.com>
5052 * registryd/deviceeventcontroller.c
5053 (_deregister_keygrab): don't blow out the later
5056 * test/test-simple.c (test_keylisteners): do a
5057 more intelligent validation.
5059 2002-01-14 Michael Meeks <michael@ximian.com>
5061 * atk-bridge/bridge.c
5062 (gnome_accessibility_module_init),
5063 (gnome_accessibility_module_shutdown): impl.
5064 (gtk_module_init): protect vs. double inits.
5065 (add_signal_listener): impl.
5066 (spi_atk_bridge_state_event_listener): kill
5067 (deregister_application): split out of
5068 (spi_atk_bridge_exit_func): here.
5070 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5073 Added caret tracking when using magnifier, and
5074 now use text bounds for focus tracking of text elements, rather than
5075 the component bounds - this is helpful for short text fields in long
5076 table cells, at high magnification.
5078 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5080 * registryd/deviceeventcontroller.c:
5081 Regression fix for keylistener de-registration; global keygrabs
5082 were not being released when deregisterKeystrokeListener was
5083 called in cspi, since
5084 Accessibility_DeviceEventController_deregisterKeystrokeListener
5085 was called with a zero-length keyset. That is because the cspi
5086 method, SPI_deregisterKeystrokeListener, does not take a keyset
5087 parameter but instead should remove all the key grabs held be a
5089 The code in impl_deregister_keystroke_listener was changed to copy
5090 the keylist from the listener instance previously registered with
5091 the DeviceEventController before releasing the grabs.
5093 * registryd/registry.c:
5094 * registryd/deviceeventcontroller.c:
5095 * libspi/spi-private.h:
5097 Changed spelling of "re-enterant" to "re-entrant" globally.
5099 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5101 * test/test-simple.c:
5102 Changed key listeners test - the test was slightly mis-using the
5103 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5104 It now uses '=' as the key event listened to and generated,
5105 relying on a keysym match rather than assuming that keycode 33
5106 is always equal to keysym '!'.
5108 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5111 Changed simple-at to use a specific keyset, rather than
5112 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5113 manager, desktop, etc.
5115 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5117 * registryd/deviceeventcontroller.c:
5118 Replaced standard X error handler with a special handler that
5119 is non-fatal for failed keygrabs. This works around
5120 problems with keygrab clashes sometimes observed on
5122 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5123 mouse handling code as yet).
5125 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5128 Incremented revision for desktop alpha release.
5131 Fixed a couple of the more glaring errors (still not
5134 2002-01-11 Michael Meeks <michael@ximian.com>
5136 * registryd/deviceeventcontroller.c
5137 (spi_device_event_controller_forward_key_event): kill
5138 XUngrabKey / XKeyGrab race.
5139 (spi_controller_grab_keyboard): rename to
5140 (spi_controller_update_key_grabs): this, and deal
5141 with incremental adding / removing grabs more
5143 (_register_keygrab): ensure we're not pending a remove.
5144 (spi_grab_mask_free): impl.
5145 (spi_controller_register_global_keygrabs): split out
5147 (handle_keygrab): impl.
5148 (_deregister_keygrab): impl.
5149 (spi_controller_deregister_global_keygrabs): impl.
5150 (spi_controller_update_key_grabs): re-issue the grab if
5151 we just recieved a notification.
5153 * test/test-simple.c (key_listener_cb): remove debug.
5155 * registryd/deviceeventcontroller.c
5156 (spi_controller_register_device_listener): after
5157 registering a global keygrab, actualy register it !
5158 don't wait for a timeout; doh !
5160 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5161 to make it more readable / manipulable.
5162 s/grabmask/grab_mask/ s/refcount/ref_count/
5163 s/keyval/key_val/ s/modmask/mod_mask
5165 2002-01-08 Michael Meeks <michael@ximian.com>
5167 * registryd/deviceeventcontroller.c
5168 (spi_controller_register_with_devices): use gdk calls to
5170 (global_filter_fn): implement the filter.
5171 (spi_device_event_controller_check_key_event): rename to
5172 (spi_device_event_controller_forward_key_event): this & upd.
5173 (spi_get_display): replace with GDK_DISPLAY.
5175 * registryd/deviceeventcontroller.c
5176 (spi_controller_deregister_device_listener): unroll into
5177 (impl_deregister_keystroke_listener): here to simplify.
5178 (spi_controller_register_global_keygrabs): split cut and
5179 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5180 (spi_controller_deregister_device_listener): remove.
5181 (impl_register_mouse_listener): remove, no mouse listener
5182 support in at-spi-1.0
5184 * registryd/registry.c
5185 (_device_event_controller_hook): kill.
5186 (spi_registry_init): upd.
5188 * registryd/deviceeventcontroller.c
5189 (spi_device_event_controller_class_init): upd.
5190 (spi_check_key_event): merge into.
5191 (spi_device_event_controller_check_key_event):
5192 here and kill strange static ev init, don't leak
5193 the x_event - nor dynamicaly allocate it.
5195 * registryd/registry-main.c (main): re-direct
5196 timeout to remove strange vtable mess.
5198 * registryd/deviceeventcontroller.c
5199 (remove_listener_cb): impl.
5200 (spi_controller_deregister_device_listener):
5201 fix re-enterancy hazard.
5203 2002-01-07 Michael Meeks <michael@ximian.com>
5205 * registryd/deviceeventcontroller.c
5206 (spi_device_event_controller_new): upd.
5207 (impl_notify_listeners_sync): upd. debug.
5208 (spi_notify_keylisteners): fix re-enterancy hazards,
5209 prettify, remove O(n*n) iteration.
5210 (spi_controller_grab_keyboard): fix iteration.
5211 (spi_check_key_event): re-format to suit coding style.
5212 Clean all the warnings - we're warning free.
5214 * registryd/deviceeventcontroller.h:
5215 * registryd/registry.h: make mutualy referential with
5216 typesafe forward references instead of (!) void pointer
5219 2002-01-11 Michael Meeks <michael@ximian.com>
5221 * cspi/spi_accessible.c (role_names): add a role name
5222 to sync this array with the enum; and make the regression
5225 2002-01-10 Michael Meeks <michael@ximian.com>
5227 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5228 allow expansion of enumeration & kill warning.
5230 * test/test-simple.c (key_listener_cb): impl.
5231 (test_keylisteners): impl.
5233 * cspi/spi-listener.h: make listener signatures const
5234 on the provided (const) events.
5236 * test/keysynth-demo.c: upd. to const events.
5238 * test/simple-at.c: ditto.
5240 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5243 Rev the version to 0.5 (the previous tarball was named 0.4,
5244 even though the micro number was 3), so we need to rev upwards
5245 again for beta2/"desktop-alpha"
5248 Checked in a demo script, which requires editing before use!
5249 Proceed with caution.
5252 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5254 * cspi/spi_accessible.c:
5255 Add a couple of missing enum initializations, and fix some enum
5258 * cspi/spi_registry.c:
5259 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5261 * docs/reference/cspi/at-spi-cspi-sections.txt:
5262 Remove/fix a couple of broken document references.
5265 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5266 as Alt-Control to listen for commands, since on some systems
5267 Control-Alt may already be grabbed.
5269 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5272 Update version number to 0.4 for Beta2.
5274 * libspi/accessible.c, libspi/accessible.h:
5275 Expose spi_accessible_construct, to enable libgail-gnome
5276 construction from spi_accessible subtype.
5278 * utils/magnifier.c:
5279 Workaround for bug in some non-gnome-compliant window managers
5280 which made magnifier resize improperly.
5282 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5284 * libspi/accessible.c: (spi_accessible_new) :
5285 Move the test for SPI_IS_REMOTE_OBJECT to
5286 spi_accessible_new_return, fixing a bug and compile time warning.
5288 2002-01-08 Michael Meeks <michael@ximian.com>
5290 * registryd/registry.c (parse_event_type): remove strndup.
5292 * libspi/Makefile.am (libspi_la_SOURCES): remove
5293 sources already included in the headers section.
5295 * libspi/util.c: add.
5297 * libspi/spi-private.h: add.
5299 * registryd/registry.c: update to moved list iterators.
5301 2002-01-05 Michael Meeks <michael@ximian.com>
5303 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5305 * test/test-simple.c (main): ditto.
5307 2002-01-04 Michael Meeks <michael@ximian.com>
5309 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5310 redundant construct.
5312 * registryd/registry.c
5313 (get_listener_list): impl.
5314 (impl_accessibility_registry_register_global_event_listener):
5315 re-impl. to simplify using ~, remove dodgy const cast off.
5316 (parse_event_type): constify.
5317 (impl_accessibility_registry_deregister_global_event_listener_all):
5318 re-write, more efficiency and simplicity, kill re-enterancy
5320 (compare_listener_corbaref, compare_corba_objects),
5321 (compare_listener_quarks): define out.
5322 (impl_accessibility_registry_deregister_global_event_listener):
5323 re-write for effiency, and nail re-enterancy hazard.
5324 (impl_accessibility_registry_get_desktop_list): impl.
5325 (re_enterant_list_delete_link): impl.
5326 (re_enterant_list_foreach): impl.
5327 (remove_listener_cb): impl.
5328 (_registry_notify_listeners): kill.
5329 (notify_listeners_cb): impl.
5331 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5332 (SPI_getDesktopList): impl.
5334 * test/test-simple.c (test_desktop): test the methods.
5336 2002-01-03 Michael Meeks <michael@ximian.com>
5338 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5339 keystrings since we free them
5340 (SPI_freeAccessibleKeySet): in here.
5342 * libspi/accessible.c (spi_accessible_new): kill warning,
5343 wonder what is going on with the constructor here.
5345 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5347 * libspi/accessible.c (spi_accessible_new ()) :
5348 Added check to see if AtkObject is an SpiRemoteObject before
5349 creating an SpiAccessible.
5351 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5353 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5354 Enable keygrabs using the Control modifier, now that they are
5355 working properly (they were previously disabled).
5358 Change the command keygrab for this demo to "Control+Alt", so as
5359 to conflict with fewer other key commands on the system; this
5360 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5362 Removed a pointlessly-chatty keylistener for unshifted keys
5363 (shifted keys are still reported).
5365 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5367 * libspi/remoteobject.h:
5368 * libspi/remoteobject.c:
5369 Added definitions for special AtkObject subtype, required for
5370 support of remote components (specifically, used by BonoboControl
5371 accessibility implementation).
5373 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5375 * cspi/spi.h: synched relation types with ATK
5377 * cspi/spi_accessible.c: Added implementations of
5378 AcccessibleRelation_* methods
5380 * idl/Accessibility_Relation.idl: added getRelationTypeName
5381 method. Synched known relation types with ATK. Allowed for
5382 relation type extension with the RELATION_EXTENDED type.
5384 * libspi/relation.c: Provided implementations for
5385 AccessibleRelation methods.
5387 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5389 API tweaks for today's API 'freeze'.
5392 Added placeholder functions to allow future compatible expansion
5393 of the IDL interfaces.
5395 * idl/Accessibility_Registry.idl:
5396 Changed generateKeyEvent to generateKeyboardEvent. Changed
5397 signature of this method to accept an optional keystring in
5398 parameter (for complex text input synthesis) and changed use of
5399 simple 'boolean' parameter in registerKeystrokeListener to a
5400 struct, EventListenerMode.
5402 * cspi/spi_accessible.c:
5404 * cspi/spi_streamablecontent.c:
5405 Added references to AccessibleStreamableContent interface, and
5406 definition and implementation of AccessibleStreamableContent
5409 * cspi/spi_registry.c:
5411 Changed generateKeyEvent API to generateKeyboardEvent,
5412 taking a new (optional) keystring parameter to support complex
5417 Renamed directory (to better reflect its actual purpose, bridging
5418 from at-spi to ATK). The .so module is also now named
5421 * idl/Accessibility_Hypertext.idl:
5422 * libspi/accessible.c:
5423 * libspi/hypertext.h:
5424 * libspi/hypertext.c:
5425 Changed Accessibility_Hypertext to *not* derive from
5428 * cspi/spi_registry.c:
5429 Added list of legal event type names for 'window' events, which
5430 completes the registry event API.
5432 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5434 * at-bridge/bridge.c: Added registration for separate
5435 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5436 signals. If either of the first two parameters to the generic
5437 bridge signal handler are ints, they are passed on as event
5438 details. This allows an AT to determine what text was inserted.
5440 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5442 * registryd/deviceeventcontroller.c:
5443 Fixed regressions in generateKeyEvent caused by the removal of
5444 gdk_init from registryd; we now use pure X calls to connect to the
5445 display, which makes sense because deviceeventcontroller already
5446 uses a fair bit of X API (should eventually be migrated to a
5447 'portability layer').
5449 * registryd/desktop.c:
5450 Fixed minor regression in spi_desktop_init, changed the way the
5451 desktop name is being set to work with new spi_base API
5452 (gobject-based, rather than AtkObject-based).
5454 * registryd/Makefile.am:
5455 Minor revision of makefile to use XTST_LIBS variable rather than
5456 hard-wiring the Xtst LD_ADD element.
5458 * test/keysynth-demo.c:
5459 Tweaked an output message; added initialization of the
5460 'keystrings' member of the "switch listener" key_set.
5462 * libspi/relation.c:
5463 Squashed compile-time warning.
5465 * libspi/accessible.c:
5466 Cosmetic and formatting fixes, renamed a static method.
5468 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5470 * libspi/accessible.c
5472 * libspi/application.c
5475 * libspi/component.c
5476 * libspi/editabletext.c
5477 * libspi/hyperlink.c
5478 * libspi/hypertext.c
5480 * libspi/selection.c
5484 * registryd/desktop.c:
5485 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5487 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5489 * idl/Accessibility_Registry.idl:
5490 Added boolean member 'is_text' to DeviceEvent. This is for the
5491 use of key events, and helps prevent ambiguity between composed
5492 key strings and keysym names, since both may potentially be
5493 returned in the 'event_string' member.
5495 * at-bridge/bridge.c:
5496 * registryd/deviceeventcontroller.c:
5497 Use the 'is_text' member when notifying device event listeners.
5498 Knon issue: composed characters are not dealt with correctly by
5499 the global key listener implementation yet.
5501 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5503 * at-bridge/bridge.c:
5504 Namespaced local static methods to spi_atk_bridge_* where
5505 previously named bridge_*, and spi_* elsewhere.
5507 * at-bridge/bridge.c:
5508 * cspi/bonobo/cspi-bonobo-listener.c:
5509 Added demarshalling/conversion for string member of
5510 Accessibility_DeviceEvent to AccessibleKeystroke.
5512 * registryd/deviceeventcontroller.c:
5513 Added code to fill the Accessibility_DeviceEvent key string value
5514 member for global key events (i.e. from XGrabKey), to match
5515 behavior of Accessibility_DeviceEvent from the toolkit key events
5516 from the bridge. Fixed timestamp in global key event notifications.
5519 Added printout of key event's string value to
5520 report_ordinary_key_event, for demo/debugging purposes.
5522 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5524 * idl/Accessibility_Registry.idl:
5525 Removed Accessibility_KeyStroke structure in favor of generic
5526 Accessibility_DeviceEvent structure.
5527 Changed Accessibility_ControllerEventMask from a struct to an
5530 * at-bridge/bridge.c:
5531 Changed APIs to use DeviceEvent structure as above, and removed
5532 bogus casting between these event structures.
5534 * cspi/spi-listener.h:
5535 Added keystring member of AccessibleKeystroke structure, to enable
5536 matching on event "names" rather than only hardware codes and
5540 Added keystrings member of AccessibleKeySet struct, to allow
5541 matching on event names (as above).
5542 Added declarations for SPI_createAccessibleKeySet and
5543 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5544 event modmasks directly as unsigned ints rather than structs with
5545 refcounts, in the DeviceEventController methods.
5547 * cspi/spi_registry.c:
5548 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5550 * cspi/spi-roletypes.h:
5551 Added documentation of newly added SPI Roles.
5553 * cspi/bonobo/cspi-bonobo-listener.c:
5554 Changes in support of API changes above.
5556 * libspi/accessible.c:
5557 Converted APIs to use DeviceEvent structure (see IDL changes
5560 * registryd/deviceeventcontroller.c:
5561 Added DEControllerGrabMask structure to track keygrabs not only by
5562 modmask but by keyset as well; this allows us to do "global"
5563 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5564 grabbing on AnyKey and then filtering after-the-fact.
5565 Bugfixes for event filtration mean that we don't get false matches
5566 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5568 * registryd/deviceeventcontroller.c:
5569 Namespaced a number of static methods to use spi_ prefix. Major
5570 revision to internals of global (i.e. X) key grabs.
5572 * registryd/deviceeventcontroller.h:
5573 Removed keymask_list and added keygrabs_list to
5574 SpiDeviceEventController struct.
5577 Added use of SPI_createAccessibleKeySet API when creating a
5578 listener for only one key. Attach a listener to "shift spacebar
5579 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5580 X key event names to SPI key event names, so that listeners are
5581 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5583 * test/keysynth-demo.c:
5584 Changed (incorrect) use of X key event names (KeyPressed,
5585 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5588 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5590 * libspi/accessible.c:
5591 Convert all AtkRole enumerations to Accessibility_Role enums when
5592 getting a role from an AtkObject.
5594 * cspi/spi_accessible.c:
5595 Complete the conversion of Accessibility_Role enums at runtime to
5596 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5597 role enums correctly match those given in spi-roletypes.h.
5598 Re-synchronize the local names list for AccessibleRole_getName ().
5599 AccessibleRole_getName is now deprecated, since it duplicates the
5600 more reliable Accessible_getRoleName.
5601 Added some role types from Accessibility_Role.idl.
5603 * idl/Accessibility_Role.idl:
5604 Added some role types used by AtkRole.
5606 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5609 * cspi/spi_registry.c:
5611 * cspi/cspi-bonobo-listener.c:
5612 Namespaced all methods that did not begin with an "SPI_" or
5613 "Accessible" prefix to "SPI_".
5616 Homogenized internal function namespace to "cspi_" for statics.
5619 Patched tests to use the new CSPI API.
5621 * docs/reference/cspi/at-spi-cspi-sections.txt:
5622 Updated docs to reflect namespace changes, and added a number of
5623 methods to the documentation.
5625 * registryd/registry.c:
5626 Changed use of strings and string hashes in listener event
5627 matching and parse_event_string to use GQuark, which is guaranteed
5630 * registryd/registry.h:
5631 Squashed annoying warning.
5633 * idl/Accessibility_Role.idl:
5634 Extended range of available Accessibility_Role values.
5636 * cspi/spi_accessible.c:
5637 Re-ordered role names.
5639 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5641 * idl/Accessibility_Value.idl:
5642 Revert use of union back to CORBA_double, since the double type is
5643 more efficient and can contain the other types without loss of
5646 * idl/Accessibility_Accessible.idl:
5647 Added method Accessibility:Accessible:getRoleName, to complement
5648 Accessibility:Accessible:getRole.
5650 * cspi/spi_accessible.c:
5652 Added C binding for above, Accessible_getRoleName (), and changed
5653 signature of Accessible_getRole () to return an AccessibleRole.
5655 * cspi/spi-roletypes.h:
5656 Changed AccessibleRole_getName to return a char * instead of a
5657 const char *. This method is now at least temporarily deprecated
5658 in favor of asking Accessibles for their RoleNames directly.
5661 Revert to match Accessibility_Value.idl;
5665 Change signature of AccessibleValue methods to use double rather
5669 * cspi/spi_accessible.c:
5670 Changed Accessible_getRole to return an AccessibleRole enum rather
5671 than a UTF-8 string. The UTF-8 string can still be obtained via
5672 AccessibleRole_getName ().
5674 * test/test-simple.c:
5675 Add test_action. Small fixup to match API change to Accessible_getRole.
5678 Bugfix for get_action_from_servant ().
5680 2001-12-11 Michael Meeks <michael@ximian.com>
5682 * libspi/libspi.h: remove registry.h and
5683 desktop.h, deviceeventcontroller.h
5685 * libspi/Makefile.am: remove registry.[ch],
5686 desktop.[ch], deviceeventcontroller.[ch]
5688 * registryd/Makefile.am: add registry.[ch],
5689 desktop.[ch], rename registryd.c to registry-main.c.
5690 add deviceeventcontroller.[ch]
5692 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5695 Replace setenv() call with putenv ().
5697 * libspi/component.c:
5698 Bugfix in AccessibleComponent_getExtents (),
5701 2001-12-11 Michael Meeks <michael@ximian.com>
5703 * libspi/image.c (impl_getImageExtents): impl.
5704 (spi_image_class_init): upd.
5707 (AccessibleImage_getImageDescription): fix daft bug
5710 * test/test-simple.c (global_listener_cb): update
5711 to only quit if not --poke
5712 (main): catch --poke.
5713 (validate_accessible): upd. dumping, call test_image
5716 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5719 * idl/Accessibility.idl: update all IDL includes.
5721 * idl/*.idl - rename to namespace - this sucks, blame
5722 mjs' bad decision for oafd.
5724 * test/test-simple.c (create_test_window): add more tests.
5725 (create_tree): split this out.
5726 (validate_accessible): bugfix.
5728 2001-12-11 Michael Meeks <michael@ximian.com>
5730 * cspi/bonobo/cspi-bonobo-listener.c:
5731 (cspi_kestroke_listener_unref),
5732 (cspi_event_listener_unref): impl. undoing previous
5733 homenous environment - for Bill.
5735 * cspi/spi_table.c (long_seq_to_array): use
5738 * cspi/spi_main.c: split out all bonoboish bits into
5741 * cspi/spi-impl.h: upd. typedefs.
5743 * cspi/spi_registry.c: update to lowlevel API,
5744 return booleans to indicate success in some places.
5746 * cspi/spi_event.c: update to lowlevel API.
5748 * cspi/bonobo/Makefile.am: add.
5750 * cspi/bonobo/cspi-lowlevel.h: add
5752 * cspi/bonobo/cspi-bonobo.c: add
5754 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5756 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5757 (SUBDIRS): add bonobo, link in the libs.
5759 * cspi/spi-util.c: kill this file.
5761 * TODO: merge in my bits.
5763 2001-12-11 Michael Meeks <michael@ximian.com>
5765 * test/test-simple.c (test_value, test_table, main):
5766 remove unused variables causing warnings.
5768 * configure.in: cleanup checks - require gail.
5770 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5773 Changed Value interface to use SValue (scalars) rather than
5774 assuming all values are floats. This allows floats, doubles,
5775 longs, shorts, and unsigned values to be manipulated.
5776 Introduced Accessibility:SValue union.
5779 Updated to use new API above, and to work correctly with GValues
5780 of different types in AtkValue.
5783 Updated to use new API above. cspi's API is as yet unchanged.
5786 Updated the Value revision action item.
5788 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5790 * test/test-simple.c:
5791 Added test_table (GtkTreeView widget in test window to follow).
5792 Un-commented test_value, added GtkRange widget.
5793 Added GtkTreeView widget with GtkListStore. It passes regression
5794 test but leaks one SPI object for some reason.
5797 Fixed bug in impl__set_currentValue.
5799 2001-12-10 Michael Meeks <michael@ximian.com>
5801 * cspi/spi_text.c: audit for exception handling,
5802 tolerating NULL object references safely etc.
5804 * cspi/spi_value.c: ditto.
5806 * cspi/spi_table.c (AccessibleTable_getSummary),
5807 (AccessibleTable_getAccessibleAt),
5808 (AccessibleTable_getRowHeader),
5809 (AccessibleTable_getColumnHeader),
5810 (AccessibleTable_getCaption): fix bugs hidden by
5812 (long_seq_to_array): impl.
5813 (AccessibleTable_getSelectedRows),
5814 (AccessibleTable_getSelectedColumns): use it.
5816 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5819 Added a TODO list (rough and short for now).
5821 * cspi/spi_hyperlink.c:
5822 * cspi/spi_hypertext.c:
5823 Fixed macro name typos, and remove use of obsolete macro in
5824 AccessibleHyperlink_getLink.
5826 * cspi/spi_action.c:
5827 * cspi/spi_accessible.c:
5828 * cspi/spi_application.c:
5829 * cspi/spi_component.c:
5830 * cspi/spi_selection.c:
5833 Documentation fixes (removed return values from ref/unref methods).
5835 2001-12-10 Michael Meeks <michael@ximian.com>
5837 * cspi/spi_action.c: audit for exception handling,
5838 tolerating NULL object references safely etc.
5840 * cspi/spi_accessible.c: ditto.
5842 * cspi/spi_component.c: ditto.
5844 * cspi/spi_editabletext.c: ditto.
5846 * cspi/spi_hyperlink.c: ditto.
5848 * cspi/spi_hypertext.c: ditto.
5850 * cspi/spi_image.c: ditto.
5852 * cspi/spi_selection.c: ditto.
5854 2001-12-10 Michael Meeks <michael@ximian.com>
5856 * configure.in: use cspi/libspi.pc.in instead.
5858 * Makefile.am (pkgconfig_DATA): upd. to match.
5860 * test/simple-at.c (report_focus_event): kill hacks around
5861 bad return values, use putenv not setenv
5863 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5864 fire ChildGone - I killed it.
5866 * libspi/component.c
5867 (impl_accessibility_component_get_extents): remove
5870 * idl/Accessible.idl: kill ChildGone exception.
5872 * cspi/*.[ch]: kill int return from ref / unref.
5874 * cspi/spi_main.c (cspi_object_add_check): fold into
5875 (cspi_object_add): here.
5877 * cspi/spi_component.c (AccessibleComponent_getExtents):
5878 handle exceptions elegantly.
5880 * cspi/spi-private.h (cspi_check_ev_return),
5881 (cspi_return_if_fail): impl.
5883 * cspi/spi_accessible.c: use extensively.
5884 (AccessibleStateSet_equals): add direct compare check.
5886 * cspi/spi_selection.c: tolerate NULL objs, and check
5887 exceptions before return.
5889 * cspi/spi-util.c (cspi_warn_ev): rename to
5890 (cspi_check_ev): this & don't pass ev in; no point.
5892 2001-12-10 Michael Meeks <michael@ximian.com>
5894 * test/test-simple.c: use putenv not setenv
5895 (get_environment_vars): more chatty if you're not using
5898 * test/simple-at.c: do the setenv so more people see the
5901 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5903 * libspi/registry.c:
5904 Changed check of CORBA_environment on notification to be a warning
5905 instead of an error for the moment, since we can recover from this
5906 error when caused by a queued notification from a dead app.
5909 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5910 used by all current implementors of AtkValue), and coerce to
5911 CORBA_float. (Proper general case fix may require change to Value.idl).
5913 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5917 * cspi/spi_accessible.c:
5918 Documentation fixes: added user_data params to documentation for
5919 listeners and callbacks.
5921 * cspi/spi_accessible.c:
5922 Changed AccessibleStateSet_compare to return a
5923 StateSet rather than return the difference set into a third parameter.
5926 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5929 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5930 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5934 Remove subdirectory po from SUBDIRS for now.
5936 * at-bridge/bridge.c:
5937 Beefed up a couple of debug printouts.
5938 One-line fix for signal notification name formatting.
5940 * libspi/accessible.c:
5941 Added assertion to spi_accessible_new ().
5943 * libspi/application.c:
5944 Put #ifdef qualifiers around a printf.
5947 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5949 * registryd/Makefile.am:
5951 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5952 INTLTOOL_SERVER_RULE macro.
5955 Added an event listener for several ATK signals, for
5956 testing and debugging. Removed a few g_warnings.
5957 Added test output if focussed item implements the Value interface.
5959 * test/test-simple.c:
5960 Added test_value () function (known not to pass at the moment, so
5961 not actually called yet.
5963 2001-12-08 Michael Meeks <michael@ximian.com>
5965 * at-bridge/bridge.c (bridge_focus_tracker),
5966 (emit_eventv): fix the same ref. leak.
5967 (register_atk_event_listeners): don't leak.
5969 * cspi/spi-listener-impl.c (cspi_event): more
5970 protection from client code.
5972 * test/test-simple.c (test_desktop): unref the app.
5974 * test/Makefile.am: upd. TESTS.
5976 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5978 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5980 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5982 * cspi/spi_registry.c: constify in strings.
5983 (deregisterGlobalEventListenerAll): don't release the ref.
5985 * cspi/spi.h: start removing redundant / conflicting
5986 gtkdoc comments, making the API readable at a glance :-)
5988 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5990 * test/keysynth-demo.c (keysynth_exit, main): upd.
5992 * test/simple-at.c (main, simple_at_exit): upd.
5994 * test/test-simple.c (unutterable_horror): kill.
5995 (utterable_normal_derefs): kill.
5996 (main): upd & do a setenv before gtk_init, so that we
5997 can use memprof - and to save the pain of remembering
5998 this, if we're running under memprof - don't exit.
6000 * cspi/spi_main.c (SPI_exit): return exit status
6002 (SPI_event_quit): impl.
6003 (SPI_event_main): simplify.
6004 (cspi_is_gnome_app): kill.
6005 (SPI_init): kill isGNOMEapp arg.
6007 * at-bridge/bridge.c (register_atk_event_listeners):
6008 re-instate the unref.
6009 (bridge_exit_func): don't re-activate the registry,
6010 protect vs. theoretical re-entry, use the
6011 AT_BRIDGE_SHUTDOWN env. var to determine whether to
6012 assert a clean shutdown - for regression tests.
6014 2001-12-08 Abel Cheung <maddog@linux.org.hk>
6016 * configure.in: Comment out dummy i18n support for now,
6017 otherwise it fails to build.
6018 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
6019 EXTRA_DIST. They are missing in tarball.
6021 2001-12-07 Michael Meeks <michael@ximian.com>
6023 * util/magnifier.c: kill bonobo activation reg. race.
6025 * libspi/component.c
6026 (impl_accessibility_component_get_extents): make it match
6029 * libspi/registry.c (_registry_notify_listeners):
6030 re-remove X headers & reconcile conflicts.
6031 (spi_listener_struct_free): bad conflict resolve.
6032 (impl_accessibility_registry_register_application):
6033 more bad merging fixed.
6034 (impl_accessibility_registry_deregister_application): ditto.
6035 (spi_registry_new): ditto.
6036 (spi_registry_init): don't have an applications field.
6038 [ merge fixups2 branch to here ]
6039 2001-12-07 Michael Meeks <michael@ximian.com>
6041 * test/simple-at.c (report_focus_event),
6042 (report_focussed_accessible): remove g_warning debug.
6044 2001-12-07 Michael Meeks <michael@ximian.com>
6046 * test/test-simple.c (validate_tree): comment out some checks.
6047 (test_desktop): app now not registered idly - horay.
6049 2001-12-07 Michael Meeks <michael@ximian.com>
6051 * cspi/spi_registry.c
6052 (registerAccessibleKeystrokeListener): clean, stop it leaking
6053 great swathes of memory, and device event controller references.
6054 ensure we always pass valid sequences.
6055 (deregisterAccessibleKeystrokeListener): ditto.
6056 (generateKeyEvent): upd.
6058 * at-bridge/bridge.c (bridge_key_listener): handle
6059 registry dead exception gracefully.
6060 (bridge_focus_tracker, emit_eventv): free ev.
6062 * test/simple-at.c (report_focus_event): fix polarity.
6064 * libspi/application.c (notify_listeners): kill the ev
6065 argument, and make sure we init the ev we use.
6066 (spi_application_object_event_listener): split out a chunk
6067 (get_atk_object_ref): here & fixup.
6068 (reverse_lookup_name_for_toolkit_event): make const.
6069 (spi_application_toolkit_event_listener): fixup, kill leaks
6072 * at-bridge/bridge.c (register_atk_event_listeners):
6073 don't unref the noop object - causes grief.
6075 * libspi/registry.c: remove the X headers.
6076 turn off the debug churn.
6078 * libspi/accessible.c (spi_accessible_new_return): only
6079 release the ref if we are supposed to [doh]
6081 * test/simple-at.c (report_button_press, report_focus_event):
6082 guard vs. unexpected exit.
6084 * at-bridge/bridge.c (gtk_module_init): prune printf.
6085 (bridge_exit_func): fix app unref.
6087 * libspi/Makefile.am: don't install registry or desktop.h
6089 * libspi/*.h: update includes.
6091 * libspi/application.h: don't include ourself, or
6092 other redundant headers.
6094 2001-12-06 Michael Meeks <michael@ximian.com>
6096 * libspi/accessible.c
6097 (get_accessible_from_servant): impl.
6098 Upd. all CORBA impl.s to use it killing cut and paste.
6100 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6102 (SPI_init): register atexit cleanup handler here.
6104 2001-12-06 Michael Meeks <michael@ximian.com>
6106 * at-bridge/bridge.c (gtk_module_init): g_error on
6107 activation exception
6109 2001-12-06 Michael Meeks <michael@ximian.com>
6111 * at-bridge/bridge.c (gtk_module_init): some sort of
6112 confusing merge clash - reverted.
6113 (bridge_idle_init): ditto.
6115 * test/test-simple.c (main, utterable_normal_derefs):
6116 merge from Bill - somehow not committed.
6118 2001-12-06 Michael Meeks <michael@ximian.com>
6120 * libspi/value.c (spi_value_class_init): upd.
6121 (spi_value_finalize): kill.
6123 * libspi/table.c (spi_table_finalize): kill.
6124 (spi_table_interface_new): upd.
6125 (spi_table_class_init): upd.
6126 (get_table_from_servant): impl.
6127 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6129 * libspi/selection.c (spi_selection_finalize): kill.
6130 (spi_selection_interface_new): upd.
6131 (spi_selection_class_init): upd.
6132 (get_selection_from_servant): impl.
6133 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6135 * libspi/relation.c (spi_relation_finalize): kill.
6136 (spi_relation_class_init, spi_relation_new): upd
6138 * libspi/image.c (spi_image_finalize): kill.
6139 (spi_image_class_init): upd.
6140 (spi_image_interface_new): upd.
6141 (get_image_from_servant): impl.
6142 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6144 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6145 (spi_hyperlink_finalize): kill.
6146 (spi_hyperlink_new): upd.
6147 (get_hyperlink_from_servant): impl.
6148 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6150 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6151 (spi_hypertext_finalize): kill.
6152 (spi_hypertext_class_init): upd.
6153 (get_hypertext_from_servant): impl.
6154 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6156 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6157 (spi_editable_text_interface_new): upd.
6158 (get_editable_text_from_servant): impl.
6159 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6161 * libspi/text.c (get_text_from_servant): impl.
6162 All impls - update to use it killing more cut and paste,
6163 also fix bad string returns on duff args ( a somewhat
6164 impossible case to handle - but hey ).
6165 (spi_text_construct): impl.
6166 (spi_text_interface_new): upd.
6167 (spi_text_object_finalize): kill.
6169 * libspi/component.c
6170 (accessibility_component_object_finalize): kill.
6171 (spi_component_class_init): upd.
6172 (get_component_from_servant): impl. helper to kill cut & paste.
6173 (impl_accessibility_component_contains):
6174 (impl_accessibility_component_get_accessible_at_point):
6175 (impl_accessibility_component_get_position):
6176 (impl_accessibility_component_get_extents):
6177 (impl_accessibility_component_get_mdi_z_order):
6178 (impl_accessibility_component_get_layer):
6179 (spi_component_interface_new): upd.
6181 * libspi/action.c (spi_action_finalize): kill.
6182 (spi_action_class_init): upd. inherit from SpiObject.
6183 (spi_action_interface_new): upd.
6184 (get_action_from_servant): impl. helper to reduce cut & paste.
6185 (impl_getKeyBinding, impl_getName, impl_doAction),
6186 (impl_getDescription): Use it everywhere.
6188 * cspi/spi_main.c (get_live_refs): a pointer hash.
6189 (spi_object_hash, spi_object_equal): comment out.
6190 There are issues with CORBA object hashing that need
6193 * libspi/application.c (spi_application_init),
6194 (spi_application_new): upd.
6196 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6197 (spi_accessible_class_init): upd.
6198 s/accessible/object/ in epv methods.
6200 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6202 * at-bridge/bridge.c:
6203 Reorder the bridge initialization into the bridge gtk_module_init,
6204 an immediate call to bridge_register_app, and an idle_add for
6205 register_atk_event_listeners (the only code that *must* wait until
6206 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6207 the activation, creates the application's Accessible object, and
6208 queues the bridge_idle_init function. Restored call to
6209 Accessibility_Registry_deregisterApplication().
6210 Prior to making this call we obtain a new reference to the
6211 registry, which is a temporary hack that helps us handle apps that
6212 shut down the bonobo mainloop before we get there.
6214 * libspi/registry.c:
6215 Fix string leakage in debug block, and don't segv if a an app
6216 dies before its event notifications have been propagated.
6219 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6220 as stopgap measure until we get proper exception handling when
6221 objects die during or before interrogation.
6225 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6226 Also changed default value of is_gnome_app to TRUE.
6229 * test/keysynth-demo.c:
6230 Changed use of SPI_init and SPI_event_main to reflect API change above.
6233 Made report_focus_event check the warning value from getName
6234 before reporting on focussed accessible; simplifies handling of
6235 notifications from dead objects.
6237 * test/test-simple.c: (Changes not in this patch since source is
6240 2001-12-05 Michael Meeks <michael@ximian.com>
6242 * registryd/registryd.c (main): protect against
6243 bonobo-activation startup race condition.
6245 * cspi/spi_main.c (cspi_object_add_check): cope
6246 with the exception elegantly.
6248 * idl/Accessible.idl: decl. ChildGone
6250 * libspi/desktop.c (spi_desktop_dispose): impl.
6251 (spi_desktop_class_init): upd.
6252 (spi_desktop_add_application),
6253 (spi_desktop_remove_application),
6254 (abnormal_application_termination): impl.
6255 (impl_desktop_get_child_at_index): re-impl.
6258 (impl_accessibility_registry_deregister_application),
6259 (impl_accessibility_registry_register_application):
6260 kill excessive debug clutter.
6262 * test/test-simple.c (test_misc): test some NULL
6263 tolerance. (main): upd.
6265 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6266 implements no interfaces - so let's not crash.
6268 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6270 * libspi/accessible.c (spi_accessible_new_return): impl.
6271 helper to calm the cut and paste, to cope with
6272 NULL AtkObjects effectively and efficiently, and to kill
6273 the referencing bugs.
6275 * libspi/table.c (impl_getAccessibleAt),
6276 (impl_getRowHeader, impl_getColumnHeader): upd.
6278 * libspi/hyperlink.c (impl_getObject): upd.
6280 * libspi/accessible.c
6281 (impl_accessibility_accessible_get_child_at_index): upd.
6283 * libspi/component.c
6284 (impl_accessibility_component_get_accessible_at_point): upd.
6286 * test/test-simple.c (test_editable_text, test_text): impl.
6289 * cspi/spi_editabletext.c
6290 (AccessibleEditableText_insertText): constify.
6292 * test/test-simple.c (focus_me): make more robust.
6294 * libspi/accessible.c: remove some printfs in methods that
6295 we test and work fine, so we can get a clean tree dump.
6297 * test/test-simple.c (validate_accessible),
6298 (validate_tree): make tree dumping pretty too.
6300 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6301 it builds without debug on.
6303 * test/test-simple.c (validate_accessible): fix the most
6306 * cspi/spi_main.c (spi_object_release): leave the nicely
6307 blanked memory around if in debug mode.
6309 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6311 [committed to fixups2]
6312 2001-12-05 Michael Meeks <michael@ximian.com>
6314 * libspi/editabletext.c
6315 (spi_editable_text_class_init): g_type_class_peek_parent,
6316 not interface peek - so we finalize cleanly.
6318 * libspi/accessible.c (spi_accessible_new): kill debug.
6320 * test/test-simple.c (validate_accessible): fix ref.
6321 leak, print strings before freeing them; sigh, comment a
6322 chunk out due to strangeness.
6323 (validate_tree): unref the child after use.
6325 * cspi/spi_component.c (AccessibleComponent_getLayer):
6326 add missing break statement, switch on zlayer not the
6327 uninitialized retval.
6329 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6330 before (possibly re-entering) remote unref.
6332 * test/simple-at.c (main): unref the desktop.
6334 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6337 * cspi/spi_main.c (cspi_accessible_is_a): here to
6338 isolate bonobo API usage more.
6340 * libspi/registry.c (impl_accessibility_registry_register_application):
6341 prune bogus comment.
6343 2001-12-04 Michael Meeks <michael@ximian.com>
6345 * test/test-simple.c (validate_tree): upd.
6346 IndexInParent check to make it more lucid.
6347 (validate_accessible): dump the tree.
6349 * libspi/accessible.c (de_register_public_ref),
6350 (get_public_refs): impl.
6351 (spi_accessible_new): make more efficient & intuitive.
6352 Now IndexInParent check works.
6354 2001-12-04 Michael Meeks <michael@ximian.com>
6356 * cspi/spi-util.h: remove.
6358 * cspi/spi.h: move SPI_freeString here
6360 * libspi/component.c (impl_accessibility_component_get_layer):
6362 (impl_accessibility_component_get_mdi_z_order): ditto,
6363 return -1 on error - is this ok ?
6365 * test/test-simple.c (test_application): impl.
6367 * cspi/spi_accessible.c (Accessible_getApplication),
6368 (Accessible_isApplication): impl.
6370 * libspi/registry.c (spi_listener_struct_free): release
6371 the CORBA reference too.
6373 * libspi/accessible.c
6374 (impl_accessibility_accessible_get_parent): fix ref leak.
6376 * libspi/registry.c (spi_registry_new): make the registry
6377 immortal - we don't want it to go away ever.
6379 * libspi/application.c
6380 (spi_accessible_application_finalize): impl. cleanup.
6382 * cspi/spi_registry.c
6383 (deregisterGlobalEventListenerAll),
6384 (deregisterGlobalEventListener),
6385 (deregisterAccessibleKeystrokeListener): fix ref leak.
6387 * cspi/spi_main.c (SPI_init): remove redundant ref.
6389 * test/test-simple.c (unutterable_horror): impl. to force a
6394 (impl_accessibility_registry_deregister_application): release
6395 the application when we de-register it.
6397 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6398 until we have the infastructure to get it right.
6400 2001-12-03 Michael Meeks <michael@ximian.com>
6402 * libspi/Makefile.am: only build eventlistener.[ch]
6404 * libspi/accessible.c
6405 (impl_accessibility_accessible_get_child_at_index): don't leak.
6407 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6408 before we hit the idle handler.
6410 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6411 debugging than exit.
6413 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6415 * libspi/listener.c (impl_notify_event): check source
6416 not NIL before unref.
6418 * libspi/registry.c (impl_registry_notify_event): ditto.
6420 * libspi/eventlistener.c
6421 (impl_accessible_event_notify_event): unref the source.
6423 * libspi/accessibleeventlistener.c
6424 (impl_accessible_event_notify_event): unref the source.
6426 * idl/Event.idl: remove 'hash_id' attribute - of no
6429 * libspi/application.c (notify_listeners): upd list
6431 (spi_application_object_event_listener),
6432 (spi_application_toolkit_event_listener): upd to do correct
6436 (_registry_notify_listeners): update.
6437 (parse_event_type): this method also leaks like a sieve.
6438 (impl_accessibility_registry_deregister_global_event_listener):
6439 fix ETYPE_WINDOW case.
6441 * libspi/application.c
6442 (impl_accessibility_application_register_object_event_listener):
6445 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6447 * libspi/hypertext.c (impl_getLink): ditto.
6449 * cspi/spi_main.c (cspi_object_add): remove
6450 bogus CORBA_Object_duplicate.
6452 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6455 * cspi/spi_accessible.c
6456 (Accessible_getRelationSet): fix leak / referencing issue.
6458 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6459 (cspi_object_add, cspi_object_unref): upd.
6460 (spi_object_release, get_live_refs): impl.
6461 (cspi_cleanup): simplify.
6463 * *.[ch]: s/boolean/SpiBoolean/
6465 * cspi/spi_accessible.c (role_names): actualy order so it
6466 corresponds with the enum !
6468 * test/test-simple.c (test_roles): check some role strings
6469 vs. enums to detect offset errors.
6471 2001-12-01 Michael Meeks <michael@ximian.com>
6473 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6475 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6477 (Accessible_getChildAtIndex): use cspi_add_check so we
6478 check the ev before using a (possibly) invalid value.
6480 * libspi/accessible.c
6481 (impl_accessibility_accessible_get_parent): don't segv
6484 * at-bridge/bridge.c (gtk_module_init): upd.
6485 (bridge_property_event_listener): don't leak strings
6487 (bridge_state_event_listener),
6488 (bridge_property_event_listener): don't use a static
6489 buffer in case of recursive event emission &
6490 re-enterancy - split out the swathe of cut and paste
6492 (emit_eventv): and fix 2 ref leaks here & comply to the
6494 (bridge_register_app): rename to
6495 (bridge_idle_init): this and kill arg parsing, split
6496 various inits & bonobo-activation registration to module
6497 init time, kill referencing error.
6498 (bridge_exit_func): fix the same leak.
6499 (bridge_focus_tracker): don't leak event structures
6501 (bridge_signal_listener): more leakage and cut & paste
6503 (bridge_key_listener): return the result - FIXME is
6504 this polarity correct ?
6505 (accessibility_keystroke_from_atk_key_event): rename
6506 (accessibility_init_keystroke_from_atk_key_event): and stop
6508 (gtk_module_init): return a value - not that it is checked by
6510 (bridge_key_listener): register my horror at casting between
6511 IDL defined structs.
6512 (bridge_get_registry): kill - not used.
6514 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6516 * test/test-simple.c (test_roles): impl.
6517 (test_desktop, validate_accessible, validate_tree): impl.
6519 * cspi/spi_accessible.c (role_names): fixup bogus
6520 MAX_ROLES setup, make constants const for efficient linkage
6521 (AccessibleRole_getName): conform to coding style, make
6524 2001-11-30 Michael Meeks <michael@ximian.com>
6526 * cspi/spi.h: add missing prototype.
6528 * libspi/registry.c (spi_listener_struct_new): fix sig.
6530 * test/Makefile.am: add test-simple
6532 * test/test-simple.c: add
6534 * test/test.sh: add.
6536 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6538 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6539 do it straight - since otherwise we often get an activation race.
6541 [ work before Bill duplicated a chunk of it ... ]
6542 2001-11-30 Michael Meeks <michael@ximian.com>
6544 * libspi/keystrokelistener.c
6545 (spi_keystroke_listener_class_init): fixup arg
6548 * libspi/eventlistener.c
6549 (spi_event_listener_class_init): ditto.
6551 * tests/test.sh: add.
6553 * cspi/spi-listener-impl.h: update macros.
6555 * cspi/spi-listener-impl.c
6556 (cspi_event_listener_remove_callback): add
6557 correct pre-conditions.
6559 * cspi/spi_main.c (SPI_exit): guard vs. double
6560 exits, exit the mainloop nicely.
6561 (SPI_event_main): make more sense.
6562 (SPI_init): move the atexit evilness here so we
6563 always do it (yuck).
6564 (SPI_event_main): upd.
6566 * test/simple-at.c: update for listener changes.
6568 * registryd/registryd.c (main): prune kruft.
6570 * libspi/libspi.h: upd.
6572 * libspi/eventlistener.[ch]: rename broken macros.
6574 * libspi/accessibleeventlistener.[ch]: remove.
6576 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6578 * test/test-simple.c: Add - automated tests.
6580 * cspi/spi-listener-impl.c (cspi_event),
6581 (cspi_key_event): add user_data to invoke.
6582 (cspi_keystroke_listener_finalize): impl.
6583 (cspi_keystroke_listener_class_init): upd.
6586 (createAccessibleEventListener),
6587 (AccessibleEventListener_addCallback),
6588 (createAccessibleKeystrokeListener),
6589 (AccessibleKeystrokeListener_addCallback): upd.
6591 * libspi/deviceeventcontroller.c
6592 (spi_device_event_controller_check_key_event): add public proto.
6595 (impl_accessibility_registry_deregister_global_event_listener):
6596 always init listeners.
6597 (_registry_notify_listeners): yes it is.
6599 * cspi/spi-listener-impl.c (cspi_key_event):
6601 (cspi_event_listener_finalize): impl.
6602 (cspi_event_listener_class_init): hook up.
6603 (event_handler_new, event_handler_free),
6604 (event_list_remove_by_callback): impl.
6605 (cspi_event_listener_remove_callback),
6606 (cspi_keystroke_listener_remove_callback),
6607 (cspi_keystroke_listener_add_callback),
6608 (cspi_event_listener_add_callback): upd.
6610 * libspi/keystrokelistener.c
6611 (keystroke_listener_object_finalize): kill
6612 (spi_keystroke_listener_class_init): upd.
6613 (spi_keystroke_listener_add_callback),
6614 (spi_keystroke_listener_remove_callback): kill,
6616 (impl_key_event): prune drasticaly.
6618 * libspi/eventlistener.c
6619 (spi_event_listener_add_callback),
6620 (spi_event_listener_remove_callback): kill, use
6622 (impl_accessible_event_notify_event): upd.
6623 (spi_event_listener_object_finalize): remove.
6625 * libspi/Makefile.am: use eventlistener.[ch]
6627 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6629 * libspi/registry.c (_registry_notify_listeners):
6630 Changed listener loop iteration to use preferred convention.
6631 Got rid of string memory leaks caused be calling g_strconcat
6632 inside function calls.
6634 * libspi/registry.c (parse_event_type):
6635 Stopped g_strconcat memory leaks, free the g_strsplit return,
6636 g_strdup the split pieces when used, etc.
6638 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6641 Change method 'compare' to return a 'difference set' rather than
6642 taking a StateSet as an out parameter (more Java-friendly).
6644 * idl/Accessible.idl:
6645 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6647 * idl/Component.idl:
6649 Changed methods 'getExtents' and 'getImageExtents' in these
6650 interfaces to return a BoundingBox structure.
6651 (getPosition and getSize are redundant and possibly should be
6652 removed, rather than creating a corresponding Point struct.)
6654 * cspi/spi_component.c:
6655 Modify implementation of getExtents to reflect the above IDL
6660 Add (missing) AccessibleImage_getExtents () API.
6662 * docs/reference/cspi/at-spi-cspi-sections.txt:
6663 Added AccessibleImage_getImageExtents () to docs.
6665 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6667 * idl/Component.idl:
6668 Added two methods, getLayer () and getMDIZOrder (), to reflect
6669 the new ATK methods atk_object_get_layer and
6670 atk_object_get_mdi_z_order. (Which arguably should be part of the
6671 AtkComponent API and AtkObject). Also added an enum,
6672 ComponentLayer, for the first method's return value.
6674 * libspi/component.c:
6675 Added implementations for these methods.
6677 * cspi/spi_component.c:
6679 Added cspi binding methods for above,
6680 AccessibleComponent_getLayer() and
6681 AccessibleComponent_getMDIZOrder().
6682 Added cspi enum 'AccessibleComponentLayer'.
6684 * docs/reference/cspi/at-spi-cspi-sections.txt:
6685 Added above methods to docs.
6689 Changed typedef for 'boolean' type (and all references to it) to
6690 SPIBoolean, to avoid keyword clashes with C++.
6693 Changed usages of 'boolean' to SPIBoolean.
6695 * test/keysynth-demo.c:
6696 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6697 app), except where SPIBoolean is required by the callbacks API.
6699 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6701 * cspi/spi_registry.c:
6702 Removed obsolete X event loop for passive keygrabs (which now
6705 * registryd/registryd.c:
6706 Removed unnecessary call to gdk_init() [cruft]. This also allows
6707 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6710 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6712 * docs/reference/cspi:
6713 Included docs for SPI_freeString in generated documentation.
6716 Renamed spi_freeString to SPI_freeString, for consistency. Added
6717 documentation for this function.
6720 Renamed spi_freeString to SPI_freeString, for consistency.
6721 Removed obsolete method declaration string_from_corba_string.
6723 * test/keysynth-demo.c:
6724 Small tweak to comments.
6727 Stopped leaking the strings returned from CSPI.
6729 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6731 Merged Michael's branch (see his ChangeLog entries below).
6733 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6734 bridge is alive, release on exit.
6736 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6737 Fix type check macro.
6740 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6743 Added is_gnome_app static, and method cspi_is_gnome_app(),
6744 so we can call the appropriate shutdown routine at exit in SPI_exit.
6746 * cspi/spi_main.c (cspi_object_ref):
6747 Duplicate the corba object passed in, since we're keeping it around.
6749 * cspi/SPI_exit.c, cspi_cleanup:
6750 Moved the releasing of the live refs to its own function, so we
6751 can put it in g_atexit (). Call the appropriate shutdown API
6752 depending on whethe calling client is a gnome app or not
6753 (bonobo_main_quit or CORBA_ORB_shutdown).
6755 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6756 Unref the listener when this method is called, after
6757 deregistration. Updated the API docs to note this behavior.
6759 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6760 Bugfixes: Ref the bonobo object when returning a parent or child
6761 reference, or an AccessibleRelation. Generally made sure
6762 BonoboObject refcount is incremented whenever we return an
6765 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6766 Fixed typo/bug in signal declaration.
6768 * libspi/accessibleeventlistener.h:
6771 * libspi/application.c (spi_application_new):
6772 Fixed leak in initialization.
6775 Remembered to increment bonobo-object refcount when returning
6776 children (applications) from desktop object.
6777 Added (empty) finalize method.
6779 * libspi/deviceeventcontroller.c:
6780 Hold a ref to listeners inside DEControllerKeyListeners.
6781 Added dec_key_listener_free() method. Use prepend instead of
6782 append in key_listener list. Fixed some refcount madness and
6783 leaks in the listener registration/deregistration - deregistration
6784 now calls dec_key_listener_free() on listeners, and on the
6785 temporarily constructed dec_key_listener() used to perform the search/match.
6787 * libspi/hypertext.c (spi_hypertest_finalize):
6788 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6789 class. Also fixed spi_hypertext_interface_new() and
6790 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6792 * libspi/hypertext.h:
6793 Removed pointless and duplicate AtkObject pointer from
6796 * libspi/keystrokelistener.c:
6797 Fixed incorrect type of keystroke_listener_parent_class,
6798 renamed keystroke_listener_object_finalize to
6799 spi_keystroke_listener_object_finalize.
6800 Fixed typo in signal declaration
6801 (spi_keystroke_listener_class_init).
6803 * libspi/registry.c:
6804 Added funcsions spi_listener_struct_new() and
6805 spi_listener_struct_free() to help with memory management issues.
6806 We also now use these methods instead of gnew + poking stuff into
6807 the struct, and to decrement listener counts/free the listeners
6808 when deregistering them.
6809 Fix more refcount bugs in getDesktop() and
6810 getDeviceEventController().
6813 De-ref the desktop after enumerating the applications. Explicitly
6814 decrement the refcounts on the created listeners on exit (using
6815 _unref for keystroke listeners, and via the
6816 deregisterGlobalEventListenerAll command for other event
6819 2001-11-27 Michael Meeks <michael@ximian.com>
6821 * cspi/spi-listener.h: fixup enum.
6823 2001-11-27 Michael Meeks <michael@ximian.com>
6825 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6826 (cspi_keystroke_listener_new): Use the cspi variants.
6828 2001-11-26 Michael Meeks <michael@ximian.com>
6830 * test/keysynth-demo.c: fix 2 compile warnings, missing
6833 * test/simple-at.c (report_focussed_accessible),
6834 (report_focus_event, report_button_press),
6835 (check_property_change, is_command_key),
6836 (report_ordinary_key_event, report_command_key_event): upd.
6838 * util/mag_client.h: include pre-requisites.
6840 * libspi/accessibleeventlistener.c
6841 (spi_event_listener_object_finalize): free any lingering
6844 * libspi/keystrokelistener.c
6845 (keystroke_listener_object_finalize): ditto.
6847 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6848 callbacks, with cspi types.
6850 * cspi/spi_event.c (createAccessibleEventListener): chain to
6851 (AccessibleEventListener_addCallback): here.
6852 (createAccessibleKeystrokeListener): chain to
6853 (AccessibleKeystrokeListener_addCallback): here.
6855 * libspi/keystrokelistener.c
6856 (spi_keystroke_listener_class_init): add signal.
6857 (impl_key_event): emit the event.
6858 (boolean_handled_accumulator): impl.
6859 (marshal_BOOLEAN__POINTER): add, gack.
6861 * libspi/accessibleeventlistener.c
6862 (spi_event_listener_class_init): add signal.
6863 (impl_accessible_event_notify_event): emit the signal &
6864 make the loop efficient.
6865 (spi_event_listener_add_callback): prepend the callback.
6867 * libspi/accessibleeventlistener.h: add an 'event' signal,
6868 decl type on callback.
6870 * libspi/keystrokelistener.h: ditto.
6872 * cspi/spi-listener.h: make methods typesafe and
6873 make them use the new event typedefs.
6875 * test/simple-at.c (report_focussed_accessible):
6876 include mag_client.h
6877 Use *(void *)text_interface not the other thing.
6879 * configure.in: add gtk to registryd bits - since we use
6882 * util/magnifier.c: include libbonobo.h
6884 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6886 * test/keysynth-demo.c:
6887 Turned this into a simple scanning keyboard, to demonstrate the
6888 use of g_timeout_add () as a means of creating timers for
6889 scanning, and the use of GtkStyle for visually indicating when
6890 virtual keyboard elements are selected.
6892 keysynth-demo now listens to any keyboard keys with zero-valued
6893 keycodes (i.e. 'unused' keys) and interprets them as
6896 Reworked the shiftlatch code so that shift-down state isn't held
6897 for long periods (it's only synthesized immediately prior to
6898 the keysynth event it's modifying). Note that shiftlatch in this
6899 demo is a convenience, not intended to take the place of AccessX
6900 which is the better choice for getting 'sticky' modifier keys.
6902 * libspi/deviceeventcontroller.c:
6903 * at-bridge/bridge.c:
6904 * cspi/spi_registry.c:
6905 Removed some debug print stuff, and put other verbosity in #ifdef
6910 Implemented some more of the magnifier IDL for the simple
6911 magnifier: namely, getZoomRegionParams.
6912 Added mag_x and mag_y members to MagnifierData struct, aid of this
6914 Added GtkWindow::realize signal handler to magnifier, to keep it
6915 from receiving keyboard focus from the WM.
6917 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6919 * cspi/spi-private.h: my guess at what michael forgot
6920 before he ran off to NZ :-)
6922 2001-11-23 Michael Meeks <michael@ximian.com>
6924 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6925 comment out non existant method invoke so we link.
6927 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6928 use bonobo_exception_get_text for more friendly warnings.
6930 * cspi/spi.c (Obj_Add): move into spi_main & rename
6931 spi_object_add; kill spi.c
6933 * cspi/spi_registry.c
6934 (deregisterGlobalEventListener),
6935 (deregisterGlobalEventListenerAll),
6936 (registerGlobalEventListener): fix exception leaks.
6938 * cspi/spi_main.c (spi_exception): impl. helper, so we
6939 don't leak exceptions.
6941 * cspi/spi_selection.c
6942 (AccessibleSelection_deselectSelectedChild): return the
6945 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6946 (spi_registry): ditto.
6947 (SPI_init): guard against double inits.
6949 * cspi/*.c: use spi_ev (), and spi_registry () where
6950 appropriate - a temporary hack until we have something
6951 better. Use spi_object_add
6953 2001-11-22 Michael Meeks <michael@ximian.com>
6955 * cspi/Makefile.am: re organise, install the headers.
6957 * cspi/*.h: add G_BEGIN/END_DECLS
6959 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6962 Added non-preemptive keylistener for key events with no modifiers
6963 and shift-only modifier.
6965 * libspi/keystrokelistener.c:
6966 Removed some verbose diagnostics printout.
6968 * cspi/spi_registry.c:
6969 Fixed a bug that caused all key listeners to be registered as
6972 * libspi/deviceeventcontroller.c:
6973 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6974 for non-preemptive key masks.
6977 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6979 * docs/reference/idl/at-spi-idl-docs.sgml:
6980 * docs/reference/idl/at-spi-idl-sections.txt:
6981 * docs/reference/idl/at-spi-idl-overrides.txt:
6982 Added missing files.
6984 * docs/reference/Makefile.am:
6985 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6986 to scan the IDL files :-(
6991 Added .cvsignore files.
6993 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6995 * libspi/deviceeventcontroller.c:
6996 * libspi/keystrokelistener.c:
6998 * cspi/spi_registry.c:
6999 Added filters for KeySets, KeyEventSeq, and event types to key
7000 event dispatching, so listeners should only receive those events
7001 that they requested :-)
7003 2001-11-21 Bill Haneman <bill.haneman@sun.com>
7008 * docs/reference:Makefile.am:
7009 * docs/reference/cspi:
7010 * docs/reference/cspi:Makefile.am:
7011 * docs/reference/cspi:tmpl:
7012 * docs/reference/cspi:tmpl:*.sgml:
7013 * docs/reference/idl:
7014 * docs/reference/idl:Makefile.am:
7015 * docs/reference/idl:at-spi-idl-sections.txt:
7016 * docs/reference/idl:at-spi-idl-docs.sgml:
7017 * docs/reference/idl:tmpl:
7018 * docs/reference/idl:tmpl:*.sgml:
7020 Restructured docs directory to allow separate 'reference' docs
7021 section, and forked idl and cspi docs. Added the sgml template
7022 files to CVS. Added the first sections/structural sgml for the
7025 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
7027 * configure.in, libspi/Makefile.am: find libXtst.
7029 2001-11-21 Michael Meeks <michael@ximian.com>
7031 * test/accessx-gui.c: s/spi_value/value/ - doh.
7033 * libspi/base.[ch]: add.
7035 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7037 * idl/Accessible.idl:
7038 * idl/Application.idl:
7041 Started gtk-doc cleanup on IDL.
7043 * libspi/deviceeventcontroller.c:
7044 Added and connected non-preemptive key notification from the
7045 toolkits (in addition to the pre-emptive support from XServer
7046 which we had before, but which causes 'focus flashing'). Filters
7047 are presently limited to key modifiers and global/non-global,
7048 KeySets are presently ignored, as are KeyEvent masks.
7050 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7051 structs into the persistant structure rather than just storing
7052 pointers to things that might not persist across servant
7055 The XGrabKey call now does async keygrabs, because synchronous
7056 ones were deadlocking with GDK_event code in a very nasty way.
7058 Added boolean to internal method notify_keylisteners, to indicate
7059 whether the event came from the 'toolkit source' or the 'global
7060 (XServer) source' - this is used in the notification process to
7061 determine which listeners to send the event to.
7063 deviceeventcontroller.c is now warning-free.
7065 * libspi/registry.c:
7066 Fixed regression in application de-registration.
7067 Also fixed some really brain-dead weirdness having to do with
7068 event dispatching - event structs are now duplicated before being
7069 re-marshalled in the dispatch to listeners. This also fixes a
7070 Solaris build problem.
7073 2001-11-20 Michael Meeks <michael@ximian.com>
7076 (impl_accessibility_registry_deregister_global_event_listener):
7079 * libspi/deviceeventcontroller.c
7080 (spi_device_event_controller_check_key_event): return
7081 FALSE on no virtual method.
7083 * libspi/*..h: make includes work on a correctly pathed install.
7085 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7087 * libspi/application.h: kill unused ( and whacked out )
7088 gboolean *spi_application_set_id (AtkObject *app, long id);
7090 2001-11-20 Michael Meeks <michael@ximian.com>
7092 * libspi/*.[ch]: further convert to bonobo's type func
7093 macros, remove redundnant casts etc.
7095 * libspi/text.c s/accessibility_text/spi_text/g,
7096 re-order to de-cruft.
7098 * libspi/hypertext.c: re-order to kill a huge slew
7099 of redundant forward decls.
7101 * libspi/relation.c: ditto.
7103 * libspi/image.c: ditto.
7105 * */.cvsignore: update
7107 2001-11-20 Michael Meeks <michael@ximian.com>
7109 * libspi/deviceeventcontroller.c
7110 (_controller_register_with_devices): use g_getenv,
7111 kill stdlib.h include.
7113 * libspi/keystrokelistener.c
7114 (spi_keystroke_listener_get_type): kill
7115 (spi_keystroke_listener_class_init),
7116 (spi_keystroke_listener_init): rename to this.
7118 * libspi/text.c (impl_getAttributes): fix warning / bug.
7120 * libspi/*.[ch]: more headers, includes and over commenting.
7122 2001-11-20 Michael Meeks <michael@ximian.com>
7124 * libspi/*.[ch]: fixup headers, includes and over commenting.
7126 * libspi/image.c (impl__get_imageDescription): const
7127 correctness warning fix. remove redundant casting.
7129 * libspi/table.c (impl_getRowDescription): ditto.
7130 (impl_getColumnDescription): ditto.
7132 * libspi/libspi.h: add.
7134 2001-11-19 Michael Meeks <michael@ximian.com>
7136 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7138 * libspi/component.c (accessibility_component_get_type):
7139 rename to (spi_component_get_type): and macroify.
7140 (accessibility_component_init): rename to
7141 (spi_component_init): this
7142 (accessibility_component_class_init): rename to
7143 (spi_component_class_init): this
7145 * libspi/action.c (spi_action_get_type): kill, use the macro.
7147 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7150 * libspi/application.c (spi_application_object_event_listener),
7151 (impl_accessibility_application_register_object_event_listener):
7152 warning fixes / const understanding updates.
7154 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7157 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7159 * libspi/spi_accessible.c: Added docs and C bindings for
7160 AccessibleStateSet. (No implementations yet). Documentation
7161 coverage for C bindings now 100%. Made docs for event listeners
7166 boolean notifyListenersSync (in DeviceEventListener listener,
7167 in DeviceEvent event);
7169 oneway void notifyListenersAsync (in DeviceEventListener listener,
7170 in DeviceEvent event);
7172 Added DeviceEventListener and DeviceEvent structs (may deprecate
7173 KeyStroke and KeystrokeListener in favor of this generic
7174 event/listener framework for devices).
7176 * libspi/deviceeventcontroller.c:
7178 Changed some key listener code to take masks, etc., and paved the
7179 way for integration of toolkit/non-preemptive key events. Changed
7180 signatures of some internal methods.
7182 * at-bridge/bridge.c:
7183 Fixed regression connecting to interface signals, apparently
7184 caused by GTK+ changes.
7186 Added an internal bridge_state_listener to deal with
7187 property-change:accessible-state signals.
7189 Changed the key_listeners GList to store structs (including masks,
7190 etc.) instead of just CORBA_Objects (required for full
7191 implementation of key listener API).
7193 Connected the bridge to all currently supported Atk signals.
7194 Events now supported:
7195 object:property-change
7196 object:property-change:accessible-name
7197 object:property-change:accessible-state
7198 object:property-change:accessible-description
7199 object:property-change:accessible-parent
7200 object:property-change:accessible-value
7201 object:property-change:accessible-role
7202 object:property-change:accessible-table-caption
7203 object:property-change:accessible-table-column-description
7204 object:property-change:accessible-table-column-header
7205 object:property-change:accessible-table-row-description
7206 object:property-change:accessible-table-row-header
7207 object:property-change:accessible-table-summary
7208 object:children-changed
7209 object:visible-data-changed
7210 object:selection-changed
7211 object:text-selection-changed
7213 object:text-caret-moved
7215 object:row-reordered
7217 object:column-inserted
7218 object:column-reordered
7219 object:column-deleted
7220 object:model-changed
7222 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7224 * libspi/hyperlink.c,h:
7225 Fixed some broken stuff in hyperlink.
7227 * libspi/relation.h:
7228 * libspi/relation.c:
7229 * cspi/spi_accessible.c:
7230 Initial implementations of AccessibleRelation methods, and docs.
7232 * libspi/accessible.c:
7233 Fixed a bug that caused SEGV if an accessible
7234 object's description is NULL, and a client
7235 requests it. An empty string is now returned.
7237 * cspi/spi_editabletext.c:
7238 * cspi/spi_hypertext.c:
7240 * cspi/spi_hyperlink.c:
7244 Doc coverage now 95%.
7246 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7248 One last namespacing revision:
7249 * libspi/accessibleeventlistener.[ch]:
7250 Renamed SpiAccessibleEventListener to SpiEventListener,
7251 (no need for two namespaces ;-)
7253 And lots of documentation fixes:
7255 * docs/at-spi-docs.sgml:
7256 Fixed 'underscore vs. hyphen' bug that was preventing
7257 the gtk-doc API docs from being automatically generated.
7260 * cspi/spi-listener.h
7262 * cspi/spi_accessible.c
7264 * cspi/spi_application.c
7265 * cspi/spi_component.c
7266 * cspi/spi_editabletext.c
7268 * cspi/spi_hypertext.c
7270 * cspi/spi_registry.c
7271 * cspi/spi_selection.c
7275 * docs/at-spi-docs.sgml
7276 * docs/at-spi-sections.txt
7278 Added and fixed up gtk-doc documentation in cspi.
7280 Interfaces now (fully) documented (subject to revision and enhancement):
7282 Event Listener Support
7284 AccessibleApplication
7288 AccessibleEditableText
7295 AccessibleRelationSet
7300 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7302 * at-bridge/bridge.c:
7303 Initial work for toolkit-level key snooper connection by bridge.
7308 New typedefs and fixes to support new namespacing, and cleaner
7309 separation of cspi bindings from libspi bonobo implementation.
7310 Removed inconsistent and extraneous Spi* namespace prefix that
7311 had crept into cspi headers.
7312 Lots of comment fixes that sed had missed.
7314 * cspi/spi-roletypes.h:
7315 * cspi/spi-statetypes.h:
7316 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7317 to AccessibleRoleType.
7319 * libspi/accessibleeventlistener.h:
7320 Fixed minor namespacing weirdness.
7322 * libspi/deviceeventcontroller.c:
7323 Reordered some internal API for device listeners.
7324 Changed the key registry final boolean to 'is_system_global'
7325 rather than 'is_synchronous', which is more descriptive of its
7327 Added spi_device_event_controller_new().
7328 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7330 * libspi/keystrokelistener.[ch]:
7331 Namespaced KeystrokeListener to SpiKeystrokeListener.
7332 Changed uses of keymasks to use SPI_ prefix, and did other
7335 * libspi/keymasks.h:
7336 Namespaced keymask constants with SPI_ prefix.
7338 * libspi/registry.c:
7339 Some warning fixes, and knock-on fixes from namespace changes.
7342 Added rules for accessx-gui test program.
7344 * test/accessx-gui.c:
7345 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7346 utility. It doesn't actually use at-spi, but it's still cool and
7349 * test/keysynth-demo.c:
7353 Fixes so that these test clients work properly with the namespaced
7354 libraries. (Incompletely tested for technical reasons, fixes may follow)
7357 2001-11-13 Michael Meeks <michael@ximian.com>
7359 * libspi/application.c
7360 (impl_accessibility_application_get_version),
7361 (impl_accessibility_application_get_toolkit_name):
7363 (impl_accessibility_application_set_id),
7364 (impl_accessibility_application_get_id): remove
7365 redundant casting code.
7367 * libspi/action.c (impl_getDescription): fix warnings.
7369 * libspi/accessible.c
7370 (impl_accessibility_accessible_get_parent),
7371 (impl_accessibility_accessible_get_child_at_index),
7372 (impl_accessibility_accessible_get_state),
7373 (impl_accessibility_accessible_get_relation_set):
7374 warning fixes & include action.h
7376 2001-11-13 Michael Meeks <michael@ximian.com>
7378 * *.[ch] fix bits I screwed up:
7380 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7381 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7383 2001-11-13 Michael Meeks <michael@ximian.com>
7385 * *.[ch] Namespace libspi into spi_ and Spi.
7387 2001-13-11 Michael Meeks <michael@ximian.com>
7389 * Makefile.am: dist & install at-spi-1.0.pc
7391 * libspi/Makefile.am: install into at-spi-1.0
7393 * idl/Makefile.am (idldir): install into at-spi-1.0
7395 * at-spi-1.0.pc.in: add.
7397 * configure.in: build it.
7399 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7401 * test/keysynth-demo.c:
7402 Use a 'realize' signal-handler to set the WM properties for
7403 the virtual keyboard, rather than making it a "POPUP" type
7404 override-redirect window (thanks to anders carlsson for that
7407 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7410 * test/keysynth-demo.c:
7411 Added new test of key synthesis, which creates a simple
7412 (mouse-operated) onscreen keyboard. It inserts key events into
7413 the currently-focused window, thus it does not grab keyboard focus
7416 * cspi/spi_registry.c:
7417 Added C binding for AT-SPI generateKeyEvent.
7419 * libspi/deviceeventcontroller.c:
7420 Added call to XFilterEvent so that key listener works with XIM (we
7421 hope). Added event_synth_type to generateKeyEvent, so that we can
7422 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7423 synthesize a press/release pair for KeySyms.
7425 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7427 * libspi/Makefile.am:
7428 * registryd/Makefile.am:
7429 (temporary) hack to include libXtst in libspi and registryd.
7430 (Needed for keystroke synthesis, see below).
7433 Improved API for registerKeystrokeListener, in accordance with
7434 discussions with Gnopernicus team and X server research.
7436 * libspi/registry.c:
7437 * libspi/deviceeventcontroller.c:
7438 * libspi/accessible.c:
7439 * libspi/keystrokelistener.c:
7440 Changes and fixes to support keylisteners for potentially
7441 consumed key events (that is, 'passive grabs').
7442 Added implementation for generateKeyEvent() [untested].
7445 Changes to registerKeystrokeListener() API, as above.
7446 Added deregisterGlobalEventListenerAll(), and
7447 deregisterKeystrokeListener(), which are needed for clean exit of
7449 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7450 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7452 * cspi/spi_registry.c:
7453 Added implementations of function prototypes mentioned above.
7455 * registryd/registryd.c:
7456 Added the key listener event source as a g_timeout(), to allow
7457 receipt of key events that are not caught by GDK (since GDK
7458 doesn't support passive keygrabs, this was necessary).
7461 Changed to attach a keylistener to 'Alt' keys, and
7462 respond to the following keycommands: Alt-M (toggle magnifier);
7463 Alt-F (toggle speech); Alt-Q (quit).
7464 Added an exit routine to deregister the listeners, and a key
7465 listener that prints some key info to the console when a key
7466 matches the listener mask (and is thus received by the listener).
7468 * util/idl/Magnifier.idl:
7469 Changes to magnifier API to support multiple zoom regions,
7470 non-uniform scaling in x and y, markDirty, and a host of other
7471 features that would be useful to magnification.
7474 * util/mag_client.c:
7475 * util/mag_client.h:
7476 * util/mag_control.c:
7478 Source code changes to support the above IDL changes.
7481 As above, and also changes to use a (slower) generic conversion
7482 path for colormap conversions, since the fast RGB conversions have been
7483 reported to fail for 16-bit displays.
7485 2001-10-26 Michael Meeks <michael@ximian.com>
7487 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7489 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7491 * at-bridge/Makefile.am: fix LDFLAGS.
7493 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7495 * at-bridge/bridge.c:
7496 Re-worked listeners for toolkit events, now we have signal
7497 and property listeners. Added a private method
7498 register_atk_event_listeners(), which registers with the
7499 various atk and gtk signals we need to monitor in order to emit
7501 Added emission hook for AtkObject:property-change events, to
7502 support the 'property listeners'.
7503 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7506 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7507 which emit warnings and exit, respectively, if CORBA errors occur
7508 during remote calls, and we now use these methods to check most of
7509 our CORBA calls in the C bindings.
7511 * cspi/spi_accessible.c:
7512 Changed AccessibleSelection_refSelectedChild() to
7513 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7514 now increment refcounts.
7516 * cspi/spi_component.c:
7517 Fixed some long pointer casts (dangerous!) to pass pointers to
7518 CORBA_longs of the proper type to the CORBA stubs, and copy the
7519 data into the longs that were passed into the C bindings code.
7521 * at-bridge/bridge.c:
7523 * libspi/accessible.c:
7524 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7525 hyperlinks, AtkHyperlink is an object type.
7527 * libspi/application.c:
7528 Added various conversions to and from "generic" event types and
7529 atk-specific types; this is really part of the 'bridge'
7530 implementation but is valid for all AtkObject-based accessibility
7533 * libspi/editabletext.c:
7534 Fixed nasty bug wherein editable text's finalize method was
7535 unref'ing tha AtkObject reference that the text parent class was
7536 about to unref _again_. There was also a nasty inheritance bug
7537 that meant that the AccessibleEditableText class was corrupt.
7539 * libspi/selection.c:
7540 Provided implementations for some selection API that was broken.
7542 * idl/Application.idl:
7543 Added registerObjectEventListener () method.
7546 Fixed a number of return values that were Bonobo_Unknowns from
7547 bonobo_object_corba_objref(), which I
7548 forgot to dup before returning. Changed instances of
7549 bonobo_object_corba_objref (bonobo_object(o)) to
7550 BONOBO_OBJREF(o), for concision and clarity.
7552 2001-10-13 Louise Miller <louise.miller@sun.com>
7554 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7555 idl/Event.idl, idl/Registry.idl
7556 Changed these files to include Bonobo_Unknown.idl instead
7559 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7561 * libspi/component.c libspi/component.h:
7562 Fixed typo. Added assertions for object checks in
7563 AccessibleComponent code.
7565 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7567 * idl/Accessible.idl:
7568 Added 'isEqual (Accessible *object)'
7569 method for Accessible. (Not Yet Implemented).
7572 Changed signature of registerKeystrokeListener() to
7573 take a KeySet and KeyEventSeq so that specific keys and event
7574 types could be requested for monitoring, and added a flag
7575 is_synchronous so that either synchronous or asynchronous
7576 notification could be requested. (However this is not all
7577 implemented yet). This also meant adding two new typedefs,
7578 KeyEventSeq and KeySet.
7581 Added two new relations, RELATION_TOOLTIP_FOR and
7582 RELATION_LEAFNODE_OF.
7585 Added new state, STATE_HAS_TOOLTIP.
7587 * libspi/text.c, editabletext.c:
7588 Added new assertions to all casts of bonobo-objects from
7589 CORBA servants, to prevent Text API calls on non-text objects.
7590 Changed suspect casts of int-pointer types, so that we
7591 always send a valid CORBA_long pointer to the CORBA APIs that use
7592 in/out long parameters. We then have to copy from the CORBA_long
7593 into the regular long or int for return to the C bindings, or
7594 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7597 * libspi/deviceeventcontroller.c:
7598 Cleaned these sources up.
7600 Changed return type for getCharacterAtOffset to
7601 CORBA_unsigned_long, to allow for 32-bit characters.
7604 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7608 Fixed 'make dist' so that distro compiles...
7609 * libspi/keymasks.h:
7611 * cspi/spi-listener.c:
7612 KeystrokeListenerCB now returns a boolean.
7614 Added KeyEventType struct, and KeyStroke.
7615 Also added createKeystrokeListener(),
7616 KeystrokeListener_addCallback(),
7617 KeystrokeListener_removeCallback(), and added a keymask to
7618 registerKeystrokeListener().
7619 * cspi/spi_accessible.c:
7620 Changed numerous return types for interfaces from
7621 AccessibleComponent to Accessible<InterfaceName>; this was
7622 probably a cut-and-paste error.
7624 Implementations of new KeystrokeListener api (from spi.h,
7627 Changes to key modifier mapping.
7628 Created ControllerEventMask struct.
7629 Made DeviceEventController derive from Bonobo::Unknown.
7631 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7632 * libspi/deviceeventcontroller.c:
7633 Added a number of new internal (private) methods.
7634 * libspi/editabletext.c:
7635 * libspi/editabletext.h:
7636 Fixed a number of bugs related to the fact that
7637 editabletext inherits from text. Fixed the EditableText struct,
7638 the init() call, and use correct casts when calling Text methods
7639 from an EditableText object. Removed (duplicate) atko from the
7640 EditableText structure, we use the one in the parent Text
7641 structure via the casts mentioned above.
7642 * libspi/keystrokelistener.[ch]:
7643 * libspi/registry.c:
7644 Changes in support of keyboard handling (above).
7646 Keyboard handling, though partly functional, is still not
7647 recommended for at-spi client use as there is considerable
7648 work yet to be done.
7651 Changed some places where pointers to various int types
7652 are cast to be pointers to CORBA_long types and vice-versa:
7653 pointer casting is not safe so we pass pointers of the correct
7654 types and then cast the result before putting it into the target
7657 * libspi/text.h: minor typos corrected.
7659 We now speak not only the name of a Text element, but the
7660 first sentence of its content, when it receives focus.
7661 I also changed the text compression to 75% from 50%.
7662 * util/Accessibility_Util.server.in:
7663 Changed the default magnifier type to be a 3x vertical
7664 splitscreen magnifier (was previously a 2x horizontal one).
7666 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7668 * libspi/keystrokelistener.h:
7669 * libspi/keystrokelistener.c:
7670 Initial functional implementations of KeystrokeListener.
7673 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7675 Fixed string handling for NULL strings in libspi.
7676 Added spi_freeString to free strings returned by C bindings.
7678 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7680 * libspi/keystrokelistener.h:
7681 * libspi/keystrokelistener.c:
7682 Began (no-op) implementations of KeystrokeListener
7684 * libspi/deviceeventcontroller.c:
7685 * libspi/deviceeventcontroller.h:
7686 Began creating implementations of DeviceEventController,
7687 to handle keystroke and mouse event listening and
7689 * libspi/accessible.c:
7690 Stubbed-in the implementations for
7691 Accessibility_Accessible_getState and
7692 Accessibility_Accessible_getRelationSet.
7693 * libspi/registry.c:
7694 Improved de-registration process and fixed some bugs,
7695 deregistration now works correctly.
7697 Added initialization of applications list (to NULL).
7699 Reduced speech compression from 0.5 to 0.7, for demo.
7700 Changed call to gdk_window_set_decorations()
7701 to gtk_window_set_decorated().
7702 * at-bridge/bridge.c:
7703 Bridge now deregisters when app exits, via
7704 registration of a cleanup function
7705 with the g_atexit() call.
7706 Required making 'app' static, renamed 'this_app'.
7707 Fixed broken use of bonobo_init, passing argv wrongly.
7709 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7713 Created a new directory for
7714 accessibility-related utilities, primarily for
7715 testing and demo purposes, but with possible
7722 Onscreen magnifier utility that
7723 is implemented as a bonobo service.
7725 * util/mag_client.c:
7726 * util/mag_client.h:
7727 Client-side support (simple C bindings)
7728 for Magnification service
7730 * util/mag_control.c:
7731 Client program example for
7732 Magnification service
7734 * util/Accessibility_Magnifier.server.in:
7735 Bonobo-activation file for the
7736 Magnification service.
7739 * util/idl/Magnifier.idl:
7740 IDL defining the bonobo Magnification
7744 Modifications to use the bonobo-activated magnifier
7745 above, in place of trying to connect to an existing
7746 magnifier that uses socket-listening IPC.
7748 If env variable MAGNIFIER is set, a magnifier service
7749 will be started if one does not exist.
7751 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7753 * at-bridge/bridge.c:
7754 applied patch from Marc to build and run
7755 against new glib and gtk+ (seemed like a change
7756 to bonobo_init signature was made ?)
7758 made festival-server support turned off by default.
7759 Added support for a simple magnifier (off by default)
7760 which will be added to a 'util' directory later.
7761 * at-bridge/Makefile.am:
7762 Changed "application.h" header from a 'source'
7763 to a 'dependency' of libat-bridge.
7765 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7774 Added interface implementation c files to list of
7775 includes so they are included in libcspi.
7778 Changed prototype of AccessibleAction_doAction to return a
7780 Changed prototype of AccessibleTable_getCaption to
7781 return an Accessible.
7782 Changed prototype of AccessibleTable_getSelectedRows
7783 and AccessibleTable_getSelectedColumns to
7784 return a long (returns the number of selected rows
7785 or columns respectively).
7786 Changed name of AccessibleText_refRunAttributes to
7787 AccessibleText_getAttributes.
7788 Changed prototype of AccessibleText_getCharacterExtents to
7789 return a void rather than a boolean.
7790 Added support for a AccessibleCoordType parameter
7791 specifying what type of coordinates are desired.
7792 Added an AccessibleCordType parameter to
7793 AccessibleText_getPointAtOffset.
7795 * cspi/spi_accessible.c:
7796 Added code to return the outstanding interfaces from
7797 Accessible_queryInterface.
7799 * cspi/spi_action.c:
7801 Corrected call to getNActions to call the c binding
7804 * cspi/spi_editabletext.c:
7806 Changed name from setRunAttributes to setAttributes.
7808 * cspi/spi_hyperlink.c:
7810 Changed call to getNAnchors to correctly call the c
7811 binding for an attribute.
7813 * cspi/spi_hypertext.c:
7815 Changed getImageDescription to correctly call the
7816 binding for an attribute.
7818 * cspi/spi_selection.c:
7819 Changed getNSelectedChildren to correctly call the c
7820 binding for the attribute.
7821 Changed refSelectedChild to getSelectedChild.
7825 Changed getCaption to return an Accessible.
7826 Fixed calls which retrieve attributes.
7827 Changed refAt to getAccessibleAt.
7828 Changed getNSelectedRows and getNSelectedColumns to
7832 Changed getCharacterExtents and getPointAtOffset to accept an
7833 AccessibleCoordType.
7835 Changed calls which retrieve attributes.
7836 Changed refRunAttributes to getAttributes.
7841 * idl/Hyperlink.idl:
7842 Changed n_anchors attribute to nAnchors to keep naming
7843 convention consistent.
7846 Made Table inherit from Bonobo::Unknown.
7847 Added nSelectedColumns and nSelectedRows attributes.
7850 Made Value inherit from Bonobo::Unknown.
7852 * libspi/hyperlink.c:
7853 Change for nAnchors attributte name change.
7855 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7863 Added interface implementation c files to list of
7864 includes so they are included in libcspi.
7867 Changed prototype of AccessibleAction_doAction to return a
7869 Changed prototype of AccessibleTable_getCaption to
7870 return an Accessible.
7871 Changed prototype of AccessibleTable_getSelectedRows
7872 and AccessibleTable_getSelectedColumns to
7873 return a long (returns the number of selected rows
7874 or columns respectively).
7875 Changed name of AccessibleText_refRunAttributes to
7876 AccessibleText_getAttributes.
7877 Changed prototype of AccessibleText_getCharacterExtents to
7878 return a void rather than a boolean.
7879 Added support for a AccessibleCoordType parameter
7880 specifying what type of coordinates are desired.
7881 Added an AccessibleCordType parameter to
7882 AccessibleText_getPointAtOffset.
7884 * cspi/spi_accessible.c:
7885 Added code to return the outstanding interfaces from
7886 Accessible_queryInterface.
7888 * cspi/spi_action.c:
7890 Corrected call to getNActions to call the c binding
7893 * cspi/spi_editabletext.c:
7895 Changed name from setRunAttributes to setAttributes.
7897 * cspi/spi_hyperlink.c:
7899 Changed call to getNAnchors to correctly call the c
7900 binding for an attribute.
7902 * cspi/spi_hypertext.c:
7904 Changed getImageDescription to correctly call the
7905 binding for an attribute.
7907 * cspi/spi_selection.c:
7908 Changed getNSelectedChildren to correctly call the c
7909 binding for the attribute.
7910 Changed refSelectedChild to getSelectedChild.
7914 Changed getCaption to return an Accessible.
7915 Fixed calls which retrieve attributes.
7916 Changed refAt to getAccessibleAt.
7917 Changed getNSelectedRows and getNSelectedColumns to
7921 Changed getCharacterExtents and getPointAtOffset to accept an
7922 AccessibleCoordType.
7924 Changed calls which retrieve attributes.
7925 Changed refRunAttributes to getAttributes.
7930 * idl/Hyperlink.idl:
7931 Changed n_anchors attribute to nAnchors to keep naming
7932 convention consistent.
7935 Made Table inherit from Bonobo::Unknown.
7936 Added nSelectedColumns and nSelectedRows attributes.
7939 Made Value inherit from Bonobo::Unknown.
7941 * libspi/hyperlink.c:
7942 Change for nAnchors attributte name change.
7945 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7947 implementations-- made server implementations own AtkObject pointers
7948 rather than their respective AtkInterrface pointers to fix
7949 refcounting. AtkHyperlink is still broken.
7951 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7952 * cspi/spi_accessible.c:
7953 Added method Accessible_Role_getName(),
7954 and requisite string array (role_names).
7955 Added conversion string_from_corba_strin() call
7956 to Accessible_getName and _getDescription.
7957 * libspi/accessible.c:
7958 Added implementation for Accessible_getRole()
7960 Added festival support, used if environment variable
7963 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7965 * at-bridge/bridge.c:
7966 Now allocate Accessibility_Event using
7967 Accessibility_Event__alloc() instead of g_new0().
7968 * libspi/accessibleeventlistener.c:
7969 Initialize AccessibleEventListener->callbacks to NULL.
7970 Fixed accessible__event_listener_init() param, changed to
7971 "AccessibleEventListener *" type.
7972 Changed a bonobo_object_release_unref() call to
7973 Accessibility_Accessible_unref().
7974 * libspi/listener.c:
7975 Changed Bonobo_Unknown_unref to (equivalent)
7976 Accessibility_Accessible_unref.
7977 * libspi/registry.c:
7978 Changed bonobo_object_release_unref to
7979 Accessibility_Accessible_unref.
7981 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7984 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7985 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7986 spi-util.c spi-util.h
7987 Implementations for C bindings to remaining accessibility
7990 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7993 changed return value of Action from void to boolean to
7994 bring in line with ATK.
7997 Changed getText funcions to return "out" start and end offsets.
7998 Changed getAttributes to take and offset and return the start
7999 and end offset of the attribute run.
8000 Changed getOffsetAtPoint and getCharacterExtents to take an
8001 enum describing whether coordinates are window or screen.
8004 libspi/action.c libspi/action.h libspi/editabletext.c
8005 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
8006 libspi/hypertext.c libspi/hypertext.h libspi/image.c
8007 libspi/image.h libspi/selection.c libspi/selection.h
8008 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
8009 libspi/value.c libspi/value.h
8010 Added server implementations for outstanding ATK interfaces
8011 not yet implemented.
8013 2001-09-04 Bill Haneman <bill.haneman@sun.com>
8016 Added (missing) getName() method.
8017 Made nActions an attribute.
8018 * idl/EditableText.idl:
8019 Changed order of params in setAttributes.
8020 * idl/Hyperlink.idl:
8021 Removed getAnchor, added getURI.
8023 Changed attributes to methods, for efficiency
8024 (so that getting extents can be done in one call)
8025 * idl/Selection.idl:
8026 Changed nSelectedChildren to attribute, and re-indented.
8027 * idl/Table.idl: changed nrows, ncolumns, caption, summary
8029 * idl/Text.idl: reformatted to match our coding style.
8030 (temporarily?) removed getRowColumnAtOffset().
8031 Changed text selection API to support multi-select and
8032 non-contiguous selections, as in ATK.
8033 * idl/Value.idl: changed some methods to attributes.
8035 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8037 * libspi/listener.c(impl_notify_event):
8038 BonoboUnkown_unref the source instead
8039 of bonobo_object_release_unref - the ORB
8040 handles the releasing.
8042 * configure.in: require ORBit-2.3.94 for
8045 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8047 Tagged CVS repository 'EA_1_0'.
8048 * README.EARLY_ACCESS:
8049 Alphabetized acknowledgements list, and
8051 Listed some known dependencies of at-spi.
8053 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8055 * docs/at-spi-docs.sgml:
8056 * docs/at-spi-sections.txt:
8057 * docs/at-spi-overrides.txt: (Added zero-length file)
8058 Documentation improvements - gtk-doc should build
8059 docs for all implemented C bindings now.
8062 * cspi/spi.c: (New file)
8063 * cspi/spi_event.c: (New file)
8064 * cspi/spi_registry.c: (New file)
8065 * cspi/spi_accessible.c: (New file)
8066 * cspi/spi_application.c: (New file)
8067 * cspi/spi_component.c: (New file)
8068 Split spi_main.c into six parts, and included them from
8069 "spi.c". This is a bit of a hack, probably temporary,
8070 but required by gtk-doc, apparently.
8072 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8075 * docs/at-spi-docs.sgml:
8076 * docs/at-spi-sections.txt:
8078 Initial checkins/modifications for gtk-doc generation.
8081 Added (missing) interface query methods to Accessible's C binding.
8083 Added GenericInterface type definition.
8085 Added query for AccessibleComponent interface to focus event handler.
8086 Added printout of bounding box for focussed component.
8087 * libspi/component.c:
8088 Added partial implementation for AccessibleComponent to C binding.
8089 * idl/Application.idl:
8090 * libspi/registry.c:
8091 * libspi/listener.c:
8092 * libspi/application.c:
8093 * libspi/application.h:
8094 Changed "ID" attribute type from string to long.
8096 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8100 Made method naming consistent: methods taking object args
8101 start with uppercase, other methods (except those using
8102 acronyms) start with lowercase. Underscores delimit between
8103 object names and method names:
8104 SPI_init() - uppercase since it starts with an acronym.
8105 getDesktopCount () - lowercase start since no object param0.
8106 Accessible_getName() - uppercase object type name, studlyCaps method
8110 Added gtk-doc documentation for all currently implemented
8111 methods in the C bindings API.
8113 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8115 * Makefile.am : changed build order to build test last.
8118 Changed "createEventListener" to "CreateEventListener".
8119 * libspi/accessibleeventlistener.c :
8120 Bugfix for addition of callbacks.
8121 * test/Makefile.am :
8122 * test/simple-at.c :
8123 Added new test that uses the C bindings API.
8125 * libspi/listener.c :
8126 * libspi/registry.c :
8127 * libspi/accessibleeventlistener.c :
8128 * at-bridge/bridge.c :
8129 Renamed member "target" of Accessibility_Event to "source",
8130 which is more descriptive.
8133 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8137 * cspi/Makefile.am :
8138 Added makefile support for at-spi/cspi directory.
8141 * cspi/spi-listener.h : (NEW FILE)
8142 Added support for/use of spi-listener.h.
8144 C bindings now build successfully, with no warnings.
8145 * libspi/accessibleeventlistener.h : (NEW FILE)
8146 * libspi/accessibleeventlistener.c : (NEW FILE)
8147 * libspi/Makefile.am :
8148 Added new object type "AccessibleEventListener"
8149 which inherits from Listener, and allows attachment
8150 of in-process callbacks (so that a client with a listening
8151 object instance can add functionality to the local
8152 implementation, dynamically).
8154 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8156 * libspi/accessible.c:
8157 Add implementation for get_index_in_parent().
8159 Added #include of "spi-roletypes.h", and
8160 added enumerated type AccessibleCoordType.
8161 Added definition for KeystrokeListener (function type).
8164 * cspi/spi-statetypes.h :
8165 * cspi/spi-roletypes.h :
8167 Added these headers, used by spi.h.
8169 Added code (NOTE: not yet built by make).
8171 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8173 * libspi/Makefile.am: generate imodule
8174 at the same time as other idl compiler
8177 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8178 * libspi/registry.c :
8179 * libspi/application.c :
8180 * idl/Application.idl :
8181 Made registration with toolkit an application method,
8182 which is required since each app has its own toolkit static
8183 environment. Thus the bridge must register for
8184 notification of toolkit events from each application in turn.
8185 Toolkit notifications are now successfully registered for, and
8186 sent to the listening at client.
8188 Changed toolkit event string to use hyphens rather than underscores.
8189 * libspi/listener.c :
8190 listner now gives more info in debug mode - it reports the
8191 name of the event received, as well as the name of the source.
8194 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8196 * libspi/registry.c :
8197 added more implementation for toolkit events.
8198 Fixed bug such that toolkit event registrations
8199 (via atk) use the whole event name string, not
8201 Removed a useless call to an ORBit_ method.
8202 * at-bridge/bridge.c :
8203 Removed unused local sbuf[] variable.
8205 We now register for Gtk:GtkWidget:button_press_event
8206 events as well as "focus:" events.
8208 Add some more API from Registry.idl that was missing,
8209 for keystroke listening, keystroke and mouse event
8210 synthesis, and enumeration of accessible desktops.
8212 2001-08-16 Michael Meeks <michael@ximian.com>
8214 * configure.in: use AM_GLIB_GNU_GETTEXT.
8216 * Makefile.am (SUBDIRS): kill intl.
8218 2001-08-15 Michael Meeks <michael@ximian.com>
8220 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8222 * configure.in: upd.
8224 * configure.in: depend on a recent bonobo-activation that
8225 will find our server files ...
8227 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8229 * libspi/accessible.c : accessible_new() :
8230 Now we add the Component interface via bonobo_object_add_interface,
8231 if the contained AtkObject implements AtkComponent.
8232 * libspi/accessible.h : now include "component.h"
8233 * libspi/component.h :
8234 * libspi/component.c : added files - implementation of
8235 bonobo wrapper object for Accessibility/Component
8236 * libspi/listener.c :
8237 Added test code to check for Accessibility/Component:1.0
8238 interface and report whether it is implemented by the
8240 * libspi/registry.c :
8241 Now we check for not only the hash of the whole event
8242 string before relaying the event, we also check the
8243 "minor" event string (without the detail string).
8244 This allows event listeners to be registered against
8245 all events of a certain major+minor type, or just
8246 against a specific major+minor+detail type.
8247 * libspi/accessible.c :
8248 Added implementations for Accessible:get_parent(),
8249 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8250 * libspi/registry.c :
8251 * libspi/listener.c :
8252 Replaced calls to Accessibility_Accessible_ref() and
8253 Accessibility_Accessible_unref() with
8254 calls to bonobo_object_dup_ref() and
8255 bonobo_object_release_unref(), so that the CORBA object
8256 is dup-ed and released when relayed, as well as the bonobo object.
8258 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8260 * libspi/Makefile.am,
8261 registryd/Makefile.am,
8262 at-bridge/Makefile.am.
8263 test/Makefile.am, configure.in:
8264 reverse previous changes.
8266 * /idl/Image.idl: fix typo.
8268 * test/Makefile.am: put DEBUG_FLAGS
8271 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8273 * test/app.c: use argv[0] instead of
8276 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8278 * libspi/Makefile.am,
8279 registryd/Makefile.am,
8280 at-bridge/Makefile.am.
8281 test/Makefile.am, configure.in:
8282 cleanup, replace individual LIBS/CFLAGS with
8283 AT_COMMON_{LIBS|CFLAGS}.
8287 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8289 * configure.in, libspi/Makefile.am:
8290 Change IDL path checking for bonobo-activation
8293 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8295 * registryd/registry.c : separated event listeners to use
8296 3 separate lists (focus, window, toolkit). Began testing
8297 event names against hashes before relaying events.
8298 * test/at.c : now register for events of type "focus:"
8299 * test/app.c : now generate events of type "focus:"
8300 * at-bridge/bridge.c : register with ATK for focus events,
8301 and we now relay those focus events to any "focus:" listeners.
8302 This now works with the bridge as a GTK_MODULE when running test/at.
8303 * libspi/registry.c :
8304 * libspi/listener.c :
8305 now we ref event sources before propagating, and unref on receipt.
8306 * libspi/registry.c :
8307 some changes to internal structs, to support event typestring hashes.
8308 * text/app.c : changed the way the appname is generated.
8309 * cspi : added directory that will hold the C bindings library for
8310 non-CORBA/bonobo-savvy clients.
8311 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8312 * idl/Component.idl : added in parameter to indicate coord system for
8313 geometry-related calls.
8314 * idl/Hyperlink.idl : added readonly n_links attribute
8315 * idl/Image.idl : changed methods to attributes.
8317 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8319 * at-bridge/Makefile.am: link against
8320 ../libspi/libspi.la instead of -lspi.
8322 * at-spi/test/app.c: include
8323 bonobo-activation.h. Use a default appname
8324 if one is not provided.
8326 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8328 * idl/Registry.idl : temporarily changed register_Application
8329 to oneway, to work around issue with initial registration
8331 * idl/Application.idl : changed attribute "id" from readonly
8332 to read-write, since it needs to be assigned by Registry.
8333 * registryd/registryd.c : added call to set application id
8335 * registryd/registry.c : changed de-registration procedure to
8336 use CORBA_Object_hash() to find matching object ref in application
8337 lists and listener lists.
8338 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8339 began distinguishing between event types (work in progress).
8341 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8344 * libspi/application.c:
8345 Added implementations for get/set id, get_toolkitName,
8347 * registryd/registryd.c :
8351 Converted from use of OAF to bonobo-activation.
8352 * libspi/desktop.h :
8353 * libspi/desktop.c :
8355 Removed references to atksimpleobject, since base atkobject
8356 implementation now provides functionality we need.
8357 * libspi/atksimpleobject.c :
8358 * libspi/atksimpleobject.h :
8363 * at-bridge/Makefile.am
8364 * at-bridge/bridge.c
8367 Added directory "bridge" and contents, and added dependencies
8368 in Makefile.am/configure.in.
8369 Initial checkin of "at-bridge".
8370 This code is a GTK_MODULE which automatically registers
8371 GTK+ apps with the accessibility registry, using an object
8372 reference to the root ATK object.
8374 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8376 * po/Makefile.in.in: Remove. Again. If this
8377 doesn't get autogenerated - you need to update
8380 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8382 * po/Makefile.in.in: Add. Again.
8384 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8386 * libspi/accessible.c : added support for 'description' property.
8387 * libspi/accessible.c
8389 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8390 (since the two are now equivalent in libbonobo)
8398 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8399 Bonobo::Unknown as does Accessibility::Accessible.
8400 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8401 interface with Bonobo::Stream, since it was redundant with it.
8402 (The Stream returned by a StreamableContext object is expected to
8403 implement only a subset of Bonobo::Stream)
8405 2001-07-28 Anders Carlsson <andersca@gnome.org>
8407 * libspi/accessible.c (accessible_object_finalize): Change
8408 g_free to g_object_unref since the AtkObject is a GObject.
8410 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8412 * idl/Accessibility.idl: add new IDL files
8415 * idl/Action.idl: Definitions of actionable UI object
8416 * idl/Component.idl: Definitions of UI component geometry, etc.
8417 * idl/Hyperlink.idl: Defs of hyperlink behavior
8418 * idl/Image.idl: Def of accessible image
8419 * idl/Selection.idl: Definition of UI object with selectable children
8420 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8421 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8422 * idl/Text.idl: Interface defs for UI elements with complex textual content
8423 * idl/Value.idl: Definition of UI element that is a value controller or display
8425 2001-07-27 Michael Meeks <michael@ximian.com>
8427 * po/Makefile.in.in: remove autogenerated file from CVS.
8429 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8432 * idl/Registry.idl: include guard.
8434 * idl/Accessibility.idl: Add, and include all the other IDL
8437 * idl/*.idl: remove mass of pragmas etc.
8439 2001-07-26 Michael Meeks <michael@ximian.com>
8441 * registryd/Makefile.am (registryd_SOURCES): remove
8444 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8446 * libspi/.cvsignore, registryd/.cvsignore,
8447 test/.cvsignore: updated.
8449 * po/Makefile.in.in: gettext update.
8451 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8453 * initial CVS checkin
8455 2001-06-29 Michael Meeks <michael@ximian.com>
8457 * configure.in: add AM_CONFIG_HEADER to gen config.h