1 2007-10-15 Li Yuan <li.yuan@sun.com>
3 * MAINTAINERS: add Willie Walker and Eitan Isaacson
6 2007-09-17 Li Yuan <li.yuan@sun.com>
8 * configure.in, README, NEWS:
11 2007-09-08 Li Yuan <li.yuan@sun.com>
13 * registryd/deviceeventcontroller.c:
14 (spi_key_event_matches_listener):
15 Bug #474796. Should not checkmask bit 14 when sond out
18 2007-08-20 Li Yuan <li.yuan@sun.com>
20 * libspi/base.c: (spi_base_construct):
21 Avoid unnecessary crash. Bug #467612.
23 2007-08-01 Li Yuan <li.yuan@sun.com>
25 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
26 Fix a potential dead-lock issue. Bug #462412.
28 2007-07-09 Li Yuan <li.yuan@sun.com>
30 * configure.in, README, NEWS:
33 2007-07-09 Li Yuan <li.yuan@sun.com>
35 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
36 Bug #446277. Control the ref_count to 1, so Orca can unref the
37 state_set and avoid the memory leak.
39 2007-06-26 Li Yuan <li.yuan@sun.com>
41 * atk-bridge/Makefile.am:
42 Bug #450897. Set logging domain.
43 * registryd/registry.c: (parse_event_type):
45 Handle the "document:" signal, set the type to
48 2007-06-04 Li Yuan <li.yuan@sun.com>
50 * configure.in, README, NEWS:
51 Uprev/release 1.19.3 for GNOME 2.19.3.
53 2007-05-30 Willie Walker <william.walker@sun.com>
55 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
56 439436 to add pyatspi to autotools stuff so it gets installed as
57 part of a make install.
59 2007-05-17 Li Yuan <li.yuan@sun.com>
62 Bug #439057. Add the original PATH to PATH.
64 2007-04-23 Li Yuan <li.yuan@sun.com>
67 Uprev/release 1.19.1 for GNOME 2.19.1.
69 2007-04-18 Li Yuan <li.yuan@sun.com>
71 * pyatspi/__init__.py:
72 * pyatspi/accessible.py:
73 * pyatspi/constants.py:
75 * pyatspi/registry.py:
77 Bug #430938. Add some files to create the uniform Python
80 2007-04-12 Li Yuan <li.yuan@sun.com>
82 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
83 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
84 Fix #427836. Fix leak and unify the code style.
86 2007-04-12 Yi Jin <yi.jin@sun.com>
88 * atk-bridge/bridge.c:
89 (spi_atk_bridge_focus_tracker):
90 Bug #428007. Fix a memory leak.
92 2007-04-02 Ariel Rios <ariel@gnu.org>
94 Implement the Matchrule interface required for Collection.
100 * cspi/spi_accessible.c: (Accessible_isCollection),
101 (Accessible_isMatchRule), (Accessible_getCollection),
102 (Accessible_getMatchRule):
103 * cspi/spi_collection.c: new file.
104 * cspi/spi_matchrule.c: new file.
105 * idl/Accessibility.idl:
106 * idl/Accessibility_Collection.idl: new file.
108 * libspi/Makefile.am:
109 * libspi/collection.c: new file.
110 * libspi/collection.h: new file.
112 * libspi/matchrule.c: new file.
113 * libspi/matchrule.h: new file.
115 2007-03-29 Ariel Rios <ariel@gnu.org>
117 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
119 2007-03-22 Li Yuan <li.yuan@sun.com>
121 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
122 main context. Fix for #329454.
124 2007-03-12 Li Yuan <li.yuan@sun.com>
126 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
128 2007-03-02 Li Yuan <li.yuan@sun.com>
130 * atk-bridge/bridge.c
131 (spi_atk_bridge_register_application),
132 (deregister_application), (spi_atk_bridge_focus_tracker),
133 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
134 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
135 to prevent calling threads_enter/leave during the init and shutdown.
137 2007-02-27 Li Yuan <li.yuan@sun.com>
140 (spi_re_entrant_list_delete_link):
141 Bug #412286. Reverse previous patch.
142 * configure.in, NEWS: Uprev/release 1.17.2.
144 2007-02-26 Li Yuan <li.yuan@sun.com>
146 * libspi/accessible.c:
147 (impl_accessibility_accessible_get_attributes),
148 (impl_accessibility_accessible_get_relation_set):
149 Bug #404584 and #401299. Return an empty object instead of return NULL.
150 * configure.in, NEWS: Uprev/release 1.17.1.
152 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
154 * Makefile.am: Dist MAINTAINERS.
156 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
158 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
159 (atk_bridge_init), (spi_atk_bridge_get_registry),
160 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
161 Fix some compiler warnings and plug a leak. Closes part of
164 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
166 * cspi/bonobo/cspi-bonobo-listener.h:
167 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
168 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
169 * cspi/spi_main.c: (SPI_eventIsReady):
170 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
171 * libspi/streamablecontent.c:
172 * libspi/util.c: (spi_re_entrant_list_delete_link):
173 * login-helper/login-helper.c:
174 * registryd/deviceeventcontroller.c:
175 (spi_controller_update_key_grabs), (isEvent):
176 * registryd/registry.c:
177 * test/key-listener-test.c: (simple_at_exit):
178 * test/login-helper-server-test.c: (test_set_wm_dock),
180 Fix a bunch of warnings from sparse:
181 - ANSIfication of function declarations
183 - Add some prototypes
184 - make some stuff static
186 2007-02-14 Li Yuan <li.yuan@sun.com>
188 * libspi/accessible.c:
189 (impl_accessibility_accessible_get_attributes):
190 Bug #404584. If there is no attributes, just return NULL.
192 2007-02-12 Li Yuan <li.yuan@sun.com>
194 * configure.in, NEWS: Uprev/release 1.17.0.
196 2007-02-12 Li Yuan <li.yuan@sun.com>
198 * atk-bridge/bridge.c:
199 (atk_bridge_init): bug #400709. we must emit events even if we are not
200 registered as a full-fledged app.
201 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
202 application like openoffice shutdown. They need to unload gtk before
203 the is spi_atk_bridge_exit_func called.
205 2007-01-22 Li Yuan <li.yuan@sun.com>
207 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
209 2007-01-22 Li Yuan <li.yuan@sun.com>
211 * cspi/bonobo/cspi-bonobo.c:
212 (cspi_get_registry_ior), (cspi_init):
213 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
215 2007-01-19 Li Yuan <li.yuan@sun.com>
217 * atk-bridge/bridge.c:
218 (atk_bridge_init), (spi_atk_bridge_register_application),
219 (deregister_application), (spi_atk_bridge_focus_tracker),
220 (spi_atk_emit_eventv):
221 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
224 2007-01-08 Li Yuan <li.yuan@sun.com>
226 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
228 2007-01-08 Li Yuan <li.yuan@sun.com>
230 * registryd/registry-main.c:
231 (main): set registry ior only when register server successfully.
232 * atk-bridge/bridge.c:
233 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
234 Bug #372988, #381670. Fix memory leak.
236 2007-01-02 Bill Haneman <billh@gnome.org>
239 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
240 appending default attributes to a text attribute set.
243 2006-12-28 Li Yuan <li.yuan@sun.com>
245 * atk-bridge/bridge.c:
246 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
247 the second time, because spi_atk_emit_eventv will free any. Bug
250 2006-12-15 Li Yuan <li.yuan@sun.com>
252 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
254 2006-12-14 Li Yuan <li.yuan@sun.com>
257 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
258 (spi_atk_bridge_property_event_listener),
259 (spi_atk_bridge_signal_listener):
260 Free some CORBA objects to fix memory leak and crash.
262 2006-12-13 Li Yuan <li.yuan@sun.com>
264 Patch from Ariel Rios to fix #163132 and #377079.
265 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
266 (spi_atk_bridge_get_registry_ior):
267 Use g_warning instead of g_error and g_critical to avoid crash.
269 2006-12-11 Bill Haneman <bill.haneman@sun.com>
272 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
273 if there are no non-default attributes defined at the current offset.
276 2006-12-04 Bill Haneman <bill.haneman@sun.com>
278 * idl/Accessibility_Role.idl: Fixed the documentation for
279 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
281 2006-12-04 Bill Haneman <bill.haneman@sun.com>
283 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
285 2006-11-07 Bill Haneman <bill.haneman@sun.com>
287 Patches from Padraig O'Briain for bugs #361386 and #369377.
289 * registryd/registry.c:
290 (struct NotifyContext): Change the e_out
291 member from an Accessibility_Event struct to a pointer to
293 (notify_listeners_cb): Modify to use the new struct definition above.
294 Allows use of ORBit_copy_value instead of CORBA_any__copy.
296 * registryd/deviceeventcontroller.c:
297 (spi_dec_button_update_and_emit): Free the event's any_data
299 (spi_dec_mouse_check):Free the event details any struct
301 (spi_device_event_controller_forward_mouse_event): Free any.
302 (spi_device_event_controller_forward_key_event): Ditto.
304 2006-11-07 Bill Haneman <bill.haneman@sun.com>
306 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
307 Don't require gtk+ and gail for building most of at-spi
310 * registryd/registry-main.c (main): We now get te value of display
311 using the env var DISPLAY rather than using the gdk_display_get_default
312 to avoid dependancy of gdk. Also, once the registry is started, we set
313 the ior of the registry as an X property.
314 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
316 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
317 the registration was successfull.
318 (spi_atk_bridge_do_registration): This function now returns success
319 or not on activating the registry.
320 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
321 has been set in the X root window and return it if available.
322 (spi_atk_bridge_get_registry): We now get the registry using the IOR
323 saved as a X property rather than using the OAFID.
325 2006-10-01 Bill Haneman <bill.haneman@sun.com>
327 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
329 2006-09-25 Bill Haneman <bill.haneman@sun.com>
331 * registryd/registry.c:
332 (desktop_remove_application): Don't pass a ref to the
333 dead application with the event, since it's probably
334 defunct and will cause SEGV if we try to unref,
335 extract app name, etc.
338 2006-09-20 Bill Haneman <bill.haneman@sun.com>
340 Patch from Neo Liu <nian.liu@sun.com>,
343 * atk-bridge/bridge.c:
344 (spi_atk_bridge_document_event_listener): New, for
347 2006-08-30 Bill Haneman <bill.haneman@sun.com>
350 Changed some parameter names so as not to
351 collide with class names - allows IDL to be compiled with
352 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
354 2006-08-22 Bill Haneman <bill.haneman@sun.com>
356 * atk-bridge/bridge.c:
357 (spi_atk_bridge_signal_listener):
358 Patch from Ginn Chen, assign detail1 in children-changed
359 so that the child object can be assigned to the Any when the
360 at-spi event is emitted. Bug #350552.
362 * libspi/application.c:
363 (spi_application_finalize): Remove g_print debug output.
366 2006-08-21 Bill Haneman <bill.haneman@sun.com>
368 * configure.in: Revved to AT-SPI 1.7.11.
370 * libspi/accessible.c:
371 (spi_accessible_new): Aggregate Hyperlink interface
372 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
374 * libspi/hyperlink.c:
375 (spi_hyperlink_new): Don't aggregate Action a second time if this
376 interface is created for an AtkHyperlinkImpl object (i.e. for a
377 child Accessible, as opposed to the Hyperlink instance from
379 (get_hyperlink_from_servant): Obtain the hyperlink from
380 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
382 Patch section from Ginn Chen...
384 * cspi/spi_accessible.c:
385 (_cspi_accessible_set_from_sequence):
386 Changed g_newa to g_new0 on Ginn Chen's suggestion.
388 * libspi/accessible.c:
389 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
390 (spi_accessible_new): Add the Document interface if present.
393 (impl_getAttributes): Fixed to use AtkAttribute properly.
396 (impl_getAttributes, impl_getDefaultAttributes):
397 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
399 2006-08-17 Bill Haneman <bill.haneman@sun.com>
401 * cspi/spi-private.h, cspi/spi_accessible.c:
402 (_cspi_attribute_set_from_sequence): Renamed from
403 cspi_attribute_set_from_sequence, to suppress export.
406 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
407 inline docs, which was keeping the doc from appearing.
408 (SPIExceptionHandler): Doc this.
410 * cspi/spi_document.c:
411 Added inline gtk-docs cut-n-pasted from the doxygen
412 docs in the corresponding IDL files.
413 (AccessibleDocument_getAttributes): Fix the retval here.
415 * cspi/spi_streamablecontent.c:
416 Fixed some 'Since' tags that were accidentally doxygen-style.
419 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
420 docs from the IDL file.
422 * docs/reference/cspi/at-spi-cspi-docs.sgml:
423 Added entities for Document and StreamableContent interfaces.
425 * docs/reference/cspi/at-spi-cspi-sections.txt:
426 Added some docs that were present inline but not getting
429 2006-07-31 Bill Haneman <bill.haneman@sun.com>
432 (impl_getRangeExtents): Use the atk_text_get_range_extents
433 API instead of looping over character bounds, now that
435 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
436 (_spi_text_bounds_contain): Remove, not needed anymore.
437 (_spi_text_rect_union): Remove, not needed anymore.
439 2006-07-31 Bill Haneman <bill.haneman@sun.com>
441 * atk-bridge/bridge.c:
442 (spi_atk_emit_eventv): Fix the CORBA_free call which was
443 causing 64-bit troubles and memory leaks.
444 Special thanks to Alexander Larsson who finally seems to
445 have tracked down the problem, not just here but in
449 (spi_init_any_object): Make sure we copy the CORBA value
450 when initializing an object for passing as a CORBA_Any.
453 2006-07-21 Bill Haneman <billh@gnome.org>
455 * idl/Accessibility.idl:
456 Reverted pragma changes, this broke the build in some envs
457 including the Debian team's build and some tinderbox builds.
459 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
462 Revved to 1.7.10, and edited the Xevie check (bug #319994).
464 * idl/Accessibility.idl:
465 Reworked inclusion of Bonobo_Unknown.idl, to
466 avoid double-linking libs in the Bonobo environment.
467 Thanks to Michael Meeks for the workaround, see bug #313122.
469 * registryd/deviceeventcontroller.c:
470 (spi_controller_notify_keylisteners):
471 Set the SPI_NUMLOCK_MASK bit if the modifier
472 corresponding to the conceptual numlock state is set.
475 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
477 * idl/Accessibility_Selection.idl:
478 (deselectChild): New method.
480 * libspi/selection.c:
481 (impl_deselectChild): Implement the new IDL method.
484 (AccessibleSelection_deselectChild): Added new method.
486 * cspi/spi_selection.c:
487 (AccessibleSelection_deselectChild): New method implemented.
489 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
491 * cspi/bonobo/cspi-bonobo.c:
492 (cspi_init): Replace g_error with g_warning, prevent
493 SEGV if the registry cannot be activated. Bug #346393.
495 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
497 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
499 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
500 2006-07-12 Ariel Rios <arios@us.ibm.com>
504 * idl/Accessibility_Table.idl:
505 (getRowColumnExtentsAtIndex): New method for getting
506 selection status and extents in one API call.
509 (impl_getRowColumnExtentsAtIndex): Implementation of
511 (spi_table_class_init): Add above to epv.
515 (AccessibleTable_getRowColumnExtentsAtIndex): New
516 method, retrieves selection status and row/col extents
517 for a table cell in a single API call.
519 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
520 2006-07-12 Ariel Rios <arios@us.ibm.com>
522 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
525 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
526 New bindings for new methods defined in idl and libspi.
529 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
530 Added prototype functions.
533 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
535 (spi_text_class_init): Added previous methods.
538 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
539 * libspi/spi-private.h: Corrections.
541 2006-06-29 Bill Haneman <bill.haneman@sun.com>
543 Added Document interface (see bug #326520),
544 with work from Ariel Rios <arios@us.ibm.com>.
546 * configure.in: Bump to 1.7.8.
548 * libspi/Makefile.am: Added document.[ch] to sources
551 (SpiDocument, SpiDocumentClass):
552 New interface implementation.
553 (spi_document_get_type, spi_document_construct)
554 (spi_document_interface_new): New methods added.
555 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
556 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
557 Added macros for SpiDocument
561 (spi_document_interface_new): Get a
562 new document interface. New.
563 (get_document_from_servant): Get an AtkDocument from servant New.
564 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
565 Implementation of methods defined on idl.
566 (spi_document_class_init, spi_document_init)
567 Init methods for SpiDocument. new
569 * idl/Accessibility.idl: Added Accessibility_Document.idl.
571 * cspi/Makefile.am: Added spi_document.c to sources.
573 * cspi/spi_document.c:
574 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
575 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
576 (AccessibleDocument_getAttributes): Bindings for methods defined
579 * cspi/spi_accessible.c:
580 (Accessible_isDocument, Accessible_getDocument) New.
582 (Accessible_isDocument, Accessible_getDocument)
583 (AccessibleDocument_ref, AccessibleDocument_unref)
584 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
585 (AccessibleDocument_getAttributes): Bindings added.
587 * idl/Makefile.am: Added Accessibility_Document.idl to
590 2006-06-29 Bill Haneman <bill.haneman@sun.com>
592 * idl/Accessibility_Document.idl: New interface
593 for complex documents. First stage of fix for RFE
596 2006-06-27 Bill Haneman <bill.haneman@sun.com>
598 * libspi/streamablecontent.c:
599 (impl_content_stream_close):
600 Unref the GIOChannel on close.
602 2006-06-23 Bill Haneman <bill.haneman@sun.com>
604 * idl/Accessibility_Role.idl:
605 * libspi/accessiblerole.c:
606 * cspi/spi_accessible.c: Added ROLE_LINK,
607 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
608 Bug #345758 and bug #140635.
611 2006-06-22 Bill Haneman <bill.haneman@sun.com>
615 * idl/Accessibility_StreamableContent.idl:
616 Fix derivation of StreamableContent and ContentStream.
618 * cspi/spi_streamablecontent.c:
619 (accessible_content_stream_client_read):
620 Fix the datatype of the content stream used.
621 Interpret short reads as EOF, and stop trying to
622 read when we've fulfilled the request.
623 (AccessibleStreamableContent_getContentTypes):
624 Use g_strdup, not CORBA_string_dup, for the strings.
625 (AccessibleStreamableContent_open):
626 Correctly use the new getStream method for opening,
627 not the deprecated getContent method.
628 Use the object reference as the stream hash key.
629 Make note of the 'one stream per client per streamable'
630 limitation in the docs.
633 Add streamablecontent.h to the list of #includes.
635 * libspi/streamablecontent.c:
636 (impl_content_stream_read): Initialize the GError.
637 Allocate the incoming buffer if reading a fixed length of
638 data. Use g_memmove instead of memcpy.
639 (impl_accessibility_streamable_get_content_types):
640 Init typelist->_maximum. Only allocate the buffer if
641 there is a non-zero number of content types available.
642 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
644 * libspi/streamablecontent.h:
645 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
648 (SPI_IS_VALUE): Fix a typo in this macro too.
650 2006-06-16 Bill Haneman <bill.haneman@sun.com>
654 * idl/Accessibility_StreambleContent.idl:
655 Deprecate the Bonobo_Stream-based methods in favor of
656 a self-contained "ContentStream" interface. This should
657 allow us to remove BonoboStream dependencies entirely, since
658 there were no non-NIL implementations of the old methods anyway.
659 (ContentStream): New interface.
660 (ContentStream::SeekType): Enum.
661 (ContentStream::seek): New.
662 (ContentStream::read): New.
663 (ContentStream::close): New.
664 (getContent): Deprecate.
665 (getURI): New method, returns a URI pointing to the content, if available.
667 * libspi/streamablecontent.c:
668 (SpiContentStream): Internal object type definition used to
669 implement Accessibility::StreamableContent::ContentStream via
670 AtkStreamableContent's GIOChannel back-end.
671 (spi_content_stream_new, spi_content_stream_dispose): See above;
673 (impl_content_stream_seek, impl_content_stream_read):
674 (impl_content_stream_close): New, implementations of
676 (impl_accessibility_streamable_get_stream): Implement the
677 public method Accessibility::StreamableContent::getStream.
678 (impl_accessibility_streamable_get_uri): Implement the
679 public method Accessibility::StreamableContent::getURI.
681 * cspi/spi_streamablecontent.c:
682 (accessible_bonobo_stream_client_seek): Replaced by
683 (accessible_content_stream_client_seek).
684 (accessible_bonobo_stream_client_read): Replaced by
685 (accessible_content_stream_client_read).
686 (AccessibleStreamableContent_open):
687 (AccessibleStreamableContent_seek):
688 (AccessibleStreamableContent_read):
689 (AccessibleStreamableContent_close): Use the new 'getStream'
690 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
692 2006-06-15 Bill Haneman <bill.haneman@sun.com>
694 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
695 remove from other .idl files (except LoginHelper).
698 2006-06-14 Bill Haneman <bill.haneman@sun.com>
700 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
703 * configure.in, */Makefile.am: mingw patch, modified from
704 original patch by yselkowitz. Bug #314216.
706 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
707 for completeness. Bug #163111.
709 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
710 * libspi/util.c, registryd/registry-main.c:
711 Fix guint/char* casts.
712 Patch from chpe, bug #333883.
714 2006-06-12 Bill Haneman <bill.haneman@sun.com>
716 * configure.in: Require atk-1.12.0, to pick up
717 new API. (bug #344412).
719 * libspi-1.0-uninstalled.pc.in:
721 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
722 Fix for #341488 from Samual Thibault.
724 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
725 Thanks to Brian Pepple.
727 2006-06-09 Bill Haneman <bill.haneman@sun.com>
730 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
731 New, missing implementations of attribute reading methods
734 * cspi/spi.h, spi_value.c:
735 (AccessibleValue_getMinimumIncrement): New methods wrapping
736 the (formerly unimplemented) property from Value.idl.
739 (impl_get_minimumIncrement): Implementation for retrieving
740 the minimum valuator increment, (formerly unimplemented).
743 2006-06-09 Bill Haneman <bill.haneman@sun.com>
745 * idl/Accessibility_State.idl:
746 Added STATE_VISITED (bug #338369).
748 * cspi/spi_accessible.c:
749 (spi_state_to_corba) Fixed marshalling of new statetypes.
752 (spi_init_state_tables, impl_getStates):
753 Fixed conversion of new statetypes to/from ATK.
755 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
757 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
758 definitions/conversions for new roles from ATK.
760 * idl/Accessibility_Relation.idl:
762 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
763 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
764 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
766 * libspi/accessible.c: Fixed marshalling of new role types from
769 2006-04-17 Matthias Clasen <mclasen@redhat.com>
771 * revert my previous change
773 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
775 * configure.in: Remove obssolete no_NO locale
776 * po/no.po: And the translation.
778 2006-04-05 Matthias Clasen <mclasen@redhat.com>
780 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
781 memory-management error that caused crashes on x86_64.
784 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
786 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
788 2006-03-27 Bill Haneman <bill.haneman@sun.com>
790 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
791 to strip "cspi_*" from the symbol table.
793 * cspi/spi_streamablecontent.c:
794 (get_streams): Make this method static.
797 (_cspi_exception_throw): rename to cspi_exception_throw,
798 so we can strip it with the rest...
801 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
803 2006-03-27 Bill Haneman <bill.haneman@sun.com>
805 Add doxygen-generated IDL docs to tarball, and enable
806 doxygen during build/install when available. Bug #301345.
808 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
810 * docs/reference/Makefile.am: Add idl to SUBDIRS.
812 * docs/reference/idl/Makefile.am: Optionally use
813 doxygen to create docs.
815 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
817 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
819 2006-03-20 Bill Haneman <bill.haneman@sun.com>
822 (impl_get_selected_rows): Don't free the selection if it's
823 empty or has not been assigned; init it to NULL so you can tell.
824 Also, allow for zero selected rows.
825 (impl_getSelectedColumns): Ditto. Bug #319088.
827 2006-03-11 Vincent Untz <vuntz@gnome.org>
829 Leak fix for bug #334217.
831 * libspi/application.c: spi_application_toolkit_event_listener():
832 don't duplicate the string we pass as an argument to
833 spi_init_any_nil() since spi_init_any_nil() already does it
834 * registryd/deviceeventcontroller.c:
835 (spi_dec_button_update_and_emit): ditto
836 (spi_dec_mouse_check): ditto
837 (spi_dec_emit_modifier_event): ditto
838 (spi_device_event_controller_forward_mouse): ditto
839 * registryd/registry.c:
840 (desktop_add_application): ditto
841 (desktop_remove_application): ditto
843 2006-02-20 Bill Haneman <billh@gnome.org>
845 * configure.in: Rev to 1.7.6.
847 Leak fixes for bug #331924.
849 * atk-bridge/bridge.c:
850 (spi_atk_bridge_init_base): Don't dup the string, it's already
851 been dup-ed. Fixes a leak.
852 (spi_atk_emit_eventv): Move the CORBA_free call here,
853 instead of spi_atk_state_event_listener; fixes another leak.
854 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
855 notifying the registry; fixes another leak.
857 * registryd/registry.c:
858 (registry_flush_event_queue): Free the CORBA_any when
859 flushing the event, not just the string. Fixes another leak.
860 (registry_queue_event): Free the CORBA_any when dropping
861 events on the floor; fixes another leak.
864 (spi_init_any_object, spi_init_any_nil):
865 Always set _release to TRUE. Fixes another leak.
867 2006-02-20 Bill Haneman <billh@gnome.org>
869 * configure.in: Rev to 1.7.5.
870 Reinstate localization of this module. Thanks for Rodney
871 Dawes for fixing my patch.
873 * registryd/Makefile.am: Remove Accessibility_Registry.server
874 from dist, since it needs to be re-created at configure time.
877 2006-01-31 Bill Haneman <billh@gnome.org>
879 * configure.in: Rev to 1.7.4 (to include build fix below).
881 * idl/Makefile.am: Include Selector.idl in dist.
885 (cspi_internal_event_get_object): Handle case where
886 "object" isn't present, i.e. CORBA_TC_Object doesn't match
887 the EventDetails data.
888 (cspi_internal_event_get_text): Handle NULL string.
889 (cspi_internal_event_get_rect): Handle missing/empty rect
890 data, Accessibility_TC_RectBounds doesn't match any_data.
892 2006-01-30 Bill Haneman <billh@gnome.org>
896 * atk-bridge/bridge.c:
897 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
898 interface and use that when instantiating a new source
899 accessible. Better fix for bug #321814.
901 2006-01-27 Bill Haneman <billh@gnome.org>
903 * idl/Accessibility_Selector.idl: Added to the cvs repository.
905 * configure.in: Revved to 1.7.3.
907 2006-01-17 Bill Haneman <billh@gnome.org>
909 * configure.in: Revved to 1.7.2, re-dist to include docs.
911 2006-01-09 Bill Haneman <billh@gnome.org>
913 * configure.in: Removed po/Makefile.in inclusion, we do not need
916 * idl/Accessibility.idl: Improved documentation here, and for all
917 IDL in the 'GNOME::Accessibility' namespace.
919 * idl/Accessibility_Accessible.idl:
920 (LOCALE_TYPE): Added enum.
921 (AttributeSet): New, for returning multiple name/value attribute pairs.
922 (RoleSet): New, sequence of Roles, to be used in upcoming
924 (getAttributes): New API, allows retrieval of name/value pair
925 annotations for all kinds of Accessible objects. C.f.
926 Text:getAttributes, which is only for typographic/textual/semantic tags in
928 (getApplication): New, retrieves the host/containing Application
929 instance for an object (without having to walk up the whole tree).
931 * idl/Accessibility_Component.idl:
932 (getAlpha): New method, returns the alpha blending (aka 'opacity')
933 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
936 * idl/Accessibility_Event.idl:
937 (EventDetails): New struct definition, for encapsulating
938 commonly-queried information about emitted events. The use of
939 this structure in emitted events (in the 'any' member of
940 Accessibility_Event) should greatly reduce the number of
941 client-server roundtrips necessary.
943 * idl/Accessibility_Image.idl:
944 (imageLocale): New, a readonly attribute indicating the POSIX
945 LC_MESSAGES locale of the image and associated Alt/descriptive
948 * idl/Accessibility_Relation.idl:
949 (RELATION_PARENT_WINDOW_OF): Include, as complement to
952 * idl/Accessibility_Role.idl:
953 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
954 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
955 complex document and form support.
957 * idl/Accessibility_State.idl:
958 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
959 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
960 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
961 for support of complex documents and forms.
963 * idl/Accessibility_StreamableContent.idl:
964 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
965 allow old bonobo-stream interfaces to be deprecated in the next
968 * idl/Accessibility_Text.idl:
969 (getAttributeValue): New method, allows query-by-name of single
972 * libspi/accessible.c:
973 Added support for new roles. Implemented new methods
974 (impl_accessibility_accessible_get_application): New
975 (impl_accessibility_accessible_get_attributes): New
977 * libspi/component.c:
978 (impl_accessibility_component_get_alpha): New.
981 (impl_accessibility_image_get_locale): New.
983 * libspi/relation.c: Added support for new relation type.
985 * libspi/stateset.c: Added support for new state types.
988 (impl_getAttributeValue): New.
991 New prototypes for private methods
993 spi_init_any_object, spi_init_any_string,
996 * libspi/spi_event.c:
997 Use EventDetails in the event emission methods.
999 * cspi/spi-private.h:
1000 (cspi_role_from_spi_role): Expose this adapter method, since
1001 we need it in the bridge (see below).
1004 (AccessibleEvent_getSourceName):
1005 (AccessibleEvent_getSourceRole):
1006 (AccessibleEvent_getSourceApplication):
1007 (AccessibleEvent_getSourceDetails):
1008 New methods for interrogating/demarshalling
1009 event details (i.e. source's accessible name, role,
1012 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1013 Make use of the new EventDetails struct in events, if present.
1014 (AccessibleEvent_getSourceName)
1015 (AccessibleEvent_getSourceRole)
1016 (AccessibleEvent_getSourceApplication)
1017 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1019 (Accessible_getAttributes): New, wraps
1020 Accessibility_Accessible_getAttributes.
1021 (Accessible_getHostApplication): New, wraps
1022 Accessibility_Accessible_getApplication.
1025 (AccessibleImage_getImageLocale): New wrapper for
1026 Accessibility_Image_get_imageLocale.
1028 * cspi/spi_component.c:
1029 (AccessibleComponent_getAlpha): New wrapper for
1030 Accessibility_Component_getAlpha.
1032 * atk-bridge/bridge.c:
1033 Use new prototyped for init_any methods.
1034 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1035 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1036 (spi_atk_bridge_init_base): Wrappers
1037 for spi_init_any_* methods, due to refactor; include extended
1038 information in the Accessibility_EventDetails struct, for instance
1039 accessible-name, Role, and containing Application.
1041 * registryd/registry.c:
1042 Use new event emission (with EventDetails).
1044 * registryd/deviceeventcontroller.c:
1045 Use new event emission (with EventDetails).
1047 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1049 * configure.in: Generate po/Makefile.in
1050 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1051 * cspi/spi_streamablecontent.c:
1052 (accessible_bonobo_stream_client_seek),
1053 (AccessibleStreamableContent_seek): Remove unused vars.
1054 * libspi/application.c: Missing header.
1055 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1056 * login-helper/login-helper.c: (login_helper_finalize),
1057 (login_helper_init): Remove unused stuff
1058 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1059 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1060 and surround some with #ifdef GRAB_BUTTON.
1061 * test/event-listener-test.c: (main), (report_event),
1062 (report_caret_event), (report_detail_event),
1063 (report_detail1_event), (report_bounds_event), (report_text_event),
1064 (report_text_selection_event),
1065 (report_active_descendant_changed_event),
1066 (report_children_changed_event), (report_name_changed_event),
1067 (report_description_changed_event), (report_parent_changed_event),
1068 (report_window_event), (report_table_summary_event),
1069 (report_table_header_event), (report_table_caption_event),
1070 (report_table_row_description_event),
1071 (report_table_column_description_event), (timing_test_event):
1072 Remove a bunch of unused variables and fix a slew of format specifiers
1073 * test/key-listener-test.c: (report_all_key_event): Format specifier
1074 * test/keypad-test.c: (print_key_event): Same
1075 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1077 * test/screen-review-test.c: (main), (print_chunk_debug),
1078 (review_buffer_get_text_chunk), (debug_chunk_list),
1079 (string_guess_clip), (text_chunk_get_clipped_string),
1080 (text_chunk_list_to_string), (get_screen_review_line_at):
1081 Remove unused variables and fix format specifiers.
1082 * test/simple-at.c: (report_text_event): Format specifier fix.
1083 * test/stress-test.c: (main): Remove unused var.
1085 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1087 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1088 (yes I know that's useless)
1090 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1092 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1094 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1096 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1097 urgh-fix embarassing typo.
1099 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1101 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1102 do a faster, less problematic _unref call on this local
1103 object, rather than a slower (potentially cross-thread
1104 complicated) CORBA call.
1106 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1108 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1109 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1110 * registryd/deviceeventcontroller.c:
1111 (spi_controller_notify_mouselisteners),
1112 (impl_generate_keyboard_event):
1113 * test/screen-review-test.c: (chunk_bounds_within):
1114 * test/test-simple.c: (test_desktop): Remove some unused code
1115 and fix compiler warnings. Closes bug #320049.
1117 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1119 * registryd/deviceeventcontroller.c:
1120 (spi_controller_notify_keylisteners): Check
1121 to make sure the event listener has requested 'preemptive'
1122 status before pre-empting an event.
1124 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1126 * configure.in, README, NEWS: Release 1.6.5.
1128 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1130 * test/window-listener-test.c: Fix a printf
1131 format error. (#169453)
1133 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1135 * tests/test-simple.c:
1136 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1137 relying on the old string from the key event hanging around after
1138 the event handler returns. Fixes broken 'make check'.
1140 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1142 * Added Marathi (mr_IN) translations.
1144 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1146 * cspi/bonobo/cspi-bonobo-listener.c:
1147 (cspi_event_list_remove_by_cb): Fix the build.
1149 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1151 * cspi/bonobo/cspi-bonobo-listener.c
1152 (cspi_event_list_remove_by_cb): actually filter by callback.
1154 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1156 * registryd/registry.c (remove_listener_cb):
1157 Make deregistration filter rules match the event emission rules.
1159 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1161 * registryd/registry.c (remove_listener_cb),
1162 (impl_accessibility_registry_deregister_global_event_listener),
1163 (impl_accessibility_registry_deregister_global_event_listener_all):
1164 pass a closure to the remove callback to filter listeners more
1165 accurately on remove.
1167 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1169 * configure.in: Revved to 1.6.4.
1170 Remember to put quotes around XEVIE_LIBS assignment.
1171 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1174 * tests/event-listener-test.c: Tweaked the tests - more detail
1175 from caret events, and some interrogation of AccessibleText APIs.
1176 Commented-out the bounds-changed events by default, since they can
1179 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1181 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1182 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1183 Same here. Closes bug #167806
1185 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1187 * atk-bridge/bridge.c:
1188 (spi_atk_bridge_signal_listener):
1189 Free the any._value if any._release is TRUE,
1190 since the ORB won't do it for us in this case
1191 [because this method is not a skel].
1192 Fix for bug #168679.
1194 2005-03-30 Steve Murphy <murf@e-tools.com>
1196 * configure.in: Added "rw" to ALL_LINGUAS.
1198 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1200 * configure.in: Improved check for HAVE_XEVIE, to detect
1201 presence on XOrg, where -lXevie is a separate library.
1203 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1205 * configure.in, NEWS, README: Revved to 1.6.3.
1207 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1209 * configure.in: Added "xh" to ALL_LINGUAS.
1211 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1213 * atk-bridge/bridge.c:
1214 (atk_bridge_init): Added missing NULL in g_strconcat(),
1215 also check for symlink before logging to
1216 insecure directory. Thanks to meissner@suse.de.
1218 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1220 * tests/login-helper-server-test.c: Add return call to main
1221 function. Patch from Chris Lahey. Fixes bug #165129.
1223 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1225 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1227 2004-12-09 Bill Haneman <billh@gnome.org>
1229 * registryd/registry-main.c:
1230 Added #define <string.h> for strrchr. (bug 160862).
1231 Thanks to Vincent Berger for catching.
1233 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1235 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1236 restart registry process if the registry process is found to have died
1237 and the current process is exiting.
1238 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1239 application if the registry process has died.
1240 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1241 does not return a registry object.
1242 (spi_atk_tidy_windows): Give up if the registry process has died.
1244 This fixes problems with hangs and crashes when logging out.
1246 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1248 * registryd/desktop.c: Add checking that we are not exiting before
1249 calling spi_desktop_remove_application in
1250 abnormal_application_termination. Fix for bug #152147.
1252 2004-12-02 Bill Haneman <billh@gnome.org>
1254 * configure.in, NEWS, README: Revved to 1.6.1.
1256 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1257 * atk-bridge/bridge.c:
1258 (atk_bridge_init): Save the pid when we start, to detect forks.
1259 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1260 if we're in a forked pid.
1262 2004-10-09 Bill Haneman <billh@gnome.org>
1264 * idl/Accessibility_LoginHelper.idl:
1265 Improved inline documentation.
1267 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1269 * configure.in: Added gl (Galician) to ALL_LINGUAS
1271 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1273 * libspi/accessible.c:
1274 (impl_accessibility_accessible_get_role_name),
1275 (impl_accessibility_accessible_get_local_role_name):
1276 NULL vs. 0 cleanups.
1277 * libspi/component.c:
1278 (impl_accessibility_component_get_accessible_at_point):
1280 * libspi/eventlistener.c: (spi_event_listener_new):
1282 * libspi/stateset.c: (impl_compare): More of the same
1283 * libspi/table.c: (impl_getRowDescription): Again.
1284 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1285 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1286 (impl_generate_keyboard_event): Same.
1287 * registryd/registry-main.c: (main): Same
1288 * test/event-listener-test.c: (test_exit): Same
1289 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1290 * test/keysynth-test.c: (test_key_synthesis): Same
1291 * test/login-helper-server-test.c: (main): Fix warning.
1292 * test/screen-review-test.c: (test_exit): Fix include.
1293 * test/simple-at.c: (simple_at_exit), (_festival_init):
1296 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1298 * configure.in, NEWS, README: Revved to 1.6.0.
1300 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1302 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1303 was missing the HTML docs.
1305 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1307 * configure.in: only cleanups:
1308 - better looking PKG_CHECK_MODULES() output,
1310 - declare in one common place required versions of other tools using
1313 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1315 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1316 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1317 required ATK version accordingly.
1319 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1321 * cspi/bonobo/cspi-bonobo.c:
1322 (cspi_display_name): Fix C99ism.
1323 * atk-bridge/bridge.c:
1324 (spi_display_name): Fix C99ism.
1325 Patch from Jens Granseuer, jensgr@gmx.net.
1327 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1329 * configure.in: Added "or" to ALL_LINGUAS.
1331 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1333 * configure.in, NEWS, README: Revved to 1.5.4.
1335 * registryd/registry-main.c:
1336 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1339 * cspi/bonobo/cspi-bonobo.c:
1340 (cspi_display_name): New convenience method, gets DISPLAY with
1341 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1342 (cspi_init): Set the activation env value above before getting
1345 * atk-bridge/bridge.c:
1346 (spi_display_name): Create the AT_SPI_DISPLAY activation
1347 environment for an app, based on the DISPLAY environment with the
1348 screen number stripped off.
1349 (atk_bridge_init): Allow redirection of error messages to a log.
1350 (spi_atk_bridge_get_registry): Call
1351 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1353 Fixes for bugs #149962, #136986, #144086.
1355 2004-08-16 Christian Rose <menthos@menthos.com>
1357 * configure.in: Added "bs" to ALL_LINGUAS.
1359 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1361 * configure.in: Added nb to ALL_LINGUAS.
1363 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1366 (SPI_init): Return error code '2' if the activated
1367 registry cannot be pinged. Fixes bug #147648.
1369 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1371 * registryd/deviceeventcontroller.c:
1372 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1373 rely on timer-poll instead, to avoid conflict with
1376 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1378 * configure.in: Revved to 1.5.3.
1380 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1382 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1384 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1386 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1388 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1390 * atk-bridge/bridge.c:
1391 (spi_atk_bridge_do_registration):
1392 Register with ATK for AtkComponent:bounds-changed events.
1393 (api_atk_bridge_signal_listener):
1394 Marshal the AtkRectangle info into the event notification
1395 for object:bounds-changed events.
1398 (spi_init_any_rect): New method, inits a corba struct of
1399 type Accessibility_BoundingBox from an AtkRectangle.
1401 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1404 (SPIRect): New struct definition.
1405 (SPI_freeRect): New declaration.
1406 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1409 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1410 implemented. Gets the bounding box data from the CORBA_any
1411 associated with a bounds-changed event notification.
1412 (cspi_internal_event_get_rect): New, used internally by above method.
1415 (SPI_freeRect): Implemented this new method, for freeing
1418 * test/event-listener-test.c:
1419 (main, report_bounds_event):
1420 Added a test for object:bounds-changed events.
1422 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1424 * test/login-helper-server-test.c:
1425 (main): Fix C99-ism. Thanks to Jens Granseuer.
1427 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1429 * libloginhelper-1.0.pc.in:
1430 * idl/Accessibility_LoginHelper.idl:
1431 * login-helper/Makefile.am:
1432 * login-helper/login-helper.[ch]:
1433 * test/login-helper-client-test.c:
1434 * test/login-helper-server-test.c: Added files missing from CVS.
1435 Files obtained from at-spi-1.5.2 tarball.
1437 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1439 * configure.in: Create login-helper/Makefile.
1440 Incremented micro version.
1442 * Makefile.am: Add login-helper subdir and pkgconfig data.
1444 * login-helper: New subdir.
1446 * libloginhelper-1.0.pc.in: New.
1448 * idl/Accessibility_LoginHelper.idl: New file, defines
1449 interface whereby authentication clients can identify agents which
1450 need access to services during the login process, e.g. screen lock
1453 * login-helper/Makefile.am : New.
1455 * login-helper/login-helper.[ch] : New, implementation of
1456 a LoginHelper base class. Services needing LoginHelper can subclass.
1458 * test/Makefile.am : Added test for login-helper, client and
1461 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1462 Use proper prefix in #include files.
1464 * test/login-helper-client-test.c: New.
1466 * test/login-helper-server-test.c: New.
1468 2004-05-27 Alexander Shopov <ash@contact.bg>
1470 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1472 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1474 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1475 is positive. This should make it easier to detect inapprorpiate unref
1478 2004-05-11 James Henstridge <james@daa.com.au>
1480 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1481 no-op and deprecated.
1483 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1485 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1487 2004-04-28 Bill Haneman <billh@gnome.org>
1489 * Makefile.am: Added --enable-gtk-doc to
1490 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1492 2004-04-19 Bill Haneman <billh@gnome.org>
1494 * configure.in: Revved to 1.5.1.
1496 * registryd/deviceeventcontroller.c:
1498 (DEControllerPrivateData): Added fields for
1499 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1500 (spi_dec_replace_map_keysym): New internal utility for
1501 replacing a keysym in the keymap - used to allow
1502 synthesis of individual characters which aren't in the
1504 (spi_dec_reset_reserved): New; resets the changed keysym value
1506 (keycode_for_keysym): We now try to deal with failed
1507 XKeysymToKeycode requests by changing a keymap value
1508 and returning a reserved keycode. We now take
1509 a DEController pointer as first arg.
1510 (spi_controller_register_with_devices): Call XkbGetMap with
1511 the XkbKeySymsMask. Find the highest keycode in the current
1512 keymap which doesn't have any grabs, and mark that one for
1513 temporary re-mapping when out-of-range KeySyms are synthesized.
1514 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1517 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1519 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1521 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1523 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1525 2004-03-24 Bill Haneman <billh@gnome.org>
1528 (AccessibleTable_addRowSelection),
1529 (AccessibleTable_addColumnSelection),
1530 (AccessibleTable_removeRowSelection),
1531 (AccessibleTable_removeColumnSelection):
1532 Add declarations for spi wrappers which were
1533 inadvertantly omitted. Fixes bug #133413.
1536 Revved to 1.5.0 (unstable series for GNOME 2.7).
1538 2004-03-24 Bill Haneman <billh@gnome.org>
1540 * atk-bridge/bridge.c:
1541 Bracketed some debug output in
1542 conditionals, to avoid printing it in normal use.
1545 * libspi/hyperlink.c:
1546 Don't cast 'object' to ATK_OBJECT when constructing
1547 an AtkAction interface for a hyperlink.
1548 See discussion in bug #120659.
1550 * test/key-listener-test.c:
1551 (report_all_key_event): Send output to stderr,
1552 not stdout, for consistency with the rest of the test callbacks.
1555 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1556 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1557 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1558 try incrementing the revision AFTER doing a dist, at least
1561 2004-03-22 Bill Haneman <billh@gnome.org>
1563 * configure.in: Revved to 1.4.0, libtool 9.14.9
1565 2004-03-17 Laszlo Peter <laca@sun.com>
1567 * libspi-1.0-uninstalled.pc.in: add idldir
1569 * cspi-1.0-uninstalled.pc.in: add idldir
1571 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1573 * configure.in: Added "en_GB" to ALL_LINGUAS
1575 2004-03-15 Bill Haneman <billh@gnome.org>
1577 * configure.in: Revved to 1.3.16,
1580 2004-03-15 Laszlo Peter <laca@sun.com>
1582 * libspi-1.0-uninstalled.pc.in: new file
1584 * cspi-1.0-uninstalled.pc.in: new file
1586 * configure.in: add the new pc files to AC_OUTPUT
1588 * Makefile.am: add the new pc files to EXTRA_DIST
1590 2004-03-12 Bill Haneman <billh@gnome.org>
1592 * atk-bridge/bridge.c:
1593 (spi_atk_bridge_key_listener):
1594 Make sure to return consumed=FALSE if snoop
1595 event is not dispatched to listener.
1598 2004-03-01 Bill Haneman <billh@gnome.org>
1600 * configure.in: Revved to 1.3.15,
1603 2004-03-07 Danilo Segan <dsegan@gmx.net>
1605 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1607 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1609 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1611 2004-03-01 Bill Haneman <billh@gnome.org>
1613 * configure.in: Revved to 1.3.14.
1616 (SPI_exit): Removed "bye-bye" exit message.
1617 Moved "leak" report to happen before the
1618 iteration over the leaked refs list.
1619 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1621 2004-02-24 Bill Haneman <billh@gnome.org>
1623 * configure.in: Revved to 1.3.13.
1625 * docs/reference/cspi/Makefile.am:
1626 Correct typo that was breaking the docs build.
1628 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1630 * autogen.sh: Require version 1.7 of automake.
1632 * configure.in: call GTK_DOC_CHECK([1.0])
1634 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1636 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1638 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1640 * test/Makefile.am: Remove use of CFLAGS.
1642 This fixes bug #132987.
1644 2004-02-11 Bill Haneman <billh@gnome.org>
1646 * reverted most of Tomasz' patch below, since it was breaking
1647 builds (see bug #134058).
1649 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1651 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1652 correct pass "make dist" (empty .. because seems no sach types in
1653 header files with gtk-doc markups).
1654 * docs/reference/cspi/Makefile.am, configure.in:
1655 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1656 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1657 * Makefile.am: added:
1658 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1659 for force correct pass generate documentation on "make distcheck".
1660 * libspi/Makefile.am: fixes for automake >= 1.6.
1661 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1662 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1665 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1667 * docs/reference/cspi/Makefile.am (install-data-local): Install
1668 index.sgml since the doc autobuilder on widget.gnome.org looks for
1671 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1673 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1676 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1678 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1680 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1682 * test/simple-at.c: Fixed null string problems that cause core
1683 dumping problems on Solaris.
1685 2004-01-12 Bill Haneman <billh@gnome.org>
1687 * configure.in: Incremented version to 1.3.11.
1689 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1691 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1692 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1695 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1697 * configure.in: Added "fa" to ALL_LINGUAS.
1699 2003-12-20 Arafat Medini <lumina@silverpen.de>
1701 * configure.in: Added "ar" to ALL_LINGUAS
1703 2003-12-16 Bill Haneman <billh@gnome.org>
1705 * registryd/registry-main.c:
1707 Set the reg_env DISPLAY variable before registering the
1708 activated registry service. Fixes bug #129479.
1710 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1712 * configure.in: Added "id" in ALL_LINGUAS
1713 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1715 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1717 * registryd/deviceeventcontroller.c (global_filter_fn):
1718 When an event is consumed discard any XEvents were added to
1719 the queue while dealing with the the event. This can happen if
1720 processing of the event takes a long time. Call XUngrabKeyboard
1721 if an event was discarded. This fixes bug $124837.
1722 Only call wait_for_release_event for a KeyPress.
1723 Use local variable display instead of spi_get_display().
1724 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1727 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1729 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1730 Allow for mask to contain values other than NumLock mask.
1733 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1735 * registryd/devieceventcontroller.c:
1736 (wait_for_release_event): Change first parameter from GdkEvent to
1738 (global_filter_fn); Correct call to wait_for_release_event.
1742 2003-12-08 Bill Haneman <billh@gnome.org>
1746 * registryd/ucs2keysym.c: New file.
1748 * registryd/deviceeventcontroller.c:
1749 (dec_keysym_for_unichar): Remove old partial implementation and
1750 replace with call to ucs2keysym(), which is much more complete.
1751 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1756 2003-12-05 Bill Haneman <billh@gnome.org>
1758 * configure.in: Version 1.3.9.
1760 * docs/reference/cspi/tmpl/spi_registry.sgml:
1761 Added reference to libspi/keymasks.h to the
1762 description of Registry queries: AccessibleKeyMaskType.
1765 2003-12-04 Bill Haneman <billh@gnome.org>
1767 Fix for bug #121974.
1769 * idl/Accessibility_Application.idl:
1770 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1771 setlocale's LC_TYPEs.
1772 (Accessibility::Application::getLocale): New method.
1773 Allows clients to query the locale, by type, of an app.
1776 * cspi/spi_application.c:
1777 (AccessibleApplication_getLocale): New method, wraps IDL above.
1779 * libspi/application.c:
1780 (spi_application_class_init): Init epv entry for getLocale.
1781 (impl_accessibility_application_get_locale): Impl for above.
1783 * test/test-simple.c:
1784 (test_application): Added assertion for getLocale, i.e.
1785 that the string from AccessibleApplication_getLocale (app, type)
1786 is the same as that from setlocale (type, NULL);
1788 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1790 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1791 the keyboard on a timeout intil the key state goes from pressed to
1792 released. Fixes bug #111429.
1794 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1796 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1797 root object so that it is present when a context menu in an
1798 out-of-process applet is popped up.
1799 (spi_atk_bridge_do_registration): Create acceessible application root
1800 object only if it does not exist.
1802 This fixes bug #125834.
1804 2003-12-01 Bill Haneman <billh@gnome.org>
1806 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1809 Added enum for AccessibleStreamableContentSeekType.
1810 (AccessibleStreamableContent_freeContentTypeList): New.
1812 * cspi/spi_streamablecontent.c:
1813 (accessible_bonobo_stream_client_seek): New private method.
1814 (AccessibleStreamableContent_seek): Implemented this method,
1815 using Bonobo_Stream_seek.
1816 (AccessibleStreamableContent_freeContentTypeList): New method
1817 for freeing the return value from
1818 AccessibleStreamableContent_getContentTypes.
1819 (stream_cache_item_free): Replaces stream_release; stop leaks.
1820 (stream_release): removed.
1821 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1822 free the memory properly.
1824 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1826 Fix for bug #116009.
1828 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1830 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1832 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1834 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1836 2003-12-01 Bill Haneman <billh@gnome.org>
1838 Fix for bug/rfe #127463.
1840 * idl/Accessibility_Accessible.idl:
1841 (getLocalizedRoleName): New.
1842 (unimplemented4): Removed (replaced by above).
1844 * libspi/accessible.c:
1845 (impl_accessibility_accessible_get_local_role_name): New.
1846 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1850 (Accessible_getLocalizedRoleName): New.
1852 * cspi/spi_accessible.c:
1853 (Accessible_getLocalizedRoleName): New.
1855 2003-12-01 Bill Haneman <billh@gnome.org>
1857 Fix for bug #118581.
1858 * idl/Accessibility_Text.idl:
1859 (getDefaultAttributes): New.
1860 (unimplemented4): Removed (replaced by above method).
1863 (impl_getDefaultAttributes): New method.
1864 (spi_text_class_init):
1865 initialize the get_default_attributes slot in the epv.
1868 (AccessibleText_getDefaultAttributes): New prototype.
1871 (AccessibleText_getDefaultAttributes): New method.
1873 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1875 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1876 write beyond the end of the table. Fixes bug #120473.
1878 2003-09-30 Christian Rose <menthos@menthos.com>
1880 * configure.in: Added "eu" to ALL_LINGUAS.
1882 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1884 * configure.in: ALL_LINGUAS: Added no.
1886 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1888 * configure.in: Added lt to ALL_LINGUAS.
1890 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1892 * atk-bridge/bridge.c:
1893 (atk_bridge_init): Register event listeners always even for
1894 out-of-process applet.
1895 (spi_atk_bridge_toplevel_added): Remove call to
1896 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1897 (spi_atk_bridge_toplevelk_removed): Remove call to
1898 spi_atk_deregister_event_listenersa as the listeners are now always
1900 (spi_atk_bridge_register_application): Remove call to
1901 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1903 This fixes bug #120991.
1905 * libspi/table.c (impl_getColumnDescription): Correct typo,
1906 pointed out by Bolian.Yin@sun.com.
1908 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1910 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1912 2003-09-08 Bill Haneman <billh@gnome.org>
1914 * configure.in: Revved to 1.3.7.
1916 This is the GNOME 2.4.0 release of at-spi.
1918 * docs/reference/cspi/Makefile.am:
1919 Removed spurious inclusion of 'index.sgml' in the
1920 html directory; this was breaking make distcheck and
1921 also some other build environments.
1923 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1925 * registryd/registry.[ch}:
1926 Add queue_handler_id and focus_object to SpiRegistry data structure.
1927 (registry_flush_event_queue): If event being discarded is
1928 "state-change:focused" store object as focus_object.
1929 (registry_start_queue): Remove queue handler and focus object
1931 (registry_discard_event): New function which discards a focus event
1932 if we had stored focus object in the registry.
1933 (registry_queue_event): Add new check that is_queueing is set as this
1934 function is reentrant.
1935 (registry_filer_event): Add call to registry_discard_event.
1937 This resolves issues raised in bug #108664.
1939 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1941 * configure.in: Added "bn" to ALL_LINGUAS.
1943 2003-09-04 Bill Haneman <billh@gnome.org>
1945 * cspi/spi_event.c: Documentation improvements for
1946 (SPI_registerAccessibleKeylistener).
1948 * docs/reference/tmpl/spi_registry.sgml:
1949 Documentation improvements for SpiAccessibleKeylistenerCB.
1951 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1953 * configure.in: Added "ro" to ALL_LINGUAS.
1956 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1958 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1959 not decremented to zero. Fixes bug #120725.
1961 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1963 * configure.in: Added "ja" to ALL_LINGUAS.
1965 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1967 * configure.in: Added "is" to ALL_LINGUAS.
1969 2003-08-22 Christian Rose <menthos@menthos.com>
1971 * configure.in: Added "nl" to ALL_LINGUAS.
1973 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1975 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1976 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1978 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1980 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1981 type for unspecified exception.
1982 * cspi_streamablecontect): Add include of string.h for memcpy.
1983 (stream_release): Correct call to bonobo_object_release_unref
1984 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1985 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1986 argument of _cspi_expection_throw.
1987 * libspi/hyperlink.c: Add include of libspi/action.h:
1988 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1989 * libspi/streamablecontent.c: add include of libspi/component.h.
1990 * regisrtyd/deviceeventcontroller.c:
1991 (spi_dec_translate_mask): Removed unused variable priv.
1992 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1993 * registryd/registry.c:
1994 (registry_filter_event): Remove unused variable queue_is-empty.
1995 (impl_registry_notify_event): Use correct modifier in fprintf call.
1997 This fixes compiler warnings reported in bug #120220.
1999 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2001 * registryd/registryd.c: Remove this file.
2003 2003-08-17 Sanlig Badral <badral@openmn.org>
2005 * configure.in: Added mn to ALL_LINGUAS.
2007 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2009 * configure.in: Added et to ALL_LINGUAS.
2011 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2013 * test/event-listener-test.c: Change active-descendant to
2014 active-descendant-changed.
2016 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2018 * configure.in: Added "fi" in ALL_LINGUAS.
2020 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2022 * configure.in: Added "hi" in ALL_LINGUAS.
2024 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2026 * configure.in: Revved to 1.3.6.
2030 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2032 * registryd/deviceeventcontroller.c
2033 (spi_device_event_controller_object_finalize): Fix typo in previous
2036 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2038 * registryd/deviceeventcontroller.c
2039 (spi_device_event_controller_object_finalize): Fix build on
2040 systems without XEvIE.
2042 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2044 * acconfig.h, configure.in, registryd/Makefile.am,
2045 registryd/devicecontoller.[ch]: Add XEViE support.
2047 2003-08-06 Wang Jian <lark@linux.net.cn>
2049 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2051 2003-08-06 Metin Amiroff<metin@karegen.com>
2053 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2055 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2057 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2058 MODIFIER_ALT in correct place.
2060 This fixes part of bug #118114.
2062 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2064 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2066 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2068 * configure.in: Added "ko" to ALL_LINGUAS.
2070 2003-07-28 Ole Laursen <olau@hardworking.dk>
2072 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2074 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2076 * configure.in: Added "sq" to ALL_LINGUAS.
2078 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2080 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2082 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2084 * configure.in: updated ALL_LINGUAS list
2086 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2088 * configure.in: Added Belarusian to ALL_LINGUAS.
2090 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2092 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2094 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2095 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2097 This fixes bug #116949.
2099 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2101 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2102 Correct CSPI to SPI in function documentation.
2104 This fixes bug #118054.
2106 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2108 * configure.in: Added Russian to ALL_LINGUAS.
2110 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2112 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2114 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2116 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2118 2003-07-10 Joel Brich <joel.brich@laposte.net>
2120 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2122 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2124 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2126 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2128 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2129 resources allocated for AccessibleEvent. See cspi_event().
2131 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2132 static variable streams to NULL.
2134 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2135 Update so that AcessibleEvent_ref will work.
2137 This fixes bug #116624.
2139 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2141 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2143 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2145 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2147 2003-07-02 Christian Neumair <chris@gnome-de.org>
2149 * configure.in: Added "de" (German) to ALL_LINGUAS.
2151 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2153 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2155 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2157 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2159 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2161 * configure.in: Added "pl" to ALL_LINGUAS.
2163 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2165 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2167 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2170 (get_action_from_servant):
2171 Removed assertion that action is implemented on an AtkObject.
2173 * libspi/hyperlink.c:
2174 (spi_hyperlink_new):
2175 Aggregate AccessibleAction interface on the hyperlink object if
2176 the object implements AtkAction. (This convention is used in
2179 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2181 * configure.in: Revved to 1.3.5.
2183 * registryd/Accessibility_Registry.server.in.in:
2184 Marked up appropriate strings for translation.
2186 * atk-bridge/bridge.c: Marked a couple of
2187 user-visible warnings for translation. Questionable
2188 whether they are really useful, but possibly so.
2191 2003-06-28 Christian Rose <menthos@menthos.com>
2193 * configure.in: Added "sv" to ALL_LINGUAS.
2195 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2197 * registryd/registry.c:
2198 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2199 (registry_defer_on_event): Defer focus: events, this is an
2200 improvement to the patch for bug #108664.
2202 * TODO: Update with 2.4/"Dev Complete" items.
2204 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2206 * atk-bridge/bridge.c:
2207 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2208 looks up signals once.
2209 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2210 if doing registration.
2211 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2212 when doing registration.
2214 This fixes bug #115014.
2216 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2218 * atk-bridge/bridge.c:
2219 (atk_bridge_init): Add signal handler for children-changed:remove on
2220 root when in a BonoboComponent.
2221 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2222 for first toplevel only other incrememt variable toplevels.
2223 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2224 application and remove listeners.
2225 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2227 (spi_atk_deregister_event_listeners): New function which removes
2229 (reinit_register_vars): New fuction which reinitializes variables.
2231 This fixes bug #111578.
2233 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2235 * configure.in: version 1.3.4.
2237 * cspi/spi_accessible.c:
2238 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2241 2003-06-13 Michael Meeks <michael@ximian.com>
2243 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2245 * cspi/spi_main.c (cspi_peek_ev): impl.
2247 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2249 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2251 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2253 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2254 SPI_ROLE_AUTOCOMPLETE
2256 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2258 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2259 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2261 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2263 * libspi/streamablecontent.h:
2264 * libspi/streamablecontent.c:
2265 New files, provide implementation/wrappers for
2266 Accessibility_StreamableContent.
2268 * cspi/spi_streamablecontent.c:
2269 Connected the C wrappers to the libspi C bindings.
2270 (AccessibleStreamableContent_close): New method.
2273 (AccessibleStreamableContent_close): New method, needed
2274 since we have an "open, [seek], read, close" model in cspi.
2276 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2278 Fix for #108664; Padraig's revision of my original patch.
2280 * registryd/registry.h:
2281 Added event queue list, is_queuing, and exit_notify_timeout
2282 to the registry struct.
2284 * registryd/registry.c:
2285 (registry_init): Initialize new struct from registry.h.
2286 (impl_registry_notify_event):
2287 Filter events before notifying, in case some need to be
2289 (registry_filter_event): New,
2290 we defer certain incoming events (for instance
2291 window:deactivate) because we may wish to hide
2292 or reject them based on pending events. This is
2293 mostly a workaround for bug #108664.
2294 (registry_queue_event, registry_start_queue): New.
2295 (registry_defer_on_event): Test event to see if it
2297 (registry_reset_on_event): Returns TRUE if the
2298 event should cause a queue reset.
2299 (registry_discard_on_event): Returns TRUE if the event
2300 should cause the previous queue contents to be discarded.
2301 (registry_timeout_flush_queue): Flushes the pending event
2302 queue if no reset/discard-triggering events have come in
2303 within the timeout period.
2304 (registry_emit_event): New.
2305 (registry_clone_notify_context): New, used when queueing the
2306 event notify contexts.
2308 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2310 * configure.in: Version revved to 1.3.2, lt 0.9.2
2311 Incremented ATK required version to 1.3.4.
2313 * cspi/spi_registry.c:
2314 (SPI_generateKeyEvent):
2315 We now pass the keystring along if it's non-null.
2317 * registryd/deviceeventcontroller.c:
2318 (keysym_mod_mask): New method, returns modifier mask
2319 required to generate a keysym from a given keycode.
2320 (dec_synth_keysym): New method.
2321 (dec_synth_keystring): New method.
2322 (dec_get_modifier_state): New method.
2323 (dec_lock_modifiers): New
2324 (dec_unlock_modifiers): New.
2325 (dec_keysym_for_unichar): New, rather brute-force
2326 conversion from UCS-4 to X KeySyms. Only works for
2327 Latin at the moment, with partial implementations for
2328 Greek, Hebrew, and (incomplete) Katakana.
2329 (impl_generate_keyboard_event): Now implement
2330 "KEYSTRING" synthesis and implement "KEYSYM"
2332 (keycode_from_keysym): Improved, passes a returned
2333 modmask value now if the corresponding param is non-NULL.
2335 Fixes bugs #92143 and #109776.
2338 * test/keysynth-test.c:
2339 New test program for key synthesis, to confirm fixes for
2343 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2345 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2347 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2348 Add line for RELATION_POPUP_FOR
2350 * docs/reference/cspi/tmpl/spi_relation.sgml:
2351 Add relation SPI_RELATION_POPUP_FOR
2353 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2354 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2356 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2358 * libspi/relation.c (spi_init_relation_type_table):
2359 Add line for RELATION_POPUP_FOR
2361 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2363 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2364 there are still windows which have not been deleted and emit
2365 window:deactivate, if necessary and window:destroy events.
2366 This fixes bug #114370. The change on June 5th was not correct.
2368 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2370 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2373 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2375 New methods for client exception handling and interception.
2376 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2377 (SPI_exceptionHandlerPop): You guessed it...
2378 (SPI_getSourceType): Return the type of object which offended.
2379 (SPI_getExceptionCode): Return an enum code telling, possibly,
2380 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2381 (SPIAccessibleException_getSource): get the source object for
2382 exceptions that come from Accessibles, if SPIExceptionSourceType is
2383 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2384 (SPIException_getDescription): New, returns a string description of
2385 the problem. [Not yet a stable ABI, strings are not frozen]
2387 * cspi/spi-private.h:
2388 Added implementation details of opaque SPIException
2392 Implementations of above. Also
2393 (_cspi_exception_throw): new private method that
2394 dispatches exceptions to handlers, called from cspi-bonobo.c
2396 * cspi/bonobo/cspi-bonobo.c:
2397 (cspi_check_ev): call _cspi_exception_throw.
2398 Don't print a warning message if the exception has been
2399 handled by _cspi_exception_throw.
2401 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2403 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2404 there are still windows which have not been deleted and emit
2405 window:deactivate, if necessary and window:destroy events.
2406 This fixes bug #114370.
2408 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2411 (cspi_accessible_is_a): Make non-fatal
2412 if the object reference is dead.
2414 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2416 * cspi/spi_main.c: #include <stdio.h>
2417 * test/simple-at.c: ditto
2418 * test/event-listener-test.c: ditto
2419 * test/screen-review-test.c: ditto
2421 2003-05-30 Michael Meeks <michael@ximian.com>
2423 * test/test-simple.c (main): use CORBA_ORB_perform_work
2424 instead of an unnecessary linc_ call.
2426 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2428 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2429 Add SPI_STATE_INDETERMINATE.
2431 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2434 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2436 * libspi/stateset.c (init_state_type_tables): Add support for
2439 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2441 * configure: Update versions of atk and gail required.
2442 This fixes bug #113268.
2444 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2446 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2448 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2450 * libspi/Makefile.am:
2451 Ensure headers are generated before being used by c sources.
2453 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2456 Simplified lt versioning rules.
2457 Incremented version to 1.3.0, to indicate that we're on the
2458 unstable branch now.
2460 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2462 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2463 Add MKDB_OPTIONS=--outtput-format=xml
2465 * docs/reference/cspi/at-spi-cspi-docs.sgml
2466 docs/reference/idl/at-spi-idl-docs.sgml:
2467 Convert to Docbook XML.
2469 This fixes bug #111793.
2471 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2473 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2474 AcccessibleKeyEventType, AccessibleKeyMaskType.
2476 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2478 * cspi/state-types.h: Add documentation for AccessibleState.
2480 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2481 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2482 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2483 AccessibleComponentLayer.
2485 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2488 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2490 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2491 Accessible. Add description of AccessibleEvent,
2492 AccessibleEventListenerCB.
2494 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2497 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2498 documentation. Add description of AccessibleKeystrokeListenerCB,
2499 AccessibleKeyEventMask, AccessibleModifierMaskType,
2500 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2501 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2503 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2506 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2509 This fixes bug #104730.
2511 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2513 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2514 Set is_text field of Accessibility_DeviceEvent data structure.
2516 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2517 is-text field of AccessibleDeviceEvent data structure.
2519 This addresses part of bug #108666.
2521 * registryd/devcieeventcontroller.c: Unset debug option.
2523 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2525 * cspi/accessible.c:
2526 (cpi_initial_relation_type_table): New function which initializes
2527 mapping between Accessibility_RelationType and AccessibleRelationType.
2528 (cspi_relation_type_from_spi_relation_type): New function which
2529 translates an Accessibility_RelationType into an AccessibleRelationType.
2530 (AccessibleRelation_getRelationType): Use
2531 cpi_relation_type_get_spi_relation_type to return correct value.
2532 (spi_state_to_corba): Return correct type for default case.
2534 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2535 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2537 * cspi/cspi-bonobo-listener.c:
2538 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2541 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2542 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2543 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2544 libspi/image.c, libspi/listener.c, libspi/selection.c,
2545 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2546 registryd/desktop.c, registryd/registry.c:
2547 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2549 * libspi/eventlistener.c
2550 Remove semicolon after BONOBO_TYPE_FUNC.
2552 * libspi/relation.c:
2553 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2554 (spi_init_relation_type_table): Initialize using correct type.
2556 * registryd/desktop.c:
2557 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2558 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2559 of Accessibility_KeyEventType.
2561 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2564 * tests/simple-at.c, tests/screen-review-test.c:
2565 Add include for <strings.h>.
2567 * tests.stress-test.c:
2568 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2570 These changes fix compiler warnings when using FORTE compiler on
2571 Solaris; fixes bug #107479.
2574 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2577 * configure.in: revved to 1.1.10
2579 * libspi/keymasks.h:
2580 (SPI_KEYMASK_NUMLOCK): Added.
2582 * registryd/deviceeventcontroller.c:
2583 (spi_key_event_matches_listener): AND with a smaller
2584 bitmask (as we should).
2585 (spi_dec_translate_mask):
2586 New method, sets the virtual NumLock modifier bit
2587 if numlock is on. Eventually it can handle other virtual
2588 modifier bits if needed, or other marshalling from
2589 at-spi modifier masks to platform (X) masks.
2590 (spi_dec_key_listener_new):
2591 Call spi_dec_translate_mask to set up virtual mod bits
2592 in the 'mask' field when creating a new listener struct.
2593 (spi_dec_emit_modifier_event):
2594 Set the virtual (i.e. NumLock) bits before emitting event.
2595 (spi_controller_register_with_devices):
2596 Query for the NumLock modifier 'physical' bit if Xkb is
2597 present, for use in above methods.
2601 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2603 * registryd/deviceeventcontroller.c:
2604 (spi_keystroke_from_x_key_event):
2605 Instead of checking to see if the keysym is
2606 printable, check the string from XLookupString
2607 if available, get the first unicode character from it,
2608 and call g_unichar_isprint to determine whether the
2609 is_text flag should be TRUE or FALSE.
2613 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2615 * atk-bridge/bridge.c: Add support for extended events
2616 * cspi/spi_event.c: Add documentation and implementation for
2618 * tests/event-listener-test.c: Add tests for extended events.
2620 This fixes bugs #100424 and #100426.
2622 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2624 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2625 of LT_CURRENT. This fixes bug #89350.
2627 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2629 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2630 number of signal parameter values before accessing them. This fixes
2633 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2635 * configure.in: Fixed duplicate inclusion of -lspi.
2636 * branched for gnome-2-2/HEAD.
2637 [created tag "gnome-2-2"]
2639 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2641 * configure.in: 1.1.9 release.
2644 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2646 [needed by GOK, to fix bugs 107985 and 107988]
2647 * registryd/deviceeventcontroller.c:
2648 (spi_dec_clear_unlatch_pending):
2649 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2650 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2651 (spi_dec_init_mouse_listener):Emit warning if mouse button
2653 (spi_device_event_controller_forward_mouse_event):
2654 Removed unnecessary parens from a conditional.
2655 (global_filter_fn):Added TODO comment.
2656 (impl_generate_keyboard_event):
2657 Cancel a pending relatch if a 'delatching' key was
2660 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2662 * atk-bridge/bridge.c:
2663 Change atk_signal_child_changed to atk_signal_children_changed.
2664 Reorganize code in spi_atk_bridge_signal_listener().
2666 * test/event-listener-test.c:
2667 Add children_changed_listener and report_children_changed_event()
2668 to test AccessibleChildEvent_getChildAccessible.
2670 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2672 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2673 g_strdup to CORBA_String_dup (bug #105291)
2675 * test/event-listener-test.c (report_text_event): Add call to
2678 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2680 * registryd/deviceeventcontroller.c:
2681 (spi_keystroke_from_x_key_event):
2682 Fix string and keysym return codes to match modifier state.
2685 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2687 * registryd/deviceeventcontroller.c:
2688 (spi_keystroke_from_x_key_event):
2689 Fix segv due to improper use of isprint(c). [bug #107254]
2691 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2694 (get_accessible_text_boundary_type):
2695 Move default return value to (new) default case in switch.
2696 (get_accessible_text_clip_type):
2697 Move default return value to (new) default case in switch.
2699 * libspi/application.c:
2700 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2701 Remove unused methods.
2702 (impl_accessibility_application_register_object_event_listener):
2703 Remove unused methods.
2706 Added #include of <math.h>.
2708 * registryd/deviceeventcontroller.c:
2709 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2710 we don't currently use this method.
2711 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2713 (impl_generate_key_event):
2714 Remove unused variables.
2715 (impl_generate_mouse_event):
2716 Initialize button to zero, just in case we get an invalid
2717 input. Added support for mouse buttons 4 and 5.
2718 (spi_device_event_controller_new):
2719 Removed unused variable declaration for 'private'.
2721 Added #include of <gdk/gdk.h>
2723 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2725 * configure.in: Update to work when X is not installed in expected
2726 location. Fixes bug #105836.
2728 * atk-bridge/bridge.c
2729 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2731 (spi_atk_register_event_listener): Add signal listener for
2733 (spi_atk_bridge_signal_listener): Event event when link-selected
2734 signal is emitted. (bug #104622)
2736 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2737 on returned string. (bug #105291)
2739 * test/event-listener-test.c: Add test for link-selected.
2741 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2743 * atk-bridge/Makefile.am: Correct typo in previous commit.
2745 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2747 * atk-bridge/Makefile.am: Allow for build directory to be different
2748 from source directory
2750 * registryd/Makefile.am: Allow for build directory to be different
2751 from source directory
2755 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2758 Fixed dependencies for libcspi so that libspi gets pulled in
2759 properly. Fixes 104741.
2763 Clean up inline docs a little.
2765 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2767 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2768 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2769 the AtkObject within an SpiDesktop.
2770 This addresses bug #101524.
2772 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2773 Remove call to gdk_init().
2775 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2776 so that Display is set when SpiDesktop is created.
2778 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2780 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2781 This fixes bug #102830.
2783 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2785 * test/test-simple.c: Update to take account of fact that GailButton
2786 now implements AtkText.
2787 (create_text_window): Set name on AtkObject for GtkEntry.
2788 (validate_accessible): Check accessible name before calling test_text().
2790 * libspi/Makefile.am: Fix problem with building outside of source
2791 directory. Bug #98120.
2793 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2794 typo in documentation comments. Bug #94275.
2796 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2798 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2800 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2803 Add includes to avoid compiler warnings on Solaris.
2804 (impl_getRangeExtents): Bug fix.
2806 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2808 Fix for 100944, [API addition approved by Gman and murrayc].
2815 * idl/Accessibility_Text.idl:
2816 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2817 (Text::getRangeExtents): New method for efficient
2818 bounds query of a text range.
2819 (Text::getBoundedRanges): New method for efficient
2820 clipping of text to bounding boxes.
2821 (unImplemented7, unImplemented8):
2822 Removed these padding methods to preserve bincompat.
2825 (impl_getRangeExtents): implementation of new IDL.
2826 (impl_getBoundedRanges): implementation of new IDL.
2827 (SpiTextRect): Internal use struct.
2828 (_spi_text_rect_union): internal method, calculates union of two
2829 SpiTextRect bounding rects.
2830 (_spi_text_range_seq_from_gslist): internal method, allows us
2831 to build our sequence efficiently as a gslist then convert it
2833 (_spi_bounds_contain): internal method, determines whether
2834 a text character is "in" or "out" of a clip rect according to
2835 values of TEXT_CLIP_TYPE.
2836 (spi_text_class_init): Initialize the new methods in the epv.
2839 (AccessibleTextClipType): New enum used by screen review api.
2840 (AccessibleTextRange): New struct used by screen review api.
2841 (AccessibleText_getRangeExtents):
2842 cspi binding for Accessibility_Text_getRangeExtents.
2843 (AccessibleText_getBoundedRanges):
2844 cspi binding for Accessibility_Text_getBoundedRanges.
2845 (AccessibleTextRange_freeRanges): convenience method.
2848 (AccessibleText_getRangeExtents):
2849 cspi binding for Accessibility_Text_getRangeExtents.
2850 (AccessibleText_getBoundedRanges):
2851 cspi binding for Accessibility_Text_getBoundedRanges.
2852 (AccessibleTextRange_freeRanges): convenience method.
2853 (get_accessible_text_clip_type): internal conversion method.
2854 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2856 * registryd/deviceeventcontroller.c:
2857 (spi_dec_mouse_check):
2858 Improved behavior for mouse:abs events
2859 [same granularity as mouse:rel events, and no
2860 events when mouse is idle].
2862 2002-12-16 Michael Meeks <michael@ximian.com>
2864 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2866 * libspi/stateset.c (state_spi_to_atk): split out
2867 ( fix several remote array bounds nasties )
2868 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2869 (impl_remove): make safe from array bounds issues.
2870 (spi_atk_state_from_spi_state): impl.
2872 * libspi/stateset.h (spi_state_set_cache_is_empty):
2873 add a set of wrapper defines to get layering right.
2875 * cspi/spi_accessible.c: update state set stuff to
2878 2002-12-14 Michael Meeks <michael@ximian.com>
2880 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2881 to avoid 2 roundtrips to the registry per key event
2882 (spi_atk_bridge_key_listener): upd.
2883 (deregister_application): release the dec.
2885 * registryd/registry.c (notify_listeners_cb):
2886 bin lots of re-enterant complexity - we no longer
2887 do a round-trip bonobo ref here, ensure that a single
2888 listener's exception failure won't poison all other
2890 (impl_registry_notify_event): bin obvious memory leak.
2892 2002-12-13 Michael Meeks <michael@ximian.com>
2894 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2895 init the ev so the error is meaningful.
2896 (spi_atk_bridge_key_listener): ditto.
2898 * cspi/spi_main.c (cspi_ev): init the ev so we start
2899 with a clean slate, otherwise the first exception
2900 kills us completely.
2902 * cspi/spi_text.c (get_accessible_text_boundary_type):
2903 add a fallthrough for no warnings.
2905 * cspi/spi_registry.c: prune unused warnings.
2907 * cspi/spi_main.c (cspi_object_take): fix
2908 mind-blowing brokenness ( by watching the compile
2911 * cspi/spi_accessible.c (Accessible_getStateSet):
2912 re-impl. to use an AtkStateSet.
2913 (spi_state_type_from_accessible_state),
2914 (init_state_table): bin these.
2916 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2918 (atk_state_set_from_accessibility_state_set): here.
2920 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2921 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2922 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2923 (AccessibleStateSet_add, AccessibleStateSet_remove),
2924 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2925 (AccessibleStateSet_isEmpty): re-write to use a local
2928 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2930 * configure.in: Revved to 1.1.7 (new keymask vals).
2932 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2934 * libspi/keymasks.h:
2935 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2937 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2940 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2941 to compare two CORBA_TypeCodes.
2942 (cspi_internal_event_add): Silence warning from FORTE compiler.
2944 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2945 avoid implicit declaration of functions.
2947 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2949 * atk-bridge/bridge.c:
2950 (spi_atk_bridge_init_event_type_consts): Store signal id for
2951 active-descendant-changed signal.
2952 (spi_atk_register_event_listeners): Add signal listener for
2953 active-descendant-changed signal,
2954 (spi_atk_bridge_signal_listener): Move code in function
2955 spi_atk-signal_emit_event() into this function.
2956 Add support for active-descendant-changed
2957 Update support for child-changed signal.
2958 (spi_bridge_window_event_listener): Silence warning.
2960 * libspi/spi_private.[ch]:
2961 (spi_init_any_object): Change second parameter from CORBA_Object to
2963 Omit call to CORBA_Object_duplicate().
2964 Set CORBA_any's _value to CORBA_Object*.
2966 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2972 (AccessibleEvent_ref, AccessibleEvent_unref):
2973 New methods, for persisting an event outside the emission context.
2974 Must be used if the new accessor methods are to be called
2975 outside of the event listener's callback.
2977 * cspi/bonobo/cspi-bonobo.c:
2978 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2979 as second parameter instead of NULL, so we can call
2980 cspi_check_ev afterwards.
2983 (cspi_object_take): New internal method,
2984 converts a CORBA_Object reference to a hard ref on
2985 an Accessible if possible, returning NULL if the object
2986 reference is invalid or an Accessible * otherwise.
2989 (AccessibleEvent_ref):
2990 Increment the event's internal private refcount, and
2991 add the event's internal struct to an internal cache
2992 if it's not already there.
2993 (AccessibleEvent_unref):
2994 Decrement the event's refcount and remove it from
2995 the cspi event cache if refcount==0.
2996 (cspi_event_compare): New private method.
2997 Compares two event structs via their ids. Used
2999 (cspi_internal_event_lookup): New private method.
3000 (cspi_internal_event_check): New private method,
3001 a 0-order sanity check for events to make sure their
3002 private data is intact.
3003 (cspi_internal_event_add, cspi_internal_event_remove):
3004 New private methods for managiing the event cache.
3006 * cspi/bonobo/cspi-bonobo-listener.c:
3008 Initialize the new private data elements (id, magic, ref_count).
3010 * atk-bridge/bridge.c:
3011 (spi_atk_bridge_signal_listener):
3012 Fixed bug #100530, passing wrong params to emission func.
3014 * registryd/deviceeventcontroller.c:
3015 (spi_dec_button_update_and_emit):
3016 Fixed type in mask bit operations; fix for #99799.
3018 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3020 Removed some of the more dangerous workarounds from
3021 previous commit; they are only needed by GOK, which
3022 in reality should be using another method to accomplish
3023 the goals. So on reconsideration some of the workarounds
3024 need to be reverted:
3026 * registryd/deviceeventcontroller.c:
3027 (spi_keycodes_contain, spi_dec_init_keycode_list):
3028 Removed these methods, used only by a nasty hack to try
3029 and detect whether a key synthesis should be allowed
3030 to reset the XKB latch state or not. This code was only
3031 required to work around an interaction between GOK,
3032 button events, and XKB.
3033 (impl_generate_key_event):
3034 Removed hack at end of key generation that tried to
3035 "do the right thing" if XKB latch keys were generated
3036 in the midst of button press/release pairs.
3039 Added a check for HAVE_XINPUT. Not normally used yet.
3041 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3043 Workarounds and fixes for mouse event/XKB interaction.
3045 * registryd/deviceeventcontroller.c:
3046 (spi_keycodes_contain, spi_dec_init_keycode_list):
3047 New internal methods.
3048 (spi_dec_set_unlatch_pending):
3049 Split the method that tells XKB to expect an
3050 unlatch (and revert it) out of the rest of the
3051 event handling code. This method is called by the
3052 two mouse event handlers (the poll and the filter).
3053 (spi_dec_update_and_emit, spi_dec_mouse_check):
3054 New methods split from spi_dec_poll_mouse_moved.
3055 The second one is now called from inside the filterFn
3056 when an XKB delatch event is received, to determine
3057 whether to revert the delatch or not.
3058 (spi_poll_mouse_moved): Refactor; also we can now
3059 properly handle the case where multiple button states
3060 have changed between polling cycles and we didn't get
3061 notified due to another client's grab.
3063 Synchronize the server while handling an XKB notification.
3064 Ugly, but apparently necessary to avoid nasty races.
3065 Check the mouse state on receipt of an XKB latch change,
3066 to decide whether to revert the latch or not. (Latches are
3067 reverted if there is an immediately preceding mouse button
3068 event that a client has consumed, in which case we don't want
3069 the user to see the side-effect of the event).
3070 (spi_device_event_controller_forward_mouse_event):
3071 Check for modifier events and fire before resetting mouse_mask_state,
3072 prevents losing modifier events.
3074 (impl_generate_keyboard_event):
3075 If we've just generated a keyboard event for a non-shift key,
3076 we don't want to revert the pending XKB latch.
3077 Otherwise, check the modifier state (via a call to
3078 spi_dev_mouse_check) and set the relatch mask to
3079 that state before returning.
3081 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3084 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3087 * atk-bridge/bridge.c:
3088 (spi_atk_register_event_listeners):
3089 Don't re-register for ATK events if the registry has died
3090 and the app needs to re-register; the ATK listeners are in
3091 process and doing so will cause duplicate emission.
3093 * registryd/deviceeventcontroller.c:
3094 (spi_poll_mouse_moved):
3095 Reformat the source, detect and emit multiple button-change
3096 events (i.e. if multiple buttons have changed between poll
3098 Add code to detect mouse-down events even when the pointer
3099 is grabbed; workaround for GOK bug 98420.
3100 (spi_controller_register_with_devices):
3101 Call XTestGrabControl with 'impervious' flag set to True,
3102 allows us to synthesize events and query the pointer even during
3103 an active grab by another client.
3104 (spi_device_event_controller_forward_mouse_event):
3105 Set the mouse_mask_state to the mouse_button_state from
3106 the intercepted event, to synchronize the grab listener with
3109 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3111 * cspi/spi_accessible.c:
3112 (AccessibleRole_getName):
3113 Added necessary strings for making this (deprecated)
3114 method work with the new role types.
3115 (init_role_table, role_table):
3116 Added definition of SPI_ROLE_APPLICATION.
3118 * libspi/spi-roletypes.h:
3119 Added SPI_ROLE_APPLICATION.
3121 * idl/Accessibility_Role.idl:
3122 Added ROLE_APPLICATION.
3124 * docs/reference/cspi/at-spi-cspi-decl.txt:
3125 Added SPI_ROLE_APPLICATION to docs.
3127 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3129 * cspi/spi_accessible.c
3130 (cspi_init_role_table): Do not write beyond end of role_table.
3131 (Accessible_getRole): Use correct type for value returned by
3132 Accessibility_Accessible_getRole().
3134 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3135 beyond end of role_table. (This fixes bug #98269)
3137 * libspi/application.c: Add include file spi-private.h for
3138 definition of spi_init_any_nil.
3140 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3144 * libspi/spi-private.h:
3145 Added DGB() macro, and extern int _dbg declaration.
3147 * registryd/registry.c:
3148 (definitions) storage for _dbg.
3149 (spi_registry_init):
3150 Get environment variable "AT_SPI_DEBUG".
3151 (spi_registry_set_debug):
3152 New method, to initialize _dbg value.
3153 (spi_listener_struct_new, spi_registry_object_finalize):
3154 (notify_listeners_cb):
3155 Changed fprintfs to use DBG and g_warning().
3157 * registryd/deviceeventcontroller.c:
3158 (_deregister_keygrab, spi_controller_register_device_listener):
3159 Changed debug/warning messages to use DBG macro.
3161 * libspi/listener.c:
3162 (impl_notify_event):
3163 Changed warning messages to use DBG macro and g_warning().
3165 * atk-bridge/bridge.c:
3166 (atk_bridge_init, spi_atk_bridge_get_registry):
3167 (spi_atk_bridge_exit_func):
3168 (spi_atk_bridge_property_event_listener):
3169 Changed status, warning, and error messages to use
3170 g_warning, g_message, and DBG macros.
3173 Read the state of the AT_SPI_DEBUG environment variable
3174 and set a local '_dbg' accordingly.
3176 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3178 FIXES for 98836, 98842, other bugs.
3181 Revved to 1.1.4, interface-age=4, binary-age=4.
3183 * registryd/deviceeventcontroller.c:
3185 Fixed crasher bug in last_mouse_pos initialization.
3187 * registryd/registry.c:
3188 (desktop_add_application, desktop_remove_application):
3189 Added (and then commented out) some support for
3190 object context marshalling. [TODO]
3192 * atk-bridge/bridge.c:
3193 (spi_atk_bridge_event_context_create):
3194 Commented out object context creation until it can
3195 be properly tested and debugged.
3197 * registryd/registry.c:
3198 (impl_registry_notify_event):
3199 Fixed crasher bug, we were calling
3200 spi_re_entrant_list_foreach () with an empty list.
3202 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3204 * idl/Accessibility_Action.idl:
3205 * idl/Accessibility_Component.idl:
3206 * idl/Accessibility_Desktop.idl:
3207 * idl/Accessibility_Event.idl:
3208 * idl/Accessibility_Hyperlink.idl:
3209 * idl/Accessibility_Image.idl:
3210 * idl/Accessibility_Relation.idl:
3211 * idl/Accessibility_Selection.idl:
3212 * idl/Accessibility_State.idl:
3213 * idl/Accessibility_Value.idl:
3214 Updated unimplemented slot count to minimum of
3215 four for all interfaces, for ABI freeze.
3217 * idl/Accessibility_EditableText.idl:
3218 * idl/Accessibility_Text.idl:
3219 Updated unimplemented slot count to six
3222 * idl/Accessibility_Registry.idl:
3223 Updated unimplemented slot count to six
3224 (also for DeviceEventController),
3227 * idl/Accessibility_Table.idl:
3228 Updated unimplemented slot count to eight,
3231 * idl/Accessibility_Event.idl:
3232 Added CORBA_any "any_data" member to Event struct.
3234 * idl/Accessibility_Event.idl:
3235 Added CORBA_any "any_data" member to Event struct.
3237 * atk-bridge/bridge.c:
3239 atk_signal_text_changed, atk_signal_child_changed,
3240 signal ids queried from gtype system.
3241 (AtkBridgeEventContextType): New enum.
3242 (AtkBridgeEventContextData): New struct.
3243 (AtkBridgeEventContext): New struct.
3244 (atk_bridge_init_event_type_consts):
3245 New method, initializes type contants for comparison
3246 prior to emit_eventv.
3247 (atk_bridge_event_context_init): New method,
3248 initializes a CORBA_any from an AtkBridgeEventContext.
3249 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3250 initialize the event.any_data struct.
3251 (spi_atk_bridge_event_context_create): New method,
3252 creates an AtkBridgeEventContext from signal/event info.
3253 (spi_atk_bridge_event_context_free): New method.
3254 (spi_atk_emit_eventv): Changed to take an
3255 AtkBridgeEventContext parameter. We now initialize
3256 the event.any_data member prior to notifying the
3257 Registry, via the AtkBridgeEventContext.
3258 (spi_atk_bridge_property_event_listener):
3259 (spi_atk_bridge_state_event_listener):
3260 Match emit_eventv signature.
3261 (spi_atk_bridge_object_event_listener):
3262 Match emit_eventv signature, and create an
3263 event context from the event details.
3264 Free the event context afterwards.
3265 (spi_atk_bridge_window_event_listener):
3266 Create an event context, pass it to the
3270 (AccessibleEvent_getContextString):
3271 (AccessibleEvent_getContextObject):
3272 New methods, allow query of AccessibleEvent objects
3273 for more context details (via the "any_data" member
3274 of the Event struct, above).
3277 Definitions for AccessibleEvent_getContextString
3278 and AccessibleEvent_getContextObject.
3280 * cspi/spi_listener.h:
3281 (InternalEvent): New struct.
3284 (AccessibleEvent_getContextString):
3285 (AccessibleEvent_getContextObject):
3286 Implementations of new methods, for obtaining
3287 additional context information from some event types.
3289 * cspi/spi_registry.c:
3290 (SPI_registerGlobalEventListener):
3291 Added mention of active-descendant-changed event in docs.
3293 * cspi/cspi-bonobo-listener.c:
3295 Marshal the any into the AccessibleEvent via
3298 * libspi/spi-private.h:
3299 #include <orbit/orbit.h>
3301 (spi_init_any_string):
3302 (spi_init_any_object):
3303 New convenience function declarations.
3307 (spi_init_any_string):
3308 (spi_init_any_object):
3309 New convenience function implementations.
3311 * registryd/deviceeventcontroller.c:
3312 (spi_poll_dec_mouse_moved):
3313 (spi_device_event_controller_forward_mous_event):
3314 Initialize any_data member of event.
3315 (spi_deregister_controller_device_listener):
3316 Fix incorrect param pass which was preventing deregistration.
3318 * registryd/registry.c:
3319 (desktop_add_application):
3320 (desktop_remove_application):
3321 Add object data to event's any_data before dispatch.
3323 Fix for error messages from GAIL.
3325 * test/event-listener-test.c:
3326 Test new ContextString and "any_data" API:
3327 (report_text_event): New method query and output context string.
3328 (main): register a new text listener with report_text_event
3331 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3333 Fixes for bugs 98127 and 97914.
3334 * cspi/spi-roletypes.h:
3335 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3337 * cspi/spi-statetypes.h:
3338 Added SPI_STATE_MANAGES_DESCENDANTS
3340 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3341 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3342 * cspi/spi_accessible.c:
3343 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3344 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3345 Accessibility_STATE_MANAGES_DESCENDANTS
3346 * libspi/accessible.c:
3347 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3348 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3349 As requested by Bill, I also cleaned up the alignment.
3350 * libspi/relation.c:
3351 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3352 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3353 * libspi/stateset.c:
3354 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3355 Accessibility_STATE_MANAGES_DESCENDANTS
3356 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3357 Document changes reflecting modifications to roles.
3358 * docs/reference/cspi/tmpl/spi_relation.sgml:
3359 Document changes reflecting modifications to relations.
3360 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3361 Document changes reflecting modifications to states.
3363 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3366 Revved to 1.1.3, interface-age=3, binary-age=3.
3367 Added REBUILD macro.
3370 Removed accessx-gui from the tests, since we have a nice
3371 keyboard accessibility capplet now :-)
3373 * test/keysynth-demo.c:
3374 (increment_scan): removed do-nothing default: case,
3377 * test/visual-bell.c:
3378 (main) : removed do-nothing default: case,
3381 * cspi/spi_action.c:
3382 (AccessibleAction_getKeyBinding_):
3383 Documented keybinding string format.
3387 (AccessibleText_getAttributes):
3388 Documented the text attribute string format.
3389 It's changed to use semicolon delimiters also,
3390 to prevent clashes with CSS attributes, but the old
3391 trick of looking for ", " strings will still work
3392 (as unreliably as ever). Fix for bug related to 97916.
3395 Include <cspi/bonobo/cspi-bonobo-listener.h>
3396 Fixes build warning.
3397 (SPI_freeAccessibleKeySet):
3398 (AccessibleKeystrokeListener_addCallback):
3399 (AccessibleKeystrokeListener_removeCallback):
3400 Modify to use AccessibleDeviceListener API internally,
3401 instead of AccessibleKeystrokeListener.
3403 * idl/Accessibility_Event.idl:
3404 Added two more empty slots to EventListener (for a total of four).
3406 * idl/Accessibility_Accessible.idl:
3407 Added four empty slots to Accessible interface.
3409 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3411 * idl/Accessibility_Registry.idl:
3412 (KeyEventType, EventType):
3413 Marked KeyEventType as deprecated; it duplicates
3414 functionality of EventType, which has been extended to
3415 include Mouse-button events.
3416 (KeyEventTypeSeq): defined in terms of EventType.
3417 (registerDeviceEventListener, deregisterDeviceEventListener):
3418 New methods, for managing listeners to device events,
3419 which potentially may consume them.
3422 Added definition for AccessibleDeviceListener.
3424 * cspi/spi-listener.h:
3425 (enum AccessibleDeviceEventType):
3426 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3427 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3428 for backwards compat.
3429 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3430 and typedef'd AccessibleKeystroke to it for back-compat.
3431 (AccessibleDeviceListenerCB):
3432 New function prototype typedef.
3435 (AccessibleDeviceEventMask): New typedef.
3436 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3437 (AccessibleKeyMaskType):
3438 Set equivalent to AccessibleModifierMaskType for back-compat.
3439 (SPI_createAccessibleKeystrokeListener):
3440 (AccessibleKeystrokeListener_unref):
3441 Deprecated in favor of equivalent (better-named) new API below..
3442 keystroke listeners are like all device listeners.
3443 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3444 New API names for old features :-).
3445 (AccessibleDeviceListener_addCallback):
3446 (AccessibleDeviceListener_removeCallback):
3447 (SPI_registerDeviceEventListener):
3448 (SPI_deregisterDeviceEventListener):
3452 (SPI_createAccessibleKeystrokeListener):
3453 Use new preferred API, cspi_device_listener_new() and
3454 cspi_device_listener_add_cb().
3455 (AccessibleKeystrokeListener_removeCallback):
3456 Use new preferred API, cspi_device_listener_remove_cb().
3457 (AccessibleKeystrokeListener_unref):
3458 Use new preferred API, cspi_device_listener_unref().
3459 (SPI_createAccessibleDeviceListener):
3460 (AccessibleDeviceListener_addCallback):
3461 (AccessibleDeviceListener_removeCallback):
3462 Implementation of new API.
3464 * cspi/spi_registry.c:
3465 (SPI_registerDeviceEventListener):
3466 (SPI_deregisterDeviceEventListener):
3467 Implementation of new API. Fixed memory leak and removed need to
3468 allocate EventTypeSeq (thanks Michael for catching this).
3469 Squashed a wayward CORBA_exception_free that shouldn't get called.
3471 * cspi/bonobo/cspi-bonobo-listener.c:
3473 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3474 (cspi_key_event): renamed to cspi_device_event().
3475 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3476 Extended to handle mouse button events as well as key events.
3477 (CSpiKeystrokeListener):
3478 Class superceded by CSpiDeviceListener.
3479 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3480 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3482 * cspi/bonobo/cspi-bonobo-listener.h:
3483 (CSpiKeystrokeListener):
3484 Class superceded by CSpiDeviceListener.
3485 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3486 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3488 * libspi/Makefile.am:
3489 Replaced keystrokelistener.h and keystrokelistener.c
3490 with devicelistener.h and devicelistener.c; keystrokelisener.h
3491 stub retained for back-compat.
3493 * libspi/keystrokelistener.c:
3497 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3499 * registryd/deviceeventcontroller.c:
3500 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3501 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3502 (DEControllerPrivateData): Added xkb settings data.
3503 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3504 button release events (which can't be captured via XGrabButton).
3505 Don't dispatch via the 'normal' event mechanism if the device event was
3507 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3508 Handle the typeseq data in its new location (see above).
3509 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3510 New methods, for "generic" device listeners.
3511 (spi_controller_register_device_listener):
3512 Now handle mouse event listeners as well as key listeners.
3513 (spi_controller_notify_mouselisteners):
3514 New internal method.
3515 (spi_device_event_controller_forward_mouse_event):
3516 Now we notify mouse device listeners as well as generating the
3517 non-consumable "mouse:" events.
3519 We must check and restore the XKB
3520 modifier map if we consume the event, since the act of triggering
3521 a mouse event will normally reset the XKB latch. This is required for
3523 (spi_controller_register_with_devices):
3524 Load the XKB settings when registering, and register for XKB
3525 state notify events.
3526 (spi_key_eventtype_seq_contains_event):
3527 Renamed spi_eventtype_seq_contains_event, since it's used
3528 internally for all device event types now.
3529 (spi_key_event_matches_listener):
3530 Uses spi_eventtype_seq_contains_event now.
3531 (spi_device_event_controller_object_finalize):
3532 Free the private data and the XkbKeyboard struct.
3533 (impl_register_device_listener, impl_deregister_device_listener):
3534 Implementation of new IDL.
3535 (spi_deregister_controller_device_listener):
3536 New internal method.
3537 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3538 More efficient implementation, we don't have to create a new
3539 XkbControls structure every time we query.
3540 (spi_device_event_controller_class_init):
3541 Initialize the epv entries for the new IDL. Assign the
3542 "spi-dec-private" quark.
3543 (spi_device_event_controller_init):
3544 Initialize the private data.
3545 (spi_device_event_controller_forward_key_event):
3546 Removed a bogus CORBA_exception_free() call.
3548 * registryd/deviceeventcontroller.h:
3549 Replaced inclusion of keystrokelistener.h with
3552 * test/event-listener-test.c:
3553 (report_mouse_event):
3556 Added mouse-event device listener.
3558 * test/test-simple.c:
3559 (create_test_window):
3560 Fixed regression (we were instantiating a GtkRange,
3561 which is now an abstract class). Also fixed to match
3562 existing AtkRole names, this seems to have changed in ATK
3563 awhile ago; too late now I think, and the new
3564 mechanism is at least elegant and consistent with the
3565 glib enum "nick" APIs.
3567 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3569 * idl/Accessibility_Relation.idl:
3570 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3571 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3572 * idl/Accessibility_Role.idl:
3573 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3574 * idl/Accessibility_State.idl:
3575 add STATE_MANAGES_DESCENDANTS
3576 * test/event-listener-test.c:
3577 Added a listener for active-descendant events.
3579 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3581 * atk-bridge/bridge.c
3582 (atk_bridge_init): If application is Bonobo component wait until top
3583 level is added before registering
3584 (spi_atk_bridge_do_registration): New function which contains code,
3585 formerly in atk_bridge_init, to do application registration.
3586 (spi_atk_bridge_toplevel_added): Signal called when top level
3587 added to Bonobo component
3589 This fixes bug #83134.
3591 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3593 * registryd/deviceeventcontroller.c
3594 Fixed compilation error caused by calling gettimeofday()
3597 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3602 Added template for HAVE_XKB.
3605 Changes to check for XKB, and to set the HAVE_XKB #define if it
3608 * libspi/listener.c:
3609 ()impl_notify_event): Make failure to get event source name
3612 * registryd/deviceeventcontroller.c:
3613 (#include): include X11/XKBlib.h.
3614 (DEControllerPrivateData) : New struct.
3615 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3617 (dec_synth_keycode_press) (dec_synth_keycode_release):
3618 New methods; split the key synthesis code into these methods.
3619 They check XKB settings before determining the "time" values to
3620 pass to Xtest; this fixes bug #95828.
3621 (impl_generate_keyboard_event): Changed to use methods above,
3622 instead of callng Xtest directly.
3623 (spi_device_event_controller_init): Initialize new privae struct s
3625 (spi_device_event_controllr_object_finalize):
3626 Free the (new) private data.
3628 * registryd/deviceeventcontroller.h:
3629 Add new gpointer to end of struct data.
3631 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3634 Incremented revision to 1.1.2, SONAME is still '.so', library
3635 extensions are ".so.0.0.2".
3637 * registryd/deviceeventcontroller.c:
3638 FIXES FOR #93592 and #95940.
3639 (statics): renamed mouse_button_state to mouse_mask_state,
3640 added key_modifier_mask.
3641 (spi_dec_poll_mouse_moved):
3642 Added key modifier checks, and emit "keyboard:modifiers"
3643 events when the key modifiers currently in use change.
3644 Also generate "mouse:abs" events periodically, even if the mouse
3645 is stationary (should we?).
3646 Alternatively we could generate "mouse:abs" events for either all
3647 mouse movements, or every 'nth' mouse movement, or at the
3648 beginning and end of every "active" mouse period.
3650 * test/event-listener-test.c:
3651 (main): Added listener for "keyboard:modifiers" events.
3653 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3655 * libspi/keymasks.h:
3656 Added key mask #defines for mouse buttons; e.g.
3657 SPI_KEYMASK_BUTTON1, etc.
3660 Incremented dependency on ATK to version 1.1.0. (This dependency
3661 is probably premature but will soon be real enough).
3663 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3665 * libspi/hyperlink.[ch]
3666 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3667 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3670 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3675 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3677 * registryd/deviceeventcontroller.c
3678 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3679 events to be ignored.
3680 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3681 keyboard_mode so that XAllowEvents() can be called.
3685 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3687 * cspi/spi-accessible.c: Correct names of roles returned by
3688 AccessibleRole_getName(). Fixes bug #95055.
3690 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3692 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3695 * registryd/registry.c
3696 (desktop_remove_application: Write diagnostic message to stderr for
3699 (impl_accessibility_registry_deregister_global_event_listener):
3700 Correct size of lists array. This addresses bug #94555).
3702 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3704 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3707 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3709 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3712 * registryd/registry.c (impl_registry_notify_event): Remove
3713 unnecessary call to parser_event_type().
3715 * docs/reference/cspi/tmpl/spi_component.sgml:
3716 Add reference to SPI_LAYER_WINDOW.
3718 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3720 * registryd/registry.c
3721 (desktop_add_application): Remove leak.
3722 (desktop_remove_application): Remove leak.
3723 (parser_event_type): Remove leak.
3725 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3727 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3728 bogus call to CORBA_string_dup(). Also removed unnecessary
3729 g_string_dup/g_free calls.
3731 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3733 * registryd/deviceeventcontroller.c:
3734 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3736 * test/event-listener-test.c:
3737 main: commented out three redundant listeners, to reduce output
3738 noise. (They still are potentially useful for testing).
3741 2002-09-13 Michael Meeks <michael@ximian.com>
3743 * Update all the copyrights to include Ximian.
3745 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3747 * cspi/spi.h: add SPI_LAYER_WINDOW.
3749 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3750 add Accessibility_LAYER_WINDOW case.
3752 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3754 * libspi/component.c: (impl_accessibility_component_get_layer):
3755 add ATK_LAYER_WINDOW case.
3757 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3759 * configure.in: incremented micro version.
3761 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3763 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3766 Clarified and reworded our commit policy.
3769 Started an API "todo" addition list for 2.2.
3772 (impl_getSelection):
3773 Free char pointer from atk_text_get_selection, which was being leaked.
3775 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3778 Small revision to author acknowledgement.
3780 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3782 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3783 If signal has detail add it to the type of the event.
3786 2002-08-12 Michael Meeks <michael@ximian.com>
3788 * test/test-simple.c (global_listener_cb): bin bogosity.
3789 (test_keylisteners): disable, still doesn't work reliably,
3790 certainly not on my system anyway.
3792 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3793 don't leak a reference on the DEC. This round-trip
3794 fetching of the DEC per keystroke sucks, it should be
3797 * cspi/spi-private.h,
3798 * cspi/cspi-lowlevel.h,
3799 * cspi/bonobo/cspi-bonobo-listener.[ch],
3800 * cspi/bonobo/cspi-bonobo.c: get the copyright
3801 notices better - there is still a large amount of
3802 work in at-spi falsely attributed solely to Sun.
3804 * cspi/spi_main.c (cspi_object_ref): kill bogus
3805 hash lookup, just increment the ref.
3806 (SPI_freeString): make explicit the fact that we
3807 handle NULL strings just fine.
3808 (report_leaked_ref): obey coding standards.
3809 (cspi_object_hash, cspi_object_equal): kill retval.
3810 (cspi_object_release): only release if not on loan.
3811 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3812 (cspi_object_borrow, cspi_object_return): impl.
3814 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3815 use cspi_object_borrow / return.
3817 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3819 * cspi/bonobo/cspi-bonobo-listener.c:
3821 Don't call cspi_oject_new() because this is creating a new Accessible
3822 every single time that an event is fired. This causes ATs like at-poke
3823 to nolonger recognise the source of the event and thus ignore it.
3824 Re-use the object from the cache, ref it and then unref it after the
3825 listeners have been called.
3827 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3829 * test/event-listener-test.c:
3830 Added command-line options to disable mouse events (m) and
3833 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3835 * configure.in: Update required versions of ATK, GTK+ and GAIL
3837 * cspi-1.0.pc.in: Add dependency for X include files
3840 * cspi/bonobo/Makefile.am:
3841 Add $(X_CFLAGS) so that X include files
3842 are picked up even if not in standard place (bug #71686)
3844 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3846 * registryd/deviceeventcontroller.c: fix for 84261
3847 (spi_dec_mouse_moved):
3848 Added test of mouse button mask, so that we can detect mouse
3849 button release. Unfortunately we can't otherwise detect mouse
3850 button release events without consuming the mouse press event,
3851 because of the way XGrabButton works. This means that our mouse
3852 release events have a latency dependent on the polling period
3853 while the mouse button is down. At least in this case we only
3854 have to poll while the button is down, and not at other times.
3855 If the button masks don't match with what the last press event
3856 reported, we report the appropriate button release event.
3857 (spi_dec_ungrab_mouse):
3858 New method (not yet called).
3859 (spi_device_event_controller_forward_mouse_event):
3860 New method, sends mouse press event from GdkFilter.
3861 (spi_dec_init_mouse_listener):
3862 Added code to call XGrabButton, redirecting mouse button events to
3863 the root window and our Gdk event loop.
3865 Added code to filter mouse button events, and reordered.
3867 * test/event-listener-test.c:
3869 Added registration for mouse events of type "mouse:button".
3871 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3873 * registryd/deviceeventcontroller.c: partial fix for 84261
3874 (spi_dec_poll_mouse_idle):
3875 New method, a timeout which checks to see if the mouse
3877 (spi_dec_poll_mouse_moving):
3878 A timeout to be called when mouse motion is underway.
3879 (spi_dec_poll_mouse_moved):
3880 A method which fires an event if the mouse has moved, and reports
3881 whether or not it did so.
3882 (spi_dec_init_mouse_listener):
3883 A method which sets up the timeouts above.
3884 (spi_device_event_controller_new):
3885 Now calls spi_dec_init_mouse_listener.
3887 * registryd/registry.c:
3888 (spi_registry_init):
3889 Now we initialize the device event controller when the registry is
3890 initialized, instead of waiting until a client has requested a key
3891 event notification; this is because we need the event controller
3892 for mouse events, but the mouse event registration API is a
3893 "registry" call and doesn't explicitly call the
3894 deviceeventcontroller.
3895 We now report mouse motion events with a 100 ms idle latency and
3896 a 20 ms granularity when motion is in progress.
3898 * test/event-listener-test.c:
3900 We now register the "detail listener" for events of type
3901 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3902 delivered only for the first mouse event received, and thereafter
3903 "mouse:abs" events are delivered.)
3905 * cspi/spi_registry.c:
3906 DOCS: Documented the above mouse event typestrings.
3908 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3910 Happy Summer Solstice...
3912 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3913 (spi_controller_notify_keylisteners):
3914 Changes to remove a listener from the listener list, freeing its
3915 open keygrabs, if a notification to that listener fails. This
3916 means that although a dead listener can continue to hold a passive
3917 keygrab, a maximum of one dispatch to such a listener can fail
3918 before the listener is removed from the list, thus the keygrab
3919 will be released on the next occurrence.
3920 As part of this fix:
3921 (spi_notify_keylisteners):
3922 Renamed to spi_controller_notify_keylisteners, as the controller
3923 instance must now be passed as an argument.
3924 The copied 'notify' GList is now a list of DEControllerKeyListener
3925 objects, since we need more than just the CORBA reference if a
3926 notify fails and we need to deregister the listener.
3927 (impl_notify_listeners_sync):
3928 (impl_notify_listeners_async):
3929 (spi_device_event_controller_forward_key_event):
3930 Modify use of notify_keylisteners in accordance with above
3932 (spi_deregister_controller_key_listener):
3933 New method introduced by refactoring, from
3934 impl_deregister_keystroke_listener.
3935 (impl_deregister_keystroke_listener):
3936 Call spi_deregister_controller_key_listener.
3937 (spi_key_listener_clone):
3938 New method to copy a key listner without doing a 'ref' on the
3939 remote object instance; used to create a notifier list.
3940 (spi_key_listener_data_free):
3941 New method, frees data without unreffing the source.
3943 (spi_key_listener_clone_free): new method.
3944 (spi_key_listener_free):
3945 refactored to call spi_key_listener_data_free.
3947 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3949 * registryd/registry.c: [fix for bug 86048]
3950 (notify_listeners_cb):
3951 Clear CORBA system exceptions which occur when notifying
3952 listeners, before returning to the source of the original event,
3953 since the event source doesn't care if the relayed notify failed.
3954 In other words, don't complain to the atk-bridge if the registry
3955 could not notify all its listeners, that's no fault of the
3956 application and thus should not appear to be an error from the
3957 application's perspective.
3959 * cspi/spi_main.c: [fix for bug 85980]
3961 Replaced use of bonobo_object_dup_ref with call to the wrapper
3962 method, csou_dup_ref (); this silences a compiler warning and
3963 provided more portability.
3965 Ping the registry before return, and restart if necessary.
3967 * cspi/bonobo/cspi-bonobo.c:
3969 New internal method.
3971 Fixed this method to return an object reference, as it should have
3974 * cspi/cspi-lowlevel.h:
3975 Added internal definition for cspi_ping() and fixed
3976 return type of cspi_dup_ref().
3979 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3981 * atk-bridge/bridge.c: [fix for bug 85305]
3982 (spi_atk_bridge_register_application):
3983 New method where the initial application registry calls have been
3984 moved; it allows an application to re-register in response to
3985 certain error conditions (such as a registry restart, see below).
3987 Moved some initialization code to the method
3988 spi_atk_bridge_get_registry, below.
3989 (spi_atk_bridge_get_registry):
3990 New, private accessor function for the Accessibility_Registry
3991 instance. If the registry has not been started before, or has
3992 died (as detected by failure of a CORBA exception), it is
3993 restarted before return, and spi_atk_bridge_register_application
3994 is called again to register with the new bridge instance.
3995 (spi_atk_emit_eventv):
3996 Set registry_died on error; use spi_atk_bridge_get_registry () to
3997 access the registry.
3999 * registryd/registry.c:
4000 (impl_accessibility_registry_register_global_event_listener):
4001 Set listener's event_type_quark to etype.minor instead of
4002 etype.major (fix for bug 84856).
4004 * test/event-listener-test.c:
4005 (report_detail_event):
4006 Change the output string so that user/tester can tell that the
4007 'detail listener' was called instead of the 'generic listener'.
4009 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4011 Fixes for bugs 84900, 84908, 84897, 84898.
4016 Revved version to 1.1.0
4017 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4018 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4020 * idl/Accessibility_Registry.idl:
4021 (EventListener::notifyEvent):
4022 Removed 'oneway' directive after extensive consulation with
4023 ORBit2 team and others. This means also that unref() of the event
4024 source can and should be done synchronously after emission, rather
4025 than remotely in the client, after servicing the notify call on
4028 NOTE: This change speeds up listener performance considerably, but
4029 introduces new latency on the application side. We may want to
4030 add an event queue to the atk-bridge.
4032 * atk-bridge/bridge.c:
4033 (spi_atk_bridge_focus_tracker):
4034 Do a local unref() on the event source after emission.
4036 * registryd/registry.c:
4037 (desktop_remove_application):
4038 Do an unref() on the event source after emission.
4039 (desktop_add_application):
4040 Do an unref() on the event source after emission.
4041 (notify_listeners_cb):
4042 When relaying an event, don't automatically add the event source
4043 to the local object cache, just CORBA_dup it instead. Likewise,
4044 if this method reenters, release the ref rather than calling
4046 (impl_registry_notify_event):
4047 No longer call remote unref() on the event source after dispatch.
4049 * libspi/eventlistener.c:
4050 (impl_accessible_event_notify_event):
4051 Removed remote unref ()
4053 * cspi/bonobo/cspi-bonobo-listener.c:
4055 We now call cspi_object_new() instead of cspi_object_add() on
4056 receipt of an event; thus we only have an implicit object ref
4057 while the cspi_event method is being executed. If we need to keep
4058 a reference to the object, the listener must call ref() on the
4059 object. Thus also we don't need to call cspi_object_unref() after
4060 invoking the listener callbacks in this method.
4064 New internal API for creating a new cspi object, without adding it
4065 to the object cache.
4067 Now uses cspi_object_new() to create the cspi object instance.
4069 Now checks to see if the object is in the internal object cache,
4070 and adds it if necessary before incrementing its refcount (note
4071 that new objects are added with a refcount of 1).
4072 (report_leaked_ref):
4073 New method which gives some information on leaked object instances
4074 if leak detection is turned on.
4076 * test/event-listener-test.c:
4077 (timing_test_event):
4078 New method, used for testing event delivery timing for special
4079 events of type "object:test". It reports elapsed time and
4080 events/sec every 500 events.
4082 Added a new listener, 'test listener', to check timing of event
4083 receipt as noted above.
4085 Added some timing output here also, reports elapsed time every 100
4088 * test/stress-test.c:
4089 Emit events of type "object:test", for use with "event-listener-test".
4091 * test/test-simple.c:
4092 (global_listener_cb):
4093 Call Accessible_ref() on the event source before calling
4094 validate_accessible, since the validation process does pointer
4095 comparisons on the event source, meaning that the event source
4096 needs to be added to the local object cache first. Any use of
4097 such pointer comparisons between Accessible objects requires that
4098 the caller hold an explicit reference to those objects.
4099 We also must therefore call Accessible_unref() when leaving this method.
4101 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4103 * registryd/deviceeventcontroller.c:
4104 (spi_controller_update_key_grabs):
4105 Fix for #84735, subsequent keygrab listeners not informed of
4106 registration failure.
4109 (spi_base_construct):
4110 Add an assertion on construct, to make sure the GObject passed in
4111 is really a GObject.
4113 Explicitly initialize object->gobj pointer to NULL;
4115 * cspi/bonobo/cspi-bonobo-listener.c:
4116 (cspi_object_add_ref):
4117 New method, can specify whether to dup-ref a bonobo object passed
4118 in if it's newly added to the object cache.
4120 Now calls cspi_object_add_ref with second param of "FALSE". This
4121 prevents us from doing a pointless dup-ref followed by
4122 release-unref for all those cases where the object is already in
4123 our object cache (fix for #85205).
4125 * atk-bridge/bridge.c:
4126 (spi_atk_bridge_idle_init):
4127 Removed this method, we don't need to initialize in an idle
4130 Changed to call spi_atk_register_event_listeners directly, not via an
4131 idle handler. (fix for #81139)
4132 (gnome_accessibility_module_shutdown):
4133 Removed conditional around deregistration of listeners, since we
4134 don't use the idle handler and thus have always registered when
4136 (spi_init_keystroke_from_atk_key_event):
4137 Changed references to Accessibility_KEY_PRESSED to
4138 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4140 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4142 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4147 * test/stress-test.c:
4150 (may have been an incomplete commit yesterday?)
4152 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4155 Added target for new stress-test.
4157 * test/stress-test.c:
4158 New test, sends 1000 focus notifies in quick succession.
4160 * test/key-listener-test.c:
4161 Now we report whether a keylistener registration
4162 request succeeded or failed.
4164 * test/event-listener-test.c:
4165 Uncommented some listeners which are now implemented.
4168 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4170 * registryd/deviceeventcontroller.c:
4171 (spi_controller_update_key_grabs):
4172 Fix for #82509, lack of failure notification when
4173 ALL_WINDOWS keygrabs fail due to XGrabKey
4174 failure: we synchronize the server when
4175 registering a passive grab, to make sure we get the
4176 error message before the call returns.
4178 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4180 * test/test-simple.c:
4182 Removed #ifdef KEY_IMPL_WORKS guards.
4183 (test_keylisteners):
4184 Removed #ifdef KEY_IMPL_WORKS guards.
4185 Fixed bug which was causing a hang waiting for a
4186 "press" event (which was already overwritten by a "release"
4187 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4189 Added code to set globals 'key_press_received' and
4190 'key_release_received'.
4193 Added section "1.1 API Proposed Additions" which
4194 lists API additions desired for at-spi-1.1 (only one so far).
4195 Updated TODO list a little.
4197 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4199 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4202 * configure.in: Revved to 1.0.0.
4204 * idl/Accessibility_Registry.idl:
4205 (registerKeystrokeListener):
4206 Added boolean return value.
4208 * registryd/registry.c:
4209 (notify_listeners_cb): Minor fix to debug output.
4211 * registryd/Accessibility_Registry.server.in.in:
4212 Revved version number in OAFIID to 1.0.
4214 * registryd/registryd.c:
4216 Use new OAFIID version.
4218 * cspi/bonobo/cspi-bonobo.c:
4220 Use new OAFIID version.
4226 * atk-bridge/bridge.c:
4228 Use new OAFIID version.
4230 * registryd/deviceeventcontroller.c:
4231 (impl_register_keystroke_listener):
4232 Added CORBA_boolean return value.
4233 (spi_controller_register_device_listener):
4234 Added gboolean return value.
4235 (spi_controller_register_global_keygrabs):
4236 Added gboolean return value.
4237 (spi_key_set_contains_key):
4238 Added implementation for many more control keys,
4239 for instance F1-F12, arrow keys, End, Home, Page_Up,
4241 [TODO: some still not implemented].
4243 * text/screen-review-test.c:
4244 (text_chunk_pad_string):
4245 New function: it provides mapping between coordinate
4246 positions of text chunks and character positions in the
4247 screen-review-line output string.
4248 (text_chunk_to_string):
4249 New function, calls text_chunk_pad_string with various
4250 pad/delimiter characters. Pushbuttons are delimited with
4251 square brackets, Frames with vertical 'pipe' lines, and
4252 other text with double quotes.
4253 (text_chunk_list_to_string):
4254 Calls new function text_chunk_to_string.
4255 (toplevel_composite):
4256 New function to composite layers CANVAS through
4257 POPUP in each toplevel (other layers are composited
4258 across toplevels, i.e. BACKGROUND and OVERLAY).
4259 (review_buffer_composite):
4260 Revise to use new methods.
4266 2002-05-31 Laszlo Peter <laca@sun.com>
4268 * configure.in: add the Xtst libdir to the runpath on Solaris,
4269 since it's not in the default library search path.
4271 2002-05-29 jacob berkman <jacob@ximian.com>
4273 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4275 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4277 * test/screen-review-test.c:
4278 (text_chunk_pad_string):
4279 Added method, which pads the string according to the
4280 text bounds of the chunk. It also takes a 3-character
4281 string as a param which indicates the characters to be
4282 used for start, padding, and end delimitation of the chunk.
4283 (text_chunk_to_string):
4284 Changed to use text_chunk_pad_string.
4286 * configure.in: Fixed bug in AC_OUTPUT that was
4287 causing path substitution in Accessibility_Registry.server
4290 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4292 * text/screen-review-test.c:
4293 (guess_string_clip):
4294 New method which attempts a best-guess at clipping
4295 text from components (like Java labels) which don't
4296 actually implement AccessibleText. This inaccurate
4297 clip is based on the assumption that the label is
4298 justified left-and-right, and monospaced.
4299 (text_chunk_get_clipped_string):
4300 We now call guess_string_clip() for text-containing
4301 components that don't implement AccessibleText.
4303 * test/screen-review-test.c:
4304 (review_buffer_get_text_chunk):
4305 We now pull "name" from labels if they do not implement
4306 AccessibleText (i.e. for Java labels).
4307 (get_screen_review_line_at):
4308 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4311 Replaceded AC_OUTPUT target
4312 registryd/Accessibility_Registry.server with
4313 registryd/Accessibility_Registry.server.in.
4315 * registryd/Accessibility_Registry.server.in:
4316 Removed (this is now a Makefile target).
4318 * registryd/Accessibility_Registry.server.in.in:
4319 Added (source for target above). We now use $(libexecdir) as
4320 prefix for the executable at-spi-registryd.
4322 * registry/Makefile.am:
4323 Now install at-spi-registryd into $(libexecdir), and build .server
4324 file with path (see above).
4326 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4328 * test/screen-review-test.c:
4329 (text_chunk_get_clipped_string):
4330 We now check to see if words fall within clip bounds
4331 before resorting to character-by-character clip bounds testing.
4333 * TODO: Added a section for "2.2 Proposed API Additions".
4335 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4337 * test/screen-review-test.c:
4339 Added a screen review benchmarking and test program to test
4342 * cspi/spi_accessible.c:
4344 Made some of the debug strings passed to cspi_check_ev a
4345 little more specific.
4347 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4349 * test/screen-review-test.c: Fix crashes in debug statements
4351 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4353 * test/screen-review-test.c: Added this file.
4355 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4357 * atk-bridge/bridge.c: changed "object:state-change" to
4358 "object:state-changed" to match docs.
4360 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4362 * atk-bridge/bridge.c: Hooked up state-change event details.
4364 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4366 * registryd/registry.c:
4367 Fixed quarking bug in event string parsing; now events with
4368 detail parameters get matched correctly to listeners.
4371 * util/idl/Magnifier.idl: remove.
4373 * util/*.[ch]: Remove.
4374 Magnification utilities and IDL are now in module gnome-mag.
4376 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4378 * registryd/deviceeventcontroller.c:
4379 Fixed bug in grab key conversion which was causing keycode grabs
4380 to be converted to AnyKey grabs.
4383 updated NEWS file to reflect recent spin-off of gnome-mag.
4385 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4387 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4388 busted AccessibleStateSet_compare. Removed redundant casts.
4390 * cspi/spi-action.c: Removed redundant casts.
4392 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4394 * cspi/spi_component.c: Fixed typos and casting error.
4396 * cspi/spi_editabletext.c: Removed redundant casts.
4398 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4400 * cspi/spi_hypertext.c: Eliminated redundant casts.
4402 * cspi/spi_image.c: Eliminated redundant casts.
4404 * cspi/spi_registry.c: Eliminated redundant casts.
4405 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4406 * cspi/spi_selection.c: Removed redundant casts.
4407 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4408 handling. Screen geometry and text offsets were being returned as 0
4409 on error which is technically valid-- changed these to return -1.
4410 Added marshaller for text boundary types to fix bug with boundary
4411 types being passed incorrectly to atk.
4413 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4416 * cspi/spi_registry.c:
4417 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4418 which was uncovered by the recent key changes.
4420 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4422 * test/event-listener-test.c:
4424 Added new test, "event-listener-test";
4425 this code does two things; it benchmarks traversal time
4426 for the accessible hierarchy for the first running accessible
4427 app, and it connects listeners for all supported event types.
4428 It is thus useful as an example event listener and for
4429 diagnostics/debugging of event generation.
4431 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4434 Removed unnecessary dependency on libutil.
4437 Revved micro version: 0.13.1
4439 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4442 Removed util/Makefile from targets.
4445 Removed util subdir from SUBDIRS (temporarily,
4446 pending removal of magnifier-only code
4450 #ifdef-ed out magnifier dependencies, since
4451 magnifier IDL, headers, and binary now live in
4452 module gnome-mag and we don't want at-spi to depend
4453 on gnome-mag. A magnifier demo which can run alongside
4454 simple-at is forthcoming in the gnome-mag module.
4456 NOTE: Split magnifier binary, IDL, and magnification
4457 activation code from at-spi into module gnome-mag.
4459 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4461 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4462 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4464 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4467 Revved to version 0.13.0
4469 * idl/Accessibility_Registry.idl:
4470 Changed definition of KeySet from sequence of longs to sequence of
4471 KeyDefinitions, and added KeyDefinition struct.
4472 Required for fix to bug 80616.
4474 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4475 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4476 to use new definition (see above).
4478 * registryd/deviceeventcontroller.c: handle_keygrab(),
4479 spi_keyset_contains_key():
4480 Changed to make use of new struct; this allows matching based on
4481 string key-name, for instance "Tab". This also allows matching of
4482 composed characters, non-alphanumeric characters in a way that
4483 doesn't involve dependencies on X keysym codes directly, etc.
4485 * test/key-listener-test.c:
4486 Added test for Alt-Tab key using "string" specification of keyset,
4487 and modified one of the tests to use a keycode-based keyset.
4488 Thus this test both tests and demonstrates the creation and use of
4489 keysets of three forms: specified via keycode array,
4490 keysym array, and string array. (The string case only contains a
4491 single string, i.e. a string array of length 1).
4494 Turned on PRINT_TREE option by default. Also fixed a
4495 string-freeing bug in the PRINT_TREE code.
4496 Added a listener to window:minimize events.
4498 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4500 * atk-bridge/bridge.c:
4501 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4502 for window:activate and window:deactiveate
4503 (atk_bridge_property_event_listener atk_bridge_signal_listener
4504 atk_bridge_window_event_listener) Tidy debug code
4506 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4508 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4509 Fixed handling for NULL return value from ATK.
4511 * libspi/action.c libspi/component.c libspi/editabletext.
4512 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4513 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4514 Removed redundant casts.
4516 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4517 Fixed off by one bug.
4519 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4520 function not present in idl)
4522 2002-05-02 jacob berkman <jacob@ximian.com>
4524 * atk-bridge/Makefile.am: make atk-bridge a real module
4526 2002-04-26 Radek Doulik <rodo@ximian.com>
4528 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4529 atk_state_types table
4531 2002-04-22 jacob berkman <jacob@ximian.com>
4534 * libspi/Makefile.am: add deps on the built files to help
4535 automake, and don't version the ORBit typelib
4537 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4539 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4540 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4541 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4542 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4543 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4544 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4545 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4546 libspi/accessible.h libspi/accessible.h libspi/base.h
4547 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4548 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4549 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4550 libspi/spi-private.h libspi/statetset.h libspi/table.h
4551 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4552 util/mag_client.h util/mag_control.c util/mag_image.c
4553 util/mag_image.h util/magnifier.c util/magnifier.h:
4554 Add missing file headers; standardize existing ones
4556 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4558 * atk-bridge/bridge.c: Added window event support.
4560 2002-04-18 Michael Meeks <michael@ximian.com>
4562 * libspi/relation.c (impl_getNTargets): impl.
4563 (impl_getTarget): impl.
4565 * libspi/Makefile.am: fix stateset install.
4567 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4570 Started putting useful info in this file.
4572 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4574 * atk-bridge/bridge.c:
4575 Propagate state-changed notifications to ATs
4577 * cspi/spi_registry.c: update docs to reflect actual behavior of
4578 state-change events.
4580 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4583 Incremented version to 0.12.1
4585 * util/mag_client.h:
4586 Add missing declaration for magnifier_exit,
4587 used by mag_control.c - Forte compiler didn't like
4588 the implicit redeclaration of the function :-(
4591 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4594 Revved version to 0.12 due to API change (see below).
4596 * cspi/spi-roletypes.h:
4597 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4598 definition from the inline docs, and added docs
4599 for SPI_ROLE_LAST_DEFINED.
4602 * cspi/spi_streamablecontent.c:
4603 Added missing seek_type parameter to
4604 (so far unused) method,
4605 AccessibleStreamableContent_seek().
4606 [ RT approval JodyG. ]
4609 Fixed docs for SPI_createAccessibleKeystrokeListener.
4611 * cspi/spi_registry.c:
4612 Fixed docs for SPI_KEYSET_ALL_KEYS.
4614 * docs/reference/cspi/at-spi-cspi-sections.txt:
4615 Added a number of missing APIs to SECTIONS.
4617 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4619 * registryd/Makefile.am:
4621 * cspi/bonobo/Makefile.am:
4622 Add $(X_LIBS) to makefiles.
4624 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4627 Revved version to 0.11.
4629 * libspi/component.c:
4630 Added implementation for grabFocus.
4632 * idl/Accessibility_Component.idl
4633 (Accessibility_Component_grabFocus):
4634 Made this method return boolean to indicate success or failure, to
4635 be consistent with cspi and the corresponding ATK method.
4637 * idl/Accessibility_Selection.idl
4638 (Accessibility_Selection_selectAll) :
4639 Made these methods return boolean to indicate success or
4640 failure, to be consistent with cspi and the corresponding ATK methods.
4642 * idl/Accessibility_EditableText.idl
4643 (Accessibility_EditableText_setTextContents,
4644 Accessibility_EditableText_insertText,
4645 Accessibility_EditableText_cutText,
4646 Accessibility_EditableText_deleteText,
4647 Accessibility_EditableText_pasteText):
4648 Made these methods return boolean to indicate
4651 * cspi/spi_editabletext.c:
4652 Made these methods return booleans.
4654 * libspi/selection.c:
4655 * libspi/component.c:
4656 * libspi/editabletext.c:
4657 Connected the boolean returns from ATK
4658 to the server-side code referenced above.
4660 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4662 * idl/Accessibility_Table.idl: Added missing methods,
4663 Accessibility_Table_addRowSelection,
4664 Accessibility_Table_addColumnSelection,
4665 Accessibility_Table_removeRowSelection,
4666 Accessibility_Table_removeColumnSelection.
4669 Added C wrappers for above IDL:
4670 AccessibleTable_addRowSelection,
4671 AccessibleTable_addColumnSelection,
4672 AccessibleTable_removeRowSelection,
4673 AccessibleTable_removeColumnSelection.
4676 Added server-side implementation code for IDL above, connecting
4677 to pre-existing ATK api.
4679 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4681 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4683 * libspi/accessible.c: Added implementation fo
4684 Accessibility_Accessible_get_state.
4686 * libspi/libspi.h: Added stateset.h to the list of includes.
4688 * libspi/stateset.c: Fixed broken implementation.
4690 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4693 Added implementation code for Accessibility_Magnifier_exit ().
4695 * util/mag_control.c:
4696 Added test code for above method; you can
4697 now kill an existing magnifier via
4698 ./mag_control q, from the util directory.
4700 * test/key-listener-test.c:
4702 Added a new test, for our key listener API.
4704 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4706 * test/app.c, test/keysynth-demo.c:
4708 Replace use of snprintf with g_snprintf.
4709 (fix for bugzilla 78249)
4711 2002-03-27 Michael Meeks <michael@ximian.com>
4715 * util/Makefile.am (INCLUDES): fix.
4716 (DONT_DIST_SOURCE): don't distribute the
4719 * libspi/Makefile.am (dist-hook): ditto.
4721 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4723 * libspi/hypertext.c:
4724 Fix warnings when yelp is used with atk-bridge
4726 2002-03-21 Michael Meeks <michael@ximian.com>
4728 * libspi/application.c (spi_application_new):
4729 use spi_accessible_construct so we use the AtkObject
4732 2002-03-19 Michael Meeks <michael@ximian.com>
4734 * registryd/registry.c (desktop_remove_application),
4735 (desktop_add_application): clean coding style.
4737 * registryd/desktop.c (spi_desktop_remove_application),
4738 (spi_desktop_add_application): kill re-enterency hazards.
4739 (spi_desktop_dispose): remove bogus redundant cast
4740 obscuring bug; fix bug too.
4741 (spi_desktop_init): make the desktop object immortal.
4743 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4746 Added a #define-guarded tree-traversal step
4747 when enumerating the apps (diagnostic tool).
4749 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4751 * idl/Accessibility_Role.idl:
4752 Added ROLE_DRAWING_AREA which seemed to be missing from the
4755 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4757 * cspi/spi-roletypes.h cspi/spi_accessible.c
4758 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4761 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4762 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4763 AT when applications are added and removed from the desktop. This
4764 reverts the previous broken implementation using the backing
4765 AtkObject for the SpiDesktop.
4767 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4769 * registryd/desktop.c: emit the "children-changed::add" and
4770 "children-changed::remove" signals on the backing ATK object for
4771 the desktop so AT can tell when applications are started and shut
4774 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4776 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4778 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4780 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4782 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4784 * cspi/state-types.h: synched with IDL and ATK
4786 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4788 * libspi/accessible.c
4789 (impl_accessibility_accessible_get_child_at_index):
4790 Change return value for g_return_if_fail ()
4791 to CORBA_OBJECT_NIL instead of "0" (!)
4793 * registryd/Makefile.am:
4794 * registryd/Accessibility_Register.server.in:
4795 Changed name of executable, "registryd",
4796 to something more informative:
4799 2002-03-13 Michael Meeks <michael@ximian.com>
4801 * atk-bridge/bridge.c (atk_bridge_init): don't register
4802 if we're in a bonobo-component, rather than a bonobo app.
4804 2002-03-13 Michael Meeks <michael@ximian.com>
4806 * atk-bridge/bridge.c (gtk_module_init): split
4807 out body to (atk_bridge_init): here, since otherwise
4808 we get symbol conflicts and oddness when invoked
4809 from (gnome_accessibility_module_init): here (upd.)
4811 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4814 New file. Explicitly allow "build sheriff" putbacks provided
4815 they are tested on Solaris.
4817 * docs/reference/cspi/Makefile.am:
4818 Added '-' to the "cp" command for index.sgml.
4819 ("patch by thomasvs, soon coming to a GUADEC near you")
4822 Incremented version number (0.9.0) for new release.
4823 Changed macro that checks for popt, to better detect
4824 obsolete versions of popt.
4827 Added X_LIBS to AC_SUBST, for applications
4828 that call Xlib API directly.
4831 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4834 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4837 Fix regression caused by hard-coding major
4838 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4841 * test/test-simple.c (test_editable_text),
4842 (test_test): revert previous change (error was
4843 a regression in gail which is now fixed).
4845 2002-03-04 Michael Meeks <michael@ximian.com>
4847 * test/test-simple.c (test_editable_text),
4848 (test_text): pass G_MAXINT instead of '-1' for
4849 whole string - is this a good thing !?
4851 * cspi/spi_accessible.c
4852 (Accessible_getRelationSet): fix crasher bug
4853 overwriting the end of the array.
4855 * test/test-simple.c (validate_accessible): free,
4856 not g_free returned relation set.
4858 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4860 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4861 implemented stateset support
4863 * idl/Accessibility_State.idl: Made necessary changes to
4864 the IDL to support state sets.
4866 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4868 * registryd/deviceeventcontroller.c:
4869 Added implementation for generateMouseEvent.
4871 * cspi/spi_registry.c:
4872 Connected new implementation for generateMouseEvent
4875 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4878 Incremented revision (but no change in public API
4879 outside of 'utils', which are not installed public yet.)
4881 * libspi/component.c:
4882 Changed to use atk_component API for layers and
4883 mdi_zorder, instead of deprecated atk_object API.
4885 Magnification Utility Enhancements:
4888 Added implementation of createZoomRegion, clearAllZoomRegions,
4889 resizeZoomRegion. Added new commandline argument
4890 "--no-initial-region". Note that clearAllZoomRegions doesn't
4891 unmap the old '0' region as it should (yet), and the other
4892 methods only work when creating/resizing a single region,
4893 which is "region 0".
4894 (Code for multiple region support will be added later.)
4897 Now we raise the magnifier window each time it's refreshed;
4898 this will help keep it on top.
4900 * util/mag_client.h:
4901 Added simple wrappers for above, used by mag_control.
4902 For general use, it's recommended to use the bonobo magnifier
4903 control API directly instead of using these wrappers.
4906 Moved ZoomRegionData from magnifier.c to this file.
4908 * util/mag_control.c:
4909 Added some code to exercise new IDL implementations.
4911 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4913 * libspi/text.c: Provide implementation for getAttributes.
4915 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4918 Incremented revision.
4920 * test/test-simple.c:
4921 Replaced use of deprecated g_main_iteration with
4922 g_main_context_iteration.
4924 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4927 Incremented revision for desktop alpha 2.
4929 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4931 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4934 * test/simple-at.c: include netinet/in.h.
4936 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4938 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4939 use NULL, not CORBA_OBJECT_NIL.
4941 * libspi/accessible.c:
4942 (impl_accessibility_accessible_get_relation_set):
4943 allocate the sequence correctly.
4945 * libspi/remoteobject.h: kill spi_remote_object_new.
4947 * test/test-simple.c: (validate_accessible): add code
4948 to test relation sets, now all we need is to figure
4949 out how to excercise this code path :/
4951 2002-01-18 Michael Meeks <michael@ximian.com>
4953 * test/test-simple.c
4954 (key_listener_cb): consume the key.
4955 (test_keylisteners): update.
4956 (main): wait for any pending unrefs on events.
4958 * registryd/deviceeventcontroller.c
4959 (spi_controller_update_key_grabs): only re-issue the
4960 grab on a key release.
4961 (spi_device_event_controller_forward_key_event):
4962 refresh the keygrabs before we notify the listeners,
4963 to reduce the X ungrab / re-grab race.
4964 (spi_controller_register_with_devices): remove
4965 XSelectInput - we do that with the gdk_window_ call.
4966 (_spi_controller_device_error_handler): return a value.
4967 s/GDK_DISPLAY/spi_get_display/
4969 2002-01-17 Michael Meeks <michael@ximian.com>
4971 * registryd/deviceeventcontroller.c
4972 (_deregister_keygrab): don't blow out the later
4975 * test/test-simple.c (test_keylisteners): do a
4976 more intelligent validation.
4978 2002-01-14 Michael Meeks <michael@ximian.com>
4980 * atk-bridge/bridge.c
4981 (gnome_accessibility_module_init),
4982 (gnome_accessibility_module_shutdown): impl.
4983 (gtk_module_init): protect vs. double inits.
4984 (add_signal_listener): impl.
4985 (spi_atk_bridge_state_event_listener): kill
4986 (deregister_application): split out of
4987 (spi_atk_bridge_exit_func): here.
4989 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4992 Added caret tracking when using magnifier, and
4993 now use text bounds for focus tracking of text elements, rather than
4994 the component bounds - this is helpful for short text fields in long
4995 table cells, at high magnification.
4997 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4999 * registryd/deviceeventcontroller.c:
5000 Regression fix for keylistener de-registration; global keygrabs
5001 were not being released when deregisterKeystrokeListener was
5002 called in cspi, since
5003 Accessibility_DeviceEventController_deregisterKeystrokeListener
5004 was called with a zero-length keyset. That is because the cspi
5005 method, SPI_deregisterKeystrokeListener, does not take a keyset
5006 parameter but instead should remove all the key grabs held be a
5008 The code in impl_deregister_keystroke_listener was changed to copy
5009 the keylist from the listener instance previously registered with
5010 the DeviceEventController before releasing the grabs.
5012 * registryd/registry.c:
5013 * registryd/deviceeventcontroller.c:
5014 * libspi/spi-private.h:
5016 Changed spelling of "re-enterant" to "re-entrant" globally.
5018 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5020 * test/test-simple.c:
5021 Changed key listeners test - the test was slightly mis-using the
5022 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5023 It now uses '=' as the key event listened to and generated,
5024 relying on a keysym match rather than assuming that keycode 33
5025 is always equal to keysym '!'.
5027 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5030 Changed simple-at to use a specific keyset, rather than
5031 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5032 manager, desktop, etc.
5034 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5036 * registryd/deviceeventcontroller.c:
5037 Replaced standard X error handler with a special handler that
5038 is non-fatal for failed keygrabs. This works around
5039 problems with keygrab clashes sometimes observed on
5041 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5042 mouse handling code as yet).
5044 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5047 Incremented revision for desktop alpha release.
5050 Fixed a couple of the more glaring errors (still not
5053 2002-01-11 Michael Meeks <michael@ximian.com>
5055 * registryd/deviceeventcontroller.c
5056 (spi_device_event_controller_forward_key_event): kill
5057 XUngrabKey / XKeyGrab race.
5058 (spi_controller_grab_keyboard): rename to
5059 (spi_controller_update_key_grabs): this, and deal
5060 with incremental adding / removing grabs more
5062 (_register_keygrab): ensure we're not pending a remove.
5063 (spi_grab_mask_free): impl.
5064 (spi_controller_register_global_keygrabs): split out
5066 (handle_keygrab): impl.
5067 (_deregister_keygrab): impl.
5068 (spi_controller_deregister_global_keygrabs): impl.
5069 (spi_controller_update_key_grabs): re-issue the grab if
5070 we just recieved a notification.
5072 * test/test-simple.c (key_listener_cb): remove debug.
5074 * registryd/deviceeventcontroller.c
5075 (spi_controller_register_device_listener): after
5076 registering a global keygrab, actualy register it !
5077 don't wait for a timeout; doh !
5079 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5080 to make it more readable / manipulable.
5081 s/grabmask/grab_mask/ s/refcount/ref_count/
5082 s/keyval/key_val/ s/modmask/mod_mask
5084 2002-01-08 Michael Meeks <michael@ximian.com>
5086 * registryd/deviceeventcontroller.c
5087 (spi_controller_register_with_devices): use gdk calls to
5089 (global_filter_fn): implement the filter.
5090 (spi_device_event_controller_check_key_event): rename to
5091 (spi_device_event_controller_forward_key_event): this & upd.
5092 (spi_get_display): replace with GDK_DISPLAY.
5094 * registryd/deviceeventcontroller.c
5095 (spi_controller_deregister_device_listener): unroll into
5096 (impl_deregister_keystroke_listener): here to simplify.
5097 (spi_controller_register_global_keygrabs): split cut and
5098 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5099 (spi_controller_deregister_device_listener): remove.
5100 (impl_register_mouse_listener): remove, no mouse listener
5101 support in at-spi-1.0
5103 * registryd/registry.c
5104 (_device_event_controller_hook): kill.
5105 (spi_registry_init): upd.
5107 * registryd/deviceeventcontroller.c
5108 (spi_device_event_controller_class_init): upd.
5109 (spi_check_key_event): merge into.
5110 (spi_device_event_controller_check_key_event):
5111 here and kill strange static ev init, don't leak
5112 the x_event - nor dynamicaly allocate it.
5114 * registryd/registry-main.c (main): re-direct
5115 timeout to remove strange vtable mess.
5117 * registryd/deviceeventcontroller.c
5118 (remove_listener_cb): impl.
5119 (spi_controller_deregister_device_listener):
5120 fix re-enterancy hazard.
5122 2002-01-07 Michael Meeks <michael@ximian.com>
5124 * registryd/deviceeventcontroller.c
5125 (spi_device_event_controller_new): upd.
5126 (impl_notify_listeners_sync): upd. debug.
5127 (spi_notify_keylisteners): fix re-enterancy hazards,
5128 prettify, remove O(n*n) iteration.
5129 (spi_controller_grab_keyboard): fix iteration.
5130 (spi_check_key_event): re-format to suit coding style.
5131 Clean all the warnings - we're warning free.
5133 * registryd/deviceeventcontroller.h:
5134 * registryd/registry.h: make mutualy referential with
5135 typesafe forward references instead of (!) void pointer
5138 2002-01-11 Michael Meeks <michael@ximian.com>
5140 * cspi/spi_accessible.c (role_names): add a role name
5141 to sync this array with the enum; and make the regression
5144 2002-01-10 Michael Meeks <michael@ximian.com>
5146 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5147 allow expansion of enumeration & kill warning.
5149 * test/test-simple.c (key_listener_cb): impl.
5150 (test_keylisteners): impl.
5152 * cspi/spi-listener.h: make listener signatures const
5153 on the provided (const) events.
5155 * test/keysynth-demo.c: upd. to const events.
5157 * test/simple-at.c: ditto.
5159 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5162 Rev the version to 0.5 (the previous tarball was named 0.4,
5163 even though the micro number was 3), so we need to rev upwards
5164 again for beta2/"desktop-alpha"
5167 Checked in a demo script, which requires editing before use!
5168 Proceed with caution.
5171 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5173 * cspi/spi_accessible.c:
5174 Add a couple of missing enum initializations, and fix some enum
5177 * cspi/spi_registry.c:
5178 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5180 * docs/reference/cspi/at-spi-cspi-sections.txt:
5181 Remove/fix a couple of broken document references.
5184 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5185 as Alt-Control to listen for commands, since on some systems
5186 Control-Alt may already be grabbed.
5188 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5191 Update version number to 0.4 for Beta2.
5193 * libspi/accessible.c, libspi/accessible.h:
5194 Expose spi_accessible_construct, to enable libgail-gnome
5195 construction from spi_accessible subtype.
5197 * utils/magnifier.c:
5198 Workaround for bug in some non-gnome-compliant window managers
5199 which made magnifier resize improperly.
5201 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5203 * libspi/accessible.c: (spi_accessible_new) :
5204 Move the test for SPI_IS_REMOTE_OBJECT to
5205 spi_accessible_new_return, fixing a bug and compile time warning.
5207 2002-01-08 Michael Meeks <michael@ximian.com>
5209 * registryd/registry.c (parse_event_type): remove strndup.
5211 * libspi/Makefile.am (libspi_la_SOURCES): remove
5212 sources already included in the headers section.
5214 * libspi/util.c: add.
5216 * libspi/spi-private.h: add.
5218 * registryd/registry.c: update to moved list iterators.
5220 2002-01-05 Michael Meeks <michael@ximian.com>
5222 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5224 * test/test-simple.c (main): ditto.
5226 2002-01-04 Michael Meeks <michael@ximian.com>
5228 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5229 redundant construct.
5231 * registryd/registry.c
5232 (get_listener_list): impl.
5233 (impl_accessibility_registry_register_global_event_listener):
5234 re-impl. to simplify using ~, remove dodgy const cast off.
5235 (parse_event_type): constify.
5236 (impl_accessibility_registry_deregister_global_event_listener_all):
5237 re-write, more efficiency and simplicity, kill re-enterancy
5239 (compare_listener_corbaref, compare_corba_objects),
5240 (compare_listener_quarks): define out.
5241 (impl_accessibility_registry_deregister_global_event_listener):
5242 re-write for effiency, and nail re-enterancy hazard.
5243 (impl_accessibility_registry_get_desktop_list): impl.
5244 (re_enterant_list_delete_link): impl.
5245 (re_enterant_list_foreach): impl.
5246 (remove_listener_cb): impl.
5247 (_registry_notify_listeners): kill.
5248 (notify_listeners_cb): impl.
5250 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5251 (SPI_getDesktopList): impl.
5253 * test/test-simple.c (test_desktop): test the methods.
5255 2002-01-03 Michael Meeks <michael@ximian.com>
5257 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5258 keystrings since we free them
5259 (SPI_freeAccessibleKeySet): in here.
5261 * libspi/accessible.c (spi_accessible_new): kill warning,
5262 wonder what is going on with the constructor here.
5264 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5266 * libspi/accessible.c (spi_accessible_new ()) :
5267 Added check to see if AtkObject is an SpiRemoteObject before
5268 creating an SpiAccessible.
5270 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5272 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5273 Enable keygrabs using the Control modifier, now that they are
5274 working properly (they were previously disabled).
5277 Change the command keygrab for this demo to "Control+Alt", so as
5278 to conflict with fewer other key commands on the system; this
5279 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5281 Removed a pointlessly-chatty keylistener for unshifted keys
5282 (shifted keys are still reported).
5284 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5286 * libspi/remoteobject.h:
5287 * libspi/remoteobject.c:
5288 Added definitions for special AtkObject subtype, required for
5289 support of remote components (specifically, used by BonoboControl
5290 accessibility implementation).
5292 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5294 * cspi/spi.h: synched relation types with ATK
5296 * cspi/spi_accessible.c: Added implementations of
5297 AcccessibleRelation_* methods
5299 * idl/Accessibility_Relation.idl: added getRelationTypeName
5300 method. Synched known relation types with ATK. Allowed for
5301 relation type extension with the RELATION_EXTENDED type.
5303 * libspi/relation.c: Provided implementations for
5304 AccessibleRelation methods.
5306 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5308 API tweaks for today's API 'freeze'.
5311 Added placeholder functions to allow future compatible expansion
5312 of the IDL interfaces.
5314 * idl/Accessibility_Registry.idl:
5315 Changed generateKeyEvent to generateKeyboardEvent. Changed
5316 signature of this method to accept an optional keystring in
5317 parameter (for complex text input synthesis) and changed use of
5318 simple 'boolean' parameter in registerKeystrokeListener to a
5319 struct, EventListenerMode.
5321 * cspi/spi_accessible.c:
5323 * cspi/spi_streamablecontent.c:
5324 Added references to AccessibleStreamableContent interface, and
5325 definition and implementation of AccessibleStreamableContent
5328 * cspi/spi_registry.c:
5330 Changed generateKeyEvent API to generateKeyboardEvent,
5331 taking a new (optional) keystring parameter to support complex
5336 Renamed directory (to better reflect its actual purpose, bridging
5337 from at-spi to ATK). The .so module is also now named
5340 * idl/Accessibility_Hypertext.idl:
5341 * libspi/accessible.c:
5342 * libspi/hypertext.h:
5343 * libspi/hypertext.c:
5344 Changed Accessibility_Hypertext to *not* derive from
5347 * cspi/spi_registry.c:
5348 Added list of legal event type names for 'window' events, which
5349 completes the registry event API.
5351 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5353 * at-bridge/bridge.c: Added registration for separate
5354 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5355 signals. If either of the first two parameters to the generic
5356 bridge signal handler are ints, they are passed on as event
5357 details. This allows an AT to determine what text was inserted.
5359 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5361 * registryd/deviceeventcontroller.c:
5362 Fixed regressions in generateKeyEvent caused by the removal of
5363 gdk_init from registryd; we now use pure X calls to connect to the
5364 display, which makes sense because deviceeventcontroller already
5365 uses a fair bit of X API (should eventually be migrated to a
5366 'portability layer').
5368 * registryd/desktop.c:
5369 Fixed minor regression in spi_desktop_init, changed the way the
5370 desktop name is being set to work with new spi_base API
5371 (gobject-based, rather than AtkObject-based).
5373 * registryd/Makefile.am:
5374 Minor revision of makefile to use XTST_LIBS variable rather than
5375 hard-wiring the Xtst LD_ADD element.
5377 * test/keysynth-demo.c:
5378 Tweaked an output message; added initialization of the
5379 'keystrings' member of the "switch listener" key_set.
5381 * libspi/relation.c:
5382 Squashed compile-time warning.
5384 * libspi/accessible.c:
5385 Cosmetic and formatting fixes, renamed a static method.
5387 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5389 * libspi/accessible.c
5391 * libspi/application.c
5394 * libspi/component.c
5395 * libspi/editabletext.c
5396 * libspi/hyperlink.c
5397 * libspi/hypertext.c
5399 * libspi/selection.c
5403 * registryd/desktop.c:
5404 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5406 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5408 * idl/Accessibility_Registry.idl:
5409 Added boolean member 'is_text' to DeviceEvent. This is for the
5410 use of key events, and helps prevent ambiguity between composed
5411 key strings and keysym names, since both may potentially be
5412 returned in the 'event_string' member.
5414 * at-bridge/bridge.c:
5415 * registryd/deviceeventcontroller.c:
5416 Use the 'is_text' member when notifying device event listeners.
5417 Knon issue: composed characters are not dealt with correctly by
5418 the global key listener implementation yet.
5420 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5422 * at-bridge/bridge.c:
5423 Namespaced local static methods to spi_atk_bridge_* where
5424 previously named bridge_*, and spi_* elsewhere.
5426 * at-bridge/bridge.c:
5427 * cspi/bonobo/cspi-bonobo-listener.c:
5428 Added demarshalling/conversion for string member of
5429 Accessibility_DeviceEvent to AccessibleKeystroke.
5431 * registryd/deviceeventcontroller.c:
5432 Added code to fill the Accessibility_DeviceEvent key string value
5433 member for global key events (i.e. from XGrabKey), to match
5434 behavior of Accessibility_DeviceEvent from the toolkit key events
5435 from the bridge. Fixed timestamp in global key event notifications.
5438 Added printout of key event's string value to
5439 report_ordinary_key_event, for demo/debugging purposes.
5441 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5443 * idl/Accessibility_Registry.idl:
5444 Removed Accessibility_KeyStroke structure in favor of generic
5445 Accessibility_DeviceEvent structure.
5446 Changed Accessibility_ControllerEventMask from a struct to an
5449 * at-bridge/bridge.c:
5450 Changed APIs to use DeviceEvent structure as above, and removed
5451 bogus casting between these event structures.
5453 * cspi/spi-listener.h:
5454 Added keystring member of AccessibleKeystroke structure, to enable
5455 matching on event "names" rather than only hardware codes and
5459 Added keystrings member of AccessibleKeySet struct, to allow
5460 matching on event names (as above).
5461 Added declarations for SPI_createAccessibleKeySet and
5462 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5463 event modmasks directly as unsigned ints rather than structs with
5464 refcounts, in the DeviceEventController methods.
5466 * cspi/spi_registry.c:
5467 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5469 * cspi/spi-roletypes.h:
5470 Added documentation of newly added SPI Roles.
5472 * cspi/bonobo/cspi-bonobo-listener.c:
5473 Changes in support of API changes above.
5475 * libspi/accessible.c:
5476 Converted APIs to use DeviceEvent structure (see IDL changes
5479 * registryd/deviceeventcontroller.c:
5480 Added DEControllerGrabMask structure to track keygrabs not only by
5481 modmask but by keyset as well; this allows us to do "global"
5482 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5483 grabbing on AnyKey and then filtering after-the-fact.
5484 Bugfixes for event filtration mean that we don't get false matches
5485 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5487 * registryd/deviceeventcontroller.c:
5488 Namespaced a number of static methods to use spi_ prefix. Major
5489 revision to internals of global (i.e. X) key grabs.
5491 * registryd/deviceeventcontroller.h:
5492 Removed keymask_list and added keygrabs_list to
5493 SpiDeviceEventController struct.
5496 Added use of SPI_createAccessibleKeySet API when creating a
5497 listener for only one key. Attach a listener to "shift spacebar
5498 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5499 X key event names to SPI key event names, so that listeners are
5500 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5502 * test/keysynth-demo.c:
5503 Changed (incorrect) use of X key event names (KeyPressed,
5504 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5507 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5509 * libspi/accessible.c:
5510 Convert all AtkRole enumerations to Accessibility_Role enums when
5511 getting a role from an AtkObject.
5513 * cspi/spi_accessible.c:
5514 Complete the conversion of Accessibility_Role enums at runtime to
5515 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5516 role enums correctly match those given in spi-roletypes.h.
5517 Re-synchronize the local names list for AccessibleRole_getName ().
5518 AccessibleRole_getName is now deprecated, since it duplicates the
5519 more reliable Accessible_getRoleName.
5520 Added some role types from Accessibility_Role.idl.
5522 * idl/Accessibility_Role.idl:
5523 Added some role types used by AtkRole.
5525 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5528 * cspi/spi_registry.c:
5530 * cspi/cspi-bonobo-listener.c:
5531 Namespaced all methods that did not begin with an "SPI_" or
5532 "Accessible" prefix to "SPI_".
5535 Homogenized internal function namespace to "cspi_" for statics.
5538 Patched tests to use the new CSPI API.
5540 * docs/reference/cspi/at-spi-cspi-sections.txt:
5541 Updated docs to reflect namespace changes, and added a number of
5542 methods to the documentation.
5544 * registryd/registry.c:
5545 Changed use of strings and string hashes in listener event
5546 matching and parse_event_string to use GQuark, which is guaranteed
5549 * registryd/registry.h:
5550 Squashed annoying warning.
5552 * idl/Accessibility_Role.idl:
5553 Extended range of available Accessibility_Role values.
5555 * cspi/spi_accessible.c:
5556 Re-ordered role names.
5558 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5560 * idl/Accessibility_Value.idl:
5561 Revert use of union back to CORBA_double, since the double type is
5562 more efficient and can contain the other types without loss of
5565 * idl/Accessibility_Accessible.idl:
5566 Added method Accessibility:Accessible:getRoleName, to complement
5567 Accessibility:Accessible:getRole.
5569 * cspi/spi_accessible.c:
5571 Added C binding for above, Accessible_getRoleName (), and changed
5572 signature of Accessible_getRole () to return an AccessibleRole.
5574 * cspi/spi-roletypes.h:
5575 Changed AccessibleRole_getName to return a char * instead of a
5576 const char *. This method is now at least temporarily deprecated
5577 in favor of asking Accessibles for their RoleNames directly.
5580 Revert to match Accessibility_Value.idl;
5584 Change signature of AccessibleValue methods to use double rather
5588 * cspi/spi_accessible.c:
5589 Changed Accessible_getRole to return an AccessibleRole enum rather
5590 than a UTF-8 string. The UTF-8 string can still be obtained via
5591 AccessibleRole_getName ().
5593 * test/test-simple.c:
5594 Add test_action. Small fixup to match API change to Accessible_getRole.
5597 Bugfix for get_action_from_servant ().
5599 2001-12-11 Michael Meeks <michael@ximian.com>
5601 * libspi/libspi.h: remove registry.h and
5602 desktop.h, deviceeventcontroller.h
5604 * libspi/Makefile.am: remove registry.[ch],
5605 desktop.[ch], deviceeventcontroller.[ch]
5607 * registryd/Makefile.am: add registry.[ch],
5608 desktop.[ch], rename registryd.c to registry-main.c.
5609 add deviceeventcontroller.[ch]
5611 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5614 Replace setenv() call with putenv ().
5616 * libspi/component.c:
5617 Bugfix in AccessibleComponent_getExtents (),
5620 2001-12-11 Michael Meeks <michael@ximian.com>
5622 * libspi/image.c (impl_getImageExtents): impl.
5623 (spi_image_class_init): upd.
5626 (AccessibleImage_getImageDescription): fix daft bug
5629 * test/test-simple.c (global_listener_cb): update
5630 to only quit if not --poke
5631 (main): catch --poke.
5632 (validate_accessible): upd. dumping, call test_image
5635 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5638 * idl/Accessibility.idl: update all IDL includes.
5640 * idl/*.idl - rename to namespace - this sucks, blame
5641 mjs' bad decision for oafd.
5643 * test/test-simple.c (create_test_window): add more tests.
5644 (create_tree): split this out.
5645 (validate_accessible): bugfix.
5647 2001-12-11 Michael Meeks <michael@ximian.com>
5649 * cspi/bonobo/cspi-bonobo-listener.c:
5650 (cspi_kestroke_listener_unref),
5651 (cspi_event_listener_unref): impl. undoing previous
5652 homenous environment - for Bill.
5654 * cspi/spi_table.c (long_seq_to_array): use
5657 * cspi/spi_main.c: split out all bonoboish bits into
5660 * cspi/spi-impl.h: upd. typedefs.
5662 * cspi/spi_registry.c: update to lowlevel API,
5663 return booleans to indicate success in some places.
5665 * cspi/spi_event.c: update to lowlevel API.
5667 * cspi/bonobo/Makefile.am: add.
5669 * cspi/bonobo/cspi-lowlevel.h: add
5671 * cspi/bonobo/cspi-bonobo.c: add
5673 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5675 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5676 (SUBDIRS): add bonobo, link in the libs.
5678 * cspi/spi-util.c: kill this file.
5680 * TODO: merge in my bits.
5682 2001-12-11 Michael Meeks <michael@ximian.com>
5684 * test/test-simple.c (test_value, test_table, main):
5685 remove unused variables causing warnings.
5687 * configure.in: cleanup checks - require gail.
5689 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5692 Changed Value interface to use SValue (scalars) rather than
5693 assuming all values are floats. This allows floats, doubles,
5694 longs, shorts, and unsigned values to be manipulated.
5695 Introduced Accessibility:SValue union.
5698 Updated to use new API above, and to work correctly with GValues
5699 of different types in AtkValue.
5702 Updated to use new API above. cspi's API is as yet unchanged.
5705 Updated the Value revision action item.
5707 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5709 * test/test-simple.c:
5710 Added test_table (GtkTreeView widget in test window to follow).
5711 Un-commented test_value, added GtkRange widget.
5712 Added GtkTreeView widget with GtkListStore. It passes regression
5713 test but leaks one SPI object for some reason.
5716 Fixed bug in impl__set_currentValue.
5718 2001-12-10 Michael Meeks <michael@ximian.com>
5720 * cspi/spi_text.c: audit for exception handling,
5721 tolerating NULL object references safely etc.
5723 * cspi/spi_value.c: ditto.
5725 * cspi/spi_table.c (AccessibleTable_getSummary),
5726 (AccessibleTable_getAccessibleAt),
5727 (AccessibleTable_getRowHeader),
5728 (AccessibleTable_getColumnHeader),
5729 (AccessibleTable_getCaption): fix bugs hidden by
5731 (long_seq_to_array): impl.
5732 (AccessibleTable_getSelectedRows),
5733 (AccessibleTable_getSelectedColumns): use it.
5735 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5738 Added a TODO list (rough and short for now).
5740 * cspi/spi_hyperlink.c:
5741 * cspi/spi_hypertext.c:
5742 Fixed macro name typos, and remove use of obsolete macro in
5743 AccessibleHyperlink_getLink.
5745 * cspi/spi_action.c:
5746 * cspi/spi_accessible.c:
5747 * cspi/spi_application.c:
5748 * cspi/spi_component.c:
5749 * cspi/spi_selection.c:
5752 Documentation fixes (removed return values from ref/unref methods).
5754 2001-12-10 Michael Meeks <michael@ximian.com>
5756 * cspi/spi_action.c: audit for exception handling,
5757 tolerating NULL object references safely etc.
5759 * cspi/spi_accessible.c: ditto.
5761 * cspi/spi_component.c: ditto.
5763 * cspi/spi_editabletext.c: ditto.
5765 * cspi/spi_hyperlink.c: ditto.
5767 * cspi/spi_hypertext.c: ditto.
5769 * cspi/spi_image.c: ditto.
5771 * cspi/spi_selection.c: ditto.
5773 2001-12-10 Michael Meeks <michael@ximian.com>
5775 * configure.in: use cspi/libspi.pc.in instead.
5777 * Makefile.am (pkgconfig_DATA): upd. to match.
5779 * test/simple-at.c (report_focus_event): kill hacks around
5780 bad return values, use putenv not setenv
5782 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5783 fire ChildGone - I killed it.
5785 * libspi/component.c
5786 (impl_accessibility_component_get_extents): remove
5789 * idl/Accessible.idl: kill ChildGone exception.
5791 * cspi/*.[ch]: kill int return from ref / unref.
5793 * cspi/spi_main.c (cspi_object_add_check): fold into
5794 (cspi_object_add): here.
5796 * cspi/spi_component.c (AccessibleComponent_getExtents):
5797 handle exceptions elegantly.
5799 * cspi/spi-private.h (cspi_check_ev_return),
5800 (cspi_return_if_fail): impl.
5802 * cspi/spi_accessible.c: use extensively.
5803 (AccessibleStateSet_equals): add direct compare check.
5805 * cspi/spi_selection.c: tolerate NULL objs, and check
5806 exceptions before return.
5808 * cspi/spi-util.c (cspi_warn_ev): rename to
5809 (cspi_check_ev): this & don't pass ev in; no point.
5811 2001-12-10 Michael Meeks <michael@ximian.com>
5813 * test/test-simple.c: use putenv not setenv
5814 (get_environment_vars): more chatty if you're not using
5817 * test/simple-at.c: do the setenv so more people see the
5820 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5822 * libspi/registry.c:
5823 Changed check of CORBA_environment on notification to be a warning
5824 instead of an error for the moment, since we can recover from this
5825 error when caused by a queued notification from a dead app.
5828 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5829 used by all current implementors of AtkValue), and coerce to
5830 CORBA_float. (Proper general case fix may require change to Value.idl).
5832 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5836 * cspi/spi_accessible.c:
5837 Documentation fixes: added user_data params to documentation for
5838 listeners and callbacks.
5840 * cspi/spi_accessible.c:
5841 Changed AccessibleStateSet_compare to return a
5842 StateSet rather than return the difference set into a third parameter.
5845 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5848 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5849 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5853 Remove subdirectory po from SUBDIRS for now.
5855 * at-bridge/bridge.c:
5856 Beefed up a couple of debug printouts.
5857 One-line fix for signal notification name formatting.
5859 * libspi/accessible.c:
5860 Added assertion to spi_accessible_new ().
5862 * libspi/application.c:
5863 Put #ifdef qualifiers around a printf.
5866 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5868 * registryd/Makefile.am:
5870 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5871 INTLTOOL_SERVER_RULE macro.
5874 Added an event listener for several ATK signals, for
5875 testing and debugging. Removed a few g_warnings.
5876 Added test output if focussed item implements the Value interface.
5878 * test/test-simple.c:
5879 Added test_value () function (known not to pass at the moment, so
5880 not actually called yet.
5882 2001-12-08 Michael Meeks <michael@ximian.com>
5884 * at-bridge/bridge.c (bridge_focus_tracker),
5885 (emit_eventv): fix the same ref. leak.
5886 (register_atk_event_listeners): don't leak.
5888 * cspi/spi-listener-impl.c (cspi_event): more
5889 protection from client code.
5891 * test/test-simple.c (test_desktop): unref the app.
5893 * test/Makefile.am: upd. TESTS.
5895 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5897 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5899 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5901 * cspi/spi_registry.c: constify in strings.
5902 (deregisterGlobalEventListenerAll): don't release the ref.
5904 * cspi/spi.h: start removing redundant / conflicting
5905 gtkdoc comments, making the API readable at a glance :-)
5907 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5909 * test/keysynth-demo.c (keysynth_exit, main): upd.
5911 * test/simple-at.c (main, simple_at_exit): upd.
5913 * test/test-simple.c (unutterable_horror): kill.
5914 (utterable_normal_derefs): kill.
5915 (main): upd & do a setenv before gtk_init, so that we
5916 can use memprof - and to save the pain of remembering
5917 this, if we're running under memprof - don't exit.
5919 * cspi/spi_main.c (SPI_exit): return exit status
5921 (SPI_event_quit): impl.
5922 (SPI_event_main): simplify.
5923 (cspi_is_gnome_app): kill.
5924 (SPI_init): kill isGNOMEapp arg.
5926 * at-bridge/bridge.c (register_atk_event_listeners):
5927 re-instate the unref.
5928 (bridge_exit_func): don't re-activate the registry,
5929 protect vs. theoretical re-entry, use the
5930 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5931 assert a clean shutdown - for regression tests.
5933 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5935 * configure.in: Comment out dummy i18n support for now,
5936 otherwise it fails to build.
5937 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5938 EXTRA_DIST. They are missing in tarball.
5940 2001-12-07 Michael Meeks <michael@ximian.com>
5942 * util/magnifier.c: kill bonobo activation reg. race.
5944 * libspi/component.c
5945 (impl_accessibility_component_get_extents): make it match
5948 * libspi/registry.c (_registry_notify_listeners):
5949 re-remove X headers & reconcile conflicts.
5950 (spi_listener_struct_free): bad conflict resolve.
5951 (impl_accessibility_registry_register_application):
5952 more bad merging fixed.
5953 (impl_accessibility_registry_deregister_application): ditto.
5954 (spi_registry_new): ditto.
5955 (spi_registry_init): don't have an applications field.
5957 [ merge fixups2 branch to here ]
5958 2001-12-07 Michael Meeks <michael@ximian.com>
5960 * test/simple-at.c (report_focus_event),
5961 (report_focussed_accessible): remove g_warning debug.
5963 2001-12-07 Michael Meeks <michael@ximian.com>
5965 * test/test-simple.c (validate_tree): comment out some checks.
5966 (test_desktop): app now not registered idly - horay.
5968 2001-12-07 Michael Meeks <michael@ximian.com>
5970 * cspi/spi_registry.c
5971 (registerAccessibleKeystrokeListener): clean, stop it leaking
5972 great swathes of memory, and device event controller references.
5973 ensure we always pass valid sequences.
5974 (deregisterAccessibleKeystrokeListener): ditto.
5975 (generateKeyEvent): upd.
5977 * at-bridge/bridge.c (bridge_key_listener): handle
5978 registry dead exception gracefully.
5979 (bridge_focus_tracker, emit_eventv): free ev.
5981 * test/simple-at.c (report_focus_event): fix polarity.
5983 * libspi/application.c (notify_listeners): kill the ev
5984 argument, and make sure we init the ev we use.
5985 (spi_application_object_event_listener): split out a chunk
5986 (get_atk_object_ref): here & fixup.
5987 (reverse_lookup_name_for_toolkit_event): make const.
5988 (spi_application_toolkit_event_listener): fixup, kill leaks
5991 * at-bridge/bridge.c (register_atk_event_listeners):
5992 don't unref the noop object - causes grief.
5994 * libspi/registry.c: remove the X headers.
5995 turn off the debug churn.
5997 * libspi/accessible.c (spi_accessible_new_return): only
5998 release the ref if we are supposed to [doh]
6000 * test/simple-at.c (report_button_press, report_focus_event):
6001 guard vs. unexpected exit.
6003 * at-bridge/bridge.c (gtk_module_init): prune printf.
6004 (bridge_exit_func): fix app unref.
6006 * libspi/Makefile.am: don't install registry or desktop.h
6008 * libspi/*.h: update includes.
6010 * libspi/application.h: don't include ourself, or
6011 other redundant headers.
6013 2001-12-06 Michael Meeks <michael@ximian.com>
6015 * libspi/accessible.c
6016 (get_accessible_from_servant): impl.
6017 Upd. all CORBA impl.s to use it killing cut and paste.
6019 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6021 (SPI_init): register atexit cleanup handler here.
6023 2001-12-06 Michael Meeks <michael@ximian.com>
6025 * at-bridge/bridge.c (gtk_module_init): g_error on
6026 activation exception
6028 2001-12-06 Michael Meeks <michael@ximian.com>
6030 * at-bridge/bridge.c (gtk_module_init): some sort of
6031 confusing merge clash - reverted.
6032 (bridge_idle_init): ditto.
6034 * test/test-simple.c (main, utterable_normal_derefs):
6035 merge from Bill - somehow not committed.
6037 2001-12-06 Michael Meeks <michael@ximian.com>
6039 * libspi/value.c (spi_value_class_init): upd.
6040 (spi_value_finalize): kill.
6042 * libspi/table.c (spi_table_finalize): kill.
6043 (spi_table_interface_new): upd.
6044 (spi_table_class_init): upd.
6045 (get_table_from_servant): impl.
6046 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6048 * libspi/selection.c (spi_selection_finalize): kill.
6049 (spi_selection_interface_new): upd.
6050 (spi_selection_class_init): upd.
6051 (get_selection_from_servant): impl.
6052 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6054 * libspi/relation.c (spi_relation_finalize): kill.
6055 (spi_relation_class_init, spi_relation_new): upd
6057 * libspi/image.c (spi_image_finalize): kill.
6058 (spi_image_class_init): upd.
6059 (spi_image_interface_new): upd.
6060 (get_image_from_servant): impl.
6061 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6063 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6064 (spi_hyperlink_finalize): kill.
6065 (spi_hyperlink_new): upd.
6066 (get_hyperlink_from_servant): impl.
6067 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6069 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6070 (spi_hypertext_finalize): kill.
6071 (spi_hypertext_class_init): upd.
6072 (get_hypertext_from_servant): impl.
6073 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6075 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6076 (spi_editable_text_interface_new): upd.
6077 (get_editable_text_from_servant): impl.
6078 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6080 * libspi/text.c (get_text_from_servant): impl.
6081 All impls - update to use it killing more cut and paste,
6082 also fix bad string returns on duff args ( a somewhat
6083 impossible case to handle - but hey ).
6084 (spi_text_construct): impl.
6085 (spi_text_interface_new): upd.
6086 (spi_text_object_finalize): kill.
6088 * libspi/component.c
6089 (accessibility_component_object_finalize): kill.
6090 (spi_component_class_init): upd.
6091 (get_component_from_servant): impl. helper to kill cut & paste.
6092 (impl_accessibility_component_contains):
6093 (impl_accessibility_component_get_accessible_at_point):
6094 (impl_accessibility_component_get_position):
6095 (impl_accessibility_component_get_extents):
6096 (impl_accessibility_component_get_mdi_z_order):
6097 (impl_accessibility_component_get_layer):
6098 (spi_component_interface_new): upd.
6100 * libspi/action.c (spi_action_finalize): kill.
6101 (spi_action_class_init): upd. inherit from SpiObject.
6102 (spi_action_interface_new): upd.
6103 (get_action_from_servant): impl. helper to reduce cut & paste.
6104 (impl_getKeyBinding, impl_getName, impl_doAction),
6105 (impl_getDescription): Use it everywhere.
6107 * cspi/spi_main.c (get_live_refs): a pointer hash.
6108 (spi_object_hash, spi_object_equal): comment out.
6109 There are issues with CORBA object hashing that need
6112 * libspi/application.c (spi_application_init),
6113 (spi_application_new): upd.
6115 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6116 (spi_accessible_class_init): upd.
6117 s/accessible/object/ in epv methods.
6119 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6121 * at-bridge/bridge.c:
6122 Reorder the bridge initialization into the bridge gtk_module_init,
6123 an immediate call to bridge_register_app, and an idle_add for
6124 register_atk_event_listeners (the only code that *must* wait until
6125 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6126 the activation, creates the application's Accessible object, and
6127 queues the bridge_idle_init function. Restored call to
6128 Accessibility_Registry_deregisterApplication().
6129 Prior to making this call we obtain a new reference to the
6130 registry, which is a temporary hack that helps us handle apps that
6131 shut down the bonobo mainloop before we get there.
6133 * libspi/registry.c:
6134 Fix string leakage in debug block, and don't segv if a an app
6135 dies before its event notifications have been propagated.
6138 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6139 as stopgap measure until we get proper exception handling when
6140 objects die during or before interrogation.
6144 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6145 Also changed default value of is_gnome_app to TRUE.
6148 * test/keysynth-demo.c:
6149 Changed use of SPI_init and SPI_event_main to reflect API change above.
6152 Made report_focus_event check the warning value from getName
6153 before reporting on focussed accessible; simplifies handling of
6154 notifications from dead objects.
6156 * test/test-simple.c: (Changes not in this patch since source is
6159 2001-12-05 Michael Meeks <michael@ximian.com>
6161 * registryd/registryd.c (main): protect against
6162 bonobo-activation startup race condition.
6164 * cspi/spi_main.c (cspi_object_add_check): cope
6165 with the exception elegantly.
6167 * idl/Accessible.idl: decl. ChildGone
6169 * libspi/desktop.c (spi_desktop_dispose): impl.
6170 (spi_desktop_class_init): upd.
6171 (spi_desktop_add_application),
6172 (spi_desktop_remove_application),
6173 (abnormal_application_termination): impl.
6174 (impl_desktop_get_child_at_index): re-impl.
6177 (impl_accessibility_registry_deregister_application),
6178 (impl_accessibility_registry_register_application):
6179 kill excessive debug clutter.
6181 * test/test-simple.c (test_misc): test some NULL
6182 tolerance. (main): upd.
6184 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6185 implements no interfaces - so let's not crash.
6187 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6189 * libspi/accessible.c (spi_accessible_new_return): impl.
6190 helper to calm the cut and paste, to cope with
6191 NULL AtkObjects effectively and efficiently, and to kill
6192 the referencing bugs.
6194 * libspi/table.c (impl_getAccessibleAt),
6195 (impl_getRowHeader, impl_getColumnHeader): upd.
6197 * libspi/hyperlink.c (impl_getObject): upd.
6199 * libspi/accessible.c
6200 (impl_accessibility_accessible_get_child_at_index): upd.
6202 * libspi/component.c
6203 (impl_accessibility_component_get_accessible_at_point): upd.
6205 * test/test-simple.c (test_editable_text, test_text): impl.
6208 * cspi/spi_editabletext.c
6209 (AccessibleEditableText_insertText): constify.
6211 * test/test-simple.c (focus_me): make more robust.
6213 * libspi/accessible.c: remove some printfs in methods that
6214 we test and work fine, so we can get a clean tree dump.
6216 * test/test-simple.c (validate_accessible),
6217 (validate_tree): make tree dumping pretty too.
6219 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6220 it builds without debug on.
6222 * test/test-simple.c (validate_accessible): fix the most
6225 * cspi/spi_main.c (spi_object_release): leave the nicely
6226 blanked memory around if in debug mode.
6228 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6230 [committed to fixups2]
6231 2001-12-05 Michael Meeks <michael@ximian.com>
6233 * libspi/editabletext.c
6234 (spi_editable_text_class_init): g_type_class_peek_parent,
6235 not interface peek - so we finalize cleanly.
6237 * libspi/accessible.c (spi_accessible_new): kill debug.
6239 * test/test-simple.c (validate_accessible): fix ref.
6240 leak, print strings before freeing them; sigh, comment a
6241 chunk out due to strangeness.
6242 (validate_tree): unref the child after use.
6244 * cspi/spi_component.c (AccessibleComponent_getLayer):
6245 add missing break statement, switch on zlayer not the
6246 uninitialized retval.
6248 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6249 before (possibly re-entering) remote unref.
6251 * test/simple-at.c (main): unref the desktop.
6253 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6256 * cspi/spi_main.c (cspi_accessible_is_a): here to
6257 isolate bonobo API usage more.
6259 * libspi/registry.c (impl_accessibility_registry_register_application):
6260 prune bogus comment.
6262 2001-12-04 Michael Meeks <michael@ximian.com>
6264 * test/test-simple.c (validate_tree): upd.
6265 IndexInParent check to make it more lucid.
6266 (validate_accessible): dump the tree.
6268 * libspi/accessible.c (de_register_public_ref),
6269 (get_public_refs): impl.
6270 (spi_accessible_new): make more efficient & intuitive.
6271 Now IndexInParent check works.
6273 2001-12-04 Michael Meeks <michael@ximian.com>
6275 * cspi/spi-util.h: remove.
6277 * cspi/spi.h: move SPI_freeString here
6279 * libspi/component.c (impl_accessibility_component_get_layer):
6281 (impl_accessibility_component_get_mdi_z_order): ditto,
6282 return -1 on error - is this ok ?
6284 * test/test-simple.c (test_application): impl.
6286 * cspi/spi_accessible.c (Accessible_getApplication),
6287 (Accessible_isApplication): impl.
6289 * libspi/registry.c (spi_listener_struct_free): release
6290 the CORBA reference too.
6292 * libspi/accessible.c
6293 (impl_accessibility_accessible_get_parent): fix ref leak.
6295 * libspi/registry.c (spi_registry_new): make the registry
6296 immortal - we don't want it to go away ever.
6298 * libspi/application.c
6299 (spi_accessible_application_finalize): impl. cleanup.
6301 * cspi/spi_registry.c
6302 (deregisterGlobalEventListenerAll),
6303 (deregisterGlobalEventListener),
6304 (deregisterAccessibleKeystrokeListener): fix ref leak.
6306 * cspi/spi_main.c (SPI_init): remove redundant ref.
6308 * test/test-simple.c (unutterable_horror): impl. to force a
6313 (impl_accessibility_registry_deregister_application): release
6314 the application when we de-register it.
6316 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6317 until we have the infastructure to get it right.
6319 2001-12-03 Michael Meeks <michael@ximian.com>
6321 * libspi/Makefile.am: only build eventlistener.[ch]
6323 * libspi/accessible.c
6324 (impl_accessibility_accessible_get_child_at_index): don't leak.
6326 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6327 before we hit the idle handler.
6329 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6330 debugging than exit.
6332 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6334 * libspi/listener.c (impl_notify_event): check source
6335 not NIL before unref.
6337 * libspi/registry.c (impl_registry_notify_event): ditto.
6339 * libspi/eventlistener.c
6340 (impl_accessible_event_notify_event): unref the source.
6342 * libspi/accessibleeventlistener.c
6343 (impl_accessible_event_notify_event): unref the source.
6345 * idl/Event.idl: remove 'hash_id' attribute - of no
6348 * libspi/application.c (notify_listeners): upd list
6350 (spi_application_object_event_listener),
6351 (spi_application_toolkit_event_listener): upd to do correct
6355 (_registry_notify_listeners): update.
6356 (parse_event_type): this method also leaks like a sieve.
6357 (impl_accessibility_registry_deregister_global_event_listener):
6358 fix ETYPE_WINDOW case.
6360 * libspi/application.c
6361 (impl_accessibility_application_register_object_event_listener):
6364 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6366 * libspi/hypertext.c (impl_getLink): ditto.
6368 * cspi/spi_main.c (cspi_object_add): remove
6369 bogus CORBA_Object_duplicate.
6371 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6374 * cspi/spi_accessible.c
6375 (Accessible_getRelationSet): fix leak / referencing issue.
6377 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6378 (cspi_object_add, cspi_object_unref): upd.
6379 (spi_object_release, get_live_refs): impl.
6380 (cspi_cleanup): simplify.
6382 * *.[ch]: s/boolean/SpiBoolean/
6384 * cspi/spi_accessible.c (role_names): actualy order so it
6385 corresponds with the enum !
6387 * test/test-simple.c (test_roles): check some role strings
6388 vs. enums to detect offset errors.
6390 2001-12-01 Michael Meeks <michael@ximian.com>
6392 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6394 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6396 (Accessible_getChildAtIndex): use cspi_add_check so we
6397 check the ev before using a (possibly) invalid value.
6399 * libspi/accessible.c
6400 (impl_accessibility_accessible_get_parent): don't segv
6403 * at-bridge/bridge.c (gtk_module_init): upd.
6404 (bridge_property_event_listener): don't leak strings
6406 (bridge_state_event_listener),
6407 (bridge_property_event_listener): don't use a static
6408 buffer in case of recursive event emission &
6409 re-enterancy - split out the swathe of cut and paste
6411 (emit_eventv): and fix 2 ref leaks here & comply to the
6413 (bridge_register_app): rename to
6414 (bridge_idle_init): this and kill arg parsing, split
6415 various inits & bonobo-activation registration to module
6416 init time, kill referencing error.
6417 (bridge_exit_func): fix the same leak.
6418 (bridge_focus_tracker): don't leak event structures
6420 (bridge_signal_listener): more leakage and cut & paste
6422 (bridge_key_listener): return the result - FIXME is
6423 this polarity correct ?
6424 (accessibility_keystroke_from_atk_key_event): rename
6425 (accessibility_init_keystroke_from_atk_key_event): and stop
6427 (gtk_module_init): return a value - not that it is checked by
6429 (bridge_key_listener): register my horror at casting between
6430 IDL defined structs.
6431 (bridge_get_registry): kill - not used.
6433 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6435 * test/test-simple.c (test_roles): impl.
6436 (test_desktop, validate_accessible, validate_tree): impl.
6438 * cspi/spi_accessible.c (role_names): fixup bogus
6439 MAX_ROLES setup, make constants const for efficient linkage
6440 (AccessibleRole_getName): conform to coding style, make
6443 2001-11-30 Michael Meeks <michael@ximian.com>
6445 * cspi/spi.h: add missing prototype.
6447 * libspi/registry.c (spi_listener_struct_new): fix sig.
6449 * test/Makefile.am: add test-simple
6451 * test/test-simple.c: add
6453 * test/test.sh: add.
6455 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6457 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6458 do it straight - since otherwise we often get an activation race.
6460 [ work before Bill duplicated a chunk of it ... ]
6461 2001-11-30 Michael Meeks <michael@ximian.com>
6463 * libspi/keystrokelistener.c
6464 (spi_keystroke_listener_class_init): fixup arg
6467 * libspi/eventlistener.c
6468 (spi_event_listener_class_init): ditto.
6470 * tests/test.sh: add.
6472 * cspi/spi-listener-impl.h: update macros.
6474 * cspi/spi-listener-impl.c
6475 (cspi_event_listener_remove_callback): add
6476 correct pre-conditions.
6478 * cspi/spi_main.c (SPI_exit): guard vs. double
6479 exits, exit the mainloop nicely.
6480 (SPI_event_main): make more sense.
6481 (SPI_init): move the atexit evilness here so we
6482 always do it (yuck).
6483 (SPI_event_main): upd.
6485 * test/simple-at.c: update for listener changes.
6487 * registryd/registryd.c (main): prune kruft.
6489 * libspi/libspi.h: upd.
6491 * libspi/eventlistener.[ch]: rename broken macros.
6493 * libspi/accessibleeventlistener.[ch]: remove.
6495 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6497 * test/test-simple.c: Add - automated tests.
6499 * cspi/spi-listener-impl.c (cspi_event),
6500 (cspi_key_event): add user_data to invoke.
6501 (cspi_keystroke_listener_finalize): impl.
6502 (cspi_keystroke_listener_class_init): upd.
6505 (createAccessibleEventListener),
6506 (AccessibleEventListener_addCallback),
6507 (createAccessibleKeystrokeListener),
6508 (AccessibleKeystrokeListener_addCallback): upd.
6510 * libspi/deviceeventcontroller.c
6511 (spi_device_event_controller_check_key_event): add public proto.
6514 (impl_accessibility_registry_deregister_global_event_listener):
6515 always init listeners.
6516 (_registry_notify_listeners): yes it is.
6518 * cspi/spi-listener-impl.c (cspi_key_event):
6520 (cspi_event_listener_finalize): impl.
6521 (cspi_event_listener_class_init): hook up.
6522 (event_handler_new, event_handler_free),
6523 (event_list_remove_by_callback): impl.
6524 (cspi_event_listener_remove_callback),
6525 (cspi_keystroke_listener_remove_callback),
6526 (cspi_keystroke_listener_add_callback),
6527 (cspi_event_listener_add_callback): upd.
6529 * libspi/keystrokelistener.c
6530 (keystroke_listener_object_finalize): kill
6531 (spi_keystroke_listener_class_init): upd.
6532 (spi_keystroke_listener_add_callback),
6533 (spi_keystroke_listener_remove_callback): kill,
6535 (impl_key_event): prune drasticaly.
6537 * libspi/eventlistener.c
6538 (spi_event_listener_add_callback),
6539 (spi_event_listener_remove_callback): kill, use
6541 (impl_accessible_event_notify_event): upd.
6542 (spi_event_listener_object_finalize): remove.
6544 * libspi/Makefile.am: use eventlistener.[ch]
6546 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6548 * libspi/registry.c (_registry_notify_listeners):
6549 Changed listener loop iteration to use preferred convention.
6550 Got rid of string memory leaks caused be calling g_strconcat
6551 inside function calls.
6553 * libspi/registry.c (parse_event_type):
6554 Stopped g_strconcat memory leaks, free the g_strsplit return,
6555 g_strdup the split pieces when used, etc.
6557 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6560 Change method 'compare' to return a 'difference set' rather than
6561 taking a StateSet as an out parameter (more Java-friendly).
6563 * idl/Accessible.idl:
6564 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6566 * idl/Component.idl:
6568 Changed methods 'getExtents' and 'getImageExtents' in these
6569 interfaces to return a BoundingBox structure.
6570 (getPosition and getSize are redundant and possibly should be
6571 removed, rather than creating a corresponding Point struct.)
6573 * cspi/spi_component.c:
6574 Modify implementation of getExtents to reflect the above IDL
6579 Add (missing) AccessibleImage_getExtents () API.
6581 * docs/reference/cspi/at-spi-cspi-sections.txt:
6582 Added AccessibleImage_getImageExtents () to docs.
6584 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6586 * idl/Component.idl:
6587 Added two methods, getLayer () and getMDIZOrder (), to reflect
6588 the new ATK methods atk_object_get_layer and
6589 atk_object_get_mdi_z_order. (Which arguably should be part of the
6590 AtkComponent API and AtkObject). Also added an enum,
6591 ComponentLayer, for the first method's return value.
6593 * libspi/component.c:
6594 Added implementations for these methods.
6596 * cspi/spi_component.c:
6598 Added cspi binding methods for above,
6599 AccessibleComponent_getLayer() and
6600 AccessibleComponent_getMDIZOrder().
6601 Added cspi enum 'AccessibleComponentLayer'.
6603 * docs/reference/cspi/at-spi-cspi-sections.txt:
6604 Added above methods to docs.
6608 Changed typedef for 'boolean' type (and all references to it) to
6609 SPIBoolean, to avoid keyword clashes with C++.
6612 Changed usages of 'boolean' to SPIBoolean.
6614 * test/keysynth-demo.c:
6615 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6616 app), except where SPIBoolean is required by the callbacks API.
6618 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6620 * cspi/spi_registry.c:
6621 Removed obsolete X event loop for passive keygrabs (which now
6624 * registryd/registryd.c:
6625 Removed unnecessary call to gdk_init() [cruft]. This also allows
6626 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6629 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6631 * docs/reference/cspi:
6632 Included docs for SPI_freeString in generated documentation.
6635 Renamed spi_freeString to SPI_freeString, for consistency. Added
6636 documentation for this function.
6639 Renamed spi_freeString to SPI_freeString, for consistency.
6640 Removed obsolete method declaration string_from_corba_string.
6642 * test/keysynth-demo.c:
6643 Small tweak to comments.
6646 Stopped leaking the strings returned from CSPI.
6648 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6650 Merged Michael's branch (see his ChangeLog entries below).
6652 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6653 bridge is alive, release on exit.
6655 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6656 Fix type check macro.
6659 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6662 Added is_gnome_app static, and method cspi_is_gnome_app(),
6663 so we can call the appropriate shutdown routine at exit in SPI_exit.
6665 * cspi/spi_main.c (cspi_object_ref):
6666 Duplicate the corba object passed in, since we're keeping it around.
6668 * cspi/SPI_exit.c, cspi_cleanup:
6669 Moved the releasing of the live refs to its own function, so we
6670 can put it in g_atexit (). Call the appropriate shutdown API
6671 depending on whethe calling client is a gnome app or not
6672 (bonobo_main_quit or CORBA_ORB_shutdown).
6674 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6675 Unref the listener when this method is called, after
6676 deregistration. Updated the API docs to note this behavior.
6678 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6679 Bugfixes: Ref the bonobo object when returning a parent or child
6680 reference, or an AccessibleRelation. Generally made sure
6681 BonoboObject refcount is incremented whenever we return an
6684 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6685 Fixed typo/bug in signal declaration.
6687 * libspi/accessibleeventlistener.h:
6690 * libspi/application.c (spi_application_new):
6691 Fixed leak in initialization.
6694 Remembered to increment bonobo-object refcount when returning
6695 children (applications) from desktop object.
6696 Added (empty) finalize method.
6698 * libspi/deviceeventcontroller.c:
6699 Hold a ref to listeners inside DEControllerKeyListeners.
6700 Added dec_key_listener_free() method. Use prepend instead of
6701 append in key_listener list. Fixed some refcount madness and
6702 leaks in the listener registration/deregistration - deregistration
6703 now calls dec_key_listener_free() on listeners, and on the
6704 temporarily constructed dec_key_listener() used to perform the search/match.
6706 * libspi/hypertext.c (spi_hypertest_finalize):
6707 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6708 class. Also fixed spi_hypertext_interface_new() and
6709 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6711 * libspi/hypertext.h:
6712 Removed pointless and duplicate AtkObject pointer from
6715 * libspi/keystrokelistener.c:
6716 Fixed incorrect type of keystroke_listener_parent_class,
6717 renamed keystroke_listener_object_finalize to
6718 spi_keystroke_listener_object_finalize.
6719 Fixed typo in signal declaration
6720 (spi_keystroke_listener_class_init).
6722 * libspi/registry.c:
6723 Added funcsions spi_listener_struct_new() and
6724 spi_listener_struct_free() to help with memory management issues.
6725 We also now use these methods instead of gnew + poking stuff into
6726 the struct, and to decrement listener counts/free the listeners
6727 when deregistering them.
6728 Fix more refcount bugs in getDesktop() and
6729 getDeviceEventController().
6732 De-ref the desktop after enumerating the applications. Explicitly
6733 decrement the refcounts on the created listeners on exit (using
6734 _unref for keystroke listeners, and via the
6735 deregisterGlobalEventListenerAll command for other event
6738 2001-11-27 Michael Meeks <michael@ximian.com>
6740 * cspi/spi-listener.h: fixup enum.
6742 2001-11-27 Michael Meeks <michael@ximian.com>
6744 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6745 (cspi_keystroke_listener_new): Use the cspi variants.
6747 2001-11-26 Michael Meeks <michael@ximian.com>
6749 * test/keysynth-demo.c: fix 2 compile warnings, missing
6752 * test/simple-at.c (report_focussed_accessible),
6753 (report_focus_event, report_button_press),
6754 (check_property_change, is_command_key),
6755 (report_ordinary_key_event, report_command_key_event): upd.
6757 * util/mag_client.h: include pre-requisites.
6759 * libspi/accessibleeventlistener.c
6760 (spi_event_listener_object_finalize): free any lingering
6763 * libspi/keystrokelistener.c
6764 (keystroke_listener_object_finalize): ditto.
6766 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6767 callbacks, with cspi types.
6769 * cspi/spi_event.c (createAccessibleEventListener): chain to
6770 (AccessibleEventListener_addCallback): here.
6771 (createAccessibleKeystrokeListener): chain to
6772 (AccessibleKeystrokeListener_addCallback): here.
6774 * libspi/keystrokelistener.c
6775 (spi_keystroke_listener_class_init): add signal.
6776 (impl_key_event): emit the event.
6777 (boolean_handled_accumulator): impl.
6778 (marshal_BOOLEAN__POINTER): add, gack.
6780 * libspi/accessibleeventlistener.c
6781 (spi_event_listener_class_init): add signal.
6782 (impl_accessible_event_notify_event): emit the signal &
6783 make the loop efficient.
6784 (spi_event_listener_add_callback): prepend the callback.
6786 * libspi/accessibleeventlistener.h: add an 'event' signal,
6787 decl type on callback.
6789 * libspi/keystrokelistener.h: ditto.
6791 * cspi/spi-listener.h: make methods typesafe and
6792 make them use the new event typedefs.
6794 * test/simple-at.c (report_focussed_accessible):
6795 include mag_client.h
6796 Use *(void *)text_interface not the other thing.
6798 * configure.in: add gtk to registryd bits - since we use
6801 * util/magnifier.c: include libbonobo.h
6803 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6805 * test/keysynth-demo.c:
6806 Turned this into a simple scanning keyboard, to demonstrate the
6807 use of g_timeout_add () as a means of creating timers for
6808 scanning, and the use of GtkStyle for visually indicating when
6809 virtual keyboard elements are selected.
6811 keysynth-demo now listens to any keyboard keys with zero-valued
6812 keycodes (i.e. 'unused' keys) and interprets them as
6815 Reworked the shiftlatch code so that shift-down state isn't held
6816 for long periods (it's only synthesized immediately prior to
6817 the keysynth event it's modifying). Note that shiftlatch in this
6818 demo is a convenience, not intended to take the place of AccessX
6819 which is the better choice for getting 'sticky' modifier keys.
6821 * libspi/deviceeventcontroller.c:
6822 * at-bridge/bridge.c:
6823 * cspi/spi_registry.c:
6824 Removed some debug print stuff, and put other verbosity in #ifdef
6829 Implemented some more of the magnifier IDL for the simple
6830 magnifier: namely, getZoomRegionParams.
6831 Added mag_x and mag_y members to MagnifierData struct, aid of this
6833 Added GtkWindow::realize signal handler to magnifier, to keep it
6834 from receiving keyboard focus from the WM.
6836 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6838 * cspi/spi-private.h: my guess at what michael forgot
6839 before he ran off to NZ :-)
6841 2001-11-23 Michael Meeks <michael@ximian.com>
6843 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6844 comment out non existant method invoke so we link.
6846 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6847 use bonobo_exception_get_text for more friendly warnings.
6849 * cspi/spi.c (Obj_Add): move into spi_main & rename
6850 spi_object_add; kill spi.c
6852 * cspi/spi_registry.c
6853 (deregisterGlobalEventListener),
6854 (deregisterGlobalEventListenerAll),
6855 (registerGlobalEventListener): fix exception leaks.
6857 * cspi/spi_main.c (spi_exception): impl. helper, so we
6858 don't leak exceptions.
6860 * cspi/spi_selection.c
6861 (AccessibleSelection_deselectSelectedChild): return the
6864 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6865 (spi_registry): ditto.
6866 (SPI_init): guard against double inits.
6868 * cspi/*.c: use spi_ev (), and spi_registry () where
6869 appropriate - a temporary hack until we have something
6870 better. Use spi_object_add
6872 2001-11-22 Michael Meeks <michael@ximian.com>
6874 * cspi/Makefile.am: re organise, install the headers.
6876 * cspi/*.h: add G_BEGIN/END_DECLS
6878 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6881 Added non-preemptive keylistener for key events with no modifiers
6882 and shift-only modifier.
6884 * libspi/keystrokelistener.c:
6885 Removed some verbose diagnostics printout.
6887 * cspi/spi_registry.c:
6888 Fixed a bug that caused all key listeners to be registered as
6891 * libspi/deviceeventcontroller.c:
6892 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6893 for non-preemptive key masks.
6896 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6898 * docs/reference/idl/at-spi-idl-docs.sgml:
6899 * docs/reference/idl/at-spi-idl-sections.txt:
6900 * docs/reference/idl/at-spi-idl-overrides.txt:
6901 Added missing files.
6903 * docs/reference/Makefile.am:
6904 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6905 to scan the IDL files :-(
6910 Added .cvsignore files.
6912 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6914 * libspi/deviceeventcontroller.c:
6915 * libspi/keystrokelistener.c:
6917 * cspi/spi_registry.c:
6918 Added filters for KeySets, KeyEventSeq, and event types to key
6919 event dispatching, so listeners should only receive those events
6920 that they requested :-)
6922 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6927 * docs/reference:Makefile.am:
6928 * docs/reference/cspi:
6929 * docs/reference/cspi:Makefile.am:
6930 * docs/reference/cspi:tmpl:
6931 * docs/reference/cspi:tmpl:*.sgml:
6932 * docs/reference/idl:
6933 * docs/reference/idl:Makefile.am:
6934 * docs/reference/idl:at-spi-idl-sections.txt:
6935 * docs/reference/idl:at-spi-idl-docs.sgml:
6936 * docs/reference/idl:tmpl:
6937 * docs/reference/idl:tmpl:*.sgml:
6939 Restructured docs directory to allow separate 'reference' docs
6940 section, and forked idl and cspi docs. Added the sgml template
6941 files to CVS. Added the first sections/structural sgml for the
6944 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6946 * configure.in, libspi/Makefile.am: find libXtst.
6948 2001-11-21 Michael Meeks <michael@ximian.com>
6950 * test/accessx-gui.c: s/spi_value/value/ - doh.
6952 * libspi/base.[ch]: add.
6954 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6956 * idl/Accessible.idl:
6957 * idl/Application.idl:
6960 Started gtk-doc cleanup on IDL.
6962 * libspi/deviceeventcontroller.c:
6963 Added and connected non-preemptive key notification from the
6964 toolkits (in addition to the pre-emptive support from XServer
6965 which we had before, but which causes 'focus flashing'). Filters
6966 are presently limited to key modifiers and global/non-global,
6967 KeySets are presently ignored, as are KeyEvent masks.
6969 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6970 structs into the persistant structure rather than just storing
6971 pointers to things that might not persist across servant
6974 The XGrabKey call now does async keygrabs, because synchronous
6975 ones were deadlocking with GDK_event code in a very nasty way.
6977 Added boolean to internal method notify_keylisteners, to indicate
6978 whether the event came from the 'toolkit source' or the 'global
6979 (XServer) source' - this is used in the notification process to
6980 determine which listeners to send the event to.
6982 deviceeventcontroller.c is now warning-free.
6984 * libspi/registry.c:
6985 Fixed regression in application de-registration.
6986 Also fixed some really brain-dead weirdness having to do with
6987 event dispatching - event structs are now duplicated before being
6988 re-marshalled in the dispatch to listeners. This also fixes a
6989 Solaris build problem.
6992 2001-11-20 Michael Meeks <michael@ximian.com>
6995 (impl_accessibility_registry_deregister_global_event_listener):
6998 * libspi/deviceeventcontroller.c
6999 (spi_device_event_controller_check_key_event): return
7000 FALSE on no virtual method.
7002 * libspi/*..h: make includes work on a correctly pathed install.
7004 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7006 * libspi/application.h: kill unused ( and whacked out )
7007 gboolean *spi_application_set_id (AtkObject *app, long id);
7009 2001-11-20 Michael Meeks <michael@ximian.com>
7011 * libspi/*.[ch]: further convert to bonobo's type func
7012 macros, remove redundnant casts etc.
7014 * libspi/text.c s/accessibility_text/spi_text/g,
7015 re-order to de-cruft.
7017 * libspi/hypertext.c: re-order to kill a huge slew
7018 of redundant forward decls.
7020 * libspi/relation.c: ditto.
7022 * libspi/image.c: ditto.
7024 * */.cvsignore: update
7026 2001-11-20 Michael Meeks <michael@ximian.com>
7028 * libspi/deviceeventcontroller.c
7029 (_controller_register_with_devices): use g_getenv,
7030 kill stdlib.h include.
7032 * libspi/keystrokelistener.c
7033 (spi_keystroke_listener_get_type): kill
7034 (spi_keystroke_listener_class_init),
7035 (spi_keystroke_listener_init): rename to this.
7037 * libspi/text.c (impl_getAttributes): fix warning / bug.
7039 * libspi/*.[ch]: more headers, includes and over commenting.
7041 2001-11-20 Michael Meeks <michael@ximian.com>
7043 * libspi/*.[ch]: fixup headers, includes and over commenting.
7045 * libspi/image.c (impl__get_imageDescription): const
7046 correctness warning fix. remove redundant casting.
7048 * libspi/table.c (impl_getRowDescription): ditto.
7049 (impl_getColumnDescription): ditto.
7051 * libspi/libspi.h: add.
7053 2001-11-19 Michael Meeks <michael@ximian.com>
7055 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7057 * libspi/component.c (accessibility_component_get_type):
7058 rename to (spi_component_get_type): and macroify.
7059 (accessibility_component_init): rename to
7060 (spi_component_init): this
7061 (accessibility_component_class_init): rename to
7062 (spi_component_class_init): this
7064 * libspi/action.c (spi_action_get_type): kill, use the macro.
7066 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7069 * libspi/application.c (spi_application_object_event_listener),
7070 (impl_accessibility_application_register_object_event_listener):
7071 warning fixes / const understanding updates.
7073 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7076 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7078 * libspi/spi_accessible.c: Added docs and C bindings for
7079 AccessibleStateSet. (No implementations yet). Documentation
7080 coverage for C bindings now 100%. Made docs for event listeners
7085 boolean notifyListenersSync (in DeviceEventListener listener,
7086 in DeviceEvent event);
7088 oneway void notifyListenersAsync (in DeviceEventListener listener,
7089 in DeviceEvent event);
7091 Added DeviceEventListener and DeviceEvent structs (may deprecate
7092 KeyStroke and KeystrokeListener in favor of this generic
7093 event/listener framework for devices).
7095 * libspi/deviceeventcontroller.c:
7097 Changed some key listener code to take masks, etc., and paved the
7098 way for integration of toolkit/non-preemptive key events. Changed
7099 signatures of some internal methods.
7101 * at-bridge/bridge.c:
7102 Fixed regression connecting to interface signals, apparently
7103 caused by GTK+ changes.
7105 Added an internal bridge_state_listener to deal with
7106 property-change:accessible-state signals.
7108 Changed the key_listeners GList to store structs (including masks,
7109 etc.) instead of just CORBA_Objects (required for full
7110 implementation of key listener API).
7112 Connected the bridge to all currently supported Atk signals.
7113 Events now supported:
7114 object:property-change
7115 object:property-change:accessible-name
7116 object:property-change:accessible-state
7117 object:property-change:accessible-description
7118 object:property-change:accessible-parent
7119 object:property-change:accessible-value
7120 object:property-change:accessible-role
7121 object:property-change:accessible-table-caption
7122 object:property-change:accessible-table-column-description
7123 object:property-change:accessible-table-column-header
7124 object:property-change:accessible-table-row-description
7125 object:property-change:accessible-table-row-header
7126 object:property-change:accessible-table-summary
7127 object:children-changed
7128 object:visible-data-changed
7129 object:selection-changed
7130 object:text-selection-changed
7132 object:text-caret-moved
7134 object:row-reordered
7136 object:column-inserted
7137 object:column-reordered
7138 object:column-deleted
7139 object:model-changed
7141 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7143 * libspi/hyperlink.c,h:
7144 Fixed some broken stuff in hyperlink.
7146 * libspi/relation.h:
7147 * libspi/relation.c:
7148 * cspi/spi_accessible.c:
7149 Initial implementations of AccessibleRelation methods, and docs.
7151 * libspi/accessible.c:
7152 Fixed a bug that caused SEGV if an accessible
7153 object's description is NULL, and a client
7154 requests it. An empty string is now returned.
7156 * cspi/spi_editabletext.c:
7157 * cspi/spi_hypertext.c:
7159 * cspi/spi_hyperlink.c:
7163 Doc coverage now 95%.
7165 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7167 One last namespacing revision:
7168 * libspi/accessibleeventlistener.[ch]:
7169 Renamed SpiAccessibleEventListener to SpiEventListener,
7170 (no need for two namespaces ;-)
7172 And lots of documentation fixes:
7174 * docs/at-spi-docs.sgml:
7175 Fixed 'underscore vs. hyphen' bug that was preventing
7176 the gtk-doc API docs from being automatically generated.
7179 * cspi/spi-listener.h
7181 * cspi/spi_accessible.c
7183 * cspi/spi_application.c
7184 * cspi/spi_component.c
7185 * cspi/spi_editabletext.c
7187 * cspi/spi_hypertext.c
7189 * cspi/spi_registry.c
7190 * cspi/spi_selection.c
7194 * docs/at-spi-docs.sgml
7195 * docs/at-spi-sections.txt
7197 Added and fixed up gtk-doc documentation in cspi.
7199 Interfaces now (fully) documented (subject to revision and enhancement):
7201 Event Listener Support
7203 AccessibleApplication
7207 AccessibleEditableText
7214 AccessibleRelationSet
7219 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7221 * at-bridge/bridge.c:
7222 Initial work for toolkit-level key snooper connection by bridge.
7227 New typedefs and fixes to support new namespacing, and cleaner
7228 separation of cspi bindings from libspi bonobo implementation.
7229 Removed inconsistent and extraneous Spi* namespace prefix that
7230 had crept into cspi headers.
7231 Lots of comment fixes that sed had missed.
7233 * cspi/spi-roletypes.h:
7234 * cspi/spi-statetypes.h:
7235 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7236 to AccessibleRoleType.
7238 * libspi/accessibleeventlistener.h:
7239 Fixed minor namespacing weirdness.
7241 * libspi/deviceeventcontroller.c:
7242 Reordered some internal API for device listeners.
7243 Changed the key registry final boolean to 'is_system_global'
7244 rather than 'is_synchronous', which is more descriptive of its
7246 Added spi_device_event_controller_new().
7247 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7249 * libspi/keystrokelistener.[ch]:
7250 Namespaced KeystrokeListener to SpiKeystrokeListener.
7251 Changed uses of keymasks to use SPI_ prefix, and did other
7254 * libspi/keymasks.h:
7255 Namespaced keymask constants with SPI_ prefix.
7257 * libspi/registry.c:
7258 Some warning fixes, and knock-on fixes from namespace changes.
7261 Added rules for accessx-gui test program.
7263 * test/accessx-gui.c:
7264 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7265 utility. It doesn't actually use at-spi, but it's still cool and
7268 * test/keysynth-demo.c:
7272 Fixes so that these test clients work properly with the namespaced
7273 libraries. (Incompletely tested for technical reasons, fixes may follow)
7276 2001-11-13 Michael Meeks <michael@ximian.com>
7278 * libspi/application.c
7279 (impl_accessibility_application_get_version),
7280 (impl_accessibility_application_get_toolkit_name):
7282 (impl_accessibility_application_set_id),
7283 (impl_accessibility_application_get_id): remove
7284 redundant casting code.
7286 * libspi/action.c (impl_getDescription): fix warnings.
7288 * libspi/accessible.c
7289 (impl_accessibility_accessible_get_parent),
7290 (impl_accessibility_accessible_get_child_at_index),
7291 (impl_accessibility_accessible_get_state),
7292 (impl_accessibility_accessible_get_relation_set):
7293 warning fixes & include action.h
7295 2001-11-13 Michael Meeks <michael@ximian.com>
7297 * *.[ch] fix bits I screwed up:
7299 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7300 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7302 2001-11-13 Michael Meeks <michael@ximian.com>
7304 * *.[ch] Namespace libspi into spi_ and Spi.
7306 2001-13-11 Michael Meeks <michael@ximian.com>
7308 * Makefile.am: dist & install at-spi-1.0.pc
7310 * libspi/Makefile.am: install into at-spi-1.0
7312 * idl/Makefile.am (idldir): install into at-spi-1.0
7314 * at-spi-1.0.pc.in: add.
7316 * configure.in: build it.
7318 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7320 * test/keysynth-demo.c:
7321 Use a 'realize' signal-handler to set the WM properties for
7322 the virtual keyboard, rather than making it a "POPUP" type
7323 override-redirect window (thanks to anders carlsson for that
7326 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7329 * test/keysynth-demo.c:
7330 Added new test of key synthesis, which creates a simple
7331 (mouse-operated) onscreen keyboard. It inserts key events into
7332 the currently-focused window, thus it does not grab keyboard focus
7335 * cspi/spi_registry.c:
7336 Added C binding for AT-SPI generateKeyEvent.
7338 * libspi/deviceeventcontroller.c:
7339 Added call to XFilterEvent so that key listener works with XIM (we
7340 hope). Added event_synth_type to generateKeyEvent, so that we can
7341 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7342 synthesize a press/release pair for KeySyms.
7344 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7346 * libspi/Makefile.am:
7347 * registryd/Makefile.am:
7348 (temporary) hack to include libXtst in libspi and registryd.
7349 (Needed for keystroke synthesis, see below).
7352 Improved API for registerKeystrokeListener, in accordance with
7353 discussions with Gnopernicus team and X server research.
7355 * libspi/registry.c:
7356 * libspi/deviceeventcontroller.c:
7357 * libspi/accessible.c:
7358 * libspi/keystrokelistener.c:
7359 Changes and fixes to support keylisteners for potentially
7360 consumed key events (that is, 'passive grabs').
7361 Added implementation for generateKeyEvent() [untested].
7364 Changes to registerKeystrokeListener() API, as above.
7365 Added deregisterGlobalEventListenerAll(), and
7366 deregisterKeystrokeListener(), which are needed for clean exit of
7368 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7369 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7371 * cspi/spi_registry.c:
7372 Added implementations of function prototypes mentioned above.
7374 * registryd/registryd.c:
7375 Added the key listener event source as a g_timeout(), to allow
7376 receipt of key events that are not caught by GDK (since GDK
7377 doesn't support passive keygrabs, this was necessary).
7380 Changed to attach a keylistener to 'Alt' keys, and
7381 respond to the following keycommands: Alt-M (toggle magnifier);
7382 Alt-F (toggle speech); Alt-Q (quit).
7383 Added an exit routine to deregister the listeners, and a key
7384 listener that prints some key info to the console when a key
7385 matches the listener mask (and is thus received by the listener).
7387 * util/idl/Magnifier.idl:
7388 Changes to magnifier API to support multiple zoom regions,
7389 non-uniform scaling in x and y, markDirty, and a host of other
7390 features that would be useful to magnification.
7393 * util/mag_client.c:
7394 * util/mag_client.h:
7395 * util/mag_control.c:
7397 Source code changes to support the above IDL changes.
7400 As above, and also changes to use a (slower) generic conversion
7401 path for colormap conversions, since the fast RGB conversions have been
7402 reported to fail for 16-bit displays.
7404 2001-10-26 Michael Meeks <michael@ximian.com>
7406 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7408 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7410 * at-bridge/Makefile.am: fix LDFLAGS.
7412 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7414 * at-bridge/bridge.c:
7415 Re-worked listeners for toolkit events, now we have signal
7416 and property listeners. Added a private method
7417 register_atk_event_listeners(), which registers with the
7418 various atk and gtk signals we need to monitor in order to emit
7420 Added emission hook for AtkObject:property-change events, to
7421 support the 'property listeners'.
7422 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7425 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7426 which emit warnings and exit, respectively, if CORBA errors occur
7427 during remote calls, and we now use these methods to check most of
7428 our CORBA calls in the C bindings.
7430 * cspi/spi_accessible.c:
7431 Changed AccessibleSelection_refSelectedChild() to
7432 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7433 now increment refcounts.
7435 * cspi/spi_component.c:
7436 Fixed some long pointer casts (dangerous!) to pass pointers to
7437 CORBA_longs of the proper type to the CORBA stubs, and copy the
7438 data into the longs that were passed into the C bindings code.
7440 * at-bridge/bridge.c:
7442 * libspi/accessible.c:
7443 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7444 hyperlinks, AtkHyperlink is an object type.
7446 * libspi/application.c:
7447 Added various conversions to and from "generic" event types and
7448 atk-specific types; this is really part of the 'bridge'
7449 implementation but is valid for all AtkObject-based accessibility
7452 * libspi/editabletext.c:
7453 Fixed nasty bug wherein editable text's finalize method was
7454 unref'ing tha AtkObject reference that the text parent class was
7455 about to unref _again_. There was also a nasty inheritance bug
7456 that meant that the AccessibleEditableText class was corrupt.
7458 * libspi/selection.c:
7459 Provided implementations for some selection API that was broken.
7461 * idl/Application.idl:
7462 Added registerObjectEventListener () method.
7465 Fixed a number of return values that were Bonobo_Unknowns from
7466 bonobo_object_corba_objref(), which I
7467 forgot to dup before returning. Changed instances of
7468 bonobo_object_corba_objref (bonobo_object(o)) to
7469 BONOBO_OBJREF(o), for concision and clarity.
7471 2001-10-13 Louise Miller <louise.miller@sun.com>
7473 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7474 idl/Event.idl, idl/Registry.idl
7475 Changed these files to include Bonobo_Unknown.idl instead
7478 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7480 * libspi/component.c libspi/component.h:
7481 Fixed typo. Added assertions for object checks in
7482 AccessibleComponent code.
7484 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7486 * idl/Accessible.idl:
7487 Added 'isEqual (Accessible *object)'
7488 method for Accessible. (Not Yet Implemented).
7491 Changed signature of registerKeystrokeListener() to
7492 take a KeySet and KeyEventSeq so that specific keys and event
7493 types could be requested for monitoring, and added a flag
7494 is_synchronous so that either synchronous or asynchronous
7495 notification could be requested. (However this is not all
7496 implemented yet). This also meant adding two new typedefs,
7497 KeyEventSeq and KeySet.
7500 Added two new relations, RELATION_TOOLTIP_FOR and
7501 RELATION_LEAFNODE_OF.
7504 Added new state, STATE_HAS_TOOLTIP.
7506 * libspi/text.c, editabletext.c:
7507 Added new assertions to all casts of bonobo-objects from
7508 CORBA servants, to prevent Text API calls on non-text objects.
7509 Changed suspect casts of int-pointer types, so that we
7510 always send a valid CORBA_long pointer to the CORBA APIs that use
7511 in/out long parameters. We then have to copy from the CORBA_long
7512 into the regular long or int for return to the C bindings, or
7513 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7516 * libspi/deviceeventcontroller.c:
7517 Cleaned these sources up.
7519 Changed return type for getCharacterAtOffset to
7520 CORBA_unsigned_long, to allow for 32-bit characters.
7523 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7527 Fixed 'make dist' so that distro compiles...
7528 * libspi/keymasks.h:
7530 * cspi/spi-listener.c:
7531 KeystrokeListenerCB now returns a boolean.
7533 Added KeyEventType struct, and KeyStroke.
7534 Also added createKeystrokeListener(),
7535 KeystrokeListener_addCallback(),
7536 KeystrokeListener_removeCallback(), and added a keymask to
7537 registerKeystrokeListener().
7538 * cspi/spi_accessible.c:
7539 Changed numerous return types for interfaces from
7540 AccessibleComponent to Accessible<InterfaceName>; this was
7541 probably a cut-and-paste error.
7543 Implementations of new KeystrokeListener api (from spi.h,
7546 Changes to key modifier mapping.
7547 Created ControllerEventMask struct.
7548 Made DeviceEventController derive from Bonobo::Unknown.
7550 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7551 * libspi/deviceeventcontroller.c:
7552 Added a number of new internal (private) methods.
7553 * libspi/editabletext.c:
7554 * libspi/editabletext.h:
7555 Fixed a number of bugs related to the fact that
7556 editabletext inherits from text. Fixed the EditableText struct,
7557 the init() call, and use correct casts when calling Text methods
7558 from an EditableText object. Removed (duplicate) atko from the
7559 EditableText structure, we use the one in the parent Text
7560 structure via the casts mentioned above.
7561 * libspi/keystrokelistener.[ch]:
7562 * libspi/registry.c:
7563 Changes in support of keyboard handling (above).
7565 Keyboard handling, though partly functional, is still not
7566 recommended for at-spi client use as there is considerable
7567 work yet to be done.
7570 Changed some places where pointers to various int types
7571 are cast to be pointers to CORBA_long types and vice-versa:
7572 pointer casting is not safe so we pass pointers of the correct
7573 types and then cast the result before putting it into the target
7576 * libspi/text.h: minor typos corrected.
7578 We now speak not only the name of a Text element, but the
7579 first sentence of its content, when it receives focus.
7580 I also changed the text compression to 75% from 50%.
7581 * util/Accessibility_Util.server.in:
7582 Changed the default magnifier type to be a 3x vertical
7583 splitscreen magnifier (was previously a 2x horizontal one).
7585 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7587 * libspi/keystrokelistener.h:
7588 * libspi/keystrokelistener.c:
7589 Initial functional implementations of KeystrokeListener.
7592 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7594 Fixed string handling for NULL strings in libspi.
7595 Added spi_freeString to free strings returned by C bindings.
7597 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7599 * libspi/keystrokelistener.h:
7600 * libspi/keystrokelistener.c:
7601 Began (no-op) implementations of KeystrokeListener
7603 * libspi/deviceeventcontroller.c:
7604 * libspi/deviceeventcontroller.h:
7605 Began creating implementations of DeviceEventController,
7606 to handle keystroke and mouse event listening and
7608 * libspi/accessible.c:
7609 Stubbed-in the implementations for
7610 Accessibility_Accessible_getState and
7611 Accessibility_Accessible_getRelationSet.
7612 * libspi/registry.c:
7613 Improved de-registration process and fixed some bugs,
7614 deregistration now works correctly.
7616 Added initialization of applications list (to NULL).
7618 Reduced speech compression from 0.5 to 0.7, for demo.
7619 Changed call to gdk_window_set_decorations()
7620 to gtk_window_set_decorated().
7621 * at-bridge/bridge.c:
7622 Bridge now deregisters when app exits, via
7623 registration of a cleanup function
7624 with the g_atexit() call.
7625 Required making 'app' static, renamed 'this_app'.
7626 Fixed broken use of bonobo_init, passing argv wrongly.
7628 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7632 Created a new directory for
7633 accessibility-related utilities, primarily for
7634 testing and demo purposes, but with possible
7641 Onscreen magnifier utility that
7642 is implemented as a bonobo service.
7644 * util/mag_client.c:
7645 * util/mag_client.h:
7646 Client-side support (simple C bindings)
7647 for Magnification service
7649 * util/mag_control.c:
7650 Client program example for
7651 Magnification service
7653 * util/Accessibility_Magnifier.server.in:
7654 Bonobo-activation file for the
7655 Magnification service.
7658 * util/idl/Magnifier.idl:
7659 IDL defining the bonobo Magnification
7663 Modifications to use the bonobo-activated magnifier
7664 above, in place of trying to connect to an existing
7665 magnifier that uses socket-listening IPC.
7667 If env variable MAGNIFIER is set, a magnifier service
7668 will be started if one does not exist.
7670 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7672 * at-bridge/bridge.c:
7673 applied patch from Marc to build and run
7674 against new glib and gtk+ (seemed like a change
7675 to bonobo_init signature was made ?)
7677 made festival-server support turned off by default.
7678 Added support for a simple magnifier (off by default)
7679 which will be added to a 'util' directory later.
7680 * at-bridge/Makefile.am:
7681 Changed "application.h" header from a 'source'
7682 to a 'dependency' of libat-bridge.
7684 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7693 Added interface implementation c files to list of
7694 includes so they are included in libcspi.
7697 Changed prototype of AccessibleAction_doAction to return a
7699 Changed prototype of AccessibleTable_getCaption to
7700 return an Accessible.
7701 Changed prototype of AccessibleTable_getSelectedRows
7702 and AccessibleTable_getSelectedColumns to
7703 return a long (returns the number of selected rows
7704 or columns respectively).
7705 Changed name of AccessibleText_refRunAttributes to
7706 AccessibleText_getAttributes.
7707 Changed prototype of AccessibleText_getCharacterExtents to
7708 return a void rather than a boolean.
7709 Added support for a AccessibleCoordType parameter
7710 specifying what type of coordinates are desired.
7711 Added an AccessibleCordType parameter to
7712 AccessibleText_getPointAtOffset.
7714 * cspi/spi_accessible.c:
7715 Added code to return the outstanding interfaces from
7716 Accessible_queryInterface.
7718 * cspi/spi_action.c:
7720 Corrected call to getNActions to call the c binding
7723 * cspi/spi_editabletext.c:
7725 Changed name from setRunAttributes to setAttributes.
7727 * cspi/spi_hyperlink.c:
7729 Changed call to getNAnchors to correctly call the c
7730 binding for an attribute.
7732 * cspi/spi_hypertext.c:
7734 Changed getImageDescription to correctly call the
7735 binding for an attribute.
7737 * cspi/spi_selection.c:
7738 Changed getNSelectedChildren to correctly call the c
7739 binding for the attribute.
7740 Changed refSelectedChild to getSelectedChild.
7744 Changed getCaption to return an Accessible.
7745 Fixed calls which retrieve attributes.
7746 Changed refAt to getAccessibleAt.
7747 Changed getNSelectedRows and getNSelectedColumns to
7751 Changed getCharacterExtents and getPointAtOffset to accept an
7752 AccessibleCoordType.
7754 Changed calls which retrieve attributes.
7755 Changed refRunAttributes to getAttributes.
7760 * idl/Hyperlink.idl:
7761 Changed n_anchors attribute to nAnchors to keep naming
7762 convention consistent.
7765 Made Table inherit from Bonobo::Unknown.
7766 Added nSelectedColumns and nSelectedRows attributes.
7769 Made Value inherit from Bonobo::Unknown.
7771 * libspi/hyperlink.c:
7772 Change for nAnchors attributte name change.
7774 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7782 Added interface implementation c files to list of
7783 includes so they are included in libcspi.
7786 Changed prototype of AccessibleAction_doAction to return a
7788 Changed prototype of AccessibleTable_getCaption to
7789 return an Accessible.
7790 Changed prototype of AccessibleTable_getSelectedRows
7791 and AccessibleTable_getSelectedColumns to
7792 return a long (returns the number of selected rows
7793 or columns respectively).
7794 Changed name of AccessibleText_refRunAttributes to
7795 AccessibleText_getAttributes.
7796 Changed prototype of AccessibleText_getCharacterExtents to
7797 return a void rather than a boolean.
7798 Added support for a AccessibleCoordType parameter
7799 specifying what type of coordinates are desired.
7800 Added an AccessibleCordType parameter to
7801 AccessibleText_getPointAtOffset.
7803 * cspi/spi_accessible.c:
7804 Added code to return the outstanding interfaces from
7805 Accessible_queryInterface.
7807 * cspi/spi_action.c:
7809 Corrected call to getNActions to call the c binding
7812 * cspi/spi_editabletext.c:
7814 Changed name from setRunAttributes to setAttributes.
7816 * cspi/spi_hyperlink.c:
7818 Changed call to getNAnchors to correctly call the c
7819 binding for an attribute.
7821 * cspi/spi_hypertext.c:
7823 Changed getImageDescription to correctly call the
7824 binding for an attribute.
7826 * cspi/spi_selection.c:
7827 Changed getNSelectedChildren to correctly call the c
7828 binding for the attribute.
7829 Changed refSelectedChild to getSelectedChild.
7833 Changed getCaption to return an Accessible.
7834 Fixed calls which retrieve attributes.
7835 Changed refAt to getAccessibleAt.
7836 Changed getNSelectedRows and getNSelectedColumns to
7840 Changed getCharacterExtents and getPointAtOffset to accept an
7841 AccessibleCoordType.
7843 Changed calls which retrieve attributes.
7844 Changed refRunAttributes to getAttributes.
7849 * idl/Hyperlink.idl:
7850 Changed n_anchors attribute to nAnchors to keep naming
7851 convention consistent.
7854 Made Table inherit from Bonobo::Unknown.
7855 Added nSelectedColumns and nSelectedRows attributes.
7858 Made Value inherit from Bonobo::Unknown.
7860 * libspi/hyperlink.c:
7861 Change for nAnchors attributte name change.
7864 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7866 implementations-- made server implementations own AtkObject pointers
7867 rather than their respective AtkInterrface pointers to fix
7868 refcounting. AtkHyperlink is still broken.
7870 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7871 * cspi/spi_accessible.c:
7872 Added method Accessible_Role_getName(),
7873 and requisite string array (role_names).
7874 Added conversion string_from_corba_strin() call
7875 to Accessible_getName and _getDescription.
7876 * libspi/accessible.c:
7877 Added implementation for Accessible_getRole()
7879 Added festival support, used if environment variable
7882 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7884 * at-bridge/bridge.c:
7885 Now allocate Accessibility_Event using
7886 Accessibility_Event__alloc() instead of g_new0().
7887 * libspi/accessibleeventlistener.c:
7888 Initialize AccessibleEventListener->callbacks to NULL.
7889 Fixed accessible__event_listener_init() param, changed to
7890 "AccessibleEventListener *" type.
7891 Changed a bonobo_object_release_unref() call to
7892 Accessibility_Accessible_unref().
7893 * libspi/listener.c:
7894 Changed Bonobo_Unknown_unref to (equivalent)
7895 Accessibility_Accessible_unref.
7896 * libspi/registry.c:
7897 Changed bonobo_object_release_unref to
7898 Accessibility_Accessible_unref.
7900 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7903 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7904 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7905 spi-util.c spi-util.h
7906 Implementations for C bindings to remaining accessibility
7909 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7912 changed return value of Action from void to boolean to
7913 bring in line with ATK.
7916 Changed getText funcions to return "out" start and end offsets.
7917 Changed getAttributes to take and offset and return the start
7918 and end offset of the attribute run.
7919 Changed getOffsetAtPoint and getCharacterExtents to take an
7920 enum describing whether coordinates are window or screen.
7923 libspi/action.c libspi/action.h libspi/editabletext.c
7924 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7925 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7926 libspi/image.h libspi/selection.c libspi/selection.h
7927 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7928 libspi/value.c libspi/value.h
7929 Added server implementations for outstanding ATK interfaces
7930 not yet implemented.
7932 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7935 Added (missing) getName() method.
7936 Made nActions an attribute.
7937 * idl/EditableText.idl:
7938 Changed order of params in setAttributes.
7939 * idl/Hyperlink.idl:
7940 Removed getAnchor, added getURI.
7942 Changed attributes to methods, for efficiency
7943 (so that getting extents can be done in one call)
7944 * idl/Selection.idl:
7945 Changed nSelectedChildren to attribute, and re-indented.
7946 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7948 * idl/Text.idl: reformatted to match our coding style.
7949 (temporarily?) removed getRowColumnAtOffset().
7950 Changed text selection API to support multi-select and
7951 non-contiguous selections, as in ATK.
7952 * idl/Value.idl: changed some methods to attributes.
7954 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7956 * libspi/listener.c(impl_notify_event):
7957 BonoboUnkown_unref the source instead
7958 of bonobo_object_release_unref - the ORB
7959 handles the releasing.
7961 * configure.in: require ORBit-2.3.94 for
7964 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7966 Tagged CVS repository 'EA_1_0'.
7967 * README.EARLY_ACCESS:
7968 Alphabetized acknowledgements list, and
7970 Listed some known dependencies of at-spi.
7972 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7974 * docs/at-spi-docs.sgml:
7975 * docs/at-spi-sections.txt:
7976 * docs/at-spi-overrides.txt: (Added zero-length file)
7977 Documentation improvements - gtk-doc should build
7978 docs for all implemented C bindings now.
7981 * cspi/spi.c: (New file)
7982 * cspi/spi_event.c: (New file)
7983 * cspi/spi_registry.c: (New file)
7984 * cspi/spi_accessible.c: (New file)
7985 * cspi/spi_application.c: (New file)
7986 * cspi/spi_component.c: (New file)
7987 Split spi_main.c into six parts, and included them from
7988 "spi.c". This is a bit of a hack, probably temporary,
7989 but required by gtk-doc, apparently.
7991 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7994 * docs/at-spi-docs.sgml:
7995 * docs/at-spi-sections.txt:
7997 Initial checkins/modifications for gtk-doc generation.
8000 Added (missing) interface query methods to Accessible's C binding.
8002 Added GenericInterface type definition.
8004 Added query for AccessibleComponent interface to focus event handler.
8005 Added printout of bounding box for focussed component.
8006 * libspi/component.c:
8007 Added partial implementation for AccessibleComponent to C binding.
8008 * idl/Application.idl:
8009 * libspi/registry.c:
8010 * libspi/listener.c:
8011 * libspi/application.c:
8012 * libspi/application.h:
8013 Changed "ID" attribute type from string to long.
8015 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8019 Made method naming consistent: methods taking object args
8020 start with uppercase, other methods (except those using
8021 acronyms) start with lowercase. Underscores delimit between
8022 object names and method names:
8023 SPI_init() - uppercase since it starts with an acronym.
8024 getDesktopCount () - lowercase start since no object param0.
8025 Accessible_getName() - uppercase object type name, studlyCaps method
8029 Added gtk-doc documentation for all currently implemented
8030 methods in the C bindings API.
8032 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8034 * Makefile.am : changed build order to build test last.
8037 Changed "createEventListener" to "CreateEventListener".
8038 * libspi/accessibleeventlistener.c :
8039 Bugfix for addition of callbacks.
8040 * test/Makefile.am :
8041 * test/simple-at.c :
8042 Added new test that uses the C bindings API.
8044 * libspi/listener.c :
8045 * libspi/registry.c :
8046 * libspi/accessibleeventlistener.c :
8047 * at-bridge/bridge.c :
8048 Renamed member "target" of Accessibility_Event to "source",
8049 which is more descriptive.
8052 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8056 * cspi/Makefile.am :
8057 Added makefile support for at-spi/cspi directory.
8060 * cspi/spi-listener.h : (NEW FILE)
8061 Added support for/use of spi-listener.h.
8063 C bindings now build successfully, with no warnings.
8064 * libspi/accessibleeventlistener.h : (NEW FILE)
8065 * libspi/accessibleeventlistener.c : (NEW FILE)
8066 * libspi/Makefile.am :
8067 Added new object type "AccessibleEventListener"
8068 which inherits from Listener, and allows attachment
8069 of in-process callbacks (so that a client with a listening
8070 object instance can add functionality to the local
8071 implementation, dynamically).
8073 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8075 * libspi/accessible.c:
8076 Add implementation for get_index_in_parent().
8078 Added #include of "spi-roletypes.h", and
8079 added enumerated type AccessibleCoordType.
8080 Added definition for KeystrokeListener (function type).
8083 * cspi/spi-statetypes.h :
8084 * cspi/spi-roletypes.h :
8086 Added these headers, used by spi.h.
8088 Added code (NOTE: not yet built by make).
8090 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8092 * libspi/Makefile.am: generate imodule
8093 at the same time as other idl compiler
8096 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8097 * libspi/registry.c :
8098 * libspi/application.c :
8099 * idl/Application.idl :
8100 Made registration with toolkit an application method,
8101 which is required since each app has its own toolkit static
8102 environment. Thus the bridge must register for
8103 notification of toolkit events from each application in turn.
8104 Toolkit notifications are now successfully registered for, and
8105 sent to the listening at client.
8107 Changed toolkit event string to use hyphens rather than underscores.
8108 * libspi/listener.c :
8109 listner now gives more info in debug mode - it reports the
8110 name of the event received, as well as the name of the source.
8113 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8115 * libspi/registry.c :
8116 added more implementation for toolkit events.
8117 Fixed bug such that toolkit event registrations
8118 (via atk) use the whole event name string, not
8120 Removed a useless call to an ORBit_ method.
8121 * at-bridge/bridge.c :
8122 Removed unused local sbuf[] variable.
8124 We now register for Gtk:GtkWidget:button_press_event
8125 events as well as "focus:" events.
8127 Add some more API from Registry.idl that was missing,
8128 for keystroke listening, keystroke and mouse event
8129 synthesis, and enumeration of accessible desktops.
8131 2001-08-16 Michael Meeks <michael@ximian.com>
8133 * configure.in: use AM_GLIB_GNU_GETTEXT.
8135 * Makefile.am (SUBDIRS): kill intl.
8137 2001-08-15 Michael Meeks <michael@ximian.com>
8139 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8141 * configure.in: upd.
8143 * configure.in: depend on a recent bonobo-activation that
8144 will find our server files ...
8146 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8148 * libspi/accessible.c : accessible_new() :
8149 Now we add the Component interface via bonobo_object_add_interface,
8150 if the contained AtkObject implements AtkComponent.
8151 * libspi/accessible.h : now include "component.h"
8152 * libspi/component.h :
8153 * libspi/component.c : added files - implementation of
8154 bonobo wrapper object for Accessibility/Component
8155 * libspi/listener.c :
8156 Added test code to check for Accessibility/Component:1.0
8157 interface and report whether it is implemented by the
8159 * libspi/registry.c :
8160 Now we check for not only the hash of the whole event
8161 string before relaying the event, we also check the
8162 "minor" event string (without the detail string).
8163 This allows event listeners to be registered against
8164 all events of a certain major+minor type, or just
8165 against a specific major+minor+detail type.
8166 * libspi/accessible.c :
8167 Added implementations for Accessible:get_parent(),
8168 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8169 * libspi/registry.c :
8170 * libspi/listener.c :
8171 Replaced calls to Accessibility_Accessible_ref() and
8172 Accessibility_Accessible_unref() with
8173 calls to bonobo_object_dup_ref() and
8174 bonobo_object_release_unref(), so that the CORBA object
8175 is dup-ed and released when relayed, as well as the bonobo object.
8177 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8179 * libspi/Makefile.am,
8180 registryd/Makefile.am,
8181 at-bridge/Makefile.am.
8182 test/Makefile.am, configure.in:
8183 reverse previous changes.
8185 * /idl/Image.idl: fix typo.
8187 * test/Makefile.am: put DEBUG_FLAGS
8190 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8192 * test/app.c: use argv[0] instead of
8195 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8197 * libspi/Makefile.am,
8198 registryd/Makefile.am,
8199 at-bridge/Makefile.am.
8200 test/Makefile.am, configure.in:
8201 cleanup, replace individual LIBS/CFLAGS with
8202 AT_COMMON_{LIBS|CFLAGS}.
8206 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8208 * configure.in, libspi/Makefile.am:
8209 Change IDL path checking for bonobo-activation
8212 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8214 * registryd/registry.c : separated event listeners to use
8215 3 separate lists (focus, window, toolkit). Began testing
8216 event names against hashes before relaying events.
8217 * test/at.c : now register for events of type "focus:"
8218 * test/app.c : now generate events of type "focus:"
8219 * at-bridge/bridge.c : register with ATK for focus events,
8220 and we now relay those focus events to any "focus:" listeners.
8221 This now works with the bridge as a GTK_MODULE when running test/at.
8222 * libspi/registry.c :
8223 * libspi/listener.c :
8224 now we ref event sources before propagating, and unref on receipt.
8225 * libspi/registry.c :
8226 some changes to internal structs, to support event typestring hashes.
8227 * text/app.c : changed the way the appname is generated.
8228 * cspi : added directory that will hold the C bindings library for
8229 non-CORBA/bonobo-savvy clients.
8230 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8231 * idl/Component.idl : added in parameter to indicate coord system for
8232 geometry-related calls.
8233 * idl/Hyperlink.idl : added readonly n_links attribute
8234 * idl/Image.idl : changed methods to attributes.
8236 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8238 * at-bridge/Makefile.am: link against
8239 ../libspi/libspi.la instead of -lspi.
8241 * at-spi/test/app.c: include
8242 bonobo-activation.h. Use a default appname
8243 if one is not provided.
8245 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8247 * idl/Registry.idl : temporarily changed register_Application
8248 to oneway, to work around issue with initial registration
8250 * idl/Application.idl : changed attribute "id" from readonly
8251 to read-write, since it needs to be assigned by Registry.
8252 * registryd/registryd.c : added call to set application id
8254 * registryd/registry.c : changed de-registration procedure to
8255 use CORBA_Object_hash() to find matching object ref in application
8256 lists and listener lists.
8257 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8258 began distinguishing between event types (work in progress).
8260 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8263 * libspi/application.c:
8264 Added implementations for get/set id, get_toolkitName,
8266 * registryd/registryd.c :
8270 Converted from use of OAF to bonobo-activation.
8271 * libspi/desktop.h :
8272 * libspi/desktop.c :
8274 Removed references to atksimpleobject, since base atkobject
8275 implementation now provides functionality we need.
8276 * libspi/atksimpleobject.c :
8277 * libspi/atksimpleobject.h :
8282 * at-bridge/Makefile.am
8283 * at-bridge/bridge.c
8286 Added directory "bridge" and contents, and added dependencies
8287 in Makefile.am/configure.in.
8288 Initial checkin of "at-bridge".
8289 This code is a GTK_MODULE which automatically registers
8290 GTK+ apps with the accessibility registry, using an object
8291 reference to the root ATK object.
8293 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8295 * po/Makefile.in.in: Remove. Again. If this
8296 doesn't get autogenerated - you need to update
8299 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8301 * po/Makefile.in.in: Add. Again.
8303 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8305 * libspi/accessible.c : added support for 'description' property.
8306 * libspi/accessible.c
8308 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8309 (since the two are now equivalent in libbonobo)
8317 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8318 Bonobo::Unknown as does Accessibility::Accessible.
8319 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8320 interface with Bonobo::Stream, since it was redundant with it.
8321 (The Stream returned by a StreamableContext object is expected to
8322 implement only a subset of Bonobo::Stream)
8324 2001-07-28 Anders Carlsson <andersca@gnome.org>
8326 * libspi/accessible.c (accessible_object_finalize): Change
8327 g_free to g_object_unref since the AtkObject is a GObject.
8329 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8331 * idl/Accessibility.idl: add new IDL files
8334 * idl/Action.idl: Definitions of actionable UI object
8335 * idl/Component.idl: Definitions of UI component geometry, etc.
8336 * idl/Hyperlink.idl: Defs of hyperlink behavior
8337 * idl/Image.idl: Def of accessible image
8338 * idl/Selection.idl: Definition of UI object with selectable children
8339 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8340 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8341 * idl/Text.idl: Interface defs for UI elements with complex textual content
8342 * idl/Value.idl: Definition of UI element that is a value controller or display
8344 2001-07-27 Michael Meeks <michael@ximian.com>
8346 * po/Makefile.in.in: remove autogenerated file from CVS.
8348 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8351 * idl/Registry.idl: include guard.
8353 * idl/Accessibility.idl: Add, and include all the other IDL
8356 * idl/*.idl: remove mass of pragmas etc.
8358 2001-07-26 Michael Meeks <michael@ximian.com>
8360 * registryd/Makefile.am (registryd_SOURCES): remove
8363 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8365 * libspi/.cvsignore, registryd/.cvsignore,
8366 test/.cvsignore: updated.
8368 * po/Makefile.in.in: gettext update.
8370 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8372 * initial CVS checkin
8374 2001-06-29 Michael Meeks <michael@ximian.com>
8376 * configure.in: add AM_CONFIG_HEADER to gen config.h