1 2007-07-09 Li Yuan <li.yuan@sun.com>
3 * configure.in, README, NEWS:
6 2007-07-09 Li Yuan <li.yuan@sun.com>
8 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
9 Bug #446277. Control the ref_count to 1, so Orca can unref the
10 state_set and avoid the memory leak.
12 2007-06-26 Li Yuan <li.yuan@sun.com>
14 * atk-bridge/Makefile.am:
15 Bug #450897. Set logging domain.
16 * registryd/registry.c: (parse_event_type):
18 Handle the "document:" signal, set the type to
21 2007-06-04 Li Yuan <li.yuan@sun.com>
23 * configure.in, README, NEWS:
24 Uprev/release 1.19.3 for GNOME 2.19.3.
26 2007-05-30 Willie Walker <william.walker@sun.com>
28 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
29 439436 to add pyatspi to autotools stuff so it gets installed as
30 part of a make install.
32 2007-05-17 Li Yuan <li.yuan@sun.com>
35 Bug #439057. Add the original PATH to PATH.
37 2007-04-23 Li Yuan <li.yuan@sun.com>
40 Uprev/release 1.19.1 for GNOME 2.19.1.
42 2007-04-18 Li Yuan <li.yuan@sun.com>
44 * pyatspi/__init__.py:
45 * pyatspi/accessible.py:
46 * pyatspi/constants.py:
48 * pyatspi/registry.py:
50 Bug #430938. Add some files to create the uniform Python
53 2007-04-12 Li Yuan <li.yuan@sun.com>
55 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
56 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
57 Fix #427836. Fix leak and unify the code style.
59 2007-04-12 Yi Jin <yi.jin@sun.com>
61 * atk-bridge/bridge.c:
62 (spi_atk_bridge_focus_tracker):
63 Bug #428007. Fix a memory leak.
65 2007-04-02 Ariel Rios <ariel@gnu.org>
67 Implement the Matchrule interface required for Collection.
73 * cspi/spi_accessible.c: (Accessible_isCollection),
74 (Accessible_isMatchRule), (Accessible_getCollection),
75 (Accessible_getMatchRule):
76 * cspi/spi_collection.c: new file.
77 * cspi/spi_matchrule.c: new file.
78 * idl/Accessibility.idl:
79 * idl/Accessibility_Collection.idl: new file.
82 * libspi/collection.c: new file.
83 * libspi/collection.h: new file.
85 * libspi/matchrule.c: new file.
86 * libspi/matchrule.h: new file.
88 2007-03-29 Ariel Rios <ariel@gnu.org>
90 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
92 2007-03-22 Li Yuan <li.yuan@sun.com>
94 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
95 main context. Fix for #329454.
97 2007-03-12 Li Yuan <li.yuan@sun.com>
99 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
101 2007-03-02 Li Yuan <li.yuan@sun.com>
103 * atk-bridge/bridge.c
104 (spi_atk_bridge_register_application),
105 (deregister_application), (spi_atk_bridge_focus_tracker),
106 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
107 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
108 to prevent calling threads_enter/leave during the init and shutdown.
110 2007-02-27 Li Yuan <li.yuan@sun.com>
113 (spi_re_entrant_list_delete_link):
114 Bug #412286. Reverse previous patch.
115 * configure.in, NEWS: Uprev/release 1.17.2.
117 2007-02-26 Li Yuan <li.yuan@sun.com>
119 * libspi/accessible.c:
120 (impl_accessibility_accessible_get_attributes),
121 (impl_accessibility_accessible_get_relation_set):
122 Bug #404584 and #401299. Return an empty object instead of return NULL.
123 * configure.in, NEWS: Uprev/release 1.17.1.
125 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
127 * Makefile.am: Dist MAINTAINERS.
129 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
131 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
132 (atk_bridge_init), (spi_atk_bridge_get_registry),
133 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
134 Fix some compiler warnings and plug a leak. Closes part of
137 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
139 * cspi/bonobo/cspi-bonobo-listener.h:
140 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
141 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
142 * cspi/spi_main.c: (SPI_eventIsReady):
143 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
144 * libspi/streamablecontent.c:
145 * libspi/util.c: (spi_re_entrant_list_delete_link):
146 * login-helper/login-helper.c:
147 * registryd/deviceeventcontroller.c:
148 (spi_controller_update_key_grabs), (isEvent):
149 * registryd/registry.c:
150 * test/key-listener-test.c: (simple_at_exit):
151 * test/login-helper-server-test.c: (test_set_wm_dock),
153 Fix a bunch of warnings from sparse:
154 - ANSIfication of function declarations
156 - Add some prototypes
157 - make some stuff static
159 2007-02-14 Li Yuan <li.yuan@sun.com>
161 * libspi/accessible.c:
162 (impl_accessibility_accessible_get_attributes):
163 Bug #404584. If there is no attributes, just return NULL.
165 2007-02-12 Li Yuan <li.yuan@sun.com>
167 * configure.in, NEWS: Uprev/release 1.17.0.
169 2007-02-12 Li Yuan <li.yuan@sun.com>
171 * atk-bridge/bridge.c:
172 (atk_bridge_init): bug #400709. we must emit events even if we are not
173 registered as a full-fledged app.
174 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
175 application like openoffice shutdown. They need to unload gtk before
176 the is spi_atk_bridge_exit_func called.
178 2007-01-22 Li Yuan <li.yuan@sun.com>
180 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
182 2007-01-22 Li Yuan <li.yuan@sun.com>
184 * cspi/bonobo/cspi-bonobo.c:
185 (cspi_get_registry_ior), (cspi_init):
186 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
188 2007-01-19 Li Yuan <li.yuan@sun.com>
190 * atk-bridge/bridge.c:
191 (atk_bridge_init), (spi_atk_bridge_register_application),
192 (deregister_application), (spi_atk_bridge_focus_tracker),
193 (spi_atk_emit_eventv):
194 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
197 2007-01-08 Li Yuan <li.yuan@sun.com>
199 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
201 2007-01-08 Li Yuan <li.yuan@sun.com>
203 * registryd/registry-main.c:
204 (main): set registry ior only when register server successfully.
205 * atk-bridge/bridge.c:
206 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
207 Bug #372988, #381670. Fix memory leak.
209 2007-01-02 Bill Haneman <billh@gnome.org>
212 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
213 appending default attributes to a text attribute set.
216 2006-12-28 Li Yuan <li.yuan@sun.com>
218 * atk-bridge/bridge.c:
219 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
220 the second time, because spi_atk_emit_eventv will free any. Bug
223 2006-12-15 Li Yuan <li.yuan@sun.com>
225 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
227 2006-12-14 Li Yuan <li.yuan@sun.com>
230 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
231 (spi_atk_bridge_property_event_listener),
232 (spi_atk_bridge_signal_listener):
233 Free some CORBA objects to fix memory leak and crash.
235 2006-12-13 Li Yuan <li.yuan@sun.com>
237 Patch from Ariel Rios to fix #163132 and #377079.
238 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
239 (spi_atk_bridge_get_registry_ior):
240 Use g_warning instead of g_error and g_critical to avoid crash.
242 2006-12-11 Bill Haneman <bill.haneman@sun.com>
245 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
246 if there are no non-default attributes defined at the current offset.
249 2006-12-04 Bill Haneman <bill.haneman@sun.com>
251 * idl/Accessibility_Role.idl: Fixed the documentation for
252 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
254 2006-12-04 Bill Haneman <bill.haneman@sun.com>
256 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
258 2006-11-07 Bill Haneman <bill.haneman@sun.com>
260 Patches from Padraig O'Briain for bugs #361386 and #369377.
262 * registryd/registry.c:
263 (struct NotifyContext): Change the e_out
264 member from an Accessibility_Event struct to a pointer to
266 (notify_listeners_cb): Modify to use the new struct definition above.
267 Allows use of ORBit_copy_value instead of CORBA_any__copy.
269 * registryd/deviceeventcontroller.c:
270 (spi_dec_button_update_and_emit): Free the event's any_data
272 (spi_dec_mouse_check):Free the event details any struct
274 (spi_device_event_controller_forward_mouse_event): Free any.
275 (spi_device_event_controller_forward_key_event): Ditto.
277 2006-11-07 Bill Haneman <bill.haneman@sun.com>
279 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
280 Don't require gtk+ and gail for building most of at-spi
283 * registryd/registry-main.c (main): We now get te value of display
284 using the env var DISPLAY rather than using the gdk_display_get_default
285 to avoid dependancy of gdk. Also, once the registry is started, we set
286 the ior of the registry as an X property.
287 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
289 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
290 the registration was successfull.
291 (spi_atk_bridge_do_registration): This function now returns success
292 or not on activating the registry.
293 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
294 has been set in the X root window and return it if available.
295 (spi_atk_bridge_get_registry): We now get the registry using the IOR
296 saved as a X property rather than using the OAFID.
298 2006-10-01 Bill Haneman <bill.haneman@sun.com>
300 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
302 2006-09-25 Bill Haneman <bill.haneman@sun.com>
304 * registryd/registry.c:
305 (desktop_remove_application): Don't pass a ref to the
306 dead application with the event, since it's probably
307 defunct and will cause SEGV if we try to unref,
308 extract app name, etc.
311 2006-09-20 Bill Haneman <bill.haneman@sun.com>
313 Patch from Neo Liu <nian.liu@sun.com>,
316 * atk-bridge/bridge.c:
317 (spi_atk_bridge_document_event_listener): New, for
320 2006-08-30 Bill Haneman <bill.haneman@sun.com>
323 Changed some parameter names so as not to
324 collide with class names - allows IDL to be compiled with
325 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
327 2006-08-22 Bill Haneman <bill.haneman@sun.com>
329 * atk-bridge/bridge.c:
330 (spi_atk_bridge_signal_listener):
331 Patch from Ginn Chen, assign detail1 in children-changed
332 so that the child object can be assigned to the Any when the
333 at-spi event is emitted. Bug #350552.
335 * libspi/application.c:
336 (spi_application_finalize): Remove g_print debug output.
339 2006-08-21 Bill Haneman <bill.haneman@sun.com>
341 * configure.in: Revved to AT-SPI 1.7.11.
343 * libspi/accessible.c:
344 (spi_accessible_new): Aggregate Hyperlink interface
345 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
347 * libspi/hyperlink.c:
348 (spi_hyperlink_new): Don't aggregate Action a second time if this
349 interface is created for an AtkHyperlinkImpl object (i.e. for a
350 child Accessible, as opposed to the Hyperlink instance from
352 (get_hyperlink_from_servant): Obtain the hyperlink from
353 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
355 Patch section from Ginn Chen...
357 * cspi/spi_accessible.c:
358 (_cspi_accessible_set_from_sequence):
359 Changed g_newa to g_new0 on Ginn Chen's suggestion.
361 * libspi/accessible.c:
362 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
363 (spi_accessible_new): Add the Document interface if present.
366 (impl_getAttributes): Fixed to use AtkAttribute properly.
369 (impl_getAttributes, impl_getDefaultAttributes):
370 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
372 2006-08-17 Bill Haneman <bill.haneman@sun.com>
374 * cspi/spi-private.h, cspi/spi_accessible.c:
375 (_cspi_attribute_set_from_sequence): Renamed from
376 cspi_attribute_set_from_sequence, to suppress export.
379 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
380 inline docs, which was keeping the doc from appearing.
381 (SPIExceptionHandler): Doc this.
383 * cspi/spi_document.c:
384 Added inline gtk-docs cut-n-pasted from the doxygen
385 docs in the corresponding IDL files.
386 (AccessibleDocument_getAttributes): Fix the retval here.
388 * cspi/spi_streamablecontent.c:
389 Fixed some 'Since' tags that were accidentally doxygen-style.
392 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
393 docs from the IDL file.
395 * docs/reference/cspi/at-spi-cspi-docs.sgml:
396 Added entities for Document and StreamableContent interfaces.
398 * docs/reference/cspi/at-spi-cspi-sections.txt:
399 Added some docs that were present inline but not getting
402 2006-07-31 Bill Haneman <bill.haneman@sun.com>
405 (impl_getRangeExtents): Use the atk_text_get_range_extents
406 API instead of looping over character bounds, now that
408 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
409 (_spi_text_bounds_contain): Remove, not needed anymore.
410 (_spi_text_rect_union): Remove, not needed anymore.
412 2006-07-31 Bill Haneman <bill.haneman@sun.com>
414 * atk-bridge/bridge.c:
415 (spi_atk_emit_eventv): Fix the CORBA_free call which was
416 causing 64-bit troubles and memory leaks.
417 Special thanks to Alexander Larsson who finally seems to
418 have tracked down the problem, not just here but in
422 (spi_init_any_object): Make sure we copy the CORBA value
423 when initializing an object for passing as a CORBA_Any.
426 2006-07-21 Bill Haneman <billh@gnome.org>
428 * idl/Accessibility.idl:
429 Reverted pragma changes, this broke the build in some envs
430 including the Debian team's build and some tinderbox builds.
432 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
435 Revved to 1.7.10, and edited the Xevie check (bug #319994).
437 * idl/Accessibility.idl:
438 Reworked inclusion of Bonobo_Unknown.idl, to
439 avoid double-linking libs in the Bonobo environment.
440 Thanks to Michael Meeks for the workaround, see bug #313122.
442 * registryd/deviceeventcontroller.c:
443 (spi_controller_notify_keylisteners):
444 Set the SPI_NUMLOCK_MASK bit if the modifier
445 corresponding to the conceptual numlock state is set.
448 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
450 * idl/Accessibility_Selection.idl:
451 (deselectChild): New method.
453 * libspi/selection.c:
454 (impl_deselectChild): Implement the new IDL method.
457 (AccessibleSelection_deselectChild): Added new method.
459 * cspi/spi_selection.c:
460 (AccessibleSelection_deselectChild): New method implemented.
462 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
464 * cspi/bonobo/cspi-bonobo.c:
465 (cspi_init): Replace g_error with g_warning, prevent
466 SEGV if the registry cannot be activated. Bug #346393.
468 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
470 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
472 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
473 2006-07-12 Ariel Rios <arios@us.ibm.com>
477 * idl/Accessibility_Table.idl:
478 (getRowColumnExtentsAtIndex): New method for getting
479 selection status and extents in one API call.
482 (impl_getRowColumnExtentsAtIndex): Implementation of
484 (spi_table_class_init): Add above to epv.
488 (AccessibleTable_getRowColumnExtentsAtIndex): New
489 method, retrieves selection status and row/col extents
490 for a table cell in a single API call.
492 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
493 2006-07-12 Ariel Rios <arios@us.ibm.com>
495 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
498 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
499 New bindings for new methods defined in idl and libspi.
502 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
503 Added prototype functions.
506 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
508 (spi_text_class_init): Added previous methods.
511 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
512 * libspi/spi-private.h: Corrections.
514 2006-06-29 Bill Haneman <bill.haneman@sun.com>
516 Added Document interface (see bug #326520),
517 with work from Ariel Rios <arios@us.ibm.com>.
519 * configure.in: Bump to 1.7.8.
521 * libspi/Makefile.am: Added document.[ch] to sources
524 (SpiDocument, SpiDocumentClass):
525 New interface implementation.
526 (spi_document_get_type, spi_document_construct)
527 (spi_document_interface_new): New methods added.
528 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
529 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
530 Added macros for SpiDocument
534 (spi_document_interface_new): Get a
535 new document interface. New.
536 (get_document_from_servant): Get an AtkDocument from servant New.
537 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
538 Implementation of methods defined on idl.
539 (spi_document_class_init, spi_document_init)
540 Init methods for SpiDocument. new
542 * idl/Accessibility.idl: Added Accessibility_Document.idl.
544 * cspi/Makefile.am: Added spi_document.c to sources.
546 * cspi/spi_document.c:
547 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
548 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
549 (AccessibleDocument_getAttributes): Bindings for methods defined
552 * cspi/spi_accessible.c:
553 (Accessible_isDocument, Accessible_getDocument) New.
555 (Accessible_isDocument, Accessible_getDocument)
556 (AccessibleDocument_ref, AccessibleDocument_unref)
557 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
558 (AccessibleDocument_getAttributes): Bindings added.
560 * idl/Makefile.am: Added Accessibility_Document.idl to
563 2006-06-29 Bill Haneman <bill.haneman@sun.com>
565 * idl/Accessibility_Document.idl: New interface
566 for complex documents. First stage of fix for RFE
569 2006-06-27 Bill Haneman <bill.haneman@sun.com>
571 * libspi/streamablecontent.c:
572 (impl_content_stream_close):
573 Unref the GIOChannel on close.
575 2006-06-23 Bill Haneman <bill.haneman@sun.com>
577 * idl/Accessibility_Role.idl:
578 * libspi/accessiblerole.c:
579 * cspi/spi_accessible.c: Added ROLE_LINK,
580 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
581 Bug #345758 and bug #140635.
584 2006-06-22 Bill Haneman <bill.haneman@sun.com>
588 * idl/Accessibility_StreamableContent.idl:
589 Fix derivation of StreamableContent and ContentStream.
591 * cspi/spi_streamablecontent.c:
592 (accessible_content_stream_client_read):
593 Fix the datatype of the content stream used.
594 Interpret short reads as EOF, and stop trying to
595 read when we've fulfilled the request.
596 (AccessibleStreamableContent_getContentTypes):
597 Use g_strdup, not CORBA_string_dup, for the strings.
598 (AccessibleStreamableContent_open):
599 Correctly use the new getStream method for opening,
600 not the deprecated getContent method.
601 Use the object reference as the stream hash key.
602 Make note of the 'one stream per client per streamable'
603 limitation in the docs.
606 Add streamablecontent.h to the list of #includes.
608 * libspi/streamablecontent.c:
609 (impl_content_stream_read): Initialize the GError.
610 Allocate the incoming buffer if reading a fixed length of
611 data. Use g_memmove instead of memcpy.
612 (impl_accessibility_streamable_get_content_types):
613 Init typelist->_maximum. Only allocate the buffer if
614 there is a non-zero number of content types available.
615 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
617 * libspi/streamablecontent.h:
618 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
621 (SPI_IS_VALUE): Fix a typo in this macro too.
623 2006-06-16 Bill Haneman <bill.haneman@sun.com>
627 * idl/Accessibility_StreambleContent.idl:
628 Deprecate the Bonobo_Stream-based methods in favor of
629 a self-contained "ContentStream" interface. This should
630 allow us to remove BonoboStream dependencies entirely, since
631 there were no non-NIL implementations of the old methods anyway.
632 (ContentStream): New interface.
633 (ContentStream::SeekType): Enum.
634 (ContentStream::seek): New.
635 (ContentStream::read): New.
636 (ContentStream::close): New.
637 (getContent): Deprecate.
638 (getURI): New method, returns a URI pointing to the content, if available.
640 * libspi/streamablecontent.c:
641 (SpiContentStream): Internal object type definition used to
642 implement Accessibility::StreamableContent::ContentStream via
643 AtkStreamableContent's GIOChannel back-end.
644 (spi_content_stream_new, spi_content_stream_dispose): See above;
646 (impl_content_stream_seek, impl_content_stream_read):
647 (impl_content_stream_close): New, implementations of
649 (impl_accessibility_streamable_get_stream): Implement the
650 public method Accessibility::StreamableContent::getStream.
651 (impl_accessibility_streamable_get_uri): Implement the
652 public method Accessibility::StreamableContent::getURI.
654 * cspi/spi_streamablecontent.c:
655 (accessible_bonobo_stream_client_seek): Replaced by
656 (accessible_content_stream_client_seek).
657 (accessible_bonobo_stream_client_read): Replaced by
658 (accessible_content_stream_client_read).
659 (AccessibleStreamableContent_open):
660 (AccessibleStreamableContent_seek):
661 (AccessibleStreamableContent_read):
662 (AccessibleStreamableContent_close): Use the new 'getStream'
663 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
665 2006-06-15 Bill Haneman <bill.haneman@sun.com>
667 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
668 remove from other .idl files (except LoginHelper).
671 2006-06-14 Bill Haneman <bill.haneman@sun.com>
673 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
676 * configure.in, */Makefile.am: mingw patch, modified from
677 original patch by yselkowitz. Bug #314216.
679 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
680 for completeness. Bug #163111.
682 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
683 * libspi/util.c, registryd/registry-main.c:
684 Fix guint/char* casts.
685 Patch from chpe, bug #333883.
687 2006-06-12 Bill Haneman <bill.haneman@sun.com>
689 * configure.in: Require atk-1.12.0, to pick up
690 new API. (bug #344412).
692 * libspi-1.0-uninstalled.pc.in:
694 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
695 Fix for #341488 from Samual Thibault.
697 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
698 Thanks to Brian Pepple.
700 2006-06-09 Bill Haneman <bill.haneman@sun.com>
703 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
704 New, missing implementations of attribute reading methods
707 * cspi/spi.h, spi_value.c:
708 (AccessibleValue_getMinimumIncrement): New methods wrapping
709 the (formerly unimplemented) property from Value.idl.
712 (impl_get_minimumIncrement): Implementation for retrieving
713 the minimum valuator increment, (formerly unimplemented).
716 2006-06-09 Bill Haneman <bill.haneman@sun.com>
718 * idl/Accessibility_State.idl:
719 Added STATE_VISITED (bug #338369).
721 * cspi/spi_accessible.c:
722 (spi_state_to_corba) Fixed marshalling of new statetypes.
725 (spi_init_state_tables, impl_getStates):
726 Fixed conversion of new statetypes to/from ATK.
728 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
730 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
731 definitions/conversions for new roles from ATK.
733 * idl/Accessibility_Relation.idl:
735 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
736 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
737 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
739 * libspi/accessible.c: Fixed marshalling of new role types from
742 2006-04-17 Matthias Clasen <mclasen@redhat.com>
744 * revert my previous change
746 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
748 * configure.in: Remove obssolete no_NO locale
749 * po/no.po: And the translation.
751 2006-04-05 Matthias Clasen <mclasen@redhat.com>
753 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
754 memory-management error that caused crashes on x86_64.
757 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
759 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
761 2006-03-27 Bill Haneman <bill.haneman@sun.com>
763 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
764 to strip "cspi_*" from the symbol table.
766 * cspi/spi_streamablecontent.c:
767 (get_streams): Make this method static.
770 (_cspi_exception_throw): rename to cspi_exception_throw,
771 so we can strip it with the rest...
774 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
776 2006-03-27 Bill Haneman <bill.haneman@sun.com>
778 Add doxygen-generated IDL docs to tarball, and enable
779 doxygen during build/install when available. Bug #301345.
781 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
783 * docs/reference/Makefile.am: Add idl to SUBDIRS.
785 * docs/reference/idl/Makefile.am: Optionally use
786 doxygen to create docs.
788 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
790 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
792 2006-03-20 Bill Haneman <bill.haneman@sun.com>
795 (impl_get_selected_rows): Don't free the selection if it's
796 empty or has not been assigned; init it to NULL so you can tell.
797 Also, allow for zero selected rows.
798 (impl_getSelectedColumns): Ditto. Bug #319088.
800 2006-03-11 Vincent Untz <vuntz@gnome.org>
802 Leak fix for bug #334217.
804 * libspi/application.c: spi_application_toolkit_event_listener():
805 don't duplicate the string we pass as an argument to
806 spi_init_any_nil() since spi_init_any_nil() already does it
807 * registryd/deviceeventcontroller.c:
808 (spi_dec_button_update_and_emit): ditto
809 (spi_dec_mouse_check): ditto
810 (spi_dec_emit_modifier_event): ditto
811 (spi_device_event_controller_forward_mouse): ditto
812 * registryd/registry.c:
813 (desktop_add_application): ditto
814 (desktop_remove_application): ditto
816 2006-02-20 Bill Haneman <billh@gnome.org>
818 * configure.in: Rev to 1.7.6.
820 Leak fixes for bug #331924.
822 * atk-bridge/bridge.c:
823 (spi_atk_bridge_init_base): Don't dup the string, it's already
824 been dup-ed. Fixes a leak.
825 (spi_atk_emit_eventv): Move the CORBA_free call here,
826 instead of spi_atk_state_event_listener; fixes another leak.
827 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
828 notifying the registry; fixes another leak.
830 * registryd/registry.c:
831 (registry_flush_event_queue): Free the CORBA_any when
832 flushing the event, not just the string. Fixes another leak.
833 (registry_queue_event): Free the CORBA_any when dropping
834 events on the floor; fixes another leak.
837 (spi_init_any_object, spi_init_any_nil):
838 Always set _release to TRUE. Fixes another leak.
840 2006-02-20 Bill Haneman <billh@gnome.org>
842 * configure.in: Rev to 1.7.5.
843 Reinstate localization of this module. Thanks for Rodney
844 Dawes for fixing my patch.
846 * registryd/Makefile.am: Remove Accessibility_Registry.server
847 from dist, since it needs to be re-created at configure time.
850 2006-01-31 Bill Haneman <billh@gnome.org>
852 * configure.in: Rev to 1.7.4 (to include build fix below).
854 * idl/Makefile.am: Include Selector.idl in dist.
858 (cspi_internal_event_get_object): Handle case where
859 "object" isn't present, i.e. CORBA_TC_Object doesn't match
860 the EventDetails data.
861 (cspi_internal_event_get_text): Handle NULL string.
862 (cspi_internal_event_get_rect): Handle missing/empty rect
863 data, Accessibility_TC_RectBounds doesn't match any_data.
865 2006-01-30 Bill Haneman <billh@gnome.org>
869 * atk-bridge/bridge.c:
870 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
871 interface and use that when instantiating a new source
872 accessible. Better fix for bug #321814.
874 2006-01-27 Bill Haneman <billh@gnome.org>
876 * idl/Accessibility_Selector.idl: Added to the cvs repository.
878 * configure.in: Revved to 1.7.3.
880 2006-01-17 Bill Haneman <billh@gnome.org>
882 * configure.in: Revved to 1.7.2, re-dist to include docs.
884 2006-01-09 Bill Haneman <billh@gnome.org>
886 * configure.in: Removed po/Makefile.in inclusion, we do not need
889 * idl/Accessibility.idl: Improved documentation here, and for all
890 IDL in the 'GNOME::Accessibility' namespace.
892 * idl/Accessibility_Accessible.idl:
893 (LOCALE_TYPE): Added enum.
894 (AttributeSet): New, for returning multiple name/value attribute pairs.
895 (RoleSet): New, sequence of Roles, to be used in upcoming
897 (getAttributes): New API, allows retrieval of name/value pair
898 annotations for all kinds of Accessible objects. C.f.
899 Text:getAttributes, which is only for typographic/textual/semantic tags in
901 (getApplication): New, retrieves the host/containing Application
902 instance for an object (without having to walk up the whole tree).
904 * idl/Accessibility_Component.idl:
905 (getAlpha): New method, returns the alpha blending (aka 'opacity')
906 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
909 * idl/Accessibility_Event.idl:
910 (EventDetails): New struct definition, for encapsulating
911 commonly-queried information about emitted events. The use of
912 this structure in emitted events (in the 'any' member of
913 Accessibility_Event) should greatly reduce the number of
914 client-server roundtrips necessary.
916 * idl/Accessibility_Image.idl:
917 (imageLocale): New, a readonly attribute indicating the POSIX
918 LC_MESSAGES locale of the image and associated Alt/descriptive
921 * idl/Accessibility_Relation.idl:
922 (RELATION_PARENT_WINDOW_OF): Include, as complement to
925 * idl/Accessibility_Role.idl:
926 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
927 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
928 complex document and form support.
930 * idl/Accessibility_State.idl:
931 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
932 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
933 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
934 for support of complex documents and forms.
936 * idl/Accessibility_StreamableContent.idl:
937 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
938 allow old bonobo-stream interfaces to be deprecated in the next
941 * idl/Accessibility_Text.idl:
942 (getAttributeValue): New method, allows query-by-name of single
945 * libspi/accessible.c:
946 Added support for new roles. Implemented new methods
947 (impl_accessibility_accessible_get_application): New
948 (impl_accessibility_accessible_get_attributes): New
950 * libspi/component.c:
951 (impl_accessibility_component_get_alpha): New.
954 (impl_accessibility_image_get_locale): New.
956 * libspi/relation.c: Added support for new relation type.
958 * libspi/stateset.c: Added support for new state types.
961 (impl_getAttributeValue): New.
964 New prototypes for private methods
966 spi_init_any_object, spi_init_any_string,
969 * libspi/spi_event.c:
970 Use EventDetails in the event emission methods.
972 * cspi/spi-private.h:
973 (cspi_role_from_spi_role): Expose this adapter method, since
974 we need it in the bridge (see below).
977 (AccessibleEvent_getSourceName):
978 (AccessibleEvent_getSourceRole):
979 (AccessibleEvent_getSourceApplication):
980 (AccessibleEvent_getSourceDetails):
981 New methods for interrogating/demarshalling
982 event details (i.e. source's accessible name, role,
985 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
986 Make use of the new EventDetails struct in events, if present.
987 (AccessibleEvent_getSourceName)
988 (AccessibleEvent_getSourceRole)
989 (AccessibleEvent_getSourceApplication)
990 (AccessibleEvent_getSourceDetails): Implement the newly exposed
992 (Accessible_getAttributes): New, wraps
993 Accessibility_Accessible_getAttributes.
994 (Accessible_getHostApplication): New, wraps
995 Accessibility_Accessible_getApplication.
998 (AccessibleImage_getImageLocale): New wrapper for
999 Accessibility_Image_get_imageLocale.
1001 * cspi/spi_component.c:
1002 (AccessibleComponent_getAlpha): New wrapper for
1003 Accessibility_Component_getAlpha.
1005 * atk-bridge/bridge.c:
1006 Use new prototyped for init_any methods.
1007 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1008 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1009 (spi_atk_bridge_init_base): Wrappers
1010 for spi_init_any_* methods, due to refactor; include extended
1011 information in the Accessibility_EventDetails struct, for instance
1012 accessible-name, Role, and containing Application.
1014 * registryd/registry.c:
1015 Use new event emission (with EventDetails).
1017 * registryd/deviceeventcontroller.c:
1018 Use new event emission (with EventDetails).
1020 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1022 * configure.in: Generate po/Makefile.in
1023 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1024 * cspi/spi_streamablecontent.c:
1025 (accessible_bonobo_stream_client_seek),
1026 (AccessibleStreamableContent_seek): Remove unused vars.
1027 * libspi/application.c: Missing header.
1028 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1029 * login-helper/login-helper.c: (login_helper_finalize),
1030 (login_helper_init): Remove unused stuff
1031 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1032 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1033 and surround some with #ifdef GRAB_BUTTON.
1034 * test/event-listener-test.c: (main), (report_event),
1035 (report_caret_event), (report_detail_event),
1036 (report_detail1_event), (report_bounds_event), (report_text_event),
1037 (report_text_selection_event),
1038 (report_active_descendant_changed_event),
1039 (report_children_changed_event), (report_name_changed_event),
1040 (report_description_changed_event), (report_parent_changed_event),
1041 (report_window_event), (report_table_summary_event),
1042 (report_table_header_event), (report_table_caption_event),
1043 (report_table_row_description_event),
1044 (report_table_column_description_event), (timing_test_event):
1045 Remove a bunch of unused variables and fix a slew of format specifiers
1046 * test/key-listener-test.c: (report_all_key_event): Format specifier
1047 * test/keypad-test.c: (print_key_event): Same
1048 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1050 * test/screen-review-test.c: (main), (print_chunk_debug),
1051 (review_buffer_get_text_chunk), (debug_chunk_list),
1052 (string_guess_clip), (text_chunk_get_clipped_string),
1053 (text_chunk_list_to_string), (get_screen_review_line_at):
1054 Remove unused variables and fix format specifiers.
1055 * test/simple-at.c: (report_text_event): Format specifier fix.
1056 * test/stress-test.c: (main): Remove unused var.
1058 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1060 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1061 (yes I know that's useless)
1063 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1065 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1067 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1069 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1070 urgh-fix embarassing typo.
1072 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1074 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1075 do a faster, less problematic _unref call on this local
1076 object, rather than a slower (potentially cross-thread
1077 complicated) CORBA call.
1079 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1081 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1082 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1083 * registryd/deviceeventcontroller.c:
1084 (spi_controller_notify_mouselisteners),
1085 (impl_generate_keyboard_event):
1086 * test/screen-review-test.c: (chunk_bounds_within):
1087 * test/test-simple.c: (test_desktop): Remove some unused code
1088 and fix compiler warnings. Closes bug #320049.
1090 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1092 * registryd/deviceeventcontroller.c:
1093 (spi_controller_notify_keylisteners): Check
1094 to make sure the event listener has requested 'preemptive'
1095 status before pre-empting an event.
1097 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1099 * configure.in, README, NEWS: Release 1.6.5.
1101 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1103 * test/window-listener-test.c: Fix a printf
1104 format error. (#169453)
1106 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1108 * tests/test-simple.c:
1109 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1110 relying on the old string from the key event hanging around after
1111 the event handler returns. Fixes broken 'make check'.
1113 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1115 * Added Marathi (mr_IN) translations.
1117 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1119 * cspi/bonobo/cspi-bonobo-listener.c:
1120 (cspi_event_list_remove_by_cb): Fix the build.
1122 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1124 * cspi/bonobo/cspi-bonobo-listener.c
1125 (cspi_event_list_remove_by_cb): actually filter by callback.
1127 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1129 * registryd/registry.c (remove_listener_cb):
1130 Make deregistration filter rules match the event emission rules.
1132 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1134 * registryd/registry.c (remove_listener_cb),
1135 (impl_accessibility_registry_deregister_global_event_listener),
1136 (impl_accessibility_registry_deregister_global_event_listener_all):
1137 pass a closure to the remove callback to filter listeners more
1138 accurately on remove.
1140 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1142 * configure.in: Revved to 1.6.4.
1143 Remember to put quotes around XEVIE_LIBS assignment.
1144 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1147 * tests/event-listener-test.c: Tweaked the tests - more detail
1148 from caret events, and some interrogation of AccessibleText APIs.
1149 Commented-out the bounds-changed events by default, since they can
1152 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1154 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1155 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1156 Same here. Closes bug #167806
1158 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1160 * atk-bridge/bridge.c:
1161 (spi_atk_bridge_signal_listener):
1162 Free the any._value if any._release is TRUE,
1163 since the ORB won't do it for us in this case
1164 [because this method is not a skel].
1165 Fix for bug #168679.
1167 2005-03-30 Steve Murphy <murf@e-tools.com>
1169 * configure.in: Added "rw" to ALL_LINGUAS.
1171 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1173 * configure.in: Improved check for HAVE_XEVIE, to detect
1174 presence on XOrg, where -lXevie is a separate library.
1176 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1178 * configure.in, NEWS, README: Revved to 1.6.3.
1180 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1182 * configure.in: Added "xh" to ALL_LINGUAS.
1184 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1186 * atk-bridge/bridge.c:
1187 (atk_bridge_init): Added missing NULL in g_strconcat(),
1188 also check for symlink before logging to
1189 insecure directory. Thanks to meissner@suse.de.
1191 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1193 * tests/login-helper-server-test.c: Add return call to main
1194 function. Patch from Chris Lahey. Fixes bug #165129.
1196 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1198 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1200 2004-12-09 Bill Haneman <billh@gnome.org>
1202 * registryd/registry-main.c:
1203 Added #define <string.h> for strrchr. (bug 160862).
1204 Thanks to Vincent Berger for catching.
1206 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1208 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1209 restart registry process if the registry process is found to have died
1210 and the current process is exiting.
1211 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1212 application if the registry process has died.
1213 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1214 does not return a registry object.
1215 (spi_atk_tidy_windows): Give up if the registry process has died.
1217 This fixes problems with hangs and crashes when logging out.
1219 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1221 * registryd/desktop.c: Add checking that we are not exiting before
1222 calling spi_desktop_remove_application in
1223 abnormal_application_termination. Fix for bug #152147.
1225 2004-12-02 Bill Haneman <billh@gnome.org>
1227 * configure.in, NEWS, README: Revved to 1.6.1.
1229 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1230 * atk-bridge/bridge.c:
1231 (atk_bridge_init): Save the pid when we start, to detect forks.
1232 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1233 if we're in a forked pid.
1235 2004-10-09 Bill Haneman <billh@gnome.org>
1237 * idl/Accessibility_LoginHelper.idl:
1238 Improved inline documentation.
1240 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1242 * configure.in: Added gl (Galician) to ALL_LINGUAS
1244 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1246 * libspi/accessible.c:
1247 (impl_accessibility_accessible_get_role_name),
1248 (impl_accessibility_accessible_get_local_role_name):
1249 NULL vs. 0 cleanups.
1250 * libspi/component.c:
1251 (impl_accessibility_component_get_accessible_at_point):
1253 * libspi/eventlistener.c: (spi_event_listener_new):
1255 * libspi/stateset.c: (impl_compare): More of the same
1256 * libspi/table.c: (impl_getRowDescription): Again.
1257 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1258 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1259 (impl_generate_keyboard_event): Same.
1260 * registryd/registry-main.c: (main): Same
1261 * test/event-listener-test.c: (test_exit): Same
1262 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1263 * test/keysynth-test.c: (test_key_synthesis): Same
1264 * test/login-helper-server-test.c: (main): Fix warning.
1265 * test/screen-review-test.c: (test_exit): Fix include.
1266 * test/simple-at.c: (simple_at_exit), (_festival_init):
1269 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1271 * configure.in, NEWS, README: Revved to 1.6.0.
1273 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1275 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1276 was missing the HTML docs.
1278 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1280 * configure.in: only cleanups:
1281 - better looking PKG_CHECK_MODULES() output,
1283 - declare in one common place required versions of other tools using
1286 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1288 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1289 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1290 required ATK version accordingly.
1292 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1294 * cspi/bonobo/cspi-bonobo.c:
1295 (cspi_display_name): Fix C99ism.
1296 * atk-bridge/bridge.c:
1297 (spi_display_name): Fix C99ism.
1298 Patch from Jens Granseuer, jensgr@gmx.net.
1300 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1302 * configure.in: Added "or" to ALL_LINGUAS.
1304 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1306 * configure.in, NEWS, README: Revved to 1.5.4.
1308 * registryd/registry-main.c:
1309 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1312 * cspi/bonobo/cspi-bonobo.c:
1313 (cspi_display_name): New convenience method, gets DISPLAY with
1314 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1315 (cspi_init): Set the activation env value above before getting
1318 * atk-bridge/bridge.c:
1319 (spi_display_name): Create the AT_SPI_DISPLAY activation
1320 environment for an app, based on the DISPLAY environment with the
1321 screen number stripped off.
1322 (atk_bridge_init): Allow redirection of error messages to a log.
1323 (spi_atk_bridge_get_registry): Call
1324 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1326 Fixes for bugs #149962, #136986, #144086.
1328 2004-08-16 Christian Rose <menthos@menthos.com>
1330 * configure.in: Added "bs" to ALL_LINGUAS.
1332 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1334 * configure.in: Added nb to ALL_LINGUAS.
1336 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1339 (SPI_init): Return error code '2' if the activated
1340 registry cannot be pinged. Fixes bug #147648.
1342 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1344 * registryd/deviceeventcontroller.c:
1345 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1346 rely on timer-poll instead, to avoid conflict with
1349 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1351 * configure.in: Revved to 1.5.3.
1353 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1355 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1357 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1359 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1361 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1363 * atk-bridge/bridge.c:
1364 (spi_atk_bridge_do_registration):
1365 Register with ATK for AtkComponent:bounds-changed events.
1366 (api_atk_bridge_signal_listener):
1367 Marshal the AtkRectangle info into the event notification
1368 for object:bounds-changed events.
1371 (spi_init_any_rect): New method, inits a corba struct of
1372 type Accessibility_BoundingBox from an AtkRectangle.
1374 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1377 (SPIRect): New struct definition.
1378 (SPI_freeRect): New declaration.
1379 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1382 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1383 implemented. Gets the bounding box data from the CORBA_any
1384 associated with a bounds-changed event notification.
1385 (cspi_internal_event_get_rect): New, used internally by above method.
1388 (SPI_freeRect): Implemented this new method, for freeing
1391 * test/event-listener-test.c:
1392 (main, report_bounds_event):
1393 Added a test for object:bounds-changed events.
1395 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1397 * test/login-helper-server-test.c:
1398 (main): Fix C99-ism. Thanks to Jens Granseuer.
1400 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1402 * libloginhelper-1.0.pc.in:
1403 * idl/Accessibility_LoginHelper.idl:
1404 * login-helper/Makefile.am:
1405 * login-helper/login-helper.[ch]:
1406 * test/login-helper-client-test.c:
1407 * test/login-helper-server-test.c: Added files missing from CVS.
1408 Files obtained from at-spi-1.5.2 tarball.
1410 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1412 * configure.in: Create login-helper/Makefile.
1413 Incremented micro version.
1415 * Makefile.am: Add login-helper subdir and pkgconfig data.
1417 * login-helper: New subdir.
1419 * libloginhelper-1.0.pc.in: New.
1421 * idl/Accessibility_LoginHelper.idl: New file, defines
1422 interface whereby authentication clients can identify agents which
1423 need access to services during the login process, e.g. screen lock
1426 * login-helper/Makefile.am : New.
1428 * login-helper/login-helper.[ch] : New, implementation of
1429 a LoginHelper base class. Services needing LoginHelper can subclass.
1431 * test/Makefile.am : Added test for login-helper, client and
1434 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1435 Use proper prefix in #include files.
1437 * test/login-helper-client-test.c: New.
1439 * test/login-helper-server-test.c: New.
1441 2004-05-27 Alexander Shopov <ash@contact.bg>
1443 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1445 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1447 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1448 is positive. This should make it easier to detect inapprorpiate unref
1451 2004-05-11 James Henstridge <james@daa.com.au>
1453 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1454 no-op and deprecated.
1456 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1458 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1460 2004-04-28 Bill Haneman <billh@gnome.org>
1462 * Makefile.am: Added --enable-gtk-doc to
1463 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1465 2004-04-19 Bill Haneman <billh@gnome.org>
1467 * configure.in: Revved to 1.5.1.
1469 * registryd/deviceeventcontroller.c:
1471 (DEControllerPrivateData): Added fields for
1472 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1473 (spi_dec_replace_map_keysym): New internal utility for
1474 replacing a keysym in the keymap - used to allow
1475 synthesis of individual characters which aren't in the
1477 (spi_dec_reset_reserved): New; resets the changed keysym value
1479 (keycode_for_keysym): We now try to deal with failed
1480 XKeysymToKeycode requests by changing a keymap value
1481 and returning a reserved keycode. We now take
1482 a DEController pointer as first arg.
1483 (spi_controller_register_with_devices): Call XkbGetMap with
1484 the XkbKeySymsMask. Find the highest keycode in the current
1485 keymap which doesn't have any grabs, and mark that one for
1486 temporary re-mapping when out-of-range KeySyms are synthesized.
1487 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1490 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1492 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1494 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1496 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1498 2004-03-24 Bill Haneman <billh@gnome.org>
1501 (AccessibleTable_addRowSelection),
1502 (AccessibleTable_addColumnSelection),
1503 (AccessibleTable_removeRowSelection),
1504 (AccessibleTable_removeColumnSelection):
1505 Add declarations for spi wrappers which were
1506 inadvertantly omitted. Fixes bug #133413.
1509 Revved to 1.5.0 (unstable series for GNOME 2.7).
1511 2004-03-24 Bill Haneman <billh@gnome.org>
1513 * atk-bridge/bridge.c:
1514 Bracketed some debug output in
1515 conditionals, to avoid printing it in normal use.
1518 * libspi/hyperlink.c:
1519 Don't cast 'object' to ATK_OBJECT when constructing
1520 an AtkAction interface for a hyperlink.
1521 See discussion in bug #120659.
1523 * test/key-listener-test.c:
1524 (report_all_key_event): Send output to stderr,
1525 not stdout, for consistency with the rest of the test callbacks.
1528 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1529 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1530 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1531 try incrementing the revision AFTER doing a dist, at least
1534 2004-03-22 Bill Haneman <billh@gnome.org>
1536 * configure.in: Revved to 1.4.0, libtool 9.14.9
1538 2004-03-17 Laszlo Peter <laca@sun.com>
1540 * libspi-1.0-uninstalled.pc.in: add idldir
1542 * cspi-1.0-uninstalled.pc.in: add idldir
1544 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1546 * configure.in: Added "en_GB" to ALL_LINGUAS
1548 2004-03-15 Bill Haneman <billh@gnome.org>
1550 * configure.in: Revved to 1.3.16,
1553 2004-03-15 Laszlo Peter <laca@sun.com>
1555 * libspi-1.0-uninstalled.pc.in: new file
1557 * cspi-1.0-uninstalled.pc.in: new file
1559 * configure.in: add the new pc files to AC_OUTPUT
1561 * Makefile.am: add the new pc files to EXTRA_DIST
1563 2004-03-12 Bill Haneman <billh@gnome.org>
1565 * atk-bridge/bridge.c:
1566 (spi_atk_bridge_key_listener):
1567 Make sure to return consumed=FALSE if snoop
1568 event is not dispatched to listener.
1571 2004-03-01 Bill Haneman <billh@gnome.org>
1573 * configure.in: Revved to 1.3.15,
1576 2004-03-07 Danilo Segan <dsegan@gmx.net>
1578 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1580 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1582 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1584 2004-03-01 Bill Haneman <billh@gnome.org>
1586 * configure.in: Revved to 1.3.14.
1589 (SPI_exit): Removed "bye-bye" exit message.
1590 Moved "leak" report to happen before the
1591 iteration over the leaked refs list.
1592 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1594 2004-02-24 Bill Haneman <billh@gnome.org>
1596 * configure.in: Revved to 1.3.13.
1598 * docs/reference/cspi/Makefile.am:
1599 Correct typo that was breaking the docs build.
1601 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1603 * autogen.sh: Require version 1.7 of automake.
1605 * configure.in: call GTK_DOC_CHECK([1.0])
1607 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1609 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1611 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1613 * test/Makefile.am: Remove use of CFLAGS.
1615 This fixes bug #132987.
1617 2004-02-11 Bill Haneman <billh@gnome.org>
1619 * reverted most of Tomasz' patch below, since it was breaking
1620 builds (see bug #134058).
1622 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1624 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1625 correct pass "make dist" (empty .. because seems no sach types in
1626 header files with gtk-doc markups).
1627 * docs/reference/cspi/Makefile.am, configure.in:
1628 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1629 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1630 * Makefile.am: added:
1631 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1632 for force correct pass generate documentation on "make distcheck".
1633 * libspi/Makefile.am: fixes for automake >= 1.6.
1634 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1635 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1638 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1640 * docs/reference/cspi/Makefile.am (install-data-local): Install
1641 index.sgml since the doc autobuilder on widget.gnome.org looks for
1644 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1646 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1649 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1651 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1653 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1655 * test/simple-at.c: Fixed null string problems that cause core
1656 dumping problems on Solaris.
1658 2004-01-12 Bill Haneman <billh@gnome.org>
1660 * configure.in: Incremented version to 1.3.11.
1662 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1664 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1665 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1668 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1670 * configure.in: Added "fa" to ALL_LINGUAS.
1672 2003-12-20 Arafat Medini <lumina@silverpen.de>
1674 * configure.in: Added "ar" to ALL_LINGUAS
1676 2003-12-16 Bill Haneman <billh@gnome.org>
1678 * registryd/registry-main.c:
1680 Set the reg_env DISPLAY variable before registering the
1681 activated registry service. Fixes bug #129479.
1683 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1685 * configure.in: Added "id" in ALL_LINGUAS
1686 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1688 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1690 * registryd/deviceeventcontroller.c (global_filter_fn):
1691 When an event is consumed discard any XEvents were added to
1692 the queue while dealing with the the event. This can happen if
1693 processing of the event takes a long time. Call XUngrabKeyboard
1694 if an event was discarded. This fixes bug $124837.
1695 Only call wait_for_release_event for a KeyPress.
1696 Use local variable display instead of spi_get_display().
1697 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1700 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1702 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1703 Allow for mask to contain values other than NumLock mask.
1706 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1708 * registryd/devieceventcontroller.c:
1709 (wait_for_release_event): Change first parameter from GdkEvent to
1711 (global_filter_fn); Correct call to wait_for_release_event.
1715 2003-12-08 Bill Haneman <billh@gnome.org>
1719 * registryd/ucs2keysym.c: New file.
1721 * registryd/deviceeventcontroller.c:
1722 (dec_keysym_for_unichar): Remove old partial implementation and
1723 replace with call to ucs2keysym(), which is much more complete.
1724 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1729 2003-12-05 Bill Haneman <billh@gnome.org>
1731 * configure.in: Version 1.3.9.
1733 * docs/reference/cspi/tmpl/spi_registry.sgml:
1734 Added reference to libspi/keymasks.h to the
1735 description of Registry queries: AccessibleKeyMaskType.
1738 2003-12-04 Bill Haneman <billh@gnome.org>
1740 Fix for bug #121974.
1742 * idl/Accessibility_Application.idl:
1743 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1744 setlocale's LC_TYPEs.
1745 (Accessibility::Application::getLocale): New method.
1746 Allows clients to query the locale, by type, of an app.
1749 * cspi/spi_application.c:
1750 (AccessibleApplication_getLocale): New method, wraps IDL above.
1752 * libspi/application.c:
1753 (spi_application_class_init): Init epv entry for getLocale.
1754 (impl_accessibility_application_get_locale): Impl for above.
1756 * test/test-simple.c:
1757 (test_application): Added assertion for getLocale, i.e.
1758 that the string from AccessibleApplication_getLocale (app, type)
1759 is the same as that from setlocale (type, NULL);
1761 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1763 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1764 the keyboard on a timeout intil the key state goes from pressed to
1765 released. Fixes bug #111429.
1767 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1769 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1770 root object so that it is present when a context menu in an
1771 out-of-process applet is popped up.
1772 (spi_atk_bridge_do_registration): Create acceessible application root
1773 object only if it does not exist.
1775 This fixes bug #125834.
1777 2003-12-01 Bill Haneman <billh@gnome.org>
1779 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1782 Added enum for AccessibleStreamableContentSeekType.
1783 (AccessibleStreamableContent_freeContentTypeList): New.
1785 * cspi/spi_streamablecontent.c:
1786 (accessible_bonobo_stream_client_seek): New private method.
1787 (AccessibleStreamableContent_seek): Implemented this method,
1788 using Bonobo_Stream_seek.
1789 (AccessibleStreamableContent_freeContentTypeList): New method
1790 for freeing the return value from
1791 AccessibleStreamableContent_getContentTypes.
1792 (stream_cache_item_free): Replaces stream_release; stop leaks.
1793 (stream_release): removed.
1794 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1795 free the memory properly.
1797 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1799 Fix for bug #116009.
1801 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1803 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1805 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1807 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1809 2003-12-01 Bill Haneman <billh@gnome.org>
1811 Fix for bug/rfe #127463.
1813 * idl/Accessibility_Accessible.idl:
1814 (getLocalizedRoleName): New.
1815 (unimplemented4): Removed (replaced by above).
1817 * libspi/accessible.c:
1818 (impl_accessibility_accessible_get_local_role_name): New.
1819 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1823 (Accessible_getLocalizedRoleName): New.
1825 * cspi/spi_accessible.c:
1826 (Accessible_getLocalizedRoleName): New.
1828 2003-12-01 Bill Haneman <billh@gnome.org>
1830 Fix for bug #118581.
1831 * idl/Accessibility_Text.idl:
1832 (getDefaultAttributes): New.
1833 (unimplemented4): Removed (replaced by above method).
1836 (impl_getDefaultAttributes): New method.
1837 (spi_text_class_init):
1838 initialize the get_default_attributes slot in the epv.
1841 (AccessibleText_getDefaultAttributes): New prototype.
1844 (AccessibleText_getDefaultAttributes): New method.
1846 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1848 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1849 write beyond the end of the table. Fixes bug #120473.
1851 2003-09-30 Christian Rose <menthos@menthos.com>
1853 * configure.in: Added "eu" to ALL_LINGUAS.
1855 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1857 * configure.in: ALL_LINGUAS: Added no.
1859 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1861 * configure.in: Added lt to ALL_LINGUAS.
1863 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1865 * atk-bridge/bridge.c:
1866 (atk_bridge_init): Register event listeners always even for
1867 out-of-process applet.
1868 (spi_atk_bridge_toplevel_added): Remove call to
1869 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1870 (spi_atk_bridge_toplevelk_removed): Remove call to
1871 spi_atk_deregister_event_listenersa as the listeners are now always
1873 (spi_atk_bridge_register_application): Remove call to
1874 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1876 This fixes bug #120991.
1878 * libspi/table.c (impl_getColumnDescription): Correct typo,
1879 pointed out by Bolian.Yin@sun.com.
1881 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1883 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1885 2003-09-08 Bill Haneman <billh@gnome.org>
1887 * configure.in: Revved to 1.3.7.
1889 This is the GNOME 2.4.0 release of at-spi.
1891 * docs/reference/cspi/Makefile.am:
1892 Removed spurious inclusion of 'index.sgml' in the
1893 html directory; this was breaking make distcheck and
1894 also some other build environments.
1896 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1898 * registryd/registry.[ch}:
1899 Add queue_handler_id and focus_object to SpiRegistry data structure.
1900 (registry_flush_event_queue): If event being discarded is
1901 "state-change:focused" store object as focus_object.
1902 (registry_start_queue): Remove queue handler and focus object
1904 (registry_discard_event): New function which discards a focus event
1905 if we had stored focus object in the registry.
1906 (registry_queue_event): Add new check that is_queueing is set as this
1907 function is reentrant.
1908 (registry_filer_event): Add call to registry_discard_event.
1910 This resolves issues raised in bug #108664.
1912 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1914 * configure.in: Added "bn" to ALL_LINGUAS.
1916 2003-09-04 Bill Haneman <billh@gnome.org>
1918 * cspi/spi_event.c: Documentation improvements for
1919 (SPI_registerAccessibleKeylistener).
1921 * docs/reference/tmpl/spi_registry.sgml:
1922 Documentation improvements for SpiAccessibleKeylistenerCB.
1924 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1926 * configure.in: Added "ro" to ALL_LINGUAS.
1929 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1931 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1932 not decremented to zero. Fixes bug #120725.
1934 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1936 * configure.in: Added "ja" to ALL_LINGUAS.
1938 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1940 * configure.in: Added "is" to ALL_LINGUAS.
1942 2003-08-22 Christian Rose <menthos@menthos.com>
1944 * configure.in: Added "nl" to ALL_LINGUAS.
1946 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1948 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1949 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1951 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1953 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1954 type for unspecified exception.
1955 * cspi_streamablecontect): Add include of string.h for memcpy.
1956 (stream_release): Correct call to bonobo_object_release_unref
1957 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1958 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1959 argument of _cspi_expection_throw.
1960 * libspi/hyperlink.c: Add include of libspi/action.h:
1961 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1962 * libspi/streamablecontent.c: add include of libspi/component.h.
1963 * regisrtyd/deviceeventcontroller.c:
1964 (spi_dec_translate_mask): Removed unused variable priv.
1965 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1966 * registryd/registry.c:
1967 (registry_filter_event): Remove unused variable queue_is-empty.
1968 (impl_registry_notify_event): Use correct modifier in fprintf call.
1970 This fixes compiler warnings reported in bug #120220.
1972 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1974 * registryd/registryd.c: Remove this file.
1976 2003-08-17 Sanlig Badral <badral@openmn.org>
1978 * configure.in: Added mn to ALL_LINGUAS.
1980 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1982 * configure.in: Added et to ALL_LINGUAS.
1984 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1986 * test/event-listener-test.c: Change active-descendant to
1987 active-descendant-changed.
1989 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1991 * configure.in: Added "fi" in ALL_LINGUAS.
1993 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1995 * configure.in: Added "hi" in ALL_LINGUAS.
1997 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1999 * configure.in: Revved to 1.3.6.
2003 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2005 * registryd/deviceeventcontroller.c
2006 (spi_device_event_controller_object_finalize): Fix typo in previous
2009 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2011 * registryd/deviceeventcontroller.c
2012 (spi_device_event_controller_object_finalize): Fix build on
2013 systems without XEvIE.
2015 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2017 * acconfig.h, configure.in, registryd/Makefile.am,
2018 registryd/devicecontoller.[ch]: Add XEViE support.
2020 2003-08-06 Wang Jian <lark@linux.net.cn>
2022 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2024 2003-08-06 Metin Amiroff<metin@karegen.com>
2026 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2028 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2030 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2031 MODIFIER_ALT in correct place.
2033 This fixes part of bug #118114.
2035 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2037 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2039 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2041 * configure.in: Added "ko" to ALL_LINGUAS.
2043 2003-07-28 Ole Laursen <olau@hardworking.dk>
2045 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2047 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2049 * configure.in: Added "sq" to ALL_LINGUAS.
2051 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2053 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2055 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2057 * configure.in: updated ALL_LINGUAS list
2059 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2061 * configure.in: Added Belarusian to ALL_LINGUAS.
2063 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2065 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2067 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2068 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2070 This fixes bug #116949.
2072 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2074 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2075 Correct CSPI to SPI in function documentation.
2077 This fixes bug #118054.
2079 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2081 * configure.in: Added Russian to ALL_LINGUAS.
2083 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2085 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2087 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2089 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2091 2003-07-10 Joel Brich <joel.brich@laposte.net>
2093 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2095 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2097 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2099 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2101 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2102 resources allocated for AccessibleEvent. See cspi_event().
2104 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2105 static variable streams to NULL.
2107 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2108 Update so that AcessibleEvent_ref will work.
2110 This fixes bug #116624.
2112 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2114 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2116 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2118 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2120 2003-07-02 Christian Neumair <chris@gnome-de.org>
2122 * configure.in: Added "de" (German) to ALL_LINGUAS.
2124 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2126 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2128 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2130 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2132 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2134 * configure.in: Added "pl" to ALL_LINGUAS.
2136 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2138 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2140 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2143 (get_action_from_servant):
2144 Removed assertion that action is implemented on an AtkObject.
2146 * libspi/hyperlink.c:
2147 (spi_hyperlink_new):
2148 Aggregate AccessibleAction interface on the hyperlink object if
2149 the object implements AtkAction. (This convention is used in
2152 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2154 * configure.in: Revved to 1.3.5.
2156 * registryd/Accessibility_Registry.server.in.in:
2157 Marked up appropriate strings for translation.
2159 * atk-bridge/bridge.c: Marked a couple of
2160 user-visible warnings for translation. Questionable
2161 whether they are really useful, but possibly so.
2164 2003-06-28 Christian Rose <menthos@menthos.com>
2166 * configure.in: Added "sv" to ALL_LINGUAS.
2168 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2170 * registryd/registry.c:
2171 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2172 (registry_defer_on_event): Defer focus: events, this is an
2173 improvement to the patch for bug #108664.
2175 * TODO: Update with 2.4/"Dev Complete" items.
2177 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2179 * atk-bridge/bridge.c:
2180 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2181 looks up signals once.
2182 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2183 if doing registration.
2184 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2185 when doing registration.
2187 This fixes bug #115014.
2189 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2191 * atk-bridge/bridge.c:
2192 (atk_bridge_init): Add signal handler for children-changed:remove on
2193 root when in a BonoboComponent.
2194 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2195 for first toplevel only other incrememt variable toplevels.
2196 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2197 application and remove listeners.
2198 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2200 (spi_atk_deregister_event_listeners): New function which removes
2202 (reinit_register_vars): New fuction which reinitializes variables.
2204 This fixes bug #111578.
2206 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2208 * configure.in: version 1.3.4.
2210 * cspi/spi_accessible.c:
2211 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2214 2003-06-13 Michael Meeks <michael@ximian.com>
2216 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2218 * cspi/spi_main.c (cspi_peek_ev): impl.
2220 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2222 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2224 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2226 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2227 SPI_ROLE_AUTOCOMPLETE
2229 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2231 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2232 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2234 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2236 * libspi/streamablecontent.h:
2237 * libspi/streamablecontent.c:
2238 New files, provide implementation/wrappers for
2239 Accessibility_StreamableContent.
2241 * cspi/spi_streamablecontent.c:
2242 Connected the C wrappers to the libspi C bindings.
2243 (AccessibleStreamableContent_close): New method.
2246 (AccessibleStreamableContent_close): New method, needed
2247 since we have an "open, [seek], read, close" model in cspi.
2249 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2251 Fix for #108664; Padraig's revision of my original patch.
2253 * registryd/registry.h:
2254 Added event queue list, is_queuing, and exit_notify_timeout
2255 to the registry struct.
2257 * registryd/registry.c:
2258 (registry_init): Initialize new struct from registry.h.
2259 (impl_registry_notify_event):
2260 Filter events before notifying, in case some need to be
2262 (registry_filter_event): New,
2263 we defer certain incoming events (for instance
2264 window:deactivate) because we may wish to hide
2265 or reject them based on pending events. This is
2266 mostly a workaround for bug #108664.
2267 (registry_queue_event, registry_start_queue): New.
2268 (registry_defer_on_event): Test event to see if it
2270 (registry_reset_on_event): Returns TRUE if the
2271 event should cause a queue reset.
2272 (registry_discard_on_event): Returns TRUE if the event
2273 should cause the previous queue contents to be discarded.
2274 (registry_timeout_flush_queue): Flushes the pending event
2275 queue if no reset/discard-triggering events have come in
2276 within the timeout period.
2277 (registry_emit_event): New.
2278 (registry_clone_notify_context): New, used when queueing the
2279 event notify contexts.
2281 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2283 * configure.in: Version revved to 1.3.2, lt 0.9.2
2284 Incremented ATK required version to 1.3.4.
2286 * cspi/spi_registry.c:
2287 (SPI_generateKeyEvent):
2288 We now pass the keystring along if it's non-null.
2290 * registryd/deviceeventcontroller.c:
2291 (keysym_mod_mask): New method, returns modifier mask
2292 required to generate a keysym from a given keycode.
2293 (dec_synth_keysym): New method.
2294 (dec_synth_keystring): New method.
2295 (dec_get_modifier_state): New method.
2296 (dec_lock_modifiers): New
2297 (dec_unlock_modifiers): New.
2298 (dec_keysym_for_unichar): New, rather brute-force
2299 conversion from UCS-4 to X KeySyms. Only works for
2300 Latin at the moment, with partial implementations for
2301 Greek, Hebrew, and (incomplete) Katakana.
2302 (impl_generate_keyboard_event): Now implement
2303 "KEYSTRING" synthesis and implement "KEYSYM"
2305 (keycode_from_keysym): Improved, passes a returned
2306 modmask value now if the corresponding param is non-NULL.
2308 Fixes bugs #92143 and #109776.
2311 * test/keysynth-test.c:
2312 New test program for key synthesis, to confirm fixes for
2316 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2318 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2320 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2321 Add line for RELATION_POPUP_FOR
2323 * docs/reference/cspi/tmpl/spi_relation.sgml:
2324 Add relation SPI_RELATION_POPUP_FOR
2326 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2327 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2329 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2331 * libspi/relation.c (spi_init_relation_type_table):
2332 Add line for RELATION_POPUP_FOR
2334 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2336 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2337 there are still windows which have not been deleted and emit
2338 window:deactivate, if necessary and window:destroy events.
2339 This fixes bug #114370. The change on June 5th was not correct.
2341 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2343 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2346 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2348 New methods for client exception handling and interception.
2349 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2350 (SPI_exceptionHandlerPop): You guessed it...
2351 (SPI_getSourceType): Return the type of object which offended.
2352 (SPI_getExceptionCode): Return an enum code telling, possibly,
2353 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2354 (SPIAccessibleException_getSource): get the source object for
2355 exceptions that come from Accessibles, if SPIExceptionSourceType is
2356 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2357 (SPIException_getDescription): New, returns a string description of
2358 the problem. [Not yet a stable ABI, strings are not frozen]
2360 * cspi/spi-private.h:
2361 Added implementation details of opaque SPIException
2365 Implementations of above. Also
2366 (_cspi_exception_throw): new private method that
2367 dispatches exceptions to handlers, called from cspi-bonobo.c
2369 * cspi/bonobo/cspi-bonobo.c:
2370 (cspi_check_ev): call _cspi_exception_throw.
2371 Don't print a warning message if the exception has been
2372 handled by _cspi_exception_throw.
2374 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2376 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2377 there are still windows which have not been deleted and emit
2378 window:deactivate, if necessary and window:destroy events.
2379 This fixes bug #114370.
2381 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2384 (cspi_accessible_is_a): Make non-fatal
2385 if the object reference is dead.
2387 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2389 * cspi/spi_main.c: #include <stdio.h>
2390 * test/simple-at.c: ditto
2391 * test/event-listener-test.c: ditto
2392 * test/screen-review-test.c: ditto
2394 2003-05-30 Michael Meeks <michael@ximian.com>
2396 * test/test-simple.c (main): use CORBA_ORB_perform_work
2397 instead of an unnecessary linc_ call.
2399 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2401 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2402 Add SPI_STATE_INDETERMINATE.
2404 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2407 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2409 * libspi/stateset.c (init_state_type_tables): Add support for
2412 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2414 * configure: Update versions of atk and gail required.
2415 This fixes bug #113268.
2417 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2419 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2421 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2423 * libspi/Makefile.am:
2424 Ensure headers are generated before being used by c sources.
2426 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2429 Simplified lt versioning rules.
2430 Incremented version to 1.3.0, to indicate that we're on the
2431 unstable branch now.
2433 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2435 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2436 Add MKDB_OPTIONS=--outtput-format=xml
2438 * docs/reference/cspi/at-spi-cspi-docs.sgml
2439 docs/reference/idl/at-spi-idl-docs.sgml:
2440 Convert to Docbook XML.
2442 This fixes bug #111793.
2444 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2446 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2447 AcccessibleKeyEventType, AccessibleKeyMaskType.
2449 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2451 * cspi/state-types.h: Add documentation for AccessibleState.
2453 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2454 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2455 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2456 AccessibleComponentLayer.
2458 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2461 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2463 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2464 Accessible. Add description of AccessibleEvent,
2465 AccessibleEventListenerCB.
2467 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2470 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2471 documentation. Add description of AccessibleKeystrokeListenerCB,
2472 AccessibleKeyEventMask, AccessibleModifierMaskType,
2473 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2474 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2476 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2479 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2482 This fixes bug #104730.
2484 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2486 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2487 Set is_text field of Accessibility_DeviceEvent data structure.
2489 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2490 is-text field of AccessibleDeviceEvent data structure.
2492 This addresses part of bug #108666.
2494 * registryd/devcieeventcontroller.c: Unset debug option.
2496 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2498 * cspi/accessible.c:
2499 (cpi_initial_relation_type_table): New function which initializes
2500 mapping between Accessibility_RelationType and AccessibleRelationType.
2501 (cspi_relation_type_from_spi_relation_type): New function which
2502 translates an Accessibility_RelationType into an AccessibleRelationType.
2503 (AccessibleRelation_getRelationType): Use
2504 cpi_relation_type_get_spi_relation_type to return correct value.
2505 (spi_state_to_corba): Return correct type for default case.
2507 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2508 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2510 * cspi/cspi-bonobo-listener.c:
2511 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2514 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2515 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2516 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2517 libspi/image.c, libspi/listener.c, libspi/selection.c,
2518 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2519 registryd/desktop.c, registryd/registry.c:
2520 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2522 * libspi/eventlistener.c
2523 Remove semicolon after BONOBO_TYPE_FUNC.
2525 * libspi/relation.c:
2526 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2527 (spi_init_relation_type_table): Initialize using correct type.
2529 * registryd/desktop.c:
2530 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2531 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2532 of Accessibility_KeyEventType.
2534 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2537 * tests/simple-at.c, tests/screen-review-test.c:
2538 Add include for <strings.h>.
2540 * tests.stress-test.c:
2541 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2543 These changes fix compiler warnings when using FORTE compiler on
2544 Solaris; fixes bug #107479.
2547 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2550 * configure.in: revved to 1.1.10
2552 * libspi/keymasks.h:
2553 (SPI_KEYMASK_NUMLOCK): Added.
2555 * registryd/deviceeventcontroller.c:
2556 (spi_key_event_matches_listener): AND with a smaller
2557 bitmask (as we should).
2558 (spi_dec_translate_mask):
2559 New method, sets the virtual NumLock modifier bit
2560 if numlock is on. Eventually it can handle other virtual
2561 modifier bits if needed, or other marshalling from
2562 at-spi modifier masks to platform (X) masks.
2563 (spi_dec_key_listener_new):
2564 Call spi_dec_translate_mask to set up virtual mod bits
2565 in the 'mask' field when creating a new listener struct.
2566 (spi_dec_emit_modifier_event):
2567 Set the virtual (i.e. NumLock) bits before emitting event.
2568 (spi_controller_register_with_devices):
2569 Query for the NumLock modifier 'physical' bit if Xkb is
2570 present, for use in above methods.
2574 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2576 * registryd/deviceeventcontroller.c:
2577 (spi_keystroke_from_x_key_event):
2578 Instead of checking to see if the keysym is
2579 printable, check the string from XLookupString
2580 if available, get the first unicode character from it,
2581 and call g_unichar_isprint to determine whether the
2582 is_text flag should be TRUE or FALSE.
2586 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2588 * atk-bridge/bridge.c: Add support for extended events
2589 * cspi/spi_event.c: Add documentation and implementation for
2591 * tests/event-listener-test.c: Add tests for extended events.
2593 This fixes bugs #100424 and #100426.
2595 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2597 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2598 of LT_CURRENT. This fixes bug #89350.
2600 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2602 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2603 number of signal parameter values before accessing them. This fixes
2606 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2608 * configure.in: Fixed duplicate inclusion of -lspi.
2609 * branched for gnome-2-2/HEAD.
2610 [created tag "gnome-2-2"]
2612 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2614 * configure.in: 1.1.9 release.
2617 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2619 [needed by GOK, to fix bugs 107985 and 107988]
2620 * registryd/deviceeventcontroller.c:
2621 (spi_dec_clear_unlatch_pending):
2622 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2623 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2624 (spi_dec_init_mouse_listener):Emit warning if mouse button
2626 (spi_device_event_controller_forward_mouse_event):
2627 Removed unnecessary parens from a conditional.
2628 (global_filter_fn):Added TODO comment.
2629 (impl_generate_keyboard_event):
2630 Cancel a pending relatch if a 'delatching' key was
2633 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2635 * atk-bridge/bridge.c:
2636 Change atk_signal_child_changed to atk_signal_children_changed.
2637 Reorganize code in spi_atk_bridge_signal_listener().
2639 * test/event-listener-test.c:
2640 Add children_changed_listener and report_children_changed_event()
2641 to test AccessibleChildEvent_getChildAccessible.
2643 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2645 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2646 g_strdup to CORBA_String_dup (bug #105291)
2648 * test/event-listener-test.c (report_text_event): Add call to
2651 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2653 * registryd/deviceeventcontroller.c:
2654 (spi_keystroke_from_x_key_event):
2655 Fix string and keysym return codes to match modifier state.
2658 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2660 * registryd/deviceeventcontroller.c:
2661 (spi_keystroke_from_x_key_event):
2662 Fix segv due to improper use of isprint(c). [bug #107254]
2664 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2667 (get_accessible_text_boundary_type):
2668 Move default return value to (new) default case in switch.
2669 (get_accessible_text_clip_type):
2670 Move default return value to (new) default case in switch.
2672 * libspi/application.c:
2673 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2674 Remove unused methods.
2675 (impl_accessibility_application_register_object_event_listener):
2676 Remove unused methods.
2679 Added #include of <math.h>.
2681 * registryd/deviceeventcontroller.c:
2682 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2683 we don't currently use this method.
2684 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2686 (impl_generate_key_event):
2687 Remove unused variables.
2688 (impl_generate_mouse_event):
2689 Initialize button to zero, just in case we get an invalid
2690 input. Added support for mouse buttons 4 and 5.
2691 (spi_device_event_controller_new):
2692 Removed unused variable declaration for 'private'.
2694 Added #include of <gdk/gdk.h>
2696 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2698 * configure.in: Update to work when X is not installed in expected
2699 location. Fixes bug #105836.
2701 * atk-bridge/bridge.c
2702 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2704 (spi_atk_register_event_listener): Add signal listener for
2706 (spi_atk_bridge_signal_listener): Event event when link-selected
2707 signal is emitted. (bug #104622)
2709 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2710 on returned string. (bug #105291)
2712 * test/event-listener-test.c: Add test for link-selected.
2714 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2716 * atk-bridge/Makefile.am: Correct typo in previous commit.
2718 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2720 * atk-bridge/Makefile.am: Allow for build directory to be different
2721 from source directory
2723 * registryd/Makefile.am: Allow for build directory to be different
2724 from source directory
2728 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2731 Fixed dependencies for libcspi so that libspi gets pulled in
2732 properly. Fixes 104741.
2736 Clean up inline docs a little.
2738 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2740 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2741 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2742 the AtkObject within an SpiDesktop.
2743 This addresses bug #101524.
2745 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2746 Remove call to gdk_init().
2748 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2749 so that Display is set when SpiDesktop is created.
2751 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2753 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2754 This fixes bug #102830.
2756 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2758 * test/test-simple.c: Update to take account of fact that GailButton
2759 now implements AtkText.
2760 (create_text_window): Set name on AtkObject for GtkEntry.
2761 (validate_accessible): Check accessible name before calling test_text().
2763 * libspi/Makefile.am: Fix problem with building outside of source
2764 directory. Bug #98120.
2766 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2767 typo in documentation comments. Bug #94275.
2769 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2771 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2773 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2776 Add includes to avoid compiler warnings on Solaris.
2777 (impl_getRangeExtents): Bug fix.
2779 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2781 Fix for 100944, [API addition approved by Gman and murrayc].
2788 * idl/Accessibility_Text.idl:
2789 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2790 (Text::getRangeExtents): New method for efficient
2791 bounds query of a text range.
2792 (Text::getBoundedRanges): New method for efficient
2793 clipping of text to bounding boxes.
2794 (unImplemented7, unImplemented8):
2795 Removed these padding methods to preserve bincompat.
2798 (impl_getRangeExtents): implementation of new IDL.
2799 (impl_getBoundedRanges): implementation of new IDL.
2800 (SpiTextRect): Internal use struct.
2801 (_spi_text_rect_union): internal method, calculates union of two
2802 SpiTextRect bounding rects.
2803 (_spi_text_range_seq_from_gslist): internal method, allows us
2804 to build our sequence efficiently as a gslist then convert it
2806 (_spi_bounds_contain): internal method, determines whether
2807 a text character is "in" or "out" of a clip rect according to
2808 values of TEXT_CLIP_TYPE.
2809 (spi_text_class_init): Initialize the new methods in the epv.
2812 (AccessibleTextClipType): New enum used by screen review api.
2813 (AccessibleTextRange): New struct used by screen review api.
2814 (AccessibleText_getRangeExtents):
2815 cspi binding for Accessibility_Text_getRangeExtents.
2816 (AccessibleText_getBoundedRanges):
2817 cspi binding for Accessibility_Text_getBoundedRanges.
2818 (AccessibleTextRange_freeRanges): convenience method.
2821 (AccessibleText_getRangeExtents):
2822 cspi binding for Accessibility_Text_getRangeExtents.
2823 (AccessibleText_getBoundedRanges):
2824 cspi binding for Accessibility_Text_getBoundedRanges.
2825 (AccessibleTextRange_freeRanges): convenience method.
2826 (get_accessible_text_clip_type): internal conversion method.
2827 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2829 * registryd/deviceeventcontroller.c:
2830 (spi_dec_mouse_check):
2831 Improved behavior for mouse:abs events
2832 [same granularity as mouse:rel events, and no
2833 events when mouse is idle].
2835 2002-12-16 Michael Meeks <michael@ximian.com>
2837 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2839 * libspi/stateset.c (state_spi_to_atk): split out
2840 ( fix several remote array bounds nasties )
2841 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2842 (impl_remove): make safe from array bounds issues.
2843 (spi_atk_state_from_spi_state): impl.
2845 * libspi/stateset.h (spi_state_set_cache_is_empty):
2846 add a set of wrapper defines to get layering right.
2848 * cspi/spi_accessible.c: update state set stuff to
2851 2002-12-14 Michael Meeks <michael@ximian.com>
2853 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2854 to avoid 2 roundtrips to the registry per key event
2855 (spi_atk_bridge_key_listener): upd.
2856 (deregister_application): release the dec.
2858 * registryd/registry.c (notify_listeners_cb):
2859 bin lots of re-enterant complexity - we no longer
2860 do a round-trip bonobo ref here, ensure that a single
2861 listener's exception failure won't poison all other
2863 (impl_registry_notify_event): bin obvious memory leak.
2865 2002-12-13 Michael Meeks <michael@ximian.com>
2867 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2868 init the ev so the error is meaningful.
2869 (spi_atk_bridge_key_listener): ditto.
2871 * cspi/spi_main.c (cspi_ev): init the ev so we start
2872 with a clean slate, otherwise the first exception
2873 kills us completely.
2875 * cspi/spi_text.c (get_accessible_text_boundary_type):
2876 add a fallthrough for no warnings.
2878 * cspi/spi_registry.c: prune unused warnings.
2880 * cspi/spi_main.c (cspi_object_take): fix
2881 mind-blowing brokenness ( by watching the compile
2884 * cspi/spi_accessible.c (Accessible_getStateSet):
2885 re-impl. to use an AtkStateSet.
2886 (spi_state_type_from_accessible_state),
2887 (init_state_table): bin these.
2889 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2891 (atk_state_set_from_accessibility_state_set): here.
2893 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2894 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2895 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2896 (AccessibleStateSet_add, AccessibleStateSet_remove),
2897 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2898 (AccessibleStateSet_isEmpty): re-write to use a local
2901 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2903 * configure.in: Revved to 1.1.7 (new keymask vals).
2905 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2907 * libspi/keymasks.h:
2908 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2910 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2913 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2914 to compare two CORBA_TypeCodes.
2915 (cspi_internal_event_add): Silence warning from FORTE compiler.
2917 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2918 avoid implicit declaration of functions.
2920 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2922 * atk-bridge/bridge.c:
2923 (spi_atk_bridge_init_event_type_consts): Store signal id for
2924 active-descendant-changed signal.
2925 (spi_atk_register_event_listeners): Add signal listener for
2926 active-descendant-changed signal,
2927 (spi_atk_bridge_signal_listener): Move code in function
2928 spi_atk-signal_emit_event() into this function.
2929 Add support for active-descendant-changed
2930 Update support for child-changed signal.
2931 (spi_bridge_window_event_listener): Silence warning.
2933 * libspi/spi_private.[ch]:
2934 (spi_init_any_object): Change second parameter from CORBA_Object to
2936 Omit call to CORBA_Object_duplicate().
2937 Set CORBA_any's _value to CORBA_Object*.
2939 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2945 (AccessibleEvent_ref, AccessibleEvent_unref):
2946 New methods, for persisting an event outside the emission context.
2947 Must be used if the new accessor methods are to be called
2948 outside of the event listener's callback.
2950 * cspi/bonobo/cspi-bonobo.c:
2951 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2952 as second parameter instead of NULL, so we can call
2953 cspi_check_ev afterwards.
2956 (cspi_object_take): New internal method,
2957 converts a CORBA_Object reference to a hard ref on
2958 an Accessible if possible, returning NULL if the object
2959 reference is invalid or an Accessible * otherwise.
2962 (AccessibleEvent_ref):
2963 Increment the event's internal private refcount, and
2964 add the event's internal struct to an internal cache
2965 if it's not already there.
2966 (AccessibleEvent_unref):
2967 Decrement the event's refcount and remove it from
2968 the cspi event cache if refcount==0.
2969 (cspi_event_compare): New private method.
2970 Compares two event structs via their ids. Used
2972 (cspi_internal_event_lookup): New private method.
2973 (cspi_internal_event_check): New private method,
2974 a 0-order sanity check for events to make sure their
2975 private data is intact.
2976 (cspi_internal_event_add, cspi_internal_event_remove):
2977 New private methods for managiing the event cache.
2979 * cspi/bonobo/cspi-bonobo-listener.c:
2981 Initialize the new private data elements (id, magic, ref_count).
2983 * atk-bridge/bridge.c:
2984 (spi_atk_bridge_signal_listener):
2985 Fixed bug #100530, passing wrong params to emission func.
2987 * registryd/deviceeventcontroller.c:
2988 (spi_dec_button_update_and_emit):
2989 Fixed type in mask bit operations; fix for #99799.
2991 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2993 Removed some of the more dangerous workarounds from
2994 previous commit; they are only needed by GOK, which
2995 in reality should be using another method to accomplish
2996 the goals. So on reconsideration some of the workarounds
2997 need to be reverted:
2999 * registryd/deviceeventcontroller.c:
3000 (spi_keycodes_contain, spi_dec_init_keycode_list):
3001 Removed these methods, used only by a nasty hack to try
3002 and detect whether a key synthesis should be allowed
3003 to reset the XKB latch state or not. This code was only
3004 required to work around an interaction between GOK,
3005 button events, and XKB.
3006 (impl_generate_key_event):
3007 Removed hack at end of key generation that tried to
3008 "do the right thing" if XKB latch keys were generated
3009 in the midst of button press/release pairs.
3012 Added a check for HAVE_XINPUT. Not normally used yet.
3014 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3016 Workarounds and fixes for mouse event/XKB interaction.
3018 * registryd/deviceeventcontroller.c:
3019 (spi_keycodes_contain, spi_dec_init_keycode_list):
3020 New internal methods.
3021 (spi_dec_set_unlatch_pending):
3022 Split the method that tells XKB to expect an
3023 unlatch (and revert it) out of the rest of the
3024 event handling code. This method is called by the
3025 two mouse event handlers (the poll and the filter).
3026 (spi_dec_update_and_emit, spi_dec_mouse_check):
3027 New methods split from spi_dec_poll_mouse_moved.
3028 The second one is now called from inside the filterFn
3029 when an XKB delatch event is received, to determine
3030 whether to revert the delatch or not.
3031 (spi_poll_mouse_moved): Refactor; also we can now
3032 properly handle the case where multiple button states
3033 have changed between polling cycles and we didn't get
3034 notified due to another client's grab.
3036 Synchronize the server while handling an XKB notification.
3037 Ugly, but apparently necessary to avoid nasty races.
3038 Check the mouse state on receipt of an XKB latch change,
3039 to decide whether to revert the latch or not. (Latches are
3040 reverted if there is an immediately preceding mouse button
3041 event that a client has consumed, in which case we don't want
3042 the user to see the side-effect of the event).
3043 (spi_device_event_controller_forward_mouse_event):
3044 Check for modifier events and fire before resetting mouse_mask_state,
3045 prevents losing modifier events.
3047 (impl_generate_keyboard_event):
3048 If we've just generated a keyboard event for a non-shift key,
3049 we don't want to revert the pending XKB latch.
3050 Otherwise, check the modifier state (via a call to
3051 spi_dev_mouse_check) and set the relatch mask to
3052 that state before returning.
3054 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3057 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3060 * atk-bridge/bridge.c:
3061 (spi_atk_register_event_listeners):
3062 Don't re-register for ATK events if the registry has died
3063 and the app needs to re-register; the ATK listeners are in
3064 process and doing so will cause duplicate emission.
3066 * registryd/deviceeventcontroller.c:
3067 (spi_poll_mouse_moved):
3068 Reformat the source, detect and emit multiple button-change
3069 events (i.e. if multiple buttons have changed between poll
3071 Add code to detect mouse-down events even when the pointer
3072 is grabbed; workaround for GOK bug 98420.
3073 (spi_controller_register_with_devices):
3074 Call XTestGrabControl with 'impervious' flag set to True,
3075 allows us to synthesize events and query the pointer even during
3076 an active grab by another client.
3077 (spi_device_event_controller_forward_mouse_event):
3078 Set the mouse_mask_state to the mouse_button_state from
3079 the intercepted event, to synchronize the grab listener with
3082 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3084 * cspi/spi_accessible.c:
3085 (AccessibleRole_getName):
3086 Added necessary strings for making this (deprecated)
3087 method work with the new role types.
3088 (init_role_table, role_table):
3089 Added definition of SPI_ROLE_APPLICATION.
3091 * libspi/spi-roletypes.h:
3092 Added SPI_ROLE_APPLICATION.
3094 * idl/Accessibility_Role.idl:
3095 Added ROLE_APPLICATION.
3097 * docs/reference/cspi/at-spi-cspi-decl.txt:
3098 Added SPI_ROLE_APPLICATION to docs.
3100 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3102 * cspi/spi_accessible.c
3103 (cspi_init_role_table): Do not write beyond end of role_table.
3104 (Accessible_getRole): Use correct type for value returned by
3105 Accessibility_Accessible_getRole().
3107 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3108 beyond end of role_table. (This fixes bug #98269)
3110 * libspi/application.c: Add include file spi-private.h for
3111 definition of spi_init_any_nil.
3113 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3117 * libspi/spi-private.h:
3118 Added DGB() macro, and extern int _dbg declaration.
3120 * registryd/registry.c:
3121 (definitions) storage for _dbg.
3122 (spi_registry_init):
3123 Get environment variable "AT_SPI_DEBUG".
3124 (spi_registry_set_debug):
3125 New method, to initialize _dbg value.
3126 (spi_listener_struct_new, spi_registry_object_finalize):
3127 (notify_listeners_cb):
3128 Changed fprintfs to use DBG and g_warning().
3130 * registryd/deviceeventcontroller.c:
3131 (_deregister_keygrab, spi_controller_register_device_listener):
3132 Changed debug/warning messages to use DBG macro.
3134 * libspi/listener.c:
3135 (impl_notify_event):
3136 Changed warning messages to use DBG macro and g_warning().
3138 * atk-bridge/bridge.c:
3139 (atk_bridge_init, spi_atk_bridge_get_registry):
3140 (spi_atk_bridge_exit_func):
3141 (spi_atk_bridge_property_event_listener):
3142 Changed status, warning, and error messages to use
3143 g_warning, g_message, and DBG macros.
3146 Read the state of the AT_SPI_DEBUG environment variable
3147 and set a local '_dbg' accordingly.
3149 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3151 FIXES for 98836, 98842, other bugs.
3154 Revved to 1.1.4, interface-age=4, binary-age=4.
3156 * registryd/deviceeventcontroller.c:
3158 Fixed crasher bug in last_mouse_pos initialization.
3160 * registryd/registry.c:
3161 (desktop_add_application, desktop_remove_application):
3162 Added (and then commented out) some support for
3163 object context marshalling. [TODO]
3165 * atk-bridge/bridge.c:
3166 (spi_atk_bridge_event_context_create):
3167 Commented out object context creation until it can
3168 be properly tested and debugged.
3170 * registryd/registry.c:
3171 (impl_registry_notify_event):
3172 Fixed crasher bug, we were calling
3173 spi_re_entrant_list_foreach () with an empty list.
3175 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3177 * idl/Accessibility_Action.idl:
3178 * idl/Accessibility_Component.idl:
3179 * idl/Accessibility_Desktop.idl:
3180 * idl/Accessibility_Event.idl:
3181 * idl/Accessibility_Hyperlink.idl:
3182 * idl/Accessibility_Image.idl:
3183 * idl/Accessibility_Relation.idl:
3184 * idl/Accessibility_Selection.idl:
3185 * idl/Accessibility_State.idl:
3186 * idl/Accessibility_Value.idl:
3187 Updated unimplemented slot count to minimum of
3188 four for all interfaces, for ABI freeze.
3190 * idl/Accessibility_EditableText.idl:
3191 * idl/Accessibility_Text.idl:
3192 Updated unimplemented slot count to six
3195 * idl/Accessibility_Registry.idl:
3196 Updated unimplemented slot count to six
3197 (also for DeviceEventController),
3200 * idl/Accessibility_Table.idl:
3201 Updated unimplemented slot count to eight,
3204 * idl/Accessibility_Event.idl:
3205 Added CORBA_any "any_data" member to Event struct.
3207 * idl/Accessibility_Event.idl:
3208 Added CORBA_any "any_data" member to Event struct.
3210 * atk-bridge/bridge.c:
3212 atk_signal_text_changed, atk_signal_child_changed,
3213 signal ids queried from gtype system.
3214 (AtkBridgeEventContextType): New enum.
3215 (AtkBridgeEventContextData): New struct.
3216 (AtkBridgeEventContext): New struct.
3217 (atk_bridge_init_event_type_consts):
3218 New method, initializes type contants for comparison
3219 prior to emit_eventv.
3220 (atk_bridge_event_context_init): New method,
3221 initializes a CORBA_any from an AtkBridgeEventContext.
3222 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3223 initialize the event.any_data struct.
3224 (spi_atk_bridge_event_context_create): New method,
3225 creates an AtkBridgeEventContext from signal/event info.
3226 (spi_atk_bridge_event_context_free): New method.
3227 (spi_atk_emit_eventv): Changed to take an
3228 AtkBridgeEventContext parameter. We now initialize
3229 the event.any_data member prior to notifying the
3230 Registry, via the AtkBridgeEventContext.
3231 (spi_atk_bridge_property_event_listener):
3232 (spi_atk_bridge_state_event_listener):
3233 Match emit_eventv signature.
3234 (spi_atk_bridge_object_event_listener):
3235 Match emit_eventv signature, and create an
3236 event context from the event details.
3237 Free the event context afterwards.
3238 (spi_atk_bridge_window_event_listener):
3239 Create an event context, pass it to the
3243 (AccessibleEvent_getContextString):
3244 (AccessibleEvent_getContextObject):
3245 New methods, allow query of AccessibleEvent objects
3246 for more context details (via the "any_data" member
3247 of the Event struct, above).
3250 Definitions for AccessibleEvent_getContextString
3251 and AccessibleEvent_getContextObject.
3253 * cspi/spi_listener.h:
3254 (InternalEvent): New struct.
3257 (AccessibleEvent_getContextString):
3258 (AccessibleEvent_getContextObject):
3259 Implementations of new methods, for obtaining
3260 additional context information from some event types.
3262 * cspi/spi_registry.c:
3263 (SPI_registerGlobalEventListener):
3264 Added mention of active-descendant-changed event in docs.
3266 * cspi/cspi-bonobo-listener.c:
3268 Marshal the any into the AccessibleEvent via
3271 * libspi/spi-private.h:
3272 #include <orbit/orbit.h>
3274 (spi_init_any_string):
3275 (spi_init_any_object):
3276 New convenience function declarations.
3280 (spi_init_any_string):
3281 (spi_init_any_object):
3282 New convenience function implementations.
3284 * registryd/deviceeventcontroller.c:
3285 (spi_poll_dec_mouse_moved):
3286 (spi_device_event_controller_forward_mous_event):
3287 Initialize any_data member of event.
3288 (spi_deregister_controller_device_listener):
3289 Fix incorrect param pass which was preventing deregistration.
3291 * registryd/registry.c:
3292 (desktop_add_application):
3293 (desktop_remove_application):
3294 Add object data to event's any_data before dispatch.
3296 Fix for error messages from GAIL.
3298 * test/event-listener-test.c:
3299 Test new ContextString and "any_data" API:
3300 (report_text_event): New method query and output context string.
3301 (main): register a new text listener with report_text_event
3304 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3306 Fixes for bugs 98127 and 97914.
3307 * cspi/spi-roletypes.h:
3308 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3310 * cspi/spi-statetypes.h:
3311 Added SPI_STATE_MANAGES_DESCENDANTS
3313 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3314 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3315 * cspi/spi_accessible.c:
3316 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3317 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3318 Accessibility_STATE_MANAGES_DESCENDANTS
3319 * libspi/accessible.c:
3320 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3321 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3322 As requested by Bill, I also cleaned up the alignment.
3323 * libspi/relation.c:
3324 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3325 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3326 * libspi/stateset.c:
3327 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3328 Accessibility_STATE_MANAGES_DESCENDANTS
3329 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3330 Document changes reflecting modifications to roles.
3331 * docs/reference/cspi/tmpl/spi_relation.sgml:
3332 Document changes reflecting modifications to relations.
3333 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3334 Document changes reflecting modifications to states.
3336 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3339 Revved to 1.1.3, interface-age=3, binary-age=3.
3340 Added REBUILD macro.
3343 Removed accessx-gui from the tests, since we have a nice
3344 keyboard accessibility capplet now :-)
3346 * test/keysynth-demo.c:
3347 (increment_scan): removed do-nothing default: case,
3350 * test/visual-bell.c:
3351 (main) : removed do-nothing default: case,
3354 * cspi/spi_action.c:
3355 (AccessibleAction_getKeyBinding_):
3356 Documented keybinding string format.
3360 (AccessibleText_getAttributes):
3361 Documented the text attribute string format.
3362 It's changed to use semicolon delimiters also,
3363 to prevent clashes with CSS attributes, but the old
3364 trick of looking for ", " strings will still work
3365 (as unreliably as ever). Fix for bug related to 97916.
3368 Include <cspi/bonobo/cspi-bonobo-listener.h>
3369 Fixes build warning.
3370 (SPI_freeAccessibleKeySet):
3371 (AccessibleKeystrokeListener_addCallback):
3372 (AccessibleKeystrokeListener_removeCallback):
3373 Modify to use AccessibleDeviceListener API internally,
3374 instead of AccessibleKeystrokeListener.
3376 * idl/Accessibility_Event.idl:
3377 Added two more empty slots to EventListener (for a total of four).
3379 * idl/Accessibility_Accessible.idl:
3380 Added four empty slots to Accessible interface.
3382 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3384 * idl/Accessibility_Registry.idl:
3385 (KeyEventType, EventType):
3386 Marked KeyEventType as deprecated; it duplicates
3387 functionality of EventType, which has been extended to
3388 include Mouse-button events.
3389 (KeyEventTypeSeq): defined in terms of EventType.
3390 (registerDeviceEventListener, deregisterDeviceEventListener):
3391 New methods, for managing listeners to device events,
3392 which potentially may consume them.
3395 Added definition for AccessibleDeviceListener.
3397 * cspi/spi-listener.h:
3398 (enum AccessibleDeviceEventType):
3399 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3400 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3401 for backwards compat.
3402 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3403 and typedef'd AccessibleKeystroke to it for back-compat.
3404 (AccessibleDeviceListenerCB):
3405 New function prototype typedef.
3408 (AccessibleDeviceEventMask): New typedef.
3409 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3410 (AccessibleKeyMaskType):
3411 Set equivalent to AccessibleModifierMaskType for back-compat.
3412 (SPI_createAccessibleKeystrokeListener):
3413 (AccessibleKeystrokeListener_unref):
3414 Deprecated in favor of equivalent (better-named) new API below..
3415 keystroke listeners are like all device listeners.
3416 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3417 New API names for old features :-).
3418 (AccessibleDeviceListener_addCallback):
3419 (AccessibleDeviceListener_removeCallback):
3420 (SPI_registerDeviceEventListener):
3421 (SPI_deregisterDeviceEventListener):
3425 (SPI_createAccessibleKeystrokeListener):
3426 Use new preferred API, cspi_device_listener_new() and
3427 cspi_device_listener_add_cb().
3428 (AccessibleKeystrokeListener_removeCallback):
3429 Use new preferred API, cspi_device_listener_remove_cb().
3430 (AccessibleKeystrokeListener_unref):
3431 Use new preferred API, cspi_device_listener_unref().
3432 (SPI_createAccessibleDeviceListener):
3433 (AccessibleDeviceListener_addCallback):
3434 (AccessibleDeviceListener_removeCallback):
3435 Implementation of new API.
3437 * cspi/spi_registry.c:
3438 (SPI_registerDeviceEventListener):
3439 (SPI_deregisterDeviceEventListener):
3440 Implementation of new API. Fixed memory leak and removed need to
3441 allocate EventTypeSeq (thanks Michael for catching this).
3442 Squashed a wayward CORBA_exception_free that shouldn't get called.
3444 * cspi/bonobo/cspi-bonobo-listener.c:
3446 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3447 (cspi_key_event): renamed to cspi_device_event().
3448 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3449 Extended to handle mouse button events as well as key events.
3450 (CSpiKeystrokeListener):
3451 Class superceded by CSpiDeviceListener.
3452 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3453 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3455 * cspi/bonobo/cspi-bonobo-listener.h:
3456 (CSpiKeystrokeListener):
3457 Class superceded by CSpiDeviceListener.
3458 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3459 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3461 * libspi/Makefile.am:
3462 Replaced keystrokelistener.h and keystrokelistener.c
3463 with devicelistener.h and devicelistener.c; keystrokelisener.h
3464 stub retained for back-compat.
3466 * libspi/keystrokelistener.c:
3470 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3472 * registryd/deviceeventcontroller.c:
3473 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3474 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3475 (DEControllerPrivateData): Added xkb settings data.
3476 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3477 button release events (which can't be captured via XGrabButton).
3478 Don't dispatch via the 'normal' event mechanism if the device event was
3480 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3481 Handle the typeseq data in its new location (see above).
3482 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3483 New methods, for "generic" device listeners.
3484 (spi_controller_register_device_listener):
3485 Now handle mouse event listeners as well as key listeners.
3486 (spi_controller_notify_mouselisteners):
3487 New internal method.
3488 (spi_device_event_controller_forward_mouse_event):
3489 Now we notify mouse device listeners as well as generating the
3490 non-consumable "mouse:" events.
3492 We must check and restore the XKB
3493 modifier map if we consume the event, since the act of triggering
3494 a mouse event will normally reset the XKB latch. This is required for
3496 (spi_controller_register_with_devices):
3497 Load the XKB settings when registering, and register for XKB
3498 state notify events.
3499 (spi_key_eventtype_seq_contains_event):
3500 Renamed spi_eventtype_seq_contains_event, since it's used
3501 internally for all device event types now.
3502 (spi_key_event_matches_listener):
3503 Uses spi_eventtype_seq_contains_event now.
3504 (spi_device_event_controller_object_finalize):
3505 Free the private data and the XkbKeyboard struct.
3506 (impl_register_device_listener, impl_deregister_device_listener):
3507 Implementation of new IDL.
3508 (spi_deregister_controller_device_listener):
3509 New internal method.
3510 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3511 More efficient implementation, we don't have to create a new
3512 XkbControls structure every time we query.
3513 (spi_device_event_controller_class_init):
3514 Initialize the epv entries for the new IDL. Assign the
3515 "spi-dec-private" quark.
3516 (spi_device_event_controller_init):
3517 Initialize the private data.
3518 (spi_device_event_controller_forward_key_event):
3519 Removed a bogus CORBA_exception_free() call.
3521 * registryd/deviceeventcontroller.h:
3522 Replaced inclusion of keystrokelistener.h with
3525 * test/event-listener-test.c:
3526 (report_mouse_event):
3529 Added mouse-event device listener.
3531 * test/test-simple.c:
3532 (create_test_window):
3533 Fixed regression (we were instantiating a GtkRange,
3534 which is now an abstract class). Also fixed to match
3535 existing AtkRole names, this seems to have changed in ATK
3536 awhile ago; too late now I think, and the new
3537 mechanism is at least elegant and consistent with the
3538 glib enum "nick" APIs.
3540 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3542 * idl/Accessibility_Relation.idl:
3543 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3544 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3545 * idl/Accessibility_Role.idl:
3546 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3547 * idl/Accessibility_State.idl:
3548 add STATE_MANAGES_DESCENDANTS
3549 * test/event-listener-test.c:
3550 Added a listener for active-descendant events.
3552 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3554 * atk-bridge/bridge.c
3555 (atk_bridge_init): If application is Bonobo component wait until top
3556 level is added before registering
3557 (spi_atk_bridge_do_registration): New function which contains code,
3558 formerly in atk_bridge_init, to do application registration.
3559 (spi_atk_bridge_toplevel_added): Signal called when top level
3560 added to Bonobo component
3562 This fixes bug #83134.
3564 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3566 * registryd/deviceeventcontroller.c
3567 Fixed compilation error caused by calling gettimeofday()
3570 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3575 Added template for HAVE_XKB.
3578 Changes to check for XKB, and to set the HAVE_XKB #define if it
3581 * libspi/listener.c:
3582 ()impl_notify_event): Make failure to get event source name
3585 * registryd/deviceeventcontroller.c:
3586 (#include): include X11/XKBlib.h.
3587 (DEControllerPrivateData) : New struct.
3588 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3590 (dec_synth_keycode_press) (dec_synth_keycode_release):
3591 New methods; split the key synthesis code into these methods.
3592 They check XKB settings before determining the "time" values to
3593 pass to Xtest; this fixes bug #95828.
3594 (impl_generate_keyboard_event): Changed to use methods above,
3595 instead of callng Xtest directly.
3596 (spi_device_event_controller_init): Initialize new privae struct s
3598 (spi_device_event_controllr_object_finalize):
3599 Free the (new) private data.
3601 * registryd/deviceeventcontroller.h:
3602 Add new gpointer to end of struct data.
3604 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3607 Incremented revision to 1.1.2, SONAME is still '.so', library
3608 extensions are ".so.0.0.2".
3610 * registryd/deviceeventcontroller.c:
3611 FIXES FOR #93592 and #95940.
3612 (statics): renamed mouse_button_state to mouse_mask_state,
3613 added key_modifier_mask.
3614 (spi_dec_poll_mouse_moved):
3615 Added key modifier checks, and emit "keyboard:modifiers"
3616 events when the key modifiers currently in use change.
3617 Also generate "mouse:abs" events periodically, even if the mouse
3618 is stationary (should we?).
3619 Alternatively we could generate "mouse:abs" events for either all
3620 mouse movements, or every 'nth' mouse movement, or at the
3621 beginning and end of every "active" mouse period.
3623 * test/event-listener-test.c:
3624 (main): Added listener for "keyboard:modifiers" events.
3626 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3628 * libspi/keymasks.h:
3629 Added key mask #defines for mouse buttons; e.g.
3630 SPI_KEYMASK_BUTTON1, etc.
3633 Incremented dependency on ATK to version 1.1.0. (This dependency
3634 is probably premature but will soon be real enough).
3636 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3638 * libspi/hyperlink.[ch]
3639 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3640 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3643 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3648 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3650 * registryd/deviceeventcontroller.c
3651 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3652 events to be ignored.
3653 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3654 keyboard_mode so that XAllowEvents() can be called.
3658 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3660 * cspi/spi-accessible.c: Correct names of roles returned by
3661 AccessibleRole_getName(). Fixes bug #95055.
3663 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3665 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3668 * registryd/registry.c
3669 (desktop_remove_application: Write diagnostic message to stderr for
3672 (impl_accessibility_registry_deregister_global_event_listener):
3673 Correct size of lists array. This addresses bug #94555).
3675 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3677 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3680 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3682 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3685 * registryd/registry.c (impl_registry_notify_event): Remove
3686 unnecessary call to parser_event_type().
3688 * docs/reference/cspi/tmpl/spi_component.sgml:
3689 Add reference to SPI_LAYER_WINDOW.
3691 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3693 * registryd/registry.c
3694 (desktop_add_application): Remove leak.
3695 (desktop_remove_application): Remove leak.
3696 (parser_event_type): Remove leak.
3698 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3700 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3701 bogus call to CORBA_string_dup(). Also removed unnecessary
3702 g_string_dup/g_free calls.
3704 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3706 * registryd/deviceeventcontroller.c:
3707 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3709 * test/event-listener-test.c:
3710 main: commented out three redundant listeners, to reduce output
3711 noise. (They still are potentially useful for testing).
3714 2002-09-13 Michael Meeks <michael@ximian.com>
3716 * Update all the copyrights to include Ximian.
3718 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3720 * cspi/spi.h: add SPI_LAYER_WINDOW.
3722 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3723 add Accessibility_LAYER_WINDOW case.
3725 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3727 * libspi/component.c: (impl_accessibility_component_get_layer):
3728 add ATK_LAYER_WINDOW case.
3730 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3732 * configure.in: incremented micro version.
3734 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3736 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3739 Clarified and reworded our commit policy.
3742 Started an API "todo" addition list for 2.2.
3745 (impl_getSelection):
3746 Free char pointer from atk_text_get_selection, which was being leaked.
3748 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3751 Small revision to author acknowledgement.
3753 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3755 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3756 If signal has detail add it to the type of the event.
3759 2002-08-12 Michael Meeks <michael@ximian.com>
3761 * test/test-simple.c (global_listener_cb): bin bogosity.
3762 (test_keylisteners): disable, still doesn't work reliably,
3763 certainly not on my system anyway.
3765 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3766 don't leak a reference on the DEC. This round-trip
3767 fetching of the DEC per keystroke sucks, it should be
3770 * cspi/spi-private.h,
3771 * cspi/cspi-lowlevel.h,
3772 * cspi/bonobo/cspi-bonobo-listener.[ch],
3773 * cspi/bonobo/cspi-bonobo.c: get the copyright
3774 notices better - there is still a large amount of
3775 work in at-spi falsely attributed solely to Sun.
3777 * cspi/spi_main.c (cspi_object_ref): kill bogus
3778 hash lookup, just increment the ref.
3779 (SPI_freeString): make explicit the fact that we
3780 handle NULL strings just fine.
3781 (report_leaked_ref): obey coding standards.
3782 (cspi_object_hash, cspi_object_equal): kill retval.
3783 (cspi_object_release): only release if not on loan.
3784 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3785 (cspi_object_borrow, cspi_object_return): impl.
3787 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3788 use cspi_object_borrow / return.
3790 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3792 * cspi/bonobo/cspi-bonobo-listener.c:
3794 Don't call cspi_oject_new() because this is creating a new Accessible
3795 every single time that an event is fired. This causes ATs like at-poke
3796 to nolonger recognise the source of the event and thus ignore it.
3797 Re-use the object from the cache, ref it and then unref it after the
3798 listeners have been called.
3800 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3802 * test/event-listener-test.c:
3803 Added command-line options to disable mouse events (m) and
3806 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3808 * configure.in: Update required versions of ATK, GTK+ and GAIL
3810 * cspi-1.0.pc.in: Add dependency for X include files
3813 * cspi/bonobo/Makefile.am:
3814 Add $(X_CFLAGS) so that X include files
3815 are picked up even if not in standard place (bug #71686)
3817 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3819 * registryd/deviceeventcontroller.c: fix for 84261
3820 (spi_dec_mouse_moved):
3821 Added test of mouse button mask, so that we can detect mouse
3822 button release. Unfortunately we can't otherwise detect mouse
3823 button release events without consuming the mouse press event,
3824 because of the way XGrabButton works. This means that our mouse
3825 release events have a latency dependent on the polling period
3826 while the mouse button is down. At least in this case we only
3827 have to poll while the button is down, and not at other times.
3828 If the button masks don't match with what the last press event
3829 reported, we report the appropriate button release event.
3830 (spi_dec_ungrab_mouse):
3831 New method (not yet called).
3832 (spi_device_event_controller_forward_mouse_event):
3833 New method, sends mouse press event from GdkFilter.
3834 (spi_dec_init_mouse_listener):
3835 Added code to call XGrabButton, redirecting mouse button events to
3836 the root window and our Gdk event loop.
3838 Added code to filter mouse button events, and reordered.
3840 * test/event-listener-test.c:
3842 Added registration for mouse events of type "mouse:button".
3844 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3846 * registryd/deviceeventcontroller.c: partial fix for 84261
3847 (spi_dec_poll_mouse_idle):
3848 New method, a timeout which checks to see if the mouse
3850 (spi_dec_poll_mouse_moving):
3851 A timeout to be called when mouse motion is underway.
3852 (spi_dec_poll_mouse_moved):
3853 A method which fires an event if the mouse has moved, and reports
3854 whether or not it did so.
3855 (spi_dec_init_mouse_listener):
3856 A method which sets up the timeouts above.
3857 (spi_device_event_controller_new):
3858 Now calls spi_dec_init_mouse_listener.
3860 * registryd/registry.c:
3861 (spi_registry_init):
3862 Now we initialize the device event controller when the registry is
3863 initialized, instead of waiting until a client has requested a key
3864 event notification; this is because we need the event controller
3865 for mouse events, but the mouse event registration API is a
3866 "registry" call and doesn't explicitly call the
3867 deviceeventcontroller.
3868 We now report mouse motion events with a 100 ms idle latency and
3869 a 20 ms granularity when motion is in progress.
3871 * test/event-listener-test.c:
3873 We now register the "detail listener" for events of type
3874 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3875 delivered only for the first mouse event received, and thereafter
3876 "mouse:abs" events are delivered.)
3878 * cspi/spi_registry.c:
3879 DOCS: Documented the above mouse event typestrings.
3881 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3883 Happy Summer Solstice...
3885 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3886 (spi_controller_notify_keylisteners):
3887 Changes to remove a listener from the listener list, freeing its
3888 open keygrabs, if a notification to that listener fails. This
3889 means that although a dead listener can continue to hold a passive
3890 keygrab, a maximum of one dispatch to such a listener can fail
3891 before the listener is removed from the list, thus the keygrab
3892 will be released on the next occurrence.
3893 As part of this fix:
3894 (spi_notify_keylisteners):
3895 Renamed to spi_controller_notify_keylisteners, as the controller
3896 instance must now be passed as an argument.
3897 The copied 'notify' GList is now a list of DEControllerKeyListener
3898 objects, since we need more than just the CORBA reference if a
3899 notify fails and we need to deregister the listener.
3900 (impl_notify_listeners_sync):
3901 (impl_notify_listeners_async):
3902 (spi_device_event_controller_forward_key_event):
3903 Modify use of notify_keylisteners in accordance with above
3905 (spi_deregister_controller_key_listener):
3906 New method introduced by refactoring, from
3907 impl_deregister_keystroke_listener.
3908 (impl_deregister_keystroke_listener):
3909 Call spi_deregister_controller_key_listener.
3910 (spi_key_listener_clone):
3911 New method to copy a key listner without doing a 'ref' on the
3912 remote object instance; used to create a notifier list.
3913 (spi_key_listener_data_free):
3914 New method, frees data without unreffing the source.
3916 (spi_key_listener_clone_free): new method.
3917 (spi_key_listener_free):
3918 refactored to call spi_key_listener_data_free.
3920 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3922 * registryd/registry.c: [fix for bug 86048]
3923 (notify_listeners_cb):
3924 Clear CORBA system exceptions which occur when notifying
3925 listeners, before returning to the source of the original event,
3926 since the event source doesn't care if the relayed notify failed.
3927 In other words, don't complain to the atk-bridge if the registry
3928 could not notify all its listeners, that's no fault of the
3929 application and thus should not appear to be an error from the
3930 application's perspective.
3932 * cspi/spi_main.c: [fix for bug 85980]
3934 Replaced use of bonobo_object_dup_ref with call to the wrapper
3935 method, csou_dup_ref (); this silences a compiler warning and
3936 provided more portability.
3938 Ping the registry before return, and restart if necessary.
3940 * cspi/bonobo/cspi-bonobo.c:
3942 New internal method.
3944 Fixed this method to return an object reference, as it should have
3947 * cspi/cspi-lowlevel.h:
3948 Added internal definition for cspi_ping() and fixed
3949 return type of cspi_dup_ref().
3952 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3954 * atk-bridge/bridge.c: [fix for bug 85305]
3955 (spi_atk_bridge_register_application):
3956 New method where the initial application registry calls have been
3957 moved; it allows an application to re-register in response to
3958 certain error conditions (such as a registry restart, see below).
3960 Moved some initialization code to the method
3961 spi_atk_bridge_get_registry, below.
3962 (spi_atk_bridge_get_registry):
3963 New, private accessor function for the Accessibility_Registry
3964 instance. If the registry has not been started before, or has
3965 died (as detected by failure of a CORBA exception), it is
3966 restarted before return, and spi_atk_bridge_register_application
3967 is called again to register with the new bridge instance.
3968 (spi_atk_emit_eventv):
3969 Set registry_died on error; use spi_atk_bridge_get_registry () to
3970 access the registry.
3972 * registryd/registry.c:
3973 (impl_accessibility_registry_register_global_event_listener):
3974 Set listener's event_type_quark to etype.minor instead of
3975 etype.major (fix for bug 84856).
3977 * test/event-listener-test.c:
3978 (report_detail_event):
3979 Change the output string so that user/tester can tell that the
3980 'detail listener' was called instead of the 'generic listener'.
3982 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3984 Fixes for bugs 84900, 84908, 84897, 84898.
3989 Revved version to 1.1.0
3990 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3991 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3993 * idl/Accessibility_Registry.idl:
3994 (EventListener::notifyEvent):
3995 Removed 'oneway' directive after extensive consulation with
3996 ORBit2 team and others. This means also that unref() of the event
3997 source can and should be done synchronously after emission, rather
3998 than remotely in the client, after servicing the notify call on
4001 NOTE: This change speeds up listener performance considerably, but
4002 introduces new latency on the application side. We may want to
4003 add an event queue to the atk-bridge.
4005 * atk-bridge/bridge.c:
4006 (spi_atk_bridge_focus_tracker):
4007 Do a local unref() on the event source after emission.
4009 * registryd/registry.c:
4010 (desktop_remove_application):
4011 Do an unref() on the event source after emission.
4012 (desktop_add_application):
4013 Do an unref() on the event source after emission.
4014 (notify_listeners_cb):
4015 When relaying an event, don't automatically add the event source
4016 to the local object cache, just CORBA_dup it instead. Likewise,
4017 if this method reenters, release the ref rather than calling
4019 (impl_registry_notify_event):
4020 No longer call remote unref() on the event source after dispatch.
4022 * libspi/eventlistener.c:
4023 (impl_accessible_event_notify_event):
4024 Removed remote unref ()
4026 * cspi/bonobo/cspi-bonobo-listener.c:
4028 We now call cspi_object_new() instead of cspi_object_add() on
4029 receipt of an event; thus we only have an implicit object ref
4030 while the cspi_event method is being executed. If we need to keep
4031 a reference to the object, the listener must call ref() on the
4032 object. Thus also we don't need to call cspi_object_unref() after
4033 invoking the listener callbacks in this method.
4037 New internal API for creating a new cspi object, without adding it
4038 to the object cache.
4040 Now uses cspi_object_new() to create the cspi object instance.
4042 Now checks to see if the object is in the internal object cache,
4043 and adds it if necessary before incrementing its refcount (note
4044 that new objects are added with a refcount of 1).
4045 (report_leaked_ref):
4046 New method which gives some information on leaked object instances
4047 if leak detection is turned on.
4049 * test/event-listener-test.c:
4050 (timing_test_event):
4051 New method, used for testing event delivery timing for special
4052 events of type "object:test". It reports elapsed time and
4053 events/sec every 500 events.
4055 Added a new listener, 'test listener', to check timing of event
4056 receipt as noted above.
4058 Added some timing output here also, reports elapsed time every 100
4061 * test/stress-test.c:
4062 Emit events of type "object:test", for use with "event-listener-test".
4064 * test/test-simple.c:
4065 (global_listener_cb):
4066 Call Accessible_ref() on the event source before calling
4067 validate_accessible, since the validation process does pointer
4068 comparisons on the event source, meaning that the event source
4069 needs to be added to the local object cache first. Any use of
4070 such pointer comparisons between Accessible objects requires that
4071 the caller hold an explicit reference to those objects.
4072 We also must therefore call Accessible_unref() when leaving this method.
4074 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4076 * registryd/deviceeventcontroller.c:
4077 (spi_controller_update_key_grabs):
4078 Fix for #84735, subsequent keygrab listeners not informed of
4079 registration failure.
4082 (spi_base_construct):
4083 Add an assertion on construct, to make sure the GObject passed in
4084 is really a GObject.
4086 Explicitly initialize object->gobj pointer to NULL;
4088 * cspi/bonobo/cspi-bonobo-listener.c:
4089 (cspi_object_add_ref):
4090 New method, can specify whether to dup-ref a bonobo object passed
4091 in if it's newly added to the object cache.
4093 Now calls cspi_object_add_ref with second param of "FALSE". This
4094 prevents us from doing a pointless dup-ref followed by
4095 release-unref for all those cases where the object is already in
4096 our object cache (fix for #85205).
4098 * atk-bridge/bridge.c:
4099 (spi_atk_bridge_idle_init):
4100 Removed this method, we don't need to initialize in an idle
4103 Changed to call spi_atk_register_event_listeners directly, not via an
4104 idle handler. (fix for #81139)
4105 (gnome_accessibility_module_shutdown):
4106 Removed conditional around deregistration of listeners, since we
4107 don't use the idle handler and thus have always registered when
4109 (spi_init_keystroke_from_atk_key_event):
4110 Changed references to Accessibility_KEY_PRESSED to
4111 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4113 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4115 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4120 * test/stress-test.c:
4123 (may have been an incomplete commit yesterday?)
4125 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4128 Added target for new stress-test.
4130 * test/stress-test.c:
4131 New test, sends 1000 focus notifies in quick succession.
4133 * test/key-listener-test.c:
4134 Now we report whether a keylistener registration
4135 request succeeded or failed.
4137 * test/event-listener-test.c:
4138 Uncommented some listeners which are now implemented.
4141 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4143 * registryd/deviceeventcontroller.c:
4144 (spi_controller_update_key_grabs):
4145 Fix for #82509, lack of failure notification when
4146 ALL_WINDOWS keygrabs fail due to XGrabKey
4147 failure: we synchronize the server when
4148 registering a passive grab, to make sure we get the
4149 error message before the call returns.
4151 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4153 * test/test-simple.c:
4155 Removed #ifdef KEY_IMPL_WORKS guards.
4156 (test_keylisteners):
4157 Removed #ifdef KEY_IMPL_WORKS guards.
4158 Fixed bug which was causing a hang waiting for a
4159 "press" event (which was already overwritten by a "release"
4160 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4162 Added code to set globals 'key_press_received' and
4163 'key_release_received'.
4166 Added section "1.1 API Proposed Additions" which
4167 lists API additions desired for at-spi-1.1 (only one so far).
4168 Updated TODO list a little.
4170 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4172 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4175 * configure.in: Revved to 1.0.0.
4177 * idl/Accessibility_Registry.idl:
4178 (registerKeystrokeListener):
4179 Added boolean return value.
4181 * registryd/registry.c:
4182 (notify_listeners_cb): Minor fix to debug output.
4184 * registryd/Accessibility_Registry.server.in.in:
4185 Revved version number in OAFIID to 1.0.
4187 * registryd/registryd.c:
4189 Use new OAFIID version.
4191 * cspi/bonobo/cspi-bonobo.c:
4193 Use new OAFIID version.
4199 * atk-bridge/bridge.c:
4201 Use new OAFIID version.
4203 * registryd/deviceeventcontroller.c:
4204 (impl_register_keystroke_listener):
4205 Added CORBA_boolean return value.
4206 (spi_controller_register_device_listener):
4207 Added gboolean return value.
4208 (spi_controller_register_global_keygrabs):
4209 Added gboolean return value.
4210 (spi_key_set_contains_key):
4211 Added implementation for many more control keys,
4212 for instance F1-F12, arrow keys, End, Home, Page_Up,
4214 [TODO: some still not implemented].
4216 * text/screen-review-test.c:
4217 (text_chunk_pad_string):
4218 New function: it provides mapping between coordinate
4219 positions of text chunks and character positions in the
4220 screen-review-line output string.
4221 (text_chunk_to_string):
4222 New function, calls text_chunk_pad_string with various
4223 pad/delimiter characters. Pushbuttons are delimited with
4224 square brackets, Frames with vertical 'pipe' lines, and
4225 other text with double quotes.
4226 (text_chunk_list_to_string):
4227 Calls new function text_chunk_to_string.
4228 (toplevel_composite):
4229 New function to composite layers CANVAS through
4230 POPUP in each toplevel (other layers are composited
4231 across toplevels, i.e. BACKGROUND and OVERLAY).
4232 (review_buffer_composite):
4233 Revise to use new methods.
4239 2002-05-31 Laszlo Peter <laca@sun.com>
4241 * configure.in: add the Xtst libdir to the runpath on Solaris,
4242 since it's not in the default library search path.
4244 2002-05-29 jacob berkman <jacob@ximian.com>
4246 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4248 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4250 * test/screen-review-test.c:
4251 (text_chunk_pad_string):
4252 Added method, which pads the string according to the
4253 text bounds of the chunk. It also takes a 3-character
4254 string as a param which indicates the characters to be
4255 used for start, padding, and end delimitation of the chunk.
4256 (text_chunk_to_string):
4257 Changed to use text_chunk_pad_string.
4259 * configure.in: Fixed bug in AC_OUTPUT that was
4260 causing path substitution in Accessibility_Registry.server
4263 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4265 * text/screen-review-test.c:
4266 (guess_string_clip):
4267 New method which attempts a best-guess at clipping
4268 text from components (like Java labels) which don't
4269 actually implement AccessibleText. This inaccurate
4270 clip is based on the assumption that the label is
4271 justified left-and-right, and monospaced.
4272 (text_chunk_get_clipped_string):
4273 We now call guess_string_clip() for text-containing
4274 components that don't implement AccessibleText.
4276 * test/screen-review-test.c:
4277 (review_buffer_get_text_chunk):
4278 We now pull "name" from labels if they do not implement
4279 AccessibleText (i.e. for Java labels).
4280 (get_screen_review_line_at):
4281 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4284 Replaceded AC_OUTPUT target
4285 registryd/Accessibility_Registry.server with
4286 registryd/Accessibility_Registry.server.in.
4288 * registryd/Accessibility_Registry.server.in:
4289 Removed (this is now a Makefile target).
4291 * registryd/Accessibility_Registry.server.in.in:
4292 Added (source for target above). We now use $(libexecdir) as
4293 prefix for the executable at-spi-registryd.
4295 * registry/Makefile.am:
4296 Now install at-spi-registryd into $(libexecdir), and build .server
4297 file with path (see above).
4299 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4301 * test/screen-review-test.c:
4302 (text_chunk_get_clipped_string):
4303 We now check to see if words fall within clip bounds
4304 before resorting to character-by-character clip bounds testing.
4306 * TODO: Added a section for "2.2 Proposed API Additions".
4308 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4310 * test/screen-review-test.c:
4312 Added a screen review benchmarking and test program to test
4315 * cspi/spi_accessible.c:
4317 Made some of the debug strings passed to cspi_check_ev a
4318 little more specific.
4320 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4322 * test/screen-review-test.c: Fix crashes in debug statements
4324 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4326 * test/screen-review-test.c: Added this file.
4328 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4330 * atk-bridge/bridge.c: changed "object:state-change" to
4331 "object:state-changed" to match docs.
4333 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4335 * atk-bridge/bridge.c: Hooked up state-change event details.
4337 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4339 * registryd/registry.c:
4340 Fixed quarking bug in event string parsing; now events with
4341 detail parameters get matched correctly to listeners.
4344 * util/idl/Magnifier.idl: remove.
4346 * util/*.[ch]: Remove.
4347 Magnification utilities and IDL are now in module gnome-mag.
4349 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4351 * registryd/deviceeventcontroller.c:
4352 Fixed bug in grab key conversion which was causing keycode grabs
4353 to be converted to AnyKey grabs.
4356 updated NEWS file to reflect recent spin-off of gnome-mag.
4358 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4360 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4361 busted AccessibleStateSet_compare. Removed redundant casts.
4363 * cspi/spi-action.c: Removed redundant casts.
4365 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4367 * cspi/spi_component.c: Fixed typos and casting error.
4369 * cspi/spi_editabletext.c: Removed redundant casts.
4371 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4373 * cspi/spi_hypertext.c: Eliminated redundant casts.
4375 * cspi/spi_image.c: Eliminated redundant casts.
4377 * cspi/spi_registry.c: Eliminated redundant casts.
4378 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4379 * cspi/spi_selection.c: Removed redundant casts.
4380 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4381 handling. Screen geometry and text offsets were being returned as 0
4382 on error which is technically valid-- changed these to return -1.
4383 Added marshaller for text boundary types to fix bug with boundary
4384 types being passed incorrectly to atk.
4386 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4389 * cspi/spi_registry.c:
4390 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4391 which was uncovered by the recent key changes.
4393 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4395 * test/event-listener-test.c:
4397 Added new test, "event-listener-test";
4398 this code does two things; it benchmarks traversal time
4399 for the accessible hierarchy for the first running accessible
4400 app, and it connects listeners for all supported event types.
4401 It is thus useful as an example event listener and for
4402 diagnostics/debugging of event generation.
4404 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4407 Removed unnecessary dependency on libutil.
4410 Revved micro version: 0.13.1
4412 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4415 Removed util/Makefile from targets.
4418 Removed util subdir from SUBDIRS (temporarily,
4419 pending removal of magnifier-only code
4423 #ifdef-ed out magnifier dependencies, since
4424 magnifier IDL, headers, and binary now live in
4425 module gnome-mag and we don't want at-spi to depend
4426 on gnome-mag. A magnifier demo which can run alongside
4427 simple-at is forthcoming in the gnome-mag module.
4429 NOTE: Split magnifier binary, IDL, and magnification
4430 activation code from at-spi into module gnome-mag.
4432 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4434 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4435 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4437 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4440 Revved to version 0.13.0
4442 * idl/Accessibility_Registry.idl:
4443 Changed definition of KeySet from sequence of longs to sequence of
4444 KeyDefinitions, and added KeyDefinition struct.
4445 Required for fix to bug 80616.
4447 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4448 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4449 to use new definition (see above).
4451 * registryd/deviceeventcontroller.c: handle_keygrab(),
4452 spi_keyset_contains_key():
4453 Changed to make use of new struct; this allows matching based on
4454 string key-name, for instance "Tab". This also allows matching of
4455 composed characters, non-alphanumeric characters in a way that
4456 doesn't involve dependencies on X keysym codes directly, etc.
4458 * test/key-listener-test.c:
4459 Added test for Alt-Tab key using "string" specification of keyset,
4460 and modified one of the tests to use a keycode-based keyset.
4461 Thus this test both tests and demonstrates the creation and use of
4462 keysets of three forms: specified via keycode array,
4463 keysym array, and string array. (The string case only contains a
4464 single string, i.e. a string array of length 1).
4467 Turned on PRINT_TREE option by default. Also fixed a
4468 string-freeing bug in the PRINT_TREE code.
4469 Added a listener to window:minimize events.
4471 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4473 * atk-bridge/bridge.c:
4474 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4475 for window:activate and window:deactiveate
4476 (atk_bridge_property_event_listener atk_bridge_signal_listener
4477 atk_bridge_window_event_listener) Tidy debug code
4479 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4481 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4482 Fixed handling for NULL return value from ATK.
4484 * libspi/action.c libspi/component.c libspi/editabletext.
4485 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4486 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4487 Removed redundant casts.
4489 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4490 Fixed off by one bug.
4492 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4493 function not present in idl)
4495 2002-05-02 jacob berkman <jacob@ximian.com>
4497 * atk-bridge/Makefile.am: make atk-bridge a real module
4499 2002-04-26 Radek Doulik <rodo@ximian.com>
4501 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4502 atk_state_types table
4504 2002-04-22 jacob berkman <jacob@ximian.com>
4507 * libspi/Makefile.am: add deps on the built files to help
4508 automake, and don't version the ORBit typelib
4510 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4512 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4513 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4514 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4515 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4516 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4517 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4518 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4519 libspi/accessible.h libspi/accessible.h libspi/base.h
4520 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4521 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4522 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4523 libspi/spi-private.h libspi/statetset.h libspi/table.h
4524 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4525 util/mag_client.h util/mag_control.c util/mag_image.c
4526 util/mag_image.h util/magnifier.c util/magnifier.h:
4527 Add missing file headers; standardize existing ones
4529 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4531 * atk-bridge/bridge.c: Added window event support.
4533 2002-04-18 Michael Meeks <michael@ximian.com>
4535 * libspi/relation.c (impl_getNTargets): impl.
4536 (impl_getTarget): impl.
4538 * libspi/Makefile.am: fix stateset install.
4540 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4543 Started putting useful info in this file.
4545 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4547 * atk-bridge/bridge.c:
4548 Propagate state-changed notifications to ATs
4550 * cspi/spi_registry.c: update docs to reflect actual behavior of
4551 state-change events.
4553 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4556 Incremented version to 0.12.1
4558 * util/mag_client.h:
4559 Add missing declaration for magnifier_exit,
4560 used by mag_control.c - Forte compiler didn't like
4561 the implicit redeclaration of the function :-(
4564 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4567 Revved version to 0.12 due to API change (see below).
4569 * cspi/spi-roletypes.h:
4570 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4571 definition from the inline docs, and added docs
4572 for SPI_ROLE_LAST_DEFINED.
4575 * cspi/spi_streamablecontent.c:
4576 Added missing seek_type parameter to
4577 (so far unused) method,
4578 AccessibleStreamableContent_seek().
4579 [ RT approval JodyG. ]
4582 Fixed docs for SPI_createAccessibleKeystrokeListener.
4584 * cspi/spi_registry.c:
4585 Fixed docs for SPI_KEYSET_ALL_KEYS.
4587 * docs/reference/cspi/at-spi-cspi-sections.txt:
4588 Added a number of missing APIs to SECTIONS.
4590 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4592 * registryd/Makefile.am:
4594 * cspi/bonobo/Makefile.am:
4595 Add $(X_LIBS) to makefiles.
4597 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4600 Revved version to 0.11.
4602 * libspi/component.c:
4603 Added implementation for grabFocus.
4605 * idl/Accessibility_Component.idl
4606 (Accessibility_Component_grabFocus):
4607 Made this method return boolean to indicate success or failure, to
4608 be consistent with cspi and the corresponding ATK method.
4610 * idl/Accessibility_Selection.idl
4611 (Accessibility_Selection_selectAll) :
4612 Made these methods return boolean to indicate success or
4613 failure, to be consistent with cspi and the corresponding ATK methods.
4615 * idl/Accessibility_EditableText.idl
4616 (Accessibility_EditableText_setTextContents,
4617 Accessibility_EditableText_insertText,
4618 Accessibility_EditableText_cutText,
4619 Accessibility_EditableText_deleteText,
4620 Accessibility_EditableText_pasteText):
4621 Made these methods return boolean to indicate
4624 * cspi/spi_editabletext.c:
4625 Made these methods return booleans.
4627 * libspi/selection.c:
4628 * libspi/component.c:
4629 * libspi/editabletext.c:
4630 Connected the boolean returns from ATK
4631 to the server-side code referenced above.
4633 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4635 * idl/Accessibility_Table.idl: Added missing methods,
4636 Accessibility_Table_addRowSelection,
4637 Accessibility_Table_addColumnSelection,
4638 Accessibility_Table_removeRowSelection,
4639 Accessibility_Table_removeColumnSelection.
4642 Added C wrappers for above IDL:
4643 AccessibleTable_addRowSelection,
4644 AccessibleTable_addColumnSelection,
4645 AccessibleTable_removeRowSelection,
4646 AccessibleTable_removeColumnSelection.
4649 Added server-side implementation code for IDL above, connecting
4650 to pre-existing ATK api.
4652 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4654 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4656 * libspi/accessible.c: Added implementation fo
4657 Accessibility_Accessible_get_state.
4659 * libspi/libspi.h: Added stateset.h to the list of includes.
4661 * libspi/stateset.c: Fixed broken implementation.
4663 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4666 Added implementation code for Accessibility_Magnifier_exit ().
4668 * util/mag_control.c:
4669 Added test code for above method; you can
4670 now kill an existing magnifier via
4671 ./mag_control q, from the util directory.
4673 * test/key-listener-test.c:
4675 Added a new test, for our key listener API.
4677 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4679 * test/app.c, test/keysynth-demo.c:
4681 Replace use of snprintf with g_snprintf.
4682 (fix for bugzilla 78249)
4684 2002-03-27 Michael Meeks <michael@ximian.com>
4688 * util/Makefile.am (INCLUDES): fix.
4689 (DONT_DIST_SOURCE): don't distribute the
4692 * libspi/Makefile.am (dist-hook): ditto.
4694 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4696 * libspi/hypertext.c:
4697 Fix warnings when yelp is used with atk-bridge
4699 2002-03-21 Michael Meeks <michael@ximian.com>
4701 * libspi/application.c (spi_application_new):
4702 use spi_accessible_construct so we use the AtkObject
4705 2002-03-19 Michael Meeks <michael@ximian.com>
4707 * registryd/registry.c (desktop_remove_application),
4708 (desktop_add_application): clean coding style.
4710 * registryd/desktop.c (spi_desktop_remove_application),
4711 (spi_desktop_add_application): kill re-enterency hazards.
4712 (spi_desktop_dispose): remove bogus redundant cast
4713 obscuring bug; fix bug too.
4714 (spi_desktop_init): make the desktop object immortal.
4716 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4719 Added a #define-guarded tree-traversal step
4720 when enumerating the apps (diagnostic tool).
4722 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4724 * idl/Accessibility_Role.idl:
4725 Added ROLE_DRAWING_AREA which seemed to be missing from the
4728 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4730 * cspi/spi-roletypes.h cspi/spi_accessible.c
4731 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4734 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4735 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4736 AT when applications are added and removed from the desktop. This
4737 reverts the previous broken implementation using the backing
4738 AtkObject for the SpiDesktop.
4740 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4742 * registryd/desktop.c: emit the "children-changed::add" and
4743 "children-changed::remove" signals on the backing ATK object for
4744 the desktop so AT can tell when applications are started and shut
4747 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4749 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4751 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4753 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4755 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4757 * cspi/state-types.h: synched with IDL and ATK
4759 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4761 * libspi/accessible.c
4762 (impl_accessibility_accessible_get_child_at_index):
4763 Change return value for g_return_if_fail ()
4764 to CORBA_OBJECT_NIL instead of "0" (!)
4766 * registryd/Makefile.am:
4767 * registryd/Accessibility_Register.server.in:
4768 Changed name of executable, "registryd",
4769 to something more informative:
4772 2002-03-13 Michael Meeks <michael@ximian.com>
4774 * atk-bridge/bridge.c (atk_bridge_init): don't register
4775 if we're in a bonobo-component, rather than a bonobo app.
4777 2002-03-13 Michael Meeks <michael@ximian.com>
4779 * atk-bridge/bridge.c (gtk_module_init): split
4780 out body to (atk_bridge_init): here, since otherwise
4781 we get symbol conflicts and oddness when invoked
4782 from (gnome_accessibility_module_init): here (upd.)
4784 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4787 New file. Explicitly allow "build sheriff" putbacks provided
4788 they are tested on Solaris.
4790 * docs/reference/cspi/Makefile.am:
4791 Added '-' to the "cp" command for index.sgml.
4792 ("patch by thomasvs, soon coming to a GUADEC near you")
4795 Incremented version number (0.9.0) for new release.
4796 Changed macro that checks for popt, to better detect
4797 obsolete versions of popt.
4800 Added X_LIBS to AC_SUBST, for applications
4801 that call Xlib API directly.
4804 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4807 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4810 Fix regression caused by hard-coding major
4811 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4814 * test/test-simple.c (test_editable_text),
4815 (test_test): revert previous change (error was
4816 a regression in gail which is now fixed).
4818 2002-03-04 Michael Meeks <michael@ximian.com>
4820 * test/test-simple.c (test_editable_text),
4821 (test_text): pass G_MAXINT instead of '-1' for
4822 whole string - is this a good thing !?
4824 * cspi/spi_accessible.c
4825 (Accessible_getRelationSet): fix crasher bug
4826 overwriting the end of the array.
4828 * test/test-simple.c (validate_accessible): free,
4829 not g_free returned relation set.
4831 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4833 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4834 implemented stateset support
4836 * idl/Accessibility_State.idl: Made necessary changes to
4837 the IDL to support state sets.
4839 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4841 * registryd/deviceeventcontroller.c:
4842 Added implementation for generateMouseEvent.
4844 * cspi/spi_registry.c:
4845 Connected new implementation for generateMouseEvent
4848 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4851 Incremented revision (but no change in public API
4852 outside of 'utils', which are not installed public yet.)
4854 * libspi/component.c:
4855 Changed to use atk_component API for layers and
4856 mdi_zorder, instead of deprecated atk_object API.
4858 Magnification Utility Enhancements:
4861 Added implementation of createZoomRegion, clearAllZoomRegions,
4862 resizeZoomRegion. Added new commandline argument
4863 "--no-initial-region". Note that clearAllZoomRegions doesn't
4864 unmap the old '0' region as it should (yet), and the other
4865 methods only work when creating/resizing a single region,
4866 which is "region 0".
4867 (Code for multiple region support will be added later.)
4870 Now we raise the magnifier window each time it's refreshed;
4871 this will help keep it on top.
4873 * util/mag_client.h:
4874 Added simple wrappers for above, used by mag_control.
4875 For general use, it's recommended to use the bonobo magnifier
4876 control API directly instead of using these wrappers.
4879 Moved ZoomRegionData from magnifier.c to this file.
4881 * util/mag_control.c:
4882 Added some code to exercise new IDL implementations.
4884 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4886 * libspi/text.c: Provide implementation for getAttributes.
4888 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4891 Incremented revision.
4893 * test/test-simple.c:
4894 Replaced use of deprecated g_main_iteration with
4895 g_main_context_iteration.
4897 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4900 Incremented revision for desktop alpha 2.
4902 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4904 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4907 * test/simple-at.c: include netinet/in.h.
4909 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4911 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4912 use NULL, not CORBA_OBJECT_NIL.
4914 * libspi/accessible.c:
4915 (impl_accessibility_accessible_get_relation_set):
4916 allocate the sequence correctly.
4918 * libspi/remoteobject.h: kill spi_remote_object_new.
4920 * test/test-simple.c: (validate_accessible): add code
4921 to test relation sets, now all we need is to figure
4922 out how to excercise this code path :/
4924 2002-01-18 Michael Meeks <michael@ximian.com>
4926 * test/test-simple.c
4927 (key_listener_cb): consume the key.
4928 (test_keylisteners): update.
4929 (main): wait for any pending unrefs on events.
4931 * registryd/deviceeventcontroller.c
4932 (spi_controller_update_key_grabs): only re-issue the
4933 grab on a key release.
4934 (spi_device_event_controller_forward_key_event):
4935 refresh the keygrabs before we notify the listeners,
4936 to reduce the X ungrab / re-grab race.
4937 (spi_controller_register_with_devices): remove
4938 XSelectInput - we do that with the gdk_window_ call.
4939 (_spi_controller_device_error_handler): return a value.
4940 s/GDK_DISPLAY/spi_get_display/
4942 2002-01-17 Michael Meeks <michael@ximian.com>
4944 * registryd/deviceeventcontroller.c
4945 (_deregister_keygrab): don't blow out the later
4948 * test/test-simple.c (test_keylisteners): do a
4949 more intelligent validation.
4951 2002-01-14 Michael Meeks <michael@ximian.com>
4953 * atk-bridge/bridge.c
4954 (gnome_accessibility_module_init),
4955 (gnome_accessibility_module_shutdown): impl.
4956 (gtk_module_init): protect vs. double inits.
4957 (add_signal_listener): impl.
4958 (spi_atk_bridge_state_event_listener): kill
4959 (deregister_application): split out of
4960 (spi_atk_bridge_exit_func): here.
4962 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4965 Added caret tracking when using magnifier, and
4966 now use text bounds for focus tracking of text elements, rather than
4967 the component bounds - this is helpful for short text fields in long
4968 table cells, at high magnification.
4970 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4972 * registryd/deviceeventcontroller.c:
4973 Regression fix for keylistener de-registration; global keygrabs
4974 were not being released when deregisterKeystrokeListener was
4975 called in cspi, since
4976 Accessibility_DeviceEventController_deregisterKeystrokeListener
4977 was called with a zero-length keyset. That is because the cspi
4978 method, SPI_deregisterKeystrokeListener, does not take a keyset
4979 parameter but instead should remove all the key grabs held be a
4981 The code in impl_deregister_keystroke_listener was changed to copy
4982 the keylist from the listener instance previously registered with
4983 the DeviceEventController before releasing the grabs.
4985 * registryd/registry.c:
4986 * registryd/deviceeventcontroller.c:
4987 * libspi/spi-private.h:
4989 Changed spelling of "re-enterant" to "re-entrant" globally.
4991 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4993 * test/test-simple.c:
4994 Changed key listeners test - the test was slightly mis-using the
4995 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4996 It now uses '=' as the key event listened to and generated,
4997 relying on a keysym match rather than assuming that keycode 33
4998 is always equal to keysym '!'.
5000 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5003 Changed simple-at to use a specific keyset, rather than
5004 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5005 manager, desktop, etc.
5007 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5009 * registryd/deviceeventcontroller.c:
5010 Replaced standard X error handler with a special handler that
5011 is non-fatal for failed keygrabs. This works around
5012 problems with keygrab clashes sometimes observed on
5014 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5015 mouse handling code as yet).
5017 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5020 Incremented revision for desktop alpha release.
5023 Fixed a couple of the more glaring errors (still not
5026 2002-01-11 Michael Meeks <michael@ximian.com>
5028 * registryd/deviceeventcontroller.c
5029 (spi_device_event_controller_forward_key_event): kill
5030 XUngrabKey / XKeyGrab race.
5031 (spi_controller_grab_keyboard): rename to
5032 (spi_controller_update_key_grabs): this, and deal
5033 with incremental adding / removing grabs more
5035 (_register_keygrab): ensure we're not pending a remove.
5036 (spi_grab_mask_free): impl.
5037 (spi_controller_register_global_keygrabs): split out
5039 (handle_keygrab): impl.
5040 (_deregister_keygrab): impl.
5041 (spi_controller_deregister_global_keygrabs): impl.
5042 (spi_controller_update_key_grabs): re-issue the grab if
5043 we just recieved a notification.
5045 * test/test-simple.c (key_listener_cb): remove debug.
5047 * registryd/deviceeventcontroller.c
5048 (spi_controller_register_device_listener): after
5049 registering a global keygrab, actualy register it !
5050 don't wait for a timeout; doh !
5052 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5053 to make it more readable / manipulable.
5054 s/grabmask/grab_mask/ s/refcount/ref_count/
5055 s/keyval/key_val/ s/modmask/mod_mask
5057 2002-01-08 Michael Meeks <michael@ximian.com>
5059 * registryd/deviceeventcontroller.c
5060 (spi_controller_register_with_devices): use gdk calls to
5062 (global_filter_fn): implement the filter.
5063 (spi_device_event_controller_check_key_event): rename to
5064 (spi_device_event_controller_forward_key_event): this & upd.
5065 (spi_get_display): replace with GDK_DISPLAY.
5067 * registryd/deviceeventcontroller.c
5068 (spi_controller_deregister_device_listener): unroll into
5069 (impl_deregister_keystroke_listener): here to simplify.
5070 (spi_controller_register_global_keygrabs): split cut and
5071 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5072 (spi_controller_deregister_device_listener): remove.
5073 (impl_register_mouse_listener): remove, no mouse listener
5074 support in at-spi-1.0
5076 * registryd/registry.c
5077 (_device_event_controller_hook): kill.
5078 (spi_registry_init): upd.
5080 * registryd/deviceeventcontroller.c
5081 (spi_device_event_controller_class_init): upd.
5082 (spi_check_key_event): merge into.
5083 (spi_device_event_controller_check_key_event):
5084 here and kill strange static ev init, don't leak
5085 the x_event - nor dynamicaly allocate it.
5087 * registryd/registry-main.c (main): re-direct
5088 timeout to remove strange vtable mess.
5090 * registryd/deviceeventcontroller.c
5091 (remove_listener_cb): impl.
5092 (spi_controller_deregister_device_listener):
5093 fix re-enterancy hazard.
5095 2002-01-07 Michael Meeks <michael@ximian.com>
5097 * registryd/deviceeventcontroller.c
5098 (spi_device_event_controller_new): upd.
5099 (impl_notify_listeners_sync): upd. debug.
5100 (spi_notify_keylisteners): fix re-enterancy hazards,
5101 prettify, remove O(n*n) iteration.
5102 (spi_controller_grab_keyboard): fix iteration.
5103 (spi_check_key_event): re-format to suit coding style.
5104 Clean all the warnings - we're warning free.
5106 * registryd/deviceeventcontroller.h:
5107 * registryd/registry.h: make mutualy referential with
5108 typesafe forward references instead of (!) void pointer
5111 2002-01-11 Michael Meeks <michael@ximian.com>
5113 * cspi/spi_accessible.c (role_names): add a role name
5114 to sync this array with the enum; and make the regression
5117 2002-01-10 Michael Meeks <michael@ximian.com>
5119 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5120 allow expansion of enumeration & kill warning.
5122 * test/test-simple.c (key_listener_cb): impl.
5123 (test_keylisteners): impl.
5125 * cspi/spi-listener.h: make listener signatures const
5126 on the provided (const) events.
5128 * test/keysynth-demo.c: upd. to const events.
5130 * test/simple-at.c: ditto.
5132 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5135 Rev the version to 0.5 (the previous tarball was named 0.4,
5136 even though the micro number was 3), so we need to rev upwards
5137 again for beta2/"desktop-alpha"
5140 Checked in a demo script, which requires editing before use!
5141 Proceed with caution.
5144 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5146 * cspi/spi_accessible.c:
5147 Add a couple of missing enum initializations, and fix some enum
5150 * cspi/spi_registry.c:
5151 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5153 * docs/reference/cspi/at-spi-cspi-sections.txt:
5154 Remove/fix a couple of broken document references.
5157 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5158 as Alt-Control to listen for commands, since on some systems
5159 Control-Alt may already be grabbed.
5161 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5164 Update version number to 0.4 for Beta2.
5166 * libspi/accessible.c, libspi/accessible.h:
5167 Expose spi_accessible_construct, to enable libgail-gnome
5168 construction from spi_accessible subtype.
5170 * utils/magnifier.c:
5171 Workaround for bug in some non-gnome-compliant window managers
5172 which made magnifier resize improperly.
5174 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5176 * libspi/accessible.c: (spi_accessible_new) :
5177 Move the test for SPI_IS_REMOTE_OBJECT to
5178 spi_accessible_new_return, fixing a bug and compile time warning.
5180 2002-01-08 Michael Meeks <michael@ximian.com>
5182 * registryd/registry.c (parse_event_type): remove strndup.
5184 * libspi/Makefile.am (libspi_la_SOURCES): remove
5185 sources already included in the headers section.
5187 * libspi/util.c: add.
5189 * libspi/spi-private.h: add.
5191 * registryd/registry.c: update to moved list iterators.
5193 2002-01-05 Michael Meeks <michael@ximian.com>
5195 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5197 * test/test-simple.c (main): ditto.
5199 2002-01-04 Michael Meeks <michael@ximian.com>
5201 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5202 redundant construct.
5204 * registryd/registry.c
5205 (get_listener_list): impl.
5206 (impl_accessibility_registry_register_global_event_listener):
5207 re-impl. to simplify using ~, remove dodgy const cast off.
5208 (parse_event_type): constify.
5209 (impl_accessibility_registry_deregister_global_event_listener_all):
5210 re-write, more efficiency and simplicity, kill re-enterancy
5212 (compare_listener_corbaref, compare_corba_objects),
5213 (compare_listener_quarks): define out.
5214 (impl_accessibility_registry_deregister_global_event_listener):
5215 re-write for effiency, and nail re-enterancy hazard.
5216 (impl_accessibility_registry_get_desktop_list): impl.
5217 (re_enterant_list_delete_link): impl.
5218 (re_enterant_list_foreach): impl.
5219 (remove_listener_cb): impl.
5220 (_registry_notify_listeners): kill.
5221 (notify_listeners_cb): impl.
5223 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5224 (SPI_getDesktopList): impl.
5226 * test/test-simple.c (test_desktop): test the methods.
5228 2002-01-03 Michael Meeks <michael@ximian.com>
5230 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5231 keystrings since we free them
5232 (SPI_freeAccessibleKeySet): in here.
5234 * libspi/accessible.c (spi_accessible_new): kill warning,
5235 wonder what is going on with the constructor here.
5237 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5239 * libspi/accessible.c (spi_accessible_new ()) :
5240 Added check to see if AtkObject is an SpiRemoteObject before
5241 creating an SpiAccessible.
5243 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5245 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5246 Enable keygrabs using the Control modifier, now that they are
5247 working properly (they were previously disabled).
5250 Change the command keygrab for this demo to "Control+Alt", so as
5251 to conflict with fewer other key commands on the system; this
5252 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5254 Removed a pointlessly-chatty keylistener for unshifted keys
5255 (shifted keys are still reported).
5257 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5259 * libspi/remoteobject.h:
5260 * libspi/remoteobject.c:
5261 Added definitions for special AtkObject subtype, required for
5262 support of remote components (specifically, used by BonoboControl
5263 accessibility implementation).
5265 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5267 * cspi/spi.h: synched relation types with ATK
5269 * cspi/spi_accessible.c: Added implementations of
5270 AcccessibleRelation_* methods
5272 * idl/Accessibility_Relation.idl: added getRelationTypeName
5273 method. Synched known relation types with ATK. Allowed for
5274 relation type extension with the RELATION_EXTENDED type.
5276 * libspi/relation.c: Provided implementations for
5277 AccessibleRelation methods.
5279 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5281 API tweaks for today's API 'freeze'.
5284 Added placeholder functions to allow future compatible expansion
5285 of the IDL interfaces.
5287 * idl/Accessibility_Registry.idl:
5288 Changed generateKeyEvent to generateKeyboardEvent. Changed
5289 signature of this method to accept an optional keystring in
5290 parameter (for complex text input synthesis) and changed use of
5291 simple 'boolean' parameter in registerKeystrokeListener to a
5292 struct, EventListenerMode.
5294 * cspi/spi_accessible.c:
5296 * cspi/spi_streamablecontent.c:
5297 Added references to AccessibleStreamableContent interface, and
5298 definition and implementation of AccessibleStreamableContent
5301 * cspi/spi_registry.c:
5303 Changed generateKeyEvent API to generateKeyboardEvent,
5304 taking a new (optional) keystring parameter to support complex
5309 Renamed directory (to better reflect its actual purpose, bridging
5310 from at-spi to ATK). The .so module is also now named
5313 * idl/Accessibility_Hypertext.idl:
5314 * libspi/accessible.c:
5315 * libspi/hypertext.h:
5316 * libspi/hypertext.c:
5317 Changed Accessibility_Hypertext to *not* derive from
5320 * cspi/spi_registry.c:
5321 Added list of legal event type names for 'window' events, which
5322 completes the registry event API.
5324 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5326 * at-bridge/bridge.c: Added registration for separate
5327 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5328 signals. If either of the first two parameters to the generic
5329 bridge signal handler are ints, they are passed on as event
5330 details. This allows an AT to determine what text was inserted.
5332 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5334 * registryd/deviceeventcontroller.c:
5335 Fixed regressions in generateKeyEvent caused by the removal of
5336 gdk_init from registryd; we now use pure X calls to connect to the
5337 display, which makes sense because deviceeventcontroller already
5338 uses a fair bit of X API (should eventually be migrated to a
5339 'portability layer').
5341 * registryd/desktop.c:
5342 Fixed minor regression in spi_desktop_init, changed the way the
5343 desktop name is being set to work with new spi_base API
5344 (gobject-based, rather than AtkObject-based).
5346 * registryd/Makefile.am:
5347 Minor revision of makefile to use XTST_LIBS variable rather than
5348 hard-wiring the Xtst LD_ADD element.
5350 * test/keysynth-demo.c:
5351 Tweaked an output message; added initialization of the
5352 'keystrings' member of the "switch listener" key_set.
5354 * libspi/relation.c:
5355 Squashed compile-time warning.
5357 * libspi/accessible.c:
5358 Cosmetic and formatting fixes, renamed a static method.
5360 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5362 * libspi/accessible.c
5364 * libspi/application.c
5367 * libspi/component.c
5368 * libspi/editabletext.c
5369 * libspi/hyperlink.c
5370 * libspi/hypertext.c
5372 * libspi/selection.c
5376 * registryd/desktop.c:
5377 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5379 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5381 * idl/Accessibility_Registry.idl:
5382 Added boolean member 'is_text' to DeviceEvent. This is for the
5383 use of key events, and helps prevent ambiguity between composed
5384 key strings and keysym names, since both may potentially be
5385 returned in the 'event_string' member.
5387 * at-bridge/bridge.c:
5388 * registryd/deviceeventcontroller.c:
5389 Use the 'is_text' member when notifying device event listeners.
5390 Knon issue: composed characters are not dealt with correctly by
5391 the global key listener implementation yet.
5393 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5395 * at-bridge/bridge.c:
5396 Namespaced local static methods to spi_atk_bridge_* where
5397 previously named bridge_*, and spi_* elsewhere.
5399 * at-bridge/bridge.c:
5400 * cspi/bonobo/cspi-bonobo-listener.c:
5401 Added demarshalling/conversion for string member of
5402 Accessibility_DeviceEvent to AccessibleKeystroke.
5404 * registryd/deviceeventcontroller.c:
5405 Added code to fill the Accessibility_DeviceEvent key string value
5406 member for global key events (i.e. from XGrabKey), to match
5407 behavior of Accessibility_DeviceEvent from the toolkit key events
5408 from the bridge. Fixed timestamp in global key event notifications.
5411 Added printout of key event's string value to
5412 report_ordinary_key_event, for demo/debugging purposes.
5414 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5416 * idl/Accessibility_Registry.idl:
5417 Removed Accessibility_KeyStroke structure in favor of generic
5418 Accessibility_DeviceEvent structure.
5419 Changed Accessibility_ControllerEventMask from a struct to an
5422 * at-bridge/bridge.c:
5423 Changed APIs to use DeviceEvent structure as above, and removed
5424 bogus casting between these event structures.
5426 * cspi/spi-listener.h:
5427 Added keystring member of AccessibleKeystroke structure, to enable
5428 matching on event "names" rather than only hardware codes and
5432 Added keystrings member of AccessibleKeySet struct, to allow
5433 matching on event names (as above).
5434 Added declarations for SPI_createAccessibleKeySet and
5435 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5436 event modmasks directly as unsigned ints rather than structs with
5437 refcounts, in the DeviceEventController methods.
5439 * cspi/spi_registry.c:
5440 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5442 * cspi/spi-roletypes.h:
5443 Added documentation of newly added SPI Roles.
5445 * cspi/bonobo/cspi-bonobo-listener.c:
5446 Changes in support of API changes above.
5448 * libspi/accessible.c:
5449 Converted APIs to use DeviceEvent structure (see IDL changes
5452 * registryd/deviceeventcontroller.c:
5453 Added DEControllerGrabMask structure to track keygrabs not only by
5454 modmask but by keyset as well; this allows us to do "global"
5455 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5456 grabbing on AnyKey and then filtering after-the-fact.
5457 Bugfixes for event filtration mean that we don't get false matches
5458 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5460 * registryd/deviceeventcontroller.c:
5461 Namespaced a number of static methods to use spi_ prefix. Major
5462 revision to internals of global (i.e. X) key grabs.
5464 * registryd/deviceeventcontroller.h:
5465 Removed keymask_list and added keygrabs_list to
5466 SpiDeviceEventController struct.
5469 Added use of SPI_createAccessibleKeySet API when creating a
5470 listener for only one key. Attach a listener to "shift spacebar
5471 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5472 X key event names to SPI key event names, so that listeners are
5473 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5475 * test/keysynth-demo.c:
5476 Changed (incorrect) use of X key event names (KeyPressed,
5477 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5480 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5482 * libspi/accessible.c:
5483 Convert all AtkRole enumerations to Accessibility_Role enums when
5484 getting a role from an AtkObject.
5486 * cspi/spi_accessible.c:
5487 Complete the conversion of Accessibility_Role enums at runtime to
5488 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5489 role enums correctly match those given in spi-roletypes.h.
5490 Re-synchronize the local names list for AccessibleRole_getName ().
5491 AccessibleRole_getName is now deprecated, since it duplicates the
5492 more reliable Accessible_getRoleName.
5493 Added some role types from Accessibility_Role.idl.
5495 * idl/Accessibility_Role.idl:
5496 Added some role types used by AtkRole.
5498 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5501 * cspi/spi_registry.c:
5503 * cspi/cspi-bonobo-listener.c:
5504 Namespaced all methods that did not begin with an "SPI_" or
5505 "Accessible" prefix to "SPI_".
5508 Homogenized internal function namespace to "cspi_" for statics.
5511 Patched tests to use the new CSPI API.
5513 * docs/reference/cspi/at-spi-cspi-sections.txt:
5514 Updated docs to reflect namespace changes, and added a number of
5515 methods to the documentation.
5517 * registryd/registry.c:
5518 Changed use of strings and string hashes in listener event
5519 matching and parse_event_string to use GQuark, which is guaranteed
5522 * registryd/registry.h:
5523 Squashed annoying warning.
5525 * idl/Accessibility_Role.idl:
5526 Extended range of available Accessibility_Role values.
5528 * cspi/spi_accessible.c:
5529 Re-ordered role names.
5531 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5533 * idl/Accessibility_Value.idl:
5534 Revert use of union back to CORBA_double, since the double type is
5535 more efficient and can contain the other types without loss of
5538 * idl/Accessibility_Accessible.idl:
5539 Added method Accessibility:Accessible:getRoleName, to complement
5540 Accessibility:Accessible:getRole.
5542 * cspi/spi_accessible.c:
5544 Added C binding for above, Accessible_getRoleName (), and changed
5545 signature of Accessible_getRole () to return an AccessibleRole.
5547 * cspi/spi-roletypes.h:
5548 Changed AccessibleRole_getName to return a char * instead of a
5549 const char *. This method is now at least temporarily deprecated
5550 in favor of asking Accessibles for their RoleNames directly.
5553 Revert to match Accessibility_Value.idl;
5557 Change signature of AccessibleValue methods to use double rather
5561 * cspi/spi_accessible.c:
5562 Changed Accessible_getRole to return an AccessibleRole enum rather
5563 than a UTF-8 string. The UTF-8 string can still be obtained via
5564 AccessibleRole_getName ().
5566 * test/test-simple.c:
5567 Add test_action. Small fixup to match API change to Accessible_getRole.
5570 Bugfix for get_action_from_servant ().
5572 2001-12-11 Michael Meeks <michael@ximian.com>
5574 * libspi/libspi.h: remove registry.h and
5575 desktop.h, deviceeventcontroller.h
5577 * libspi/Makefile.am: remove registry.[ch],
5578 desktop.[ch], deviceeventcontroller.[ch]
5580 * registryd/Makefile.am: add registry.[ch],
5581 desktop.[ch], rename registryd.c to registry-main.c.
5582 add deviceeventcontroller.[ch]
5584 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5587 Replace setenv() call with putenv ().
5589 * libspi/component.c:
5590 Bugfix in AccessibleComponent_getExtents (),
5593 2001-12-11 Michael Meeks <michael@ximian.com>
5595 * libspi/image.c (impl_getImageExtents): impl.
5596 (spi_image_class_init): upd.
5599 (AccessibleImage_getImageDescription): fix daft bug
5602 * test/test-simple.c (global_listener_cb): update
5603 to only quit if not --poke
5604 (main): catch --poke.
5605 (validate_accessible): upd. dumping, call test_image
5608 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5611 * idl/Accessibility.idl: update all IDL includes.
5613 * idl/*.idl - rename to namespace - this sucks, blame
5614 mjs' bad decision for oafd.
5616 * test/test-simple.c (create_test_window): add more tests.
5617 (create_tree): split this out.
5618 (validate_accessible): bugfix.
5620 2001-12-11 Michael Meeks <michael@ximian.com>
5622 * cspi/bonobo/cspi-bonobo-listener.c:
5623 (cspi_kestroke_listener_unref),
5624 (cspi_event_listener_unref): impl. undoing previous
5625 homenous environment - for Bill.
5627 * cspi/spi_table.c (long_seq_to_array): use
5630 * cspi/spi_main.c: split out all bonoboish bits into
5633 * cspi/spi-impl.h: upd. typedefs.
5635 * cspi/spi_registry.c: update to lowlevel API,
5636 return booleans to indicate success in some places.
5638 * cspi/spi_event.c: update to lowlevel API.
5640 * cspi/bonobo/Makefile.am: add.
5642 * cspi/bonobo/cspi-lowlevel.h: add
5644 * cspi/bonobo/cspi-bonobo.c: add
5646 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5648 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5649 (SUBDIRS): add bonobo, link in the libs.
5651 * cspi/spi-util.c: kill this file.
5653 * TODO: merge in my bits.
5655 2001-12-11 Michael Meeks <michael@ximian.com>
5657 * test/test-simple.c (test_value, test_table, main):
5658 remove unused variables causing warnings.
5660 * configure.in: cleanup checks - require gail.
5662 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5665 Changed Value interface to use SValue (scalars) rather than
5666 assuming all values are floats. This allows floats, doubles,
5667 longs, shorts, and unsigned values to be manipulated.
5668 Introduced Accessibility:SValue union.
5671 Updated to use new API above, and to work correctly with GValues
5672 of different types in AtkValue.
5675 Updated to use new API above. cspi's API is as yet unchanged.
5678 Updated the Value revision action item.
5680 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5682 * test/test-simple.c:
5683 Added test_table (GtkTreeView widget in test window to follow).
5684 Un-commented test_value, added GtkRange widget.
5685 Added GtkTreeView widget with GtkListStore. It passes regression
5686 test but leaks one SPI object for some reason.
5689 Fixed bug in impl__set_currentValue.
5691 2001-12-10 Michael Meeks <michael@ximian.com>
5693 * cspi/spi_text.c: audit for exception handling,
5694 tolerating NULL object references safely etc.
5696 * cspi/spi_value.c: ditto.
5698 * cspi/spi_table.c (AccessibleTable_getSummary),
5699 (AccessibleTable_getAccessibleAt),
5700 (AccessibleTable_getRowHeader),
5701 (AccessibleTable_getColumnHeader),
5702 (AccessibleTable_getCaption): fix bugs hidden by
5704 (long_seq_to_array): impl.
5705 (AccessibleTable_getSelectedRows),
5706 (AccessibleTable_getSelectedColumns): use it.
5708 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5711 Added a TODO list (rough and short for now).
5713 * cspi/spi_hyperlink.c:
5714 * cspi/spi_hypertext.c:
5715 Fixed macro name typos, and remove use of obsolete macro in
5716 AccessibleHyperlink_getLink.
5718 * cspi/spi_action.c:
5719 * cspi/spi_accessible.c:
5720 * cspi/spi_application.c:
5721 * cspi/spi_component.c:
5722 * cspi/spi_selection.c:
5725 Documentation fixes (removed return values from ref/unref methods).
5727 2001-12-10 Michael Meeks <michael@ximian.com>
5729 * cspi/spi_action.c: audit for exception handling,
5730 tolerating NULL object references safely etc.
5732 * cspi/spi_accessible.c: ditto.
5734 * cspi/spi_component.c: ditto.
5736 * cspi/spi_editabletext.c: ditto.
5738 * cspi/spi_hyperlink.c: ditto.
5740 * cspi/spi_hypertext.c: ditto.
5742 * cspi/spi_image.c: ditto.
5744 * cspi/spi_selection.c: ditto.
5746 2001-12-10 Michael Meeks <michael@ximian.com>
5748 * configure.in: use cspi/libspi.pc.in instead.
5750 * Makefile.am (pkgconfig_DATA): upd. to match.
5752 * test/simple-at.c (report_focus_event): kill hacks around
5753 bad return values, use putenv not setenv
5755 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5756 fire ChildGone - I killed it.
5758 * libspi/component.c
5759 (impl_accessibility_component_get_extents): remove
5762 * idl/Accessible.idl: kill ChildGone exception.
5764 * cspi/*.[ch]: kill int return from ref / unref.
5766 * cspi/spi_main.c (cspi_object_add_check): fold into
5767 (cspi_object_add): here.
5769 * cspi/spi_component.c (AccessibleComponent_getExtents):
5770 handle exceptions elegantly.
5772 * cspi/spi-private.h (cspi_check_ev_return),
5773 (cspi_return_if_fail): impl.
5775 * cspi/spi_accessible.c: use extensively.
5776 (AccessibleStateSet_equals): add direct compare check.
5778 * cspi/spi_selection.c: tolerate NULL objs, and check
5779 exceptions before return.
5781 * cspi/spi-util.c (cspi_warn_ev): rename to
5782 (cspi_check_ev): this & don't pass ev in; no point.
5784 2001-12-10 Michael Meeks <michael@ximian.com>
5786 * test/test-simple.c: use putenv not setenv
5787 (get_environment_vars): more chatty if you're not using
5790 * test/simple-at.c: do the setenv so more people see the
5793 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5795 * libspi/registry.c:
5796 Changed check of CORBA_environment on notification to be a warning
5797 instead of an error for the moment, since we can recover from this
5798 error when caused by a queued notification from a dead app.
5801 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5802 used by all current implementors of AtkValue), and coerce to
5803 CORBA_float. (Proper general case fix may require change to Value.idl).
5805 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5809 * cspi/spi_accessible.c:
5810 Documentation fixes: added user_data params to documentation for
5811 listeners and callbacks.
5813 * cspi/spi_accessible.c:
5814 Changed AccessibleStateSet_compare to return a
5815 StateSet rather than return the difference set into a third parameter.
5818 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5821 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5822 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5826 Remove subdirectory po from SUBDIRS for now.
5828 * at-bridge/bridge.c:
5829 Beefed up a couple of debug printouts.
5830 One-line fix for signal notification name formatting.
5832 * libspi/accessible.c:
5833 Added assertion to spi_accessible_new ().
5835 * libspi/application.c:
5836 Put #ifdef qualifiers around a printf.
5839 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5841 * registryd/Makefile.am:
5843 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5844 INTLTOOL_SERVER_RULE macro.
5847 Added an event listener for several ATK signals, for
5848 testing and debugging. Removed a few g_warnings.
5849 Added test output if focussed item implements the Value interface.
5851 * test/test-simple.c:
5852 Added test_value () function (known not to pass at the moment, so
5853 not actually called yet.
5855 2001-12-08 Michael Meeks <michael@ximian.com>
5857 * at-bridge/bridge.c (bridge_focus_tracker),
5858 (emit_eventv): fix the same ref. leak.
5859 (register_atk_event_listeners): don't leak.
5861 * cspi/spi-listener-impl.c (cspi_event): more
5862 protection from client code.
5864 * test/test-simple.c (test_desktop): unref the app.
5866 * test/Makefile.am: upd. TESTS.
5868 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5870 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5872 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5874 * cspi/spi_registry.c: constify in strings.
5875 (deregisterGlobalEventListenerAll): don't release the ref.
5877 * cspi/spi.h: start removing redundant / conflicting
5878 gtkdoc comments, making the API readable at a glance :-)
5880 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5882 * test/keysynth-demo.c (keysynth_exit, main): upd.
5884 * test/simple-at.c (main, simple_at_exit): upd.
5886 * test/test-simple.c (unutterable_horror): kill.
5887 (utterable_normal_derefs): kill.
5888 (main): upd & do a setenv before gtk_init, so that we
5889 can use memprof - and to save the pain of remembering
5890 this, if we're running under memprof - don't exit.
5892 * cspi/spi_main.c (SPI_exit): return exit status
5894 (SPI_event_quit): impl.
5895 (SPI_event_main): simplify.
5896 (cspi_is_gnome_app): kill.
5897 (SPI_init): kill isGNOMEapp arg.
5899 * at-bridge/bridge.c (register_atk_event_listeners):
5900 re-instate the unref.
5901 (bridge_exit_func): don't re-activate the registry,
5902 protect vs. theoretical re-entry, use the
5903 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5904 assert a clean shutdown - for regression tests.
5906 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5908 * configure.in: Comment out dummy i18n support for now,
5909 otherwise it fails to build.
5910 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5911 EXTRA_DIST. They are missing in tarball.
5913 2001-12-07 Michael Meeks <michael@ximian.com>
5915 * util/magnifier.c: kill bonobo activation reg. race.
5917 * libspi/component.c
5918 (impl_accessibility_component_get_extents): make it match
5921 * libspi/registry.c (_registry_notify_listeners):
5922 re-remove X headers & reconcile conflicts.
5923 (spi_listener_struct_free): bad conflict resolve.
5924 (impl_accessibility_registry_register_application):
5925 more bad merging fixed.
5926 (impl_accessibility_registry_deregister_application): ditto.
5927 (spi_registry_new): ditto.
5928 (spi_registry_init): don't have an applications field.
5930 [ merge fixups2 branch to here ]
5931 2001-12-07 Michael Meeks <michael@ximian.com>
5933 * test/simple-at.c (report_focus_event),
5934 (report_focussed_accessible): remove g_warning debug.
5936 2001-12-07 Michael Meeks <michael@ximian.com>
5938 * test/test-simple.c (validate_tree): comment out some checks.
5939 (test_desktop): app now not registered idly - horay.
5941 2001-12-07 Michael Meeks <michael@ximian.com>
5943 * cspi/spi_registry.c
5944 (registerAccessibleKeystrokeListener): clean, stop it leaking
5945 great swathes of memory, and device event controller references.
5946 ensure we always pass valid sequences.
5947 (deregisterAccessibleKeystrokeListener): ditto.
5948 (generateKeyEvent): upd.
5950 * at-bridge/bridge.c (bridge_key_listener): handle
5951 registry dead exception gracefully.
5952 (bridge_focus_tracker, emit_eventv): free ev.
5954 * test/simple-at.c (report_focus_event): fix polarity.
5956 * libspi/application.c (notify_listeners): kill the ev
5957 argument, and make sure we init the ev we use.
5958 (spi_application_object_event_listener): split out a chunk
5959 (get_atk_object_ref): here & fixup.
5960 (reverse_lookup_name_for_toolkit_event): make const.
5961 (spi_application_toolkit_event_listener): fixup, kill leaks
5964 * at-bridge/bridge.c (register_atk_event_listeners):
5965 don't unref the noop object - causes grief.
5967 * libspi/registry.c: remove the X headers.
5968 turn off the debug churn.
5970 * libspi/accessible.c (spi_accessible_new_return): only
5971 release the ref if we are supposed to [doh]
5973 * test/simple-at.c (report_button_press, report_focus_event):
5974 guard vs. unexpected exit.
5976 * at-bridge/bridge.c (gtk_module_init): prune printf.
5977 (bridge_exit_func): fix app unref.
5979 * libspi/Makefile.am: don't install registry or desktop.h
5981 * libspi/*.h: update includes.
5983 * libspi/application.h: don't include ourself, or
5984 other redundant headers.
5986 2001-12-06 Michael Meeks <michael@ximian.com>
5988 * libspi/accessible.c
5989 (get_accessible_from_servant): impl.
5990 Upd. all CORBA impl.s to use it killing cut and paste.
5992 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5994 (SPI_init): register atexit cleanup handler here.
5996 2001-12-06 Michael Meeks <michael@ximian.com>
5998 * at-bridge/bridge.c (gtk_module_init): g_error on
5999 activation exception
6001 2001-12-06 Michael Meeks <michael@ximian.com>
6003 * at-bridge/bridge.c (gtk_module_init): some sort of
6004 confusing merge clash - reverted.
6005 (bridge_idle_init): ditto.
6007 * test/test-simple.c (main, utterable_normal_derefs):
6008 merge from Bill - somehow not committed.
6010 2001-12-06 Michael Meeks <michael@ximian.com>
6012 * libspi/value.c (spi_value_class_init): upd.
6013 (spi_value_finalize): kill.
6015 * libspi/table.c (spi_table_finalize): kill.
6016 (spi_table_interface_new): upd.
6017 (spi_table_class_init): upd.
6018 (get_table_from_servant): impl.
6019 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6021 * libspi/selection.c (spi_selection_finalize): kill.
6022 (spi_selection_interface_new): upd.
6023 (spi_selection_class_init): upd.
6024 (get_selection_from_servant): impl.
6025 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6027 * libspi/relation.c (spi_relation_finalize): kill.
6028 (spi_relation_class_init, spi_relation_new): upd
6030 * libspi/image.c (spi_image_finalize): kill.
6031 (spi_image_class_init): upd.
6032 (spi_image_interface_new): upd.
6033 (get_image_from_servant): impl.
6034 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6036 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6037 (spi_hyperlink_finalize): kill.
6038 (spi_hyperlink_new): upd.
6039 (get_hyperlink_from_servant): impl.
6040 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6042 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6043 (spi_hypertext_finalize): kill.
6044 (spi_hypertext_class_init): upd.
6045 (get_hypertext_from_servant): impl.
6046 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6048 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6049 (spi_editable_text_interface_new): upd.
6050 (get_editable_text_from_servant): impl.
6051 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6053 * libspi/text.c (get_text_from_servant): impl.
6054 All impls - update to use it killing more cut and paste,
6055 also fix bad string returns on duff args ( a somewhat
6056 impossible case to handle - but hey ).
6057 (spi_text_construct): impl.
6058 (spi_text_interface_new): upd.
6059 (spi_text_object_finalize): kill.
6061 * libspi/component.c
6062 (accessibility_component_object_finalize): kill.
6063 (spi_component_class_init): upd.
6064 (get_component_from_servant): impl. helper to kill cut & paste.
6065 (impl_accessibility_component_contains):
6066 (impl_accessibility_component_get_accessible_at_point):
6067 (impl_accessibility_component_get_position):
6068 (impl_accessibility_component_get_extents):
6069 (impl_accessibility_component_get_mdi_z_order):
6070 (impl_accessibility_component_get_layer):
6071 (spi_component_interface_new): upd.
6073 * libspi/action.c (spi_action_finalize): kill.
6074 (spi_action_class_init): upd. inherit from SpiObject.
6075 (spi_action_interface_new): upd.
6076 (get_action_from_servant): impl. helper to reduce cut & paste.
6077 (impl_getKeyBinding, impl_getName, impl_doAction),
6078 (impl_getDescription): Use it everywhere.
6080 * cspi/spi_main.c (get_live_refs): a pointer hash.
6081 (spi_object_hash, spi_object_equal): comment out.
6082 There are issues with CORBA object hashing that need
6085 * libspi/application.c (spi_application_init),
6086 (spi_application_new): upd.
6088 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6089 (spi_accessible_class_init): upd.
6090 s/accessible/object/ in epv methods.
6092 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6094 * at-bridge/bridge.c:
6095 Reorder the bridge initialization into the bridge gtk_module_init,
6096 an immediate call to bridge_register_app, and an idle_add for
6097 register_atk_event_listeners (the only code that *must* wait until
6098 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6099 the activation, creates the application's Accessible object, and
6100 queues the bridge_idle_init function. Restored call to
6101 Accessibility_Registry_deregisterApplication().
6102 Prior to making this call we obtain a new reference to the
6103 registry, which is a temporary hack that helps us handle apps that
6104 shut down the bonobo mainloop before we get there.
6106 * libspi/registry.c:
6107 Fix string leakage in debug block, and don't segv if a an app
6108 dies before its event notifications have been propagated.
6111 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6112 as stopgap measure until we get proper exception handling when
6113 objects die during or before interrogation.
6117 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6118 Also changed default value of is_gnome_app to TRUE.
6121 * test/keysynth-demo.c:
6122 Changed use of SPI_init and SPI_event_main to reflect API change above.
6125 Made report_focus_event check the warning value from getName
6126 before reporting on focussed accessible; simplifies handling of
6127 notifications from dead objects.
6129 * test/test-simple.c: (Changes not in this patch since source is
6132 2001-12-05 Michael Meeks <michael@ximian.com>
6134 * registryd/registryd.c (main): protect against
6135 bonobo-activation startup race condition.
6137 * cspi/spi_main.c (cspi_object_add_check): cope
6138 with the exception elegantly.
6140 * idl/Accessible.idl: decl. ChildGone
6142 * libspi/desktop.c (spi_desktop_dispose): impl.
6143 (spi_desktop_class_init): upd.
6144 (spi_desktop_add_application),
6145 (spi_desktop_remove_application),
6146 (abnormal_application_termination): impl.
6147 (impl_desktop_get_child_at_index): re-impl.
6150 (impl_accessibility_registry_deregister_application),
6151 (impl_accessibility_registry_register_application):
6152 kill excessive debug clutter.
6154 * test/test-simple.c (test_misc): test some NULL
6155 tolerance. (main): upd.
6157 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6158 implements no interfaces - so let's not crash.
6160 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6162 * libspi/accessible.c (spi_accessible_new_return): impl.
6163 helper to calm the cut and paste, to cope with
6164 NULL AtkObjects effectively and efficiently, and to kill
6165 the referencing bugs.
6167 * libspi/table.c (impl_getAccessibleAt),
6168 (impl_getRowHeader, impl_getColumnHeader): upd.
6170 * libspi/hyperlink.c (impl_getObject): upd.
6172 * libspi/accessible.c
6173 (impl_accessibility_accessible_get_child_at_index): upd.
6175 * libspi/component.c
6176 (impl_accessibility_component_get_accessible_at_point): upd.
6178 * test/test-simple.c (test_editable_text, test_text): impl.
6181 * cspi/spi_editabletext.c
6182 (AccessibleEditableText_insertText): constify.
6184 * test/test-simple.c (focus_me): make more robust.
6186 * libspi/accessible.c: remove some printfs in methods that
6187 we test and work fine, so we can get a clean tree dump.
6189 * test/test-simple.c (validate_accessible),
6190 (validate_tree): make tree dumping pretty too.
6192 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6193 it builds without debug on.
6195 * test/test-simple.c (validate_accessible): fix the most
6198 * cspi/spi_main.c (spi_object_release): leave the nicely
6199 blanked memory around if in debug mode.
6201 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6203 [committed to fixups2]
6204 2001-12-05 Michael Meeks <michael@ximian.com>
6206 * libspi/editabletext.c
6207 (spi_editable_text_class_init): g_type_class_peek_parent,
6208 not interface peek - so we finalize cleanly.
6210 * libspi/accessible.c (spi_accessible_new): kill debug.
6212 * test/test-simple.c (validate_accessible): fix ref.
6213 leak, print strings before freeing them; sigh, comment a
6214 chunk out due to strangeness.
6215 (validate_tree): unref the child after use.
6217 * cspi/spi_component.c (AccessibleComponent_getLayer):
6218 add missing break statement, switch on zlayer not the
6219 uninitialized retval.
6221 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6222 before (possibly re-entering) remote unref.
6224 * test/simple-at.c (main): unref the desktop.
6226 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6229 * cspi/spi_main.c (cspi_accessible_is_a): here to
6230 isolate bonobo API usage more.
6232 * libspi/registry.c (impl_accessibility_registry_register_application):
6233 prune bogus comment.
6235 2001-12-04 Michael Meeks <michael@ximian.com>
6237 * test/test-simple.c (validate_tree): upd.
6238 IndexInParent check to make it more lucid.
6239 (validate_accessible): dump the tree.
6241 * libspi/accessible.c (de_register_public_ref),
6242 (get_public_refs): impl.
6243 (spi_accessible_new): make more efficient & intuitive.
6244 Now IndexInParent check works.
6246 2001-12-04 Michael Meeks <michael@ximian.com>
6248 * cspi/spi-util.h: remove.
6250 * cspi/spi.h: move SPI_freeString here
6252 * libspi/component.c (impl_accessibility_component_get_layer):
6254 (impl_accessibility_component_get_mdi_z_order): ditto,
6255 return -1 on error - is this ok ?
6257 * test/test-simple.c (test_application): impl.
6259 * cspi/spi_accessible.c (Accessible_getApplication),
6260 (Accessible_isApplication): impl.
6262 * libspi/registry.c (spi_listener_struct_free): release
6263 the CORBA reference too.
6265 * libspi/accessible.c
6266 (impl_accessibility_accessible_get_parent): fix ref leak.
6268 * libspi/registry.c (spi_registry_new): make the registry
6269 immortal - we don't want it to go away ever.
6271 * libspi/application.c
6272 (spi_accessible_application_finalize): impl. cleanup.
6274 * cspi/spi_registry.c
6275 (deregisterGlobalEventListenerAll),
6276 (deregisterGlobalEventListener),
6277 (deregisterAccessibleKeystrokeListener): fix ref leak.
6279 * cspi/spi_main.c (SPI_init): remove redundant ref.
6281 * test/test-simple.c (unutterable_horror): impl. to force a
6286 (impl_accessibility_registry_deregister_application): release
6287 the application when we de-register it.
6289 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6290 until we have the infastructure to get it right.
6292 2001-12-03 Michael Meeks <michael@ximian.com>
6294 * libspi/Makefile.am: only build eventlistener.[ch]
6296 * libspi/accessible.c
6297 (impl_accessibility_accessible_get_child_at_index): don't leak.
6299 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6300 before we hit the idle handler.
6302 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6303 debugging than exit.
6305 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6307 * libspi/listener.c (impl_notify_event): check source
6308 not NIL before unref.
6310 * libspi/registry.c (impl_registry_notify_event): ditto.
6312 * libspi/eventlistener.c
6313 (impl_accessible_event_notify_event): unref the source.
6315 * libspi/accessibleeventlistener.c
6316 (impl_accessible_event_notify_event): unref the source.
6318 * idl/Event.idl: remove 'hash_id' attribute - of no
6321 * libspi/application.c (notify_listeners): upd list
6323 (spi_application_object_event_listener),
6324 (spi_application_toolkit_event_listener): upd to do correct
6328 (_registry_notify_listeners): update.
6329 (parse_event_type): this method also leaks like a sieve.
6330 (impl_accessibility_registry_deregister_global_event_listener):
6331 fix ETYPE_WINDOW case.
6333 * libspi/application.c
6334 (impl_accessibility_application_register_object_event_listener):
6337 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6339 * libspi/hypertext.c (impl_getLink): ditto.
6341 * cspi/spi_main.c (cspi_object_add): remove
6342 bogus CORBA_Object_duplicate.
6344 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6347 * cspi/spi_accessible.c
6348 (Accessible_getRelationSet): fix leak / referencing issue.
6350 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6351 (cspi_object_add, cspi_object_unref): upd.
6352 (spi_object_release, get_live_refs): impl.
6353 (cspi_cleanup): simplify.
6355 * *.[ch]: s/boolean/SpiBoolean/
6357 * cspi/spi_accessible.c (role_names): actualy order so it
6358 corresponds with the enum !
6360 * test/test-simple.c (test_roles): check some role strings
6361 vs. enums to detect offset errors.
6363 2001-12-01 Michael Meeks <michael@ximian.com>
6365 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6367 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6369 (Accessible_getChildAtIndex): use cspi_add_check so we
6370 check the ev before using a (possibly) invalid value.
6372 * libspi/accessible.c
6373 (impl_accessibility_accessible_get_parent): don't segv
6376 * at-bridge/bridge.c (gtk_module_init): upd.
6377 (bridge_property_event_listener): don't leak strings
6379 (bridge_state_event_listener),
6380 (bridge_property_event_listener): don't use a static
6381 buffer in case of recursive event emission &
6382 re-enterancy - split out the swathe of cut and paste
6384 (emit_eventv): and fix 2 ref leaks here & comply to the
6386 (bridge_register_app): rename to
6387 (bridge_idle_init): this and kill arg parsing, split
6388 various inits & bonobo-activation registration to module
6389 init time, kill referencing error.
6390 (bridge_exit_func): fix the same leak.
6391 (bridge_focus_tracker): don't leak event structures
6393 (bridge_signal_listener): more leakage and cut & paste
6395 (bridge_key_listener): return the result - FIXME is
6396 this polarity correct ?
6397 (accessibility_keystroke_from_atk_key_event): rename
6398 (accessibility_init_keystroke_from_atk_key_event): and stop
6400 (gtk_module_init): return a value - not that it is checked by
6402 (bridge_key_listener): register my horror at casting between
6403 IDL defined structs.
6404 (bridge_get_registry): kill - not used.
6406 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6408 * test/test-simple.c (test_roles): impl.
6409 (test_desktop, validate_accessible, validate_tree): impl.
6411 * cspi/spi_accessible.c (role_names): fixup bogus
6412 MAX_ROLES setup, make constants const for efficient linkage
6413 (AccessibleRole_getName): conform to coding style, make
6416 2001-11-30 Michael Meeks <michael@ximian.com>
6418 * cspi/spi.h: add missing prototype.
6420 * libspi/registry.c (spi_listener_struct_new): fix sig.
6422 * test/Makefile.am: add test-simple
6424 * test/test-simple.c: add
6426 * test/test.sh: add.
6428 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6430 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6431 do it straight - since otherwise we often get an activation race.
6433 [ work before Bill duplicated a chunk of it ... ]
6434 2001-11-30 Michael Meeks <michael@ximian.com>
6436 * libspi/keystrokelistener.c
6437 (spi_keystroke_listener_class_init): fixup arg
6440 * libspi/eventlistener.c
6441 (spi_event_listener_class_init): ditto.
6443 * tests/test.sh: add.
6445 * cspi/spi-listener-impl.h: update macros.
6447 * cspi/spi-listener-impl.c
6448 (cspi_event_listener_remove_callback): add
6449 correct pre-conditions.
6451 * cspi/spi_main.c (SPI_exit): guard vs. double
6452 exits, exit the mainloop nicely.
6453 (SPI_event_main): make more sense.
6454 (SPI_init): move the atexit evilness here so we
6455 always do it (yuck).
6456 (SPI_event_main): upd.
6458 * test/simple-at.c: update for listener changes.
6460 * registryd/registryd.c (main): prune kruft.
6462 * libspi/libspi.h: upd.
6464 * libspi/eventlistener.[ch]: rename broken macros.
6466 * libspi/accessibleeventlistener.[ch]: remove.
6468 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6470 * test/test-simple.c: Add - automated tests.
6472 * cspi/spi-listener-impl.c (cspi_event),
6473 (cspi_key_event): add user_data to invoke.
6474 (cspi_keystroke_listener_finalize): impl.
6475 (cspi_keystroke_listener_class_init): upd.
6478 (createAccessibleEventListener),
6479 (AccessibleEventListener_addCallback),
6480 (createAccessibleKeystrokeListener),
6481 (AccessibleKeystrokeListener_addCallback): upd.
6483 * libspi/deviceeventcontroller.c
6484 (spi_device_event_controller_check_key_event): add public proto.
6487 (impl_accessibility_registry_deregister_global_event_listener):
6488 always init listeners.
6489 (_registry_notify_listeners): yes it is.
6491 * cspi/spi-listener-impl.c (cspi_key_event):
6493 (cspi_event_listener_finalize): impl.
6494 (cspi_event_listener_class_init): hook up.
6495 (event_handler_new, event_handler_free),
6496 (event_list_remove_by_callback): impl.
6497 (cspi_event_listener_remove_callback),
6498 (cspi_keystroke_listener_remove_callback),
6499 (cspi_keystroke_listener_add_callback),
6500 (cspi_event_listener_add_callback): upd.
6502 * libspi/keystrokelistener.c
6503 (keystroke_listener_object_finalize): kill
6504 (spi_keystroke_listener_class_init): upd.
6505 (spi_keystroke_listener_add_callback),
6506 (spi_keystroke_listener_remove_callback): kill,
6508 (impl_key_event): prune drasticaly.
6510 * libspi/eventlistener.c
6511 (spi_event_listener_add_callback),
6512 (spi_event_listener_remove_callback): kill, use
6514 (impl_accessible_event_notify_event): upd.
6515 (spi_event_listener_object_finalize): remove.
6517 * libspi/Makefile.am: use eventlistener.[ch]
6519 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6521 * libspi/registry.c (_registry_notify_listeners):
6522 Changed listener loop iteration to use preferred convention.
6523 Got rid of string memory leaks caused be calling g_strconcat
6524 inside function calls.
6526 * libspi/registry.c (parse_event_type):
6527 Stopped g_strconcat memory leaks, free the g_strsplit return,
6528 g_strdup the split pieces when used, etc.
6530 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6533 Change method 'compare' to return a 'difference set' rather than
6534 taking a StateSet as an out parameter (more Java-friendly).
6536 * idl/Accessible.idl:
6537 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6539 * idl/Component.idl:
6541 Changed methods 'getExtents' and 'getImageExtents' in these
6542 interfaces to return a BoundingBox structure.
6543 (getPosition and getSize are redundant and possibly should be
6544 removed, rather than creating a corresponding Point struct.)
6546 * cspi/spi_component.c:
6547 Modify implementation of getExtents to reflect the above IDL
6552 Add (missing) AccessibleImage_getExtents () API.
6554 * docs/reference/cspi/at-spi-cspi-sections.txt:
6555 Added AccessibleImage_getImageExtents () to docs.
6557 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6559 * idl/Component.idl:
6560 Added two methods, getLayer () and getMDIZOrder (), to reflect
6561 the new ATK methods atk_object_get_layer and
6562 atk_object_get_mdi_z_order. (Which arguably should be part of the
6563 AtkComponent API and AtkObject). Also added an enum,
6564 ComponentLayer, for the first method's return value.
6566 * libspi/component.c:
6567 Added implementations for these methods.
6569 * cspi/spi_component.c:
6571 Added cspi binding methods for above,
6572 AccessibleComponent_getLayer() and
6573 AccessibleComponent_getMDIZOrder().
6574 Added cspi enum 'AccessibleComponentLayer'.
6576 * docs/reference/cspi/at-spi-cspi-sections.txt:
6577 Added above methods to docs.
6581 Changed typedef for 'boolean' type (and all references to it) to
6582 SPIBoolean, to avoid keyword clashes with C++.
6585 Changed usages of 'boolean' to SPIBoolean.
6587 * test/keysynth-demo.c:
6588 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6589 app), except where SPIBoolean is required by the callbacks API.
6591 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6593 * cspi/spi_registry.c:
6594 Removed obsolete X event loop for passive keygrabs (which now
6597 * registryd/registryd.c:
6598 Removed unnecessary call to gdk_init() [cruft]. This also allows
6599 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6602 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6604 * docs/reference/cspi:
6605 Included docs for SPI_freeString in generated documentation.
6608 Renamed spi_freeString to SPI_freeString, for consistency. Added
6609 documentation for this function.
6612 Renamed spi_freeString to SPI_freeString, for consistency.
6613 Removed obsolete method declaration string_from_corba_string.
6615 * test/keysynth-demo.c:
6616 Small tweak to comments.
6619 Stopped leaking the strings returned from CSPI.
6621 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6623 Merged Michael's branch (see his ChangeLog entries below).
6625 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6626 bridge is alive, release on exit.
6628 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6629 Fix type check macro.
6632 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6635 Added is_gnome_app static, and method cspi_is_gnome_app(),
6636 so we can call the appropriate shutdown routine at exit in SPI_exit.
6638 * cspi/spi_main.c (cspi_object_ref):
6639 Duplicate the corba object passed in, since we're keeping it around.
6641 * cspi/SPI_exit.c, cspi_cleanup:
6642 Moved the releasing of the live refs to its own function, so we
6643 can put it in g_atexit (). Call the appropriate shutdown API
6644 depending on whethe calling client is a gnome app or not
6645 (bonobo_main_quit or CORBA_ORB_shutdown).
6647 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6648 Unref the listener when this method is called, after
6649 deregistration. Updated the API docs to note this behavior.
6651 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6652 Bugfixes: Ref the bonobo object when returning a parent or child
6653 reference, or an AccessibleRelation. Generally made sure
6654 BonoboObject refcount is incremented whenever we return an
6657 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6658 Fixed typo/bug in signal declaration.
6660 * libspi/accessibleeventlistener.h:
6663 * libspi/application.c (spi_application_new):
6664 Fixed leak in initialization.
6667 Remembered to increment bonobo-object refcount when returning
6668 children (applications) from desktop object.
6669 Added (empty) finalize method.
6671 * libspi/deviceeventcontroller.c:
6672 Hold a ref to listeners inside DEControllerKeyListeners.
6673 Added dec_key_listener_free() method. Use prepend instead of
6674 append in key_listener list. Fixed some refcount madness and
6675 leaks in the listener registration/deregistration - deregistration
6676 now calls dec_key_listener_free() on listeners, and on the
6677 temporarily constructed dec_key_listener() used to perform the search/match.
6679 * libspi/hypertext.c (spi_hypertest_finalize):
6680 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6681 class. Also fixed spi_hypertext_interface_new() and
6682 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6684 * libspi/hypertext.h:
6685 Removed pointless and duplicate AtkObject pointer from
6688 * libspi/keystrokelistener.c:
6689 Fixed incorrect type of keystroke_listener_parent_class,
6690 renamed keystroke_listener_object_finalize to
6691 spi_keystroke_listener_object_finalize.
6692 Fixed typo in signal declaration
6693 (spi_keystroke_listener_class_init).
6695 * libspi/registry.c:
6696 Added funcsions spi_listener_struct_new() and
6697 spi_listener_struct_free() to help with memory management issues.
6698 We also now use these methods instead of gnew + poking stuff into
6699 the struct, and to decrement listener counts/free the listeners
6700 when deregistering them.
6701 Fix more refcount bugs in getDesktop() and
6702 getDeviceEventController().
6705 De-ref the desktop after enumerating the applications. Explicitly
6706 decrement the refcounts on the created listeners on exit (using
6707 _unref for keystroke listeners, and via the
6708 deregisterGlobalEventListenerAll command for other event
6711 2001-11-27 Michael Meeks <michael@ximian.com>
6713 * cspi/spi-listener.h: fixup enum.
6715 2001-11-27 Michael Meeks <michael@ximian.com>
6717 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6718 (cspi_keystroke_listener_new): Use the cspi variants.
6720 2001-11-26 Michael Meeks <michael@ximian.com>
6722 * test/keysynth-demo.c: fix 2 compile warnings, missing
6725 * test/simple-at.c (report_focussed_accessible),
6726 (report_focus_event, report_button_press),
6727 (check_property_change, is_command_key),
6728 (report_ordinary_key_event, report_command_key_event): upd.
6730 * util/mag_client.h: include pre-requisites.
6732 * libspi/accessibleeventlistener.c
6733 (spi_event_listener_object_finalize): free any lingering
6736 * libspi/keystrokelistener.c
6737 (keystroke_listener_object_finalize): ditto.
6739 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6740 callbacks, with cspi types.
6742 * cspi/spi_event.c (createAccessibleEventListener): chain to
6743 (AccessibleEventListener_addCallback): here.
6744 (createAccessibleKeystrokeListener): chain to
6745 (AccessibleKeystrokeListener_addCallback): here.
6747 * libspi/keystrokelistener.c
6748 (spi_keystroke_listener_class_init): add signal.
6749 (impl_key_event): emit the event.
6750 (boolean_handled_accumulator): impl.
6751 (marshal_BOOLEAN__POINTER): add, gack.
6753 * libspi/accessibleeventlistener.c
6754 (spi_event_listener_class_init): add signal.
6755 (impl_accessible_event_notify_event): emit the signal &
6756 make the loop efficient.
6757 (spi_event_listener_add_callback): prepend the callback.
6759 * libspi/accessibleeventlistener.h: add an 'event' signal,
6760 decl type on callback.
6762 * libspi/keystrokelistener.h: ditto.
6764 * cspi/spi-listener.h: make methods typesafe and
6765 make them use the new event typedefs.
6767 * test/simple-at.c (report_focussed_accessible):
6768 include mag_client.h
6769 Use *(void *)text_interface not the other thing.
6771 * configure.in: add gtk to registryd bits - since we use
6774 * util/magnifier.c: include libbonobo.h
6776 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6778 * test/keysynth-demo.c:
6779 Turned this into a simple scanning keyboard, to demonstrate the
6780 use of g_timeout_add () as a means of creating timers for
6781 scanning, and the use of GtkStyle for visually indicating when
6782 virtual keyboard elements are selected.
6784 keysynth-demo now listens to any keyboard keys with zero-valued
6785 keycodes (i.e. 'unused' keys) and interprets them as
6788 Reworked the shiftlatch code so that shift-down state isn't held
6789 for long periods (it's only synthesized immediately prior to
6790 the keysynth event it's modifying). Note that shiftlatch in this
6791 demo is a convenience, not intended to take the place of AccessX
6792 which is the better choice for getting 'sticky' modifier keys.
6794 * libspi/deviceeventcontroller.c:
6795 * at-bridge/bridge.c:
6796 * cspi/spi_registry.c:
6797 Removed some debug print stuff, and put other verbosity in #ifdef
6802 Implemented some more of the magnifier IDL for the simple
6803 magnifier: namely, getZoomRegionParams.
6804 Added mag_x and mag_y members to MagnifierData struct, aid of this
6806 Added GtkWindow::realize signal handler to magnifier, to keep it
6807 from receiving keyboard focus from the WM.
6809 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6811 * cspi/spi-private.h: my guess at what michael forgot
6812 before he ran off to NZ :-)
6814 2001-11-23 Michael Meeks <michael@ximian.com>
6816 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6817 comment out non existant method invoke so we link.
6819 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6820 use bonobo_exception_get_text for more friendly warnings.
6822 * cspi/spi.c (Obj_Add): move into spi_main & rename
6823 spi_object_add; kill spi.c
6825 * cspi/spi_registry.c
6826 (deregisterGlobalEventListener),
6827 (deregisterGlobalEventListenerAll),
6828 (registerGlobalEventListener): fix exception leaks.
6830 * cspi/spi_main.c (spi_exception): impl. helper, so we
6831 don't leak exceptions.
6833 * cspi/spi_selection.c
6834 (AccessibleSelection_deselectSelectedChild): return the
6837 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6838 (spi_registry): ditto.
6839 (SPI_init): guard against double inits.
6841 * cspi/*.c: use spi_ev (), and spi_registry () where
6842 appropriate - a temporary hack until we have something
6843 better. Use spi_object_add
6845 2001-11-22 Michael Meeks <michael@ximian.com>
6847 * cspi/Makefile.am: re organise, install the headers.
6849 * cspi/*.h: add G_BEGIN/END_DECLS
6851 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6854 Added non-preemptive keylistener for key events with no modifiers
6855 and shift-only modifier.
6857 * libspi/keystrokelistener.c:
6858 Removed some verbose diagnostics printout.
6860 * cspi/spi_registry.c:
6861 Fixed a bug that caused all key listeners to be registered as
6864 * libspi/deviceeventcontroller.c:
6865 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6866 for non-preemptive key masks.
6869 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6871 * docs/reference/idl/at-spi-idl-docs.sgml:
6872 * docs/reference/idl/at-spi-idl-sections.txt:
6873 * docs/reference/idl/at-spi-idl-overrides.txt:
6874 Added missing files.
6876 * docs/reference/Makefile.am:
6877 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6878 to scan the IDL files :-(
6883 Added .cvsignore files.
6885 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6887 * libspi/deviceeventcontroller.c:
6888 * libspi/keystrokelistener.c:
6890 * cspi/spi_registry.c:
6891 Added filters for KeySets, KeyEventSeq, and event types to key
6892 event dispatching, so listeners should only receive those events
6893 that they requested :-)
6895 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6900 * docs/reference:Makefile.am:
6901 * docs/reference/cspi:
6902 * docs/reference/cspi:Makefile.am:
6903 * docs/reference/cspi:tmpl:
6904 * docs/reference/cspi:tmpl:*.sgml:
6905 * docs/reference/idl:
6906 * docs/reference/idl:Makefile.am:
6907 * docs/reference/idl:at-spi-idl-sections.txt:
6908 * docs/reference/idl:at-spi-idl-docs.sgml:
6909 * docs/reference/idl:tmpl:
6910 * docs/reference/idl:tmpl:*.sgml:
6912 Restructured docs directory to allow separate 'reference' docs
6913 section, and forked idl and cspi docs. Added the sgml template
6914 files to CVS. Added the first sections/structural sgml for the
6917 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6919 * configure.in, libspi/Makefile.am: find libXtst.
6921 2001-11-21 Michael Meeks <michael@ximian.com>
6923 * test/accessx-gui.c: s/spi_value/value/ - doh.
6925 * libspi/base.[ch]: add.
6927 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6929 * idl/Accessible.idl:
6930 * idl/Application.idl:
6933 Started gtk-doc cleanup on IDL.
6935 * libspi/deviceeventcontroller.c:
6936 Added and connected non-preemptive key notification from the
6937 toolkits (in addition to the pre-emptive support from XServer
6938 which we had before, but which causes 'focus flashing'). Filters
6939 are presently limited to key modifiers and global/non-global,
6940 KeySets are presently ignored, as are KeyEvent masks.
6942 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6943 structs into the persistant structure rather than just storing
6944 pointers to things that might not persist across servant
6947 The XGrabKey call now does async keygrabs, because synchronous
6948 ones were deadlocking with GDK_event code in a very nasty way.
6950 Added boolean to internal method notify_keylisteners, to indicate
6951 whether the event came from the 'toolkit source' or the 'global
6952 (XServer) source' - this is used in the notification process to
6953 determine which listeners to send the event to.
6955 deviceeventcontroller.c is now warning-free.
6957 * libspi/registry.c:
6958 Fixed regression in application de-registration.
6959 Also fixed some really brain-dead weirdness having to do with
6960 event dispatching - event structs are now duplicated before being
6961 re-marshalled in the dispatch to listeners. This also fixes a
6962 Solaris build problem.
6965 2001-11-20 Michael Meeks <michael@ximian.com>
6968 (impl_accessibility_registry_deregister_global_event_listener):
6971 * libspi/deviceeventcontroller.c
6972 (spi_device_event_controller_check_key_event): return
6973 FALSE on no virtual method.
6975 * libspi/*..h: make includes work on a correctly pathed install.
6977 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6979 * libspi/application.h: kill unused ( and whacked out )
6980 gboolean *spi_application_set_id (AtkObject *app, long id);
6982 2001-11-20 Michael Meeks <michael@ximian.com>
6984 * libspi/*.[ch]: further convert to bonobo's type func
6985 macros, remove redundnant casts etc.
6987 * libspi/text.c s/accessibility_text/spi_text/g,
6988 re-order to de-cruft.
6990 * libspi/hypertext.c: re-order to kill a huge slew
6991 of redundant forward decls.
6993 * libspi/relation.c: ditto.
6995 * libspi/image.c: ditto.
6997 * */.cvsignore: update
6999 2001-11-20 Michael Meeks <michael@ximian.com>
7001 * libspi/deviceeventcontroller.c
7002 (_controller_register_with_devices): use g_getenv,
7003 kill stdlib.h include.
7005 * libspi/keystrokelistener.c
7006 (spi_keystroke_listener_get_type): kill
7007 (spi_keystroke_listener_class_init),
7008 (spi_keystroke_listener_init): rename to this.
7010 * libspi/text.c (impl_getAttributes): fix warning / bug.
7012 * libspi/*.[ch]: more headers, includes and over commenting.
7014 2001-11-20 Michael Meeks <michael@ximian.com>
7016 * libspi/*.[ch]: fixup headers, includes and over commenting.
7018 * libspi/image.c (impl__get_imageDescription): const
7019 correctness warning fix. remove redundant casting.
7021 * libspi/table.c (impl_getRowDescription): ditto.
7022 (impl_getColumnDescription): ditto.
7024 * libspi/libspi.h: add.
7026 2001-11-19 Michael Meeks <michael@ximian.com>
7028 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7030 * libspi/component.c (accessibility_component_get_type):
7031 rename to (spi_component_get_type): and macroify.
7032 (accessibility_component_init): rename to
7033 (spi_component_init): this
7034 (accessibility_component_class_init): rename to
7035 (spi_component_class_init): this
7037 * libspi/action.c (spi_action_get_type): kill, use the macro.
7039 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7042 * libspi/application.c (spi_application_object_event_listener),
7043 (impl_accessibility_application_register_object_event_listener):
7044 warning fixes / const understanding updates.
7046 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7049 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7051 * libspi/spi_accessible.c: Added docs and C bindings for
7052 AccessibleStateSet. (No implementations yet). Documentation
7053 coverage for C bindings now 100%. Made docs for event listeners
7058 boolean notifyListenersSync (in DeviceEventListener listener,
7059 in DeviceEvent event);
7061 oneway void notifyListenersAsync (in DeviceEventListener listener,
7062 in DeviceEvent event);
7064 Added DeviceEventListener and DeviceEvent structs (may deprecate
7065 KeyStroke and KeystrokeListener in favor of this generic
7066 event/listener framework for devices).
7068 * libspi/deviceeventcontroller.c:
7070 Changed some key listener code to take masks, etc., and paved the
7071 way for integration of toolkit/non-preemptive key events. Changed
7072 signatures of some internal methods.
7074 * at-bridge/bridge.c:
7075 Fixed regression connecting to interface signals, apparently
7076 caused by GTK+ changes.
7078 Added an internal bridge_state_listener to deal with
7079 property-change:accessible-state signals.
7081 Changed the key_listeners GList to store structs (including masks,
7082 etc.) instead of just CORBA_Objects (required for full
7083 implementation of key listener API).
7085 Connected the bridge to all currently supported Atk signals.
7086 Events now supported:
7087 object:property-change
7088 object:property-change:accessible-name
7089 object:property-change:accessible-state
7090 object:property-change:accessible-description
7091 object:property-change:accessible-parent
7092 object:property-change:accessible-value
7093 object:property-change:accessible-role
7094 object:property-change:accessible-table-caption
7095 object:property-change:accessible-table-column-description
7096 object:property-change:accessible-table-column-header
7097 object:property-change:accessible-table-row-description
7098 object:property-change:accessible-table-row-header
7099 object:property-change:accessible-table-summary
7100 object:children-changed
7101 object:visible-data-changed
7102 object:selection-changed
7103 object:text-selection-changed
7105 object:text-caret-moved
7107 object:row-reordered
7109 object:column-inserted
7110 object:column-reordered
7111 object:column-deleted
7112 object:model-changed
7114 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7116 * libspi/hyperlink.c,h:
7117 Fixed some broken stuff in hyperlink.
7119 * libspi/relation.h:
7120 * libspi/relation.c:
7121 * cspi/spi_accessible.c:
7122 Initial implementations of AccessibleRelation methods, and docs.
7124 * libspi/accessible.c:
7125 Fixed a bug that caused SEGV if an accessible
7126 object's description is NULL, and a client
7127 requests it. An empty string is now returned.
7129 * cspi/spi_editabletext.c:
7130 * cspi/spi_hypertext.c:
7132 * cspi/spi_hyperlink.c:
7136 Doc coverage now 95%.
7138 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7140 One last namespacing revision:
7141 * libspi/accessibleeventlistener.[ch]:
7142 Renamed SpiAccessibleEventListener to SpiEventListener,
7143 (no need for two namespaces ;-)
7145 And lots of documentation fixes:
7147 * docs/at-spi-docs.sgml:
7148 Fixed 'underscore vs. hyphen' bug that was preventing
7149 the gtk-doc API docs from being automatically generated.
7152 * cspi/spi-listener.h
7154 * cspi/spi_accessible.c
7156 * cspi/spi_application.c
7157 * cspi/spi_component.c
7158 * cspi/spi_editabletext.c
7160 * cspi/spi_hypertext.c
7162 * cspi/spi_registry.c
7163 * cspi/spi_selection.c
7167 * docs/at-spi-docs.sgml
7168 * docs/at-spi-sections.txt
7170 Added and fixed up gtk-doc documentation in cspi.
7172 Interfaces now (fully) documented (subject to revision and enhancement):
7174 Event Listener Support
7176 AccessibleApplication
7180 AccessibleEditableText
7187 AccessibleRelationSet
7192 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7194 * at-bridge/bridge.c:
7195 Initial work for toolkit-level key snooper connection by bridge.
7200 New typedefs and fixes to support new namespacing, and cleaner
7201 separation of cspi bindings from libspi bonobo implementation.
7202 Removed inconsistent and extraneous Spi* namespace prefix that
7203 had crept into cspi headers.
7204 Lots of comment fixes that sed had missed.
7206 * cspi/spi-roletypes.h:
7207 * cspi/spi-statetypes.h:
7208 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7209 to AccessibleRoleType.
7211 * libspi/accessibleeventlistener.h:
7212 Fixed minor namespacing weirdness.
7214 * libspi/deviceeventcontroller.c:
7215 Reordered some internal API for device listeners.
7216 Changed the key registry final boolean to 'is_system_global'
7217 rather than 'is_synchronous', which is more descriptive of its
7219 Added spi_device_event_controller_new().
7220 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7222 * libspi/keystrokelistener.[ch]:
7223 Namespaced KeystrokeListener to SpiKeystrokeListener.
7224 Changed uses of keymasks to use SPI_ prefix, and did other
7227 * libspi/keymasks.h:
7228 Namespaced keymask constants with SPI_ prefix.
7230 * libspi/registry.c:
7231 Some warning fixes, and knock-on fixes from namespace changes.
7234 Added rules for accessx-gui test program.
7236 * test/accessx-gui.c:
7237 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7238 utility. It doesn't actually use at-spi, but it's still cool and
7241 * test/keysynth-demo.c:
7245 Fixes so that these test clients work properly with the namespaced
7246 libraries. (Incompletely tested for technical reasons, fixes may follow)
7249 2001-11-13 Michael Meeks <michael@ximian.com>
7251 * libspi/application.c
7252 (impl_accessibility_application_get_version),
7253 (impl_accessibility_application_get_toolkit_name):
7255 (impl_accessibility_application_set_id),
7256 (impl_accessibility_application_get_id): remove
7257 redundant casting code.
7259 * libspi/action.c (impl_getDescription): fix warnings.
7261 * libspi/accessible.c
7262 (impl_accessibility_accessible_get_parent),
7263 (impl_accessibility_accessible_get_child_at_index),
7264 (impl_accessibility_accessible_get_state),
7265 (impl_accessibility_accessible_get_relation_set):
7266 warning fixes & include action.h
7268 2001-11-13 Michael Meeks <michael@ximian.com>
7270 * *.[ch] fix bits I screwed up:
7272 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7273 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7275 2001-11-13 Michael Meeks <michael@ximian.com>
7277 * *.[ch] Namespace libspi into spi_ and Spi.
7279 2001-13-11 Michael Meeks <michael@ximian.com>
7281 * Makefile.am: dist & install at-spi-1.0.pc
7283 * libspi/Makefile.am: install into at-spi-1.0
7285 * idl/Makefile.am (idldir): install into at-spi-1.0
7287 * at-spi-1.0.pc.in: add.
7289 * configure.in: build it.
7291 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7293 * test/keysynth-demo.c:
7294 Use a 'realize' signal-handler to set the WM properties for
7295 the virtual keyboard, rather than making it a "POPUP" type
7296 override-redirect window (thanks to anders carlsson for that
7299 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7302 * test/keysynth-demo.c:
7303 Added new test of key synthesis, which creates a simple
7304 (mouse-operated) onscreen keyboard. It inserts key events into
7305 the currently-focused window, thus it does not grab keyboard focus
7308 * cspi/spi_registry.c:
7309 Added C binding for AT-SPI generateKeyEvent.
7311 * libspi/deviceeventcontroller.c:
7312 Added call to XFilterEvent so that key listener works with XIM (we
7313 hope). Added event_synth_type to generateKeyEvent, so that we can
7314 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7315 synthesize a press/release pair for KeySyms.
7317 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7319 * libspi/Makefile.am:
7320 * registryd/Makefile.am:
7321 (temporary) hack to include libXtst in libspi and registryd.
7322 (Needed for keystroke synthesis, see below).
7325 Improved API for registerKeystrokeListener, in accordance with
7326 discussions with Gnopernicus team and X server research.
7328 * libspi/registry.c:
7329 * libspi/deviceeventcontroller.c:
7330 * libspi/accessible.c:
7331 * libspi/keystrokelistener.c:
7332 Changes and fixes to support keylisteners for potentially
7333 consumed key events (that is, 'passive grabs').
7334 Added implementation for generateKeyEvent() [untested].
7337 Changes to registerKeystrokeListener() API, as above.
7338 Added deregisterGlobalEventListenerAll(), and
7339 deregisterKeystrokeListener(), which are needed for clean exit of
7341 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7342 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7344 * cspi/spi_registry.c:
7345 Added implementations of function prototypes mentioned above.
7347 * registryd/registryd.c:
7348 Added the key listener event source as a g_timeout(), to allow
7349 receipt of key events that are not caught by GDK (since GDK
7350 doesn't support passive keygrabs, this was necessary).
7353 Changed to attach a keylistener to 'Alt' keys, and
7354 respond to the following keycommands: Alt-M (toggle magnifier);
7355 Alt-F (toggle speech); Alt-Q (quit).
7356 Added an exit routine to deregister the listeners, and a key
7357 listener that prints some key info to the console when a key
7358 matches the listener mask (and is thus received by the listener).
7360 * util/idl/Magnifier.idl:
7361 Changes to magnifier API to support multiple zoom regions,
7362 non-uniform scaling in x and y, markDirty, and a host of other
7363 features that would be useful to magnification.
7366 * util/mag_client.c:
7367 * util/mag_client.h:
7368 * util/mag_control.c:
7370 Source code changes to support the above IDL changes.
7373 As above, and also changes to use a (slower) generic conversion
7374 path for colormap conversions, since the fast RGB conversions have been
7375 reported to fail for 16-bit displays.
7377 2001-10-26 Michael Meeks <michael@ximian.com>
7379 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7381 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7383 * at-bridge/Makefile.am: fix LDFLAGS.
7385 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7387 * at-bridge/bridge.c:
7388 Re-worked listeners for toolkit events, now we have signal
7389 and property listeners. Added a private method
7390 register_atk_event_listeners(), which registers with the
7391 various atk and gtk signals we need to monitor in order to emit
7393 Added emission hook for AtkObject:property-change events, to
7394 support the 'property listeners'.
7395 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7398 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7399 which emit warnings and exit, respectively, if CORBA errors occur
7400 during remote calls, and we now use these methods to check most of
7401 our CORBA calls in the C bindings.
7403 * cspi/spi_accessible.c:
7404 Changed AccessibleSelection_refSelectedChild() to
7405 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7406 now increment refcounts.
7408 * cspi/spi_component.c:
7409 Fixed some long pointer casts (dangerous!) to pass pointers to
7410 CORBA_longs of the proper type to the CORBA stubs, and copy the
7411 data into the longs that were passed into the C bindings code.
7413 * at-bridge/bridge.c:
7415 * libspi/accessible.c:
7416 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7417 hyperlinks, AtkHyperlink is an object type.
7419 * libspi/application.c:
7420 Added various conversions to and from "generic" event types and
7421 atk-specific types; this is really part of the 'bridge'
7422 implementation but is valid for all AtkObject-based accessibility
7425 * libspi/editabletext.c:
7426 Fixed nasty bug wherein editable text's finalize method was
7427 unref'ing tha AtkObject reference that the text parent class was
7428 about to unref _again_. There was also a nasty inheritance bug
7429 that meant that the AccessibleEditableText class was corrupt.
7431 * libspi/selection.c:
7432 Provided implementations for some selection API that was broken.
7434 * idl/Application.idl:
7435 Added registerObjectEventListener () method.
7438 Fixed a number of return values that were Bonobo_Unknowns from
7439 bonobo_object_corba_objref(), which I
7440 forgot to dup before returning. Changed instances of
7441 bonobo_object_corba_objref (bonobo_object(o)) to
7442 BONOBO_OBJREF(o), for concision and clarity.
7444 2001-10-13 Louise Miller <louise.miller@sun.com>
7446 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7447 idl/Event.idl, idl/Registry.idl
7448 Changed these files to include Bonobo_Unknown.idl instead
7451 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7453 * libspi/component.c libspi/component.h:
7454 Fixed typo. Added assertions for object checks in
7455 AccessibleComponent code.
7457 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7459 * idl/Accessible.idl:
7460 Added 'isEqual (Accessible *object)'
7461 method for Accessible. (Not Yet Implemented).
7464 Changed signature of registerKeystrokeListener() to
7465 take a KeySet and KeyEventSeq so that specific keys and event
7466 types could be requested for monitoring, and added a flag
7467 is_synchronous so that either synchronous or asynchronous
7468 notification could be requested. (However this is not all
7469 implemented yet). This also meant adding two new typedefs,
7470 KeyEventSeq and KeySet.
7473 Added two new relations, RELATION_TOOLTIP_FOR and
7474 RELATION_LEAFNODE_OF.
7477 Added new state, STATE_HAS_TOOLTIP.
7479 * libspi/text.c, editabletext.c:
7480 Added new assertions to all casts of bonobo-objects from
7481 CORBA servants, to prevent Text API calls on non-text objects.
7482 Changed suspect casts of int-pointer types, so that we
7483 always send a valid CORBA_long pointer to the CORBA APIs that use
7484 in/out long parameters. We then have to copy from the CORBA_long
7485 into the regular long or int for return to the C bindings, or
7486 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7489 * libspi/deviceeventcontroller.c:
7490 Cleaned these sources up.
7492 Changed return type for getCharacterAtOffset to
7493 CORBA_unsigned_long, to allow for 32-bit characters.
7496 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7500 Fixed 'make dist' so that distro compiles...
7501 * libspi/keymasks.h:
7503 * cspi/spi-listener.c:
7504 KeystrokeListenerCB now returns a boolean.
7506 Added KeyEventType struct, and KeyStroke.
7507 Also added createKeystrokeListener(),
7508 KeystrokeListener_addCallback(),
7509 KeystrokeListener_removeCallback(), and added a keymask to
7510 registerKeystrokeListener().
7511 * cspi/spi_accessible.c:
7512 Changed numerous return types for interfaces from
7513 AccessibleComponent to Accessible<InterfaceName>; this was
7514 probably a cut-and-paste error.
7516 Implementations of new KeystrokeListener api (from spi.h,
7519 Changes to key modifier mapping.
7520 Created ControllerEventMask struct.
7521 Made DeviceEventController derive from Bonobo::Unknown.
7523 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7524 * libspi/deviceeventcontroller.c:
7525 Added a number of new internal (private) methods.
7526 * libspi/editabletext.c:
7527 * libspi/editabletext.h:
7528 Fixed a number of bugs related to the fact that
7529 editabletext inherits from text. Fixed the EditableText struct,
7530 the init() call, and use correct casts when calling Text methods
7531 from an EditableText object. Removed (duplicate) atko from the
7532 EditableText structure, we use the one in the parent Text
7533 structure via the casts mentioned above.
7534 * libspi/keystrokelistener.[ch]:
7535 * libspi/registry.c:
7536 Changes in support of keyboard handling (above).
7538 Keyboard handling, though partly functional, is still not
7539 recommended for at-spi client use as there is considerable
7540 work yet to be done.
7543 Changed some places where pointers to various int types
7544 are cast to be pointers to CORBA_long types and vice-versa:
7545 pointer casting is not safe so we pass pointers of the correct
7546 types and then cast the result before putting it into the target
7549 * libspi/text.h: minor typos corrected.
7551 We now speak not only the name of a Text element, but the
7552 first sentence of its content, when it receives focus.
7553 I also changed the text compression to 75% from 50%.
7554 * util/Accessibility_Util.server.in:
7555 Changed the default magnifier type to be a 3x vertical
7556 splitscreen magnifier (was previously a 2x horizontal one).
7558 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7560 * libspi/keystrokelistener.h:
7561 * libspi/keystrokelistener.c:
7562 Initial functional implementations of KeystrokeListener.
7565 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7567 Fixed string handling for NULL strings in libspi.
7568 Added spi_freeString to free strings returned by C bindings.
7570 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7572 * libspi/keystrokelistener.h:
7573 * libspi/keystrokelistener.c:
7574 Began (no-op) implementations of KeystrokeListener
7576 * libspi/deviceeventcontroller.c:
7577 * libspi/deviceeventcontroller.h:
7578 Began creating implementations of DeviceEventController,
7579 to handle keystroke and mouse event listening and
7581 * libspi/accessible.c:
7582 Stubbed-in the implementations for
7583 Accessibility_Accessible_getState and
7584 Accessibility_Accessible_getRelationSet.
7585 * libspi/registry.c:
7586 Improved de-registration process and fixed some bugs,
7587 deregistration now works correctly.
7589 Added initialization of applications list (to NULL).
7591 Reduced speech compression from 0.5 to 0.7, for demo.
7592 Changed call to gdk_window_set_decorations()
7593 to gtk_window_set_decorated().
7594 * at-bridge/bridge.c:
7595 Bridge now deregisters when app exits, via
7596 registration of a cleanup function
7597 with the g_atexit() call.
7598 Required making 'app' static, renamed 'this_app'.
7599 Fixed broken use of bonobo_init, passing argv wrongly.
7601 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7605 Created a new directory for
7606 accessibility-related utilities, primarily for
7607 testing and demo purposes, but with possible
7614 Onscreen magnifier utility that
7615 is implemented as a bonobo service.
7617 * util/mag_client.c:
7618 * util/mag_client.h:
7619 Client-side support (simple C bindings)
7620 for Magnification service
7622 * util/mag_control.c:
7623 Client program example for
7624 Magnification service
7626 * util/Accessibility_Magnifier.server.in:
7627 Bonobo-activation file for the
7628 Magnification service.
7631 * util/idl/Magnifier.idl:
7632 IDL defining the bonobo Magnification
7636 Modifications to use the bonobo-activated magnifier
7637 above, in place of trying to connect to an existing
7638 magnifier that uses socket-listening IPC.
7640 If env variable MAGNIFIER is set, a magnifier service
7641 will be started if one does not exist.
7643 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7645 * at-bridge/bridge.c:
7646 applied patch from Marc to build and run
7647 against new glib and gtk+ (seemed like a change
7648 to bonobo_init signature was made ?)
7650 made festival-server support turned off by default.
7651 Added support for a simple magnifier (off by default)
7652 which will be added to a 'util' directory later.
7653 * at-bridge/Makefile.am:
7654 Changed "application.h" header from a 'source'
7655 to a 'dependency' of libat-bridge.
7657 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7666 Added interface implementation c files to list of
7667 includes so they are included in libcspi.
7670 Changed prototype of AccessibleAction_doAction to return a
7672 Changed prototype of AccessibleTable_getCaption to
7673 return an Accessible.
7674 Changed prototype of AccessibleTable_getSelectedRows
7675 and AccessibleTable_getSelectedColumns to
7676 return a long (returns the number of selected rows
7677 or columns respectively).
7678 Changed name of AccessibleText_refRunAttributes to
7679 AccessibleText_getAttributes.
7680 Changed prototype of AccessibleText_getCharacterExtents to
7681 return a void rather than a boolean.
7682 Added support for a AccessibleCoordType parameter
7683 specifying what type of coordinates are desired.
7684 Added an AccessibleCordType parameter to
7685 AccessibleText_getPointAtOffset.
7687 * cspi/spi_accessible.c:
7688 Added code to return the outstanding interfaces from
7689 Accessible_queryInterface.
7691 * cspi/spi_action.c:
7693 Corrected call to getNActions to call the c binding
7696 * cspi/spi_editabletext.c:
7698 Changed name from setRunAttributes to setAttributes.
7700 * cspi/spi_hyperlink.c:
7702 Changed call to getNAnchors to correctly call the c
7703 binding for an attribute.
7705 * cspi/spi_hypertext.c:
7707 Changed getImageDescription to correctly call the
7708 binding for an attribute.
7710 * cspi/spi_selection.c:
7711 Changed getNSelectedChildren to correctly call the c
7712 binding for the attribute.
7713 Changed refSelectedChild to getSelectedChild.
7717 Changed getCaption to return an Accessible.
7718 Fixed calls which retrieve attributes.
7719 Changed refAt to getAccessibleAt.
7720 Changed getNSelectedRows and getNSelectedColumns to
7724 Changed getCharacterExtents and getPointAtOffset to accept an
7725 AccessibleCoordType.
7727 Changed calls which retrieve attributes.
7728 Changed refRunAttributes to getAttributes.
7733 * idl/Hyperlink.idl:
7734 Changed n_anchors attribute to nAnchors to keep naming
7735 convention consistent.
7738 Made Table inherit from Bonobo::Unknown.
7739 Added nSelectedColumns and nSelectedRows attributes.
7742 Made Value inherit from Bonobo::Unknown.
7744 * libspi/hyperlink.c:
7745 Change for nAnchors attributte name change.
7747 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7755 Added interface implementation c files to list of
7756 includes so they are included in libcspi.
7759 Changed prototype of AccessibleAction_doAction to return a
7761 Changed prototype of AccessibleTable_getCaption to
7762 return an Accessible.
7763 Changed prototype of AccessibleTable_getSelectedRows
7764 and AccessibleTable_getSelectedColumns to
7765 return a long (returns the number of selected rows
7766 or columns respectively).
7767 Changed name of AccessibleText_refRunAttributes to
7768 AccessibleText_getAttributes.
7769 Changed prototype of AccessibleText_getCharacterExtents to
7770 return a void rather than a boolean.
7771 Added support for a AccessibleCoordType parameter
7772 specifying what type of coordinates are desired.
7773 Added an AccessibleCordType parameter to
7774 AccessibleText_getPointAtOffset.
7776 * cspi/spi_accessible.c:
7777 Added code to return the outstanding interfaces from
7778 Accessible_queryInterface.
7780 * cspi/spi_action.c:
7782 Corrected call to getNActions to call the c binding
7785 * cspi/spi_editabletext.c:
7787 Changed name from setRunAttributes to setAttributes.
7789 * cspi/spi_hyperlink.c:
7791 Changed call to getNAnchors to correctly call the c
7792 binding for an attribute.
7794 * cspi/spi_hypertext.c:
7796 Changed getImageDescription to correctly call the
7797 binding for an attribute.
7799 * cspi/spi_selection.c:
7800 Changed getNSelectedChildren to correctly call the c
7801 binding for the attribute.
7802 Changed refSelectedChild to getSelectedChild.
7806 Changed getCaption to return an Accessible.
7807 Fixed calls which retrieve attributes.
7808 Changed refAt to getAccessibleAt.
7809 Changed getNSelectedRows and getNSelectedColumns to
7813 Changed getCharacterExtents and getPointAtOffset to accept an
7814 AccessibleCoordType.
7816 Changed calls which retrieve attributes.
7817 Changed refRunAttributes to getAttributes.
7822 * idl/Hyperlink.idl:
7823 Changed n_anchors attribute to nAnchors to keep naming
7824 convention consistent.
7827 Made Table inherit from Bonobo::Unknown.
7828 Added nSelectedColumns and nSelectedRows attributes.
7831 Made Value inherit from Bonobo::Unknown.
7833 * libspi/hyperlink.c:
7834 Change for nAnchors attributte name change.
7837 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7839 implementations-- made server implementations own AtkObject pointers
7840 rather than their respective AtkInterrface pointers to fix
7841 refcounting. AtkHyperlink is still broken.
7843 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7844 * cspi/spi_accessible.c:
7845 Added method Accessible_Role_getName(),
7846 and requisite string array (role_names).
7847 Added conversion string_from_corba_strin() call
7848 to Accessible_getName and _getDescription.
7849 * libspi/accessible.c:
7850 Added implementation for Accessible_getRole()
7852 Added festival support, used if environment variable
7855 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7857 * at-bridge/bridge.c:
7858 Now allocate Accessibility_Event using
7859 Accessibility_Event__alloc() instead of g_new0().
7860 * libspi/accessibleeventlistener.c:
7861 Initialize AccessibleEventListener->callbacks to NULL.
7862 Fixed accessible__event_listener_init() param, changed to
7863 "AccessibleEventListener *" type.
7864 Changed a bonobo_object_release_unref() call to
7865 Accessibility_Accessible_unref().
7866 * libspi/listener.c:
7867 Changed Bonobo_Unknown_unref to (equivalent)
7868 Accessibility_Accessible_unref.
7869 * libspi/registry.c:
7870 Changed bonobo_object_release_unref to
7871 Accessibility_Accessible_unref.
7873 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7876 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7877 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7878 spi-util.c spi-util.h
7879 Implementations for C bindings to remaining accessibility
7882 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7885 changed return value of Action from void to boolean to
7886 bring in line with ATK.
7889 Changed getText funcions to return "out" start and end offsets.
7890 Changed getAttributes to take and offset and return the start
7891 and end offset of the attribute run.
7892 Changed getOffsetAtPoint and getCharacterExtents to take an
7893 enum describing whether coordinates are window or screen.
7896 libspi/action.c libspi/action.h libspi/editabletext.c
7897 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7898 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7899 libspi/image.h libspi/selection.c libspi/selection.h
7900 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7901 libspi/value.c libspi/value.h
7902 Added server implementations for outstanding ATK interfaces
7903 not yet implemented.
7905 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7908 Added (missing) getName() method.
7909 Made nActions an attribute.
7910 * idl/EditableText.idl:
7911 Changed order of params in setAttributes.
7912 * idl/Hyperlink.idl:
7913 Removed getAnchor, added getURI.
7915 Changed attributes to methods, for efficiency
7916 (so that getting extents can be done in one call)
7917 * idl/Selection.idl:
7918 Changed nSelectedChildren to attribute, and re-indented.
7919 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7921 * idl/Text.idl: reformatted to match our coding style.
7922 (temporarily?) removed getRowColumnAtOffset().
7923 Changed text selection API to support multi-select and
7924 non-contiguous selections, as in ATK.
7925 * idl/Value.idl: changed some methods to attributes.
7927 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7929 * libspi/listener.c(impl_notify_event):
7930 BonoboUnkown_unref the source instead
7931 of bonobo_object_release_unref - the ORB
7932 handles the releasing.
7934 * configure.in: require ORBit-2.3.94 for
7937 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7939 Tagged CVS repository 'EA_1_0'.
7940 * README.EARLY_ACCESS:
7941 Alphabetized acknowledgements list, and
7943 Listed some known dependencies of at-spi.
7945 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7947 * docs/at-spi-docs.sgml:
7948 * docs/at-spi-sections.txt:
7949 * docs/at-spi-overrides.txt: (Added zero-length file)
7950 Documentation improvements - gtk-doc should build
7951 docs for all implemented C bindings now.
7954 * cspi/spi.c: (New file)
7955 * cspi/spi_event.c: (New file)
7956 * cspi/spi_registry.c: (New file)
7957 * cspi/spi_accessible.c: (New file)
7958 * cspi/spi_application.c: (New file)
7959 * cspi/spi_component.c: (New file)
7960 Split spi_main.c into six parts, and included them from
7961 "spi.c". This is a bit of a hack, probably temporary,
7962 but required by gtk-doc, apparently.
7964 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7967 * docs/at-spi-docs.sgml:
7968 * docs/at-spi-sections.txt:
7970 Initial checkins/modifications for gtk-doc generation.
7973 Added (missing) interface query methods to Accessible's C binding.
7975 Added GenericInterface type definition.
7977 Added query for AccessibleComponent interface to focus event handler.
7978 Added printout of bounding box for focussed component.
7979 * libspi/component.c:
7980 Added partial implementation for AccessibleComponent to C binding.
7981 * idl/Application.idl:
7982 * libspi/registry.c:
7983 * libspi/listener.c:
7984 * libspi/application.c:
7985 * libspi/application.h:
7986 Changed "ID" attribute type from string to long.
7988 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7992 Made method naming consistent: methods taking object args
7993 start with uppercase, other methods (except those using
7994 acronyms) start with lowercase. Underscores delimit between
7995 object names and method names:
7996 SPI_init() - uppercase since it starts with an acronym.
7997 getDesktopCount () - lowercase start since no object param0.
7998 Accessible_getName() - uppercase object type name, studlyCaps method
8002 Added gtk-doc documentation for all currently implemented
8003 methods in the C bindings API.
8005 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8007 * Makefile.am : changed build order to build test last.
8010 Changed "createEventListener" to "CreateEventListener".
8011 * libspi/accessibleeventlistener.c :
8012 Bugfix for addition of callbacks.
8013 * test/Makefile.am :
8014 * test/simple-at.c :
8015 Added new test that uses the C bindings API.
8017 * libspi/listener.c :
8018 * libspi/registry.c :
8019 * libspi/accessibleeventlistener.c :
8020 * at-bridge/bridge.c :
8021 Renamed member "target" of Accessibility_Event to "source",
8022 which is more descriptive.
8025 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8029 * cspi/Makefile.am :
8030 Added makefile support for at-spi/cspi directory.
8033 * cspi/spi-listener.h : (NEW FILE)
8034 Added support for/use of spi-listener.h.
8036 C bindings now build successfully, with no warnings.
8037 * libspi/accessibleeventlistener.h : (NEW FILE)
8038 * libspi/accessibleeventlistener.c : (NEW FILE)
8039 * libspi/Makefile.am :
8040 Added new object type "AccessibleEventListener"
8041 which inherits from Listener, and allows attachment
8042 of in-process callbacks (so that a client with a listening
8043 object instance can add functionality to the local
8044 implementation, dynamically).
8046 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8048 * libspi/accessible.c:
8049 Add implementation for get_index_in_parent().
8051 Added #include of "spi-roletypes.h", and
8052 added enumerated type AccessibleCoordType.
8053 Added definition for KeystrokeListener (function type).
8056 * cspi/spi-statetypes.h :
8057 * cspi/spi-roletypes.h :
8059 Added these headers, used by spi.h.
8061 Added code (NOTE: not yet built by make).
8063 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8065 * libspi/Makefile.am: generate imodule
8066 at the same time as other idl compiler
8069 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8070 * libspi/registry.c :
8071 * libspi/application.c :
8072 * idl/Application.idl :
8073 Made registration with toolkit an application method,
8074 which is required since each app has its own toolkit static
8075 environment. Thus the bridge must register for
8076 notification of toolkit events from each application in turn.
8077 Toolkit notifications are now successfully registered for, and
8078 sent to the listening at client.
8080 Changed toolkit event string to use hyphens rather than underscores.
8081 * libspi/listener.c :
8082 listner now gives more info in debug mode - it reports the
8083 name of the event received, as well as the name of the source.
8086 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8088 * libspi/registry.c :
8089 added more implementation for toolkit events.
8090 Fixed bug such that toolkit event registrations
8091 (via atk) use the whole event name string, not
8093 Removed a useless call to an ORBit_ method.
8094 * at-bridge/bridge.c :
8095 Removed unused local sbuf[] variable.
8097 We now register for Gtk:GtkWidget:button_press_event
8098 events as well as "focus:" events.
8100 Add some more API from Registry.idl that was missing,
8101 for keystroke listening, keystroke and mouse event
8102 synthesis, and enumeration of accessible desktops.
8104 2001-08-16 Michael Meeks <michael@ximian.com>
8106 * configure.in: use AM_GLIB_GNU_GETTEXT.
8108 * Makefile.am (SUBDIRS): kill intl.
8110 2001-08-15 Michael Meeks <michael@ximian.com>
8112 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8114 * configure.in: upd.
8116 * configure.in: depend on a recent bonobo-activation that
8117 will find our server files ...
8119 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8121 * libspi/accessible.c : accessible_new() :
8122 Now we add the Component interface via bonobo_object_add_interface,
8123 if the contained AtkObject implements AtkComponent.
8124 * libspi/accessible.h : now include "component.h"
8125 * libspi/component.h :
8126 * libspi/component.c : added files - implementation of
8127 bonobo wrapper object for Accessibility/Component
8128 * libspi/listener.c :
8129 Added test code to check for Accessibility/Component:1.0
8130 interface and report whether it is implemented by the
8132 * libspi/registry.c :
8133 Now we check for not only the hash of the whole event
8134 string before relaying the event, we also check the
8135 "minor" event string (without the detail string).
8136 This allows event listeners to be registered against
8137 all events of a certain major+minor type, or just
8138 against a specific major+minor+detail type.
8139 * libspi/accessible.c :
8140 Added implementations for Accessible:get_parent(),
8141 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8142 * libspi/registry.c :
8143 * libspi/listener.c :
8144 Replaced calls to Accessibility_Accessible_ref() and
8145 Accessibility_Accessible_unref() with
8146 calls to bonobo_object_dup_ref() and
8147 bonobo_object_release_unref(), so that the CORBA object
8148 is dup-ed and released when relayed, as well as the bonobo object.
8150 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8152 * libspi/Makefile.am,
8153 registryd/Makefile.am,
8154 at-bridge/Makefile.am.
8155 test/Makefile.am, configure.in:
8156 reverse previous changes.
8158 * /idl/Image.idl: fix typo.
8160 * test/Makefile.am: put DEBUG_FLAGS
8163 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8165 * test/app.c: use argv[0] instead of
8168 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8170 * libspi/Makefile.am,
8171 registryd/Makefile.am,
8172 at-bridge/Makefile.am.
8173 test/Makefile.am, configure.in:
8174 cleanup, replace individual LIBS/CFLAGS with
8175 AT_COMMON_{LIBS|CFLAGS}.
8179 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8181 * configure.in, libspi/Makefile.am:
8182 Change IDL path checking for bonobo-activation
8185 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8187 * registryd/registry.c : separated event listeners to use
8188 3 separate lists (focus, window, toolkit). Began testing
8189 event names against hashes before relaying events.
8190 * test/at.c : now register for events of type "focus:"
8191 * test/app.c : now generate events of type "focus:"
8192 * at-bridge/bridge.c : register with ATK for focus events,
8193 and we now relay those focus events to any "focus:" listeners.
8194 This now works with the bridge as a GTK_MODULE when running test/at.
8195 * libspi/registry.c :
8196 * libspi/listener.c :
8197 now we ref event sources before propagating, and unref on receipt.
8198 * libspi/registry.c :
8199 some changes to internal structs, to support event typestring hashes.
8200 * text/app.c : changed the way the appname is generated.
8201 * cspi : added directory that will hold the C bindings library for
8202 non-CORBA/bonobo-savvy clients.
8203 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8204 * idl/Component.idl : added in parameter to indicate coord system for
8205 geometry-related calls.
8206 * idl/Hyperlink.idl : added readonly n_links attribute
8207 * idl/Image.idl : changed methods to attributes.
8209 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8211 * at-bridge/Makefile.am: link against
8212 ../libspi/libspi.la instead of -lspi.
8214 * at-spi/test/app.c: include
8215 bonobo-activation.h. Use a default appname
8216 if one is not provided.
8218 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8220 * idl/Registry.idl : temporarily changed register_Application
8221 to oneway, to work around issue with initial registration
8223 * idl/Application.idl : changed attribute "id" from readonly
8224 to read-write, since it needs to be assigned by Registry.
8225 * registryd/registryd.c : added call to set application id
8227 * registryd/registry.c : changed de-registration procedure to
8228 use CORBA_Object_hash() to find matching object ref in application
8229 lists and listener lists.
8230 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8231 began distinguishing between event types (work in progress).
8233 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8236 * libspi/application.c:
8237 Added implementations for get/set id, get_toolkitName,
8239 * registryd/registryd.c :
8243 Converted from use of OAF to bonobo-activation.
8244 * libspi/desktop.h :
8245 * libspi/desktop.c :
8247 Removed references to atksimpleobject, since base atkobject
8248 implementation now provides functionality we need.
8249 * libspi/atksimpleobject.c :
8250 * libspi/atksimpleobject.h :
8255 * at-bridge/Makefile.am
8256 * at-bridge/bridge.c
8259 Added directory "bridge" and contents, and added dependencies
8260 in Makefile.am/configure.in.
8261 Initial checkin of "at-bridge".
8262 This code is a GTK_MODULE which automatically registers
8263 GTK+ apps with the accessibility registry, using an object
8264 reference to the root ATK object.
8266 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8268 * po/Makefile.in.in: Remove. Again. If this
8269 doesn't get autogenerated - you need to update
8272 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8274 * po/Makefile.in.in: Add. Again.
8276 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8278 * libspi/accessible.c : added support for 'description' property.
8279 * libspi/accessible.c
8281 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8282 (since the two are now equivalent in libbonobo)
8290 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8291 Bonobo::Unknown as does Accessibility::Accessible.
8292 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8293 interface with Bonobo::Stream, since it was redundant with it.
8294 (The Stream returned by a StreamableContext object is expected to
8295 implement only a subset of Bonobo::Stream)
8297 2001-07-28 Anders Carlsson <andersca@gnome.org>
8299 * libspi/accessible.c (accessible_object_finalize): Change
8300 g_free to g_object_unref since the AtkObject is a GObject.
8302 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8304 * idl/Accessibility.idl: add new IDL files
8307 * idl/Action.idl: Definitions of actionable UI object
8308 * idl/Component.idl: Definitions of UI component geometry, etc.
8309 * idl/Hyperlink.idl: Defs of hyperlink behavior
8310 * idl/Image.idl: Def of accessible image
8311 * idl/Selection.idl: Definition of UI object with selectable children
8312 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8313 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8314 * idl/Text.idl: Interface defs for UI elements with complex textual content
8315 * idl/Value.idl: Definition of UI element that is a value controller or display
8317 2001-07-27 Michael Meeks <michael@ximian.com>
8319 * po/Makefile.in.in: remove autogenerated file from CVS.
8321 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8324 * idl/Registry.idl: include guard.
8326 * idl/Accessibility.idl: Add, and include all the other IDL
8329 * idl/*.idl: remove mass of pragmas etc.
8331 2001-07-26 Michael Meeks <michael@ximian.com>
8333 * registryd/Makefile.am (registryd_SOURCES): remove
8336 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8338 * libspi/.cvsignore, registryd/.cvsignore,
8339 test/.cvsignore: updated.
8341 * po/Makefile.in.in: gettext update.
8343 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8345 * initial CVS checkin
8347 2001-06-29 Michael Meeks <michael@ximian.com>
8349 * configure.in: add AM_CONFIG_HEADER to gen config.h