1 2007-12-03 Li Yuan <li.yuan@sun.com>
3 * configure.in, README, NEWS:
6 2007-12-03 Li Yuan <li.yuan@sun.com>
8 * idl/Accessibility_Collection.idl:
10 (impl_getMatchesFrom), (impl_getMatchesTo):
11 Fix build error in Solaris, for restrict is a keyword in SS cc.
13 2007-12-03 Li Yuan <li.yuan@sun.com>
15 * idl/Accessibility_Collection.idl:
16 * libspi/accessible.c: (spi_accessible_construct):
17 * libspi/collection.c: (spi_collection_interface_new),
18 (get_atkobject_from_servant), (get_collection_from_servant),
19 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
20 (match_states_all_p), (match_states_any_p), (match_states_none_p),
21 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
22 (match_roles_none_p), (match_roles_lookup),
23 (match_interfaces_all_p), (match_interfaces_any_p),
24 (match_interfaces_none_p), (match_interfaces_lookup),
25 (match_attributes_all_p), (match_attributes_any_p),
26 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
27 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
28 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
29 (spi_collection_class_init), (spi_collection_init):
30 * libspi/collection.h:
31 Bug #326516. Patch from Ariel. Enhance collection support.
33 2007-12-03 Li Yuan <li.yuan@sun.com>
35 * atk-bridge/Makefile.am:
37 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
39 2007-11-12 Li Yuan <li.yuan@sun.com>
41 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
42 (impl_accessibility_accessible_get_relation_set):
43 Fix for #446277. Decrease the ref count to 1.
45 2007-10-29 Li Yuan <li.yuan@sun.com>
47 * configure.in, README, NEWS:
50 2007-10-15 Li Yuan <li.yuan@sun.com>
52 * MAINTAINERS: add Willie Walker and Eitan Isaacson
55 2007-09-17 Li Yuan <li.yuan@sun.com>
57 * configure.in, README, NEWS:
60 2007-09-08 Li Yuan <li.yuan@sun.com>
62 * registryd/deviceeventcontroller.c:
63 (spi_key_event_matches_listener):
64 Bug #474796. Should not checkmask bit 14 when sond out
67 2007-08-20 Li Yuan <li.yuan@sun.com>
69 * libspi/base.c: (spi_base_construct):
70 Avoid unnecessary crash. Bug #467612.
72 2007-08-01 Li Yuan <li.yuan@sun.com>
74 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
75 Fix a potential dead-lock issue. Bug #462412.
77 2007-07-09 Li Yuan <li.yuan@sun.com>
79 * configure.in, README, NEWS:
82 2007-07-09 Li Yuan <li.yuan@sun.com>
84 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
85 Bug #446277. Control the ref_count to 1, so Orca can unref the
86 state_set and avoid the memory leak.
88 2007-06-26 Li Yuan <li.yuan@sun.com>
90 * atk-bridge/Makefile.am:
91 Bug #450897. Set logging domain.
92 * registryd/registry.c: (parse_event_type):
94 Handle the "document:" signal, set the type to
97 2007-06-04 Li Yuan <li.yuan@sun.com>
99 * configure.in, README, NEWS:
100 Uprev/release 1.19.3 for GNOME 2.19.3.
102 2007-05-30 Willie Walker <william.walker@sun.com>
104 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
105 439436 to add pyatspi to autotools stuff so it gets installed as
106 part of a make install.
108 2007-05-17 Li Yuan <li.yuan@sun.com>
111 Bug #439057. Add the original PATH to PATH.
113 2007-04-23 Li Yuan <li.yuan@sun.com>
115 * configure.in, NEWS:
116 Uprev/release 1.19.1 for GNOME 2.19.1.
118 2007-04-18 Li Yuan <li.yuan@sun.com>
120 * pyatspi/__init__.py:
121 * pyatspi/accessible.py:
122 * pyatspi/constants.py:
124 * pyatspi/registry.py:
126 Bug #430938. Add some files to create the uniform Python
129 2007-04-12 Li Yuan <li.yuan@sun.com>
131 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
132 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
133 Fix #427836. Fix leak and unify the code style.
135 2007-04-12 Yi Jin <yi.jin@sun.com>
137 * atk-bridge/bridge.c:
138 (spi_atk_bridge_focus_tracker):
139 Bug #428007. Fix a memory leak.
141 2007-04-02 Ariel Rios <ariel@gnu.org>
143 Implement the Matchrule interface required for Collection.
149 * cspi/spi_accessible.c: (Accessible_isCollection),
150 (Accessible_isMatchRule), (Accessible_getCollection),
151 (Accessible_getMatchRule):
152 * cspi/spi_collection.c: new file.
153 * cspi/spi_matchrule.c: new file.
154 * idl/Accessibility.idl:
155 * idl/Accessibility_Collection.idl: new file.
157 * libspi/Makefile.am:
158 * libspi/collection.c: new file.
159 * libspi/collection.h: new file.
161 * libspi/matchrule.c: new file.
162 * libspi/matchrule.h: new file.
164 2007-03-29 Ariel Rios <ariel@gnu.org>
166 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
168 2007-03-22 Li Yuan <li.yuan@sun.com>
170 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
171 main context. Fix for #329454.
173 2007-03-12 Li Yuan <li.yuan@sun.com>
175 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
177 2007-03-02 Li Yuan <li.yuan@sun.com>
179 * atk-bridge/bridge.c
180 (spi_atk_bridge_register_application),
181 (deregister_application), (spi_atk_bridge_focus_tracker),
182 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
183 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
184 to prevent calling threads_enter/leave during the init and shutdown.
186 2007-02-27 Li Yuan <li.yuan@sun.com>
189 (spi_re_entrant_list_delete_link):
190 Bug #412286. Reverse previous patch.
191 * configure.in, NEWS: Uprev/release 1.17.2.
193 2007-02-26 Li Yuan <li.yuan@sun.com>
195 * libspi/accessible.c:
196 (impl_accessibility_accessible_get_attributes),
197 (impl_accessibility_accessible_get_relation_set):
198 Bug #404584 and #401299. Return an empty object instead of return NULL.
199 * configure.in, NEWS: Uprev/release 1.17.1.
201 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
203 * Makefile.am: Dist MAINTAINERS.
205 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
207 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
208 (atk_bridge_init), (spi_atk_bridge_get_registry),
209 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
210 Fix some compiler warnings and plug a leak. Closes part of
213 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
215 * cspi/bonobo/cspi-bonobo-listener.h:
216 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
217 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
218 * cspi/spi_main.c: (SPI_eventIsReady):
219 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
220 * libspi/streamablecontent.c:
221 * libspi/util.c: (spi_re_entrant_list_delete_link):
222 * login-helper/login-helper.c:
223 * registryd/deviceeventcontroller.c:
224 (spi_controller_update_key_grabs), (isEvent):
225 * registryd/registry.c:
226 * test/key-listener-test.c: (simple_at_exit):
227 * test/login-helper-server-test.c: (test_set_wm_dock),
229 Fix a bunch of warnings from sparse:
230 - ANSIfication of function declarations
232 - Add some prototypes
233 - make some stuff static
235 2007-02-14 Li Yuan <li.yuan@sun.com>
237 * libspi/accessible.c:
238 (impl_accessibility_accessible_get_attributes):
239 Bug #404584. If there is no attributes, just return NULL.
241 2007-02-12 Li Yuan <li.yuan@sun.com>
243 * configure.in, NEWS: Uprev/release 1.17.0.
245 2007-02-12 Li Yuan <li.yuan@sun.com>
247 * atk-bridge/bridge.c:
248 (atk_bridge_init): bug #400709. we must emit events even if we are not
249 registered as a full-fledged app.
250 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
251 application like openoffice shutdown. They need to unload gtk before
252 the is spi_atk_bridge_exit_func called.
254 2007-01-22 Li Yuan <li.yuan@sun.com>
256 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
258 2007-01-22 Li Yuan <li.yuan@sun.com>
260 * cspi/bonobo/cspi-bonobo.c:
261 (cspi_get_registry_ior), (cspi_init):
262 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
264 2007-01-19 Li Yuan <li.yuan@sun.com>
266 * atk-bridge/bridge.c:
267 (atk_bridge_init), (spi_atk_bridge_register_application),
268 (deregister_application), (spi_atk_bridge_focus_tracker),
269 (spi_atk_emit_eventv):
270 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
273 2007-01-08 Li Yuan <li.yuan@sun.com>
275 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
277 2007-01-08 Li Yuan <li.yuan@sun.com>
279 * registryd/registry-main.c:
280 (main): set registry ior only when register server successfully.
281 * atk-bridge/bridge.c:
282 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
283 Bug #372988, #381670. Fix memory leak.
285 2007-01-02 Bill Haneman <billh@gnome.org>
288 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
289 appending default attributes to a text attribute set.
292 2006-12-28 Li Yuan <li.yuan@sun.com>
294 * atk-bridge/bridge.c:
295 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
296 the second time, because spi_atk_emit_eventv will free any. Bug
299 2006-12-15 Li Yuan <li.yuan@sun.com>
301 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
303 2006-12-14 Li Yuan <li.yuan@sun.com>
306 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
307 (spi_atk_bridge_property_event_listener),
308 (spi_atk_bridge_signal_listener):
309 Free some CORBA objects to fix memory leak and crash.
311 2006-12-13 Li Yuan <li.yuan@sun.com>
313 Patch from Ariel Rios to fix #163132 and #377079.
314 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
315 (spi_atk_bridge_get_registry_ior):
316 Use g_warning instead of g_error and g_critical to avoid crash.
318 2006-12-11 Bill Haneman <bill.haneman@sun.com>
321 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
322 if there are no non-default attributes defined at the current offset.
325 2006-12-04 Bill Haneman <bill.haneman@sun.com>
327 * idl/Accessibility_Role.idl: Fixed the documentation for
328 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
330 2006-12-04 Bill Haneman <bill.haneman@sun.com>
332 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
334 2006-11-07 Bill Haneman <bill.haneman@sun.com>
336 Patches from Padraig O'Briain for bugs #361386 and #369377.
338 * registryd/registry.c:
339 (struct NotifyContext): Change the e_out
340 member from an Accessibility_Event struct to a pointer to
342 (notify_listeners_cb): Modify to use the new struct definition above.
343 Allows use of ORBit_copy_value instead of CORBA_any__copy.
345 * registryd/deviceeventcontroller.c:
346 (spi_dec_button_update_and_emit): Free the event's any_data
348 (spi_dec_mouse_check):Free the event details any struct
350 (spi_device_event_controller_forward_mouse_event): Free any.
351 (spi_device_event_controller_forward_key_event): Ditto.
353 2006-11-07 Bill Haneman <bill.haneman@sun.com>
355 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
356 Don't require gtk+ and gail for building most of at-spi
359 * registryd/registry-main.c (main): We now get te value of display
360 using the env var DISPLAY rather than using the gdk_display_get_default
361 to avoid dependancy of gdk. Also, once the registry is started, we set
362 the ior of the registry as an X property.
363 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
365 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
366 the registration was successfull.
367 (spi_atk_bridge_do_registration): This function now returns success
368 or not on activating the registry.
369 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
370 has been set in the X root window and return it if available.
371 (spi_atk_bridge_get_registry): We now get the registry using the IOR
372 saved as a X property rather than using the OAFID.
374 2006-10-01 Bill Haneman <bill.haneman@sun.com>
376 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
378 2006-09-25 Bill Haneman <bill.haneman@sun.com>
380 * registryd/registry.c:
381 (desktop_remove_application): Don't pass a ref to the
382 dead application with the event, since it's probably
383 defunct and will cause SEGV if we try to unref,
384 extract app name, etc.
387 2006-09-20 Bill Haneman <bill.haneman@sun.com>
389 Patch from Neo Liu <nian.liu@sun.com>,
392 * atk-bridge/bridge.c:
393 (spi_atk_bridge_document_event_listener): New, for
396 2006-08-30 Bill Haneman <bill.haneman@sun.com>
399 Changed some parameter names so as not to
400 collide with class names - allows IDL to be compiled with
401 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
403 2006-08-22 Bill Haneman <bill.haneman@sun.com>
405 * atk-bridge/bridge.c:
406 (spi_atk_bridge_signal_listener):
407 Patch from Ginn Chen, assign detail1 in children-changed
408 so that the child object can be assigned to the Any when the
409 at-spi event is emitted. Bug #350552.
411 * libspi/application.c:
412 (spi_application_finalize): Remove g_print debug output.
415 2006-08-21 Bill Haneman <bill.haneman@sun.com>
417 * configure.in: Revved to AT-SPI 1.7.11.
419 * libspi/accessible.c:
420 (spi_accessible_new): Aggregate Hyperlink interface
421 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
423 * libspi/hyperlink.c:
424 (spi_hyperlink_new): Don't aggregate Action a second time if this
425 interface is created for an AtkHyperlinkImpl object (i.e. for a
426 child Accessible, as opposed to the Hyperlink instance from
428 (get_hyperlink_from_servant): Obtain the hyperlink from
429 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
431 Patch section from Ginn Chen...
433 * cspi/spi_accessible.c:
434 (_cspi_accessible_set_from_sequence):
435 Changed g_newa to g_new0 on Ginn Chen's suggestion.
437 * libspi/accessible.c:
438 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
439 (spi_accessible_new): Add the Document interface if present.
442 (impl_getAttributes): Fixed to use AtkAttribute properly.
445 (impl_getAttributes, impl_getDefaultAttributes):
446 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
448 2006-08-17 Bill Haneman <bill.haneman@sun.com>
450 * cspi/spi-private.h, cspi/spi_accessible.c:
451 (_cspi_attribute_set_from_sequence): Renamed from
452 cspi_attribute_set_from_sequence, to suppress export.
455 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
456 inline docs, which was keeping the doc from appearing.
457 (SPIExceptionHandler): Doc this.
459 * cspi/spi_document.c:
460 Added inline gtk-docs cut-n-pasted from the doxygen
461 docs in the corresponding IDL files.
462 (AccessibleDocument_getAttributes): Fix the retval here.
464 * cspi/spi_streamablecontent.c:
465 Fixed some 'Since' tags that were accidentally doxygen-style.
468 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
469 docs from the IDL file.
471 * docs/reference/cspi/at-spi-cspi-docs.sgml:
472 Added entities for Document and StreamableContent interfaces.
474 * docs/reference/cspi/at-spi-cspi-sections.txt:
475 Added some docs that were present inline but not getting
478 2006-07-31 Bill Haneman <bill.haneman@sun.com>
481 (impl_getRangeExtents): Use the atk_text_get_range_extents
482 API instead of looping over character bounds, now that
484 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
485 (_spi_text_bounds_contain): Remove, not needed anymore.
486 (_spi_text_rect_union): Remove, not needed anymore.
488 2006-07-31 Bill Haneman <bill.haneman@sun.com>
490 * atk-bridge/bridge.c:
491 (spi_atk_emit_eventv): Fix the CORBA_free call which was
492 causing 64-bit troubles and memory leaks.
493 Special thanks to Alexander Larsson who finally seems to
494 have tracked down the problem, not just here but in
498 (spi_init_any_object): Make sure we copy the CORBA value
499 when initializing an object for passing as a CORBA_Any.
502 2006-07-21 Bill Haneman <billh@gnome.org>
504 * idl/Accessibility.idl:
505 Reverted pragma changes, this broke the build in some envs
506 including the Debian team's build and some tinderbox builds.
508 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
511 Revved to 1.7.10, and edited the Xevie check (bug #319994).
513 * idl/Accessibility.idl:
514 Reworked inclusion of Bonobo_Unknown.idl, to
515 avoid double-linking libs in the Bonobo environment.
516 Thanks to Michael Meeks for the workaround, see bug #313122.
518 * registryd/deviceeventcontroller.c:
519 (spi_controller_notify_keylisteners):
520 Set the SPI_NUMLOCK_MASK bit if the modifier
521 corresponding to the conceptual numlock state is set.
524 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
526 * idl/Accessibility_Selection.idl:
527 (deselectChild): New method.
529 * libspi/selection.c:
530 (impl_deselectChild): Implement the new IDL method.
533 (AccessibleSelection_deselectChild): Added new method.
535 * cspi/spi_selection.c:
536 (AccessibleSelection_deselectChild): New method implemented.
538 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
540 * cspi/bonobo/cspi-bonobo.c:
541 (cspi_init): Replace g_error with g_warning, prevent
542 SEGV if the registry cannot be activated. Bug #346393.
544 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
546 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
548 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
549 2006-07-12 Ariel Rios <arios@us.ibm.com>
553 * idl/Accessibility_Table.idl:
554 (getRowColumnExtentsAtIndex): New method for getting
555 selection status and extents in one API call.
558 (impl_getRowColumnExtentsAtIndex): Implementation of
560 (spi_table_class_init): Add above to epv.
564 (AccessibleTable_getRowColumnExtentsAtIndex): New
565 method, retrieves selection status and row/col extents
566 for a table cell in a single API call.
568 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
569 2006-07-12 Ariel Rios <arios@us.ibm.com>
571 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
574 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
575 New bindings for new methods defined in idl and libspi.
578 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
579 Added prototype functions.
582 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
584 (spi_text_class_init): Added previous methods.
587 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
588 * libspi/spi-private.h: Corrections.
590 2006-06-29 Bill Haneman <bill.haneman@sun.com>
592 Added Document interface (see bug #326520),
593 with work from Ariel Rios <arios@us.ibm.com>.
595 * configure.in: Bump to 1.7.8.
597 * libspi/Makefile.am: Added document.[ch] to sources
600 (SpiDocument, SpiDocumentClass):
601 New interface implementation.
602 (spi_document_get_type, spi_document_construct)
603 (spi_document_interface_new): New methods added.
604 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
605 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
606 Added macros for SpiDocument
610 (spi_document_interface_new): Get a
611 new document interface. New.
612 (get_document_from_servant): Get an AtkDocument from servant New.
613 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
614 Implementation of methods defined on idl.
615 (spi_document_class_init, spi_document_init)
616 Init methods for SpiDocument. new
618 * idl/Accessibility.idl: Added Accessibility_Document.idl.
620 * cspi/Makefile.am: Added spi_document.c to sources.
622 * cspi/spi_document.c:
623 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
624 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
625 (AccessibleDocument_getAttributes): Bindings for methods defined
628 * cspi/spi_accessible.c:
629 (Accessible_isDocument, Accessible_getDocument) New.
631 (Accessible_isDocument, Accessible_getDocument)
632 (AccessibleDocument_ref, AccessibleDocument_unref)
633 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
634 (AccessibleDocument_getAttributes): Bindings added.
636 * idl/Makefile.am: Added Accessibility_Document.idl to
639 2006-06-29 Bill Haneman <bill.haneman@sun.com>
641 * idl/Accessibility_Document.idl: New interface
642 for complex documents. First stage of fix for RFE
645 2006-06-27 Bill Haneman <bill.haneman@sun.com>
647 * libspi/streamablecontent.c:
648 (impl_content_stream_close):
649 Unref the GIOChannel on close.
651 2006-06-23 Bill Haneman <bill.haneman@sun.com>
653 * idl/Accessibility_Role.idl:
654 * libspi/accessiblerole.c:
655 * cspi/spi_accessible.c: Added ROLE_LINK,
656 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
657 Bug #345758 and bug #140635.
660 2006-06-22 Bill Haneman <bill.haneman@sun.com>
664 * idl/Accessibility_StreamableContent.idl:
665 Fix derivation of StreamableContent and ContentStream.
667 * cspi/spi_streamablecontent.c:
668 (accessible_content_stream_client_read):
669 Fix the datatype of the content stream used.
670 Interpret short reads as EOF, and stop trying to
671 read when we've fulfilled the request.
672 (AccessibleStreamableContent_getContentTypes):
673 Use g_strdup, not CORBA_string_dup, for the strings.
674 (AccessibleStreamableContent_open):
675 Correctly use the new getStream method for opening,
676 not the deprecated getContent method.
677 Use the object reference as the stream hash key.
678 Make note of the 'one stream per client per streamable'
679 limitation in the docs.
682 Add streamablecontent.h to the list of #includes.
684 * libspi/streamablecontent.c:
685 (impl_content_stream_read): Initialize the GError.
686 Allocate the incoming buffer if reading a fixed length of
687 data. Use g_memmove instead of memcpy.
688 (impl_accessibility_streamable_get_content_types):
689 Init typelist->_maximum. Only allocate the buffer if
690 there is a non-zero number of content types available.
691 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
693 * libspi/streamablecontent.h:
694 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
697 (SPI_IS_VALUE): Fix a typo in this macro too.
699 2006-06-16 Bill Haneman <bill.haneman@sun.com>
703 * idl/Accessibility_StreambleContent.idl:
704 Deprecate the Bonobo_Stream-based methods in favor of
705 a self-contained "ContentStream" interface. This should
706 allow us to remove BonoboStream dependencies entirely, since
707 there were no non-NIL implementations of the old methods anyway.
708 (ContentStream): New interface.
709 (ContentStream::SeekType): Enum.
710 (ContentStream::seek): New.
711 (ContentStream::read): New.
712 (ContentStream::close): New.
713 (getContent): Deprecate.
714 (getURI): New method, returns a URI pointing to the content, if available.
716 * libspi/streamablecontent.c:
717 (SpiContentStream): Internal object type definition used to
718 implement Accessibility::StreamableContent::ContentStream via
719 AtkStreamableContent's GIOChannel back-end.
720 (spi_content_stream_new, spi_content_stream_dispose): See above;
722 (impl_content_stream_seek, impl_content_stream_read):
723 (impl_content_stream_close): New, implementations of
725 (impl_accessibility_streamable_get_stream): Implement the
726 public method Accessibility::StreamableContent::getStream.
727 (impl_accessibility_streamable_get_uri): Implement the
728 public method Accessibility::StreamableContent::getURI.
730 * cspi/spi_streamablecontent.c:
731 (accessible_bonobo_stream_client_seek): Replaced by
732 (accessible_content_stream_client_seek).
733 (accessible_bonobo_stream_client_read): Replaced by
734 (accessible_content_stream_client_read).
735 (AccessibleStreamableContent_open):
736 (AccessibleStreamableContent_seek):
737 (AccessibleStreamableContent_read):
738 (AccessibleStreamableContent_close): Use the new 'getStream'
739 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
741 2006-06-15 Bill Haneman <bill.haneman@sun.com>
743 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
744 remove from other .idl files (except LoginHelper).
747 2006-06-14 Bill Haneman <bill.haneman@sun.com>
749 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
752 * configure.in, */Makefile.am: mingw patch, modified from
753 original patch by yselkowitz. Bug #314216.
755 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
756 for completeness. Bug #163111.
758 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
759 * libspi/util.c, registryd/registry-main.c:
760 Fix guint/char* casts.
761 Patch from chpe, bug #333883.
763 2006-06-12 Bill Haneman <bill.haneman@sun.com>
765 * configure.in: Require atk-1.12.0, to pick up
766 new API. (bug #344412).
768 * libspi-1.0-uninstalled.pc.in:
770 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
771 Fix for #341488 from Samual Thibault.
773 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
774 Thanks to Brian Pepple.
776 2006-06-09 Bill Haneman <bill.haneman@sun.com>
779 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
780 New, missing implementations of attribute reading methods
783 * cspi/spi.h, spi_value.c:
784 (AccessibleValue_getMinimumIncrement): New methods wrapping
785 the (formerly unimplemented) property from Value.idl.
788 (impl_get_minimumIncrement): Implementation for retrieving
789 the minimum valuator increment, (formerly unimplemented).
792 2006-06-09 Bill Haneman <bill.haneman@sun.com>
794 * idl/Accessibility_State.idl:
795 Added STATE_VISITED (bug #338369).
797 * cspi/spi_accessible.c:
798 (spi_state_to_corba) Fixed marshalling of new statetypes.
801 (spi_init_state_tables, impl_getStates):
802 Fixed conversion of new statetypes to/from ATK.
804 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
806 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
807 definitions/conversions for new roles from ATK.
809 * idl/Accessibility_Relation.idl:
811 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
812 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
813 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
815 * libspi/accessible.c: Fixed marshalling of new role types from
818 2006-04-17 Matthias Clasen <mclasen@redhat.com>
820 * revert my previous change
822 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
824 * configure.in: Remove obssolete no_NO locale
825 * po/no.po: And the translation.
827 2006-04-05 Matthias Clasen <mclasen@redhat.com>
829 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
830 memory-management error that caused crashes on x86_64.
833 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
835 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
837 2006-03-27 Bill Haneman <bill.haneman@sun.com>
839 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
840 to strip "cspi_*" from the symbol table.
842 * cspi/spi_streamablecontent.c:
843 (get_streams): Make this method static.
846 (_cspi_exception_throw): rename to cspi_exception_throw,
847 so we can strip it with the rest...
850 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
852 2006-03-27 Bill Haneman <bill.haneman@sun.com>
854 Add doxygen-generated IDL docs to tarball, and enable
855 doxygen during build/install when available. Bug #301345.
857 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
859 * docs/reference/Makefile.am: Add idl to SUBDIRS.
861 * docs/reference/idl/Makefile.am: Optionally use
862 doxygen to create docs.
864 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
866 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
868 2006-03-20 Bill Haneman <bill.haneman@sun.com>
871 (impl_get_selected_rows): Don't free the selection if it's
872 empty or has not been assigned; init it to NULL so you can tell.
873 Also, allow for zero selected rows.
874 (impl_getSelectedColumns): Ditto. Bug #319088.
876 2006-03-11 Vincent Untz <vuntz@gnome.org>
878 Leak fix for bug #334217.
880 * libspi/application.c: spi_application_toolkit_event_listener():
881 don't duplicate the string we pass as an argument to
882 spi_init_any_nil() since spi_init_any_nil() already does it
883 * registryd/deviceeventcontroller.c:
884 (spi_dec_button_update_and_emit): ditto
885 (spi_dec_mouse_check): ditto
886 (spi_dec_emit_modifier_event): ditto
887 (spi_device_event_controller_forward_mouse): ditto
888 * registryd/registry.c:
889 (desktop_add_application): ditto
890 (desktop_remove_application): ditto
892 2006-02-20 Bill Haneman <billh@gnome.org>
894 * configure.in: Rev to 1.7.6.
896 Leak fixes for bug #331924.
898 * atk-bridge/bridge.c:
899 (spi_atk_bridge_init_base): Don't dup the string, it's already
900 been dup-ed. Fixes a leak.
901 (spi_atk_emit_eventv): Move the CORBA_free call here,
902 instead of spi_atk_state_event_listener; fixes another leak.
903 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
904 notifying the registry; fixes another leak.
906 * registryd/registry.c:
907 (registry_flush_event_queue): Free the CORBA_any when
908 flushing the event, not just the string. Fixes another leak.
909 (registry_queue_event): Free the CORBA_any when dropping
910 events on the floor; fixes another leak.
913 (spi_init_any_object, spi_init_any_nil):
914 Always set _release to TRUE. Fixes another leak.
916 2006-02-20 Bill Haneman <billh@gnome.org>
918 * configure.in: Rev to 1.7.5.
919 Reinstate localization of this module. Thanks for Rodney
920 Dawes for fixing my patch.
922 * registryd/Makefile.am: Remove Accessibility_Registry.server
923 from dist, since it needs to be re-created at configure time.
926 2006-01-31 Bill Haneman <billh@gnome.org>
928 * configure.in: Rev to 1.7.4 (to include build fix below).
930 * idl/Makefile.am: Include Selector.idl in dist.
934 (cspi_internal_event_get_object): Handle case where
935 "object" isn't present, i.e. CORBA_TC_Object doesn't match
936 the EventDetails data.
937 (cspi_internal_event_get_text): Handle NULL string.
938 (cspi_internal_event_get_rect): Handle missing/empty rect
939 data, Accessibility_TC_RectBounds doesn't match any_data.
941 2006-01-30 Bill Haneman <billh@gnome.org>
945 * atk-bridge/bridge.c:
946 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
947 interface and use that when instantiating a new source
948 accessible. Better fix for bug #321814.
950 2006-01-27 Bill Haneman <billh@gnome.org>
952 * idl/Accessibility_Selector.idl: Added to the cvs repository.
954 * configure.in: Revved to 1.7.3.
956 2006-01-17 Bill Haneman <billh@gnome.org>
958 * configure.in: Revved to 1.7.2, re-dist to include docs.
960 2006-01-09 Bill Haneman <billh@gnome.org>
962 * configure.in: Removed po/Makefile.in inclusion, we do not need
965 * idl/Accessibility.idl: Improved documentation here, and for all
966 IDL in the 'GNOME::Accessibility' namespace.
968 * idl/Accessibility_Accessible.idl:
969 (LOCALE_TYPE): Added enum.
970 (AttributeSet): New, for returning multiple name/value attribute pairs.
971 (RoleSet): New, sequence of Roles, to be used in upcoming
973 (getAttributes): New API, allows retrieval of name/value pair
974 annotations for all kinds of Accessible objects. C.f.
975 Text:getAttributes, which is only for typographic/textual/semantic tags in
977 (getApplication): New, retrieves the host/containing Application
978 instance for an object (without having to walk up the whole tree).
980 * idl/Accessibility_Component.idl:
981 (getAlpha): New method, returns the alpha blending (aka 'opacity')
982 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
985 * idl/Accessibility_Event.idl:
986 (EventDetails): New struct definition, for encapsulating
987 commonly-queried information about emitted events. The use of
988 this structure in emitted events (in the 'any' member of
989 Accessibility_Event) should greatly reduce the number of
990 client-server roundtrips necessary.
992 * idl/Accessibility_Image.idl:
993 (imageLocale): New, a readonly attribute indicating the POSIX
994 LC_MESSAGES locale of the image and associated Alt/descriptive
997 * idl/Accessibility_Relation.idl:
998 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1001 * idl/Accessibility_Role.idl:
1002 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1003 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1004 complex document and form support.
1006 * idl/Accessibility_State.idl:
1007 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1008 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1009 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1010 for support of complex documents and forms.
1012 * idl/Accessibility_StreamableContent.idl:
1013 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1014 allow old bonobo-stream interfaces to be deprecated in the next
1017 * idl/Accessibility_Text.idl:
1018 (getAttributeValue): New method, allows query-by-name of single
1021 * libspi/accessible.c:
1022 Added support for new roles. Implemented new methods
1023 (impl_accessibility_accessible_get_application): New
1024 (impl_accessibility_accessible_get_attributes): New
1026 * libspi/component.c:
1027 (impl_accessibility_component_get_alpha): New.
1030 (impl_accessibility_image_get_locale): New.
1032 * libspi/relation.c: Added support for new relation type.
1034 * libspi/stateset.c: Added support for new state types.
1037 (impl_getAttributeValue): New.
1040 New prototypes for private methods
1042 spi_init_any_object, spi_init_any_string,
1045 * libspi/spi_event.c:
1046 Use EventDetails in the event emission methods.
1048 * cspi/spi-private.h:
1049 (cspi_role_from_spi_role): Expose this adapter method, since
1050 we need it in the bridge (see below).
1053 (AccessibleEvent_getSourceName):
1054 (AccessibleEvent_getSourceRole):
1055 (AccessibleEvent_getSourceApplication):
1056 (AccessibleEvent_getSourceDetails):
1057 New methods for interrogating/demarshalling
1058 event details (i.e. source's accessible name, role,
1061 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1062 Make use of the new EventDetails struct in events, if present.
1063 (AccessibleEvent_getSourceName)
1064 (AccessibleEvent_getSourceRole)
1065 (AccessibleEvent_getSourceApplication)
1066 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1068 (Accessible_getAttributes): New, wraps
1069 Accessibility_Accessible_getAttributes.
1070 (Accessible_getHostApplication): New, wraps
1071 Accessibility_Accessible_getApplication.
1074 (AccessibleImage_getImageLocale): New wrapper for
1075 Accessibility_Image_get_imageLocale.
1077 * cspi/spi_component.c:
1078 (AccessibleComponent_getAlpha): New wrapper for
1079 Accessibility_Component_getAlpha.
1081 * atk-bridge/bridge.c:
1082 Use new prototyped for init_any methods.
1083 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1084 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1085 (spi_atk_bridge_init_base): Wrappers
1086 for spi_init_any_* methods, due to refactor; include extended
1087 information in the Accessibility_EventDetails struct, for instance
1088 accessible-name, Role, and containing Application.
1090 * registryd/registry.c:
1091 Use new event emission (with EventDetails).
1093 * registryd/deviceeventcontroller.c:
1094 Use new event emission (with EventDetails).
1096 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1098 * configure.in: Generate po/Makefile.in
1099 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1100 * cspi/spi_streamablecontent.c:
1101 (accessible_bonobo_stream_client_seek),
1102 (AccessibleStreamableContent_seek): Remove unused vars.
1103 * libspi/application.c: Missing header.
1104 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1105 * login-helper/login-helper.c: (login_helper_finalize),
1106 (login_helper_init): Remove unused stuff
1107 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1108 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1109 and surround some with #ifdef GRAB_BUTTON.
1110 * test/event-listener-test.c: (main), (report_event),
1111 (report_caret_event), (report_detail_event),
1112 (report_detail1_event), (report_bounds_event), (report_text_event),
1113 (report_text_selection_event),
1114 (report_active_descendant_changed_event),
1115 (report_children_changed_event), (report_name_changed_event),
1116 (report_description_changed_event), (report_parent_changed_event),
1117 (report_window_event), (report_table_summary_event),
1118 (report_table_header_event), (report_table_caption_event),
1119 (report_table_row_description_event),
1120 (report_table_column_description_event), (timing_test_event):
1121 Remove a bunch of unused variables and fix a slew of format specifiers
1122 * test/key-listener-test.c: (report_all_key_event): Format specifier
1123 * test/keypad-test.c: (print_key_event): Same
1124 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1126 * test/screen-review-test.c: (main), (print_chunk_debug),
1127 (review_buffer_get_text_chunk), (debug_chunk_list),
1128 (string_guess_clip), (text_chunk_get_clipped_string),
1129 (text_chunk_list_to_string), (get_screen_review_line_at):
1130 Remove unused variables and fix format specifiers.
1131 * test/simple-at.c: (report_text_event): Format specifier fix.
1132 * test/stress-test.c: (main): Remove unused var.
1134 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1136 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1137 (yes I know that's useless)
1139 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1141 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1143 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1145 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1146 urgh-fix embarassing typo.
1148 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1150 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1151 do a faster, less problematic _unref call on this local
1152 object, rather than a slower (potentially cross-thread
1153 complicated) CORBA call.
1155 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1157 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1158 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1159 * registryd/deviceeventcontroller.c:
1160 (spi_controller_notify_mouselisteners),
1161 (impl_generate_keyboard_event):
1162 * test/screen-review-test.c: (chunk_bounds_within):
1163 * test/test-simple.c: (test_desktop): Remove some unused code
1164 and fix compiler warnings. Closes bug #320049.
1166 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1168 * registryd/deviceeventcontroller.c:
1169 (spi_controller_notify_keylisteners): Check
1170 to make sure the event listener has requested 'preemptive'
1171 status before pre-empting an event.
1173 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1175 * configure.in, README, NEWS: Release 1.6.5.
1177 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1179 * test/window-listener-test.c: Fix a printf
1180 format error. (#169453)
1182 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1184 * tests/test-simple.c:
1185 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1186 relying on the old string from the key event hanging around after
1187 the event handler returns. Fixes broken 'make check'.
1189 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1191 * Added Marathi (mr_IN) translations.
1193 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1195 * cspi/bonobo/cspi-bonobo-listener.c:
1196 (cspi_event_list_remove_by_cb): Fix the build.
1198 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1200 * cspi/bonobo/cspi-bonobo-listener.c
1201 (cspi_event_list_remove_by_cb): actually filter by callback.
1203 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1205 * registryd/registry.c (remove_listener_cb):
1206 Make deregistration filter rules match the event emission rules.
1208 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1210 * registryd/registry.c (remove_listener_cb),
1211 (impl_accessibility_registry_deregister_global_event_listener),
1212 (impl_accessibility_registry_deregister_global_event_listener_all):
1213 pass a closure to the remove callback to filter listeners more
1214 accurately on remove.
1216 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1218 * configure.in: Revved to 1.6.4.
1219 Remember to put quotes around XEVIE_LIBS assignment.
1220 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1223 * tests/event-listener-test.c: Tweaked the tests - more detail
1224 from caret events, and some interrogation of AccessibleText APIs.
1225 Commented-out the bounds-changed events by default, since they can
1228 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1230 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1231 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1232 Same here. Closes bug #167806
1234 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1236 * atk-bridge/bridge.c:
1237 (spi_atk_bridge_signal_listener):
1238 Free the any._value if any._release is TRUE,
1239 since the ORB won't do it for us in this case
1240 [because this method is not a skel].
1241 Fix for bug #168679.
1243 2005-03-30 Steve Murphy <murf@e-tools.com>
1245 * configure.in: Added "rw" to ALL_LINGUAS.
1247 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1249 * configure.in: Improved check for HAVE_XEVIE, to detect
1250 presence on XOrg, where -lXevie is a separate library.
1252 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1254 * configure.in, NEWS, README: Revved to 1.6.3.
1256 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1258 * configure.in: Added "xh" to ALL_LINGUAS.
1260 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1262 * atk-bridge/bridge.c:
1263 (atk_bridge_init): Added missing NULL in g_strconcat(),
1264 also check for symlink before logging to
1265 insecure directory. Thanks to meissner@suse.de.
1267 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1269 * tests/login-helper-server-test.c: Add return call to main
1270 function. Patch from Chris Lahey. Fixes bug #165129.
1272 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1274 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1276 2004-12-09 Bill Haneman <billh@gnome.org>
1278 * registryd/registry-main.c:
1279 Added #define <string.h> for strrchr. (bug 160862).
1280 Thanks to Vincent Berger for catching.
1282 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1284 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1285 restart registry process if the registry process is found to have died
1286 and the current process is exiting.
1287 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1288 application if the registry process has died.
1289 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1290 does not return a registry object.
1291 (spi_atk_tidy_windows): Give up if the registry process has died.
1293 This fixes problems with hangs and crashes when logging out.
1295 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1297 * registryd/desktop.c: Add checking that we are not exiting before
1298 calling spi_desktop_remove_application in
1299 abnormal_application_termination. Fix for bug #152147.
1301 2004-12-02 Bill Haneman <billh@gnome.org>
1303 * configure.in, NEWS, README: Revved to 1.6.1.
1305 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1306 * atk-bridge/bridge.c:
1307 (atk_bridge_init): Save the pid when we start, to detect forks.
1308 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1309 if we're in a forked pid.
1311 2004-10-09 Bill Haneman <billh@gnome.org>
1313 * idl/Accessibility_LoginHelper.idl:
1314 Improved inline documentation.
1316 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1318 * configure.in: Added gl (Galician) to ALL_LINGUAS
1320 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1322 * libspi/accessible.c:
1323 (impl_accessibility_accessible_get_role_name),
1324 (impl_accessibility_accessible_get_local_role_name):
1325 NULL vs. 0 cleanups.
1326 * libspi/component.c:
1327 (impl_accessibility_component_get_accessible_at_point):
1329 * libspi/eventlistener.c: (spi_event_listener_new):
1331 * libspi/stateset.c: (impl_compare): More of the same
1332 * libspi/table.c: (impl_getRowDescription): Again.
1333 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1334 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1335 (impl_generate_keyboard_event): Same.
1336 * registryd/registry-main.c: (main): Same
1337 * test/event-listener-test.c: (test_exit): Same
1338 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1339 * test/keysynth-test.c: (test_key_synthesis): Same
1340 * test/login-helper-server-test.c: (main): Fix warning.
1341 * test/screen-review-test.c: (test_exit): Fix include.
1342 * test/simple-at.c: (simple_at_exit), (_festival_init):
1345 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1347 * configure.in, NEWS, README: Revved to 1.6.0.
1349 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1351 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1352 was missing the HTML docs.
1354 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1356 * configure.in: only cleanups:
1357 - better looking PKG_CHECK_MODULES() output,
1359 - declare in one common place required versions of other tools using
1362 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1364 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1365 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1366 required ATK version accordingly.
1368 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1370 * cspi/bonobo/cspi-bonobo.c:
1371 (cspi_display_name): Fix C99ism.
1372 * atk-bridge/bridge.c:
1373 (spi_display_name): Fix C99ism.
1374 Patch from Jens Granseuer, jensgr@gmx.net.
1376 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1378 * configure.in: Added "or" to ALL_LINGUAS.
1380 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1382 * configure.in, NEWS, README: Revved to 1.5.4.
1384 * registryd/registry-main.c:
1385 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1388 * cspi/bonobo/cspi-bonobo.c:
1389 (cspi_display_name): New convenience method, gets DISPLAY with
1390 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1391 (cspi_init): Set the activation env value above before getting
1394 * atk-bridge/bridge.c:
1395 (spi_display_name): Create the AT_SPI_DISPLAY activation
1396 environment for an app, based on the DISPLAY environment with the
1397 screen number stripped off.
1398 (atk_bridge_init): Allow redirection of error messages to a log.
1399 (spi_atk_bridge_get_registry): Call
1400 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1402 Fixes for bugs #149962, #136986, #144086.
1404 2004-08-16 Christian Rose <menthos@menthos.com>
1406 * configure.in: Added "bs" to ALL_LINGUAS.
1408 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1410 * configure.in: Added nb to ALL_LINGUAS.
1412 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1415 (SPI_init): Return error code '2' if the activated
1416 registry cannot be pinged. Fixes bug #147648.
1418 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1420 * registryd/deviceeventcontroller.c:
1421 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1422 rely on timer-poll instead, to avoid conflict with
1425 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1427 * configure.in: Revved to 1.5.3.
1429 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1431 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1433 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1435 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1437 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1439 * atk-bridge/bridge.c:
1440 (spi_atk_bridge_do_registration):
1441 Register with ATK for AtkComponent:bounds-changed events.
1442 (api_atk_bridge_signal_listener):
1443 Marshal the AtkRectangle info into the event notification
1444 for object:bounds-changed events.
1447 (spi_init_any_rect): New method, inits a corba struct of
1448 type Accessibility_BoundingBox from an AtkRectangle.
1450 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1453 (SPIRect): New struct definition.
1454 (SPI_freeRect): New declaration.
1455 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1458 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1459 implemented. Gets the bounding box data from the CORBA_any
1460 associated with a bounds-changed event notification.
1461 (cspi_internal_event_get_rect): New, used internally by above method.
1464 (SPI_freeRect): Implemented this new method, for freeing
1467 * test/event-listener-test.c:
1468 (main, report_bounds_event):
1469 Added a test for object:bounds-changed events.
1471 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1473 * test/login-helper-server-test.c:
1474 (main): Fix C99-ism. Thanks to Jens Granseuer.
1476 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1478 * libloginhelper-1.0.pc.in:
1479 * idl/Accessibility_LoginHelper.idl:
1480 * login-helper/Makefile.am:
1481 * login-helper/login-helper.[ch]:
1482 * test/login-helper-client-test.c:
1483 * test/login-helper-server-test.c: Added files missing from CVS.
1484 Files obtained from at-spi-1.5.2 tarball.
1486 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1488 * configure.in: Create login-helper/Makefile.
1489 Incremented micro version.
1491 * Makefile.am: Add login-helper subdir and pkgconfig data.
1493 * login-helper: New subdir.
1495 * libloginhelper-1.0.pc.in: New.
1497 * idl/Accessibility_LoginHelper.idl: New file, defines
1498 interface whereby authentication clients can identify agents which
1499 need access to services during the login process, e.g. screen lock
1502 * login-helper/Makefile.am : New.
1504 * login-helper/login-helper.[ch] : New, implementation of
1505 a LoginHelper base class. Services needing LoginHelper can subclass.
1507 * test/Makefile.am : Added test for login-helper, client and
1510 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1511 Use proper prefix in #include files.
1513 * test/login-helper-client-test.c: New.
1515 * test/login-helper-server-test.c: New.
1517 2004-05-27 Alexander Shopov <ash@contact.bg>
1519 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1521 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1523 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1524 is positive. This should make it easier to detect inapprorpiate unref
1527 2004-05-11 James Henstridge <james@daa.com.au>
1529 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1530 no-op and deprecated.
1532 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1534 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1536 2004-04-28 Bill Haneman <billh@gnome.org>
1538 * Makefile.am: Added --enable-gtk-doc to
1539 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1541 2004-04-19 Bill Haneman <billh@gnome.org>
1543 * configure.in: Revved to 1.5.1.
1545 * registryd/deviceeventcontroller.c:
1547 (DEControllerPrivateData): Added fields for
1548 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1549 (spi_dec_replace_map_keysym): New internal utility for
1550 replacing a keysym in the keymap - used to allow
1551 synthesis of individual characters which aren't in the
1553 (spi_dec_reset_reserved): New; resets the changed keysym value
1555 (keycode_for_keysym): We now try to deal with failed
1556 XKeysymToKeycode requests by changing a keymap value
1557 and returning a reserved keycode. We now take
1558 a DEController pointer as first arg.
1559 (spi_controller_register_with_devices): Call XkbGetMap with
1560 the XkbKeySymsMask. Find the highest keycode in the current
1561 keymap which doesn't have any grabs, and mark that one for
1562 temporary re-mapping when out-of-range KeySyms are synthesized.
1563 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1566 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1568 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1570 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1572 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1574 2004-03-24 Bill Haneman <billh@gnome.org>
1577 (AccessibleTable_addRowSelection),
1578 (AccessibleTable_addColumnSelection),
1579 (AccessibleTable_removeRowSelection),
1580 (AccessibleTable_removeColumnSelection):
1581 Add declarations for spi wrappers which were
1582 inadvertantly omitted. Fixes bug #133413.
1585 Revved to 1.5.0 (unstable series for GNOME 2.7).
1587 2004-03-24 Bill Haneman <billh@gnome.org>
1589 * atk-bridge/bridge.c:
1590 Bracketed some debug output in
1591 conditionals, to avoid printing it in normal use.
1594 * libspi/hyperlink.c:
1595 Don't cast 'object' to ATK_OBJECT when constructing
1596 an AtkAction interface for a hyperlink.
1597 See discussion in bug #120659.
1599 * test/key-listener-test.c:
1600 (report_all_key_event): Send output to stderr,
1601 not stdout, for consistency with the rest of the test callbacks.
1604 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1605 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1606 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1607 try incrementing the revision AFTER doing a dist, at least
1610 2004-03-22 Bill Haneman <billh@gnome.org>
1612 * configure.in: Revved to 1.4.0, libtool 9.14.9
1614 2004-03-17 Laszlo Peter <laca@sun.com>
1616 * libspi-1.0-uninstalled.pc.in: add idldir
1618 * cspi-1.0-uninstalled.pc.in: add idldir
1620 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1622 * configure.in: Added "en_GB" to ALL_LINGUAS
1624 2004-03-15 Bill Haneman <billh@gnome.org>
1626 * configure.in: Revved to 1.3.16,
1629 2004-03-15 Laszlo Peter <laca@sun.com>
1631 * libspi-1.0-uninstalled.pc.in: new file
1633 * cspi-1.0-uninstalled.pc.in: new file
1635 * configure.in: add the new pc files to AC_OUTPUT
1637 * Makefile.am: add the new pc files to EXTRA_DIST
1639 2004-03-12 Bill Haneman <billh@gnome.org>
1641 * atk-bridge/bridge.c:
1642 (spi_atk_bridge_key_listener):
1643 Make sure to return consumed=FALSE if snoop
1644 event is not dispatched to listener.
1647 2004-03-01 Bill Haneman <billh@gnome.org>
1649 * configure.in: Revved to 1.3.15,
1652 2004-03-07 Danilo Segan <dsegan@gmx.net>
1654 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1656 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1658 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1660 2004-03-01 Bill Haneman <billh@gnome.org>
1662 * configure.in: Revved to 1.3.14.
1665 (SPI_exit): Removed "bye-bye" exit message.
1666 Moved "leak" report to happen before the
1667 iteration over the leaked refs list.
1668 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1670 2004-02-24 Bill Haneman <billh@gnome.org>
1672 * configure.in: Revved to 1.3.13.
1674 * docs/reference/cspi/Makefile.am:
1675 Correct typo that was breaking the docs build.
1677 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1679 * autogen.sh: Require version 1.7 of automake.
1681 * configure.in: call GTK_DOC_CHECK([1.0])
1683 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1685 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1687 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1689 * test/Makefile.am: Remove use of CFLAGS.
1691 This fixes bug #132987.
1693 2004-02-11 Bill Haneman <billh@gnome.org>
1695 * reverted most of Tomasz' patch below, since it was breaking
1696 builds (see bug #134058).
1698 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1700 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1701 correct pass "make dist" (empty .. because seems no sach types in
1702 header files with gtk-doc markups).
1703 * docs/reference/cspi/Makefile.am, configure.in:
1704 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1705 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1706 * Makefile.am: added:
1707 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1708 for force correct pass generate documentation on "make distcheck".
1709 * libspi/Makefile.am: fixes for automake >= 1.6.
1710 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1711 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1714 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1716 * docs/reference/cspi/Makefile.am (install-data-local): Install
1717 index.sgml since the doc autobuilder on widget.gnome.org looks for
1720 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1722 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1725 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1727 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1729 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1731 * test/simple-at.c: Fixed null string problems that cause core
1732 dumping problems on Solaris.
1734 2004-01-12 Bill Haneman <billh@gnome.org>
1736 * configure.in: Incremented version to 1.3.11.
1738 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1740 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1741 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1744 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1746 * configure.in: Added "fa" to ALL_LINGUAS.
1748 2003-12-20 Arafat Medini <lumina@silverpen.de>
1750 * configure.in: Added "ar" to ALL_LINGUAS
1752 2003-12-16 Bill Haneman <billh@gnome.org>
1754 * registryd/registry-main.c:
1756 Set the reg_env DISPLAY variable before registering the
1757 activated registry service. Fixes bug #129479.
1759 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1761 * configure.in: Added "id" in ALL_LINGUAS
1762 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1764 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1766 * registryd/deviceeventcontroller.c (global_filter_fn):
1767 When an event is consumed discard any XEvents were added to
1768 the queue while dealing with the the event. This can happen if
1769 processing of the event takes a long time. Call XUngrabKeyboard
1770 if an event was discarded. This fixes bug $124837.
1771 Only call wait_for_release_event for a KeyPress.
1772 Use local variable display instead of spi_get_display().
1773 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1776 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1778 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1779 Allow for mask to contain values other than NumLock mask.
1782 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1784 * registryd/devieceventcontroller.c:
1785 (wait_for_release_event): Change first parameter from GdkEvent to
1787 (global_filter_fn); Correct call to wait_for_release_event.
1791 2003-12-08 Bill Haneman <billh@gnome.org>
1795 * registryd/ucs2keysym.c: New file.
1797 * registryd/deviceeventcontroller.c:
1798 (dec_keysym_for_unichar): Remove old partial implementation and
1799 replace with call to ucs2keysym(), which is much more complete.
1800 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1805 2003-12-05 Bill Haneman <billh@gnome.org>
1807 * configure.in: Version 1.3.9.
1809 * docs/reference/cspi/tmpl/spi_registry.sgml:
1810 Added reference to libspi/keymasks.h to the
1811 description of Registry queries: AccessibleKeyMaskType.
1814 2003-12-04 Bill Haneman <billh@gnome.org>
1816 Fix for bug #121974.
1818 * idl/Accessibility_Application.idl:
1819 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1820 setlocale's LC_TYPEs.
1821 (Accessibility::Application::getLocale): New method.
1822 Allows clients to query the locale, by type, of an app.
1825 * cspi/spi_application.c:
1826 (AccessibleApplication_getLocale): New method, wraps IDL above.
1828 * libspi/application.c:
1829 (spi_application_class_init): Init epv entry for getLocale.
1830 (impl_accessibility_application_get_locale): Impl for above.
1832 * test/test-simple.c:
1833 (test_application): Added assertion for getLocale, i.e.
1834 that the string from AccessibleApplication_getLocale (app, type)
1835 is the same as that from setlocale (type, NULL);
1837 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1839 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1840 the keyboard on a timeout intil the key state goes from pressed to
1841 released. Fixes bug #111429.
1843 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1845 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1846 root object so that it is present when a context menu in an
1847 out-of-process applet is popped up.
1848 (spi_atk_bridge_do_registration): Create acceessible application root
1849 object only if it does not exist.
1851 This fixes bug #125834.
1853 2003-12-01 Bill Haneman <billh@gnome.org>
1855 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1858 Added enum for AccessibleStreamableContentSeekType.
1859 (AccessibleStreamableContent_freeContentTypeList): New.
1861 * cspi/spi_streamablecontent.c:
1862 (accessible_bonobo_stream_client_seek): New private method.
1863 (AccessibleStreamableContent_seek): Implemented this method,
1864 using Bonobo_Stream_seek.
1865 (AccessibleStreamableContent_freeContentTypeList): New method
1866 for freeing the return value from
1867 AccessibleStreamableContent_getContentTypes.
1868 (stream_cache_item_free): Replaces stream_release; stop leaks.
1869 (stream_release): removed.
1870 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1871 free the memory properly.
1873 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1875 Fix for bug #116009.
1877 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1879 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1881 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1883 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1885 2003-12-01 Bill Haneman <billh@gnome.org>
1887 Fix for bug/rfe #127463.
1889 * idl/Accessibility_Accessible.idl:
1890 (getLocalizedRoleName): New.
1891 (unimplemented4): Removed (replaced by above).
1893 * libspi/accessible.c:
1894 (impl_accessibility_accessible_get_local_role_name): New.
1895 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1899 (Accessible_getLocalizedRoleName): New.
1901 * cspi/spi_accessible.c:
1902 (Accessible_getLocalizedRoleName): New.
1904 2003-12-01 Bill Haneman <billh@gnome.org>
1906 Fix for bug #118581.
1907 * idl/Accessibility_Text.idl:
1908 (getDefaultAttributes): New.
1909 (unimplemented4): Removed (replaced by above method).
1912 (impl_getDefaultAttributes): New method.
1913 (spi_text_class_init):
1914 initialize the get_default_attributes slot in the epv.
1917 (AccessibleText_getDefaultAttributes): New prototype.
1920 (AccessibleText_getDefaultAttributes): New method.
1922 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1924 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1925 write beyond the end of the table. Fixes bug #120473.
1927 2003-09-30 Christian Rose <menthos@menthos.com>
1929 * configure.in: Added "eu" to ALL_LINGUAS.
1931 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1933 * configure.in: ALL_LINGUAS: Added no.
1935 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1937 * configure.in: Added lt to ALL_LINGUAS.
1939 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1941 * atk-bridge/bridge.c:
1942 (atk_bridge_init): Register event listeners always even for
1943 out-of-process applet.
1944 (spi_atk_bridge_toplevel_added): Remove call to
1945 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1946 (spi_atk_bridge_toplevelk_removed): Remove call to
1947 spi_atk_deregister_event_listenersa as the listeners are now always
1949 (spi_atk_bridge_register_application): Remove call to
1950 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1952 This fixes bug #120991.
1954 * libspi/table.c (impl_getColumnDescription): Correct typo,
1955 pointed out by Bolian.Yin@sun.com.
1957 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1959 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1961 2003-09-08 Bill Haneman <billh@gnome.org>
1963 * configure.in: Revved to 1.3.7.
1965 This is the GNOME 2.4.0 release of at-spi.
1967 * docs/reference/cspi/Makefile.am:
1968 Removed spurious inclusion of 'index.sgml' in the
1969 html directory; this was breaking make distcheck and
1970 also some other build environments.
1972 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1974 * registryd/registry.[ch}:
1975 Add queue_handler_id and focus_object to SpiRegistry data structure.
1976 (registry_flush_event_queue): If event being discarded is
1977 "state-change:focused" store object as focus_object.
1978 (registry_start_queue): Remove queue handler and focus object
1980 (registry_discard_event): New function which discards a focus event
1981 if we had stored focus object in the registry.
1982 (registry_queue_event): Add new check that is_queueing is set as this
1983 function is reentrant.
1984 (registry_filer_event): Add call to registry_discard_event.
1986 This resolves issues raised in bug #108664.
1988 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1990 * configure.in: Added "bn" to ALL_LINGUAS.
1992 2003-09-04 Bill Haneman <billh@gnome.org>
1994 * cspi/spi_event.c: Documentation improvements for
1995 (SPI_registerAccessibleKeylistener).
1997 * docs/reference/tmpl/spi_registry.sgml:
1998 Documentation improvements for SpiAccessibleKeylistenerCB.
2000 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2002 * configure.in: Added "ro" to ALL_LINGUAS.
2005 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2007 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2008 not decremented to zero. Fixes bug #120725.
2010 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2012 * configure.in: Added "ja" to ALL_LINGUAS.
2014 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2016 * configure.in: Added "is" to ALL_LINGUAS.
2018 2003-08-22 Christian Rose <menthos@menthos.com>
2020 * configure.in: Added "nl" to ALL_LINGUAS.
2022 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2024 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2025 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2027 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2029 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2030 type for unspecified exception.
2031 * cspi_streamablecontect): Add include of string.h for memcpy.
2032 (stream_release): Correct call to bonobo_object_release_unref
2033 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2034 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2035 argument of _cspi_expection_throw.
2036 * libspi/hyperlink.c: Add include of libspi/action.h:
2037 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2038 * libspi/streamablecontent.c: add include of libspi/component.h.
2039 * regisrtyd/deviceeventcontroller.c:
2040 (spi_dec_translate_mask): Removed unused variable priv.
2041 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2042 * registryd/registry.c:
2043 (registry_filter_event): Remove unused variable queue_is-empty.
2044 (impl_registry_notify_event): Use correct modifier in fprintf call.
2046 This fixes compiler warnings reported in bug #120220.
2048 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2050 * registryd/registryd.c: Remove this file.
2052 2003-08-17 Sanlig Badral <badral@openmn.org>
2054 * configure.in: Added mn to ALL_LINGUAS.
2056 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2058 * configure.in: Added et to ALL_LINGUAS.
2060 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2062 * test/event-listener-test.c: Change active-descendant to
2063 active-descendant-changed.
2065 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2067 * configure.in: Added "fi" in ALL_LINGUAS.
2069 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2071 * configure.in: Added "hi" in ALL_LINGUAS.
2073 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2075 * configure.in: Revved to 1.3.6.
2079 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2081 * registryd/deviceeventcontroller.c
2082 (spi_device_event_controller_object_finalize): Fix typo in previous
2085 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2087 * registryd/deviceeventcontroller.c
2088 (spi_device_event_controller_object_finalize): Fix build on
2089 systems without XEvIE.
2091 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2093 * acconfig.h, configure.in, registryd/Makefile.am,
2094 registryd/devicecontoller.[ch]: Add XEViE support.
2096 2003-08-06 Wang Jian <lark@linux.net.cn>
2098 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2100 2003-08-06 Metin Amiroff<metin@karegen.com>
2102 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2104 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2106 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2107 MODIFIER_ALT in correct place.
2109 This fixes part of bug #118114.
2111 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2113 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2115 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2117 * configure.in: Added "ko" to ALL_LINGUAS.
2119 2003-07-28 Ole Laursen <olau@hardworking.dk>
2121 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2123 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2125 * configure.in: Added "sq" to ALL_LINGUAS.
2127 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2129 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2131 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2133 * configure.in: updated ALL_LINGUAS list
2135 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2137 * configure.in: Added Belarusian to ALL_LINGUAS.
2139 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2141 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2143 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2144 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2146 This fixes bug #116949.
2148 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2150 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2151 Correct CSPI to SPI in function documentation.
2153 This fixes bug #118054.
2155 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2157 * configure.in: Added Russian to ALL_LINGUAS.
2159 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2161 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2163 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2165 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2167 2003-07-10 Joel Brich <joel.brich@laposte.net>
2169 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2171 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2173 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2175 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2177 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2178 resources allocated for AccessibleEvent. See cspi_event().
2180 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2181 static variable streams to NULL.
2183 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2184 Update so that AcessibleEvent_ref will work.
2186 This fixes bug #116624.
2188 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2190 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2192 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2194 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2196 2003-07-02 Christian Neumair <chris@gnome-de.org>
2198 * configure.in: Added "de" (German) to ALL_LINGUAS.
2200 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2202 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2204 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2206 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2208 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2210 * configure.in: Added "pl" to ALL_LINGUAS.
2212 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2214 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2216 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2219 (get_action_from_servant):
2220 Removed assertion that action is implemented on an AtkObject.
2222 * libspi/hyperlink.c:
2223 (spi_hyperlink_new):
2224 Aggregate AccessibleAction interface on the hyperlink object if
2225 the object implements AtkAction. (This convention is used in
2228 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2230 * configure.in: Revved to 1.3.5.
2232 * registryd/Accessibility_Registry.server.in.in:
2233 Marked up appropriate strings for translation.
2235 * atk-bridge/bridge.c: Marked a couple of
2236 user-visible warnings for translation. Questionable
2237 whether they are really useful, but possibly so.
2240 2003-06-28 Christian Rose <menthos@menthos.com>
2242 * configure.in: Added "sv" to ALL_LINGUAS.
2244 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2246 * registryd/registry.c:
2247 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2248 (registry_defer_on_event): Defer focus: events, this is an
2249 improvement to the patch for bug #108664.
2251 * TODO: Update with 2.4/"Dev Complete" items.
2253 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2255 * atk-bridge/bridge.c:
2256 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2257 looks up signals once.
2258 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2259 if doing registration.
2260 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2261 when doing registration.
2263 This fixes bug #115014.
2265 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2267 * atk-bridge/bridge.c:
2268 (atk_bridge_init): Add signal handler for children-changed:remove on
2269 root when in a BonoboComponent.
2270 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2271 for first toplevel only other incrememt variable toplevels.
2272 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2273 application and remove listeners.
2274 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2276 (spi_atk_deregister_event_listeners): New function which removes
2278 (reinit_register_vars): New fuction which reinitializes variables.
2280 This fixes bug #111578.
2282 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2284 * configure.in: version 1.3.4.
2286 * cspi/spi_accessible.c:
2287 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2290 2003-06-13 Michael Meeks <michael@ximian.com>
2292 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2294 * cspi/spi_main.c (cspi_peek_ev): impl.
2296 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2298 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2300 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2302 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2303 SPI_ROLE_AUTOCOMPLETE
2305 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2307 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2308 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2310 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2312 * libspi/streamablecontent.h:
2313 * libspi/streamablecontent.c:
2314 New files, provide implementation/wrappers for
2315 Accessibility_StreamableContent.
2317 * cspi/spi_streamablecontent.c:
2318 Connected the C wrappers to the libspi C bindings.
2319 (AccessibleStreamableContent_close): New method.
2322 (AccessibleStreamableContent_close): New method, needed
2323 since we have an "open, [seek], read, close" model in cspi.
2325 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2327 Fix for #108664; Padraig's revision of my original patch.
2329 * registryd/registry.h:
2330 Added event queue list, is_queuing, and exit_notify_timeout
2331 to the registry struct.
2333 * registryd/registry.c:
2334 (registry_init): Initialize new struct from registry.h.
2335 (impl_registry_notify_event):
2336 Filter events before notifying, in case some need to be
2338 (registry_filter_event): New,
2339 we defer certain incoming events (for instance
2340 window:deactivate) because we may wish to hide
2341 or reject them based on pending events. This is
2342 mostly a workaround for bug #108664.
2343 (registry_queue_event, registry_start_queue): New.
2344 (registry_defer_on_event): Test event to see if it
2346 (registry_reset_on_event): Returns TRUE if the
2347 event should cause a queue reset.
2348 (registry_discard_on_event): Returns TRUE if the event
2349 should cause the previous queue contents to be discarded.
2350 (registry_timeout_flush_queue): Flushes the pending event
2351 queue if no reset/discard-triggering events have come in
2352 within the timeout period.
2353 (registry_emit_event): New.
2354 (registry_clone_notify_context): New, used when queueing the
2355 event notify contexts.
2357 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2359 * configure.in: Version revved to 1.3.2, lt 0.9.2
2360 Incremented ATK required version to 1.3.4.
2362 * cspi/spi_registry.c:
2363 (SPI_generateKeyEvent):
2364 We now pass the keystring along if it's non-null.
2366 * registryd/deviceeventcontroller.c:
2367 (keysym_mod_mask): New method, returns modifier mask
2368 required to generate a keysym from a given keycode.
2369 (dec_synth_keysym): New method.
2370 (dec_synth_keystring): New method.
2371 (dec_get_modifier_state): New method.
2372 (dec_lock_modifiers): New
2373 (dec_unlock_modifiers): New.
2374 (dec_keysym_for_unichar): New, rather brute-force
2375 conversion from UCS-4 to X KeySyms. Only works for
2376 Latin at the moment, with partial implementations for
2377 Greek, Hebrew, and (incomplete) Katakana.
2378 (impl_generate_keyboard_event): Now implement
2379 "KEYSTRING" synthesis and implement "KEYSYM"
2381 (keycode_from_keysym): Improved, passes a returned
2382 modmask value now if the corresponding param is non-NULL.
2384 Fixes bugs #92143 and #109776.
2387 * test/keysynth-test.c:
2388 New test program for key synthesis, to confirm fixes for
2392 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2394 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2396 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2397 Add line for RELATION_POPUP_FOR
2399 * docs/reference/cspi/tmpl/spi_relation.sgml:
2400 Add relation SPI_RELATION_POPUP_FOR
2402 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2403 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2405 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2407 * libspi/relation.c (spi_init_relation_type_table):
2408 Add line for RELATION_POPUP_FOR
2410 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2412 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2413 there are still windows which have not been deleted and emit
2414 window:deactivate, if necessary and window:destroy events.
2415 This fixes bug #114370. The change on June 5th was not correct.
2417 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2419 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2422 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2424 New methods for client exception handling and interception.
2425 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2426 (SPI_exceptionHandlerPop): You guessed it...
2427 (SPI_getSourceType): Return the type of object which offended.
2428 (SPI_getExceptionCode): Return an enum code telling, possibly,
2429 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2430 (SPIAccessibleException_getSource): get the source object for
2431 exceptions that come from Accessibles, if SPIExceptionSourceType is
2432 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2433 (SPIException_getDescription): New, returns a string description of
2434 the problem. [Not yet a stable ABI, strings are not frozen]
2436 * cspi/spi-private.h:
2437 Added implementation details of opaque SPIException
2441 Implementations of above. Also
2442 (_cspi_exception_throw): new private method that
2443 dispatches exceptions to handlers, called from cspi-bonobo.c
2445 * cspi/bonobo/cspi-bonobo.c:
2446 (cspi_check_ev): call _cspi_exception_throw.
2447 Don't print a warning message if the exception has been
2448 handled by _cspi_exception_throw.
2450 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2452 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2453 there are still windows which have not been deleted and emit
2454 window:deactivate, if necessary and window:destroy events.
2455 This fixes bug #114370.
2457 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2460 (cspi_accessible_is_a): Make non-fatal
2461 if the object reference is dead.
2463 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2465 * cspi/spi_main.c: #include <stdio.h>
2466 * test/simple-at.c: ditto
2467 * test/event-listener-test.c: ditto
2468 * test/screen-review-test.c: ditto
2470 2003-05-30 Michael Meeks <michael@ximian.com>
2472 * test/test-simple.c (main): use CORBA_ORB_perform_work
2473 instead of an unnecessary linc_ call.
2475 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2477 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2478 Add SPI_STATE_INDETERMINATE.
2480 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2483 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2485 * libspi/stateset.c (init_state_type_tables): Add support for
2488 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2490 * configure: Update versions of atk and gail required.
2491 This fixes bug #113268.
2493 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2495 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2497 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2499 * libspi/Makefile.am:
2500 Ensure headers are generated before being used by c sources.
2502 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2505 Simplified lt versioning rules.
2506 Incremented version to 1.3.0, to indicate that we're on the
2507 unstable branch now.
2509 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2511 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2512 Add MKDB_OPTIONS=--outtput-format=xml
2514 * docs/reference/cspi/at-spi-cspi-docs.sgml
2515 docs/reference/idl/at-spi-idl-docs.sgml:
2516 Convert to Docbook XML.
2518 This fixes bug #111793.
2520 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2522 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2523 AcccessibleKeyEventType, AccessibleKeyMaskType.
2525 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2527 * cspi/state-types.h: Add documentation for AccessibleState.
2529 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2530 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2531 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2532 AccessibleComponentLayer.
2534 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2537 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2539 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2540 Accessible. Add description of AccessibleEvent,
2541 AccessibleEventListenerCB.
2543 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2546 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2547 documentation. Add description of AccessibleKeystrokeListenerCB,
2548 AccessibleKeyEventMask, AccessibleModifierMaskType,
2549 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2550 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2552 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2555 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2558 This fixes bug #104730.
2560 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2562 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2563 Set is_text field of Accessibility_DeviceEvent data structure.
2565 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2566 is-text field of AccessibleDeviceEvent data structure.
2568 This addresses part of bug #108666.
2570 * registryd/devcieeventcontroller.c: Unset debug option.
2572 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2574 * cspi/accessible.c:
2575 (cpi_initial_relation_type_table): New function which initializes
2576 mapping between Accessibility_RelationType and AccessibleRelationType.
2577 (cspi_relation_type_from_spi_relation_type): New function which
2578 translates an Accessibility_RelationType into an AccessibleRelationType.
2579 (AccessibleRelation_getRelationType): Use
2580 cpi_relation_type_get_spi_relation_type to return correct value.
2581 (spi_state_to_corba): Return correct type for default case.
2583 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2584 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2586 * cspi/cspi-bonobo-listener.c:
2587 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2590 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2591 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2592 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2593 libspi/image.c, libspi/listener.c, libspi/selection.c,
2594 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2595 registryd/desktop.c, registryd/registry.c:
2596 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2598 * libspi/eventlistener.c
2599 Remove semicolon after BONOBO_TYPE_FUNC.
2601 * libspi/relation.c:
2602 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2603 (spi_init_relation_type_table): Initialize using correct type.
2605 * registryd/desktop.c:
2606 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2607 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2608 of Accessibility_KeyEventType.
2610 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2613 * tests/simple-at.c, tests/screen-review-test.c:
2614 Add include for <strings.h>.
2616 * tests.stress-test.c:
2617 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2619 These changes fix compiler warnings when using FORTE compiler on
2620 Solaris; fixes bug #107479.
2623 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2626 * configure.in: revved to 1.1.10
2628 * libspi/keymasks.h:
2629 (SPI_KEYMASK_NUMLOCK): Added.
2631 * registryd/deviceeventcontroller.c:
2632 (spi_key_event_matches_listener): AND with a smaller
2633 bitmask (as we should).
2634 (spi_dec_translate_mask):
2635 New method, sets the virtual NumLock modifier bit
2636 if numlock is on. Eventually it can handle other virtual
2637 modifier bits if needed, or other marshalling from
2638 at-spi modifier masks to platform (X) masks.
2639 (spi_dec_key_listener_new):
2640 Call spi_dec_translate_mask to set up virtual mod bits
2641 in the 'mask' field when creating a new listener struct.
2642 (spi_dec_emit_modifier_event):
2643 Set the virtual (i.e. NumLock) bits before emitting event.
2644 (spi_controller_register_with_devices):
2645 Query for the NumLock modifier 'physical' bit if Xkb is
2646 present, for use in above methods.
2650 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2652 * registryd/deviceeventcontroller.c:
2653 (spi_keystroke_from_x_key_event):
2654 Instead of checking to see if the keysym is
2655 printable, check the string from XLookupString
2656 if available, get the first unicode character from it,
2657 and call g_unichar_isprint to determine whether the
2658 is_text flag should be TRUE or FALSE.
2662 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2664 * atk-bridge/bridge.c: Add support for extended events
2665 * cspi/spi_event.c: Add documentation and implementation for
2667 * tests/event-listener-test.c: Add tests for extended events.
2669 This fixes bugs #100424 and #100426.
2671 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2673 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2674 of LT_CURRENT. This fixes bug #89350.
2676 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2678 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2679 number of signal parameter values before accessing them. This fixes
2682 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2684 * configure.in: Fixed duplicate inclusion of -lspi.
2685 * branched for gnome-2-2/HEAD.
2686 [created tag "gnome-2-2"]
2688 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2690 * configure.in: 1.1.9 release.
2693 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2695 [needed by GOK, to fix bugs 107985 and 107988]
2696 * registryd/deviceeventcontroller.c:
2697 (spi_dec_clear_unlatch_pending):
2698 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2699 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2700 (spi_dec_init_mouse_listener):Emit warning if mouse button
2702 (spi_device_event_controller_forward_mouse_event):
2703 Removed unnecessary parens from a conditional.
2704 (global_filter_fn):Added TODO comment.
2705 (impl_generate_keyboard_event):
2706 Cancel a pending relatch if a 'delatching' key was
2709 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2711 * atk-bridge/bridge.c:
2712 Change atk_signal_child_changed to atk_signal_children_changed.
2713 Reorganize code in spi_atk_bridge_signal_listener().
2715 * test/event-listener-test.c:
2716 Add children_changed_listener and report_children_changed_event()
2717 to test AccessibleChildEvent_getChildAccessible.
2719 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2721 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2722 g_strdup to CORBA_String_dup (bug #105291)
2724 * test/event-listener-test.c (report_text_event): Add call to
2727 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2729 * registryd/deviceeventcontroller.c:
2730 (spi_keystroke_from_x_key_event):
2731 Fix string and keysym return codes to match modifier state.
2734 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2736 * registryd/deviceeventcontroller.c:
2737 (spi_keystroke_from_x_key_event):
2738 Fix segv due to improper use of isprint(c). [bug #107254]
2740 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2743 (get_accessible_text_boundary_type):
2744 Move default return value to (new) default case in switch.
2745 (get_accessible_text_clip_type):
2746 Move default return value to (new) default case in switch.
2748 * libspi/application.c:
2749 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2750 Remove unused methods.
2751 (impl_accessibility_application_register_object_event_listener):
2752 Remove unused methods.
2755 Added #include of <math.h>.
2757 * registryd/deviceeventcontroller.c:
2758 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2759 we don't currently use this method.
2760 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2762 (impl_generate_key_event):
2763 Remove unused variables.
2764 (impl_generate_mouse_event):
2765 Initialize button to zero, just in case we get an invalid
2766 input. Added support for mouse buttons 4 and 5.
2767 (spi_device_event_controller_new):
2768 Removed unused variable declaration for 'private'.
2770 Added #include of <gdk/gdk.h>
2772 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2774 * configure.in: Update to work when X is not installed in expected
2775 location. Fixes bug #105836.
2777 * atk-bridge/bridge.c
2778 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2780 (spi_atk_register_event_listener): Add signal listener for
2782 (spi_atk_bridge_signal_listener): Event event when link-selected
2783 signal is emitted. (bug #104622)
2785 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2786 on returned string. (bug #105291)
2788 * test/event-listener-test.c: Add test for link-selected.
2790 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2792 * atk-bridge/Makefile.am: Correct typo in previous commit.
2794 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2796 * atk-bridge/Makefile.am: Allow for build directory to be different
2797 from source directory
2799 * registryd/Makefile.am: Allow for build directory to be different
2800 from source directory
2804 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2807 Fixed dependencies for libcspi so that libspi gets pulled in
2808 properly. Fixes 104741.
2812 Clean up inline docs a little.
2814 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2816 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2817 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2818 the AtkObject within an SpiDesktop.
2819 This addresses bug #101524.
2821 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2822 Remove call to gdk_init().
2824 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2825 so that Display is set when SpiDesktop is created.
2827 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2829 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2830 This fixes bug #102830.
2832 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2834 * test/test-simple.c: Update to take account of fact that GailButton
2835 now implements AtkText.
2836 (create_text_window): Set name on AtkObject for GtkEntry.
2837 (validate_accessible): Check accessible name before calling test_text().
2839 * libspi/Makefile.am: Fix problem with building outside of source
2840 directory. Bug #98120.
2842 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2843 typo in documentation comments. Bug #94275.
2845 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2847 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2849 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2852 Add includes to avoid compiler warnings on Solaris.
2853 (impl_getRangeExtents): Bug fix.
2855 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2857 Fix for 100944, [API addition approved by Gman and murrayc].
2864 * idl/Accessibility_Text.idl:
2865 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2866 (Text::getRangeExtents): New method for efficient
2867 bounds query of a text range.
2868 (Text::getBoundedRanges): New method for efficient
2869 clipping of text to bounding boxes.
2870 (unImplemented7, unImplemented8):
2871 Removed these padding methods to preserve bincompat.
2874 (impl_getRangeExtents): implementation of new IDL.
2875 (impl_getBoundedRanges): implementation of new IDL.
2876 (SpiTextRect): Internal use struct.
2877 (_spi_text_rect_union): internal method, calculates union of two
2878 SpiTextRect bounding rects.
2879 (_spi_text_range_seq_from_gslist): internal method, allows us
2880 to build our sequence efficiently as a gslist then convert it
2882 (_spi_bounds_contain): internal method, determines whether
2883 a text character is "in" or "out" of a clip rect according to
2884 values of TEXT_CLIP_TYPE.
2885 (spi_text_class_init): Initialize the new methods in the epv.
2888 (AccessibleTextClipType): New enum used by screen review api.
2889 (AccessibleTextRange): New struct used by screen review api.
2890 (AccessibleText_getRangeExtents):
2891 cspi binding for Accessibility_Text_getRangeExtents.
2892 (AccessibleText_getBoundedRanges):
2893 cspi binding for Accessibility_Text_getBoundedRanges.
2894 (AccessibleTextRange_freeRanges): convenience method.
2897 (AccessibleText_getRangeExtents):
2898 cspi binding for Accessibility_Text_getRangeExtents.
2899 (AccessibleText_getBoundedRanges):
2900 cspi binding for Accessibility_Text_getBoundedRanges.
2901 (AccessibleTextRange_freeRanges): convenience method.
2902 (get_accessible_text_clip_type): internal conversion method.
2903 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2905 * registryd/deviceeventcontroller.c:
2906 (spi_dec_mouse_check):
2907 Improved behavior for mouse:abs events
2908 [same granularity as mouse:rel events, and no
2909 events when mouse is idle].
2911 2002-12-16 Michael Meeks <michael@ximian.com>
2913 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2915 * libspi/stateset.c (state_spi_to_atk): split out
2916 ( fix several remote array bounds nasties )
2917 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2918 (impl_remove): make safe from array bounds issues.
2919 (spi_atk_state_from_spi_state): impl.
2921 * libspi/stateset.h (spi_state_set_cache_is_empty):
2922 add a set of wrapper defines to get layering right.
2924 * cspi/spi_accessible.c: update state set stuff to
2927 2002-12-14 Michael Meeks <michael@ximian.com>
2929 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2930 to avoid 2 roundtrips to the registry per key event
2931 (spi_atk_bridge_key_listener): upd.
2932 (deregister_application): release the dec.
2934 * registryd/registry.c (notify_listeners_cb):
2935 bin lots of re-enterant complexity - we no longer
2936 do a round-trip bonobo ref here, ensure that a single
2937 listener's exception failure won't poison all other
2939 (impl_registry_notify_event): bin obvious memory leak.
2941 2002-12-13 Michael Meeks <michael@ximian.com>
2943 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2944 init the ev so the error is meaningful.
2945 (spi_atk_bridge_key_listener): ditto.
2947 * cspi/spi_main.c (cspi_ev): init the ev so we start
2948 with a clean slate, otherwise the first exception
2949 kills us completely.
2951 * cspi/spi_text.c (get_accessible_text_boundary_type):
2952 add a fallthrough for no warnings.
2954 * cspi/spi_registry.c: prune unused warnings.
2956 * cspi/spi_main.c (cspi_object_take): fix
2957 mind-blowing brokenness ( by watching the compile
2960 * cspi/spi_accessible.c (Accessible_getStateSet):
2961 re-impl. to use an AtkStateSet.
2962 (spi_state_type_from_accessible_state),
2963 (init_state_table): bin these.
2965 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2967 (atk_state_set_from_accessibility_state_set): here.
2969 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2970 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2971 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2972 (AccessibleStateSet_add, AccessibleStateSet_remove),
2973 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2974 (AccessibleStateSet_isEmpty): re-write to use a local
2977 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2979 * configure.in: Revved to 1.1.7 (new keymask vals).
2981 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2983 * libspi/keymasks.h:
2984 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2986 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2989 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2990 to compare two CORBA_TypeCodes.
2991 (cspi_internal_event_add): Silence warning from FORTE compiler.
2993 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2994 avoid implicit declaration of functions.
2996 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2998 * atk-bridge/bridge.c:
2999 (spi_atk_bridge_init_event_type_consts): Store signal id for
3000 active-descendant-changed signal.
3001 (spi_atk_register_event_listeners): Add signal listener for
3002 active-descendant-changed signal,
3003 (spi_atk_bridge_signal_listener): Move code in function
3004 spi_atk-signal_emit_event() into this function.
3005 Add support for active-descendant-changed
3006 Update support for child-changed signal.
3007 (spi_bridge_window_event_listener): Silence warning.
3009 * libspi/spi_private.[ch]:
3010 (spi_init_any_object): Change second parameter from CORBA_Object to
3012 Omit call to CORBA_Object_duplicate().
3013 Set CORBA_any's _value to CORBA_Object*.
3015 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3021 (AccessibleEvent_ref, AccessibleEvent_unref):
3022 New methods, for persisting an event outside the emission context.
3023 Must be used if the new accessor methods are to be called
3024 outside of the event listener's callback.
3026 * cspi/bonobo/cspi-bonobo.c:
3027 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3028 as second parameter instead of NULL, so we can call
3029 cspi_check_ev afterwards.
3032 (cspi_object_take): New internal method,
3033 converts a CORBA_Object reference to a hard ref on
3034 an Accessible if possible, returning NULL if the object
3035 reference is invalid or an Accessible * otherwise.
3038 (AccessibleEvent_ref):
3039 Increment the event's internal private refcount, and
3040 add the event's internal struct to an internal cache
3041 if it's not already there.
3042 (AccessibleEvent_unref):
3043 Decrement the event's refcount and remove it from
3044 the cspi event cache if refcount==0.
3045 (cspi_event_compare): New private method.
3046 Compares two event structs via their ids. Used
3048 (cspi_internal_event_lookup): New private method.
3049 (cspi_internal_event_check): New private method,
3050 a 0-order sanity check for events to make sure their
3051 private data is intact.
3052 (cspi_internal_event_add, cspi_internal_event_remove):
3053 New private methods for managiing the event cache.
3055 * cspi/bonobo/cspi-bonobo-listener.c:
3057 Initialize the new private data elements (id, magic, ref_count).
3059 * atk-bridge/bridge.c:
3060 (spi_atk_bridge_signal_listener):
3061 Fixed bug #100530, passing wrong params to emission func.
3063 * registryd/deviceeventcontroller.c:
3064 (spi_dec_button_update_and_emit):
3065 Fixed type in mask bit operations; fix for #99799.
3067 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3069 Removed some of the more dangerous workarounds from
3070 previous commit; they are only needed by GOK, which
3071 in reality should be using another method to accomplish
3072 the goals. So on reconsideration some of the workarounds
3073 need to be reverted:
3075 * registryd/deviceeventcontroller.c:
3076 (spi_keycodes_contain, spi_dec_init_keycode_list):
3077 Removed these methods, used only by a nasty hack to try
3078 and detect whether a key synthesis should be allowed
3079 to reset the XKB latch state or not. This code was only
3080 required to work around an interaction between GOK,
3081 button events, and XKB.
3082 (impl_generate_key_event):
3083 Removed hack at end of key generation that tried to
3084 "do the right thing" if XKB latch keys were generated
3085 in the midst of button press/release pairs.
3088 Added a check for HAVE_XINPUT. Not normally used yet.
3090 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3092 Workarounds and fixes for mouse event/XKB interaction.
3094 * registryd/deviceeventcontroller.c:
3095 (spi_keycodes_contain, spi_dec_init_keycode_list):
3096 New internal methods.
3097 (spi_dec_set_unlatch_pending):
3098 Split the method that tells XKB to expect an
3099 unlatch (and revert it) out of the rest of the
3100 event handling code. This method is called by the
3101 two mouse event handlers (the poll and the filter).
3102 (spi_dec_update_and_emit, spi_dec_mouse_check):
3103 New methods split from spi_dec_poll_mouse_moved.
3104 The second one is now called from inside the filterFn
3105 when an XKB delatch event is received, to determine
3106 whether to revert the delatch or not.
3107 (spi_poll_mouse_moved): Refactor; also we can now
3108 properly handle the case where multiple button states
3109 have changed between polling cycles and we didn't get
3110 notified due to another client's grab.
3112 Synchronize the server while handling an XKB notification.
3113 Ugly, but apparently necessary to avoid nasty races.
3114 Check the mouse state on receipt of an XKB latch change,
3115 to decide whether to revert the latch or not. (Latches are
3116 reverted if there is an immediately preceding mouse button
3117 event that a client has consumed, in which case we don't want
3118 the user to see the side-effect of the event).
3119 (spi_device_event_controller_forward_mouse_event):
3120 Check for modifier events and fire before resetting mouse_mask_state,
3121 prevents losing modifier events.
3123 (impl_generate_keyboard_event):
3124 If we've just generated a keyboard event for a non-shift key,
3125 we don't want to revert the pending XKB latch.
3126 Otherwise, check the modifier state (via a call to
3127 spi_dev_mouse_check) and set the relatch mask to
3128 that state before returning.
3130 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3133 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3136 * atk-bridge/bridge.c:
3137 (spi_atk_register_event_listeners):
3138 Don't re-register for ATK events if the registry has died
3139 and the app needs to re-register; the ATK listeners are in
3140 process and doing so will cause duplicate emission.
3142 * registryd/deviceeventcontroller.c:
3143 (spi_poll_mouse_moved):
3144 Reformat the source, detect and emit multiple button-change
3145 events (i.e. if multiple buttons have changed between poll
3147 Add code to detect mouse-down events even when the pointer
3148 is grabbed; workaround for GOK bug 98420.
3149 (spi_controller_register_with_devices):
3150 Call XTestGrabControl with 'impervious' flag set to True,
3151 allows us to synthesize events and query the pointer even during
3152 an active grab by another client.
3153 (spi_device_event_controller_forward_mouse_event):
3154 Set the mouse_mask_state to the mouse_button_state from
3155 the intercepted event, to synchronize the grab listener with
3158 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3160 * cspi/spi_accessible.c:
3161 (AccessibleRole_getName):
3162 Added necessary strings for making this (deprecated)
3163 method work with the new role types.
3164 (init_role_table, role_table):
3165 Added definition of SPI_ROLE_APPLICATION.
3167 * libspi/spi-roletypes.h:
3168 Added SPI_ROLE_APPLICATION.
3170 * idl/Accessibility_Role.idl:
3171 Added ROLE_APPLICATION.
3173 * docs/reference/cspi/at-spi-cspi-decl.txt:
3174 Added SPI_ROLE_APPLICATION to docs.
3176 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3178 * cspi/spi_accessible.c
3179 (cspi_init_role_table): Do not write beyond end of role_table.
3180 (Accessible_getRole): Use correct type for value returned by
3181 Accessibility_Accessible_getRole().
3183 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3184 beyond end of role_table. (This fixes bug #98269)
3186 * libspi/application.c: Add include file spi-private.h for
3187 definition of spi_init_any_nil.
3189 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3193 * libspi/spi-private.h:
3194 Added DGB() macro, and extern int _dbg declaration.
3196 * registryd/registry.c:
3197 (definitions) storage for _dbg.
3198 (spi_registry_init):
3199 Get environment variable "AT_SPI_DEBUG".
3200 (spi_registry_set_debug):
3201 New method, to initialize _dbg value.
3202 (spi_listener_struct_new, spi_registry_object_finalize):
3203 (notify_listeners_cb):
3204 Changed fprintfs to use DBG and g_warning().
3206 * registryd/deviceeventcontroller.c:
3207 (_deregister_keygrab, spi_controller_register_device_listener):
3208 Changed debug/warning messages to use DBG macro.
3210 * libspi/listener.c:
3211 (impl_notify_event):
3212 Changed warning messages to use DBG macro and g_warning().
3214 * atk-bridge/bridge.c:
3215 (atk_bridge_init, spi_atk_bridge_get_registry):
3216 (spi_atk_bridge_exit_func):
3217 (spi_atk_bridge_property_event_listener):
3218 Changed status, warning, and error messages to use
3219 g_warning, g_message, and DBG macros.
3222 Read the state of the AT_SPI_DEBUG environment variable
3223 and set a local '_dbg' accordingly.
3225 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3227 FIXES for 98836, 98842, other bugs.
3230 Revved to 1.1.4, interface-age=4, binary-age=4.
3232 * registryd/deviceeventcontroller.c:
3234 Fixed crasher bug in last_mouse_pos initialization.
3236 * registryd/registry.c:
3237 (desktop_add_application, desktop_remove_application):
3238 Added (and then commented out) some support for
3239 object context marshalling. [TODO]
3241 * atk-bridge/bridge.c:
3242 (spi_atk_bridge_event_context_create):
3243 Commented out object context creation until it can
3244 be properly tested and debugged.
3246 * registryd/registry.c:
3247 (impl_registry_notify_event):
3248 Fixed crasher bug, we were calling
3249 spi_re_entrant_list_foreach () with an empty list.
3251 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3253 * idl/Accessibility_Action.idl:
3254 * idl/Accessibility_Component.idl:
3255 * idl/Accessibility_Desktop.idl:
3256 * idl/Accessibility_Event.idl:
3257 * idl/Accessibility_Hyperlink.idl:
3258 * idl/Accessibility_Image.idl:
3259 * idl/Accessibility_Relation.idl:
3260 * idl/Accessibility_Selection.idl:
3261 * idl/Accessibility_State.idl:
3262 * idl/Accessibility_Value.idl:
3263 Updated unimplemented slot count to minimum of
3264 four for all interfaces, for ABI freeze.
3266 * idl/Accessibility_EditableText.idl:
3267 * idl/Accessibility_Text.idl:
3268 Updated unimplemented slot count to six
3271 * idl/Accessibility_Registry.idl:
3272 Updated unimplemented slot count to six
3273 (also for DeviceEventController),
3276 * idl/Accessibility_Table.idl:
3277 Updated unimplemented slot count to eight,
3280 * idl/Accessibility_Event.idl:
3281 Added CORBA_any "any_data" member to Event struct.
3283 * idl/Accessibility_Event.idl:
3284 Added CORBA_any "any_data" member to Event struct.
3286 * atk-bridge/bridge.c:
3288 atk_signal_text_changed, atk_signal_child_changed,
3289 signal ids queried from gtype system.
3290 (AtkBridgeEventContextType): New enum.
3291 (AtkBridgeEventContextData): New struct.
3292 (AtkBridgeEventContext): New struct.
3293 (atk_bridge_init_event_type_consts):
3294 New method, initializes type contants for comparison
3295 prior to emit_eventv.
3296 (atk_bridge_event_context_init): New method,
3297 initializes a CORBA_any from an AtkBridgeEventContext.
3298 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3299 initialize the event.any_data struct.
3300 (spi_atk_bridge_event_context_create): New method,
3301 creates an AtkBridgeEventContext from signal/event info.
3302 (spi_atk_bridge_event_context_free): New method.
3303 (spi_atk_emit_eventv): Changed to take an
3304 AtkBridgeEventContext parameter. We now initialize
3305 the event.any_data member prior to notifying the
3306 Registry, via the AtkBridgeEventContext.
3307 (spi_atk_bridge_property_event_listener):
3308 (spi_atk_bridge_state_event_listener):
3309 Match emit_eventv signature.
3310 (spi_atk_bridge_object_event_listener):
3311 Match emit_eventv signature, and create an
3312 event context from the event details.
3313 Free the event context afterwards.
3314 (spi_atk_bridge_window_event_listener):
3315 Create an event context, pass it to the
3319 (AccessibleEvent_getContextString):
3320 (AccessibleEvent_getContextObject):
3321 New methods, allow query of AccessibleEvent objects
3322 for more context details (via the "any_data" member
3323 of the Event struct, above).
3326 Definitions for AccessibleEvent_getContextString
3327 and AccessibleEvent_getContextObject.
3329 * cspi/spi_listener.h:
3330 (InternalEvent): New struct.
3333 (AccessibleEvent_getContextString):
3334 (AccessibleEvent_getContextObject):
3335 Implementations of new methods, for obtaining
3336 additional context information from some event types.
3338 * cspi/spi_registry.c:
3339 (SPI_registerGlobalEventListener):
3340 Added mention of active-descendant-changed event in docs.
3342 * cspi/cspi-bonobo-listener.c:
3344 Marshal the any into the AccessibleEvent via
3347 * libspi/spi-private.h:
3348 #include <orbit/orbit.h>
3350 (spi_init_any_string):
3351 (spi_init_any_object):
3352 New convenience function declarations.
3356 (spi_init_any_string):
3357 (spi_init_any_object):
3358 New convenience function implementations.
3360 * registryd/deviceeventcontroller.c:
3361 (spi_poll_dec_mouse_moved):
3362 (spi_device_event_controller_forward_mous_event):
3363 Initialize any_data member of event.
3364 (spi_deregister_controller_device_listener):
3365 Fix incorrect param pass which was preventing deregistration.
3367 * registryd/registry.c:
3368 (desktop_add_application):
3369 (desktop_remove_application):
3370 Add object data to event's any_data before dispatch.
3372 Fix for error messages from GAIL.
3374 * test/event-listener-test.c:
3375 Test new ContextString and "any_data" API:
3376 (report_text_event): New method query and output context string.
3377 (main): register a new text listener with report_text_event
3380 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3382 Fixes for bugs 98127 and 97914.
3383 * cspi/spi-roletypes.h:
3384 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3386 * cspi/spi-statetypes.h:
3387 Added SPI_STATE_MANAGES_DESCENDANTS
3389 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3390 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3391 * cspi/spi_accessible.c:
3392 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3393 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3394 Accessibility_STATE_MANAGES_DESCENDANTS
3395 * libspi/accessible.c:
3396 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3397 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3398 As requested by Bill, I also cleaned up the alignment.
3399 * libspi/relation.c:
3400 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3401 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3402 * libspi/stateset.c:
3403 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3404 Accessibility_STATE_MANAGES_DESCENDANTS
3405 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3406 Document changes reflecting modifications to roles.
3407 * docs/reference/cspi/tmpl/spi_relation.sgml:
3408 Document changes reflecting modifications to relations.
3409 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3410 Document changes reflecting modifications to states.
3412 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3415 Revved to 1.1.3, interface-age=3, binary-age=3.
3416 Added REBUILD macro.
3419 Removed accessx-gui from the tests, since we have a nice
3420 keyboard accessibility capplet now :-)
3422 * test/keysynth-demo.c:
3423 (increment_scan): removed do-nothing default: case,
3426 * test/visual-bell.c:
3427 (main) : removed do-nothing default: case,
3430 * cspi/spi_action.c:
3431 (AccessibleAction_getKeyBinding_):
3432 Documented keybinding string format.
3436 (AccessibleText_getAttributes):
3437 Documented the text attribute string format.
3438 It's changed to use semicolon delimiters also,
3439 to prevent clashes with CSS attributes, but the old
3440 trick of looking for ", " strings will still work
3441 (as unreliably as ever). Fix for bug related to 97916.
3444 Include <cspi/bonobo/cspi-bonobo-listener.h>
3445 Fixes build warning.
3446 (SPI_freeAccessibleKeySet):
3447 (AccessibleKeystrokeListener_addCallback):
3448 (AccessibleKeystrokeListener_removeCallback):
3449 Modify to use AccessibleDeviceListener API internally,
3450 instead of AccessibleKeystrokeListener.
3452 * idl/Accessibility_Event.idl:
3453 Added two more empty slots to EventListener (for a total of four).
3455 * idl/Accessibility_Accessible.idl:
3456 Added four empty slots to Accessible interface.
3458 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3460 * idl/Accessibility_Registry.idl:
3461 (KeyEventType, EventType):
3462 Marked KeyEventType as deprecated; it duplicates
3463 functionality of EventType, which has been extended to
3464 include Mouse-button events.
3465 (KeyEventTypeSeq): defined in terms of EventType.
3466 (registerDeviceEventListener, deregisterDeviceEventListener):
3467 New methods, for managing listeners to device events,
3468 which potentially may consume them.
3471 Added definition for AccessibleDeviceListener.
3473 * cspi/spi-listener.h:
3474 (enum AccessibleDeviceEventType):
3475 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3476 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3477 for backwards compat.
3478 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3479 and typedef'd AccessibleKeystroke to it for back-compat.
3480 (AccessibleDeviceListenerCB):
3481 New function prototype typedef.
3484 (AccessibleDeviceEventMask): New typedef.
3485 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3486 (AccessibleKeyMaskType):
3487 Set equivalent to AccessibleModifierMaskType for back-compat.
3488 (SPI_createAccessibleKeystrokeListener):
3489 (AccessibleKeystrokeListener_unref):
3490 Deprecated in favor of equivalent (better-named) new API below..
3491 keystroke listeners are like all device listeners.
3492 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3493 New API names for old features :-).
3494 (AccessibleDeviceListener_addCallback):
3495 (AccessibleDeviceListener_removeCallback):
3496 (SPI_registerDeviceEventListener):
3497 (SPI_deregisterDeviceEventListener):
3501 (SPI_createAccessibleKeystrokeListener):
3502 Use new preferred API, cspi_device_listener_new() and
3503 cspi_device_listener_add_cb().
3504 (AccessibleKeystrokeListener_removeCallback):
3505 Use new preferred API, cspi_device_listener_remove_cb().
3506 (AccessibleKeystrokeListener_unref):
3507 Use new preferred API, cspi_device_listener_unref().
3508 (SPI_createAccessibleDeviceListener):
3509 (AccessibleDeviceListener_addCallback):
3510 (AccessibleDeviceListener_removeCallback):
3511 Implementation of new API.
3513 * cspi/spi_registry.c:
3514 (SPI_registerDeviceEventListener):
3515 (SPI_deregisterDeviceEventListener):
3516 Implementation of new API. Fixed memory leak and removed need to
3517 allocate EventTypeSeq (thanks Michael for catching this).
3518 Squashed a wayward CORBA_exception_free that shouldn't get called.
3520 * cspi/bonobo/cspi-bonobo-listener.c:
3522 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3523 (cspi_key_event): renamed to cspi_device_event().
3524 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3525 Extended to handle mouse button events as well as key events.
3526 (CSpiKeystrokeListener):
3527 Class superceded by CSpiDeviceListener.
3528 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3529 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3531 * cspi/bonobo/cspi-bonobo-listener.h:
3532 (CSpiKeystrokeListener):
3533 Class superceded by CSpiDeviceListener.
3534 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3535 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3537 * libspi/Makefile.am:
3538 Replaced keystrokelistener.h and keystrokelistener.c
3539 with devicelistener.h and devicelistener.c; keystrokelisener.h
3540 stub retained for back-compat.
3542 * libspi/keystrokelistener.c:
3546 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3548 * registryd/deviceeventcontroller.c:
3549 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3550 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3551 (DEControllerPrivateData): Added xkb settings data.
3552 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3553 button release events (which can't be captured via XGrabButton).
3554 Don't dispatch via the 'normal' event mechanism if the device event was
3556 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3557 Handle the typeseq data in its new location (see above).
3558 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3559 New methods, for "generic" device listeners.
3560 (spi_controller_register_device_listener):
3561 Now handle mouse event listeners as well as key listeners.
3562 (spi_controller_notify_mouselisteners):
3563 New internal method.
3564 (spi_device_event_controller_forward_mouse_event):
3565 Now we notify mouse device listeners as well as generating the
3566 non-consumable "mouse:" events.
3568 We must check and restore the XKB
3569 modifier map if we consume the event, since the act of triggering
3570 a mouse event will normally reset the XKB latch. This is required for
3572 (spi_controller_register_with_devices):
3573 Load the XKB settings when registering, and register for XKB
3574 state notify events.
3575 (spi_key_eventtype_seq_contains_event):
3576 Renamed spi_eventtype_seq_contains_event, since it's used
3577 internally for all device event types now.
3578 (spi_key_event_matches_listener):
3579 Uses spi_eventtype_seq_contains_event now.
3580 (spi_device_event_controller_object_finalize):
3581 Free the private data and the XkbKeyboard struct.
3582 (impl_register_device_listener, impl_deregister_device_listener):
3583 Implementation of new IDL.
3584 (spi_deregister_controller_device_listener):
3585 New internal method.
3586 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3587 More efficient implementation, we don't have to create a new
3588 XkbControls structure every time we query.
3589 (spi_device_event_controller_class_init):
3590 Initialize the epv entries for the new IDL. Assign the
3591 "spi-dec-private" quark.
3592 (spi_device_event_controller_init):
3593 Initialize the private data.
3594 (spi_device_event_controller_forward_key_event):
3595 Removed a bogus CORBA_exception_free() call.
3597 * registryd/deviceeventcontroller.h:
3598 Replaced inclusion of keystrokelistener.h with
3601 * test/event-listener-test.c:
3602 (report_mouse_event):
3605 Added mouse-event device listener.
3607 * test/test-simple.c:
3608 (create_test_window):
3609 Fixed regression (we were instantiating a GtkRange,
3610 which is now an abstract class). Also fixed to match
3611 existing AtkRole names, this seems to have changed in ATK
3612 awhile ago; too late now I think, and the new
3613 mechanism is at least elegant and consistent with the
3614 glib enum "nick" APIs.
3616 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3618 * idl/Accessibility_Relation.idl:
3619 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3620 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3621 * idl/Accessibility_Role.idl:
3622 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3623 * idl/Accessibility_State.idl:
3624 add STATE_MANAGES_DESCENDANTS
3625 * test/event-listener-test.c:
3626 Added a listener for active-descendant events.
3628 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3630 * atk-bridge/bridge.c
3631 (atk_bridge_init): If application is Bonobo component wait until top
3632 level is added before registering
3633 (spi_atk_bridge_do_registration): New function which contains code,
3634 formerly in atk_bridge_init, to do application registration.
3635 (spi_atk_bridge_toplevel_added): Signal called when top level
3636 added to Bonobo component
3638 This fixes bug #83134.
3640 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3642 * registryd/deviceeventcontroller.c
3643 Fixed compilation error caused by calling gettimeofday()
3646 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3651 Added template for HAVE_XKB.
3654 Changes to check for XKB, and to set the HAVE_XKB #define if it
3657 * libspi/listener.c:
3658 ()impl_notify_event): Make failure to get event source name
3661 * registryd/deviceeventcontroller.c:
3662 (#include): include X11/XKBlib.h.
3663 (DEControllerPrivateData) : New struct.
3664 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3666 (dec_synth_keycode_press) (dec_synth_keycode_release):
3667 New methods; split the key synthesis code into these methods.
3668 They check XKB settings before determining the "time" values to
3669 pass to Xtest; this fixes bug #95828.
3670 (impl_generate_keyboard_event): Changed to use methods above,
3671 instead of callng Xtest directly.
3672 (spi_device_event_controller_init): Initialize new privae struct s
3674 (spi_device_event_controllr_object_finalize):
3675 Free the (new) private data.
3677 * registryd/deviceeventcontroller.h:
3678 Add new gpointer to end of struct data.
3680 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3683 Incremented revision to 1.1.2, SONAME is still '.so', library
3684 extensions are ".so.0.0.2".
3686 * registryd/deviceeventcontroller.c:
3687 FIXES FOR #93592 and #95940.
3688 (statics): renamed mouse_button_state to mouse_mask_state,
3689 added key_modifier_mask.
3690 (spi_dec_poll_mouse_moved):
3691 Added key modifier checks, and emit "keyboard:modifiers"
3692 events when the key modifiers currently in use change.
3693 Also generate "mouse:abs" events periodically, even if the mouse
3694 is stationary (should we?).
3695 Alternatively we could generate "mouse:abs" events for either all
3696 mouse movements, or every 'nth' mouse movement, or at the
3697 beginning and end of every "active" mouse period.
3699 * test/event-listener-test.c:
3700 (main): Added listener for "keyboard:modifiers" events.
3702 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3704 * libspi/keymasks.h:
3705 Added key mask #defines for mouse buttons; e.g.
3706 SPI_KEYMASK_BUTTON1, etc.
3709 Incremented dependency on ATK to version 1.1.0. (This dependency
3710 is probably premature but will soon be real enough).
3712 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3714 * libspi/hyperlink.[ch]
3715 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3716 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3719 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3724 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3726 * registryd/deviceeventcontroller.c
3727 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3728 events to be ignored.
3729 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3730 keyboard_mode so that XAllowEvents() can be called.
3734 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3736 * cspi/spi-accessible.c: Correct names of roles returned by
3737 AccessibleRole_getName(). Fixes bug #95055.
3739 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3741 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3744 * registryd/registry.c
3745 (desktop_remove_application: Write diagnostic message to stderr for
3748 (impl_accessibility_registry_deregister_global_event_listener):
3749 Correct size of lists array. This addresses bug #94555).
3751 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3753 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3756 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3758 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3761 * registryd/registry.c (impl_registry_notify_event): Remove
3762 unnecessary call to parser_event_type().
3764 * docs/reference/cspi/tmpl/spi_component.sgml:
3765 Add reference to SPI_LAYER_WINDOW.
3767 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3769 * registryd/registry.c
3770 (desktop_add_application): Remove leak.
3771 (desktop_remove_application): Remove leak.
3772 (parser_event_type): Remove leak.
3774 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3776 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3777 bogus call to CORBA_string_dup(). Also removed unnecessary
3778 g_string_dup/g_free calls.
3780 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3782 * registryd/deviceeventcontroller.c:
3783 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3785 * test/event-listener-test.c:
3786 main: commented out three redundant listeners, to reduce output
3787 noise. (They still are potentially useful for testing).
3790 2002-09-13 Michael Meeks <michael@ximian.com>
3792 * Update all the copyrights to include Ximian.
3794 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3796 * cspi/spi.h: add SPI_LAYER_WINDOW.
3798 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3799 add Accessibility_LAYER_WINDOW case.
3801 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3803 * libspi/component.c: (impl_accessibility_component_get_layer):
3804 add ATK_LAYER_WINDOW case.
3806 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3808 * configure.in: incremented micro version.
3810 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3812 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3815 Clarified and reworded our commit policy.
3818 Started an API "todo" addition list for 2.2.
3821 (impl_getSelection):
3822 Free char pointer from atk_text_get_selection, which was being leaked.
3824 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3827 Small revision to author acknowledgement.
3829 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3831 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3832 If signal has detail add it to the type of the event.
3835 2002-08-12 Michael Meeks <michael@ximian.com>
3837 * test/test-simple.c (global_listener_cb): bin bogosity.
3838 (test_keylisteners): disable, still doesn't work reliably,
3839 certainly not on my system anyway.
3841 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3842 don't leak a reference on the DEC. This round-trip
3843 fetching of the DEC per keystroke sucks, it should be
3846 * cspi/spi-private.h,
3847 * cspi/cspi-lowlevel.h,
3848 * cspi/bonobo/cspi-bonobo-listener.[ch],
3849 * cspi/bonobo/cspi-bonobo.c: get the copyright
3850 notices better - there is still a large amount of
3851 work in at-spi falsely attributed solely to Sun.
3853 * cspi/spi_main.c (cspi_object_ref): kill bogus
3854 hash lookup, just increment the ref.
3855 (SPI_freeString): make explicit the fact that we
3856 handle NULL strings just fine.
3857 (report_leaked_ref): obey coding standards.
3858 (cspi_object_hash, cspi_object_equal): kill retval.
3859 (cspi_object_release): only release if not on loan.
3860 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3861 (cspi_object_borrow, cspi_object_return): impl.
3863 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3864 use cspi_object_borrow / return.
3866 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3868 * cspi/bonobo/cspi-bonobo-listener.c:
3870 Don't call cspi_oject_new() because this is creating a new Accessible
3871 every single time that an event is fired. This causes ATs like at-poke
3872 to nolonger recognise the source of the event and thus ignore it.
3873 Re-use the object from the cache, ref it and then unref it after the
3874 listeners have been called.
3876 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3878 * test/event-listener-test.c:
3879 Added command-line options to disable mouse events (m) and
3882 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3884 * configure.in: Update required versions of ATK, GTK+ and GAIL
3886 * cspi-1.0.pc.in: Add dependency for X include files
3889 * cspi/bonobo/Makefile.am:
3890 Add $(X_CFLAGS) so that X include files
3891 are picked up even if not in standard place (bug #71686)
3893 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3895 * registryd/deviceeventcontroller.c: fix for 84261
3896 (spi_dec_mouse_moved):
3897 Added test of mouse button mask, so that we can detect mouse
3898 button release. Unfortunately we can't otherwise detect mouse
3899 button release events without consuming the mouse press event,
3900 because of the way XGrabButton works. This means that our mouse
3901 release events have a latency dependent on the polling period
3902 while the mouse button is down. At least in this case we only
3903 have to poll while the button is down, and not at other times.
3904 If the button masks don't match with what the last press event
3905 reported, we report the appropriate button release event.
3906 (spi_dec_ungrab_mouse):
3907 New method (not yet called).
3908 (spi_device_event_controller_forward_mouse_event):
3909 New method, sends mouse press event from GdkFilter.
3910 (spi_dec_init_mouse_listener):
3911 Added code to call XGrabButton, redirecting mouse button events to
3912 the root window and our Gdk event loop.
3914 Added code to filter mouse button events, and reordered.
3916 * test/event-listener-test.c:
3918 Added registration for mouse events of type "mouse:button".
3920 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3922 * registryd/deviceeventcontroller.c: partial fix for 84261
3923 (spi_dec_poll_mouse_idle):
3924 New method, a timeout which checks to see if the mouse
3926 (spi_dec_poll_mouse_moving):
3927 A timeout to be called when mouse motion is underway.
3928 (spi_dec_poll_mouse_moved):
3929 A method which fires an event if the mouse has moved, and reports
3930 whether or not it did so.
3931 (spi_dec_init_mouse_listener):
3932 A method which sets up the timeouts above.
3933 (spi_device_event_controller_new):
3934 Now calls spi_dec_init_mouse_listener.
3936 * registryd/registry.c:
3937 (spi_registry_init):
3938 Now we initialize the device event controller when the registry is
3939 initialized, instead of waiting until a client has requested a key
3940 event notification; this is because we need the event controller
3941 for mouse events, but the mouse event registration API is a
3942 "registry" call and doesn't explicitly call the
3943 deviceeventcontroller.
3944 We now report mouse motion events with a 100 ms idle latency and
3945 a 20 ms granularity when motion is in progress.
3947 * test/event-listener-test.c:
3949 We now register the "detail listener" for events of type
3950 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3951 delivered only for the first mouse event received, and thereafter
3952 "mouse:abs" events are delivered.)
3954 * cspi/spi_registry.c:
3955 DOCS: Documented the above mouse event typestrings.
3957 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3959 Happy Summer Solstice...
3961 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3962 (spi_controller_notify_keylisteners):
3963 Changes to remove a listener from the listener list, freeing its
3964 open keygrabs, if a notification to that listener fails. This
3965 means that although a dead listener can continue to hold a passive
3966 keygrab, a maximum of one dispatch to such a listener can fail
3967 before the listener is removed from the list, thus the keygrab
3968 will be released on the next occurrence.
3969 As part of this fix:
3970 (spi_notify_keylisteners):
3971 Renamed to spi_controller_notify_keylisteners, as the controller
3972 instance must now be passed as an argument.
3973 The copied 'notify' GList is now a list of DEControllerKeyListener
3974 objects, since we need more than just the CORBA reference if a
3975 notify fails and we need to deregister the listener.
3976 (impl_notify_listeners_sync):
3977 (impl_notify_listeners_async):
3978 (spi_device_event_controller_forward_key_event):
3979 Modify use of notify_keylisteners in accordance with above
3981 (spi_deregister_controller_key_listener):
3982 New method introduced by refactoring, from
3983 impl_deregister_keystroke_listener.
3984 (impl_deregister_keystroke_listener):
3985 Call spi_deregister_controller_key_listener.
3986 (spi_key_listener_clone):
3987 New method to copy a key listner without doing a 'ref' on the
3988 remote object instance; used to create a notifier list.
3989 (spi_key_listener_data_free):
3990 New method, frees data without unreffing the source.
3992 (spi_key_listener_clone_free): new method.
3993 (spi_key_listener_free):
3994 refactored to call spi_key_listener_data_free.
3996 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3998 * registryd/registry.c: [fix for bug 86048]
3999 (notify_listeners_cb):
4000 Clear CORBA system exceptions which occur when notifying
4001 listeners, before returning to the source of the original event,
4002 since the event source doesn't care if the relayed notify failed.
4003 In other words, don't complain to the atk-bridge if the registry
4004 could not notify all its listeners, that's no fault of the
4005 application and thus should not appear to be an error from the
4006 application's perspective.
4008 * cspi/spi_main.c: [fix for bug 85980]
4010 Replaced use of bonobo_object_dup_ref with call to the wrapper
4011 method, csou_dup_ref (); this silences a compiler warning and
4012 provided more portability.
4014 Ping the registry before return, and restart if necessary.
4016 * cspi/bonobo/cspi-bonobo.c:
4018 New internal method.
4020 Fixed this method to return an object reference, as it should have
4023 * cspi/cspi-lowlevel.h:
4024 Added internal definition for cspi_ping() and fixed
4025 return type of cspi_dup_ref().
4028 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4030 * atk-bridge/bridge.c: [fix for bug 85305]
4031 (spi_atk_bridge_register_application):
4032 New method where the initial application registry calls have been
4033 moved; it allows an application to re-register in response to
4034 certain error conditions (such as a registry restart, see below).
4036 Moved some initialization code to the method
4037 spi_atk_bridge_get_registry, below.
4038 (spi_atk_bridge_get_registry):
4039 New, private accessor function for the Accessibility_Registry
4040 instance. If the registry has not been started before, or has
4041 died (as detected by failure of a CORBA exception), it is
4042 restarted before return, and spi_atk_bridge_register_application
4043 is called again to register with the new bridge instance.
4044 (spi_atk_emit_eventv):
4045 Set registry_died on error; use spi_atk_bridge_get_registry () to
4046 access the registry.
4048 * registryd/registry.c:
4049 (impl_accessibility_registry_register_global_event_listener):
4050 Set listener's event_type_quark to etype.minor instead of
4051 etype.major (fix for bug 84856).
4053 * test/event-listener-test.c:
4054 (report_detail_event):
4055 Change the output string so that user/tester can tell that the
4056 'detail listener' was called instead of the 'generic listener'.
4058 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4060 Fixes for bugs 84900, 84908, 84897, 84898.
4065 Revved version to 1.1.0
4066 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4067 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4069 * idl/Accessibility_Registry.idl:
4070 (EventListener::notifyEvent):
4071 Removed 'oneway' directive after extensive consulation with
4072 ORBit2 team and others. This means also that unref() of the event
4073 source can and should be done synchronously after emission, rather
4074 than remotely in the client, after servicing the notify call on
4077 NOTE: This change speeds up listener performance considerably, but
4078 introduces new latency on the application side. We may want to
4079 add an event queue to the atk-bridge.
4081 * atk-bridge/bridge.c:
4082 (spi_atk_bridge_focus_tracker):
4083 Do a local unref() on the event source after emission.
4085 * registryd/registry.c:
4086 (desktop_remove_application):
4087 Do an unref() on the event source after emission.
4088 (desktop_add_application):
4089 Do an unref() on the event source after emission.
4090 (notify_listeners_cb):
4091 When relaying an event, don't automatically add the event source
4092 to the local object cache, just CORBA_dup it instead. Likewise,
4093 if this method reenters, release the ref rather than calling
4095 (impl_registry_notify_event):
4096 No longer call remote unref() on the event source after dispatch.
4098 * libspi/eventlistener.c:
4099 (impl_accessible_event_notify_event):
4100 Removed remote unref ()
4102 * cspi/bonobo/cspi-bonobo-listener.c:
4104 We now call cspi_object_new() instead of cspi_object_add() on
4105 receipt of an event; thus we only have an implicit object ref
4106 while the cspi_event method is being executed. If we need to keep
4107 a reference to the object, the listener must call ref() on the
4108 object. Thus also we don't need to call cspi_object_unref() after
4109 invoking the listener callbacks in this method.
4113 New internal API for creating a new cspi object, without adding it
4114 to the object cache.
4116 Now uses cspi_object_new() to create the cspi object instance.
4118 Now checks to see if the object is in the internal object cache,
4119 and adds it if necessary before incrementing its refcount (note
4120 that new objects are added with a refcount of 1).
4121 (report_leaked_ref):
4122 New method which gives some information on leaked object instances
4123 if leak detection is turned on.
4125 * test/event-listener-test.c:
4126 (timing_test_event):
4127 New method, used for testing event delivery timing for special
4128 events of type "object:test". It reports elapsed time and
4129 events/sec every 500 events.
4131 Added a new listener, 'test listener', to check timing of event
4132 receipt as noted above.
4134 Added some timing output here also, reports elapsed time every 100
4137 * test/stress-test.c:
4138 Emit events of type "object:test", for use with "event-listener-test".
4140 * test/test-simple.c:
4141 (global_listener_cb):
4142 Call Accessible_ref() on the event source before calling
4143 validate_accessible, since the validation process does pointer
4144 comparisons on the event source, meaning that the event source
4145 needs to be added to the local object cache first. Any use of
4146 such pointer comparisons between Accessible objects requires that
4147 the caller hold an explicit reference to those objects.
4148 We also must therefore call Accessible_unref() when leaving this method.
4150 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4152 * registryd/deviceeventcontroller.c:
4153 (spi_controller_update_key_grabs):
4154 Fix for #84735, subsequent keygrab listeners not informed of
4155 registration failure.
4158 (spi_base_construct):
4159 Add an assertion on construct, to make sure the GObject passed in
4160 is really a GObject.
4162 Explicitly initialize object->gobj pointer to NULL;
4164 * cspi/bonobo/cspi-bonobo-listener.c:
4165 (cspi_object_add_ref):
4166 New method, can specify whether to dup-ref a bonobo object passed
4167 in if it's newly added to the object cache.
4169 Now calls cspi_object_add_ref with second param of "FALSE". This
4170 prevents us from doing a pointless dup-ref followed by
4171 release-unref for all those cases where the object is already in
4172 our object cache (fix for #85205).
4174 * atk-bridge/bridge.c:
4175 (spi_atk_bridge_idle_init):
4176 Removed this method, we don't need to initialize in an idle
4179 Changed to call spi_atk_register_event_listeners directly, not via an
4180 idle handler. (fix for #81139)
4181 (gnome_accessibility_module_shutdown):
4182 Removed conditional around deregistration of listeners, since we
4183 don't use the idle handler and thus have always registered when
4185 (spi_init_keystroke_from_atk_key_event):
4186 Changed references to Accessibility_KEY_PRESSED to
4187 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4189 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4191 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4196 * test/stress-test.c:
4199 (may have been an incomplete commit yesterday?)
4201 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4204 Added target for new stress-test.
4206 * test/stress-test.c:
4207 New test, sends 1000 focus notifies in quick succession.
4209 * test/key-listener-test.c:
4210 Now we report whether a keylistener registration
4211 request succeeded or failed.
4213 * test/event-listener-test.c:
4214 Uncommented some listeners which are now implemented.
4217 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4219 * registryd/deviceeventcontroller.c:
4220 (spi_controller_update_key_grabs):
4221 Fix for #82509, lack of failure notification when
4222 ALL_WINDOWS keygrabs fail due to XGrabKey
4223 failure: we synchronize the server when
4224 registering a passive grab, to make sure we get the
4225 error message before the call returns.
4227 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4229 * test/test-simple.c:
4231 Removed #ifdef KEY_IMPL_WORKS guards.
4232 (test_keylisteners):
4233 Removed #ifdef KEY_IMPL_WORKS guards.
4234 Fixed bug which was causing a hang waiting for a
4235 "press" event (which was already overwritten by a "release"
4236 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4238 Added code to set globals 'key_press_received' and
4239 'key_release_received'.
4242 Added section "1.1 API Proposed Additions" which
4243 lists API additions desired for at-spi-1.1 (only one so far).
4244 Updated TODO list a little.
4246 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4248 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4251 * configure.in: Revved to 1.0.0.
4253 * idl/Accessibility_Registry.idl:
4254 (registerKeystrokeListener):
4255 Added boolean return value.
4257 * registryd/registry.c:
4258 (notify_listeners_cb): Minor fix to debug output.
4260 * registryd/Accessibility_Registry.server.in.in:
4261 Revved version number in OAFIID to 1.0.
4263 * registryd/registryd.c:
4265 Use new OAFIID version.
4267 * cspi/bonobo/cspi-bonobo.c:
4269 Use new OAFIID version.
4275 * atk-bridge/bridge.c:
4277 Use new OAFIID version.
4279 * registryd/deviceeventcontroller.c:
4280 (impl_register_keystroke_listener):
4281 Added CORBA_boolean return value.
4282 (spi_controller_register_device_listener):
4283 Added gboolean return value.
4284 (spi_controller_register_global_keygrabs):
4285 Added gboolean return value.
4286 (spi_key_set_contains_key):
4287 Added implementation for many more control keys,
4288 for instance F1-F12, arrow keys, End, Home, Page_Up,
4290 [TODO: some still not implemented].
4292 * text/screen-review-test.c:
4293 (text_chunk_pad_string):
4294 New function: it provides mapping between coordinate
4295 positions of text chunks and character positions in the
4296 screen-review-line output string.
4297 (text_chunk_to_string):
4298 New function, calls text_chunk_pad_string with various
4299 pad/delimiter characters. Pushbuttons are delimited with
4300 square brackets, Frames with vertical 'pipe' lines, and
4301 other text with double quotes.
4302 (text_chunk_list_to_string):
4303 Calls new function text_chunk_to_string.
4304 (toplevel_composite):
4305 New function to composite layers CANVAS through
4306 POPUP in each toplevel (other layers are composited
4307 across toplevels, i.e. BACKGROUND and OVERLAY).
4308 (review_buffer_composite):
4309 Revise to use new methods.
4315 2002-05-31 Laszlo Peter <laca@sun.com>
4317 * configure.in: add the Xtst libdir to the runpath on Solaris,
4318 since it's not in the default library search path.
4320 2002-05-29 jacob berkman <jacob@ximian.com>
4322 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4324 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4326 * test/screen-review-test.c:
4327 (text_chunk_pad_string):
4328 Added method, which pads the string according to the
4329 text bounds of the chunk. It also takes a 3-character
4330 string as a param which indicates the characters to be
4331 used for start, padding, and end delimitation of the chunk.
4332 (text_chunk_to_string):
4333 Changed to use text_chunk_pad_string.
4335 * configure.in: Fixed bug in AC_OUTPUT that was
4336 causing path substitution in Accessibility_Registry.server
4339 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4341 * text/screen-review-test.c:
4342 (guess_string_clip):
4343 New method which attempts a best-guess at clipping
4344 text from components (like Java labels) which don't
4345 actually implement AccessibleText. This inaccurate
4346 clip is based on the assumption that the label is
4347 justified left-and-right, and monospaced.
4348 (text_chunk_get_clipped_string):
4349 We now call guess_string_clip() for text-containing
4350 components that don't implement AccessibleText.
4352 * test/screen-review-test.c:
4353 (review_buffer_get_text_chunk):
4354 We now pull "name" from labels if they do not implement
4355 AccessibleText (i.e. for Java labels).
4356 (get_screen_review_line_at):
4357 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4360 Replaceded AC_OUTPUT target
4361 registryd/Accessibility_Registry.server with
4362 registryd/Accessibility_Registry.server.in.
4364 * registryd/Accessibility_Registry.server.in:
4365 Removed (this is now a Makefile target).
4367 * registryd/Accessibility_Registry.server.in.in:
4368 Added (source for target above). We now use $(libexecdir) as
4369 prefix for the executable at-spi-registryd.
4371 * registry/Makefile.am:
4372 Now install at-spi-registryd into $(libexecdir), and build .server
4373 file with path (see above).
4375 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4377 * test/screen-review-test.c:
4378 (text_chunk_get_clipped_string):
4379 We now check to see if words fall within clip bounds
4380 before resorting to character-by-character clip bounds testing.
4382 * TODO: Added a section for "2.2 Proposed API Additions".
4384 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4386 * test/screen-review-test.c:
4388 Added a screen review benchmarking and test program to test
4391 * cspi/spi_accessible.c:
4393 Made some of the debug strings passed to cspi_check_ev a
4394 little more specific.
4396 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4398 * test/screen-review-test.c: Fix crashes in debug statements
4400 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4402 * test/screen-review-test.c: Added this file.
4404 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4406 * atk-bridge/bridge.c: changed "object:state-change" to
4407 "object:state-changed" to match docs.
4409 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4411 * atk-bridge/bridge.c: Hooked up state-change event details.
4413 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4415 * registryd/registry.c:
4416 Fixed quarking bug in event string parsing; now events with
4417 detail parameters get matched correctly to listeners.
4420 * util/idl/Magnifier.idl: remove.
4422 * util/*.[ch]: Remove.
4423 Magnification utilities and IDL are now in module gnome-mag.
4425 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4427 * registryd/deviceeventcontroller.c:
4428 Fixed bug in grab key conversion which was causing keycode grabs
4429 to be converted to AnyKey grabs.
4432 updated NEWS file to reflect recent spin-off of gnome-mag.
4434 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4436 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4437 busted AccessibleStateSet_compare. Removed redundant casts.
4439 * cspi/spi-action.c: Removed redundant casts.
4441 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4443 * cspi/spi_component.c: Fixed typos and casting error.
4445 * cspi/spi_editabletext.c: Removed redundant casts.
4447 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4449 * cspi/spi_hypertext.c: Eliminated redundant casts.
4451 * cspi/spi_image.c: Eliminated redundant casts.
4453 * cspi/spi_registry.c: Eliminated redundant casts.
4454 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4455 * cspi/spi_selection.c: Removed redundant casts.
4456 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4457 handling. Screen geometry and text offsets were being returned as 0
4458 on error which is technically valid-- changed these to return -1.
4459 Added marshaller for text boundary types to fix bug with boundary
4460 types being passed incorrectly to atk.
4462 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4465 * cspi/spi_registry.c:
4466 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4467 which was uncovered by the recent key changes.
4469 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4471 * test/event-listener-test.c:
4473 Added new test, "event-listener-test";
4474 this code does two things; it benchmarks traversal time
4475 for the accessible hierarchy for the first running accessible
4476 app, and it connects listeners for all supported event types.
4477 It is thus useful as an example event listener and for
4478 diagnostics/debugging of event generation.
4480 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4483 Removed unnecessary dependency on libutil.
4486 Revved micro version: 0.13.1
4488 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4491 Removed util/Makefile from targets.
4494 Removed util subdir from SUBDIRS (temporarily,
4495 pending removal of magnifier-only code
4499 #ifdef-ed out magnifier dependencies, since
4500 magnifier IDL, headers, and binary now live in
4501 module gnome-mag and we don't want at-spi to depend
4502 on gnome-mag. A magnifier demo which can run alongside
4503 simple-at is forthcoming in the gnome-mag module.
4505 NOTE: Split magnifier binary, IDL, and magnification
4506 activation code from at-spi into module gnome-mag.
4508 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4510 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4511 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4513 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4516 Revved to version 0.13.0
4518 * idl/Accessibility_Registry.idl:
4519 Changed definition of KeySet from sequence of longs to sequence of
4520 KeyDefinitions, and added KeyDefinition struct.
4521 Required for fix to bug 80616.
4523 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4524 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4525 to use new definition (see above).
4527 * registryd/deviceeventcontroller.c: handle_keygrab(),
4528 spi_keyset_contains_key():
4529 Changed to make use of new struct; this allows matching based on
4530 string key-name, for instance "Tab". This also allows matching of
4531 composed characters, non-alphanumeric characters in a way that
4532 doesn't involve dependencies on X keysym codes directly, etc.
4534 * test/key-listener-test.c:
4535 Added test for Alt-Tab key using "string" specification of keyset,
4536 and modified one of the tests to use a keycode-based keyset.
4537 Thus this test both tests and demonstrates the creation and use of
4538 keysets of three forms: specified via keycode array,
4539 keysym array, and string array. (The string case only contains a
4540 single string, i.e. a string array of length 1).
4543 Turned on PRINT_TREE option by default. Also fixed a
4544 string-freeing bug in the PRINT_TREE code.
4545 Added a listener to window:minimize events.
4547 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4549 * atk-bridge/bridge.c:
4550 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4551 for window:activate and window:deactiveate
4552 (atk_bridge_property_event_listener atk_bridge_signal_listener
4553 atk_bridge_window_event_listener) Tidy debug code
4555 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4557 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4558 Fixed handling for NULL return value from ATK.
4560 * libspi/action.c libspi/component.c libspi/editabletext.
4561 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4562 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4563 Removed redundant casts.
4565 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4566 Fixed off by one bug.
4568 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4569 function not present in idl)
4571 2002-05-02 jacob berkman <jacob@ximian.com>
4573 * atk-bridge/Makefile.am: make atk-bridge a real module
4575 2002-04-26 Radek Doulik <rodo@ximian.com>
4577 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4578 atk_state_types table
4580 2002-04-22 jacob berkman <jacob@ximian.com>
4583 * libspi/Makefile.am: add deps on the built files to help
4584 automake, and don't version the ORBit typelib
4586 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4588 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4589 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4590 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4591 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4592 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4593 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4594 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4595 libspi/accessible.h libspi/accessible.h libspi/base.h
4596 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4597 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4598 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4599 libspi/spi-private.h libspi/statetset.h libspi/table.h
4600 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4601 util/mag_client.h util/mag_control.c util/mag_image.c
4602 util/mag_image.h util/magnifier.c util/magnifier.h:
4603 Add missing file headers; standardize existing ones
4605 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4607 * atk-bridge/bridge.c: Added window event support.
4609 2002-04-18 Michael Meeks <michael@ximian.com>
4611 * libspi/relation.c (impl_getNTargets): impl.
4612 (impl_getTarget): impl.
4614 * libspi/Makefile.am: fix stateset install.
4616 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4619 Started putting useful info in this file.
4621 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4623 * atk-bridge/bridge.c:
4624 Propagate state-changed notifications to ATs
4626 * cspi/spi_registry.c: update docs to reflect actual behavior of
4627 state-change events.
4629 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4632 Incremented version to 0.12.1
4634 * util/mag_client.h:
4635 Add missing declaration for magnifier_exit,
4636 used by mag_control.c - Forte compiler didn't like
4637 the implicit redeclaration of the function :-(
4640 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4643 Revved version to 0.12 due to API change (see below).
4645 * cspi/spi-roletypes.h:
4646 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4647 definition from the inline docs, and added docs
4648 for SPI_ROLE_LAST_DEFINED.
4651 * cspi/spi_streamablecontent.c:
4652 Added missing seek_type parameter to
4653 (so far unused) method,
4654 AccessibleStreamableContent_seek().
4655 [ RT approval JodyG. ]
4658 Fixed docs for SPI_createAccessibleKeystrokeListener.
4660 * cspi/spi_registry.c:
4661 Fixed docs for SPI_KEYSET_ALL_KEYS.
4663 * docs/reference/cspi/at-spi-cspi-sections.txt:
4664 Added a number of missing APIs to SECTIONS.
4666 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4668 * registryd/Makefile.am:
4670 * cspi/bonobo/Makefile.am:
4671 Add $(X_LIBS) to makefiles.
4673 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4676 Revved version to 0.11.
4678 * libspi/component.c:
4679 Added implementation for grabFocus.
4681 * idl/Accessibility_Component.idl
4682 (Accessibility_Component_grabFocus):
4683 Made this method return boolean to indicate success or failure, to
4684 be consistent with cspi and the corresponding ATK method.
4686 * idl/Accessibility_Selection.idl
4687 (Accessibility_Selection_selectAll) :
4688 Made these methods return boolean to indicate success or
4689 failure, to be consistent with cspi and the corresponding ATK methods.
4691 * idl/Accessibility_EditableText.idl
4692 (Accessibility_EditableText_setTextContents,
4693 Accessibility_EditableText_insertText,
4694 Accessibility_EditableText_cutText,
4695 Accessibility_EditableText_deleteText,
4696 Accessibility_EditableText_pasteText):
4697 Made these methods return boolean to indicate
4700 * cspi/spi_editabletext.c:
4701 Made these methods return booleans.
4703 * libspi/selection.c:
4704 * libspi/component.c:
4705 * libspi/editabletext.c:
4706 Connected the boolean returns from ATK
4707 to the server-side code referenced above.
4709 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4711 * idl/Accessibility_Table.idl: Added missing methods,
4712 Accessibility_Table_addRowSelection,
4713 Accessibility_Table_addColumnSelection,
4714 Accessibility_Table_removeRowSelection,
4715 Accessibility_Table_removeColumnSelection.
4718 Added C wrappers for above IDL:
4719 AccessibleTable_addRowSelection,
4720 AccessibleTable_addColumnSelection,
4721 AccessibleTable_removeRowSelection,
4722 AccessibleTable_removeColumnSelection.
4725 Added server-side implementation code for IDL above, connecting
4726 to pre-existing ATK api.
4728 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4730 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4732 * libspi/accessible.c: Added implementation fo
4733 Accessibility_Accessible_get_state.
4735 * libspi/libspi.h: Added stateset.h to the list of includes.
4737 * libspi/stateset.c: Fixed broken implementation.
4739 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4742 Added implementation code for Accessibility_Magnifier_exit ().
4744 * util/mag_control.c:
4745 Added test code for above method; you can
4746 now kill an existing magnifier via
4747 ./mag_control q, from the util directory.
4749 * test/key-listener-test.c:
4751 Added a new test, for our key listener API.
4753 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4755 * test/app.c, test/keysynth-demo.c:
4757 Replace use of snprintf with g_snprintf.
4758 (fix for bugzilla 78249)
4760 2002-03-27 Michael Meeks <michael@ximian.com>
4764 * util/Makefile.am (INCLUDES): fix.
4765 (DONT_DIST_SOURCE): don't distribute the
4768 * libspi/Makefile.am (dist-hook): ditto.
4770 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4772 * libspi/hypertext.c:
4773 Fix warnings when yelp is used with atk-bridge
4775 2002-03-21 Michael Meeks <michael@ximian.com>
4777 * libspi/application.c (spi_application_new):
4778 use spi_accessible_construct so we use the AtkObject
4781 2002-03-19 Michael Meeks <michael@ximian.com>
4783 * registryd/registry.c (desktop_remove_application),
4784 (desktop_add_application): clean coding style.
4786 * registryd/desktop.c (spi_desktop_remove_application),
4787 (spi_desktop_add_application): kill re-enterency hazards.
4788 (spi_desktop_dispose): remove bogus redundant cast
4789 obscuring bug; fix bug too.
4790 (spi_desktop_init): make the desktop object immortal.
4792 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4795 Added a #define-guarded tree-traversal step
4796 when enumerating the apps (diagnostic tool).
4798 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4800 * idl/Accessibility_Role.idl:
4801 Added ROLE_DRAWING_AREA which seemed to be missing from the
4804 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4806 * cspi/spi-roletypes.h cspi/spi_accessible.c
4807 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4810 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4811 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4812 AT when applications are added and removed from the desktop. This
4813 reverts the previous broken implementation using the backing
4814 AtkObject for the SpiDesktop.
4816 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4818 * registryd/desktop.c: emit the "children-changed::add" and
4819 "children-changed::remove" signals on the backing ATK object for
4820 the desktop so AT can tell when applications are started and shut
4823 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4825 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4827 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4829 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4831 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4833 * cspi/state-types.h: synched with IDL and ATK
4835 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4837 * libspi/accessible.c
4838 (impl_accessibility_accessible_get_child_at_index):
4839 Change return value for g_return_if_fail ()
4840 to CORBA_OBJECT_NIL instead of "0" (!)
4842 * registryd/Makefile.am:
4843 * registryd/Accessibility_Register.server.in:
4844 Changed name of executable, "registryd",
4845 to something more informative:
4848 2002-03-13 Michael Meeks <michael@ximian.com>
4850 * atk-bridge/bridge.c (atk_bridge_init): don't register
4851 if we're in a bonobo-component, rather than a bonobo app.
4853 2002-03-13 Michael Meeks <michael@ximian.com>
4855 * atk-bridge/bridge.c (gtk_module_init): split
4856 out body to (atk_bridge_init): here, since otherwise
4857 we get symbol conflicts and oddness when invoked
4858 from (gnome_accessibility_module_init): here (upd.)
4860 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4863 New file. Explicitly allow "build sheriff" putbacks provided
4864 they are tested on Solaris.
4866 * docs/reference/cspi/Makefile.am:
4867 Added '-' to the "cp" command for index.sgml.
4868 ("patch by thomasvs, soon coming to a GUADEC near you")
4871 Incremented version number (0.9.0) for new release.
4872 Changed macro that checks for popt, to better detect
4873 obsolete versions of popt.
4876 Added X_LIBS to AC_SUBST, for applications
4877 that call Xlib API directly.
4880 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4883 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4886 Fix regression caused by hard-coding major
4887 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4890 * test/test-simple.c (test_editable_text),
4891 (test_test): revert previous change (error was
4892 a regression in gail which is now fixed).
4894 2002-03-04 Michael Meeks <michael@ximian.com>
4896 * test/test-simple.c (test_editable_text),
4897 (test_text): pass G_MAXINT instead of '-1' for
4898 whole string - is this a good thing !?
4900 * cspi/spi_accessible.c
4901 (Accessible_getRelationSet): fix crasher bug
4902 overwriting the end of the array.
4904 * test/test-simple.c (validate_accessible): free,
4905 not g_free returned relation set.
4907 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4909 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4910 implemented stateset support
4912 * idl/Accessibility_State.idl: Made necessary changes to
4913 the IDL to support state sets.
4915 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4917 * registryd/deviceeventcontroller.c:
4918 Added implementation for generateMouseEvent.
4920 * cspi/spi_registry.c:
4921 Connected new implementation for generateMouseEvent
4924 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4927 Incremented revision (but no change in public API
4928 outside of 'utils', which are not installed public yet.)
4930 * libspi/component.c:
4931 Changed to use atk_component API for layers and
4932 mdi_zorder, instead of deprecated atk_object API.
4934 Magnification Utility Enhancements:
4937 Added implementation of createZoomRegion, clearAllZoomRegions,
4938 resizeZoomRegion. Added new commandline argument
4939 "--no-initial-region". Note that clearAllZoomRegions doesn't
4940 unmap the old '0' region as it should (yet), and the other
4941 methods only work when creating/resizing a single region,
4942 which is "region 0".
4943 (Code for multiple region support will be added later.)
4946 Now we raise the magnifier window each time it's refreshed;
4947 this will help keep it on top.
4949 * util/mag_client.h:
4950 Added simple wrappers for above, used by mag_control.
4951 For general use, it's recommended to use the bonobo magnifier
4952 control API directly instead of using these wrappers.
4955 Moved ZoomRegionData from magnifier.c to this file.
4957 * util/mag_control.c:
4958 Added some code to exercise new IDL implementations.
4960 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4962 * libspi/text.c: Provide implementation for getAttributes.
4964 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4967 Incremented revision.
4969 * test/test-simple.c:
4970 Replaced use of deprecated g_main_iteration with
4971 g_main_context_iteration.
4973 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4976 Incremented revision for desktop alpha 2.
4978 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4980 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4983 * test/simple-at.c: include netinet/in.h.
4985 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4987 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4988 use NULL, not CORBA_OBJECT_NIL.
4990 * libspi/accessible.c:
4991 (impl_accessibility_accessible_get_relation_set):
4992 allocate the sequence correctly.
4994 * libspi/remoteobject.h: kill spi_remote_object_new.
4996 * test/test-simple.c: (validate_accessible): add code
4997 to test relation sets, now all we need is to figure
4998 out how to excercise this code path :/
5000 2002-01-18 Michael Meeks <michael@ximian.com>
5002 * test/test-simple.c
5003 (key_listener_cb): consume the key.
5004 (test_keylisteners): update.
5005 (main): wait for any pending unrefs on events.
5007 * registryd/deviceeventcontroller.c
5008 (spi_controller_update_key_grabs): only re-issue the
5009 grab on a key release.
5010 (spi_device_event_controller_forward_key_event):
5011 refresh the keygrabs before we notify the listeners,
5012 to reduce the X ungrab / re-grab race.
5013 (spi_controller_register_with_devices): remove
5014 XSelectInput - we do that with the gdk_window_ call.
5015 (_spi_controller_device_error_handler): return a value.
5016 s/GDK_DISPLAY/spi_get_display/
5018 2002-01-17 Michael Meeks <michael@ximian.com>
5020 * registryd/deviceeventcontroller.c
5021 (_deregister_keygrab): don't blow out the later
5024 * test/test-simple.c (test_keylisteners): do a
5025 more intelligent validation.
5027 2002-01-14 Michael Meeks <michael@ximian.com>
5029 * atk-bridge/bridge.c
5030 (gnome_accessibility_module_init),
5031 (gnome_accessibility_module_shutdown): impl.
5032 (gtk_module_init): protect vs. double inits.
5033 (add_signal_listener): impl.
5034 (spi_atk_bridge_state_event_listener): kill
5035 (deregister_application): split out of
5036 (spi_atk_bridge_exit_func): here.
5038 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5041 Added caret tracking when using magnifier, and
5042 now use text bounds for focus tracking of text elements, rather than
5043 the component bounds - this is helpful for short text fields in long
5044 table cells, at high magnification.
5046 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5048 * registryd/deviceeventcontroller.c:
5049 Regression fix for keylistener de-registration; global keygrabs
5050 were not being released when deregisterKeystrokeListener was
5051 called in cspi, since
5052 Accessibility_DeviceEventController_deregisterKeystrokeListener
5053 was called with a zero-length keyset. That is because the cspi
5054 method, SPI_deregisterKeystrokeListener, does not take a keyset
5055 parameter but instead should remove all the key grabs held be a
5057 The code in impl_deregister_keystroke_listener was changed to copy
5058 the keylist from the listener instance previously registered with
5059 the DeviceEventController before releasing the grabs.
5061 * registryd/registry.c:
5062 * registryd/deviceeventcontroller.c:
5063 * libspi/spi-private.h:
5065 Changed spelling of "re-enterant" to "re-entrant" globally.
5067 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5069 * test/test-simple.c:
5070 Changed key listeners test - the test was slightly mis-using the
5071 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5072 It now uses '=' as the key event listened to and generated,
5073 relying on a keysym match rather than assuming that keycode 33
5074 is always equal to keysym '!'.
5076 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5079 Changed simple-at to use a specific keyset, rather than
5080 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5081 manager, desktop, etc.
5083 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5085 * registryd/deviceeventcontroller.c:
5086 Replaced standard X error handler with a special handler that
5087 is non-fatal for failed keygrabs. This works around
5088 problems with keygrab clashes sometimes observed on
5090 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5091 mouse handling code as yet).
5093 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5096 Incremented revision for desktop alpha release.
5099 Fixed a couple of the more glaring errors (still not
5102 2002-01-11 Michael Meeks <michael@ximian.com>
5104 * registryd/deviceeventcontroller.c
5105 (spi_device_event_controller_forward_key_event): kill
5106 XUngrabKey / XKeyGrab race.
5107 (spi_controller_grab_keyboard): rename to
5108 (spi_controller_update_key_grabs): this, and deal
5109 with incremental adding / removing grabs more
5111 (_register_keygrab): ensure we're not pending a remove.
5112 (spi_grab_mask_free): impl.
5113 (spi_controller_register_global_keygrabs): split out
5115 (handle_keygrab): impl.
5116 (_deregister_keygrab): impl.
5117 (spi_controller_deregister_global_keygrabs): impl.
5118 (spi_controller_update_key_grabs): re-issue the grab if
5119 we just recieved a notification.
5121 * test/test-simple.c (key_listener_cb): remove debug.
5123 * registryd/deviceeventcontroller.c
5124 (spi_controller_register_device_listener): after
5125 registering a global keygrab, actualy register it !
5126 don't wait for a timeout; doh !
5128 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5129 to make it more readable / manipulable.
5130 s/grabmask/grab_mask/ s/refcount/ref_count/
5131 s/keyval/key_val/ s/modmask/mod_mask
5133 2002-01-08 Michael Meeks <michael@ximian.com>
5135 * registryd/deviceeventcontroller.c
5136 (spi_controller_register_with_devices): use gdk calls to
5138 (global_filter_fn): implement the filter.
5139 (spi_device_event_controller_check_key_event): rename to
5140 (spi_device_event_controller_forward_key_event): this & upd.
5141 (spi_get_display): replace with GDK_DISPLAY.
5143 * registryd/deviceeventcontroller.c
5144 (spi_controller_deregister_device_listener): unroll into
5145 (impl_deregister_keystroke_listener): here to simplify.
5146 (spi_controller_register_global_keygrabs): split cut and
5147 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5148 (spi_controller_deregister_device_listener): remove.
5149 (impl_register_mouse_listener): remove, no mouse listener
5150 support in at-spi-1.0
5152 * registryd/registry.c
5153 (_device_event_controller_hook): kill.
5154 (spi_registry_init): upd.
5156 * registryd/deviceeventcontroller.c
5157 (spi_device_event_controller_class_init): upd.
5158 (spi_check_key_event): merge into.
5159 (spi_device_event_controller_check_key_event):
5160 here and kill strange static ev init, don't leak
5161 the x_event - nor dynamicaly allocate it.
5163 * registryd/registry-main.c (main): re-direct
5164 timeout to remove strange vtable mess.
5166 * registryd/deviceeventcontroller.c
5167 (remove_listener_cb): impl.
5168 (spi_controller_deregister_device_listener):
5169 fix re-enterancy hazard.
5171 2002-01-07 Michael Meeks <michael@ximian.com>
5173 * registryd/deviceeventcontroller.c
5174 (spi_device_event_controller_new): upd.
5175 (impl_notify_listeners_sync): upd. debug.
5176 (spi_notify_keylisteners): fix re-enterancy hazards,
5177 prettify, remove O(n*n) iteration.
5178 (spi_controller_grab_keyboard): fix iteration.
5179 (spi_check_key_event): re-format to suit coding style.
5180 Clean all the warnings - we're warning free.
5182 * registryd/deviceeventcontroller.h:
5183 * registryd/registry.h: make mutualy referential with
5184 typesafe forward references instead of (!) void pointer
5187 2002-01-11 Michael Meeks <michael@ximian.com>
5189 * cspi/spi_accessible.c (role_names): add a role name
5190 to sync this array with the enum; and make the regression
5193 2002-01-10 Michael Meeks <michael@ximian.com>
5195 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5196 allow expansion of enumeration & kill warning.
5198 * test/test-simple.c (key_listener_cb): impl.
5199 (test_keylisteners): impl.
5201 * cspi/spi-listener.h: make listener signatures const
5202 on the provided (const) events.
5204 * test/keysynth-demo.c: upd. to const events.
5206 * test/simple-at.c: ditto.
5208 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5211 Rev the version to 0.5 (the previous tarball was named 0.4,
5212 even though the micro number was 3), so we need to rev upwards
5213 again for beta2/"desktop-alpha"
5216 Checked in a demo script, which requires editing before use!
5217 Proceed with caution.
5220 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5222 * cspi/spi_accessible.c:
5223 Add a couple of missing enum initializations, and fix some enum
5226 * cspi/spi_registry.c:
5227 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5229 * docs/reference/cspi/at-spi-cspi-sections.txt:
5230 Remove/fix a couple of broken document references.
5233 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5234 as Alt-Control to listen for commands, since on some systems
5235 Control-Alt may already be grabbed.
5237 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5240 Update version number to 0.4 for Beta2.
5242 * libspi/accessible.c, libspi/accessible.h:
5243 Expose spi_accessible_construct, to enable libgail-gnome
5244 construction from spi_accessible subtype.
5246 * utils/magnifier.c:
5247 Workaround for bug in some non-gnome-compliant window managers
5248 which made magnifier resize improperly.
5250 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5252 * libspi/accessible.c: (spi_accessible_new) :
5253 Move the test for SPI_IS_REMOTE_OBJECT to
5254 spi_accessible_new_return, fixing a bug and compile time warning.
5256 2002-01-08 Michael Meeks <michael@ximian.com>
5258 * registryd/registry.c (parse_event_type): remove strndup.
5260 * libspi/Makefile.am (libspi_la_SOURCES): remove
5261 sources already included in the headers section.
5263 * libspi/util.c: add.
5265 * libspi/spi-private.h: add.
5267 * registryd/registry.c: update to moved list iterators.
5269 2002-01-05 Michael Meeks <michael@ximian.com>
5271 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5273 * test/test-simple.c (main): ditto.
5275 2002-01-04 Michael Meeks <michael@ximian.com>
5277 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5278 redundant construct.
5280 * registryd/registry.c
5281 (get_listener_list): impl.
5282 (impl_accessibility_registry_register_global_event_listener):
5283 re-impl. to simplify using ~, remove dodgy const cast off.
5284 (parse_event_type): constify.
5285 (impl_accessibility_registry_deregister_global_event_listener_all):
5286 re-write, more efficiency and simplicity, kill re-enterancy
5288 (compare_listener_corbaref, compare_corba_objects),
5289 (compare_listener_quarks): define out.
5290 (impl_accessibility_registry_deregister_global_event_listener):
5291 re-write for effiency, and nail re-enterancy hazard.
5292 (impl_accessibility_registry_get_desktop_list): impl.
5293 (re_enterant_list_delete_link): impl.
5294 (re_enterant_list_foreach): impl.
5295 (remove_listener_cb): impl.
5296 (_registry_notify_listeners): kill.
5297 (notify_listeners_cb): impl.
5299 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5300 (SPI_getDesktopList): impl.
5302 * test/test-simple.c (test_desktop): test the methods.
5304 2002-01-03 Michael Meeks <michael@ximian.com>
5306 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5307 keystrings since we free them
5308 (SPI_freeAccessibleKeySet): in here.
5310 * libspi/accessible.c (spi_accessible_new): kill warning,
5311 wonder what is going on with the constructor here.
5313 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5315 * libspi/accessible.c (spi_accessible_new ()) :
5316 Added check to see if AtkObject is an SpiRemoteObject before
5317 creating an SpiAccessible.
5319 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5321 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5322 Enable keygrabs using the Control modifier, now that they are
5323 working properly (they were previously disabled).
5326 Change the command keygrab for this demo to "Control+Alt", so as
5327 to conflict with fewer other key commands on the system; this
5328 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5330 Removed a pointlessly-chatty keylistener for unshifted keys
5331 (shifted keys are still reported).
5333 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5335 * libspi/remoteobject.h:
5336 * libspi/remoteobject.c:
5337 Added definitions for special AtkObject subtype, required for
5338 support of remote components (specifically, used by BonoboControl
5339 accessibility implementation).
5341 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5343 * cspi/spi.h: synched relation types with ATK
5345 * cspi/spi_accessible.c: Added implementations of
5346 AcccessibleRelation_* methods
5348 * idl/Accessibility_Relation.idl: added getRelationTypeName
5349 method. Synched known relation types with ATK. Allowed for
5350 relation type extension with the RELATION_EXTENDED type.
5352 * libspi/relation.c: Provided implementations for
5353 AccessibleRelation methods.
5355 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5357 API tweaks for today's API 'freeze'.
5360 Added placeholder functions to allow future compatible expansion
5361 of the IDL interfaces.
5363 * idl/Accessibility_Registry.idl:
5364 Changed generateKeyEvent to generateKeyboardEvent. Changed
5365 signature of this method to accept an optional keystring in
5366 parameter (for complex text input synthesis) and changed use of
5367 simple 'boolean' parameter in registerKeystrokeListener to a
5368 struct, EventListenerMode.
5370 * cspi/spi_accessible.c:
5372 * cspi/spi_streamablecontent.c:
5373 Added references to AccessibleStreamableContent interface, and
5374 definition and implementation of AccessibleStreamableContent
5377 * cspi/spi_registry.c:
5379 Changed generateKeyEvent API to generateKeyboardEvent,
5380 taking a new (optional) keystring parameter to support complex
5385 Renamed directory (to better reflect its actual purpose, bridging
5386 from at-spi to ATK). The .so module is also now named
5389 * idl/Accessibility_Hypertext.idl:
5390 * libspi/accessible.c:
5391 * libspi/hypertext.h:
5392 * libspi/hypertext.c:
5393 Changed Accessibility_Hypertext to *not* derive from
5396 * cspi/spi_registry.c:
5397 Added list of legal event type names for 'window' events, which
5398 completes the registry event API.
5400 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5402 * at-bridge/bridge.c: Added registration for separate
5403 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5404 signals. If either of the first two parameters to the generic
5405 bridge signal handler are ints, they are passed on as event
5406 details. This allows an AT to determine what text was inserted.
5408 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5410 * registryd/deviceeventcontroller.c:
5411 Fixed regressions in generateKeyEvent caused by the removal of
5412 gdk_init from registryd; we now use pure X calls to connect to the
5413 display, which makes sense because deviceeventcontroller already
5414 uses a fair bit of X API (should eventually be migrated to a
5415 'portability layer').
5417 * registryd/desktop.c:
5418 Fixed minor regression in spi_desktop_init, changed the way the
5419 desktop name is being set to work with new spi_base API
5420 (gobject-based, rather than AtkObject-based).
5422 * registryd/Makefile.am:
5423 Minor revision of makefile to use XTST_LIBS variable rather than
5424 hard-wiring the Xtst LD_ADD element.
5426 * test/keysynth-demo.c:
5427 Tweaked an output message; added initialization of the
5428 'keystrings' member of the "switch listener" key_set.
5430 * libspi/relation.c:
5431 Squashed compile-time warning.
5433 * libspi/accessible.c:
5434 Cosmetic and formatting fixes, renamed a static method.
5436 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5438 * libspi/accessible.c
5440 * libspi/application.c
5443 * libspi/component.c
5444 * libspi/editabletext.c
5445 * libspi/hyperlink.c
5446 * libspi/hypertext.c
5448 * libspi/selection.c
5452 * registryd/desktop.c:
5453 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5455 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5457 * idl/Accessibility_Registry.idl:
5458 Added boolean member 'is_text' to DeviceEvent. This is for the
5459 use of key events, and helps prevent ambiguity between composed
5460 key strings and keysym names, since both may potentially be
5461 returned in the 'event_string' member.
5463 * at-bridge/bridge.c:
5464 * registryd/deviceeventcontroller.c:
5465 Use the 'is_text' member when notifying device event listeners.
5466 Knon issue: composed characters are not dealt with correctly by
5467 the global key listener implementation yet.
5469 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5471 * at-bridge/bridge.c:
5472 Namespaced local static methods to spi_atk_bridge_* where
5473 previously named bridge_*, and spi_* elsewhere.
5475 * at-bridge/bridge.c:
5476 * cspi/bonobo/cspi-bonobo-listener.c:
5477 Added demarshalling/conversion for string member of
5478 Accessibility_DeviceEvent to AccessibleKeystroke.
5480 * registryd/deviceeventcontroller.c:
5481 Added code to fill the Accessibility_DeviceEvent key string value
5482 member for global key events (i.e. from XGrabKey), to match
5483 behavior of Accessibility_DeviceEvent from the toolkit key events
5484 from the bridge. Fixed timestamp in global key event notifications.
5487 Added printout of key event's string value to
5488 report_ordinary_key_event, for demo/debugging purposes.
5490 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5492 * idl/Accessibility_Registry.idl:
5493 Removed Accessibility_KeyStroke structure in favor of generic
5494 Accessibility_DeviceEvent structure.
5495 Changed Accessibility_ControllerEventMask from a struct to an
5498 * at-bridge/bridge.c:
5499 Changed APIs to use DeviceEvent structure as above, and removed
5500 bogus casting between these event structures.
5502 * cspi/spi-listener.h:
5503 Added keystring member of AccessibleKeystroke structure, to enable
5504 matching on event "names" rather than only hardware codes and
5508 Added keystrings member of AccessibleKeySet struct, to allow
5509 matching on event names (as above).
5510 Added declarations for SPI_createAccessibleKeySet and
5511 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5512 event modmasks directly as unsigned ints rather than structs with
5513 refcounts, in the DeviceEventController methods.
5515 * cspi/spi_registry.c:
5516 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5518 * cspi/spi-roletypes.h:
5519 Added documentation of newly added SPI Roles.
5521 * cspi/bonobo/cspi-bonobo-listener.c:
5522 Changes in support of API changes above.
5524 * libspi/accessible.c:
5525 Converted APIs to use DeviceEvent structure (see IDL changes
5528 * registryd/deviceeventcontroller.c:
5529 Added DEControllerGrabMask structure to track keygrabs not only by
5530 modmask but by keyset as well; this allows us to do "global"
5531 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5532 grabbing on AnyKey and then filtering after-the-fact.
5533 Bugfixes for event filtration mean that we don't get false matches
5534 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5536 * registryd/deviceeventcontroller.c:
5537 Namespaced a number of static methods to use spi_ prefix. Major
5538 revision to internals of global (i.e. X) key grabs.
5540 * registryd/deviceeventcontroller.h:
5541 Removed keymask_list and added keygrabs_list to
5542 SpiDeviceEventController struct.
5545 Added use of SPI_createAccessibleKeySet API when creating a
5546 listener for only one key. Attach a listener to "shift spacebar
5547 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5548 X key event names to SPI key event names, so that listeners are
5549 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5551 * test/keysynth-demo.c:
5552 Changed (incorrect) use of X key event names (KeyPressed,
5553 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5556 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5558 * libspi/accessible.c:
5559 Convert all AtkRole enumerations to Accessibility_Role enums when
5560 getting a role from an AtkObject.
5562 * cspi/spi_accessible.c:
5563 Complete the conversion of Accessibility_Role enums at runtime to
5564 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5565 role enums correctly match those given in spi-roletypes.h.
5566 Re-synchronize the local names list for AccessibleRole_getName ().
5567 AccessibleRole_getName is now deprecated, since it duplicates the
5568 more reliable Accessible_getRoleName.
5569 Added some role types from Accessibility_Role.idl.
5571 * idl/Accessibility_Role.idl:
5572 Added some role types used by AtkRole.
5574 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5577 * cspi/spi_registry.c:
5579 * cspi/cspi-bonobo-listener.c:
5580 Namespaced all methods that did not begin with an "SPI_" or
5581 "Accessible" prefix to "SPI_".
5584 Homogenized internal function namespace to "cspi_" for statics.
5587 Patched tests to use the new CSPI API.
5589 * docs/reference/cspi/at-spi-cspi-sections.txt:
5590 Updated docs to reflect namespace changes, and added a number of
5591 methods to the documentation.
5593 * registryd/registry.c:
5594 Changed use of strings and string hashes in listener event
5595 matching and parse_event_string to use GQuark, which is guaranteed
5598 * registryd/registry.h:
5599 Squashed annoying warning.
5601 * idl/Accessibility_Role.idl:
5602 Extended range of available Accessibility_Role values.
5604 * cspi/spi_accessible.c:
5605 Re-ordered role names.
5607 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5609 * idl/Accessibility_Value.idl:
5610 Revert use of union back to CORBA_double, since the double type is
5611 more efficient and can contain the other types without loss of
5614 * idl/Accessibility_Accessible.idl:
5615 Added method Accessibility:Accessible:getRoleName, to complement
5616 Accessibility:Accessible:getRole.
5618 * cspi/spi_accessible.c:
5620 Added C binding for above, Accessible_getRoleName (), and changed
5621 signature of Accessible_getRole () to return an AccessibleRole.
5623 * cspi/spi-roletypes.h:
5624 Changed AccessibleRole_getName to return a char * instead of a
5625 const char *. This method is now at least temporarily deprecated
5626 in favor of asking Accessibles for their RoleNames directly.
5629 Revert to match Accessibility_Value.idl;
5633 Change signature of AccessibleValue methods to use double rather
5637 * cspi/spi_accessible.c:
5638 Changed Accessible_getRole to return an AccessibleRole enum rather
5639 than a UTF-8 string. The UTF-8 string can still be obtained via
5640 AccessibleRole_getName ().
5642 * test/test-simple.c:
5643 Add test_action. Small fixup to match API change to Accessible_getRole.
5646 Bugfix for get_action_from_servant ().
5648 2001-12-11 Michael Meeks <michael@ximian.com>
5650 * libspi/libspi.h: remove registry.h and
5651 desktop.h, deviceeventcontroller.h
5653 * libspi/Makefile.am: remove registry.[ch],
5654 desktop.[ch], deviceeventcontroller.[ch]
5656 * registryd/Makefile.am: add registry.[ch],
5657 desktop.[ch], rename registryd.c to registry-main.c.
5658 add deviceeventcontroller.[ch]
5660 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5663 Replace setenv() call with putenv ().
5665 * libspi/component.c:
5666 Bugfix in AccessibleComponent_getExtents (),
5669 2001-12-11 Michael Meeks <michael@ximian.com>
5671 * libspi/image.c (impl_getImageExtents): impl.
5672 (spi_image_class_init): upd.
5675 (AccessibleImage_getImageDescription): fix daft bug
5678 * test/test-simple.c (global_listener_cb): update
5679 to only quit if not --poke
5680 (main): catch --poke.
5681 (validate_accessible): upd. dumping, call test_image
5684 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5687 * idl/Accessibility.idl: update all IDL includes.
5689 * idl/*.idl - rename to namespace - this sucks, blame
5690 mjs' bad decision for oafd.
5692 * test/test-simple.c (create_test_window): add more tests.
5693 (create_tree): split this out.
5694 (validate_accessible): bugfix.
5696 2001-12-11 Michael Meeks <michael@ximian.com>
5698 * cspi/bonobo/cspi-bonobo-listener.c:
5699 (cspi_kestroke_listener_unref),
5700 (cspi_event_listener_unref): impl. undoing previous
5701 homenous environment - for Bill.
5703 * cspi/spi_table.c (long_seq_to_array): use
5706 * cspi/spi_main.c: split out all bonoboish bits into
5709 * cspi/spi-impl.h: upd. typedefs.
5711 * cspi/spi_registry.c: update to lowlevel API,
5712 return booleans to indicate success in some places.
5714 * cspi/spi_event.c: update to lowlevel API.
5716 * cspi/bonobo/Makefile.am: add.
5718 * cspi/bonobo/cspi-lowlevel.h: add
5720 * cspi/bonobo/cspi-bonobo.c: add
5722 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5724 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5725 (SUBDIRS): add bonobo, link in the libs.
5727 * cspi/spi-util.c: kill this file.
5729 * TODO: merge in my bits.
5731 2001-12-11 Michael Meeks <michael@ximian.com>
5733 * test/test-simple.c (test_value, test_table, main):
5734 remove unused variables causing warnings.
5736 * configure.in: cleanup checks - require gail.
5738 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5741 Changed Value interface to use SValue (scalars) rather than
5742 assuming all values are floats. This allows floats, doubles,
5743 longs, shorts, and unsigned values to be manipulated.
5744 Introduced Accessibility:SValue union.
5747 Updated to use new API above, and to work correctly with GValues
5748 of different types in AtkValue.
5751 Updated to use new API above. cspi's API is as yet unchanged.
5754 Updated the Value revision action item.
5756 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5758 * test/test-simple.c:
5759 Added test_table (GtkTreeView widget in test window to follow).
5760 Un-commented test_value, added GtkRange widget.
5761 Added GtkTreeView widget with GtkListStore. It passes regression
5762 test but leaks one SPI object for some reason.
5765 Fixed bug in impl__set_currentValue.
5767 2001-12-10 Michael Meeks <michael@ximian.com>
5769 * cspi/spi_text.c: audit for exception handling,
5770 tolerating NULL object references safely etc.
5772 * cspi/spi_value.c: ditto.
5774 * cspi/spi_table.c (AccessibleTable_getSummary),
5775 (AccessibleTable_getAccessibleAt),
5776 (AccessibleTable_getRowHeader),
5777 (AccessibleTable_getColumnHeader),
5778 (AccessibleTable_getCaption): fix bugs hidden by
5780 (long_seq_to_array): impl.
5781 (AccessibleTable_getSelectedRows),
5782 (AccessibleTable_getSelectedColumns): use it.
5784 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5787 Added a TODO list (rough and short for now).
5789 * cspi/spi_hyperlink.c:
5790 * cspi/spi_hypertext.c:
5791 Fixed macro name typos, and remove use of obsolete macro in
5792 AccessibleHyperlink_getLink.
5794 * cspi/spi_action.c:
5795 * cspi/spi_accessible.c:
5796 * cspi/spi_application.c:
5797 * cspi/spi_component.c:
5798 * cspi/spi_selection.c:
5801 Documentation fixes (removed return values from ref/unref methods).
5803 2001-12-10 Michael Meeks <michael@ximian.com>
5805 * cspi/spi_action.c: audit for exception handling,
5806 tolerating NULL object references safely etc.
5808 * cspi/spi_accessible.c: ditto.
5810 * cspi/spi_component.c: ditto.
5812 * cspi/spi_editabletext.c: ditto.
5814 * cspi/spi_hyperlink.c: ditto.
5816 * cspi/spi_hypertext.c: ditto.
5818 * cspi/spi_image.c: ditto.
5820 * cspi/spi_selection.c: ditto.
5822 2001-12-10 Michael Meeks <michael@ximian.com>
5824 * configure.in: use cspi/libspi.pc.in instead.
5826 * Makefile.am (pkgconfig_DATA): upd. to match.
5828 * test/simple-at.c (report_focus_event): kill hacks around
5829 bad return values, use putenv not setenv
5831 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5832 fire ChildGone - I killed it.
5834 * libspi/component.c
5835 (impl_accessibility_component_get_extents): remove
5838 * idl/Accessible.idl: kill ChildGone exception.
5840 * cspi/*.[ch]: kill int return from ref / unref.
5842 * cspi/spi_main.c (cspi_object_add_check): fold into
5843 (cspi_object_add): here.
5845 * cspi/spi_component.c (AccessibleComponent_getExtents):
5846 handle exceptions elegantly.
5848 * cspi/spi-private.h (cspi_check_ev_return),
5849 (cspi_return_if_fail): impl.
5851 * cspi/spi_accessible.c: use extensively.
5852 (AccessibleStateSet_equals): add direct compare check.
5854 * cspi/spi_selection.c: tolerate NULL objs, and check
5855 exceptions before return.
5857 * cspi/spi-util.c (cspi_warn_ev): rename to
5858 (cspi_check_ev): this & don't pass ev in; no point.
5860 2001-12-10 Michael Meeks <michael@ximian.com>
5862 * test/test-simple.c: use putenv not setenv
5863 (get_environment_vars): more chatty if you're not using
5866 * test/simple-at.c: do the setenv so more people see the
5869 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5871 * libspi/registry.c:
5872 Changed check of CORBA_environment on notification to be a warning
5873 instead of an error for the moment, since we can recover from this
5874 error when caused by a queued notification from a dead app.
5877 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5878 used by all current implementors of AtkValue), and coerce to
5879 CORBA_float. (Proper general case fix may require change to Value.idl).
5881 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5885 * cspi/spi_accessible.c:
5886 Documentation fixes: added user_data params to documentation for
5887 listeners and callbacks.
5889 * cspi/spi_accessible.c:
5890 Changed AccessibleStateSet_compare to return a
5891 StateSet rather than return the difference set into a third parameter.
5894 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5897 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5898 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5902 Remove subdirectory po from SUBDIRS for now.
5904 * at-bridge/bridge.c:
5905 Beefed up a couple of debug printouts.
5906 One-line fix for signal notification name formatting.
5908 * libspi/accessible.c:
5909 Added assertion to spi_accessible_new ().
5911 * libspi/application.c:
5912 Put #ifdef qualifiers around a printf.
5915 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5917 * registryd/Makefile.am:
5919 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5920 INTLTOOL_SERVER_RULE macro.
5923 Added an event listener for several ATK signals, for
5924 testing and debugging. Removed a few g_warnings.
5925 Added test output if focussed item implements the Value interface.
5927 * test/test-simple.c:
5928 Added test_value () function (known not to pass at the moment, so
5929 not actually called yet.
5931 2001-12-08 Michael Meeks <michael@ximian.com>
5933 * at-bridge/bridge.c (bridge_focus_tracker),
5934 (emit_eventv): fix the same ref. leak.
5935 (register_atk_event_listeners): don't leak.
5937 * cspi/spi-listener-impl.c (cspi_event): more
5938 protection from client code.
5940 * test/test-simple.c (test_desktop): unref the app.
5942 * test/Makefile.am: upd. TESTS.
5944 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5946 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5948 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5950 * cspi/spi_registry.c: constify in strings.
5951 (deregisterGlobalEventListenerAll): don't release the ref.
5953 * cspi/spi.h: start removing redundant / conflicting
5954 gtkdoc comments, making the API readable at a glance :-)
5956 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5958 * test/keysynth-demo.c (keysynth_exit, main): upd.
5960 * test/simple-at.c (main, simple_at_exit): upd.
5962 * test/test-simple.c (unutterable_horror): kill.
5963 (utterable_normal_derefs): kill.
5964 (main): upd & do a setenv before gtk_init, so that we
5965 can use memprof - and to save the pain of remembering
5966 this, if we're running under memprof - don't exit.
5968 * cspi/spi_main.c (SPI_exit): return exit status
5970 (SPI_event_quit): impl.
5971 (SPI_event_main): simplify.
5972 (cspi_is_gnome_app): kill.
5973 (SPI_init): kill isGNOMEapp arg.
5975 * at-bridge/bridge.c (register_atk_event_listeners):
5976 re-instate the unref.
5977 (bridge_exit_func): don't re-activate the registry,
5978 protect vs. theoretical re-entry, use the
5979 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5980 assert a clean shutdown - for regression tests.
5982 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5984 * configure.in: Comment out dummy i18n support for now,
5985 otherwise it fails to build.
5986 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5987 EXTRA_DIST. They are missing in tarball.
5989 2001-12-07 Michael Meeks <michael@ximian.com>
5991 * util/magnifier.c: kill bonobo activation reg. race.
5993 * libspi/component.c
5994 (impl_accessibility_component_get_extents): make it match
5997 * libspi/registry.c (_registry_notify_listeners):
5998 re-remove X headers & reconcile conflicts.
5999 (spi_listener_struct_free): bad conflict resolve.
6000 (impl_accessibility_registry_register_application):
6001 more bad merging fixed.
6002 (impl_accessibility_registry_deregister_application): ditto.
6003 (spi_registry_new): ditto.
6004 (spi_registry_init): don't have an applications field.
6006 [ merge fixups2 branch to here ]
6007 2001-12-07 Michael Meeks <michael@ximian.com>
6009 * test/simple-at.c (report_focus_event),
6010 (report_focussed_accessible): remove g_warning debug.
6012 2001-12-07 Michael Meeks <michael@ximian.com>
6014 * test/test-simple.c (validate_tree): comment out some checks.
6015 (test_desktop): app now not registered idly - horay.
6017 2001-12-07 Michael Meeks <michael@ximian.com>
6019 * cspi/spi_registry.c
6020 (registerAccessibleKeystrokeListener): clean, stop it leaking
6021 great swathes of memory, and device event controller references.
6022 ensure we always pass valid sequences.
6023 (deregisterAccessibleKeystrokeListener): ditto.
6024 (generateKeyEvent): upd.
6026 * at-bridge/bridge.c (bridge_key_listener): handle
6027 registry dead exception gracefully.
6028 (bridge_focus_tracker, emit_eventv): free ev.
6030 * test/simple-at.c (report_focus_event): fix polarity.
6032 * libspi/application.c (notify_listeners): kill the ev
6033 argument, and make sure we init the ev we use.
6034 (spi_application_object_event_listener): split out a chunk
6035 (get_atk_object_ref): here & fixup.
6036 (reverse_lookup_name_for_toolkit_event): make const.
6037 (spi_application_toolkit_event_listener): fixup, kill leaks
6040 * at-bridge/bridge.c (register_atk_event_listeners):
6041 don't unref the noop object - causes grief.
6043 * libspi/registry.c: remove the X headers.
6044 turn off the debug churn.
6046 * libspi/accessible.c (spi_accessible_new_return): only
6047 release the ref if we are supposed to [doh]
6049 * test/simple-at.c (report_button_press, report_focus_event):
6050 guard vs. unexpected exit.
6052 * at-bridge/bridge.c (gtk_module_init): prune printf.
6053 (bridge_exit_func): fix app unref.
6055 * libspi/Makefile.am: don't install registry or desktop.h
6057 * libspi/*.h: update includes.
6059 * libspi/application.h: don't include ourself, or
6060 other redundant headers.
6062 2001-12-06 Michael Meeks <michael@ximian.com>
6064 * libspi/accessible.c
6065 (get_accessible_from_servant): impl.
6066 Upd. all CORBA impl.s to use it killing cut and paste.
6068 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6070 (SPI_init): register atexit cleanup handler here.
6072 2001-12-06 Michael Meeks <michael@ximian.com>
6074 * at-bridge/bridge.c (gtk_module_init): g_error on
6075 activation exception
6077 2001-12-06 Michael Meeks <michael@ximian.com>
6079 * at-bridge/bridge.c (gtk_module_init): some sort of
6080 confusing merge clash - reverted.
6081 (bridge_idle_init): ditto.
6083 * test/test-simple.c (main, utterable_normal_derefs):
6084 merge from Bill - somehow not committed.
6086 2001-12-06 Michael Meeks <michael@ximian.com>
6088 * libspi/value.c (spi_value_class_init): upd.
6089 (spi_value_finalize): kill.
6091 * libspi/table.c (spi_table_finalize): kill.
6092 (spi_table_interface_new): upd.
6093 (spi_table_class_init): upd.
6094 (get_table_from_servant): impl.
6095 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6097 * libspi/selection.c (spi_selection_finalize): kill.
6098 (spi_selection_interface_new): upd.
6099 (spi_selection_class_init): upd.
6100 (get_selection_from_servant): impl.
6101 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6103 * libspi/relation.c (spi_relation_finalize): kill.
6104 (spi_relation_class_init, spi_relation_new): upd
6106 * libspi/image.c (spi_image_finalize): kill.
6107 (spi_image_class_init): upd.
6108 (spi_image_interface_new): upd.
6109 (get_image_from_servant): impl.
6110 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6112 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6113 (spi_hyperlink_finalize): kill.
6114 (spi_hyperlink_new): upd.
6115 (get_hyperlink_from_servant): impl.
6116 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6118 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6119 (spi_hypertext_finalize): kill.
6120 (spi_hypertext_class_init): upd.
6121 (get_hypertext_from_servant): impl.
6122 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6124 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6125 (spi_editable_text_interface_new): upd.
6126 (get_editable_text_from_servant): impl.
6127 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6129 * libspi/text.c (get_text_from_servant): impl.
6130 All impls - update to use it killing more cut and paste,
6131 also fix bad string returns on duff args ( a somewhat
6132 impossible case to handle - but hey ).
6133 (spi_text_construct): impl.
6134 (spi_text_interface_new): upd.
6135 (spi_text_object_finalize): kill.
6137 * libspi/component.c
6138 (accessibility_component_object_finalize): kill.
6139 (spi_component_class_init): upd.
6140 (get_component_from_servant): impl. helper to kill cut & paste.
6141 (impl_accessibility_component_contains):
6142 (impl_accessibility_component_get_accessible_at_point):
6143 (impl_accessibility_component_get_position):
6144 (impl_accessibility_component_get_extents):
6145 (impl_accessibility_component_get_mdi_z_order):
6146 (impl_accessibility_component_get_layer):
6147 (spi_component_interface_new): upd.
6149 * libspi/action.c (spi_action_finalize): kill.
6150 (spi_action_class_init): upd. inherit from SpiObject.
6151 (spi_action_interface_new): upd.
6152 (get_action_from_servant): impl. helper to reduce cut & paste.
6153 (impl_getKeyBinding, impl_getName, impl_doAction),
6154 (impl_getDescription): Use it everywhere.
6156 * cspi/spi_main.c (get_live_refs): a pointer hash.
6157 (spi_object_hash, spi_object_equal): comment out.
6158 There are issues with CORBA object hashing that need
6161 * libspi/application.c (spi_application_init),
6162 (spi_application_new): upd.
6164 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6165 (spi_accessible_class_init): upd.
6166 s/accessible/object/ in epv methods.
6168 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6170 * at-bridge/bridge.c:
6171 Reorder the bridge initialization into the bridge gtk_module_init,
6172 an immediate call to bridge_register_app, and an idle_add for
6173 register_atk_event_listeners (the only code that *must* wait until
6174 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6175 the activation, creates the application's Accessible object, and
6176 queues the bridge_idle_init function. Restored call to
6177 Accessibility_Registry_deregisterApplication().
6178 Prior to making this call we obtain a new reference to the
6179 registry, which is a temporary hack that helps us handle apps that
6180 shut down the bonobo mainloop before we get there.
6182 * libspi/registry.c:
6183 Fix string leakage in debug block, and don't segv if a an app
6184 dies before its event notifications have been propagated.
6187 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6188 as stopgap measure until we get proper exception handling when
6189 objects die during or before interrogation.
6193 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6194 Also changed default value of is_gnome_app to TRUE.
6197 * test/keysynth-demo.c:
6198 Changed use of SPI_init and SPI_event_main to reflect API change above.
6201 Made report_focus_event check the warning value from getName
6202 before reporting on focussed accessible; simplifies handling of
6203 notifications from dead objects.
6205 * test/test-simple.c: (Changes not in this patch since source is
6208 2001-12-05 Michael Meeks <michael@ximian.com>
6210 * registryd/registryd.c (main): protect against
6211 bonobo-activation startup race condition.
6213 * cspi/spi_main.c (cspi_object_add_check): cope
6214 with the exception elegantly.
6216 * idl/Accessible.idl: decl. ChildGone
6218 * libspi/desktop.c (spi_desktop_dispose): impl.
6219 (spi_desktop_class_init): upd.
6220 (spi_desktop_add_application),
6221 (spi_desktop_remove_application),
6222 (abnormal_application_termination): impl.
6223 (impl_desktop_get_child_at_index): re-impl.
6226 (impl_accessibility_registry_deregister_application),
6227 (impl_accessibility_registry_register_application):
6228 kill excessive debug clutter.
6230 * test/test-simple.c (test_misc): test some NULL
6231 tolerance. (main): upd.
6233 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6234 implements no interfaces - so let's not crash.
6236 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6238 * libspi/accessible.c (spi_accessible_new_return): impl.
6239 helper to calm the cut and paste, to cope with
6240 NULL AtkObjects effectively and efficiently, and to kill
6241 the referencing bugs.
6243 * libspi/table.c (impl_getAccessibleAt),
6244 (impl_getRowHeader, impl_getColumnHeader): upd.
6246 * libspi/hyperlink.c (impl_getObject): upd.
6248 * libspi/accessible.c
6249 (impl_accessibility_accessible_get_child_at_index): upd.
6251 * libspi/component.c
6252 (impl_accessibility_component_get_accessible_at_point): upd.
6254 * test/test-simple.c (test_editable_text, test_text): impl.
6257 * cspi/spi_editabletext.c
6258 (AccessibleEditableText_insertText): constify.
6260 * test/test-simple.c (focus_me): make more robust.
6262 * libspi/accessible.c: remove some printfs in methods that
6263 we test and work fine, so we can get a clean tree dump.
6265 * test/test-simple.c (validate_accessible),
6266 (validate_tree): make tree dumping pretty too.
6268 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6269 it builds without debug on.
6271 * test/test-simple.c (validate_accessible): fix the most
6274 * cspi/spi_main.c (spi_object_release): leave the nicely
6275 blanked memory around if in debug mode.
6277 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6279 [committed to fixups2]
6280 2001-12-05 Michael Meeks <michael@ximian.com>
6282 * libspi/editabletext.c
6283 (spi_editable_text_class_init): g_type_class_peek_parent,
6284 not interface peek - so we finalize cleanly.
6286 * libspi/accessible.c (spi_accessible_new): kill debug.
6288 * test/test-simple.c (validate_accessible): fix ref.
6289 leak, print strings before freeing them; sigh, comment a
6290 chunk out due to strangeness.
6291 (validate_tree): unref the child after use.
6293 * cspi/spi_component.c (AccessibleComponent_getLayer):
6294 add missing break statement, switch on zlayer not the
6295 uninitialized retval.
6297 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6298 before (possibly re-entering) remote unref.
6300 * test/simple-at.c (main): unref the desktop.
6302 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6305 * cspi/spi_main.c (cspi_accessible_is_a): here to
6306 isolate bonobo API usage more.
6308 * libspi/registry.c (impl_accessibility_registry_register_application):
6309 prune bogus comment.
6311 2001-12-04 Michael Meeks <michael@ximian.com>
6313 * test/test-simple.c (validate_tree): upd.
6314 IndexInParent check to make it more lucid.
6315 (validate_accessible): dump the tree.
6317 * libspi/accessible.c (de_register_public_ref),
6318 (get_public_refs): impl.
6319 (spi_accessible_new): make more efficient & intuitive.
6320 Now IndexInParent check works.
6322 2001-12-04 Michael Meeks <michael@ximian.com>
6324 * cspi/spi-util.h: remove.
6326 * cspi/spi.h: move SPI_freeString here
6328 * libspi/component.c (impl_accessibility_component_get_layer):
6330 (impl_accessibility_component_get_mdi_z_order): ditto,
6331 return -1 on error - is this ok ?
6333 * test/test-simple.c (test_application): impl.
6335 * cspi/spi_accessible.c (Accessible_getApplication),
6336 (Accessible_isApplication): impl.
6338 * libspi/registry.c (spi_listener_struct_free): release
6339 the CORBA reference too.
6341 * libspi/accessible.c
6342 (impl_accessibility_accessible_get_parent): fix ref leak.
6344 * libspi/registry.c (spi_registry_new): make the registry
6345 immortal - we don't want it to go away ever.
6347 * libspi/application.c
6348 (spi_accessible_application_finalize): impl. cleanup.
6350 * cspi/spi_registry.c
6351 (deregisterGlobalEventListenerAll),
6352 (deregisterGlobalEventListener),
6353 (deregisterAccessibleKeystrokeListener): fix ref leak.
6355 * cspi/spi_main.c (SPI_init): remove redundant ref.
6357 * test/test-simple.c (unutterable_horror): impl. to force a
6362 (impl_accessibility_registry_deregister_application): release
6363 the application when we de-register it.
6365 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6366 until we have the infastructure to get it right.
6368 2001-12-03 Michael Meeks <michael@ximian.com>
6370 * libspi/Makefile.am: only build eventlistener.[ch]
6372 * libspi/accessible.c
6373 (impl_accessibility_accessible_get_child_at_index): don't leak.
6375 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6376 before we hit the idle handler.
6378 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6379 debugging than exit.
6381 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6383 * libspi/listener.c (impl_notify_event): check source
6384 not NIL before unref.
6386 * libspi/registry.c (impl_registry_notify_event): ditto.
6388 * libspi/eventlistener.c
6389 (impl_accessible_event_notify_event): unref the source.
6391 * libspi/accessibleeventlistener.c
6392 (impl_accessible_event_notify_event): unref the source.
6394 * idl/Event.idl: remove 'hash_id' attribute - of no
6397 * libspi/application.c (notify_listeners): upd list
6399 (spi_application_object_event_listener),
6400 (spi_application_toolkit_event_listener): upd to do correct
6404 (_registry_notify_listeners): update.
6405 (parse_event_type): this method also leaks like a sieve.
6406 (impl_accessibility_registry_deregister_global_event_listener):
6407 fix ETYPE_WINDOW case.
6409 * libspi/application.c
6410 (impl_accessibility_application_register_object_event_listener):
6413 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6415 * libspi/hypertext.c (impl_getLink): ditto.
6417 * cspi/spi_main.c (cspi_object_add): remove
6418 bogus CORBA_Object_duplicate.
6420 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6423 * cspi/spi_accessible.c
6424 (Accessible_getRelationSet): fix leak / referencing issue.
6426 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6427 (cspi_object_add, cspi_object_unref): upd.
6428 (spi_object_release, get_live_refs): impl.
6429 (cspi_cleanup): simplify.
6431 * *.[ch]: s/boolean/SpiBoolean/
6433 * cspi/spi_accessible.c (role_names): actualy order so it
6434 corresponds with the enum !
6436 * test/test-simple.c (test_roles): check some role strings
6437 vs. enums to detect offset errors.
6439 2001-12-01 Michael Meeks <michael@ximian.com>
6441 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6443 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6445 (Accessible_getChildAtIndex): use cspi_add_check so we
6446 check the ev before using a (possibly) invalid value.
6448 * libspi/accessible.c
6449 (impl_accessibility_accessible_get_parent): don't segv
6452 * at-bridge/bridge.c (gtk_module_init): upd.
6453 (bridge_property_event_listener): don't leak strings
6455 (bridge_state_event_listener),
6456 (bridge_property_event_listener): don't use a static
6457 buffer in case of recursive event emission &
6458 re-enterancy - split out the swathe of cut and paste
6460 (emit_eventv): and fix 2 ref leaks here & comply to the
6462 (bridge_register_app): rename to
6463 (bridge_idle_init): this and kill arg parsing, split
6464 various inits & bonobo-activation registration to module
6465 init time, kill referencing error.
6466 (bridge_exit_func): fix the same leak.
6467 (bridge_focus_tracker): don't leak event structures
6469 (bridge_signal_listener): more leakage and cut & paste
6471 (bridge_key_listener): return the result - FIXME is
6472 this polarity correct ?
6473 (accessibility_keystroke_from_atk_key_event): rename
6474 (accessibility_init_keystroke_from_atk_key_event): and stop
6476 (gtk_module_init): return a value - not that it is checked by
6478 (bridge_key_listener): register my horror at casting between
6479 IDL defined structs.
6480 (bridge_get_registry): kill - not used.
6482 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6484 * test/test-simple.c (test_roles): impl.
6485 (test_desktop, validate_accessible, validate_tree): impl.
6487 * cspi/spi_accessible.c (role_names): fixup bogus
6488 MAX_ROLES setup, make constants const for efficient linkage
6489 (AccessibleRole_getName): conform to coding style, make
6492 2001-11-30 Michael Meeks <michael@ximian.com>
6494 * cspi/spi.h: add missing prototype.
6496 * libspi/registry.c (spi_listener_struct_new): fix sig.
6498 * test/Makefile.am: add test-simple
6500 * test/test-simple.c: add
6502 * test/test.sh: add.
6504 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6506 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6507 do it straight - since otherwise we often get an activation race.
6509 [ work before Bill duplicated a chunk of it ... ]
6510 2001-11-30 Michael Meeks <michael@ximian.com>
6512 * libspi/keystrokelistener.c
6513 (spi_keystroke_listener_class_init): fixup arg
6516 * libspi/eventlistener.c
6517 (spi_event_listener_class_init): ditto.
6519 * tests/test.sh: add.
6521 * cspi/spi-listener-impl.h: update macros.
6523 * cspi/spi-listener-impl.c
6524 (cspi_event_listener_remove_callback): add
6525 correct pre-conditions.
6527 * cspi/spi_main.c (SPI_exit): guard vs. double
6528 exits, exit the mainloop nicely.
6529 (SPI_event_main): make more sense.
6530 (SPI_init): move the atexit evilness here so we
6531 always do it (yuck).
6532 (SPI_event_main): upd.
6534 * test/simple-at.c: update for listener changes.
6536 * registryd/registryd.c (main): prune kruft.
6538 * libspi/libspi.h: upd.
6540 * libspi/eventlistener.[ch]: rename broken macros.
6542 * libspi/accessibleeventlistener.[ch]: remove.
6544 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6546 * test/test-simple.c: Add - automated tests.
6548 * cspi/spi-listener-impl.c (cspi_event),
6549 (cspi_key_event): add user_data to invoke.
6550 (cspi_keystroke_listener_finalize): impl.
6551 (cspi_keystroke_listener_class_init): upd.
6554 (createAccessibleEventListener),
6555 (AccessibleEventListener_addCallback),
6556 (createAccessibleKeystrokeListener),
6557 (AccessibleKeystrokeListener_addCallback): upd.
6559 * libspi/deviceeventcontroller.c
6560 (spi_device_event_controller_check_key_event): add public proto.
6563 (impl_accessibility_registry_deregister_global_event_listener):
6564 always init listeners.
6565 (_registry_notify_listeners): yes it is.
6567 * cspi/spi-listener-impl.c (cspi_key_event):
6569 (cspi_event_listener_finalize): impl.
6570 (cspi_event_listener_class_init): hook up.
6571 (event_handler_new, event_handler_free),
6572 (event_list_remove_by_callback): impl.
6573 (cspi_event_listener_remove_callback),
6574 (cspi_keystroke_listener_remove_callback),
6575 (cspi_keystroke_listener_add_callback),
6576 (cspi_event_listener_add_callback): upd.
6578 * libspi/keystrokelistener.c
6579 (keystroke_listener_object_finalize): kill
6580 (spi_keystroke_listener_class_init): upd.
6581 (spi_keystroke_listener_add_callback),
6582 (spi_keystroke_listener_remove_callback): kill,
6584 (impl_key_event): prune drasticaly.
6586 * libspi/eventlistener.c
6587 (spi_event_listener_add_callback),
6588 (spi_event_listener_remove_callback): kill, use
6590 (impl_accessible_event_notify_event): upd.
6591 (spi_event_listener_object_finalize): remove.
6593 * libspi/Makefile.am: use eventlistener.[ch]
6595 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6597 * libspi/registry.c (_registry_notify_listeners):
6598 Changed listener loop iteration to use preferred convention.
6599 Got rid of string memory leaks caused be calling g_strconcat
6600 inside function calls.
6602 * libspi/registry.c (parse_event_type):
6603 Stopped g_strconcat memory leaks, free the g_strsplit return,
6604 g_strdup the split pieces when used, etc.
6606 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6609 Change method 'compare' to return a 'difference set' rather than
6610 taking a StateSet as an out parameter (more Java-friendly).
6612 * idl/Accessible.idl:
6613 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6615 * idl/Component.idl:
6617 Changed methods 'getExtents' and 'getImageExtents' in these
6618 interfaces to return a BoundingBox structure.
6619 (getPosition and getSize are redundant and possibly should be
6620 removed, rather than creating a corresponding Point struct.)
6622 * cspi/spi_component.c:
6623 Modify implementation of getExtents to reflect the above IDL
6628 Add (missing) AccessibleImage_getExtents () API.
6630 * docs/reference/cspi/at-spi-cspi-sections.txt:
6631 Added AccessibleImage_getImageExtents () to docs.
6633 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6635 * idl/Component.idl:
6636 Added two methods, getLayer () and getMDIZOrder (), to reflect
6637 the new ATK methods atk_object_get_layer and
6638 atk_object_get_mdi_z_order. (Which arguably should be part of the
6639 AtkComponent API and AtkObject). Also added an enum,
6640 ComponentLayer, for the first method's return value.
6642 * libspi/component.c:
6643 Added implementations for these methods.
6645 * cspi/spi_component.c:
6647 Added cspi binding methods for above,
6648 AccessibleComponent_getLayer() and
6649 AccessibleComponent_getMDIZOrder().
6650 Added cspi enum 'AccessibleComponentLayer'.
6652 * docs/reference/cspi/at-spi-cspi-sections.txt:
6653 Added above methods to docs.
6657 Changed typedef for 'boolean' type (and all references to it) to
6658 SPIBoolean, to avoid keyword clashes with C++.
6661 Changed usages of 'boolean' to SPIBoolean.
6663 * test/keysynth-demo.c:
6664 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6665 app), except where SPIBoolean is required by the callbacks API.
6667 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6669 * cspi/spi_registry.c:
6670 Removed obsolete X event loop for passive keygrabs (which now
6673 * registryd/registryd.c:
6674 Removed unnecessary call to gdk_init() [cruft]. This also allows
6675 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6678 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6680 * docs/reference/cspi:
6681 Included docs for SPI_freeString in generated documentation.
6684 Renamed spi_freeString to SPI_freeString, for consistency. Added
6685 documentation for this function.
6688 Renamed spi_freeString to SPI_freeString, for consistency.
6689 Removed obsolete method declaration string_from_corba_string.
6691 * test/keysynth-demo.c:
6692 Small tweak to comments.
6695 Stopped leaking the strings returned from CSPI.
6697 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6699 Merged Michael's branch (see his ChangeLog entries below).
6701 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6702 bridge is alive, release on exit.
6704 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6705 Fix type check macro.
6708 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6711 Added is_gnome_app static, and method cspi_is_gnome_app(),
6712 so we can call the appropriate shutdown routine at exit in SPI_exit.
6714 * cspi/spi_main.c (cspi_object_ref):
6715 Duplicate the corba object passed in, since we're keeping it around.
6717 * cspi/SPI_exit.c, cspi_cleanup:
6718 Moved the releasing of the live refs to its own function, so we
6719 can put it in g_atexit (). Call the appropriate shutdown API
6720 depending on whethe calling client is a gnome app or not
6721 (bonobo_main_quit or CORBA_ORB_shutdown).
6723 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6724 Unref the listener when this method is called, after
6725 deregistration. Updated the API docs to note this behavior.
6727 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6728 Bugfixes: Ref the bonobo object when returning a parent or child
6729 reference, or an AccessibleRelation. Generally made sure
6730 BonoboObject refcount is incremented whenever we return an
6733 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6734 Fixed typo/bug in signal declaration.
6736 * libspi/accessibleeventlistener.h:
6739 * libspi/application.c (spi_application_new):
6740 Fixed leak in initialization.
6743 Remembered to increment bonobo-object refcount when returning
6744 children (applications) from desktop object.
6745 Added (empty) finalize method.
6747 * libspi/deviceeventcontroller.c:
6748 Hold a ref to listeners inside DEControllerKeyListeners.
6749 Added dec_key_listener_free() method. Use prepend instead of
6750 append in key_listener list. Fixed some refcount madness and
6751 leaks in the listener registration/deregistration - deregistration
6752 now calls dec_key_listener_free() on listeners, and on the
6753 temporarily constructed dec_key_listener() used to perform the search/match.
6755 * libspi/hypertext.c (spi_hypertest_finalize):
6756 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6757 class. Also fixed spi_hypertext_interface_new() and
6758 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6760 * libspi/hypertext.h:
6761 Removed pointless and duplicate AtkObject pointer from
6764 * libspi/keystrokelistener.c:
6765 Fixed incorrect type of keystroke_listener_parent_class,
6766 renamed keystroke_listener_object_finalize to
6767 spi_keystroke_listener_object_finalize.
6768 Fixed typo in signal declaration
6769 (spi_keystroke_listener_class_init).
6771 * libspi/registry.c:
6772 Added funcsions spi_listener_struct_new() and
6773 spi_listener_struct_free() to help with memory management issues.
6774 We also now use these methods instead of gnew + poking stuff into
6775 the struct, and to decrement listener counts/free the listeners
6776 when deregistering them.
6777 Fix more refcount bugs in getDesktop() and
6778 getDeviceEventController().
6781 De-ref the desktop after enumerating the applications. Explicitly
6782 decrement the refcounts on the created listeners on exit (using
6783 _unref for keystroke listeners, and via the
6784 deregisterGlobalEventListenerAll command for other event
6787 2001-11-27 Michael Meeks <michael@ximian.com>
6789 * cspi/spi-listener.h: fixup enum.
6791 2001-11-27 Michael Meeks <michael@ximian.com>
6793 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6794 (cspi_keystroke_listener_new): Use the cspi variants.
6796 2001-11-26 Michael Meeks <michael@ximian.com>
6798 * test/keysynth-demo.c: fix 2 compile warnings, missing
6801 * test/simple-at.c (report_focussed_accessible),
6802 (report_focus_event, report_button_press),
6803 (check_property_change, is_command_key),
6804 (report_ordinary_key_event, report_command_key_event): upd.
6806 * util/mag_client.h: include pre-requisites.
6808 * libspi/accessibleeventlistener.c
6809 (spi_event_listener_object_finalize): free any lingering
6812 * libspi/keystrokelistener.c
6813 (keystroke_listener_object_finalize): ditto.
6815 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6816 callbacks, with cspi types.
6818 * cspi/spi_event.c (createAccessibleEventListener): chain to
6819 (AccessibleEventListener_addCallback): here.
6820 (createAccessibleKeystrokeListener): chain to
6821 (AccessibleKeystrokeListener_addCallback): here.
6823 * libspi/keystrokelistener.c
6824 (spi_keystroke_listener_class_init): add signal.
6825 (impl_key_event): emit the event.
6826 (boolean_handled_accumulator): impl.
6827 (marshal_BOOLEAN__POINTER): add, gack.
6829 * libspi/accessibleeventlistener.c
6830 (spi_event_listener_class_init): add signal.
6831 (impl_accessible_event_notify_event): emit the signal &
6832 make the loop efficient.
6833 (spi_event_listener_add_callback): prepend the callback.
6835 * libspi/accessibleeventlistener.h: add an 'event' signal,
6836 decl type on callback.
6838 * libspi/keystrokelistener.h: ditto.
6840 * cspi/spi-listener.h: make methods typesafe and
6841 make them use the new event typedefs.
6843 * test/simple-at.c (report_focussed_accessible):
6844 include mag_client.h
6845 Use *(void *)text_interface not the other thing.
6847 * configure.in: add gtk to registryd bits - since we use
6850 * util/magnifier.c: include libbonobo.h
6852 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6854 * test/keysynth-demo.c:
6855 Turned this into a simple scanning keyboard, to demonstrate the
6856 use of g_timeout_add () as a means of creating timers for
6857 scanning, and the use of GtkStyle for visually indicating when
6858 virtual keyboard elements are selected.
6860 keysynth-demo now listens to any keyboard keys with zero-valued
6861 keycodes (i.e. 'unused' keys) and interprets them as
6864 Reworked the shiftlatch code so that shift-down state isn't held
6865 for long periods (it's only synthesized immediately prior to
6866 the keysynth event it's modifying). Note that shiftlatch in this
6867 demo is a convenience, not intended to take the place of AccessX
6868 which is the better choice for getting 'sticky' modifier keys.
6870 * libspi/deviceeventcontroller.c:
6871 * at-bridge/bridge.c:
6872 * cspi/spi_registry.c:
6873 Removed some debug print stuff, and put other verbosity in #ifdef
6878 Implemented some more of the magnifier IDL for the simple
6879 magnifier: namely, getZoomRegionParams.
6880 Added mag_x and mag_y members to MagnifierData struct, aid of this
6882 Added GtkWindow::realize signal handler to magnifier, to keep it
6883 from receiving keyboard focus from the WM.
6885 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6887 * cspi/spi-private.h: my guess at what michael forgot
6888 before he ran off to NZ :-)
6890 2001-11-23 Michael Meeks <michael@ximian.com>
6892 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6893 comment out non existant method invoke so we link.
6895 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6896 use bonobo_exception_get_text for more friendly warnings.
6898 * cspi/spi.c (Obj_Add): move into spi_main & rename
6899 spi_object_add; kill spi.c
6901 * cspi/spi_registry.c
6902 (deregisterGlobalEventListener),
6903 (deregisterGlobalEventListenerAll),
6904 (registerGlobalEventListener): fix exception leaks.
6906 * cspi/spi_main.c (spi_exception): impl. helper, so we
6907 don't leak exceptions.
6909 * cspi/spi_selection.c
6910 (AccessibleSelection_deselectSelectedChild): return the
6913 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6914 (spi_registry): ditto.
6915 (SPI_init): guard against double inits.
6917 * cspi/*.c: use spi_ev (), and spi_registry () where
6918 appropriate - a temporary hack until we have something
6919 better. Use spi_object_add
6921 2001-11-22 Michael Meeks <michael@ximian.com>
6923 * cspi/Makefile.am: re organise, install the headers.
6925 * cspi/*.h: add G_BEGIN/END_DECLS
6927 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6930 Added non-preemptive keylistener for key events with no modifiers
6931 and shift-only modifier.
6933 * libspi/keystrokelistener.c:
6934 Removed some verbose diagnostics printout.
6936 * cspi/spi_registry.c:
6937 Fixed a bug that caused all key listeners to be registered as
6940 * libspi/deviceeventcontroller.c:
6941 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6942 for non-preemptive key masks.
6945 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6947 * docs/reference/idl/at-spi-idl-docs.sgml:
6948 * docs/reference/idl/at-spi-idl-sections.txt:
6949 * docs/reference/idl/at-spi-idl-overrides.txt:
6950 Added missing files.
6952 * docs/reference/Makefile.am:
6953 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6954 to scan the IDL files :-(
6959 Added .cvsignore files.
6961 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6963 * libspi/deviceeventcontroller.c:
6964 * libspi/keystrokelistener.c:
6966 * cspi/spi_registry.c:
6967 Added filters for KeySets, KeyEventSeq, and event types to key
6968 event dispatching, so listeners should only receive those events
6969 that they requested :-)
6971 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6976 * docs/reference:Makefile.am:
6977 * docs/reference/cspi:
6978 * docs/reference/cspi:Makefile.am:
6979 * docs/reference/cspi:tmpl:
6980 * docs/reference/cspi:tmpl:*.sgml:
6981 * docs/reference/idl:
6982 * docs/reference/idl:Makefile.am:
6983 * docs/reference/idl:at-spi-idl-sections.txt:
6984 * docs/reference/idl:at-spi-idl-docs.sgml:
6985 * docs/reference/idl:tmpl:
6986 * docs/reference/idl:tmpl:*.sgml:
6988 Restructured docs directory to allow separate 'reference' docs
6989 section, and forked idl and cspi docs. Added the sgml template
6990 files to CVS. Added the first sections/structural sgml for the
6993 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6995 * configure.in, libspi/Makefile.am: find libXtst.
6997 2001-11-21 Michael Meeks <michael@ximian.com>
6999 * test/accessx-gui.c: s/spi_value/value/ - doh.
7001 * libspi/base.[ch]: add.
7003 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7005 * idl/Accessible.idl:
7006 * idl/Application.idl:
7009 Started gtk-doc cleanup on IDL.
7011 * libspi/deviceeventcontroller.c:
7012 Added and connected non-preemptive key notification from the
7013 toolkits (in addition to the pre-emptive support from XServer
7014 which we had before, but which causes 'focus flashing'). Filters
7015 are presently limited to key modifiers and global/non-global,
7016 KeySets are presently ignored, as are KeyEvent masks.
7018 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7019 structs into the persistant structure rather than just storing
7020 pointers to things that might not persist across servant
7023 The XGrabKey call now does async keygrabs, because synchronous
7024 ones were deadlocking with GDK_event code in a very nasty way.
7026 Added boolean to internal method notify_keylisteners, to indicate
7027 whether the event came from the 'toolkit source' or the 'global
7028 (XServer) source' - this is used in the notification process to
7029 determine which listeners to send the event to.
7031 deviceeventcontroller.c is now warning-free.
7033 * libspi/registry.c:
7034 Fixed regression in application de-registration.
7035 Also fixed some really brain-dead weirdness having to do with
7036 event dispatching - event structs are now duplicated before being
7037 re-marshalled in the dispatch to listeners. This also fixes a
7038 Solaris build problem.
7041 2001-11-20 Michael Meeks <michael@ximian.com>
7044 (impl_accessibility_registry_deregister_global_event_listener):
7047 * libspi/deviceeventcontroller.c
7048 (spi_device_event_controller_check_key_event): return
7049 FALSE on no virtual method.
7051 * libspi/*..h: make includes work on a correctly pathed install.
7053 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7055 * libspi/application.h: kill unused ( and whacked out )
7056 gboolean *spi_application_set_id (AtkObject *app, long id);
7058 2001-11-20 Michael Meeks <michael@ximian.com>
7060 * libspi/*.[ch]: further convert to bonobo's type func
7061 macros, remove redundnant casts etc.
7063 * libspi/text.c s/accessibility_text/spi_text/g,
7064 re-order to de-cruft.
7066 * libspi/hypertext.c: re-order to kill a huge slew
7067 of redundant forward decls.
7069 * libspi/relation.c: ditto.
7071 * libspi/image.c: ditto.
7073 * */.cvsignore: update
7075 2001-11-20 Michael Meeks <michael@ximian.com>
7077 * libspi/deviceeventcontroller.c
7078 (_controller_register_with_devices): use g_getenv,
7079 kill stdlib.h include.
7081 * libspi/keystrokelistener.c
7082 (spi_keystroke_listener_get_type): kill
7083 (spi_keystroke_listener_class_init),
7084 (spi_keystroke_listener_init): rename to this.
7086 * libspi/text.c (impl_getAttributes): fix warning / bug.
7088 * libspi/*.[ch]: more headers, includes and over commenting.
7090 2001-11-20 Michael Meeks <michael@ximian.com>
7092 * libspi/*.[ch]: fixup headers, includes and over commenting.
7094 * libspi/image.c (impl__get_imageDescription): const
7095 correctness warning fix. remove redundant casting.
7097 * libspi/table.c (impl_getRowDescription): ditto.
7098 (impl_getColumnDescription): ditto.
7100 * libspi/libspi.h: add.
7102 2001-11-19 Michael Meeks <michael@ximian.com>
7104 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7106 * libspi/component.c (accessibility_component_get_type):
7107 rename to (spi_component_get_type): and macroify.
7108 (accessibility_component_init): rename to
7109 (spi_component_init): this
7110 (accessibility_component_class_init): rename to
7111 (spi_component_class_init): this
7113 * libspi/action.c (spi_action_get_type): kill, use the macro.
7115 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7118 * libspi/application.c (spi_application_object_event_listener),
7119 (impl_accessibility_application_register_object_event_listener):
7120 warning fixes / const understanding updates.
7122 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7125 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7127 * libspi/spi_accessible.c: Added docs and C bindings for
7128 AccessibleStateSet. (No implementations yet). Documentation
7129 coverage for C bindings now 100%. Made docs for event listeners
7134 boolean notifyListenersSync (in DeviceEventListener listener,
7135 in DeviceEvent event);
7137 oneway void notifyListenersAsync (in DeviceEventListener listener,
7138 in DeviceEvent event);
7140 Added DeviceEventListener and DeviceEvent structs (may deprecate
7141 KeyStroke and KeystrokeListener in favor of this generic
7142 event/listener framework for devices).
7144 * libspi/deviceeventcontroller.c:
7146 Changed some key listener code to take masks, etc., and paved the
7147 way for integration of toolkit/non-preemptive key events. Changed
7148 signatures of some internal methods.
7150 * at-bridge/bridge.c:
7151 Fixed regression connecting to interface signals, apparently
7152 caused by GTK+ changes.
7154 Added an internal bridge_state_listener to deal with
7155 property-change:accessible-state signals.
7157 Changed the key_listeners GList to store structs (including masks,
7158 etc.) instead of just CORBA_Objects (required for full
7159 implementation of key listener API).
7161 Connected the bridge to all currently supported Atk signals.
7162 Events now supported:
7163 object:property-change
7164 object:property-change:accessible-name
7165 object:property-change:accessible-state
7166 object:property-change:accessible-description
7167 object:property-change:accessible-parent
7168 object:property-change:accessible-value
7169 object:property-change:accessible-role
7170 object:property-change:accessible-table-caption
7171 object:property-change:accessible-table-column-description
7172 object:property-change:accessible-table-column-header
7173 object:property-change:accessible-table-row-description
7174 object:property-change:accessible-table-row-header
7175 object:property-change:accessible-table-summary
7176 object:children-changed
7177 object:visible-data-changed
7178 object:selection-changed
7179 object:text-selection-changed
7181 object:text-caret-moved
7183 object:row-reordered
7185 object:column-inserted
7186 object:column-reordered
7187 object:column-deleted
7188 object:model-changed
7190 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7192 * libspi/hyperlink.c,h:
7193 Fixed some broken stuff in hyperlink.
7195 * libspi/relation.h:
7196 * libspi/relation.c:
7197 * cspi/spi_accessible.c:
7198 Initial implementations of AccessibleRelation methods, and docs.
7200 * libspi/accessible.c:
7201 Fixed a bug that caused SEGV if an accessible
7202 object's description is NULL, and a client
7203 requests it. An empty string is now returned.
7205 * cspi/spi_editabletext.c:
7206 * cspi/spi_hypertext.c:
7208 * cspi/spi_hyperlink.c:
7212 Doc coverage now 95%.
7214 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7216 One last namespacing revision:
7217 * libspi/accessibleeventlistener.[ch]:
7218 Renamed SpiAccessibleEventListener to SpiEventListener,
7219 (no need for two namespaces ;-)
7221 And lots of documentation fixes:
7223 * docs/at-spi-docs.sgml:
7224 Fixed 'underscore vs. hyphen' bug that was preventing
7225 the gtk-doc API docs from being automatically generated.
7228 * cspi/spi-listener.h
7230 * cspi/spi_accessible.c
7232 * cspi/spi_application.c
7233 * cspi/spi_component.c
7234 * cspi/spi_editabletext.c
7236 * cspi/spi_hypertext.c
7238 * cspi/spi_registry.c
7239 * cspi/spi_selection.c
7243 * docs/at-spi-docs.sgml
7244 * docs/at-spi-sections.txt
7246 Added and fixed up gtk-doc documentation in cspi.
7248 Interfaces now (fully) documented (subject to revision and enhancement):
7250 Event Listener Support
7252 AccessibleApplication
7256 AccessibleEditableText
7263 AccessibleRelationSet
7268 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7270 * at-bridge/bridge.c:
7271 Initial work for toolkit-level key snooper connection by bridge.
7276 New typedefs and fixes to support new namespacing, and cleaner
7277 separation of cspi bindings from libspi bonobo implementation.
7278 Removed inconsistent and extraneous Spi* namespace prefix that
7279 had crept into cspi headers.
7280 Lots of comment fixes that sed had missed.
7282 * cspi/spi-roletypes.h:
7283 * cspi/spi-statetypes.h:
7284 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7285 to AccessibleRoleType.
7287 * libspi/accessibleeventlistener.h:
7288 Fixed minor namespacing weirdness.
7290 * libspi/deviceeventcontroller.c:
7291 Reordered some internal API for device listeners.
7292 Changed the key registry final boolean to 'is_system_global'
7293 rather than 'is_synchronous', which is more descriptive of its
7295 Added spi_device_event_controller_new().
7296 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7298 * libspi/keystrokelistener.[ch]:
7299 Namespaced KeystrokeListener to SpiKeystrokeListener.
7300 Changed uses of keymasks to use SPI_ prefix, and did other
7303 * libspi/keymasks.h:
7304 Namespaced keymask constants with SPI_ prefix.
7306 * libspi/registry.c:
7307 Some warning fixes, and knock-on fixes from namespace changes.
7310 Added rules for accessx-gui test program.
7312 * test/accessx-gui.c:
7313 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7314 utility. It doesn't actually use at-spi, but it's still cool and
7317 * test/keysynth-demo.c:
7321 Fixes so that these test clients work properly with the namespaced
7322 libraries. (Incompletely tested for technical reasons, fixes may follow)
7325 2001-11-13 Michael Meeks <michael@ximian.com>
7327 * libspi/application.c
7328 (impl_accessibility_application_get_version),
7329 (impl_accessibility_application_get_toolkit_name):
7331 (impl_accessibility_application_set_id),
7332 (impl_accessibility_application_get_id): remove
7333 redundant casting code.
7335 * libspi/action.c (impl_getDescription): fix warnings.
7337 * libspi/accessible.c
7338 (impl_accessibility_accessible_get_parent),
7339 (impl_accessibility_accessible_get_child_at_index),
7340 (impl_accessibility_accessible_get_state),
7341 (impl_accessibility_accessible_get_relation_set):
7342 warning fixes & include action.h
7344 2001-11-13 Michael Meeks <michael@ximian.com>
7346 * *.[ch] fix bits I screwed up:
7348 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7349 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7351 2001-11-13 Michael Meeks <michael@ximian.com>
7353 * *.[ch] Namespace libspi into spi_ and Spi.
7355 2001-13-11 Michael Meeks <michael@ximian.com>
7357 * Makefile.am: dist & install at-spi-1.0.pc
7359 * libspi/Makefile.am: install into at-spi-1.0
7361 * idl/Makefile.am (idldir): install into at-spi-1.0
7363 * at-spi-1.0.pc.in: add.
7365 * configure.in: build it.
7367 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7369 * test/keysynth-demo.c:
7370 Use a 'realize' signal-handler to set the WM properties for
7371 the virtual keyboard, rather than making it a "POPUP" type
7372 override-redirect window (thanks to anders carlsson for that
7375 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7378 * test/keysynth-demo.c:
7379 Added new test of key synthesis, which creates a simple
7380 (mouse-operated) onscreen keyboard. It inserts key events into
7381 the currently-focused window, thus it does not grab keyboard focus
7384 * cspi/spi_registry.c:
7385 Added C binding for AT-SPI generateKeyEvent.
7387 * libspi/deviceeventcontroller.c:
7388 Added call to XFilterEvent so that key listener works with XIM (we
7389 hope). Added event_synth_type to generateKeyEvent, so that we can
7390 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7391 synthesize a press/release pair for KeySyms.
7393 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7395 * libspi/Makefile.am:
7396 * registryd/Makefile.am:
7397 (temporary) hack to include libXtst in libspi and registryd.
7398 (Needed for keystroke synthesis, see below).
7401 Improved API for registerKeystrokeListener, in accordance with
7402 discussions with Gnopernicus team and X server research.
7404 * libspi/registry.c:
7405 * libspi/deviceeventcontroller.c:
7406 * libspi/accessible.c:
7407 * libspi/keystrokelistener.c:
7408 Changes and fixes to support keylisteners for potentially
7409 consumed key events (that is, 'passive grabs').
7410 Added implementation for generateKeyEvent() [untested].
7413 Changes to registerKeystrokeListener() API, as above.
7414 Added deregisterGlobalEventListenerAll(), and
7415 deregisterKeystrokeListener(), which are needed for clean exit of
7417 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7418 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7420 * cspi/spi_registry.c:
7421 Added implementations of function prototypes mentioned above.
7423 * registryd/registryd.c:
7424 Added the key listener event source as a g_timeout(), to allow
7425 receipt of key events that are not caught by GDK (since GDK
7426 doesn't support passive keygrabs, this was necessary).
7429 Changed to attach a keylistener to 'Alt' keys, and
7430 respond to the following keycommands: Alt-M (toggle magnifier);
7431 Alt-F (toggle speech); Alt-Q (quit).
7432 Added an exit routine to deregister the listeners, and a key
7433 listener that prints some key info to the console when a key
7434 matches the listener mask (and is thus received by the listener).
7436 * util/idl/Magnifier.idl:
7437 Changes to magnifier API to support multiple zoom regions,
7438 non-uniform scaling in x and y, markDirty, and a host of other
7439 features that would be useful to magnification.
7442 * util/mag_client.c:
7443 * util/mag_client.h:
7444 * util/mag_control.c:
7446 Source code changes to support the above IDL changes.
7449 As above, and also changes to use a (slower) generic conversion
7450 path for colormap conversions, since the fast RGB conversions have been
7451 reported to fail for 16-bit displays.
7453 2001-10-26 Michael Meeks <michael@ximian.com>
7455 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7457 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7459 * at-bridge/Makefile.am: fix LDFLAGS.
7461 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7463 * at-bridge/bridge.c:
7464 Re-worked listeners for toolkit events, now we have signal
7465 and property listeners. Added a private method
7466 register_atk_event_listeners(), which registers with the
7467 various atk and gtk signals we need to monitor in order to emit
7469 Added emission hook for AtkObject:property-change events, to
7470 support the 'property listeners'.
7471 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7474 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7475 which emit warnings and exit, respectively, if CORBA errors occur
7476 during remote calls, and we now use these methods to check most of
7477 our CORBA calls in the C bindings.
7479 * cspi/spi_accessible.c:
7480 Changed AccessibleSelection_refSelectedChild() to
7481 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7482 now increment refcounts.
7484 * cspi/spi_component.c:
7485 Fixed some long pointer casts (dangerous!) to pass pointers to
7486 CORBA_longs of the proper type to the CORBA stubs, and copy the
7487 data into the longs that were passed into the C bindings code.
7489 * at-bridge/bridge.c:
7491 * libspi/accessible.c:
7492 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7493 hyperlinks, AtkHyperlink is an object type.
7495 * libspi/application.c:
7496 Added various conversions to and from "generic" event types and
7497 atk-specific types; this is really part of the 'bridge'
7498 implementation but is valid for all AtkObject-based accessibility
7501 * libspi/editabletext.c:
7502 Fixed nasty bug wherein editable text's finalize method was
7503 unref'ing tha AtkObject reference that the text parent class was
7504 about to unref _again_. There was also a nasty inheritance bug
7505 that meant that the AccessibleEditableText class was corrupt.
7507 * libspi/selection.c:
7508 Provided implementations for some selection API that was broken.
7510 * idl/Application.idl:
7511 Added registerObjectEventListener () method.
7514 Fixed a number of return values that were Bonobo_Unknowns from
7515 bonobo_object_corba_objref(), which I
7516 forgot to dup before returning. Changed instances of
7517 bonobo_object_corba_objref (bonobo_object(o)) to
7518 BONOBO_OBJREF(o), for concision and clarity.
7520 2001-10-13 Louise Miller <louise.miller@sun.com>
7522 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7523 idl/Event.idl, idl/Registry.idl
7524 Changed these files to include Bonobo_Unknown.idl instead
7527 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7529 * libspi/component.c libspi/component.h:
7530 Fixed typo. Added assertions for object checks in
7531 AccessibleComponent code.
7533 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7535 * idl/Accessible.idl:
7536 Added 'isEqual (Accessible *object)'
7537 method for Accessible. (Not Yet Implemented).
7540 Changed signature of registerKeystrokeListener() to
7541 take a KeySet and KeyEventSeq so that specific keys and event
7542 types could be requested for monitoring, and added a flag
7543 is_synchronous so that either synchronous or asynchronous
7544 notification could be requested. (However this is not all
7545 implemented yet). This also meant adding two new typedefs,
7546 KeyEventSeq and KeySet.
7549 Added two new relations, RELATION_TOOLTIP_FOR and
7550 RELATION_LEAFNODE_OF.
7553 Added new state, STATE_HAS_TOOLTIP.
7555 * libspi/text.c, editabletext.c:
7556 Added new assertions to all casts of bonobo-objects from
7557 CORBA servants, to prevent Text API calls on non-text objects.
7558 Changed suspect casts of int-pointer types, so that we
7559 always send a valid CORBA_long pointer to the CORBA APIs that use
7560 in/out long parameters. We then have to copy from the CORBA_long
7561 into the regular long or int for return to the C bindings, or
7562 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7565 * libspi/deviceeventcontroller.c:
7566 Cleaned these sources up.
7568 Changed return type for getCharacterAtOffset to
7569 CORBA_unsigned_long, to allow for 32-bit characters.
7572 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7576 Fixed 'make dist' so that distro compiles...
7577 * libspi/keymasks.h:
7579 * cspi/spi-listener.c:
7580 KeystrokeListenerCB now returns a boolean.
7582 Added KeyEventType struct, and KeyStroke.
7583 Also added createKeystrokeListener(),
7584 KeystrokeListener_addCallback(),
7585 KeystrokeListener_removeCallback(), and added a keymask to
7586 registerKeystrokeListener().
7587 * cspi/spi_accessible.c:
7588 Changed numerous return types for interfaces from
7589 AccessibleComponent to Accessible<InterfaceName>; this was
7590 probably a cut-and-paste error.
7592 Implementations of new KeystrokeListener api (from spi.h,
7595 Changes to key modifier mapping.
7596 Created ControllerEventMask struct.
7597 Made DeviceEventController derive from Bonobo::Unknown.
7599 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7600 * libspi/deviceeventcontroller.c:
7601 Added a number of new internal (private) methods.
7602 * libspi/editabletext.c:
7603 * libspi/editabletext.h:
7604 Fixed a number of bugs related to the fact that
7605 editabletext inherits from text. Fixed the EditableText struct,
7606 the init() call, and use correct casts when calling Text methods
7607 from an EditableText object. Removed (duplicate) atko from the
7608 EditableText structure, we use the one in the parent Text
7609 structure via the casts mentioned above.
7610 * libspi/keystrokelistener.[ch]:
7611 * libspi/registry.c:
7612 Changes in support of keyboard handling (above).
7614 Keyboard handling, though partly functional, is still not
7615 recommended for at-spi client use as there is considerable
7616 work yet to be done.
7619 Changed some places where pointers to various int types
7620 are cast to be pointers to CORBA_long types and vice-versa:
7621 pointer casting is not safe so we pass pointers of the correct
7622 types and then cast the result before putting it into the target
7625 * libspi/text.h: minor typos corrected.
7627 We now speak not only the name of a Text element, but the
7628 first sentence of its content, when it receives focus.
7629 I also changed the text compression to 75% from 50%.
7630 * util/Accessibility_Util.server.in:
7631 Changed the default magnifier type to be a 3x vertical
7632 splitscreen magnifier (was previously a 2x horizontal one).
7634 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7636 * libspi/keystrokelistener.h:
7637 * libspi/keystrokelistener.c:
7638 Initial functional implementations of KeystrokeListener.
7641 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7643 Fixed string handling for NULL strings in libspi.
7644 Added spi_freeString to free strings returned by C bindings.
7646 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7648 * libspi/keystrokelistener.h:
7649 * libspi/keystrokelistener.c:
7650 Began (no-op) implementations of KeystrokeListener
7652 * libspi/deviceeventcontroller.c:
7653 * libspi/deviceeventcontroller.h:
7654 Began creating implementations of DeviceEventController,
7655 to handle keystroke and mouse event listening and
7657 * libspi/accessible.c:
7658 Stubbed-in the implementations for
7659 Accessibility_Accessible_getState and
7660 Accessibility_Accessible_getRelationSet.
7661 * libspi/registry.c:
7662 Improved de-registration process and fixed some bugs,
7663 deregistration now works correctly.
7665 Added initialization of applications list (to NULL).
7667 Reduced speech compression from 0.5 to 0.7, for demo.
7668 Changed call to gdk_window_set_decorations()
7669 to gtk_window_set_decorated().
7670 * at-bridge/bridge.c:
7671 Bridge now deregisters when app exits, via
7672 registration of a cleanup function
7673 with the g_atexit() call.
7674 Required making 'app' static, renamed 'this_app'.
7675 Fixed broken use of bonobo_init, passing argv wrongly.
7677 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7681 Created a new directory for
7682 accessibility-related utilities, primarily for
7683 testing and demo purposes, but with possible
7690 Onscreen magnifier utility that
7691 is implemented as a bonobo service.
7693 * util/mag_client.c:
7694 * util/mag_client.h:
7695 Client-side support (simple C bindings)
7696 for Magnification service
7698 * util/mag_control.c:
7699 Client program example for
7700 Magnification service
7702 * util/Accessibility_Magnifier.server.in:
7703 Bonobo-activation file for the
7704 Magnification service.
7707 * util/idl/Magnifier.idl:
7708 IDL defining the bonobo Magnification
7712 Modifications to use the bonobo-activated magnifier
7713 above, in place of trying to connect to an existing
7714 magnifier that uses socket-listening IPC.
7716 If env variable MAGNIFIER is set, a magnifier service
7717 will be started if one does not exist.
7719 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7721 * at-bridge/bridge.c:
7722 applied patch from Marc to build and run
7723 against new glib and gtk+ (seemed like a change
7724 to bonobo_init signature was made ?)
7726 made festival-server support turned off by default.
7727 Added support for a simple magnifier (off by default)
7728 which will be added to a 'util' directory later.
7729 * at-bridge/Makefile.am:
7730 Changed "application.h" header from a 'source'
7731 to a 'dependency' of libat-bridge.
7733 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7742 Added interface implementation c files to list of
7743 includes so they are included in libcspi.
7746 Changed prototype of AccessibleAction_doAction to return a
7748 Changed prototype of AccessibleTable_getCaption to
7749 return an Accessible.
7750 Changed prototype of AccessibleTable_getSelectedRows
7751 and AccessibleTable_getSelectedColumns to
7752 return a long (returns the number of selected rows
7753 or columns respectively).
7754 Changed name of AccessibleText_refRunAttributes to
7755 AccessibleText_getAttributes.
7756 Changed prototype of AccessibleText_getCharacterExtents to
7757 return a void rather than a boolean.
7758 Added support for a AccessibleCoordType parameter
7759 specifying what type of coordinates are desired.
7760 Added an AccessibleCordType parameter to
7761 AccessibleText_getPointAtOffset.
7763 * cspi/spi_accessible.c:
7764 Added code to return the outstanding interfaces from
7765 Accessible_queryInterface.
7767 * cspi/spi_action.c:
7769 Corrected call to getNActions to call the c binding
7772 * cspi/spi_editabletext.c:
7774 Changed name from setRunAttributes to setAttributes.
7776 * cspi/spi_hyperlink.c:
7778 Changed call to getNAnchors to correctly call the c
7779 binding for an attribute.
7781 * cspi/spi_hypertext.c:
7783 Changed getImageDescription to correctly call the
7784 binding for an attribute.
7786 * cspi/spi_selection.c:
7787 Changed getNSelectedChildren to correctly call the c
7788 binding for the attribute.
7789 Changed refSelectedChild to getSelectedChild.
7793 Changed getCaption to return an Accessible.
7794 Fixed calls which retrieve attributes.
7795 Changed refAt to getAccessibleAt.
7796 Changed getNSelectedRows and getNSelectedColumns to
7800 Changed getCharacterExtents and getPointAtOffset to accept an
7801 AccessibleCoordType.
7803 Changed calls which retrieve attributes.
7804 Changed refRunAttributes to getAttributes.
7809 * idl/Hyperlink.idl:
7810 Changed n_anchors attribute to nAnchors to keep naming
7811 convention consistent.
7814 Made Table inherit from Bonobo::Unknown.
7815 Added nSelectedColumns and nSelectedRows attributes.
7818 Made Value inherit from Bonobo::Unknown.
7820 * libspi/hyperlink.c:
7821 Change for nAnchors attributte name change.
7823 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7831 Added interface implementation c files to list of
7832 includes so they are included in libcspi.
7835 Changed prototype of AccessibleAction_doAction to return a
7837 Changed prototype of AccessibleTable_getCaption to
7838 return an Accessible.
7839 Changed prototype of AccessibleTable_getSelectedRows
7840 and AccessibleTable_getSelectedColumns to
7841 return a long (returns the number of selected rows
7842 or columns respectively).
7843 Changed name of AccessibleText_refRunAttributes to
7844 AccessibleText_getAttributes.
7845 Changed prototype of AccessibleText_getCharacterExtents to
7846 return a void rather than a boolean.
7847 Added support for a AccessibleCoordType parameter
7848 specifying what type of coordinates are desired.
7849 Added an AccessibleCordType parameter to
7850 AccessibleText_getPointAtOffset.
7852 * cspi/spi_accessible.c:
7853 Added code to return the outstanding interfaces from
7854 Accessible_queryInterface.
7856 * cspi/spi_action.c:
7858 Corrected call to getNActions to call the c binding
7861 * cspi/spi_editabletext.c:
7863 Changed name from setRunAttributes to setAttributes.
7865 * cspi/spi_hyperlink.c:
7867 Changed call to getNAnchors to correctly call the c
7868 binding for an attribute.
7870 * cspi/spi_hypertext.c:
7872 Changed getImageDescription to correctly call the
7873 binding for an attribute.
7875 * cspi/spi_selection.c:
7876 Changed getNSelectedChildren to correctly call the c
7877 binding for the attribute.
7878 Changed refSelectedChild to getSelectedChild.
7882 Changed getCaption to return an Accessible.
7883 Fixed calls which retrieve attributes.
7884 Changed refAt to getAccessibleAt.
7885 Changed getNSelectedRows and getNSelectedColumns to
7889 Changed getCharacterExtents and getPointAtOffset to accept an
7890 AccessibleCoordType.
7892 Changed calls which retrieve attributes.
7893 Changed refRunAttributes to getAttributes.
7898 * idl/Hyperlink.idl:
7899 Changed n_anchors attribute to nAnchors to keep naming
7900 convention consistent.
7903 Made Table inherit from Bonobo::Unknown.
7904 Added nSelectedColumns and nSelectedRows attributes.
7907 Made Value inherit from Bonobo::Unknown.
7909 * libspi/hyperlink.c:
7910 Change for nAnchors attributte name change.
7913 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7915 implementations-- made server implementations own AtkObject pointers
7916 rather than their respective AtkInterrface pointers to fix
7917 refcounting. AtkHyperlink is still broken.
7919 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7920 * cspi/spi_accessible.c:
7921 Added method Accessible_Role_getName(),
7922 and requisite string array (role_names).
7923 Added conversion string_from_corba_strin() call
7924 to Accessible_getName and _getDescription.
7925 * libspi/accessible.c:
7926 Added implementation for Accessible_getRole()
7928 Added festival support, used if environment variable
7931 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7933 * at-bridge/bridge.c:
7934 Now allocate Accessibility_Event using
7935 Accessibility_Event__alloc() instead of g_new0().
7936 * libspi/accessibleeventlistener.c:
7937 Initialize AccessibleEventListener->callbacks to NULL.
7938 Fixed accessible__event_listener_init() param, changed to
7939 "AccessibleEventListener *" type.
7940 Changed a bonobo_object_release_unref() call to
7941 Accessibility_Accessible_unref().
7942 * libspi/listener.c:
7943 Changed Bonobo_Unknown_unref to (equivalent)
7944 Accessibility_Accessible_unref.
7945 * libspi/registry.c:
7946 Changed bonobo_object_release_unref to
7947 Accessibility_Accessible_unref.
7949 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7952 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7953 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7954 spi-util.c spi-util.h
7955 Implementations for C bindings to remaining accessibility
7958 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7961 changed return value of Action from void to boolean to
7962 bring in line with ATK.
7965 Changed getText funcions to return "out" start and end offsets.
7966 Changed getAttributes to take and offset and return the start
7967 and end offset of the attribute run.
7968 Changed getOffsetAtPoint and getCharacterExtents to take an
7969 enum describing whether coordinates are window or screen.
7972 libspi/action.c libspi/action.h libspi/editabletext.c
7973 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7974 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7975 libspi/image.h libspi/selection.c libspi/selection.h
7976 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7977 libspi/value.c libspi/value.h
7978 Added server implementations for outstanding ATK interfaces
7979 not yet implemented.
7981 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7984 Added (missing) getName() method.
7985 Made nActions an attribute.
7986 * idl/EditableText.idl:
7987 Changed order of params in setAttributes.
7988 * idl/Hyperlink.idl:
7989 Removed getAnchor, added getURI.
7991 Changed attributes to methods, for efficiency
7992 (so that getting extents can be done in one call)
7993 * idl/Selection.idl:
7994 Changed nSelectedChildren to attribute, and re-indented.
7995 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7997 * idl/Text.idl: reformatted to match our coding style.
7998 (temporarily?) removed getRowColumnAtOffset().
7999 Changed text selection API to support multi-select and
8000 non-contiguous selections, as in ATK.
8001 * idl/Value.idl: changed some methods to attributes.
8003 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8005 * libspi/listener.c(impl_notify_event):
8006 BonoboUnkown_unref the source instead
8007 of bonobo_object_release_unref - the ORB
8008 handles the releasing.
8010 * configure.in: require ORBit-2.3.94 for
8013 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8015 Tagged CVS repository 'EA_1_0'.
8016 * README.EARLY_ACCESS:
8017 Alphabetized acknowledgements list, and
8019 Listed some known dependencies of at-spi.
8021 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8023 * docs/at-spi-docs.sgml:
8024 * docs/at-spi-sections.txt:
8025 * docs/at-spi-overrides.txt: (Added zero-length file)
8026 Documentation improvements - gtk-doc should build
8027 docs for all implemented C bindings now.
8030 * cspi/spi.c: (New file)
8031 * cspi/spi_event.c: (New file)
8032 * cspi/spi_registry.c: (New file)
8033 * cspi/spi_accessible.c: (New file)
8034 * cspi/spi_application.c: (New file)
8035 * cspi/spi_component.c: (New file)
8036 Split spi_main.c into six parts, and included them from
8037 "spi.c". This is a bit of a hack, probably temporary,
8038 but required by gtk-doc, apparently.
8040 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8043 * docs/at-spi-docs.sgml:
8044 * docs/at-spi-sections.txt:
8046 Initial checkins/modifications for gtk-doc generation.
8049 Added (missing) interface query methods to Accessible's C binding.
8051 Added GenericInterface type definition.
8053 Added query for AccessibleComponent interface to focus event handler.
8054 Added printout of bounding box for focussed component.
8055 * libspi/component.c:
8056 Added partial implementation for AccessibleComponent to C binding.
8057 * idl/Application.idl:
8058 * libspi/registry.c:
8059 * libspi/listener.c:
8060 * libspi/application.c:
8061 * libspi/application.h:
8062 Changed "ID" attribute type from string to long.
8064 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8068 Made method naming consistent: methods taking object args
8069 start with uppercase, other methods (except those using
8070 acronyms) start with lowercase. Underscores delimit between
8071 object names and method names:
8072 SPI_init() - uppercase since it starts with an acronym.
8073 getDesktopCount () - lowercase start since no object param0.
8074 Accessible_getName() - uppercase object type name, studlyCaps method
8078 Added gtk-doc documentation for all currently implemented
8079 methods in the C bindings API.
8081 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8083 * Makefile.am : changed build order to build test last.
8086 Changed "createEventListener" to "CreateEventListener".
8087 * libspi/accessibleeventlistener.c :
8088 Bugfix for addition of callbacks.
8089 * test/Makefile.am :
8090 * test/simple-at.c :
8091 Added new test that uses the C bindings API.
8093 * libspi/listener.c :
8094 * libspi/registry.c :
8095 * libspi/accessibleeventlistener.c :
8096 * at-bridge/bridge.c :
8097 Renamed member "target" of Accessibility_Event to "source",
8098 which is more descriptive.
8101 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8105 * cspi/Makefile.am :
8106 Added makefile support for at-spi/cspi directory.
8109 * cspi/spi-listener.h : (NEW FILE)
8110 Added support for/use of spi-listener.h.
8112 C bindings now build successfully, with no warnings.
8113 * libspi/accessibleeventlistener.h : (NEW FILE)
8114 * libspi/accessibleeventlistener.c : (NEW FILE)
8115 * libspi/Makefile.am :
8116 Added new object type "AccessibleEventListener"
8117 which inherits from Listener, and allows attachment
8118 of in-process callbacks (so that a client with a listening
8119 object instance can add functionality to the local
8120 implementation, dynamically).
8122 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8124 * libspi/accessible.c:
8125 Add implementation for get_index_in_parent().
8127 Added #include of "spi-roletypes.h", and
8128 added enumerated type AccessibleCoordType.
8129 Added definition for KeystrokeListener (function type).
8132 * cspi/spi-statetypes.h :
8133 * cspi/spi-roletypes.h :
8135 Added these headers, used by spi.h.
8137 Added code (NOTE: not yet built by make).
8139 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8141 * libspi/Makefile.am: generate imodule
8142 at the same time as other idl compiler
8145 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8146 * libspi/registry.c :
8147 * libspi/application.c :
8148 * idl/Application.idl :
8149 Made registration with toolkit an application method,
8150 which is required since each app has its own toolkit static
8151 environment. Thus the bridge must register for
8152 notification of toolkit events from each application in turn.
8153 Toolkit notifications are now successfully registered for, and
8154 sent to the listening at client.
8156 Changed toolkit event string to use hyphens rather than underscores.
8157 * libspi/listener.c :
8158 listner now gives more info in debug mode - it reports the
8159 name of the event received, as well as the name of the source.
8162 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8164 * libspi/registry.c :
8165 added more implementation for toolkit events.
8166 Fixed bug such that toolkit event registrations
8167 (via atk) use the whole event name string, not
8169 Removed a useless call to an ORBit_ method.
8170 * at-bridge/bridge.c :
8171 Removed unused local sbuf[] variable.
8173 We now register for Gtk:GtkWidget:button_press_event
8174 events as well as "focus:" events.
8176 Add some more API from Registry.idl that was missing,
8177 for keystroke listening, keystroke and mouse event
8178 synthesis, and enumeration of accessible desktops.
8180 2001-08-16 Michael Meeks <michael@ximian.com>
8182 * configure.in: use AM_GLIB_GNU_GETTEXT.
8184 * Makefile.am (SUBDIRS): kill intl.
8186 2001-08-15 Michael Meeks <michael@ximian.com>
8188 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8190 * configure.in: upd.
8192 * configure.in: depend on a recent bonobo-activation that
8193 will find our server files ...
8195 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8197 * libspi/accessible.c : accessible_new() :
8198 Now we add the Component interface via bonobo_object_add_interface,
8199 if the contained AtkObject implements AtkComponent.
8200 * libspi/accessible.h : now include "component.h"
8201 * libspi/component.h :
8202 * libspi/component.c : added files - implementation of
8203 bonobo wrapper object for Accessibility/Component
8204 * libspi/listener.c :
8205 Added test code to check for Accessibility/Component:1.0
8206 interface and report whether it is implemented by the
8208 * libspi/registry.c :
8209 Now we check for not only the hash of the whole event
8210 string before relaying the event, we also check the
8211 "minor" event string (without the detail string).
8212 This allows event listeners to be registered against
8213 all events of a certain major+minor type, or just
8214 against a specific major+minor+detail type.
8215 * libspi/accessible.c :
8216 Added implementations for Accessible:get_parent(),
8217 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8218 * libspi/registry.c :
8219 * libspi/listener.c :
8220 Replaced calls to Accessibility_Accessible_ref() and
8221 Accessibility_Accessible_unref() with
8222 calls to bonobo_object_dup_ref() and
8223 bonobo_object_release_unref(), so that the CORBA object
8224 is dup-ed and released when relayed, as well as the bonobo object.
8226 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8228 * libspi/Makefile.am,
8229 registryd/Makefile.am,
8230 at-bridge/Makefile.am.
8231 test/Makefile.am, configure.in:
8232 reverse previous changes.
8234 * /idl/Image.idl: fix typo.
8236 * test/Makefile.am: put DEBUG_FLAGS
8239 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8241 * test/app.c: use argv[0] instead of
8244 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8246 * libspi/Makefile.am,
8247 registryd/Makefile.am,
8248 at-bridge/Makefile.am.
8249 test/Makefile.am, configure.in:
8250 cleanup, replace individual LIBS/CFLAGS with
8251 AT_COMMON_{LIBS|CFLAGS}.
8255 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8257 * configure.in, libspi/Makefile.am:
8258 Change IDL path checking for bonobo-activation
8261 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8263 * registryd/registry.c : separated event listeners to use
8264 3 separate lists (focus, window, toolkit). Began testing
8265 event names against hashes before relaying events.
8266 * test/at.c : now register for events of type "focus:"
8267 * test/app.c : now generate events of type "focus:"
8268 * at-bridge/bridge.c : register with ATK for focus events,
8269 and we now relay those focus events to any "focus:" listeners.
8270 This now works with the bridge as a GTK_MODULE when running test/at.
8271 * libspi/registry.c :
8272 * libspi/listener.c :
8273 now we ref event sources before propagating, and unref on receipt.
8274 * libspi/registry.c :
8275 some changes to internal structs, to support event typestring hashes.
8276 * text/app.c : changed the way the appname is generated.
8277 * cspi : added directory that will hold the C bindings library for
8278 non-CORBA/bonobo-savvy clients.
8279 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8280 * idl/Component.idl : added in parameter to indicate coord system for
8281 geometry-related calls.
8282 * idl/Hyperlink.idl : added readonly n_links attribute
8283 * idl/Image.idl : changed methods to attributes.
8285 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8287 * at-bridge/Makefile.am: link against
8288 ../libspi/libspi.la instead of -lspi.
8290 * at-spi/test/app.c: include
8291 bonobo-activation.h. Use a default appname
8292 if one is not provided.
8294 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8296 * idl/Registry.idl : temporarily changed register_Application
8297 to oneway, to work around issue with initial registration
8299 * idl/Application.idl : changed attribute "id" from readonly
8300 to read-write, since it needs to be assigned by Registry.
8301 * registryd/registryd.c : added call to set application id
8303 * registryd/registry.c : changed de-registration procedure to
8304 use CORBA_Object_hash() to find matching object ref in application
8305 lists and listener lists.
8306 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8307 began distinguishing between event types (work in progress).
8309 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8312 * libspi/application.c:
8313 Added implementations for get/set id, get_toolkitName,
8315 * registryd/registryd.c :
8319 Converted from use of OAF to bonobo-activation.
8320 * libspi/desktop.h :
8321 * libspi/desktop.c :
8323 Removed references to atksimpleobject, since base atkobject
8324 implementation now provides functionality we need.
8325 * libspi/atksimpleobject.c :
8326 * libspi/atksimpleobject.h :
8331 * at-bridge/Makefile.am
8332 * at-bridge/bridge.c
8335 Added directory "bridge" and contents, and added dependencies
8336 in Makefile.am/configure.in.
8337 Initial checkin of "at-bridge".
8338 This code is a GTK_MODULE which automatically registers
8339 GTK+ apps with the accessibility registry, using an object
8340 reference to the root ATK object.
8342 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8344 * po/Makefile.in.in: Remove. Again. If this
8345 doesn't get autogenerated - you need to update
8348 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8350 * po/Makefile.in.in: Add. Again.
8352 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8354 * libspi/accessible.c : added support for 'description' property.
8355 * libspi/accessible.c
8357 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8358 (since the two are now equivalent in libbonobo)
8366 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8367 Bonobo::Unknown as does Accessibility::Accessible.
8368 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8369 interface with Bonobo::Stream, since it was redundant with it.
8370 (The Stream returned by a StreamableContext object is expected to
8371 implement only a subset of Bonobo::Stream)
8373 2001-07-28 Anders Carlsson <andersca@gnome.org>
8375 * libspi/accessible.c (accessible_object_finalize): Change
8376 g_free to g_object_unref since the AtkObject is a GObject.
8378 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8380 * idl/Accessibility.idl: add new IDL files
8383 * idl/Action.idl: Definitions of actionable UI object
8384 * idl/Component.idl: Definitions of UI component geometry, etc.
8385 * idl/Hyperlink.idl: Defs of hyperlink behavior
8386 * idl/Image.idl: Def of accessible image
8387 * idl/Selection.idl: Definition of UI object with selectable children
8388 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8389 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8390 * idl/Text.idl: Interface defs for UI elements with complex textual content
8391 * idl/Value.idl: Definition of UI element that is a value controller or display
8393 2001-07-27 Michael Meeks <michael@ximian.com>
8395 * po/Makefile.in.in: remove autogenerated file from CVS.
8397 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8400 * idl/Registry.idl: include guard.
8402 * idl/Accessibility.idl: Add, and include all the other IDL
8405 * idl/*.idl: remove mass of pragmas etc.
8407 2001-07-26 Michael Meeks <michael@ximian.com>
8409 * registryd/Makefile.am (registryd_SOURCES): remove
8412 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8414 * libspi/.cvsignore, registryd/.cvsignore,
8415 test/.cvsignore: updated.
8417 * po/Makefile.in.in: gettext update.
8419 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8421 * initial CVS checkin
8423 2001-06-29 Michael Meeks <michael@ximian.com>
8425 * configure.in: add AM_CONFIG_HEADER to gen config.h