1 2006-08-22 Bill Haneman <bill.haneman@sun.com>
4 (spi_atk_bridge_signal_listener):
5 Patch from Ginn Chen, assign detail1 in children-changed
6 so that the child object can be assigned to the Any when the
7 at-spi event is emitted. Bug #350552.
9 2006-08-21 Bill Haneman <bill.haneman@sun.com>
11 * configure.in: Revved to AT-SPI 1.7.11.
13 * libspi/accessible.c:
14 (spi_accessible_new): Aggregate Hyperlink interface
15 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
18 (spi_hyperlink_new): Don't aggregate Action a second time if this
19 interface is created for an AtkHyperlinkImpl object (i.e. for a
20 child Accessible, as opposed to the Hyperlink instance from
22 (get_hyperlink_from_servant): Obtain the hyperlink from
23 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
25 Patch section from Ginn Chen...
27 * cspi/spi_accessible.c:
28 (_cspi_accessible_set_from_sequence):
29 Changed g_newa to g_new0 on Ginn Chen's suggestion.
31 * libspi/accessible.c:
32 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
33 (spi_accessible_new): Add the Document interface if present.
36 (impl_getAttributes): Fixed to use AtkAttribute properly.
39 (impl_getAttributes, impl_getDefaultAttributes):
40 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
42 2006-08-17 Bill Haneman <bill.haneman@sun.com>
44 * cspi/spi-private.h, cspi/spi_accessible.c:
45 (_cspi_attribute_set_from_sequence): Renamed from
46 cspi_attribute_set_from_sequence, to suppress export.
49 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
50 inline docs, which was keeping the doc from appearing.
51 (SPIExceptionHandler): Doc this.
53 * cspi/spi_document.c:
54 Added inline gtk-docs cut-n-pasted from the doxygen
55 docs in the corresponding IDL files.
56 (AccessibleDocument_getAttributes): Fix the retval here.
58 * cspi/spi_streamablecontent.c:
59 Fixed some 'Since' tags that were accidentally doxygen-style.
62 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
63 docs from the IDL file.
65 * docs/reference/cspi/at-spi-cspi-docs.sgml:
66 Added entities for Document and StreamableContent interfaces.
68 * docs/reference/cspi/at-spi-cspi-sections.txt:
69 Added some docs that were present inline but not getting
72 2006-07-31 Bill Haneman <bill.haneman@sun.com>
75 (impl_getRangeExtents): Use the atk_text_get_range_extents
76 API instead of looping over character bounds, now that
78 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
79 (_spi_text_bounds_contain): Remove, not needed anymore.
80 (_spi_text_rect_union): Remove, not needed anymore.
82 2006-07-31 Bill Haneman <bill.haneman@sun.com>
84 * atk-bridge/bridge.c:
85 (spi_atk_emit_eventv): Fix the CORBA_free call which was
86 causing 64-bit troubles and memory leaks.
87 Special thanks to Alexander Larsson who finally seems to
88 have tracked down the problem, not just here but in
92 (spi_init_any_object): Make sure we copy the CORBA value
93 when initializing an object for passing as a CORBA_Any.
96 2006-07-21 Bill Haneman <billh@gnome.org>
98 * idl/Accessibility.idl:
99 Reverted pragma changes, this broke the build in some envs
100 including the Debian team's build and some tinderbox builds.
102 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
105 Revved to 1.7.10, and edited the Xevie check (bug #319994).
107 * idl/Accessibility.idl:
108 Reworked inclusion of Bonobo_Unknown.idl, to
109 avoid double-linking libs in the Bonobo environment.
110 Thanks to Michael Meeks for the workaround, see bug #313122.
112 * registryd/deviceeventcontroller.c:
113 (spi_controller_notify_keylisteners):
114 Set the SPI_NUMLOCK_MASK bit if the modifier
115 corresponding to the conceptual numlock state is set.
118 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
120 * idl/Accessibility_Selection.idl:
121 (deselectChild): New method.
123 * libspi/selection.c:
124 (impl_deselectChild): Implement the new IDL method.
127 (AccessibleSelection_deselectChild): Added new method.
129 * cspi/spi_selection.c:
130 (AccessibleSelection_deselectChild): New method implemented.
132 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
134 * cspi/bonobo/cspi-bonobo.c:
135 (cspi_init): Replace g_error with g_warning, prevent
136 SEGV if the registry cannot be activated. Bug #346393.
138 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
140 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
142 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
143 2006-07-12 Ariel Rios <arios@us.ibm.com>
147 * idl/Accessibility_Table.idl:
148 (getRowColumnExtentsAtIndex): New method for getting
149 selection status and extents in one API call.
152 (impl_getRowColumnExtentsAtIndex): Implementation of
154 (spi_table_class_init): Add above to epv.
158 (AccessibleTable_getRowColumnExtentsAtIndex): New
159 method, retrieves selection status and row/col extents
160 for a table cell in a single API call.
162 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
163 2006-07-12 Ariel Rios <arios@us.ibm.com>
165 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
168 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
169 New bindings for new methods defined in idl and libspi.
172 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
173 Added prototype functions.
176 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
178 (spi_text_class_init): Added previous methods.
181 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
182 * libspi/spi-private.h: Corrections.
184 2006-06-29 Bill Haneman <bill.haneman@sun.com>
186 Added Document interface (see bug #326520),
187 with work from Ariel Rios <arios@us.ibm.com>.
189 * configure.in: Bump to 1.7.8.
191 * libspi/Makefile.am: Added document.[ch] to sources
194 (SpiDocument, SpiDocumentClass):
195 New interface implementation.
196 (spi_document_get_type, spi_document_construct)
197 (spi_document_interface_new): New methods added.
198 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
199 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
200 Added macros for SpiDocument
204 (spi_document_interface_new): Get a
205 new document interface. New.
206 (get_document_from_servant): Get an AtkDocument from servant New.
207 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
208 Implementation of methods defined on idl.
209 (spi_document_class_init, spi_document_init)
210 Init methods for SpiDocument. new
212 * idl/Accessibility.idl: Added Accessibility_Document.idl.
214 * cspi/Makefile.am: Added spi_document.c to sources.
216 * cspi/spi_document.c:
217 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
218 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
219 (AccessibleDocument_getAttributes): Bindings for methods defined
222 * cspi/spi_accessible.c:
223 (Accessible_isDocument, Accessible_getDocument) New.
225 (Accessible_isDocument, Accessible_getDocument)
226 (AccessibleDocument_ref, AccessibleDocument_unref)
227 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
228 (AccessibleDocument_getAttributes): Bindings added.
230 * idl/Makefile.am: Added Accessibility_Document.idl to
233 2006-06-29 Bill Haneman <bill.haneman@sun.com>
235 * idl/Accessibility_Document.idl: New interface
236 for complex documents. First stage of fix for RFE
239 2006-06-27 Bill Haneman <bill.haneman@sun.com>
241 * libspi/streamablecontent.c:
242 (impl_content_stream_close):
243 Unref the GIOChannel on close.
245 2006-06-23 Bill Haneman <bill.haneman@sun.com>
247 * idl/Accessibility_Role.idl:
248 * libspi/accessiblerole.c:
249 * cspi/spi_accessible.c: Added ROLE_LINK,
250 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
251 Bug #345758 and bug #140635.
254 2006-06-22 Bill Haneman <bill.haneman@sun.com>
258 * idl/Accessibility_StreamableContent.idl:
259 Fix derivation of StreamableContent and ContentStream.
261 * cspi/spi_streamablecontent.c:
262 (accessible_content_stream_client_read):
263 Fix the datatype of the content stream used.
264 Interpret short reads as EOF, and stop trying to
265 read when we've fulfilled the request.
266 (AccessibleStreamableContent_getContentTypes):
267 Use g_strdup, not CORBA_string_dup, for the strings.
268 (AccessibleStreamableContent_open):
269 Correctly use the new getStream method for opening,
270 not the deprecated getContent method.
271 Use the object reference as the stream hash key.
272 Make note of the 'one stream per client per streamable'
273 limitation in the docs.
276 Add streamablecontent.h to the list of #includes.
278 * libspi/streamablecontent.c:
279 (impl_content_stream_read): Initialize the GError.
280 Allocate the incoming buffer if reading a fixed length of
281 data. Use g_memmove instead of memcpy.
282 (impl_accessibility_streamable_get_content_types):
283 Init typelist->_maximum. Only allocate the buffer if
284 there is a non-zero number of content types available.
285 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
287 * libspi/streamablecontent.h:
288 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
291 (SPI_IS_VALUE): Fix a typo in this macro too.
293 2006-06-16 Bill Haneman <bill.haneman@sun.com>
297 * idl/Accessibility_StreambleContent.idl:
298 Deprecate the Bonobo_Stream-based methods in favor of
299 a self-contained "ContentStream" interface. This should
300 allow us to remove BonoboStream dependencies entirely, since
301 there were no non-NIL implementations of the old methods anyway.
302 (ContentStream): New interface.
303 (ContentStream::SeekType): Enum.
304 (ContentStream::seek): New.
305 (ContentStream::read): New.
306 (ContentStream::close): New.
307 (getContent): Deprecate.
308 (getURI): New method, returns a URI pointing to the content, if available.
310 * libspi/streamablecontent.c:
311 (SpiContentStream): Internal object type definition used to
312 implement Accessibility::StreamableContent::ContentStream via
313 AtkStreamableContent's GIOChannel back-end.
314 (spi_content_stream_new, spi_content_stream_dispose): See above;
316 (impl_content_stream_seek, impl_content_stream_read):
317 (impl_content_stream_close): New, implementations of
319 (impl_accessibility_streamable_get_stream): Implement the
320 public method Accessibility::StreamableContent::getStream.
321 (impl_accessibility_streamable_get_uri): Implement the
322 public method Accessibility::StreamableContent::getURI.
324 * cspi/spi_streamablecontent.c:
325 (accessible_bonobo_stream_client_seek): Replaced by
326 (accessible_content_stream_client_seek).
327 (accessible_bonobo_stream_client_read): Replaced by
328 (accessible_content_stream_client_read).
329 (AccessibleStreamableContent_open):
330 (AccessibleStreamableContent_seek):
331 (AccessibleStreamableContent_read):
332 (AccessibleStreamableContent_close): Use the new 'getStream'
333 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
335 2006-06-15 Bill Haneman <bill.haneman@sun.com>
337 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
338 remove from other .idl files (except LoginHelper).
341 2006-06-14 Bill Haneman <bill.haneman@sun.com>
343 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
346 * configure.in, */Makefile.am: mingw patch, modified from
347 original patch by yselkowitz. Bug #314216.
349 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
350 for completeness. Bug #163111.
352 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
353 * libspi/util.c, registryd/registry-main.c:
354 Fix guint/char* casts.
355 Patch from chpe, bug #333883.
357 2006-06-12 Bill Haneman <bill.haneman@sun.com>
359 * configure.in: Require atk-1.12.0, to pick up
360 new API. (bug #344412).
362 * libspi-1.0-uninstalled.pc.in:
364 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
365 Fix for #341488 from Samual Thibault.
367 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
368 Thanks to Brian Pepple.
370 2006-06-09 Bill Haneman <bill.haneman@sun.com>
373 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
374 New, missing implementations of attribute reading methods
377 * cspi/spi.h, spi_value.c:
378 (AccessibleValue_getMinimumIncrement): New methods wrapping
379 the (formerly unimplemented) property from Value.idl.
382 (impl_get_minimumIncrement): Implementation for retrieving
383 the minimum valuator increment, (formerly unimplemented).
386 2006-06-09 Bill Haneman <bill.haneman@sun.com>
388 * idl/Accessibility_State.idl:
389 Added STATE_VISITED (bug #338369).
391 * cspi/spi_accessible.c:
392 (spi_state_to_corba) Fixed marshalling of new statetypes.
395 (spi_init_state_tables, impl_getStates):
396 Fixed conversion of new statetypes to/from ATK.
398 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
400 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
401 definitions/conversions for new roles from ATK.
403 * idl/Accessibility_Relation.idl:
405 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
406 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
407 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
409 * libspi/accessible.c: Fixed marshalling of new role types from
412 2006-04-17 Matthias Clasen <mclasen@redhat.com>
414 * revert my previous change
416 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
418 * configure.in: Remove obssolete no_NO locale
419 * po/no.po: And the translation.
421 2006-04-05 Matthias Clasen <mclasen@redhat.com>
423 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
424 memory-management error that caused crashes on x86_64.
427 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
429 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
431 2006-03-27 Bill Haneman <bill.haneman@sun.com>
433 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
434 to strip "cspi_*" from the symbol table.
436 * cspi/spi_streamablecontent.c:
437 (get_streams): Make this method static.
440 (_cspi_exception_throw): rename to cspi_exception_throw,
441 so we can strip it with the rest...
444 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
446 2006-03-27 Bill Haneman <bill.haneman@sun.com>
448 Add doxygen-generated IDL docs to tarball, and enable
449 doxygen during build/install when available. Bug #301345.
451 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
453 * docs/reference/Makefile.am: Add idl to SUBDIRS.
455 * docs/reference/idl/Makefile.am: Optionally use
456 doxygen to create docs.
458 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
460 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
462 2006-03-20 Bill Haneman <bill.haneman@sun.com>
465 (impl_get_selected_rows): Don't free the selection if it's
466 empty or has not been assigned; init it to NULL so you can tell.
467 Also, allow for zero selected rows.
468 (impl_getSelectedColumns): Ditto. Bug #319088.
470 2006-03-11 Vincent Untz <vuntz@gnome.org>
472 Leak fix for bug #334217.
474 * libspi/application.c: spi_application_toolkit_event_listener():
475 don't duplicate the string we pass as an argument to
476 spi_init_any_nil() since spi_init_any_nil() already does it
477 * registryd/deviceeventcontroller.c:
478 (spi_dec_button_update_and_emit): ditto
479 (spi_dec_mouse_check): ditto
480 (spi_dec_emit_modifier_event): ditto
481 (spi_device_event_controller_forward_mouse): ditto
482 * registryd/registry.c:
483 (desktop_add_application): ditto
484 (desktop_remove_application): ditto
486 2006-02-20 Bill Haneman <billh@gnome.org>
488 * configure.in: Rev to 1.7.6.
490 Leak fixes for bug #331924.
492 * atk-bridge/bridge.c:
493 (spi_atk_bridge_init_base): Don't dup the string, it's already
494 been dup-ed. Fixes a leak.
495 (spi_atk_emit_eventv): Move the CORBA_free call here,
496 instead of spi_atk_state_event_listener; fixes another leak.
497 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
498 notifying the registry; fixes another leak.
500 * registryd/registry.c:
501 (registry_flush_event_queue): Free the CORBA_any when
502 flushing the event, not just the string. Fixes another leak.
503 (registry_queue_event): Free the CORBA_any when dropping
504 events on the floor; fixes another leak.
507 (spi_init_any_object, spi_init_any_nil):
508 Always set _release to TRUE. Fixes another leak.
510 2006-02-20 Bill Haneman <billh@gnome.org>
512 * configure.in: Rev to 1.7.5.
513 Reinstate localization of this module. Thanks for Rodney
514 Dawes for fixing my patch.
516 * registryd/Makefile.am: Remove Accessibility_Registry.server
517 from dist, since it needs to be re-created at configure time.
520 2006-01-31 Bill Haneman <billh@gnome.org>
522 * configure.in: Rev to 1.7.4 (to include build fix below).
524 * idl/Makefile.am: Include Selector.idl in dist.
528 (cspi_internal_event_get_object): Handle case where
529 "object" isn't present, i.e. CORBA_TC_Object doesn't match
530 the EventDetails data.
531 (cspi_internal_event_get_text): Handle NULL string.
532 (cspi_internal_event_get_rect): Handle missing/empty rect
533 data, Accessibility_TC_RectBounds doesn't match any_data.
535 2006-01-30 Bill Haneman <billh@gnome.org>
539 * atk-bridge/bridge.c:
540 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
541 interface and use that when instantiating a new source
542 accessible. Better fix for bug #321814.
544 2006-01-27 Bill Haneman <billh@gnome.org>
546 * idl/Accessibility_Selector.idl: Added to the cvs repository.
548 * configure.in: Revved to 1.7.3.
550 2006-01-17 Bill Haneman <billh@gnome.org>
552 * configure.in: Revved to 1.7.2, re-dist to include docs.
554 2006-01-09 Bill Haneman <billh@gnome.org>
556 * configure.in: Removed po/Makefile.in inclusion, we do not need
559 * idl/Accessibility.idl: Improved documentation here, and for all
560 IDL in the 'GNOME::Accessibility' namespace.
562 * idl/Accessibility_Accessible.idl:
563 (LOCALE_TYPE): Added enum.
564 (AttributeSet): New, for returning multiple name/value attribute pairs.
565 (RoleSet): New, sequence of Roles, to be used in upcoming
567 (getAttributes): New API, allows retrieval of name/value pair
568 annotations for all kinds of Accessible objects. C.f.
569 Text:getAttributes, which is only for typographic/textual/semantic tags in
571 (getApplication): New, retrieves the host/containing Application
572 instance for an object (without having to walk up the whole tree).
574 * idl/Accessibility_Component.idl:
575 (getAlpha): New method, returns the alpha blending (aka 'opacity')
576 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
579 * idl/Accessibility_Event.idl:
580 (EventDetails): New struct definition, for encapsulating
581 commonly-queried information about emitted events. The use of
582 this structure in emitted events (in the 'any' member of
583 Accessibility_Event) should greatly reduce the number of
584 client-server roundtrips necessary.
586 * idl/Accessibility_Image.idl:
587 (imageLocale): New, a readonly attribute indicating the POSIX
588 LC_MESSAGES locale of the image and associated Alt/descriptive
591 * idl/Accessibility_Relation.idl:
592 (RELATION_PARENT_WINDOW_OF): Include, as complement to
595 * idl/Accessibility_Role.idl:
596 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
597 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
598 complex document and form support.
600 * idl/Accessibility_State.idl:
601 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
602 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
603 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
604 for support of complex documents and forms.
606 * idl/Accessibility_StreamableContent.idl:
607 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
608 allow old bonobo-stream interfaces to be deprecated in the next
611 * idl/Accessibility_Text.idl:
612 (getAttributeValue): New method, allows query-by-name of single
615 * libspi/accessible.c:
616 Added support for new roles. Implemented new methods
617 (impl_accessibility_accessible_get_application): New
618 (impl_accessibility_accessible_get_attributes): New
620 * libspi/component.c:
621 (impl_accessibility_component_get_alpha): New.
624 (impl_accessibility_image_get_locale): New.
626 * libspi/relation.c: Added support for new relation type.
628 * libspi/stateset.c: Added support for new state types.
631 (impl_getAttributeValue): New.
634 New prototypes for private methods
636 spi_init_any_object, spi_init_any_string,
639 * libspi/spi_event.c:
640 Use EventDetails in the event emission methods.
642 * cspi/spi-private.h:
643 (cspi_role_from_spi_role): Expose this adapter method, since
644 we need it in the bridge (see below).
647 (AccessibleEvent_getSourceName):
648 (AccessibleEvent_getSourceRole):
649 (AccessibleEvent_getSourceApplication):
650 (AccessibleEvent_getSourceDetails):
651 New methods for interrogating/demarshalling
652 event details (i.e. source's accessible name, role,
655 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
656 Make use of the new EventDetails struct in events, if present.
657 (AccessibleEvent_getSourceName)
658 (AccessibleEvent_getSourceRole)
659 (AccessibleEvent_getSourceApplication)
660 (AccessibleEvent_getSourceDetails): Implement the newly exposed
662 (Accessible_getAttributes): New, wraps
663 Accessibility_Accessible_getAttributes.
664 (Accessible_getHostApplication): New, wraps
665 Accessibility_Accessible_getApplication.
668 (AccessibleImage_getImageLocale): New wrapper for
669 Accessibility_Image_get_imageLocale.
671 * cspi/spi_component.c:
672 (AccessibleComponent_getAlpha): New wrapper for
673 Accessibility_Component_getAlpha.
675 * atk-bridge/bridge.c:
676 Use new prototyped for init_any methods.
677 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
678 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
679 (spi_atk_bridge_init_base): Wrappers
680 for spi_init_any_* methods, due to refactor; include extended
681 information in the Accessibility_EventDetails struct, for instance
682 accessible-name, Role, and containing Application.
684 * registryd/registry.c:
685 Use new event emission (with EventDetails).
687 * registryd/deviceeventcontroller.c:
688 Use new event emission (with EventDetails).
690 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
692 * configure.in: Generate po/Makefile.in
693 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
694 * cspi/spi_streamablecontent.c:
695 (accessible_bonobo_stream_client_seek),
696 (AccessibleStreamableContent_seek): Remove unused vars.
697 * libspi/application.c: Missing header.
698 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
699 * login-helper/login-helper.c: (login_helper_finalize),
700 (login_helper_init): Remove unused stuff
701 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
702 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
703 and surround some with #ifdef GRAB_BUTTON.
704 * test/event-listener-test.c: (main), (report_event),
705 (report_caret_event), (report_detail_event),
706 (report_detail1_event), (report_bounds_event), (report_text_event),
707 (report_text_selection_event),
708 (report_active_descendant_changed_event),
709 (report_children_changed_event), (report_name_changed_event),
710 (report_description_changed_event), (report_parent_changed_event),
711 (report_window_event), (report_table_summary_event),
712 (report_table_header_event), (report_table_caption_event),
713 (report_table_row_description_event),
714 (report_table_column_description_event), (timing_test_event):
715 Remove a bunch of unused variables and fix a slew of format specifiers
716 * test/key-listener-test.c: (report_all_key_event): Format specifier
717 * test/keypad-test.c: (print_key_event): Same
718 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
720 * test/screen-review-test.c: (main), (print_chunk_debug),
721 (review_buffer_get_text_chunk), (debug_chunk_list),
722 (string_guess_clip), (text_chunk_get_clipped_string),
723 (text_chunk_list_to_string), (get_screen_review_line_at):
724 Remove unused variables and fix format specifiers.
725 * test/simple-at.c: (report_text_event): Format specifier fix.
726 * test/stress-test.c: (main): Remove unused var.
728 2005-12-29 Abel Cheung <maddog@linuxhall.org>
730 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
731 (yes I know that's useless)
733 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
735 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
737 2005-11-17 Michael Meeks <michael.meeks@novell.com>
739 * atk-bridge/bridge.c (spi_atk_emit_eventv):
740 urgh-fix embarassing typo.
742 2005-11-16 Michael Meeks <michael.meeks@novell.com>
744 * atk-bridge/bridge.c (spi_atk_emit_eventv):
745 do a faster, less problematic _unref call on this local
746 object, rather than a slower (potentially cross-thread
747 complicated) CORBA call.
749 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
751 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
752 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
753 * registryd/deviceeventcontroller.c:
754 (spi_controller_notify_mouselisteners),
755 (impl_generate_keyboard_event):
756 * test/screen-review-test.c: (chunk_bounds_within):
757 * test/test-simple.c: (test_desktop): Remove some unused code
758 and fix compiler warnings. Closes bug #320049.
760 2005-10-27 Bill Haneman <bill.haneman@sun.com>
762 * registryd/deviceeventcontroller.c:
763 (spi_controller_notify_keylisteners): Check
764 to make sure the event listener has requested 'preemptive'
765 status before pre-empting an event.
767 2005-08-29 Bill Haneman <bill.haneman@sun.com>
769 * configure.in, README, NEWS: Release 1.6.5.
771 2005-07-25 Matthias Clasen <mclasen@redhat.com>
773 * test/window-listener-test.c: Fix a printf
774 format error. (#169453)
776 2005-07-15 Bill Haneman <bill.haneman@sun.com>
778 * tests/test-simple.c:
779 (key_listener_cb): Ensure that the keystring is dup'ed instead of
780 relying on the old string from the key event hanging around after
781 the event handler returns. Fixes broken 'make check'.
783 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
785 * Added Marathi (mr_IN) translations.
787 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
789 * cspi/bonobo/cspi-bonobo-listener.c:
790 (cspi_event_list_remove_by_cb): Fix the build.
792 2005-05-26 Michael Meeks <michael.meeks@novell.com>
794 * cspi/bonobo/cspi-bonobo-listener.c
795 (cspi_event_list_remove_by_cb): actually filter by callback.
797 2005-05-25 Bill Haneman <bill.haneman@sun.com>
799 * registryd/registry.c (remove_listener_cb):
800 Make deregistration filter rules match the event emission rules.
802 2005-05-25 Michael Meeks <michael.meeks@novell.com>
804 * registryd/registry.c (remove_listener_cb),
805 (impl_accessibility_registry_deregister_global_event_listener),
806 (impl_accessibility_registry_deregister_global_event_listener_all):
807 pass a closure to the remove callback to filter listeners more
808 accurately on remove.
810 2005-04-05 Bill Haneman <bill.haneman@sun.com>
812 * configure.in: Revved to 1.6.4.
813 Remember to put quotes around XEVIE_LIBS assignment.
814 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
817 * tests/event-listener-test.c: Tweaked the tests - more detail
818 from caret events, and some interrogation of AccessibleText APIs.
819 Commented-out the bounds-changed events by default, since they can
822 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
824 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
825 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
826 Same here. Closes bug #167806
828 2005-04-05 Bill Haneman <bill.haneman@sun.com>
830 * atk-bridge/bridge.c:
831 (spi_atk_bridge_signal_listener):
832 Free the any._value if any._release is TRUE,
833 since the ORB won't do it for us in this case
834 [because this method is not a skel].
837 2005-03-30 Steve Murphy <murf@e-tools.com>
839 * configure.in: Added "rw" to ALL_LINGUAS.
841 2005-03-29 Bill Haneman <bill.haneman@sun.com>
843 * configure.in: Improved check for HAVE_XEVIE, to detect
844 presence on XOrg, where -lXevie is a separate library.
846 2005-03-08 Bill Haneman <bill.haneman@sun.com>
848 * configure.in, NEWS, README: Revved to 1.6.3.
850 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
852 * configure.in: Added "xh" to ALL_LINGUAS.
854 2005-02-07 Bill Haneman <bill.haneman@sun.com>
856 * atk-bridge/bridge.c:
857 (atk_bridge_init): Added missing NULL in g_strconcat(),
858 also check for symlink before logging to
859 insecure directory. Thanks to meissner@suse.de.
861 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
863 * tests/login-helper-server-test.c: Add return call to main
864 function. Patch from Chris Lahey. Fixes bug #165129.
866 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
868 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
870 2004-12-09 Bill Haneman <billh@gnome.org>
872 * registryd/registry-main.c:
873 Added #define <string.h> for strrchr. (bug 160862).
874 Thanks to Vincent Berger for catching.
876 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
878 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
879 restart registry process if the registry process is found to have died
880 and the current process is exiting.
881 (spi_atk_bridge_exit_func): Do not attempt to deregister the
882 application if the registry process has died.
883 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
884 does not return a registry object.
885 (spi_atk_tidy_windows): Give up if the registry process has died.
887 This fixes problems with hangs and crashes when logging out.
889 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
891 * registryd/desktop.c: Add checking that we are not exiting before
892 calling spi_desktop_remove_application in
893 abnormal_application_termination. Fix for bug #152147.
895 2004-12-02 Bill Haneman <billh@gnome.org>
897 * configure.in, NEWS, README: Revved to 1.6.1.
899 Patch from Padraig O'Briain <padraig.obriain@sun.com>
900 * atk-bridge/bridge.c:
901 (atk_bridge_init): Save the pid when we start, to detect forks.
902 (spi_atk_bridge_exit_func): Don't call the cleanup routines
903 if we're in a forked pid.
905 2004-10-09 Bill Haneman <billh@gnome.org>
907 * idl/Accessibility_LoginHelper.idl:
908 Improved inline documentation.
910 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
912 * configure.in: Added gl (Galician) to ALL_LINGUAS
914 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
916 * libspi/accessible.c:
917 (impl_accessibility_accessible_get_role_name),
918 (impl_accessibility_accessible_get_local_role_name):
920 * libspi/component.c:
921 (impl_accessibility_component_get_accessible_at_point):
923 * libspi/eventlistener.c: (spi_event_listener_new):
925 * libspi/stateset.c: (impl_compare): More of the same
926 * libspi/table.c: (impl_getRowDescription): Again.
927 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
928 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
929 (impl_generate_keyboard_event): Same.
930 * registryd/registry-main.c: (main): Same
931 * test/event-listener-test.c: (test_exit): Same
932 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
933 * test/keysynth-test.c: (test_key_synthesis): Same
934 * test/login-helper-server-test.c: (main): Fix warning.
935 * test/screen-review-test.c: (test_exit): Fix include.
936 * test/simple-at.c: (simple_at_exit), (_festival_init):
939 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
941 * configure.in, NEWS, README: Revved to 1.6.0.
943 2004-09-12 Bill Haneman <bill.haneman@sun.com>
945 * configure.in: Rev and re-dist, since the 1.5.4 tarball
946 was missing the HTML docs.
948 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
950 * configure.in: only cleanups:
951 - better looking PKG_CHECK_MODULES() output,
953 - declare in one common place required versions of other tools using
956 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
958 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
959 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
960 required ATK version accordingly.
962 2004-09-03 Bill Haneman <bill.haneman@sun.com>
964 * cspi/bonobo/cspi-bonobo.c:
965 (cspi_display_name): Fix C99ism.
966 * atk-bridge/bridge.c:
967 (spi_display_name): Fix C99ism.
968 Patch from Jens Granseuer, jensgr@gmx.net.
970 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
972 * configure.in: Added "or" to ALL_LINGUAS.
974 2004-08-20 Bill Haneman <bill.haneman@sun.com>
976 * configure.in, NEWS, README: Revved to 1.5.4.
978 * registryd/registry-main.c:
979 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
982 * cspi/bonobo/cspi-bonobo.c:
983 (cspi_display_name): New convenience method, gets DISPLAY with
984 screen number stripped, if AT_SPI_DISPLAY isn't already set.
985 (cspi_init): Set the activation env value above before getting
988 * atk-bridge/bridge.c:
989 (spi_display_name): Create the AT_SPI_DISPLAY activation
990 environment for an app, based on the DISPLAY environment with the
991 screen number stripped off.
992 (atk_bridge_init): Allow redirection of error messages to a log.
993 (spi_atk_bridge_get_registry): Call
994 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
996 Fixes for bugs #149962, #136986, #144086.
998 2004-08-16 Christian Rose <menthos@menthos.com>
1000 * configure.in: Added "bs" to ALL_LINGUAS.
1002 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1004 * configure.in: Added nb to ALL_LINGUAS.
1006 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1009 (SPI_init): Return error code '2' if the activated
1010 registry cannot be pinged. Fixes bug #147648.
1012 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1014 * registryd/deviceeventcontroller.c:
1015 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1016 rely on timer-poll instead, to avoid conflict with
1019 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1021 * configure.in: Revved to 1.5.3.
1023 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1025 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1027 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1029 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1031 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1033 * atk-bridge/bridge.c:
1034 (spi_atk_bridge_do_registration):
1035 Register with ATK for AtkComponent:bounds-changed events.
1036 (api_atk_bridge_signal_listener):
1037 Marshal the AtkRectangle info into the event notification
1038 for object:bounds-changed events.
1041 (spi_init_any_rect): New method, inits a corba struct of
1042 type Accessibility_BoundingBox from an AtkRectangle.
1044 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1047 (SPIRect): New struct definition.
1048 (SPI_freeRect): New declaration.
1049 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1052 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1053 implemented. Gets the bounding box data from the CORBA_any
1054 associated with a bounds-changed event notification.
1055 (cspi_internal_event_get_rect): New, used internally by above method.
1058 (SPI_freeRect): Implemented this new method, for freeing
1061 * test/event-listener-test.c:
1062 (main, report_bounds_event):
1063 Added a test for object:bounds-changed events.
1065 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1067 * test/login-helper-server-test.c:
1068 (main): Fix C99-ism. Thanks to Jens Granseuer.
1070 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1072 * libloginhelper-1.0.pc.in:
1073 * idl/Accessibility_LoginHelper.idl:
1074 * login-helper/Makefile.am:
1075 * login-helper/login-helper.[ch]:
1076 * test/login-helper-client-test.c:
1077 * test/login-helper-server-test.c: Added files missing from CVS.
1078 Files obtained from at-spi-1.5.2 tarball.
1080 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1082 * configure.in: Create login-helper/Makefile.
1083 Incremented micro version.
1085 * Makefile.am: Add login-helper subdir and pkgconfig data.
1087 * login-helper: New subdir.
1089 * libloginhelper-1.0.pc.in: New.
1091 * idl/Accessibility_LoginHelper.idl: New file, defines
1092 interface whereby authentication clients can identify agents which
1093 need access to services during the login process, e.g. screen lock
1096 * login-helper/Makefile.am : New.
1098 * login-helper/login-helper.[ch] : New, implementation of
1099 a LoginHelper base class. Services needing LoginHelper can subclass.
1101 * test/Makefile.am : Added test for login-helper, client and
1104 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1105 Use proper prefix in #include files.
1107 * test/login-helper-client-test.c: New.
1109 * test/login-helper-server-test.c: New.
1111 2004-05-27 Alexander Shopov <ash@contact.bg>
1113 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1115 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1117 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1118 is positive. This should make it easier to detect inapprorpiate unref
1121 2004-05-11 James Henstridge <james@daa.com.au>
1123 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1124 no-op and deprecated.
1126 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1128 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1130 2004-04-28 Bill Haneman <billh@gnome.org>
1132 * Makefile.am: Added --enable-gtk-doc to
1133 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1135 2004-04-19 Bill Haneman <billh@gnome.org>
1137 * configure.in: Revved to 1.5.1.
1139 * registryd/deviceeventcontroller.c:
1141 (DEControllerPrivateData): Added fields for
1142 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1143 (spi_dec_replace_map_keysym): New internal utility for
1144 replacing a keysym in the keymap - used to allow
1145 synthesis of individual characters which aren't in the
1147 (spi_dec_reset_reserved): New; resets the changed keysym value
1149 (keycode_for_keysym): We now try to deal with failed
1150 XKeysymToKeycode requests by changing a keymap value
1151 and returning a reserved keycode. We now take
1152 a DEController pointer as first arg.
1153 (spi_controller_register_with_devices): Call XkbGetMap with
1154 the XkbKeySymsMask. Find the highest keycode in the current
1155 keymap which doesn't have any grabs, and mark that one for
1156 temporary re-mapping when out-of-range KeySyms are synthesized.
1157 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1160 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1162 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1164 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1166 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1168 2004-03-24 Bill Haneman <billh@gnome.org>
1171 (AccessibleTable_addRowSelection),
1172 (AccessibleTable_addColumnSelection),
1173 (AccessibleTable_removeRowSelection),
1174 (AccessibleTable_removeColumnSelection):
1175 Add declarations for spi wrappers which were
1176 inadvertantly omitted. Fixes bug #133413.
1179 Revved to 1.5.0 (unstable series for GNOME 2.7).
1181 2004-03-24 Bill Haneman <billh@gnome.org>
1183 * atk-bridge/bridge.c:
1184 Bracketed some debug output in
1185 conditionals, to avoid printing it in normal use.
1188 * libspi/hyperlink.c:
1189 Don't cast 'object' to ATK_OBJECT when constructing
1190 an AtkAction interface for a hyperlink.
1191 See discussion in bug #120659.
1193 * test/key-listener-test.c:
1194 (report_all_key_event): Send output to stderr,
1195 not stdout, for consistency with the rest of the test callbacks.
1198 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1199 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1200 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1201 try incrementing the revision AFTER doing a dist, at least
1204 2004-03-22 Bill Haneman <billh@gnome.org>
1206 * configure.in: Revved to 1.4.0, libtool 9.14.9
1208 2004-03-17 Laszlo Peter <laca@sun.com>
1210 * libspi-1.0-uninstalled.pc.in: add idldir
1212 * cspi-1.0-uninstalled.pc.in: add idldir
1214 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1216 * configure.in: Added "en_GB" to ALL_LINGUAS
1218 2004-03-15 Bill Haneman <billh@gnome.org>
1220 * configure.in: Revved to 1.3.16,
1223 2004-03-15 Laszlo Peter <laca@sun.com>
1225 * libspi-1.0-uninstalled.pc.in: new file
1227 * cspi-1.0-uninstalled.pc.in: new file
1229 * configure.in: add the new pc files to AC_OUTPUT
1231 * Makefile.am: add the new pc files to EXTRA_DIST
1233 2004-03-12 Bill Haneman <billh@gnome.org>
1235 * atk-bridge/bridge.c:
1236 (spi_atk_bridge_key_listener):
1237 Make sure to return consumed=FALSE if snoop
1238 event is not dispatched to listener.
1241 2004-03-01 Bill Haneman <billh@gnome.org>
1243 * configure.in: Revved to 1.3.15,
1246 2004-03-07 Danilo Segan <dsegan@gmx.net>
1248 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1250 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1252 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1254 2004-03-01 Bill Haneman <billh@gnome.org>
1256 * configure.in: Revved to 1.3.14.
1259 (SPI_exit): Removed "bye-bye" exit message.
1260 Moved "leak" report to happen before the
1261 iteration over the leaked refs list.
1262 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1264 2004-02-24 Bill Haneman <billh@gnome.org>
1266 * configure.in: Revved to 1.3.13.
1268 * docs/reference/cspi/Makefile.am:
1269 Correct typo that was breaking the docs build.
1271 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1273 * autogen.sh: Require version 1.7 of automake.
1275 * configure.in: call GTK_DOC_CHECK([1.0])
1277 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1279 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1281 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1283 * test/Makefile.am: Remove use of CFLAGS.
1285 This fixes bug #132987.
1287 2004-02-11 Bill Haneman <billh@gnome.org>
1289 * reverted most of Tomasz' patch below, since it was breaking
1290 builds (see bug #134058).
1292 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1294 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1295 correct pass "make dist" (empty .. because seems no sach types in
1296 header files with gtk-doc markups).
1297 * docs/reference/cspi/Makefile.am, configure.in:
1298 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1299 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1300 * Makefile.am: added:
1301 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1302 for force correct pass generate documentation on "make distcheck".
1303 * libspi/Makefile.am: fixes for automake >= 1.6.
1304 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1305 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1308 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1310 * docs/reference/cspi/Makefile.am (install-data-local): Install
1311 index.sgml since the doc autobuilder on widget.gnome.org looks for
1314 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1316 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1319 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1321 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1323 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1325 * test/simple-at.c: Fixed null string problems that cause core
1326 dumping problems on Solaris.
1328 2004-01-12 Bill Haneman <billh@gnome.org>
1330 * configure.in: Incremented version to 1.3.11.
1332 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1334 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1335 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1338 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1340 * configure.in: Added "fa" to ALL_LINGUAS.
1342 2003-12-20 Arafat Medini <lumina@silverpen.de>
1344 * configure.in: Added "ar" to ALL_LINGUAS
1346 2003-12-16 Bill Haneman <billh@gnome.org>
1348 * registryd/registry-main.c:
1350 Set the reg_env DISPLAY variable before registering the
1351 activated registry service. Fixes bug #129479.
1353 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1355 * configure.in: Added "id" in ALL_LINGUAS
1356 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1358 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1360 * registryd/deviceeventcontroller.c (global_filter_fn):
1361 When an event is consumed discard any XEvents were added to
1362 the queue while dealing with the the event. This can happen if
1363 processing of the event takes a long time. Call XUngrabKeyboard
1364 if an event was discarded. This fixes bug $124837.
1365 Only call wait_for_release_event for a KeyPress.
1366 Use local variable display instead of spi_get_display().
1367 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1370 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1372 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1373 Allow for mask to contain values other than NumLock mask.
1376 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1378 * registryd/devieceventcontroller.c:
1379 (wait_for_release_event): Change first parameter from GdkEvent to
1381 (global_filter_fn); Correct call to wait_for_release_event.
1385 2003-12-08 Bill Haneman <billh@gnome.org>
1389 * registryd/ucs2keysym.c: New file.
1391 * registryd/deviceeventcontroller.c:
1392 (dec_keysym_for_unichar): Remove old partial implementation and
1393 replace with call to ucs2keysym(), which is much more complete.
1394 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1399 2003-12-05 Bill Haneman <billh@gnome.org>
1401 * configure.in: Version 1.3.9.
1403 * docs/reference/cspi/tmpl/spi_registry.sgml:
1404 Added reference to libspi/keymasks.h to the
1405 description of Registry queries: AccessibleKeyMaskType.
1408 2003-12-04 Bill Haneman <billh@gnome.org>
1410 Fix for bug #121974.
1412 * idl/Accessibility_Application.idl:
1413 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1414 setlocale's LC_TYPEs.
1415 (Accessibility::Application::getLocale): New method.
1416 Allows clients to query the locale, by type, of an app.
1419 * cspi/spi_application.c:
1420 (AccessibleApplication_getLocale): New method, wraps IDL above.
1422 * libspi/application.c:
1423 (spi_application_class_init): Init epv entry for getLocale.
1424 (impl_accessibility_application_get_locale): Impl for above.
1426 * test/test-simple.c:
1427 (test_application): Added assertion for getLocale, i.e.
1428 that the string from AccessibleApplication_getLocale (app, type)
1429 is the same as that from setlocale (type, NULL);
1431 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1433 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1434 the keyboard on a timeout intil the key state goes from pressed to
1435 released. Fixes bug #111429.
1437 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1439 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1440 root object so that it is present when a context menu in an
1441 out-of-process applet is popped up.
1442 (spi_atk_bridge_do_registration): Create acceessible application root
1443 object only if it does not exist.
1445 This fixes bug #125834.
1447 2003-12-01 Bill Haneman <billh@gnome.org>
1449 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1452 Added enum for AccessibleStreamableContentSeekType.
1453 (AccessibleStreamableContent_freeContentTypeList): New.
1455 * cspi/spi_streamablecontent.c:
1456 (accessible_bonobo_stream_client_seek): New private method.
1457 (AccessibleStreamableContent_seek): Implemented this method,
1458 using Bonobo_Stream_seek.
1459 (AccessibleStreamableContent_freeContentTypeList): New method
1460 for freeing the return value from
1461 AccessibleStreamableContent_getContentTypes.
1462 (stream_cache_item_free): Replaces stream_release; stop leaks.
1463 (stream_release): removed.
1464 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1465 free the memory properly.
1467 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1469 Fix for bug #116009.
1471 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1473 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1475 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1477 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1479 2003-12-01 Bill Haneman <billh@gnome.org>
1481 Fix for bug/rfe #127463.
1483 * idl/Accessibility_Accessible.idl:
1484 (getLocalizedRoleName): New.
1485 (unimplemented4): Removed (replaced by above).
1487 * libspi/accessible.c:
1488 (impl_accessibility_accessible_get_local_role_name): New.
1489 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1493 (Accessible_getLocalizedRoleName): New.
1495 * cspi/spi_accessible.c:
1496 (Accessible_getLocalizedRoleName): New.
1498 2003-12-01 Bill Haneman <billh@gnome.org>
1500 Fix for bug #118581.
1501 * idl/Accessibility_Text.idl:
1502 (getDefaultAttributes): New.
1503 (unimplemented4): Removed (replaced by above method).
1506 (impl_getDefaultAttributes): New method.
1507 (spi_text_class_init):
1508 initialize the get_default_attributes slot in the epv.
1511 (AccessibleText_getDefaultAttributes): New prototype.
1514 (AccessibleText_getDefaultAttributes): New method.
1516 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1518 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1519 write beyond the end of the table. Fixes bug #120473.
1521 2003-09-30 Christian Rose <menthos@menthos.com>
1523 * configure.in: Added "eu" to ALL_LINGUAS.
1525 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1527 * configure.in: ALL_LINGUAS: Added no.
1529 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1531 * configure.in: Added lt to ALL_LINGUAS.
1533 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1535 * atk-bridge/bridge.c:
1536 (atk_bridge_init): Register event listeners always even for
1537 out-of-process applet.
1538 (spi_atk_bridge_toplevel_added): Remove call to
1539 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1540 (spi_atk_bridge_toplevelk_removed): Remove call to
1541 spi_atk_deregister_event_listenersa as the listeners are now always
1543 (spi_atk_bridge_register_application): Remove call to
1544 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1546 This fixes bug #120991.
1548 * libspi/table.c (impl_getColumnDescription): Correct typo,
1549 pointed out by Bolian.Yin@sun.com.
1551 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1553 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1555 2003-09-08 Bill Haneman <billh@gnome.org>
1557 * configure.in: Revved to 1.3.7.
1559 This is the GNOME 2.4.0 release of at-spi.
1561 * docs/reference/cspi/Makefile.am:
1562 Removed spurious inclusion of 'index.sgml' in the
1563 html directory; this was breaking make distcheck and
1564 also some other build environments.
1566 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1568 * registryd/registry.[ch}:
1569 Add queue_handler_id and focus_object to SpiRegistry data structure.
1570 (registry_flush_event_queue): If event being discarded is
1571 "state-change:focused" store object as focus_object.
1572 (registry_start_queue): Remove queue handler and focus object
1574 (registry_discard_event): New function which discards a focus event
1575 if we had stored focus object in the registry.
1576 (registry_queue_event): Add new check that is_queueing is set as this
1577 function is reentrant.
1578 (registry_filer_event): Add call to registry_discard_event.
1580 This resolves issues raised in bug #108664.
1582 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1584 * configure.in: Added "bn" to ALL_LINGUAS.
1586 2003-09-04 Bill Haneman <billh@gnome.org>
1588 * cspi/spi_event.c: Documentation improvements for
1589 (SPI_registerAccessibleKeylistener).
1591 * docs/reference/tmpl/spi_registry.sgml:
1592 Documentation improvements for SpiAccessibleKeylistenerCB.
1594 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1596 * configure.in: Added "ro" to ALL_LINGUAS.
1599 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1601 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1602 not decremented to zero. Fixes bug #120725.
1604 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1606 * configure.in: Added "ja" to ALL_LINGUAS.
1608 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1610 * configure.in: Added "is" to ALL_LINGUAS.
1612 2003-08-22 Christian Rose <menthos@menthos.com>
1614 * configure.in: Added "nl" to ALL_LINGUAS.
1616 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1618 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1619 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1621 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1623 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1624 type for unspecified exception.
1625 * cspi_streamablecontect): Add include of string.h for memcpy.
1626 (stream_release): Correct call to bonobo_object_release_unref
1627 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1628 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1629 argument of _cspi_expection_throw.
1630 * libspi/hyperlink.c: Add include of libspi/action.h:
1631 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1632 * libspi/streamablecontent.c: add include of libspi/component.h.
1633 * regisrtyd/deviceeventcontroller.c:
1634 (spi_dec_translate_mask): Removed unused variable priv.
1635 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1636 * registryd/registry.c:
1637 (registry_filter_event): Remove unused variable queue_is-empty.
1638 (impl_registry_notify_event): Use correct modifier in fprintf call.
1640 This fixes compiler warnings reported in bug #120220.
1642 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1644 * registryd/registryd.c: Remove this file.
1646 2003-08-17 Sanlig Badral <badral@openmn.org>
1648 * configure.in: Added mn to ALL_LINGUAS.
1650 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1652 * configure.in: Added et to ALL_LINGUAS.
1654 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1656 * test/event-listener-test.c: Change active-descendant to
1657 active-descendant-changed.
1659 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1661 * configure.in: Added "fi" in ALL_LINGUAS.
1663 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1665 * configure.in: Added "hi" in ALL_LINGUAS.
1667 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1669 * configure.in: Revved to 1.3.6.
1673 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1675 * registryd/deviceeventcontroller.c
1676 (spi_device_event_controller_object_finalize): Fix typo in previous
1679 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1681 * registryd/deviceeventcontroller.c
1682 (spi_device_event_controller_object_finalize): Fix build on
1683 systems without XEvIE.
1685 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1687 * acconfig.h, configure.in, registryd/Makefile.am,
1688 registryd/devicecontoller.[ch]: Add XEViE support.
1690 2003-08-06 Wang Jian <lark@linux.net.cn>
1692 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1694 2003-08-06 Metin Amiroff<metin@karegen.com>
1696 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1698 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1700 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1701 MODIFIER_ALT in correct place.
1703 This fixes part of bug #118114.
1705 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1707 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1709 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1711 * configure.in: Added "ko" to ALL_LINGUAS.
1713 2003-07-28 Ole Laursen <olau@hardworking.dk>
1715 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1717 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1719 * configure.in: Added "sq" to ALL_LINGUAS.
1721 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1723 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1725 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1727 * configure.in: updated ALL_LINGUAS list
1729 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1731 * configure.in: Added Belarusian to ALL_LINGUAS.
1733 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1735 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1737 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1738 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1740 This fixes bug #116949.
1742 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1744 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1745 Correct CSPI to SPI in function documentation.
1747 This fixes bug #118054.
1749 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1751 * configure.in: Added Russian to ALL_LINGUAS.
1753 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1755 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1757 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1759 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1761 2003-07-10 Joel Brich <joel.brich@laposte.net>
1763 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1765 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1767 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1769 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1771 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1772 resources allocated for AccessibleEvent. See cspi_event().
1774 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1775 static variable streams to NULL.
1777 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1778 Update so that AcessibleEvent_ref will work.
1780 This fixes bug #116624.
1782 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1784 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1786 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1788 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1790 2003-07-02 Christian Neumair <chris@gnome-de.org>
1792 * configure.in: Added "de" (German) to ALL_LINGUAS.
1794 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1796 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1798 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1800 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1802 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1804 * configure.in: Added "pl" to ALL_LINGUAS.
1806 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1808 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1810 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1813 (get_action_from_servant):
1814 Removed assertion that action is implemented on an AtkObject.
1816 * libspi/hyperlink.c:
1817 (spi_hyperlink_new):
1818 Aggregate AccessibleAction interface on the hyperlink object if
1819 the object implements AtkAction. (This convention is used in
1822 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1824 * configure.in: Revved to 1.3.5.
1826 * registryd/Accessibility_Registry.server.in.in:
1827 Marked up appropriate strings for translation.
1829 * atk-bridge/bridge.c: Marked a couple of
1830 user-visible warnings for translation. Questionable
1831 whether they are really useful, but possibly so.
1834 2003-06-28 Christian Rose <menthos@menthos.com>
1836 * configure.in: Added "sv" to ALL_LINGUAS.
1838 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1840 * registryd/registry.c:
1841 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1842 (registry_defer_on_event): Defer focus: events, this is an
1843 improvement to the patch for bug #108664.
1845 * TODO: Update with 2.4/"Dev Complete" items.
1847 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1849 * atk-bridge/bridge.c:
1850 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1851 looks up signals once.
1852 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1853 if doing registration.
1854 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1855 when doing registration.
1857 This fixes bug #115014.
1859 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1861 * atk-bridge/bridge.c:
1862 (atk_bridge_init): Add signal handler for children-changed:remove on
1863 root when in a BonoboComponent.
1864 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1865 for first toplevel only other incrememt variable toplevels.
1866 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1867 application and remove listeners.
1868 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1870 (spi_atk_deregister_event_listeners): New function which removes
1872 (reinit_register_vars): New fuction which reinitializes variables.
1874 This fixes bug #111578.
1876 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1878 * configure.in: version 1.3.4.
1880 * cspi/spi_accessible.c:
1881 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1884 2003-06-13 Michael Meeks <michael@ximian.com>
1886 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1888 * cspi/spi_main.c (cspi_peek_ev): impl.
1890 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1892 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1894 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1896 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1897 SPI_ROLE_AUTOCOMPLETE
1899 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1901 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1902 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1904 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1906 * libspi/streamablecontent.h:
1907 * libspi/streamablecontent.c:
1908 New files, provide implementation/wrappers for
1909 Accessibility_StreamableContent.
1911 * cspi/spi_streamablecontent.c:
1912 Connected the C wrappers to the libspi C bindings.
1913 (AccessibleStreamableContent_close): New method.
1916 (AccessibleStreamableContent_close): New method, needed
1917 since we have an "open, [seek], read, close" model in cspi.
1919 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1921 Fix for #108664; Padraig's revision of my original patch.
1923 * registryd/registry.h:
1924 Added event queue list, is_queuing, and exit_notify_timeout
1925 to the registry struct.
1927 * registryd/registry.c:
1928 (registry_init): Initialize new struct from registry.h.
1929 (impl_registry_notify_event):
1930 Filter events before notifying, in case some need to be
1932 (registry_filter_event): New,
1933 we defer certain incoming events (for instance
1934 window:deactivate) because we may wish to hide
1935 or reject them based on pending events. This is
1936 mostly a workaround for bug #108664.
1937 (registry_queue_event, registry_start_queue): New.
1938 (registry_defer_on_event): Test event to see if it
1940 (registry_reset_on_event): Returns TRUE if the
1941 event should cause a queue reset.
1942 (registry_discard_on_event): Returns TRUE if the event
1943 should cause the previous queue contents to be discarded.
1944 (registry_timeout_flush_queue): Flushes the pending event
1945 queue if no reset/discard-triggering events have come in
1946 within the timeout period.
1947 (registry_emit_event): New.
1948 (registry_clone_notify_context): New, used when queueing the
1949 event notify contexts.
1951 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1953 * configure.in: Version revved to 1.3.2, lt 0.9.2
1954 Incremented ATK required version to 1.3.4.
1956 * cspi/spi_registry.c:
1957 (SPI_generateKeyEvent):
1958 We now pass the keystring along if it's non-null.
1960 * registryd/deviceeventcontroller.c:
1961 (keysym_mod_mask): New method, returns modifier mask
1962 required to generate a keysym from a given keycode.
1963 (dec_synth_keysym): New method.
1964 (dec_synth_keystring): New method.
1965 (dec_get_modifier_state): New method.
1966 (dec_lock_modifiers): New
1967 (dec_unlock_modifiers): New.
1968 (dec_keysym_for_unichar): New, rather brute-force
1969 conversion from UCS-4 to X KeySyms. Only works for
1970 Latin at the moment, with partial implementations for
1971 Greek, Hebrew, and (incomplete) Katakana.
1972 (impl_generate_keyboard_event): Now implement
1973 "KEYSTRING" synthesis and implement "KEYSYM"
1975 (keycode_from_keysym): Improved, passes a returned
1976 modmask value now if the corresponding param is non-NULL.
1978 Fixes bugs #92143 and #109776.
1981 * test/keysynth-test.c:
1982 New test program for key synthesis, to confirm fixes for
1986 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1988 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1990 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1991 Add line for RELATION_POPUP_FOR
1993 * docs/reference/cspi/tmpl/spi_relation.sgml:
1994 Add relation SPI_RELATION_POPUP_FOR
1996 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1997 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1999 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2001 * libspi/relation.c (spi_init_relation_type_table):
2002 Add line for RELATION_POPUP_FOR
2004 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2006 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2007 there are still windows which have not been deleted and emit
2008 window:deactivate, if necessary and window:destroy events.
2009 This fixes bug #114370. The change on June 5th was not correct.
2011 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2013 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2016 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2018 New methods for client exception handling and interception.
2019 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2020 (SPI_exceptionHandlerPop): You guessed it...
2021 (SPI_getSourceType): Return the type of object which offended.
2022 (SPI_getExceptionCode): Return an enum code telling, possibly,
2023 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2024 (SPIAccessibleException_getSource): get the source object for
2025 exceptions that come from Accessibles, if SPIExceptionSourceType is
2026 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2027 (SPIException_getDescription): New, returns a string description of
2028 the problem. [Not yet a stable ABI, strings are not frozen]
2030 * cspi/spi-private.h:
2031 Added implementation details of opaque SPIException
2035 Implementations of above. Also
2036 (_cspi_exception_throw): new private method that
2037 dispatches exceptions to handlers, called from cspi-bonobo.c
2039 * cspi/bonobo/cspi-bonobo.c:
2040 (cspi_check_ev): call _cspi_exception_throw.
2041 Don't print a warning message if the exception has been
2042 handled by _cspi_exception_throw.
2044 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2046 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2047 there are still windows which have not been deleted and emit
2048 window:deactivate, if necessary and window:destroy events.
2049 This fixes bug #114370.
2051 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2054 (cspi_accessible_is_a): Make non-fatal
2055 if the object reference is dead.
2057 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2059 * cspi/spi_main.c: #include <stdio.h>
2060 * test/simple-at.c: ditto
2061 * test/event-listener-test.c: ditto
2062 * test/screen-review-test.c: ditto
2064 2003-05-30 Michael Meeks <michael@ximian.com>
2066 * test/test-simple.c (main): use CORBA_ORB_perform_work
2067 instead of an unnecessary linc_ call.
2069 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2071 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2072 Add SPI_STATE_INDETERMINATE.
2074 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2077 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2079 * libspi/stateset.c (init_state_type_tables): Add support for
2082 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2084 * configure: Update versions of atk and gail required.
2085 This fixes bug #113268.
2087 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2089 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2091 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2093 * libspi/Makefile.am:
2094 Ensure headers are generated before being used by c sources.
2096 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2099 Simplified lt versioning rules.
2100 Incremented version to 1.3.0, to indicate that we're on the
2101 unstable branch now.
2103 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2105 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2106 Add MKDB_OPTIONS=--outtput-format=xml
2108 * docs/reference/cspi/at-spi-cspi-docs.sgml
2109 docs/reference/idl/at-spi-idl-docs.sgml:
2110 Convert to Docbook XML.
2112 This fixes bug #111793.
2114 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2116 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2117 AcccessibleKeyEventType, AccessibleKeyMaskType.
2119 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2121 * cspi/state-types.h: Add documentation for AccessibleState.
2123 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2124 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2125 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2126 AccessibleComponentLayer.
2128 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2131 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2133 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2134 Accessible. Add description of AccessibleEvent,
2135 AccessibleEventListenerCB.
2137 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2140 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2141 documentation. Add description of AccessibleKeystrokeListenerCB,
2142 AccessibleKeyEventMask, AccessibleModifierMaskType,
2143 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2144 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2146 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2149 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2152 This fixes bug #104730.
2154 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2156 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2157 Set is_text field of Accessibility_DeviceEvent data structure.
2159 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2160 is-text field of AccessibleDeviceEvent data structure.
2162 This addresses part of bug #108666.
2164 * registryd/devcieeventcontroller.c: Unset debug option.
2166 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2168 * cspi/accessible.c:
2169 (cpi_initial_relation_type_table): New function which initializes
2170 mapping between Accessibility_RelationType and AccessibleRelationType.
2171 (cspi_relation_type_from_spi_relation_type): New function which
2172 translates an Accessibility_RelationType into an AccessibleRelationType.
2173 (AccessibleRelation_getRelationType): Use
2174 cpi_relation_type_get_spi_relation_type to return correct value.
2175 (spi_state_to_corba): Return correct type for default case.
2177 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2178 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2180 * cspi/cspi-bonobo-listener.c:
2181 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2184 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2185 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2186 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2187 libspi/image.c, libspi/listener.c, libspi/selection.c,
2188 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2189 registryd/desktop.c, registryd/registry.c:
2190 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2192 * libspi/eventlistener.c
2193 Remove semicolon after BONOBO_TYPE_FUNC.
2195 * libspi/relation.c:
2196 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2197 (spi_init_relation_type_table): Initialize using correct type.
2199 * registryd/desktop.c:
2200 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2201 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2202 of Accessibility_KeyEventType.
2204 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2207 * tests/simple-at.c, tests/screen-review-test.c:
2208 Add include for <strings.h>.
2210 * tests.stress-test.c:
2211 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2213 These changes fix compiler warnings when using FORTE compiler on
2214 Solaris; fixes bug #107479.
2217 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2220 * configure.in: revved to 1.1.10
2222 * libspi/keymasks.h:
2223 (SPI_KEYMASK_NUMLOCK): Added.
2225 * registryd/deviceeventcontroller.c:
2226 (spi_key_event_matches_listener): AND with a smaller
2227 bitmask (as we should).
2228 (spi_dec_translate_mask):
2229 New method, sets the virtual NumLock modifier bit
2230 if numlock is on. Eventually it can handle other virtual
2231 modifier bits if needed, or other marshalling from
2232 at-spi modifier masks to platform (X) masks.
2233 (spi_dec_key_listener_new):
2234 Call spi_dec_translate_mask to set up virtual mod bits
2235 in the 'mask' field when creating a new listener struct.
2236 (spi_dec_emit_modifier_event):
2237 Set the virtual (i.e. NumLock) bits before emitting event.
2238 (spi_controller_register_with_devices):
2239 Query for the NumLock modifier 'physical' bit if Xkb is
2240 present, for use in above methods.
2244 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2246 * registryd/deviceeventcontroller.c:
2247 (spi_keystroke_from_x_key_event):
2248 Instead of checking to see if the keysym is
2249 printable, check the string from XLookupString
2250 if available, get the first unicode character from it,
2251 and call g_unichar_isprint to determine whether the
2252 is_text flag should be TRUE or FALSE.
2256 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2258 * atk-bridge/bridge.c: Add support for extended events
2259 * cspi/spi_event.c: Add documentation and implementation for
2261 * tests/event-listener-test.c: Add tests for extended events.
2263 This fixes bugs #100424 and #100426.
2265 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2267 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2268 of LT_CURRENT. This fixes bug #89350.
2270 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2272 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2273 number of signal parameter values before accessing them. This fixes
2276 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2278 * configure.in: Fixed duplicate inclusion of -lspi.
2279 * branched for gnome-2-2/HEAD.
2280 [created tag "gnome-2-2"]
2282 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2284 * configure.in: 1.1.9 release.
2287 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2289 [needed by GOK, to fix bugs 107985 and 107988]
2290 * registryd/deviceeventcontroller.c:
2291 (spi_dec_clear_unlatch_pending):
2292 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2293 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2294 (spi_dec_init_mouse_listener):Emit warning if mouse button
2296 (spi_device_event_controller_forward_mouse_event):
2297 Removed unnecessary parens from a conditional.
2298 (global_filter_fn):Added TODO comment.
2299 (impl_generate_keyboard_event):
2300 Cancel a pending relatch if a 'delatching' key was
2303 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2305 * atk-bridge/bridge.c:
2306 Change atk_signal_child_changed to atk_signal_children_changed.
2307 Reorganize code in spi_atk_bridge_signal_listener().
2309 * test/event-listener-test.c:
2310 Add children_changed_listener and report_children_changed_event()
2311 to test AccessibleChildEvent_getChildAccessible.
2313 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2315 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2316 g_strdup to CORBA_String_dup (bug #105291)
2318 * test/event-listener-test.c (report_text_event): Add call to
2321 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2323 * registryd/deviceeventcontroller.c:
2324 (spi_keystroke_from_x_key_event):
2325 Fix string and keysym return codes to match modifier state.
2328 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2330 * registryd/deviceeventcontroller.c:
2331 (spi_keystroke_from_x_key_event):
2332 Fix segv due to improper use of isprint(c). [bug #107254]
2334 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2337 (get_accessible_text_boundary_type):
2338 Move default return value to (new) default case in switch.
2339 (get_accessible_text_clip_type):
2340 Move default return value to (new) default case in switch.
2342 * libspi/application.c:
2343 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2344 Remove unused methods.
2345 (impl_accessibility_application_register_object_event_listener):
2346 Remove unused methods.
2349 Added #include of <math.h>.
2351 * registryd/deviceeventcontroller.c:
2352 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2353 we don't currently use this method.
2354 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2356 (impl_generate_key_event):
2357 Remove unused variables.
2358 (impl_generate_mouse_event):
2359 Initialize button to zero, just in case we get an invalid
2360 input. Added support for mouse buttons 4 and 5.
2361 (spi_device_event_controller_new):
2362 Removed unused variable declaration for 'private'.
2364 Added #include of <gdk/gdk.h>
2366 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2368 * configure.in: Update to work when X is not installed in expected
2369 location. Fixes bug #105836.
2371 * atk-bridge/bridge.c
2372 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2374 (spi_atk_register_event_listener): Add signal listener for
2376 (spi_atk_bridge_signal_listener): Event event when link-selected
2377 signal is emitted. (bug #104622)
2379 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2380 on returned string. (bug #105291)
2382 * test/event-listener-test.c: Add test for link-selected.
2384 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2386 * atk-bridge/Makefile.am: Correct typo in previous commit.
2388 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2390 * atk-bridge/Makefile.am: Allow for build directory to be different
2391 from source directory
2393 * registryd/Makefile.am: Allow for build directory to be different
2394 from source directory
2398 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2401 Fixed dependencies for libcspi so that libspi gets pulled in
2402 properly. Fixes 104741.
2406 Clean up inline docs a little.
2408 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2410 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2411 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2412 the AtkObject within an SpiDesktop.
2413 This addresses bug #101524.
2415 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2416 Remove call to gdk_init().
2418 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2419 so that Display is set when SpiDesktop is created.
2421 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2423 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2424 This fixes bug #102830.
2426 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2428 * test/test-simple.c: Update to take account of fact that GailButton
2429 now implements AtkText.
2430 (create_text_window): Set name on AtkObject for GtkEntry.
2431 (validate_accessible): Check accessible name before calling test_text().
2433 * libspi/Makefile.am: Fix problem with building outside of source
2434 directory. Bug #98120.
2436 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2437 typo in documentation comments. Bug #94275.
2439 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2441 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2443 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2446 Add includes to avoid compiler warnings on Solaris.
2447 (impl_getRangeExtents): Bug fix.
2449 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2451 Fix for 100944, [API addition approved by Gman and murrayc].
2458 * idl/Accessibility_Text.idl:
2459 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2460 (Text::getRangeExtents): New method for efficient
2461 bounds query of a text range.
2462 (Text::getBoundedRanges): New method for efficient
2463 clipping of text to bounding boxes.
2464 (unImplemented7, unImplemented8):
2465 Removed these padding methods to preserve bincompat.
2468 (impl_getRangeExtents): implementation of new IDL.
2469 (impl_getBoundedRanges): implementation of new IDL.
2470 (SpiTextRect): Internal use struct.
2471 (_spi_text_rect_union): internal method, calculates union of two
2472 SpiTextRect bounding rects.
2473 (_spi_text_range_seq_from_gslist): internal method, allows us
2474 to build our sequence efficiently as a gslist then convert it
2476 (_spi_bounds_contain): internal method, determines whether
2477 a text character is "in" or "out" of a clip rect according to
2478 values of TEXT_CLIP_TYPE.
2479 (spi_text_class_init): Initialize the new methods in the epv.
2482 (AccessibleTextClipType): New enum used by screen review api.
2483 (AccessibleTextRange): New struct used by screen review api.
2484 (AccessibleText_getRangeExtents):
2485 cspi binding for Accessibility_Text_getRangeExtents.
2486 (AccessibleText_getBoundedRanges):
2487 cspi binding for Accessibility_Text_getBoundedRanges.
2488 (AccessibleTextRange_freeRanges): convenience method.
2491 (AccessibleText_getRangeExtents):
2492 cspi binding for Accessibility_Text_getRangeExtents.
2493 (AccessibleText_getBoundedRanges):
2494 cspi binding for Accessibility_Text_getBoundedRanges.
2495 (AccessibleTextRange_freeRanges): convenience method.
2496 (get_accessible_text_clip_type): internal conversion method.
2497 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2499 * registryd/deviceeventcontroller.c:
2500 (spi_dec_mouse_check):
2501 Improved behavior for mouse:abs events
2502 [same granularity as mouse:rel events, and no
2503 events when mouse is idle].
2505 2002-12-16 Michael Meeks <michael@ximian.com>
2507 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2509 * libspi/stateset.c (state_spi_to_atk): split out
2510 ( fix several remote array bounds nasties )
2511 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2512 (impl_remove): make safe from array bounds issues.
2513 (spi_atk_state_from_spi_state): impl.
2515 * libspi/stateset.h (spi_state_set_cache_is_empty):
2516 add a set of wrapper defines to get layering right.
2518 * cspi/spi_accessible.c: update state set stuff to
2521 2002-12-14 Michael Meeks <michael@ximian.com>
2523 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2524 to avoid 2 roundtrips to the registry per key event
2525 (spi_atk_bridge_key_listener): upd.
2526 (deregister_application): release the dec.
2528 * registryd/registry.c (notify_listeners_cb):
2529 bin lots of re-enterant complexity - we no longer
2530 do a round-trip bonobo ref here, ensure that a single
2531 listener's exception failure won't poison all other
2533 (impl_registry_notify_event): bin obvious memory leak.
2535 2002-12-13 Michael Meeks <michael@ximian.com>
2537 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2538 init the ev so the error is meaningful.
2539 (spi_atk_bridge_key_listener): ditto.
2541 * cspi/spi_main.c (cspi_ev): init the ev so we start
2542 with a clean slate, otherwise the first exception
2543 kills us completely.
2545 * cspi/spi_text.c (get_accessible_text_boundary_type):
2546 add a fallthrough for no warnings.
2548 * cspi/spi_registry.c: prune unused warnings.
2550 * cspi/spi_main.c (cspi_object_take): fix
2551 mind-blowing brokenness ( by watching the compile
2554 * cspi/spi_accessible.c (Accessible_getStateSet):
2555 re-impl. to use an AtkStateSet.
2556 (spi_state_type_from_accessible_state),
2557 (init_state_table): bin these.
2559 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2561 (atk_state_set_from_accessibility_state_set): here.
2563 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2564 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2565 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2566 (AccessibleStateSet_add, AccessibleStateSet_remove),
2567 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2568 (AccessibleStateSet_isEmpty): re-write to use a local
2571 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2573 * configure.in: Revved to 1.1.7 (new keymask vals).
2575 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2577 * libspi/keymasks.h:
2578 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2580 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2583 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2584 to compare two CORBA_TypeCodes.
2585 (cspi_internal_event_add): Silence warning from FORTE compiler.
2587 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2588 avoid implicit declaration of functions.
2590 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2592 * atk-bridge/bridge.c:
2593 (spi_atk_bridge_init_event_type_consts): Store signal id for
2594 active-descendant-changed signal.
2595 (spi_atk_register_event_listeners): Add signal listener for
2596 active-descendant-changed signal,
2597 (spi_atk_bridge_signal_listener): Move code in function
2598 spi_atk-signal_emit_event() into this function.
2599 Add support for active-descendant-changed
2600 Update support for child-changed signal.
2601 (spi_bridge_window_event_listener): Silence warning.
2603 * libspi/spi_private.[ch]:
2604 (spi_init_any_object): Change second parameter from CORBA_Object to
2606 Omit call to CORBA_Object_duplicate().
2607 Set CORBA_any's _value to CORBA_Object*.
2609 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2615 (AccessibleEvent_ref, AccessibleEvent_unref):
2616 New methods, for persisting an event outside the emission context.
2617 Must be used if the new accessor methods are to be called
2618 outside of the event listener's callback.
2620 * cspi/bonobo/cspi-bonobo.c:
2621 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2622 as second parameter instead of NULL, so we can call
2623 cspi_check_ev afterwards.
2626 (cspi_object_take): New internal method,
2627 converts a CORBA_Object reference to a hard ref on
2628 an Accessible if possible, returning NULL if the object
2629 reference is invalid or an Accessible * otherwise.
2632 (AccessibleEvent_ref):
2633 Increment the event's internal private refcount, and
2634 add the event's internal struct to an internal cache
2635 if it's not already there.
2636 (AccessibleEvent_unref):
2637 Decrement the event's refcount and remove it from
2638 the cspi event cache if refcount==0.
2639 (cspi_event_compare): New private method.
2640 Compares two event structs via their ids. Used
2642 (cspi_internal_event_lookup): New private method.
2643 (cspi_internal_event_check): New private method,
2644 a 0-order sanity check for events to make sure their
2645 private data is intact.
2646 (cspi_internal_event_add, cspi_internal_event_remove):
2647 New private methods for managiing the event cache.
2649 * cspi/bonobo/cspi-bonobo-listener.c:
2651 Initialize the new private data elements (id, magic, ref_count).
2653 * atk-bridge/bridge.c:
2654 (spi_atk_bridge_signal_listener):
2655 Fixed bug #100530, passing wrong params to emission func.
2657 * registryd/deviceeventcontroller.c:
2658 (spi_dec_button_update_and_emit):
2659 Fixed type in mask bit operations; fix for #99799.
2661 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2663 Removed some of the more dangerous workarounds from
2664 previous commit; they are only needed by GOK, which
2665 in reality should be using another method to accomplish
2666 the goals. So on reconsideration some of the workarounds
2667 need to be reverted:
2669 * registryd/deviceeventcontroller.c:
2670 (spi_keycodes_contain, spi_dec_init_keycode_list):
2671 Removed these methods, used only by a nasty hack to try
2672 and detect whether a key synthesis should be allowed
2673 to reset the XKB latch state or not. This code was only
2674 required to work around an interaction between GOK,
2675 button events, and XKB.
2676 (impl_generate_key_event):
2677 Removed hack at end of key generation that tried to
2678 "do the right thing" if XKB latch keys were generated
2679 in the midst of button press/release pairs.
2682 Added a check for HAVE_XINPUT. Not normally used yet.
2684 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2686 Workarounds and fixes for mouse event/XKB interaction.
2688 * registryd/deviceeventcontroller.c:
2689 (spi_keycodes_contain, spi_dec_init_keycode_list):
2690 New internal methods.
2691 (spi_dec_set_unlatch_pending):
2692 Split the method that tells XKB to expect an
2693 unlatch (and revert it) out of the rest of the
2694 event handling code. This method is called by the
2695 two mouse event handlers (the poll and the filter).
2696 (spi_dec_update_and_emit, spi_dec_mouse_check):
2697 New methods split from spi_dec_poll_mouse_moved.
2698 The second one is now called from inside the filterFn
2699 when an XKB delatch event is received, to determine
2700 whether to revert the delatch or not.
2701 (spi_poll_mouse_moved): Refactor; also we can now
2702 properly handle the case where multiple button states
2703 have changed between polling cycles and we didn't get
2704 notified due to another client's grab.
2706 Synchronize the server while handling an XKB notification.
2707 Ugly, but apparently necessary to avoid nasty races.
2708 Check the mouse state on receipt of an XKB latch change,
2709 to decide whether to revert the latch or not. (Latches are
2710 reverted if there is an immediately preceding mouse button
2711 event that a client has consumed, in which case we don't want
2712 the user to see the side-effect of the event).
2713 (spi_device_event_controller_forward_mouse_event):
2714 Check for modifier events and fire before resetting mouse_mask_state,
2715 prevents losing modifier events.
2717 (impl_generate_keyboard_event):
2718 If we've just generated a keyboard event for a non-shift key,
2719 we don't want to revert the pending XKB latch.
2720 Otherwise, check the modifier state (via a call to
2721 spi_dev_mouse_check) and set the relatch mask to
2722 that state before returning.
2724 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2727 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2730 * atk-bridge/bridge.c:
2731 (spi_atk_register_event_listeners):
2732 Don't re-register for ATK events if the registry has died
2733 and the app needs to re-register; the ATK listeners are in
2734 process and doing so will cause duplicate emission.
2736 * registryd/deviceeventcontroller.c:
2737 (spi_poll_mouse_moved):
2738 Reformat the source, detect and emit multiple button-change
2739 events (i.e. if multiple buttons have changed between poll
2741 Add code to detect mouse-down events even when the pointer
2742 is grabbed; workaround for GOK bug 98420.
2743 (spi_controller_register_with_devices):
2744 Call XTestGrabControl with 'impervious' flag set to True,
2745 allows us to synthesize events and query the pointer even during
2746 an active grab by another client.
2747 (spi_device_event_controller_forward_mouse_event):
2748 Set the mouse_mask_state to the mouse_button_state from
2749 the intercepted event, to synchronize the grab listener with
2752 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2754 * cspi/spi_accessible.c:
2755 (AccessibleRole_getName):
2756 Added necessary strings for making this (deprecated)
2757 method work with the new role types.
2758 (init_role_table, role_table):
2759 Added definition of SPI_ROLE_APPLICATION.
2761 * libspi/spi-roletypes.h:
2762 Added SPI_ROLE_APPLICATION.
2764 * idl/Accessibility_Role.idl:
2765 Added ROLE_APPLICATION.
2767 * docs/reference/cspi/at-spi-cspi-decl.txt:
2768 Added SPI_ROLE_APPLICATION to docs.
2770 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2772 * cspi/spi_accessible.c
2773 (cspi_init_role_table): Do not write beyond end of role_table.
2774 (Accessible_getRole): Use correct type for value returned by
2775 Accessibility_Accessible_getRole().
2777 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2778 beyond end of role_table. (This fixes bug #98269)
2780 * libspi/application.c: Add include file spi-private.h for
2781 definition of spi_init_any_nil.
2783 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2787 * libspi/spi-private.h:
2788 Added DGB() macro, and extern int _dbg declaration.
2790 * registryd/registry.c:
2791 (definitions) storage for _dbg.
2792 (spi_registry_init):
2793 Get environment variable "AT_SPI_DEBUG".
2794 (spi_registry_set_debug):
2795 New method, to initialize _dbg value.
2796 (spi_listener_struct_new, spi_registry_object_finalize):
2797 (notify_listeners_cb):
2798 Changed fprintfs to use DBG and g_warning().
2800 * registryd/deviceeventcontroller.c:
2801 (_deregister_keygrab, spi_controller_register_device_listener):
2802 Changed debug/warning messages to use DBG macro.
2804 * libspi/listener.c:
2805 (impl_notify_event):
2806 Changed warning messages to use DBG macro and g_warning().
2808 * atk-bridge/bridge.c:
2809 (atk_bridge_init, spi_atk_bridge_get_registry):
2810 (spi_atk_bridge_exit_func):
2811 (spi_atk_bridge_property_event_listener):
2812 Changed status, warning, and error messages to use
2813 g_warning, g_message, and DBG macros.
2816 Read the state of the AT_SPI_DEBUG environment variable
2817 and set a local '_dbg' accordingly.
2819 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2821 FIXES for 98836, 98842, other bugs.
2824 Revved to 1.1.4, interface-age=4, binary-age=4.
2826 * registryd/deviceeventcontroller.c:
2828 Fixed crasher bug in last_mouse_pos initialization.
2830 * registryd/registry.c:
2831 (desktop_add_application, desktop_remove_application):
2832 Added (and then commented out) some support for
2833 object context marshalling. [TODO]
2835 * atk-bridge/bridge.c:
2836 (spi_atk_bridge_event_context_create):
2837 Commented out object context creation until it can
2838 be properly tested and debugged.
2840 * registryd/registry.c:
2841 (impl_registry_notify_event):
2842 Fixed crasher bug, we were calling
2843 spi_re_entrant_list_foreach () with an empty list.
2845 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2847 * idl/Accessibility_Action.idl:
2848 * idl/Accessibility_Component.idl:
2849 * idl/Accessibility_Desktop.idl:
2850 * idl/Accessibility_Event.idl:
2851 * idl/Accessibility_Hyperlink.idl:
2852 * idl/Accessibility_Image.idl:
2853 * idl/Accessibility_Relation.idl:
2854 * idl/Accessibility_Selection.idl:
2855 * idl/Accessibility_State.idl:
2856 * idl/Accessibility_Value.idl:
2857 Updated unimplemented slot count to minimum of
2858 four for all interfaces, for ABI freeze.
2860 * idl/Accessibility_EditableText.idl:
2861 * idl/Accessibility_Text.idl:
2862 Updated unimplemented slot count to six
2865 * idl/Accessibility_Registry.idl:
2866 Updated unimplemented slot count to six
2867 (also for DeviceEventController),
2870 * idl/Accessibility_Table.idl:
2871 Updated unimplemented slot count to eight,
2874 * idl/Accessibility_Event.idl:
2875 Added CORBA_any "any_data" member to Event struct.
2877 * idl/Accessibility_Event.idl:
2878 Added CORBA_any "any_data" member to Event struct.
2880 * atk-bridge/bridge.c:
2882 atk_signal_text_changed, atk_signal_child_changed,
2883 signal ids queried from gtype system.
2884 (AtkBridgeEventContextType): New enum.
2885 (AtkBridgeEventContextData): New struct.
2886 (AtkBridgeEventContext): New struct.
2887 (atk_bridge_init_event_type_consts):
2888 New method, initializes type contants for comparison
2889 prior to emit_eventv.
2890 (atk_bridge_event_context_init): New method,
2891 initializes a CORBA_any from an AtkBridgeEventContext.
2892 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2893 initialize the event.any_data struct.
2894 (spi_atk_bridge_event_context_create): New method,
2895 creates an AtkBridgeEventContext from signal/event info.
2896 (spi_atk_bridge_event_context_free): New method.
2897 (spi_atk_emit_eventv): Changed to take an
2898 AtkBridgeEventContext parameter. We now initialize
2899 the event.any_data member prior to notifying the
2900 Registry, via the AtkBridgeEventContext.
2901 (spi_atk_bridge_property_event_listener):
2902 (spi_atk_bridge_state_event_listener):
2903 Match emit_eventv signature.
2904 (spi_atk_bridge_object_event_listener):
2905 Match emit_eventv signature, and create an
2906 event context from the event details.
2907 Free the event context afterwards.
2908 (spi_atk_bridge_window_event_listener):
2909 Create an event context, pass it to the
2913 (AccessibleEvent_getContextString):
2914 (AccessibleEvent_getContextObject):
2915 New methods, allow query of AccessibleEvent objects
2916 for more context details (via the "any_data" member
2917 of the Event struct, above).
2920 Definitions for AccessibleEvent_getContextString
2921 and AccessibleEvent_getContextObject.
2923 * cspi/spi_listener.h:
2924 (InternalEvent): New struct.
2927 (AccessibleEvent_getContextString):
2928 (AccessibleEvent_getContextObject):
2929 Implementations of new methods, for obtaining
2930 additional context information from some event types.
2932 * cspi/spi_registry.c:
2933 (SPI_registerGlobalEventListener):
2934 Added mention of active-descendant-changed event in docs.
2936 * cspi/cspi-bonobo-listener.c:
2938 Marshal the any into the AccessibleEvent via
2941 * libspi/spi-private.h:
2942 #include <orbit/orbit.h>
2944 (spi_init_any_string):
2945 (spi_init_any_object):
2946 New convenience function declarations.
2950 (spi_init_any_string):
2951 (spi_init_any_object):
2952 New convenience function implementations.
2954 * registryd/deviceeventcontroller.c:
2955 (spi_poll_dec_mouse_moved):
2956 (spi_device_event_controller_forward_mous_event):
2957 Initialize any_data member of event.
2958 (spi_deregister_controller_device_listener):
2959 Fix incorrect param pass which was preventing deregistration.
2961 * registryd/registry.c:
2962 (desktop_add_application):
2963 (desktop_remove_application):
2964 Add object data to event's any_data before dispatch.
2966 Fix for error messages from GAIL.
2968 * test/event-listener-test.c:
2969 Test new ContextString and "any_data" API:
2970 (report_text_event): New method query and output context string.
2971 (main): register a new text listener with report_text_event
2974 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2976 Fixes for bugs 98127 and 97914.
2977 * cspi/spi-roletypes.h:
2978 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2980 * cspi/spi-statetypes.h:
2981 Added SPI_STATE_MANAGES_DESCENDANTS
2983 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2984 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2985 * cspi/spi_accessible.c:
2986 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2987 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2988 Accessibility_STATE_MANAGES_DESCENDANTS
2989 * libspi/accessible.c:
2990 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2991 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2992 As requested by Bill, I also cleaned up the alignment.
2993 * libspi/relation.c:
2994 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2995 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2996 * libspi/stateset.c:
2997 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2998 Accessibility_STATE_MANAGES_DESCENDANTS
2999 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3000 Document changes reflecting modifications to roles.
3001 * docs/reference/cspi/tmpl/spi_relation.sgml:
3002 Document changes reflecting modifications to relations.
3003 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3004 Document changes reflecting modifications to states.
3006 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3009 Revved to 1.1.3, interface-age=3, binary-age=3.
3010 Added REBUILD macro.
3013 Removed accessx-gui from the tests, since we have a nice
3014 keyboard accessibility capplet now :-)
3016 * test/keysynth-demo.c:
3017 (increment_scan): removed do-nothing default: case,
3020 * test/visual-bell.c:
3021 (main) : removed do-nothing default: case,
3024 * cspi/spi_action.c:
3025 (AccessibleAction_getKeyBinding_):
3026 Documented keybinding string format.
3030 (AccessibleText_getAttributes):
3031 Documented the text attribute string format.
3032 It's changed to use semicolon delimiters also,
3033 to prevent clashes with CSS attributes, but the old
3034 trick of looking for ", " strings will still work
3035 (as unreliably as ever). Fix for bug related to 97916.
3038 Include <cspi/bonobo/cspi-bonobo-listener.h>
3039 Fixes build warning.
3040 (SPI_freeAccessibleKeySet):
3041 (AccessibleKeystrokeListener_addCallback):
3042 (AccessibleKeystrokeListener_removeCallback):
3043 Modify to use AccessibleDeviceListener API internally,
3044 instead of AccessibleKeystrokeListener.
3046 * idl/Accessibility_Event.idl:
3047 Added two more empty slots to EventListener (for a total of four).
3049 * idl/Accessibility_Accessible.idl:
3050 Added four empty slots to Accessible interface.
3052 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3054 * idl/Accessibility_Registry.idl:
3055 (KeyEventType, EventType):
3056 Marked KeyEventType as deprecated; it duplicates
3057 functionality of EventType, which has been extended to
3058 include Mouse-button events.
3059 (KeyEventTypeSeq): defined in terms of EventType.
3060 (registerDeviceEventListener, deregisterDeviceEventListener):
3061 New methods, for managing listeners to device events,
3062 which potentially may consume them.
3065 Added definition for AccessibleDeviceListener.
3067 * cspi/spi-listener.h:
3068 (enum AccessibleDeviceEventType):
3069 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3070 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3071 for backwards compat.
3072 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3073 and typedef'd AccessibleKeystroke to it for back-compat.
3074 (AccessibleDeviceListenerCB):
3075 New function prototype typedef.
3078 (AccessibleDeviceEventMask): New typedef.
3079 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3080 (AccessibleKeyMaskType):
3081 Set equivalent to AccessibleModifierMaskType for back-compat.
3082 (SPI_createAccessibleKeystrokeListener):
3083 (AccessibleKeystrokeListener_unref):
3084 Deprecated in favor of equivalent (better-named) new API below..
3085 keystroke listeners are like all device listeners.
3086 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3087 New API names for old features :-).
3088 (AccessibleDeviceListener_addCallback):
3089 (AccessibleDeviceListener_removeCallback):
3090 (SPI_registerDeviceEventListener):
3091 (SPI_deregisterDeviceEventListener):
3095 (SPI_createAccessibleKeystrokeListener):
3096 Use new preferred API, cspi_device_listener_new() and
3097 cspi_device_listener_add_cb().
3098 (AccessibleKeystrokeListener_removeCallback):
3099 Use new preferred API, cspi_device_listener_remove_cb().
3100 (AccessibleKeystrokeListener_unref):
3101 Use new preferred API, cspi_device_listener_unref().
3102 (SPI_createAccessibleDeviceListener):
3103 (AccessibleDeviceListener_addCallback):
3104 (AccessibleDeviceListener_removeCallback):
3105 Implementation of new API.
3107 * cspi/spi_registry.c:
3108 (SPI_registerDeviceEventListener):
3109 (SPI_deregisterDeviceEventListener):
3110 Implementation of new API. Fixed memory leak and removed need to
3111 allocate EventTypeSeq (thanks Michael for catching this).
3112 Squashed a wayward CORBA_exception_free that shouldn't get called.
3114 * cspi/bonobo/cspi-bonobo-listener.c:
3116 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3117 (cspi_key_event): renamed to cspi_device_event().
3118 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3119 Extended to handle mouse button events as well as key events.
3120 (CSpiKeystrokeListener):
3121 Class superceded by CSpiDeviceListener.
3122 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3123 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3125 * cspi/bonobo/cspi-bonobo-listener.h:
3126 (CSpiKeystrokeListener):
3127 Class superceded by CSpiDeviceListener.
3128 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3129 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3131 * libspi/Makefile.am:
3132 Replaced keystrokelistener.h and keystrokelistener.c
3133 with devicelistener.h and devicelistener.c; keystrokelisener.h
3134 stub retained for back-compat.
3136 * libspi/keystrokelistener.c:
3140 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3142 * registryd/deviceeventcontroller.c:
3143 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3144 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3145 (DEControllerPrivateData): Added xkb settings data.
3146 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3147 button release events (which can't be captured via XGrabButton).
3148 Don't dispatch via the 'normal' event mechanism if the device event was
3150 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3151 Handle the typeseq data in its new location (see above).
3152 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3153 New methods, for "generic" device listeners.
3154 (spi_controller_register_device_listener):
3155 Now handle mouse event listeners as well as key listeners.
3156 (spi_controller_notify_mouselisteners):
3157 New internal method.
3158 (spi_device_event_controller_forward_mouse_event):
3159 Now we notify mouse device listeners as well as generating the
3160 non-consumable "mouse:" events.
3162 We must check and restore the XKB
3163 modifier map if we consume the event, since the act of triggering
3164 a mouse event will normally reset the XKB latch. This is required for
3166 (spi_controller_register_with_devices):
3167 Load the XKB settings when registering, and register for XKB
3168 state notify events.
3169 (spi_key_eventtype_seq_contains_event):
3170 Renamed spi_eventtype_seq_contains_event, since it's used
3171 internally for all device event types now.
3172 (spi_key_event_matches_listener):
3173 Uses spi_eventtype_seq_contains_event now.
3174 (spi_device_event_controller_object_finalize):
3175 Free the private data and the XkbKeyboard struct.
3176 (impl_register_device_listener, impl_deregister_device_listener):
3177 Implementation of new IDL.
3178 (spi_deregister_controller_device_listener):
3179 New internal method.
3180 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3181 More efficient implementation, we don't have to create a new
3182 XkbControls structure every time we query.
3183 (spi_device_event_controller_class_init):
3184 Initialize the epv entries for the new IDL. Assign the
3185 "spi-dec-private" quark.
3186 (spi_device_event_controller_init):
3187 Initialize the private data.
3188 (spi_device_event_controller_forward_key_event):
3189 Removed a bogus CORBA_exception_free() call.
3191 * registryd/deviceeventcontroller.h:
3192 Replaced inclusion of keystrokelistener.h with
3195 * test/event-listener-test.c:
3196 (report_mouse_event):
3199 Added mouse-event device listener.
3201 * test/test-simple.c:
3202 (create_test_window):
3203 Fixed regression (we were instantiating a GtkRange,
3204 which is now an abstract class). Also fixed to match
3205 existing AtkRole names, this seems to have changed in ATK
3206 awhile ago; too late now I think, and the new
3207 mechanism is at least elegant and consistent with the
3208 glib enum "nick" APIs.
3210 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3212 * idl/Accessibility_Relation.idl:
3213 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3214 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3215 * idl/Accessibility_Role.idl:
3216 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3217 * idl/Accessibility_State.idl:
3218 add STATE_MANAGES_DESCENDANTS
3219 * test/event-listener-test.c:
3220 Added a listener for active-descendant events.
3222 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3224 * atk-bridge/bridge.c
3225 (atk_bridge_init): If application is Bonobo component wait until top
3226 level is added before registering
3227 (spi_atk_bridge_do_registration): New function which contains code,
3228 formerly in atk_bridge_init, to do application registration.
3229 (spi_atk_bridge_toplevel_added): Signal called when top level
3230 added to Bonobo component
3232 This fixes bug #83134.
3234 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3236 * registryd/deviceeventcontroller.c
3237 Fixed compilation error caused by calling gettimeofday()
3240 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3245 Added template for HAVE_XKB.
3248 Changes to check for XKB, and to set the HAVE_XKB #define if it
3251 * libspi/listener.c:
3252 ()impl_notify_event): Make failure to get event source name
3255 * registryd/deviceeventcontroller.c:
3256 (#include): include X11/XKBlib.h.
3257 (DEControllerPrivateData) : New struct.
3258 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3260 (dec_synth_keycode_press) (dec_synth_keycode_release):
3261 New methods; split the key synthesis code into these methods.
3262 They check XKB settings before determining the "time" values to
3263 pass to Xtest; this fixes bug #95828.
3264 (impl_generate_keyboard_event): Changed to use methods above,
3265 instead of callng Xtest directly.
3266 (spi_device_event_controller_init): Initialize new privae struct s
3268 (spi_device_event_controllr_object_finalize):
3269 Free the (new) private data.
3271 * registryd/deviceeventcontroller.h:
3272 Add new gpointer to end of struct data.
3274 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3277 Incremented revision to 1.1.2, SONAME is still '.so', library
3278 extensions are ".so.0.0.2".
3280 * registryd/deviceeventcontroller.c:
3281 FIXES FOR #93592 and #95940.
3282 (statics): renamed mouse_button_state to mouse_mask_state,
3283 added key_modifier_mask.
3284 (spi_dec_poll_mouse_moved):
3285 Added key modifier checks, and emit "keyboard:modifiers"
3286 events when the key modifiers currently in use change.
3287 Also generate "mouse:abs" events periodically, even if the mouse
3288 is stationary (should we?).
3289 Alternatively we could generate "mouse:abs" events for either all
3290 mouse movements, or every 'nth' mouse movement, or at the
3291 beginning and end of every "active" mouse period.
3293 * test/event-listener-test.c:
3294 (main): Added listener for "keyboard:modifiers" events.
3296 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3298 * libspi/keymasks.h:
3299 Added key mask #defines for mouse buttons; e.g.
3300 SPI_KEYMASK_BUTTON1, etc.
3303 Incremented dependency on ATK to version 1.1.0. (This dependency
3304 is probably premature but will soon be real enough).
3306 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3308 * libspi/hyperlink.[ch]
3309 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3310 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3313 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3318 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3320 * registryd/deviceeventcontroller.c
3321 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3322 events to be ignored.
3323 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3324 keyboard_mode so that XAllowEvents() can be called.
3328 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3330 * cspi/spi-accessible.c: Correct names of roles returned by
3331 AccessibleRole_getName(). Fixes bug #95055.
3333 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3335 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3338 * registryd/registry.c
3339 (desktop_remove_application: Write diagnostic message to stderr for
3342 (impl_accessibility_registry_deregister_global_event_listener):
3343 Correct size of lists array. This addresses bug #94555).
3345 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3347 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3350 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3352 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3355 * registryd/registry.c (impl_registry_notify_event): Remove
3356 unnecessary call to parser_event_type().
3358 * docs/reference/cspi/tmpl/spi_component.sgml:
3359 Add reference to SPI_LAYER_WINDOW.
3361 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3363 * registryd/registry.c
3364 (desktop_add_application): Remove leak.
3365 (desktop_remove_application): Remove leak.
3366 (parser_event_type): Remove leak.
3368 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3370 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3371 bogus call to CORBA_string_dup(). Also removed unnecessary
3372 g_string_dup/g_free calls.
3374 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3376 * registryd/deviceeventcontroller.c:
3377 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3379 * test/event-listener-test.c:
3380 main: commented out three redundant listeners, to reduce output
3381 noise. (They still are potentially useful for testing).
3384 2002-09-13 Michael Meeks <michael@ximian.com>
3386 * Update all the copyrights to include Ximian.
3388 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3390 * cspi/spi.h: add SPI_LAYER_WINDOW.
3392 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3393 add Accessibility_LAYER_WINDOW case.
3395 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3397 * libspi/component.c: (impl_accessibility_component_get_layer):
3398 add ATK_LAYER_WINDOW case.
3400 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3402 * configure.in: incremented micro version.
3404 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3406 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3409 Clarified and reworded our commit policy.
3412 Started an API "todo" addition list for 2.2.
3415 (impl_getSelection):
3416 Free char pointer from atk_text_get_selection, which was being leaked.
3418 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3421 Small revision to author acknowledgement.
3423 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3425 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3426 If signal has detail add it to the type of the event.
3429 2002-08-12 Michael Meeks <michael@ximian.com>
3431 * test/test-simple.c (global_listener_cb): bin bogosity.
3432 (test_keylisteners): disable, still doesn't work reliably,
3433 certainly not on my system anyway.
3435 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3436 don't leak a reference on the DEC. This round-trip
3437 fetching of the DEC per keystroke sucks, it should be
3440 * cspi/spi-private.h,
3441 * cspi/cspi-lowlevel.h,
3442 * cspi/bonobo/cspi-bonobo-listener.[ch],
3443 * cspi/bonobo/cspi-bonobo.c: get the copyright
3444 notices better - there is still a large amount of
3445 work in at-spi falsely attributed solely to Sun.
3447 * cspi/spi_main.c (cspi_object_ref): kill bogus
3448 hash lookup, just increment the ref.
3449 (SPI_freeString): make explicit the fact that we
3450 handle NULL strings just fine.
3451 (report_leaked_ref): obey coding standards.
3452 (cspi_object_hash, cspi_object_equal): kill retval.
3453 (cspi_object_release): only release if not on loan.
3454 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3455 (cspi_object_borrow, cspi_object_return): impl.
3457 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3458 use cspi_object_borrow / return.
3460 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3462 * cspi/bonobo/cspi-bonobo-listener.c:
3464 Don't call cspi_oject_new() because this is creating a new Accessible
3465 every single time that an event is fired. This causes ATs like at-poke
3466 to nolonger recognise the source of the event and thus ignore it.
3467 Re-use the object from the cache, ref it and then unref it after the
3468 listeners have been called.
3470 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3472 * test/event-listener-test.c:
3473 Added command-line options to disable mouse events (m) and
3476 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3478 * configure.in: Update required versions of ATK, GTK+ and GAIL
3480 * cspi-1.0.pc.in: Add dependency for X include files
3483 * cspi/bonobo/Makefile.am:
3484 Add $(X_CFLAGS) so that X include files
3485 are picked up even if not in standard place (bug #71686)
3487 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3489 * registryd/deviceeventcontroller.c: fix for 84261
3490 (spi_dec_mouse_moved):
3491 Added test of mouse button mask, so that we can detect mouse
3492 button release. Unfortunately we can't otherwise detect mouse
3493 button release events without consuming the mouse press event,
3494 because of the way XGrabButton works. This means that our mouse
3495 release events have a latency dependent on the polling period
3496 while the mouse button is down. At least in this case we only
3497 have to poll while the button is down, and not at other times.
3498 If the button masks don't match with what the last press event
3499 reported, we report the appropriate button release event.
3500 (spi_dec_ungrab_mouse):
3501 New method (not yet called).
3502 (spi_device_event_controller_forward_mouse_event):
3503 New method, sends mouse press event from GdkFilter.
3504 (spi_dec_init_mouse_listener):
3505 Added code to call XGrabButton, redirecting mouse button events to
3506 the root window and our Gdk event loop.
3508 Added code to filter mouse button events, and reordered.
3510 * test/event-listener-test.c:
3512 Added registration for mouse events of type "mouse:button".
3514 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3516 * registryd/deviceeventcontroller.c: partial fix for 84261
3517 (spi_dec_poll_mouse_idle):
3518 New method, a timeout which checks to see if the mouse
3520 (spi_dec_poll_mouse_moving):
3521 A timeout to be called when mouse motion is underway.
3522 (spi_dec_poll_mouse_moved):
3523 A method which fires an event if the mouse has moved, and reports
3524 whether or not it did so.
3525 (spi_dec_init_mouse_listener):
3526 A method which sets up the timeouts above.
3527 (spi_device_event_controller_new):
3528 Now calls spi_dec_init_mouse_listener.
3530 * registryd/registry.c:
3531 (spi_registry_init):
3532 Now we initialize the device event controller when the registry is
3533 initialized, instead of waiting until a client has requested a key
3534 event notification; this is because we need the event controller
3535 for mouse events, but the mouse event registration API is a
3536 "registry" call and doesn't explicitly call the
3537 deviceeventcontroller.
3538 We now report mouse motion events with a 100 ms idle latency and
3539 a 20 ms granularity when motion is in progress.
3541 * test/event-listener-test.c:
3543 We now register the "detail listener" for events of type
3544 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3545 delivered only for the first mouse event received, and thereafter
3546 "mouse:abs" events are delivered.)
3548 * cspi/spi_registry.c:
3549 DOCS: Documented the above mouse event typestrings.
3551 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3553 Happy Summer Solstice...
3555 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3556 (spi_controller_notify_keylisteners):
3557 Changes to remove a listener from the listener list, freeing its
3558 open keygrabs, if a notification to that listener fails. This
3559 means that although a dead listener can continue to hold a passive
3560 keygrab, a maximum of one dispatch to such a listener can fail
3561 before the listener is removed from the list, thus the keygrab
3562 will be released on the next occurrence.
3563 As part of this fix:
3564 (spi_notify_keylisteners):
3565 Renamed to spi_controller_notify_keylisteners, as the controller
3566 instance must now be passed as an argument.
3567 The copied 'notify' GList is now a list of DEControllerKeyListener
3568 objects, since we need more than just the CORBA reference if a
3569 notify fails and we need to deregister the listener.
3570 (impl_notify_listeners_sync):
3571 (impl_notify_listeners_async):
3572 (spi_device_event_controller_forward_key_event):
3573 Modify use of notify_keylisteners in accordance with above
3575 (spi_deregister_controller_key_listener):
3576 New method introduced by refactoring, from
3577 impl_deregister_keystroke_listener.
3578 (impl_deregister_keystroke_listener):
3579 Call spi_deregister_controller_key_listener.
3580 (spi_key_listener_clone):
3581 New method to copy a key listner without doing a 'ref' on the
3582 remote object instance; used to create a notifier list.
3583 (spi_key_listener_data_free):
3584 New method, frees data without unreffing the source.
3586 (spi_key_listener_clone_free): new method.
3587 (spi_key_listener_free):
3588 refactored to call spi_key_listener_data_free.
3590 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3592 * registryd/registry.c: [fix for bug 86048]
3593 (notify_listeners_cb):
3594 Clear CORBA system exceptions which occur when notifying
3595 listeners, before returning to the source of the original event,
3596 since the event source doesn't care if the relayed notify failed.
3597 In other words, don't complain to the atk-bridge if the registry
3598 could not notify all its listeners, that's no fault of the
3599 application and thus should not appear to be an error from the
3600 application's perspective.
3602 * cspi/spi_main.c: [fix for bug 85980]
3604 Replaced use of bonobo_object_dup_ref with call to the wrapper
3605 method, csou_dup_ref (); this silences a compiler warning and
3606 provided more portability.
3608 Ping the registry before return, and restart if necessary.
3610 * cspi/bonobo/cspi-bonobo.c:
3612 New internal method.
3614 Fixed this method to return an object reference, as it should have
3617 * cspi/cspi-lowlevel.h:
3618 Added internal definition for cspi_ping() and fixed
3619 return type of cspi_dup_ref().
3622 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3624 * atk-bridge/bridge.c: [fix for bug 85305]
3625 (spi_atk_bridge_register_application):
3626 New method where the initial application registry calls have been
3627 moved; it allows an application to re-register in response to
3628 certain error conditions (such as a registry restart, see below).
3630 Moved some initialization code to the method
3631 spi_atk_bridge_get_registry, below.
3632 (spi_atk_bridge_get_registry):
3633 New, private accessor function for the Accessibility_Registry
3634 instance. If the registry has not been started before, or has
3635 died (as detected by failure of a CORBA exception), it is
3636 restarted before return, and spi_atk_bridge_register_application
3637 is called again to register with the new bridge instance.
3638 (spi_atk_emit_eventv):
3639 Set registry_died on error; use spi_atk_bridge_get_registry () to
3640 access the registry.
3642 * registryd/registry.c:
3643 (impl_accessibility_registry_register_global_event_listener):
3644 Set listener's event_type_quark to etype.minor instead of
3645 etype.major (fix for bug 84856).
3647 * test/event-listener-test.c:
3648 (report_detail_event):
3649 Change the output string so that user/tester can tell that the
3650 'detail listener' was called instead of the 'generic listener'.
3652 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3654 Fixes for bugs 84900, 84908, 84897, 84898.
3659 Revved version to 1.1.0
3660 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3661 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3663 * idl/Accessibility_Registry.idl:
3664 (EventListener::notifyEvent):
3665 Removed 'oneway' directive after extensive consulation with
3666 ORBit2 team and others. This means also that unref() of the event
3667 source can and should be done synchronously after emission, rather
3668 than remotely in the client, after servicing the notify call on
3671 NOTE: This change speeds up listener performance considerably, but
3672 introduces new latency on the application side. We may want to
3673 add an event queue to the atk-bridge.
3675 * atk-bridge/bridge.c:
3676 (spi_atk_bridge_focus_tracker):
3677 Do a local unref() on the event source after emission.
3679 * registryd/registry.c:
3680 (desktop_remove_application):
3681 Do an unref() on the event source after emission.
3682 (desktop_add_application):
3683 Do an unref() on the event source after emission.
3684 (notify_listeners_cb):
3685 When relaying an event, don't automatically add the event source
3686 to the local object cache, just CORBA_dup it instead. Likewise,
3687 if this method reenters, release the ref rather than calling
3689 (impl_registry_notify_event):
3690 No longer call remote unref() on the event source after dispatch.
3692 * libspi/eventlistener.c:
3693 (impl_accessible_event_notify_event):
3694 Removed remote unref ()
3696 * cspi/bonobo/cspi-bonobo-listener.c:
3698 We now call cspi_object_new() instead of cspi_object_add() on
3699 receipt of an event; thus we only have an implicit object ref
3700 while the cspi_event method is being executed. If we need to keep
3701 a reference to the object, the listener must call ref() on the
3702 object. Thus also we don't need to call cspi_object_unref() after
3703 invoking the listener callbacks in this method.
3707 New internal API for creating a new cspi object, without adding it
3708 to the object cache.
3710 Now uses cspi_object_new() to create the cspi object instance.
3712 Now checks to see if the object is in the internal object cache,
3713 and adds it if necessary before incrementing its refcount (note
3714 that new objects are added with a refcount of 1).
3715 (report_leaked_ref):
3716 New method which gives some information on leaked object instances
3717 if leak detection is turned on.
3719 * test/event-listener-test.c:
3720 (timing_test_event):
3721 New method, used for testing event delivery timing for special
3722 events of type "object:test". It reports elapsed time and
3723 events/sec every 500 events.
3725 Added a new listener, 'test listener', to check timing of event
3726 receipt as noted above.
3728 Added some timing output here also, reports elapsed time every 100
3731 * test/stress-test.c:
3732 Emit events of type "object:test", for use with "event-listener-test".
3734 * test/test-simple.c:
3735 (global_listener_cb):
3736 Call Accessible_ref() on the event source before calling
3737 validate_accessible, since the validation process does pointer
3738 comparisons on the event source, meaning that the event source
3739 needs to be added to the local object cache first. Any use of
3740 such pointer comparisons between Accessible objects requires that
3741 the caller hold an explicit reference to those objects.
3742 We also must therefore call Accessible_unref() when leaving this method.
3744 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3746 * registryd/deviceeventcontroller.c:
3747 (spi_controller_update_key_grabs):
3748 Fix for #84735, subsequent keygrab listeners not informed of
3749 registration failure.
3752 (spi_base_construct):
3753 Add an assertion on construct, to make sure the GObject passed in
3754 is really a GObject.
3756 Explicitly initialize object->gobj pointer to NULL;
3758 * cspi/bonobo/cspi-bonobo-listener.c:
3759 (cspi_object_add_ref):
3760 New method, can specify whether to dup-ref a bonobo object passed
3761 in if it's newly added to the object cache.
3763 Now calls cspi_object_add_ref with second param of "FALSE". This
3764 prevents us from doing a pointless dup-ref followed by
3765 release-unref for all those cases where the object is already in
3766 our object cache (fix for #85205).
3768 * atk-bridge/bridge.c:
3769 (spi_atk_bridge_idle_init):
3770 Removed this method, we don't need to initialize in an idle
3773 Changed to call spi_atk_register_event_listeners directly, not via an
3774 idle handler. (fix for #81139)
3775 (gnome_accessibility_module_shutdown):
3776 Removed conditional around deregistration of listeners, since we
3777 don't use the idle handler and thus have always registered when
3779 (spi_init_keystroke_from_atk_key_event):
3780 Changed references to Accessibility_KEY_PRESSED to
3781 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3783 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3785 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3790 * test/stress-test.c:
3793 (may have been an incomplete commit yesterday?)
3795 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3798 Added target for new stress-test.
3800 * test/stress-test.c:
3801 New test, sends 1000 focus notifies in quick succession.
3803 * test/key-listener-test.c:
3804 Now we report whether a keylistener registration
3805 request succeeded or failed.
3807 * test/event-listener-test.c:
3808 Uncommented some listeners which are now implemented.
3811 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3813 * registryd/deviceeventcontroller.c:
3814 (spi_controller_update_key_grabs):
3815 Fix for #82509, lack of failure notification when
3816 ALL_WINDOWS keygrabs fail due to XGrabKey
3817 failure: we synchronize the server when
3818 registering a passive grab, to make sure we get the
3819 error message before the call returns.
3821 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3823 * test/test-simple.c:
3825 Removed #ifdef KEY_IMPL_WORKS guards.
3826 (test_keylisteners):
3827 Removed #ifdef KEY_IMPL_WORKS guards.
3828 Fixed bug which was causing a hang waiting for a
3829 "press" event (which was already overwritten by a "release"
3830 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3832 Added code to set globals 'key_press_received' and
3833 'key_release_received'.
3836 Added section "1.1 API Proposed Additions" which
3837 lists API additions desired for at-spi-1.1 (only one so far).
3838 Updated TODO list a little.
3840 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3842 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3845 * configure.in: Revved to 1.0.0.
3847 * idl/Accessibility_Registry.idl:
3848 (registerKeystrokeListener):
3849 Added boolean return value.
3851 * registryd/registry.c:
3852 (notify_listeners_cb): Minor fix to debug output.
3854 * registryd/Accessibility_Registry.server.in.in:
3855 Revved version number in OAFIID to 1.0.
3857 * registryd/registryd.c:
3859 Use new OAFIID version.
3861 * cspi/bonobo/cspi-bonobo.c:
3863 Use new OAFIID version.
3869 * atk-bridge/bridge.c:
3871 Use new OAFIID version.
3873 * registryd/deviceeventcontroller.c:
3874 (impl_register_keystroke_listener):
3875 Added CORBA_boolean return value.
3876 (spi_controller_register_device_listener):
3877 Added gboolean return value.
3878 (spi_controller_register_global_keygrabs):
3879 Added gboolean return value.
3880 (spi_key_set_contains_key):
3881 Added implementation for many more control keys,
3882 for instance F1-F12, arrow keys, End, Home, Page_Up,
3884 [TODO: some still not implemented].
3886 * text/screen-review-test.c:
3887 (text_chunk_pad_string):
3888 New function: it provides mapping between coordinate
3889 positions of text chunks and character positions in the
3890 screen-review-line output string.
3891 (text_chunk_to_string):
3892 New function, calls text_chunk_pad_string with various
3893 pad/delimiter characters. Pushbuttons are delimited with
3894 square brackets, Frames with vertical 'pipe' lines, and
3895 other text with double quotes.
3896 (text_chunk_list_to_string):
3897 Calls new function text_chunk_to_string.
3898 (toplevel_composite):
3899 New function to composite layers CANVAS through
3900 POPUP in each toplevel (other layers are composited
3901 across toplevels, i.e. BACKGROUND and OVERLAY).
3902 (review_buffer_composite):
3903 Revise to use new methods.
3909 2002-05-31 Laszlo Peter <laca@sun.com>
3911 * configure.in: add the Xtst libdir to the runpath on Solaris,
3912 since it's not in the default library search path.
3914 2002-05-29 jacob berkman <jacob@ximian.com>
3916 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3918 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3920 * test/screen-review-test.c:
3921 (text_chunk_pad_string):
3922 Added method, which pads the string according to the
3923 text bounds of the chunk. It also takes a 3-character
3924 string as a param which indicates the characters to be
3925 used for start, padding, and end delimitation of the chunk.
3926 (text_chunk_to_string):
3927 Changed to use text_chunk_pad_string.
3929 * configure.in: Fixed bug in AC_OUTPUT that was
3930 causing path substitution in Accessibility_Registry.server
3933 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3935 * text/screen-review-test.c:
3936 (guess_string_clip):
3937 New method which attempts a best-guess at clipping
3938 text from components (like Java labels) which don't
3939 actually implement AccessibleText. This inaccurate
3940 clip is based on the assumption that the label is
3941 justified left-and-right, and monospaced.
3942 (text_chunk_get_clipped_string):
3943 We now call guess_string_clip() for text-containing
3944 components that don't implement AccessibleText.
3946 * test/screen-review-test.c:
3947 (review_buffer_get_text_chunk):
3948 We now pull "name" from labels if they do not implement
3949 AccessibleText (i.e. for Java labels).
3950 (get_screen_review_line_at):
3951 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3954 Replaceded AC_OUTPUT target
3955 registryd/Accessibility_Registry.server with
3956 registryd/Accessibility_Registry.server.in.
3958 * registryd/Accessibility_Registry.server.in:
3959 Removed (this is now a Makefile target).
3961 * registryd/Accessibility_Registry.server.in.in:
3962 Added (source for target above). We now use $(libexecdir) as
3963 prefix for the executable at-spi-registryd.
3965 * registry/Makefile.am:
3966 Now install at-spi-registryd into $(libexecdir), and build .server
3967 file with path (see above).
3969 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3971 * test/screen-review-test.c:
3972 (text_chunk_get_clipped_string):
3973 We now check to see if words fall within clip bounds
3974 before resorting to character-by-character clip bounds testing.
3976 * TODO: Added a section for "2.2 Proposed API Additions".
3978 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3980 * test/screen-review-test.c:
3982 Added a screen review benchmarking and test program to test
3985 * cspi/spi_accessible.c:
3987 Made some of the debug strings passed to cspi_check_ev a
3988 little more specific.
3990 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3992 * test/screen-review-test.c: Fix crashes in debug statements
3994 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3996 * test/screen-review-test.c: Added this file.
3998 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4000 * atk-bridge/bridge.c: changed "object:state-change" to
4001 "object:state-changed" to match docs.
4003 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4005 * atk-bridge/bridge.c: Hooked up state-change event details.
4007 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4009 * registryd/registry.c:
4010 Fixed quarking bug in event string parsing; now events with
4011 detail parameters get matched correctly to listeners.
4014 * util/idl/Magnifier.idl: remove.
4016 * util/*.[ch]: Remove.
4017 Magnification utilities and IDL are now in module gnome-mag.
4019 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4021 * registryd/deviceeventcontroller.c:
4022 Fixed bug in grab key conversion which was causing keycode grabs
4023 to be converted to AnyKey grabs.
4026 updated NEWS file to reflect recent spin-off of gnome-mag.
4028 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4030 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4031 busted AccessibleStateSet_compare. Removed redundant casts.
4033 * cspi/spi-action.c: Removed redundant casts.
4035 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4037 * cspi/spi_component.c: Fixed typos and casting error.
4039 * cspi/spi_editabletext.c: Removed redundant casts.
4041 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4043 * cspi/spi_hypertext.c: Eliminated redundant casts.
4045 * cspi/spi_image.c: Eliminated redundant casts.
4047 * cspi/spi_registry.c: Eliminated redundant casts.
4048 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4049 * cspi/spi_selection.c: Removed redundant casts.
4050 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4051 handling. Screen geometry and text offsets were being returned as 0
4052 on error which is technically valid-- changed these to return -1.
4053 Added marshaller for text boundary types to fix bug with boundary
4054 types being passed incorrectly to atk.
4056 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4059 * cspi/spi_registry.c:
4060 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4061 which was uncovered by the recent key changes.
4063 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4065 * test/event-listener-test.c:
4067 Added new test, "event-listener-test";
4068 this code does two things; it benchmarks traversal time
4069 for the accessible hierarchy for the first running accessible
4070 app, and it connects listeners for all supported event types.
4071 It is thus useful as an example event listener and for
4072 diagnostics/debugging of event generation.
4074 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4077 Removed unnecessary dependency on libutil.
4080 Revved micro version: 0.13.1
4082 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4085 Removed util/Makefile from targets.
4088 Removed util subdir from SUBDIRS (temporarily,
4089 pending removal of magnifier-only code
4093 #ifdef-ed out magnifier dependencies, since
4094 magnifier IDL, headers, and binary now live in
4095 module gnome-mag and we don't want at-spi to depend
4096 on gnome-mag. A magnifier demo which can run alongside
4097 simple-at is forthcoming in the gnome-mag module.
4099 NOTE: Split magnifier binary, IDL, and magnification
4100 activation code from at-spi into module gnome-mag.
4102 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4104 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4105 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4107 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4110 Revved to version 0.13.0
4112 * idl/Accessibility_Registry.idl:
4113 Changed definition of KeySet from sequence of longs to sequence of
4114 KeyDefinitions, and added KeyDefinition struct.
4115 Required for fix to bug 80616.
4117 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4118 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4119 to use new definition (see above).
4121 * registryd/deviceeventcontroller.c: handle_keygrab(),
4122 spi_keyset_contains_key():
4123 Changed to make use of new struct; this allows matching based on
4124 string key-name, for instance "Tab". This also allows matching of
4125 composed characters, non-alphanumeric characters in a way that
4126 doesn't involve dependencies on X keysym codes directly, etc.
4128 * test/key-listener-test.c:
4129 Added test for Alt-Tab key using "string" specification of keyset,
4130 and modified one of the tests to use a keycode-based keyset.
4131 Thus this test both tests and demonstrates the creation and use of
4132 keysets of three forms: specified via keycode array,
4133 keysym array, and string array. (The string case only contains a
4134 single string, i.e. a string array of length 1).
4137 Turned on PRINT_TREE option by default. Also fixed a
4138 string-freeing bug in the PRINT_TREE code.
4139 Added a listener to window:minimize events.
4141 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4143 * atk-bridge/bridge.c:
4144 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4145 for window:activate and window:deactiveate
4146 (atk_bridge_property_event_listener atk_bridge_signal_listener
4147 atk_bridge_window_event_listener) Tidy debug code
4149 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4151 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4152 Fixed handling for NULL return value from ATK.
4154 * libspi/action.c libspi/component.c libspi/editabletext.
4155 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4156 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4157 Removed redundant casts.
4159 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4160 Fixed off by one bug.
4162 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4163 function not present in idl)
4165 2002-05-02 jacob berkman <jacob@ximian.com>
4167 * atk-bridge/Makefile.am: make atk-bridge a real module
4169 2002-04-26 Radek Doulik <rodo@ximian.com>
4171 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4172 atk_state_types table
4174 2002-04-22 jacob berkman <jacob@ximian.com>
4177 * libspi/Makefile.am: add deps on the built files to help
4178 automake, and don't version the ORBit typelib
4180 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4182 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4183 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4184 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4185 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4186 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4187 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4188 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4189 libspi/accessible.h libspi/accessible.h libspi/base.h
4190 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4191 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4192 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4193 libspi/spi-private.h libspi/statetset.h libspi/table.h
4194 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4195 util/mag_client.h util/mag_control.c util/mag_image.c
4196 util/mag_image.h util/magnifier.c util/magnifier.h:
4197 Add missing file headers; standardize existing ones
4199 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4201 * atk-bridge/bridge.c: Added window event support.
4203 2002-04-18 Michael Meeks <michael@ximian.com>
4205 * libspi/relation.c (impl_getNTargets): impl.
4206 (impl_getTarget): impl.
4208 * libspi/Makefile.am: fix stateset install.
4210 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4213 Started putting useful info in this file.
4215 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4217 * atk-bridge/bridge.c:
4218 Propagate state-changed notifications to ATs
4220 * cspi/spi_registry.c: update docs to reflect actual behavior of
4221 state-change events.
4223 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4226 Incremented version to 0.12.1
4228 * util/mag_client.h:
4229 Add missing declaration for magnifier_exit,
4230 used by mag_control.c - Forte compiler didn't like
4231 the implicit redeclaration of the function :-(
4234 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4237 Revved version to 0.12 due to API change (see below).
4239 * cspi/spi-roletypes.h:
4240 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4241 definition from the inline docs, and added docs
4242 for SPI_ROLE_LAST_DEFINED.
4245 * cspi/spi_streamablecontent.c:
4246 Added missing seek_type parameter to
4247 (so far unused) method,
4248 AccessibleStreamableContent_seek().
4249 [ RT approval JodyG. ]
4252 Fixed docs for SPI_createAccessibleKeystrokeListener.
4254 * cspi/spi_registry.c:
4255 Fixed docs for SPI_KEYSET_ALL_KEYS.
4257 * docs/reference/cspi/at-spi-cspi-sections.txt:
4258 Added a number of missing APIs to SECTIONS.
4260 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4262 * registryd/Makefile.am:
4264 * cspi/bonobo/Makefile.am:
4265 Add $(X_LIBS) to makefiles.
4267 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4270 Revved version to 0.11.
4272 * libspi/component.c:
4273 Added implementation for grabFocus.
4275 * idl/Accessibility_Component.idl
4276 (Accessibility_Component_grabFocus):
4277 Made this method return boolean to indicate success or failure, to
4278 be consistent with cspi and the corresponding ATK method.
4280 * idl/Accessibility_Selection.idl
4281 (Accessibility_Selection_selectAll) :
4282 Made these methods return boolean to indicate success or
4283 failure, to be consistent with cspi and the corresponding ATK methods.
4285 * idl/Accessibility_EditableText.idl
4286 (Accessibility_EditableText_setTextContents,
4287 Accessibility_EditableText_insertText,
4288 Accessibility_EditableText_cutText,
4289 Accessibility_EditableText_deleteText,
4290 Accessibility_EditableText_pasteText):
4291 Made these methods return boolean to indicate
4294 * cspi/spi_editabletext.c:
4295 Made these methods return booleans.
4297 * libspi/selection.c:
4298 * libspi/component.c:
4299 * libspi/editabletext.c:
4300 Connected the boolean returns from ATK
4301 to the server-side code referenced above.
4303 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4305 * idl/Accessibility_Table.idl: Added missing methods,
4306 Accessibility_Table_addRowSelection,
4307 Accessibility_Table_addColumnSelection,
4308 Accessibility_Table_removeRowSelection,
4309 Accessibility_Table_removeColumnSelection.
4312 Added C wrappers for above IDL:
4313 AccessibleTable_addRowSelection,
4314 AccessibleTable_addColumnSelection,
4315 AccessibleTable_removeRowSelection,
4316 AccessibleTable_removeColumnSelection.
4319 Added server-side implementation code for IDL above, connecting
4320 to pre-existing ATK api.
4322 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4324 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4326 * libspi/accessible.c: Added implementation fo
4327 Accessibility_Accessible_get_state.
4329 * libspi/libspi.h: Added stateset.h to the list of includes.
4331 * libspi/stateset.c: Fixed broken implementation.
4333 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4336 Added implementation code for Accessibility_Magnifier_exit ().
4338 * util/mag_control.c:
4339 Added test code for above method; you can
4340 now kill an existing magnifier via
4341 ./mag_control q, from the util directory.
4343 * test/key-listener-test.c:
4345 Added a new test, for our key listener API.
4347 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4349 * test/app.c, test/keysynth-demo.c:
4351 Replace use of snprintf with g_snprintf.
4352 (fix for bugzilla 78249)
4354 2002-03-27 Michael Meeks <michael@ximian.com>
4358 * util/Makefile.am (INCLUDES): fix.
4359 (DONT_DIST_SOURCE): don't distribute the
4362 * libspi/Makefile.am (dist-hook): ditto.
4364 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4366 * libspi/hypertext.c:
4367 Fix warnings when yelp is used with atk-bridge
4369 2002-03-21 Michael Meeks <michael@ximian.com>
4371 * libspi/application.c (spi_application_new):
4372 use spi_accessible_construct so we use the AtkObject
4375 2002-03-19 Michael Meeks <michael@ximian.com>
4377 * registryd/registry.c (desktop_remove_application),
4378 (desktop_add_application): clean coding style.
4380 * registryd/desktop.c (spi_desktop_remove_application),
4381 (spi_desktop_add_application): kill re-enterency hazards.
4382 (spi_desktop_dispose): remove bogus redundant cast
4383 obscuring bug; fix bug too.
4384 (spi_desktop_init): make the desktop object immortal.
4386 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4389 Added a #define-guarded tree-traversal step
4390 when enumerating the apps (diagnostic tool).
4392 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4394 * idl/Accessibility_Role.idl:
4395 Added ROLE_DRAWING_AREA which seemed to be missing from the
4398 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4400 * cspi/spi-roletypes.h cspi/spi_accessible.c
4401 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4404 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4405 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4406 AT when applications are added and removed from the desktop. This
4407 reverts the previous broken implementation using the backing
4408 AtkObject for the SpiDesktop.
4410 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4412 * registryd/desktop.c: emit the "children-changed::add" and
4413 "children-changed::remove" signals on the backing ATK object for
4414 the desktop so AT can tell when applications are started and shut
4417 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4419 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4421 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4423 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4425 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4427 * cspi/state-types.h: synched with IDL and ATK
4429 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4431 * libspi/accessible.c
4432 (impl_accessibility_accessible_get_child_at_index):
4433 Change return value for g_return_if_fail ()
4434 to CORBA_OBJECT_NIL instead of "0" (!)
4436 * registryd/Makefile.am:
4437 * registryd/Accessibility_Register.server.in:
4438 Changed name of executable, "registryd",
4439 to something more informative:
4442 2002-03-13 Michael Meeks <michael@ximian.com>
4444 * atk-bridge/bridge.c (atk_bridge_init): don't register
4445 if we're in a bonobo-component, rather than a bonobo app.
4447 2002-03-13 Michael Meeks <michael@ximian.com>
4449 * atk-bridge/bridge.c (gtk_module_init): split
4450 out body to (atk_bridge_init): here, since otherwise
4451 we get symbol conflicts and oddness when invoked
4452 from (gnome_accessibility_module_init): here (upd.)
4454 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4457 New file. Explicitly allow "build sheriff" putbacks provided
4458 they are tested on Solaris.
4460 * docs/reference/cspi/Makefile.am:
4461 Added '-' to the "cp" command for index.sgml.
4462 ("patch by thomasvs, soon coming to a GUADEC near you")
4465 Incremented version number (0.9.0) for new release.
4466 Changed macro that checks for popt, to better detect
4467 obsolete versions of popt.
4470 Added X_LIBS to AC_SUBST, for applications
4471 that call Xlib API directly.
4474 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4477 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4480 Fix regression caused by hard-coding major
4481 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4484 * test/test-simple.c (test_editable_text),
4485 (test_test): revert previous change (error was
4486 a regression in gail which is now fixed).
4488 2002-03-04 Michael Meeks <michael@ximian.com>
4490 * test/test-simple.c (test_editable_text),
4491 (test_text): pass G_MAXINT instead of '-1' for
4492 whole string - is this a good thing !?
4494 * cspi/spi_accessible.c
4495 (Accessible_getRelationSet): fix crasher bug
4496 overwriting the end of the array.
4498 * test/test-simple.c (validate_accessible): free,
4499 not g_free returned relation set.
4501 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4503 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4504 implemented stateset support
4506 * idl/Accessibility_State.idl: Made necessary changes to
4507 the IDL to support state sets.
4509 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4511 * registryd/deviceeventcontroller.c:
4512 Added implementation for generateMouseEvent.
4514 * cspi/spi_registry.c:
4515 Connected new implementation for generateMouseEvent
4518 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4521 Incremented revision (but no change in public API
4522 outside of 'utils', which are not installed public yet.)
4524 * libspi/component.c:
4525 Changed to use atk_component API for layers and
4526 mdi_zorder, instead of deprecated atk_object API.
4528 Magnification Utility Enhancements:
4531 Added implementation of createZoomRegion, clearAllZoomRegions,
4532 resizeZoomRegion. Added new commandline argument
4533 "--no-initial-region". Note that clearAllZoomRegions doesn't
4534 unmap the old '0' region as it should (yet), and the other
4535 methods only work when creating/resizing a single region,
4536 which is "region 0".
4537 (Code for multiple region support will be added later.)
4540 Now we raise the magnifier window each time it's refreshed;
4541 this will help keep it on top.
4543 * util/mag_client.h:
4544 Added simple wrappers for above, used by mag_control.
4545 For general use, it's recommended to use the bonobo magnifier
4546 control API directly instead of using these wrappers.
4549 Moved ZoomRegionData from magnifier.c to this file.
4551 * util/mag_control.c:
4552 Added some code to exercise new IDL implementations.
4554 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4556 * libspi/text.c: Provide implementation for getAttributes.
4558 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4561 Incremented revision.
4563 * test/test-simple.c:
4564 Replaced use of deprecated g_main_iteration with
4565 g_main_context_iteration.
4567 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4570 Incremented revision for desktop alpha 2.
4572 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4574 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4577 * test/simple-at.c: include netinet/in.h.
4579 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4581 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4582 use NULL, not CORBA_OBJECT_NIL.
4584 * libspi/accessible.c:
4585 (impl_accessibility_accessible_get_relation_set):
4586 allocate the sequence correctly.
4588 * libspi/remoteobject.h: kill spi_remote_object_new.
4590 * test/test-simple.c: (validate_accessible): add code
4591 to test relation sets, now all we need is to figure
4592 out how to excercise this code path :/
4594 2002-01-18 Michael Meeks <michael@ximian.com>
4596 * test/test-simple.c
4597 (key_listener_cb): consume the key.
4598 (test_keylisteners): update.
4599 (main): wait for any pending unrefs on events.
4601 * registryd/deviceeventcontroller.c
4602 (spi_controller_update_key_grabs): only re-issue the
4603 grab on a key release.
4604 (spi_device_event_controller_forward_key_event):
4605 refresh the keygrabs before we notify the listeners,
4606 to reduce the X ungrab / re-grab race.
4607 (spi_controller_register_with_devices): remove
4608 XSelectInput - we do that with the gdk_window_ call.
4609 (_spi_controller_device_error_handler): return a value.
4610 s/GDK_DISPLAY/spi_get_display/
4612 2002-01-17 Michael Meeks <michael@ximian.com>
4614 * registryd/deviceeventcontroller.c
4615 (_deregister_keygrab): don't blow out the later
4618 * test/test-simple.c (test_keylisteners): do a
4619 more intelligent validation.
4621 2002-01-14 Michael Meeks <michael@ximian.com>
4623 * atk-bridge/bridge.c
4624 (gnome_accessibility_module_init),
4625 (gnome_accessibility_module_shutdown): impl.
4626 (gtk_module_init): protect vs. double inits.
4627 (add_signal_listener): impl.
4628 (spi_atk_bridge_state_event_listener): kill
4629 (deregister_application): split out of
4630 (spi_atk_bridge_exit_func): here.
4632 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4635 Added caret tracking when using magnifier, and
4636 now use text bounds for focus tracking of text elements, rather than
4637 the component bounds - this is helpful for short text fields in long
4638 table cells, at high magnification.
4640 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4642 * registryd/deviceeventcontroller.c:
4643 Regression fix for keylistener de-registration; global keygrabs
4644 were not being released when deregisterKeystrokeListener was
4645 called in cspi, since
4646 Accessibility_DeviceEventController_deregisterKeystrokeListener
4647 was called with a zero-length keyset. That is because the cspi
4648 method, SPI_deregisterKeystrokeListener, does not take a keyset
4649 parameter but instead should remove all the key grabs held be a
4651 The code in impl_deregister_keystroke_listener was changed to copy
4652 the keylist from the listener instance previously registered with
4653 the DeviceEventController before releasing the grabs.
4655 * registryd/registry.c:
4656 * registryd/deviceeventcontroller.c:
4657 * libspi/spi-private.h:
4659 Changed spelling of "re-enterant" to "re-entrant" globally.
4661 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4663 * test/test-simple.c:
4664 Changed key listeners test - the test was slightly mis-using the
4665 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4666 It now uses '=' as the key event listened to and generated,
4667 relying on a keysym match rather than assuming that keycode 33
4668 is always equal to keysym '!'.
4670 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4673 Changed simple-at to use a specific keyset, rather than
4674 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4675 manager, desktop, etc.
4677 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4679 * registryd/deviceeventcontroller.c:
4680 Replaced standard X error handler with a special handler that
4681 is non-fatal for failed keygrabs. This works around
4682 problems with keygrab clashes sometimes observed on
4684 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4685 mouse handling code as yet).
4687 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4690 Incremented revision for desktop alpha release.
4693 Fixed a couple of the more glaring errors (still not
4696 2002-01-11 Michael Meeks <michael@ximian.com>
4698 * registryd/deviceeventcontroller.c
4699 (spi_device_event_controller_forward_key_event): kill
4700 XUngrabKey / XKeyGrab race.
4701 (spi_controller_grab_keyboard): rename to
4702 (spi_controller_update_key_grabs): this, and deal
4703 with incremental adding / removing grabs more
4705 (_register_keygrab): ensure we're not pending a remove.
4706 (spi_grab_mask_free): impl.
4707 (spi_controller_register_global_keygrabs): split out
4709 (handle_keygrab): impl.
4710 (_deregister_keygrab): impl.
4711 (spi_controller_deregister_global_keygrabs): impl.
4712 (spi_controller_update_key_grabs): re-issue the grab if
4713 we just recieved a notification.
4715 * test/test-simple.c (key_listener_cb): remove debug.
4717 * registryd/deviceeventcontroller.c
4718 (spi_controller_register_device_listener): after
4719 registering a global keygrab, actualy register it !
4720 don't wait for a timeout; doh !
4722 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4723 to make it more readable / manipulable.
4724 s/grabmask/grab_mask/ s/refcount/ref_count/
4725 s/keyval/key_val/ s/modmask/mod_mask
4727 2002-01-08 Michael Meeks <michael@ximian.com>
4729 * registryd/deviceeventcontroller.c
4730 (spi_controller_register_with_devices): use gdk calls to
4732 (global_filter_fn): implement the filter.
4733 (spi_device_event_controller_check_key_event): rename to
4734 (spi_device_event_controller_forward_key_event): this & upd.
4735 (spi_get_display): replace with GDK_DISPLAY.
4737 * registryd/deviceeventcontroller.c
4738 (spi_controller_deregister_device_listener): unroll into
4739 (impl_deregister_keystroke_listener): here to simplify.
4740 (spi_controller_register_global_keygrabs): split cut and
4741 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4742 (spi_controller_deregister_device_listener): remove.
4743 (impl_register_mouse_listener): remove, no mouse listener
4744 support in at-spi-1.0
4746 * registryd/registry.c
4747 (_device_event_controller_hook): kill.
4748 (spi_registry_init): upd.
4750 * registryd/deviceeventcontroller.c
4751 (spi_device_event_controller_class_init): upd.
4752 (spi_check_key_event): merge into.
4753 (spi_device_event_controller_check_key_event):
4754 here and kill strange static ev init, don't leak
4755 the x_event - nor dynamicaly allocate it.
4757 * registryd/registry-main.c (main): re-direct
4758 timeout to remove strange vtable mess.
4760 * registryd/deviceeventcontroller.c
4761 (remove_listener_cb): impl.
4762 (spi_controller_deregister_device_listener):
4763 fix re-enterancy hazard.
4765 2002-01-07 Michael Meeks <michael@ximian.com>
4767 * registryd/deviceeventcontroller.c
4768 (spi_device_event_controller_new): upd.
4769 (impl_notify_listeners_sync): upd. debug.
4770 (spi_notify_keylisteners): fix re-enterancy hazards,
4771 prettify, remove O(n*n) iteration.
4772 (spi_controller_grab_keyboard): fix iteration.
4773 (spi_check_key_event): re-format to suit coding style.
4774 Clean all the warnings - we're warning free.
4776 * registryd/deviceeventcontroller.h:
4777 * registryd/registry.h: make mutualy referential with
4778 typesafe forward references instead of (!) void pointer
4781 2002-01-11 Michael Meeks <michael@ximian.com>
4783 * cspi/spi_accessible.c (role_names): add a role name
4784 to sync this array with the enum; and make the regression
4787 2002-01-10 Michael Meeks <michael@ximian.com>
4789 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4790 allow expansion of enumeration & kill warning.
4792 * test/test-simple.c (key_listener_cb): impl.
4793 (test_keylisteners): impl.
4795 * cspi/spi-listener.h: make listener signatures const
4796 on the provided (const) events.
4798 * test/keysynth-demo.c: upd. to const events.
4800 * test/simple-at.c: ditto.
4802 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4805 Rev the version to 0.5 (the previous tarball was named 0.4,
4806 even though the micro number was 3), so we need to rev upwards
4807 again for beta2/"desktop-alpha"
4810 Checked in a demo script, which requires editing before use!
4811 Proceed with caution.
4814 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4816 * cspi/spi_accessible.c:
4817 Add a couple of missing enum initializations, and fix some enum
4820 * cspi/spi_registry.c:
4821 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4823 * docs/reference/cspi/at-spi-cspi-sections.txt:
4824 Remove/fix a couple of broken document references.
4827 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4828 as Alt-Control to listen for commands, since on some systems
4829 Control-Alt may already be grabbed.
4831 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4834 Update version number to 0.4 for Beta2.
4836 * libspi/accessible.c, libspi/accessible.h:
4837 Expose spi_accessible_construct, to enable libgail-gnome
4838 construction from spi_accessible subtype.
4840 * utils/magnifier.c:
4841 Workaround for bug in some non-gnome-compliant window managers
4842 which made magnifier resize improperly.
4844 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4846 * libspi/accessible.c: (spi_accessible_new) :
4847 Move the test for SPI_IS_REMOTE_OBJECT to
4848 spi_accessible_new_return, fixing a bug and compile time warning.
4850 2002-01-08 Michael Meeks <michael@ximian.com>
4852 * registryd/registry.c (parse_event_type): remove strndup.
4854 * libspi/Makefile.am (libspi_la_SOURCES): remove
4855 sources already included in the headers section.
4857 * libspi/util.c: add.
4859 * libspi/spi-private.h: add.
4861 * registryd/registry.c: update to moved list iterators.
4863 2002-01-05 Michael Meeks <michael@ximian.com>
4865 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4867 * test/test-simple.c (main): ditto.
4869 2002-01-04 Michael Meeks <michael@ximian.com>
4871 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4872 redundant construct.
4874 * registryd/registry.c
4875 (get_listener_list): impl.
4876 (impl_accessibility_registry_register_global_event_listener):
4877 re-impl. to simplify using ~, remove dodgy const cast off.
4878 (parse_event_type): constify.
4879 (impl_accessibility_registry_deregister_global_event_listener_all):
4880 re-write, more efficiency and simplicity, kill re-enterancy
4882 (compare_listener_corbaref, compare_corba_objects),
4883 (compare_listener_quarks): define out.
4884 (impl_accessibility_registry_deregister_global_event_listener):
4885 re-write for effiency, and nail re-enterancy hazard.
4886 (impl_accessibility_registry_get_desktop_list): impl.
4887 (re_enterant_list_delete_link): impl.
4888 (re_enterant_list_foreach): impl.
4889 (remove_listener_cb): impl.
4890 (_registry_notify_listeners): kill.
4891 (notify_listeners_cb): impl.
4893 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4894 (SPI_getDesktopList): impl.
4896 * test/test-simple.c (test_desktop): test the methods.
4898 2002-01-03 Michael Meeks <michael@ximian.com>
4900 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4901 keystrings since we free them
4902 (SPI_freeAccessibleKeySet): in here.
4904 * libspi/accessible.c (spi_accessible_new): kill warning,
4905 wonder what is going on with the constructor here.
4907 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4909 * libspi/accessible.c (spi_accessible_new ()) :
4910 Added check to see if AtkObject is an SpiRemoteObject before
4911 creating an SpiAccessible.
4913 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4915 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4916 Enable keygrabs using the Control modifier, now that they are
4917 working properly (they were previously disabled).
4920 Change the command keygrab for this demo to "Control+Alt", so as
4921 to conflict with fewer other key commands on the system; this
4922 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4924 Removed a pointlessly-chatty keylistener for unshifted keys
4925 (shifted keys are still reported).
4927 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4929 * libspi/remoteobject.h:
4930 * libspi/remoteobject.c:
4931 Added definitions for special AtkObject subtype, required for
4932 support of remote components (specifically, used by BonoboControl
4933 accessibility implementation).
4935 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4937 * cspi/spi.h: synched relation types with ATK
4939 * cspi/spi_accessible.c: Added implementations of
4940 AcccessibleRelation_* methods
4942 * idl/Accessibility_Relation.idl: added getRelationTypeName
4943 method. Synched known relation types with ATK. Allowed for
4944 relation type extension with the RELATION_EXTENDED type.
4946 * libspi/relation.c: Provided implementations for
4947 AccessibleRelation methods.
4949 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4951 API tweaks for today's API 'freeze'.
4954 Added placeholder functions to allow future compatible expansion
4955 of the IDL interfaces.
4957 * idl/Accessibility_Registry.idl:
4958 Changed generateKeyEvent to generateKeyboardEvent. Changed
4959 signature of this method to accept an optional keystring in
4960 parameter (for complex text input synthesis) and changed use of
4961 simple 'boolean' parameter in registerKeystrokeListener to a
4962 struct, EventListenerMode.
4964 * cspi/spi_accessible.c:
4966 * cspi/spi_streamablecontent.c:
4967 Added references to AccessibleStreamableContent interface, and
4968 definition and implementation of AccessibleStreamableContent
4971 * cspi/spi_registry.c:
4973 Changed generateKeyEvent API to generateKeyboardEvent,
4974 taking a new (optional) keystring parameter to support complex
4979 Renamed directory (to better reflect its actual purpose, bridging
4980 from at-spi to ATK). The .so module is also now named
4983 * idl/Accessibility_Hypertext.idl:
4984 * libspi/accessible.c:
4985 * libspi/hypertext.h:
4986 * libspi/hypertext.c:
4987 Changed Accessibility_Hypertext to *not* derive from
4990 * cspi/spi_registry.c:
4991 Added list of legal event type names for 'window' events, which
4992 completes the registry event API.
4994 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4996 * at-bridge/bridge.c: Added registration for separate
4997 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4998 signals. If either of the first two parameters to the generic
4999 bridge signal handler are ints, they are passed on as event
5000 details. This allows an AT to determine what text was inserted.
5002 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5004 * registryd/deviceeventcontroller.c:
5005 Fixed regressions in generateKeyEvent caused by the removal of
5006 gdk_init from registryd; we now use pure X calls to connect to the
5007 display, which makes sense because deviceeventcontroller already
5008 uses a fair bit of X API (should eventually be migrated to a
5009 'portability layer').
5011 * registryd/desktop.c:
5012 Fixed minor regression in spi_desktop_init, changed the way the
5013 desktop name is being set to work with new spi_base API
5014 (gobject-based, rather than AtkObject-based).
5016 * registryd/Makefile.am:
5017 Minor revision of makefile to use XTST_LIBS variable rather than
5018 hard-wiring the Xtst LD_ADD element.
5020 * test/keysynth-demo.c:
5021 Tweaked an output message; added initialization of the
5022 'keystrings' member of the "switch listener" key_set.
5024 * libspi/relation.c:
5025 Squashed compile-time warning.
5027 * libspi/accessible.c:
5028 Cosmetic and formatting fixes, renamed a static method.
5030 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5032 * libspi/accessible.c
5034 * libspi/application.c
5037 * libspi/component.c
5038 * libspi/editabletext.c
5039 * libspi/hyperlink.c
5040 * libspi/hypertext.c
5042 * libspi/selection.c
5046 * registryd/desktop.c:
5047 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5049 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5051 * idl/Accessibility_Registry.idl:
5052 Added boolean member 'is_text' to DeviceEvent. This is for the
5053 use of key events, and helps prevent ambiguity between composed
5054 key strings and keysym names, since both may potentially be
5055 returned in the 'event_string' member.
5057 * at-bridge/bridge.c:
5058 * registryd/deviceeventcontroller.c:
5059 Use the 'is_text' member when notifying device event listeners.
5060 Knon issue: composed characters are not dealt with correctly by
5061 the global key listener implementation yet.
5063 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5065 * at-bridge/bridge.c:
5066 Namespaced local static methods to spi_atk_bridge_* where
5067 previously named bridge_*, and spi_* elsewhere.
5069 * at-bridge/bridge.c:
5070 * cspi/bonobo/cspi-bonobo-listener.c:
5071 Added demarshalling/conversion for string member of
5072 Accessibility_DeviceEvent to AccessibleKeystroke.
5074 * registryd/deviceeventcontroller.c:
5075 Added code to fill the Accessibility_DeviceEvent key string value
5076 member for global key events (i.e. from XGrabKey), to match
5077 behavior of Accessibility_DeviceEvent from the toolkit key events
5078 from the bridge. Fixed timestamp in global key event notifications.
5081 Added printout of key event's string value to
5082 report_ordinary_key_event, for demo/debugging purposes.
5084 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5086 * idl/Accessibility_Registry.idl:
5087 Removed Accessibility_KeyStroke structure in favor of generic
5088 Accessibility_DeviceEvent structure.
5089 Changed Accessibility_ControllerEventMask from a struct to an
5092 * at-bridge/bridge.c:
5093 Changed APIs to use DeviceEvent structure as above, and removed
5094 bogus casting between these event structures.
5096 * cspi/spi-listener.h:
5097 Added keystring member of AccessibleKeystroke structure, to enable
5098 matching on event "names" rather than only hardware codes and
5102 Added keystrings member of AccessibleKeySet struct, to allow
5103 matching on event names (as above).
5104 Added declarations for SPI_createAccessibleKeySet and
5105 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5106 event modmasks directly as unsigned ints rather than structs with
5107 refcounts, in the DeviceEventController methods.
5109 * cspi/spi_registry.c:
5110 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5112 * cspi/spi-roletypes.h:
5113 Added documentation of newly added SPI Roles.
5115 * cspi/bonobo/cspi-bonobo-listener.c:
5116 Changes in support of API changes above.
5118 * libspi/accessible.c:
5119 Converted APIs to use DeviceEvent structure (see IDL changes
5122 * registryd/deviceeventcontroller.c:
5123 Added DEControllerGrabMask structure to track keygrabs not only by
5124 modmask but by keyset as well; this allows us to do "global"
5125 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5126 grabbing on AnyKey and then filtering after-the-fact.
5127 Bugfixes for event filtration mean that we don't get false matches
5128 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5130 * registryd/deviceeventcontroller.c:
5131 Namespaced a number of static methods to use spi_ prefix. Major
5132 revision to internals of global (i.e. X) key grabs.
5134 * registryd/deviceeventcontroller.h:
5135 Removed keymask_list and added keygrabs_list to
5136 SpiDeviceEventController struct.
5139 Added use of SPI_createAccessibleKeySet API when creating a
5140 listener for only one key. Attach a listener to "shift spacebar
5141 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5142 X key event names to SPI key event names, so that listeners are
5143 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5145 * test/keysynth-demo.c:
5146 Changed (incorrect) use of X key event names (KeyPressed,
5147 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5150 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5152 * libspi/accessible.c:
5153 Convert all AtkRole enumerations to Accessibility_Role enums when
5154 getting a role from an AtkObject.
5156 * cspi/spi_accessible.c:
5157 Complete the conversion of Accessibility_Role enums at runtime to
5158 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5159 role enums correctly match those given in spi-roletypes.h.
5160 Re-synchronize the local names list for AccessibleRole_getName ().
5161 AccessibleRole_getName is now deprecated, since it duplicates the
5162 more reliable Accessible_getRoleName.
5163 Added some role types from Accessibility_Role.idl.
5165 * idl/Accessibility_Role.idl:
5166 Added some role types used by AtkRole.
5168 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5171 * cspi/spi_registry.c:
5173 * cspi/cspi-bonobo-listener.c:
5174 Namespaced all methods that did not begin with an "SPI_" or
5175 "Accessible" prefix to "SPI_".
5178 Homogenized internal function namespace to "cspi_" for statics.
5181 Patched tests to use the new CSPI API.
5183 * docs/reference/cspi/at-spi-cspi-sections.txt:
5184 Updated docs to reflect namespace changes, and added a number of
5185 methods to the documentation.
5187 * registryd/registry.c:
5188 Changed use of strings and string hashes in listener event
5189 matching and parse_event_string to use GQuark, which is guaranteed
5192 * registryd/registry.h:
5193 Squashed annoying warning.
5195 * idl/Accessibility_Role.idl:
5196 Extended range of available Accessibility_Role values.
5198 * cspi/spi_accessible.c:
5199 Re-ordered role names.
5201 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5203 * idl/Accessibility_Value.idl:
5204 Revert use of union back to CORBA_double, since the double type is
5205 more efficient and can contain the other types without loss of
5208 * idl/Accessibility_Accessible.idl:
5209 Added method Accessibility:Accessible:getRoleName, to complement
5210 Accessibility:Accessible:getRole.
5212 * cspi/spi_accessible.c:
5214 Added C binding for above, Accessible_getRoleName (), and changed
5215 signature of Accessible_getRole () to return an AccessibleRole.
5217 * cspi/spi-roletypes.h:
5218 Changed AccessibleRole_getName to return a char * instead of a
5219 const char *. This method is now at least temporarily deprecated
5220 in favor of asking Accessibles for their RoleNames directly.
5223 Revert to match Accessibility_Value.idl;
5227 Change signature of AccessibleValue methods to use double rather
5231 * cspi/spi_accessible.c:
5232 Changed Accessible_getRole to return an AccessibleRole enum rather
5233 than a UTF-8 string. The UTF-8 string can still be obtained via
5234 AccessibleRole_getName ().
5236 * test/test-simple.c:
5237 Add test_action. Small fixup to match API change to Accessible_getRole.
5240 Bugfix for get_action_from_servant ().
5242 2001-12-11 Michael Meeks <michael@ximian.com>
5244 * libspi/libspi.h: remove registry.h and
5245 desktop.h, deviceeventcontroller.h
5247 * libspi/Makefile.am: remove registry.[ch],
5248 desktop.[ch], deviceeventcontroller.[ch]
5250 * registryd/Makefile.am: add registry.[ch],
5251 desktop.[ch], rename registryd.c to registry-main.c.
5252 add deviceeventcontroller.[ch]
5254 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5257 Replace setenv() call with putenv ().
5259 * libspi/component.c:
5260 Bugfix in AccessibleComponent_getExtents (),
5263 2001-12-11 Michael Meeks <michael@ximian.com>
5265 * libspi/image.c (impl_getImageExtents): impl.
5266 (spi_image_class_init): upd.
5269 (AccessibleImage_getImageDescription): fix daft bug
5272 * test/test-simple.c (global_listener_cb): update
5273 to only quit if not --poke
5274 (main): catch --poke.
5275 (validate_accessible): upd. dumping, call test_image
5278 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5281 * idl/Accessibility.idl: update all IDL includes.
5283 * idl/*.idl - rename to namespace - this sucks, blame
5284 mjs' bad decision for oafd.
5286 * test/test-simple.c (create_test_window): add more tests.
5287 (create_tree): split this out.
5288 (validate_accessible): bugfix.
5290 2001-12-11 Michael Meeks <michael@ximian.com>
5292 * cspi/bonobo/cspi-bonobo-listener.c:
5293 (cspi_kestroke_listener_unref),
5294 (cspi_event_listener_unref): impl. undoing previous
5295 homenous environment - for Bill.
5297 * cspi/spi_table.c (long_seq_to_array): use
5300 * cspi/spi_main.c: split out all bonoboish bits into
5303 * cspi/spi-impl.h: upd. typedefs.
5305 * cspi/spi_registry.c: update to lowlevel API,
5306 return booleans to indicate success in some places.
5308 * cspi/spi_event.c: update to lowlevel API.
5310 * cspi/bonobo/Makefile.am: add.
5312 * cspi/bonobo/cspi-lowlevel.h: add
5314 * cspi/bonobo/cspi-bonobo.c: add
5316 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5318 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5319 (SUBDIRS): add bonobo, link in the libs.
5321 * cspi/spi-util.c: kill this file.
5323 * TODO: merge in my bits.
5325 2001-12-11 Michael Meeks <michael@ximian.com>
5327 * test/test-simple.c (test_value, test_table, main):
5328 remove unused variables causing warnings.
5330 * configure.in: cleanup checks - require gail.
5332 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5335 Changed Value interface to use SValue (scalars) rather than
5336 assuming all values are floats. This allows floats, doubles,
5337 longs, shorts, and unsigned values to be manipulated.
5338 Introduced Accessibility:SValue union.
5341 Updated to use new API above, and to work correctly with GValues
5342 of different types in AtkValue.
5345 Updated to use new API above. cspi's API is as yet unchanged.
5348 Updated the Value revision action item.
5350 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5352 * test/test-simple.c:
5353 Added test_table (GtkTreeView widget in test window to follow).
5354 Un-commented test_value, added GtkRange widget.
5355 Added GtkTreeView widget with GtkListStore. It passes regression
5356 test but leaks one SPI object for some reason.
5359 Fixed bug in impl__set_currentValue.
5361 2001-12-10 Michael Meeks <michael@ximian.com>
5363 * cspi/spi_text.c: audit for exception handling,
5364 tolerating NULL object references safely etc.
5366 * cspi/spi_value.c: ditto.
5368 * cspi/spi_table.c (AccessibleTable_getSummary),
5369 (AccessibleTable_getAccessibleAt),
5370 (AccessibleTable_getRowHeader),
5371 (AccessibleTable_getColumnHeader),
5372 (AccessibleTable_getCaption): fix bugs hidden by
5374 (long_seq_to_array): impl.
5375 (AccessibleTable_getSelectedRows),
5376 (AccessibleTable_getSelectedColumns): use it.
5378 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5381 Added a TODO list (rough and short for now).
5383 * cspi/spi_hyperlink.c:
5384 * cspi/spi_hypertext.c:
5385 Fixed macro name typos, and remove use of obsolete macro in
5386 AccessibleHyperlink_getLink.
5388 * cspi/spi_action.c:
5389 * cspi/spi_accessible.c:
5390 * cspi/spi_application.c:
5391 * cspi/spi_component.c:
5392 * cspi/spi_selection.c:
5395 Documentation fixes (removed return values from ref/unref methods).
5397 2001-12-10 Michael Meeks <michael@ximian.com>
5399 * cspi/spi_action.c: audit for exception handling,
5400 tolerating NULL object references safely etc.
5402 * cspi/spi_accessible.c: ditto.
5404 * cspi/spi_component.c: ditto.
5406 * cspi/spi_editabletext.c: ditto.
5408 * cspi/spi_hyperlink.c: ditto.
5410 * cspi/spi_hypertext.c: ditto.
5412 * cspi/spi_image.c: ditto.
5414 * cspi/spi_selection.c: ditto.
5416 2001-12-10 Michael Meeks <michael@ximian.com>
5418 * configure.in: use cspi/libspi.pc.in instead.
5420 * Makefile.am (pkgconfig_DATA): upd. to match.
5422 * test/simple-at.c (report_focus_event): kill hacks around
5423 bad return values, use putenv not setenv
5425 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5426 fire ChildGone - I killed it.
5428 * libspi/component.c
5429 (impl_accessibility_component_get_extents): remove
5432 * idl/Accessible.idl: kill ChildGone exception.
5434 * cspi/*.[ch]: kill int return from ref / unref.
5436 * cspi/spi_main.c (cspi_object_add_check): fold into
5437 (cspi_object_add): here.
5439 * cspi/spi_component.c (AccessibleComponent_getExtents):
5440 handle exceptions elegantly.
5442 * cspi/spi-private.h (cspi_check_ev_return),
5443 (cspi_return_if_fail): impl.
5445 * cspi/spi_accessible.c: use extensively.
5446 (AccessibleStateSet_equals): add direct compare check.
5448 * cspi/spi_selection.c: tolerate NULL objs, and check
5449 exceptions before return.
5451 * cspi/spi-util.c (cspi_warn_ev): rename to
5452 (cspi_check_ev): this & don't pass ev in; no point.
5454 2001-12-10 Michael Meeks <michael@ximian.com>
5456 * test/test-simple.c: use putenv not setenv
5457 (get_environment_vars): more chatty if you're not using
5460 * test/simple-at.c: do the setenv so more people see the
5463 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5465 * libspi/registry.c:
5466 Changed check of CORBA_environment on notification to be a warning
5467 instead of an error for the moment, since we can recover from this
5468 error when caused by a queued notification from a dead app.
5471 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5472 used by all current implementors of AtkValue), and coerce to
5473 CORBA_float. (Proper general case fix may require change to Value.idl).
5475 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5479 * cspi/spi_accessible.c:
5480 Documentation fixes: added user_data params to documentation for
5481 listeners and callbacks.
5483 * cspi/spi_accessible.c:
5484 Changed AccessibleStateSet_compare to return a
5485 StateSet rather than return the difference set into a third parameter.
5488 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5491 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5492 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5496 Remove subdirectory po from SUBDIRS for now.
5498 * at-bridge/bridge.c:
5499 Beefed up a couple of debug printouts.
5500 One-line fix for signal notification name formatting.
5502 * libspi/accessible.c:
5503 Added assertion to spi_accessible_new ().
5505 * libspi/application.c:
5506 Put #ifdef qualifiers around a printf.
5509 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5511 * registryd/Makefile.am:
5513 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5514 INTLTOOL_SERVER_RULE macro.
5517 Added an event listener for several ATK signals, for
5518 testing and debugging. Removed a few g_warnings.
5519 Added test output if focussed item implements the Value interface.
5521 * test/test-simple.c:
5522 Added test_value () function (known not to pass at the moment, so
5523 not actually called yet.
5525 2001-12-08 Michael Meeks <michael@ximian.com>
5527 * at-bridge/bridge.c (bridge_focus_tracker),
5528 (emit_eventv): fix the same ref. leak.
5529 (register_atk_event_listeners): don't leak.
5531 * cspi/spi-listener-impl.c (cspi_event): more
5532 protection from client code.
5534 * test/test-simple.c (test_desktop): unref the app.
5536 * test/Makefile.am: upd. TESTS.
5538 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5540 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5542 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5544 * cspi/spi_registry.c: constify in strings.
5545 (deregisterGlobalEventListenerAll): don't release the ref.
5547 * cspi/spi.h: start removing redundant / conflicting
5548 gtkdoc comments, making the API readable at a glance :-)
5550 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5552 * test/keysynth-demo.c (keysynth_exit, main): upd.
5554 * test/simple-at.c (main, simple_at_exit): upd.
5556 * test/test-simple.c (unutterable_horror): kill.
5557 (utterable_normal_derefs): kill.
5558 (main): upd & do a setenv before gtk_init, so that we
5559 can use memprof - and to save the pain of remembering
5560 this, if we're running under memprof - don't exit.
5562 * cspi/spi_main.c (SPI_exit): return exit status
5564 (SPI_event_quit): impl.
5565 (SPI_event_main): simplify.
5566 (cspi_is_gnome_app): kill.
5567 (SPI_init): kill isGNOMEapp arg.
5569 * at-bridge/bridge.c (register_atk_event_listeners):
5570 re-instate the unref.
5571 (bridge_exit_func): don't re-activate the registry,
5572 protect vs. theoretical re-entry, use the
5573 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5574 assert a clean shutdown - for regression tests.
5576 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5578 * configure.in: Comment out dummy i18n support for now,
5579 otherwise it fails to build.
5580 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5581 EXTRA_DIST. They are missing in tarball.
5583 2001-12-07 Michael Meeks <michael@ximian.com>
5585 * util/magnifier.c: kill bonobo activation reg. race.
5587 * libspi/component.c
5588 (impl_accessibility_component_get_extents): make it match
5591 * libspi/registry.c (_registry_notify_listeners):
5592 re-remove X headers & reconcile conflicts.
5593 (spi_listener_struct_free): bad conflict resolve.
5594 (impl_accessibility_registry_register_application):
5595 more bad merging fixed.
5596 (impl_accessibility_registry_deregister_application): ditto.
5597 (spi_registry_new): ditto.
5598 (spi_registry_init): don't have an applications field.
5600 [ merge fixups2 branch to here ]
5601 2001-12-07 Michael Meeks <michael@ximian.com>
5603 * test/simple-at.c (report_focus_event),
5604 (report_focussed_accessible): remove g_warning debug.
5606 2001-12-07 Michael Meeks <michael@ximian.com>
5608 * test/test-simple.c (validate_tree): comment out some checks.
5609 (test_desktop): app now not registered idly - horay.
5611 2001-12-07 Michael Meeks <michael@ximian.com>
5613 * cspi/spi_registry.c
5614 (registerAccessibleKeystrokeListener): clean, stop it leaking
5615 great swathes of memory, and device event controller references.
5616 ensure we always pass valid sequences.
5617 (deregisterAccessibleKeystrokeListener): ditto.
5618 (generateKeyEvent): upd.
5620 * at-bridge/bridge.c (bridge_key_listener): handle
5621 registry dead exception gracefully.
5622 (bridge_focus_tracker, emit_eventv): free ev.
5624 * test/simple-at.c (report_focus_event): fix polarity.
5626 * libspi/application.c (notify_listeners): kill the ev
5627 argument, and make sure we init the ev we use.
5628 (spi_application_object_event_listener): split out a chunk
5629 (get_atk_object_ref): here & fixup.
5630 (reverse_lookup_name_for_toolkit_event): make const.
5631 (spi_application_toolkit_event_listener): fixup, kill leaks
5634 * at-bridge/bridge.c (register_atk_event_listeners):
5635 don't unref the noop object - causes grief.
5637 * libspi/registry.c: remove the X headers.
5638 turn off the debug churn.
5640 * libspi/accessible.c (spi_accessible_new_return): only
5641 release the ref if we are supposed to [doh]
5643 * test/simple-at.c (report_button_press, report_focus_event):
5644 guard vs. unexpected exit.
5646 * at-bridge/bridge.c (gtk_module_init): prune printf.
5647 (bridge_exit_func): fix app unref.
5649 * libspi/Makefile.am: don't install registry or desktop.h
5651 * libspi/*.h: update includes.
5653 * libspi/application.h: don't include ourself, or
5654 other redundant headers.
5656 2001-12-06 Michael Meeks <michael@ximian.com>
5658 * libspi/accessible.c
5659 (get_accessible_from_servant): impl.
5660 Upd. all CORBA impl.s to use it killing cut and paste.
5662 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5664 (SPI_init): register atexit cleanup handler here.
5666 2001-12-06 Michael Meeks <michael@ximian.com>
5668 * at-bridge/bridge.c (gtk_module_init): g_error on
5669 activation exception
5671 2001-12-06 Michael Meeks <michael@ximian.com>
5673 * at-bridge/bridge.c (gtk_module_init): some sort of
5674 confusing merge clash - reverted.
5675 (bridge_idle_init): ditto.
5677 * test/test-simple.c (main, utterable_normal_derefs):
5678 merge from Bill - somehow not committed.
5680 2001-12-06 Michael Meeks <michael@ximian.com>
5682 * libspi/value.c (spi_value_class_init): upd.
5683 (spi_value_finalize): kill.
5685 * libspi/table.c (spi_table_finalize): kill.
5686 (spi_table_interface_new): upd.
5687 (spi_table_class_init): upd.
5688 (get_table_from_servant): impl.
5689 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5691 * libspi/selection.c (spi_selection_finalize): kill.
5692 (spi_selection_interface_new): upd.
5693 (spi_selection_class_init): upd.
5694 (get_selection_from_servant): impl.
5695 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5697 * libspi/relation.c (spi_relation_finalize): kill.
5698 (spi_relation_class_init, spi_relation_new): upd
5700 * libspi/image.c (spi_image_finalize): kill.
5701 (spi_image_class_init): upd.
5702 (spi_image_interface_new): upd.
5703 (get_image_from_servant): impl.
5704 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5706 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5707 (spi_hyperlink_finalize): kill.
5708 (spi_hyperlink_new): upd.
5709 (get_hyperlink_from_servant): impl.
5710 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5712 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5713 (spi_hypertext_finalize): kill.
5714 (spi_hypertext_class_init): upd.
5715 (get_hypertext_from_servant): impl.
5716 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5718 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5719 (spi_editable_text_interface_new): upd.
5720 (get_editable_text_from_servant): impl.
5721 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5723 * libspi/text.c (get_text_from_servant): impl.
5724 All impls - update to use it killing more cut and paste,
5725 also fix bad string returns on duff args ( a somewhat
5726 impossible case to handle - but hey ).
5727 (spi_text_construct): impl.
5728 (spi_text_interface_new): upd.
5729 (spi_text_object_finalize): kill.
5731 * libspi/component.c
5732 (accessibility_component_object_finalize): kill.
5733 (spi_component_class_init): upd.
5734 (get_component_from_servant): impl. helper to kill cut & paste.
5735 (impl_accessibility_component_contains):
5736 (impl_accessibility_component_get_accessible_at_point):
5737 (impl_accessibility_component_get_position):
5738 (impl_accessibility_component_get_extents):
5739 (impl_accessibility_component_get_mdi_z_order):
5740 (impl_accessibility_component_get_layer):
5741 (spi_component_interface_new): upd.
5743 * libspi/action.c (spi_action_finalize): kill.
5744 (spi_action_class_init): upd. inherit from SpiObject.
5745 (spi_action_interface_new): upd.
5746 (get_action_from_servant): impl. helper to reduce cut & paste.
5747 (impl_getKeyBinding, impl_getName, impl_doAction),
5748 (impl_getDescription): Use it everywhere.
5750 * cspi/spi_main.c (get_live_refs): a pointer hash.
5751 (spi_object_hash, spi_object_equal): comment out.
5752 There are issues with CORBA object hashing that need
5755 * libspi/application.c (spi_application_init),
5756 (spi_application_new): upd.
5758 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5759 (spi_accessible_class_init): upd.
5760 s/accessible/object/ in epv methods.
5762 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5764 * at-bridge/bridge.c:
5765 Reorder the bridge initialization into the bridge gtk_module_init,
5766 an immediate call to bridge_register_app, and an idle_add for
5767 register_atk_event_listeners (the only code that *must* wait until
5768 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5769 the activation, creates the application's Accessible object, and
5770 queues the bridge_idle_init function. Restored call to
5771 Accessibility_Registry_deregisterApplication().
5772 Prior to making this call we obtain a new reference to the
5773 registry, which is a temporary hack that helps us handle apps that
5774 shut down the bonobo mainloop before we get there.
5776 * libspi/registry.c:
5777 Fix string leakage in debug block, and don't segv if a an app
5778 dies before its event notifications have been propagated.
5781 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5782 as stopgap measure until we get proper exception handling when
5783 objects die during or before interrogation.
5787 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5788 Also changed default value of is_gnome_app to TRUE.
5791 * test/keysynth-demo.c:
5792 Changed use of SPI_init and SPI_event_main to reflect API change above.
5795 Made report_focus_event check the warning value from getName
5796 before reporting on focussed accessible; simplifies handling of
5797 notifications from dead objects.
5799 * test/test-simple.c: (Changes not in this patch since source is
5802 2001-12-05 Michael Meeks <michael@ximian.com>
5804 * registryd/registryd.c (main): protect against
5805 bonobo-activation startup race condition.
5807 * cspi/spi_main.c (cspi_object_add_check): cope
5808 with the exception elegantly.
5810 * idl/Accessible.idl: decl. ChildGone
5812 * libspi/desktop.c (spi_desktop_dispose): impl.
5813 (spi_desktop_class_init): upd.
5814 (spi_desktop_add_application),
5815 (spi_desktop_remove_application),
5816 (abnormal_application_termination): impl.
5817 (impl_desktop_get_child_at_index): re-impl.
5820 (impl_accessibility_registry_deregister_application),
5821 (impl_accessibility_registry_register_application):
5822 kill excessive debug clutter.
5824 * test/test-simple.c (test_misc): test some NULL
5825 tolerance. (main): upd.
5827 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5828 implements no interfaces - so let's not crash.
5830 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5832 * libspi/accessible.c (spi_accessible_new_return): impl.
5833 helper to calm the cut and paste, to cope with
5834 NULL AtkObjects effectively and efficiently, and to kill
5835 the referencing bugs.
5837 * libspi/table.c (impl_getAccessibleAt),
5838 (impl_getRowHeader, impl_getColumnHeader): upd.
5840 * libspi/hyperlink.c (impl_getObject): upd.
5842 * libspi/accessible.c
5843 (impl_accessibility_accessible_get_child_at_index): upd.
5845 * libspi/component.c
5846 (impl_accessibility_component_get_accessible_at_point): upd.
5848 * test/test-simple.c (test_editable_text, test_text): impl.
5851 * cspi/spi_editabletext.c
5852 (AccessibleEditableText_insertText): constify.
5854 * test/test-simple.c (focus_me): make more robust.
5856 * libspi/accessible.c: remove some printfs in methods that
5857 we test and work fine, so we can get a clean tree dump.
5859 * test/test-simple.c (validate_accessible),
5860 (validate_tree): make tree dumping pretty too.
5862 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5863 it builds without debug on.
5865 * test/test-simple.c (validate_accessible): fix the most
5868 * cspi/spi_main.c (spi_object_release): leave the nicely
5869 blanked memory around if in debug mode.
5871 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5873 [committed to fixups2]
5874 2001-12-05 Michael Meeks <michael@ximian.com>
5876 * libspi/editabletext.c
5877 (spi_editable_text_class_init): g_type_class_peek_parent,
5878 not interface peek - so we finalize cleanly.
5880 * libspi/accessible.c (spi_accessible_new): kill debug.
5882 * test/test-simple.c (validate_accessible): fix ref.
5883 leak, print strings before freeing them; sigh, comment a
5884 chunk out due to strangeness.
5885 (validate_tree): unref the child after use.
5887 * cspi/spi_component.c (AccessibleComponent_getLayer):
5888 add missing break statement, switch on zlayer not the
5889 uninitialized retval.
5891 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5892 before (possibly re-entering) remote unref.
5894 * test/simple-at.c (main): unref the desktop.
5896 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5899 * cspi/spi_main.c (cspi_accessible_is_a): here to
5900 isolate bonobo API usage more.
5902 * libspi/registry.c (impl_accessibility_registry_register_application):
5903 prune bogus comment.
5905 2001-12-04 Michael Meeks <michael@ximian.com>
5907 * test/test-simple.c (validate_tree): upd.
5908 IndexInParent check to make it more lucid.
5909 (validate_accessible): dump the tree.
5911 * libspi/accessible.c (de_register_public_ref),
5912 (get_public_refs): impl.
5913 (spi_accessible_new): make more efficient & intuitive.
5914 Now IndexInParent check works.
5916 2001-12-04 Michael Meeks <michael@ximian.com>
5918 * cspi/spi-util.h: remove.
5920 * cspi/spi.h: move SPI_freeString here
5922 * libspi/component.c (impl_accessibility_component_get_layer):
5924 (impl_accessibility_component_get_mdi_z_order): ditto,
5925 return -1 on error - is this ok ?
5927 * test/test-simple.c (test_application): impl.
5929 * cspi/spi_accessible.c (Accessible_getApplication),
5930 (Accessible_isApplication): impl.
5932 * libspi/registry.c (spi_listener_struct_free): release
5933 the CORBA reference too.
5935 * libspi/accessible.c
5936 (impl_accessibility_accessible_get_parent): fix ref leak.
5938 * libspi/registry.c (spi_registry_new): make the registry
5939 immortal - we don't want it to go away ever.
5941 * libspi/application.c
5942 (spi_accessible_application_finalize): impl. cleanup.
5944 * cspi/spi_registry.c
5945 (deregisterGlobalEventListenerAll),
5946 (deregisterGlobalEventListener),
5947 (deregisterAccessibleKeystrokeListener): fix ref leak.
5949 * cspi/spi_main.c (SPI_init): remove redundant ref.
5951 * test/test-simple.c (unutterable_horror): impl. to force a
5956 (impl_accessibility_registry_deregister_application): release
5957 the application when we de-register it.
5959 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5960 until we have the infastructure to get it right.
5962 2001-12-03 Michael Meeks <michael@ximian.com>
5964 * libspi/Makefile.am: only build eventlistener.[ch]
5966 * libspi/accessible.c
5967 (impl_accessibility_accessible_get_child_at_index): don't leak.
5969 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5970 before we hit the idle handler.
5972 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5973 debugging than exit.
5975 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5977 * libspi/listener.c (impl_notify_event): check source
5978 not NIL before unref.
5980 * libspi/registry.c (impl_registry_notify_event): ditto.
5982 * libspi/eventlistener.c
5983 (impl_accessible_event_notify_event): unref the source.
5985 * libspi/accessibleeventlistener.c
5986 (impl_accessible_event_notify_event): unref the source.
5988 * idl/Event.idl: remove 'hash_id' attribute - of no
5991 * libspi/application.c (notify_listeners): upd list
5993 (spi_application_object_event_listener),
5994 (spi_application_toolkit_event_listener): upd to do correct
5998 (_registry_notify_listeners): update.
5999 (parse_event_type): this method also leaks like a sieve.
6000 (impl_accessibility_registry_deregister_global_event_listener):
6001 fix ETYPE_WINDOW case.
6003 * libspi/application.c
6004 (impl_accessibility_application_register_object_event_listener):
6007 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6009 * libspi/hypertext.c (impl_getLink): ditto.
6011 * cspi/spi_main.c (cspi_object_add): remove
6012 bogus CORBA_Object_duplicate.
6014 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6017 * cspi/spi_accessible.c
6018 (Accessible_getRelationSet): fix leak / referencing issue.
6020 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6021 (cspi_object_add, cspi_object_unref): upd.
6022 (spi_object_release, get_live_refs): impl.
6023 (cspi_cleanup): simplify.
6025 * *.[ch]: s/boolean/SpiBoolean/
6027 * cspi/spi_accessible.c (role_names): actualy order so it
6028 corresponds with the enum !
6030 * test/test-simple.c (test_roles): check some role strings
6031 vs. enums to detect offset errors.
6033 2001-12-01 Michael Meeks <michael@ximian.com>
6035 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6037 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6039 (Accessible_getChildAtIndex): use cspi_add_check so we
6040 check the ev before using a (possibly) invalid value.
6042 * libspi/accessible.c
6043 (impl_accessibility_accessible_get_parent): don't segv
6046 * at-bridge/bridge.c (gtk_module_init): upd.
6047 (bridge_property_event_listener): don't leak strings
6049 (bridge_state_event_listener),
6050 (bridge_property_event_listener): don't use a static
6051 buffer in case of recursive event emission &
6052 re-enterancy - split out the swathe of cut and paste
6054 (emit_eventv): and fix 2 ref leaks here & comply to the
6056 (bridge_register_app): rename to
6057 (bridge_idle_init): this and kill arg parsing, split
6058 various inits & bonobo-activation registration to module
6059 init time, kill referencing error.
6060 (bridge_exit_func): fix the same leak.
6061 (bridge_focus_tracker): don't leak event structures
6063 (bridge_signal_listener): more leakage and cut & paste
6065 (bridge_key_listener): return the result - FIXME is
6066 this polarity correct ?
6067 (accessibility_keystroke_from_atk_key_event): rename
6068 (accessibility_init_keystroke_from_atk_key_event): and stop
6070 (gtk_module_init): return a value - not that it is checked by
6072 (bridge_key_listener): register my horror at casting between
6073 IDL defined structs.
6074 (bridge_get_registry): kill - not used.
6076 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6078 * test/test-simple.c (test_roles): impl.
6079 (test_desktop, validate_accessible, validate_tree): impl.
6081 * cspi/spi_accessible.c (role_names): fixup bogus
6082 MAX_ROLES setup, make constants const for efficient linkage
6083 (AccessibleRole_getName): conform to coding style, make
6086 2001-11-30 Michael Meeks <michael@ximian.com>
6088 * cspi/spi.h: add missing prototype.
6090 * libspi/registry.c (spi_listener_struct_new): fix sig.
6092 * test/Makefile.am: add test-simple
6094 * test/test-simple.c: add
6096 * test/test.sh: add.
6098 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6100 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6101 do it straight - since otherwise we often get an activation race.
6103 [ work before Bill duplicated a chunk of it ... ]
6104 2001-11-30 Michael Meeks <michael@ximian.com>
6106 * libspi/keystrokelistener.c
6107 (spi_keystroke_listener_class_init): fixup arg
6110 * libspi/eventlistener.c
6111 (spi_event_listener_class_init): ditto.
6113 * tests/test.sh: add.
6115 * cspi/spi-listener-impl.h: update macros.
6117 * cspi/spi-listener-impl.c
6118 (cspi_event_listener_remove_callback): add
6119 correct pre-conditions.
6121 * cspi/spi_main.c (SPI_exit): guard vs. double
6122 exits, exit the mainloop nicely.
6123 (SPI_event_main): make more sense.
6124 (SPI_init): move the atexit evilness here so we
6125 always do it (yuck).
6126 (SPI_event_main): upd.
6128 * test/simple-at.c: update for listener changes.
6130 * registryd/registryd.c (main): prune kruft.
6132 * libspi/libspi.h: upd.
6134 * libspi/eventlistener.[ch]: rename broken macros.
6136 * libspi/accessibleeventlistener.[ch]: remove.
6138 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6140 * test/test-simple.c: Add - automated tests.
6142 * cspi/spi-listener-impl.c (cspi_event),
6143 (cspi_key_event): add user_data to invoke.
6144 (cspi_keystroke_listener_finalize): impl.
6145 (cspi_keystroke_listener_class_init): upd.
6148 (createAccessibleEventListener),
6149 (AccessibleEventListener_addCallback),
6150 (createAccessibleKeystrokeListener),
6151 (AccessibleKeystrokeListener_addCallback): upd.
6153 * libspi/deviceeventcontroller.c
6154 (spi_device_event_controller_check_key_event): add public proto.
6157 (impl_accessibility_registry_deregister_global_event_listener):
6158 always init listeners.
6159 (_registry_notify_listeners): yes it is.
6161 * cspi/spi-listener-impl.c (cspi_key_event):
6163 (cspi_event_listener_finalize): impl.
6164 (cspi_event_listener_class_init): hook up.
6165 (event_handler_new, event_handler_free),
6166 (event_list_remove_by_callback): impl.
6167 (cspi_event_listener_remove_callback),
6168 (cspi_keystroke_listener_remove_callback),
6169 (cspi_keystroke_listener_add_callback),
6170 (cspi_event_listener_add_callback): upd.
6172 * libspi/keystrokelistener.c
6173 (keystroke_listener_object_finalize): kill
6174 (spi_keystroke_listener_class_init): upd.
6175 (spi_keystroke_listener_add_callback),
6176 (spi_keystroke_listener_remove_callback): kill,
6178 (impl_key_event): prune drasticaly.
6180 * libspi/eventlistener.c
6181 (spi_event_listener_add_callback),
6182 (spi_event_listener_remove_callback): kill, use
6184 (impl_accessible_event_notify_event): upd.
6185 (spi_event_listener_object_finalize): remove.
6187 * libspi/Makefile.am: use eventlistener.[ch]
6189 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6191 * libspi/registry.c (_registry_notify_listeners):
6192 Changed listener loop iteration to use preferred convention.
6193 Got rid of string memory leaks caused be calling g_strconcat
6194 inside function calls.
6196 * libspi/registry.c (parse_event_type):
6197 Stopped g_strconcat memory leaks, free the g_strsplit return,
6198 g_strdup the split pieces when used, etc.
6200 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6203 Change method 'compare' to return a 'difference set' rather than
6204 taking a StateSet as an out parameter (more Java-friendly).
6206 * idl/Accessible.idl:
6207 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6209 * idl/Component.idl:
6211 Changed methods 'getExtents' and 'getImageExtents' in these
6212 interfaces to return a BoundingBox structure.
6213 (getPosition and getSize are redundant and possibly should be
6214 removed, rather than creating a corresponding Point struct.)
6216 * cspi/spi_component.c:
6217 Modify implementation of getExtents to reflect the above IDL
6222 Add (missing) AccessibleImage_getExtents () API.
6224 * docs/reference/cspi/at-spi-cspi-sections.txt:
6225 Added AccessibleImage_getImageExtents () to docs.
6227 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6229 * idl/Component.idl:
6230 Added two methods, getLayer () and getMDIZOrder (), to reflect
6231 the new ATK methods atk_object_get_layer and
6232 atk_object_get_mdi_z_order. (Which arguably should be part of the
6233 AtkComponent API and AtkObject). Also added an enum,
6234 ComponentLayer, for the first method's return value.
6236 * libspi/component.c:
6237 Added implementations for these methods.
6239 * cspi/spi_component.c:
6241 Added cspi binding methods for above,
6242 AccessibleComponent_getLayer() and
6243 AccessibleComponent_getMDIZOrder().
6244 Added cspi enum 'AccessibleComponentLayer'.
6246 * docs/reference/cspi/at-spi-cspi-sections.txt:
6247 Added above methods to docs.
6251 Changed typedef for 'boolean' type (and all references to it) to
6252 SPIBoolean, to avoid keyword clashes with C++.
6255 Changed usages of 'boolean' to SPIBoolean.
6257 * test/keysynth-demo.c:
6258 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6259 app), except where SPIBoolean is required by the callbacks API.
6261 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6263 * cspi/spi_registry.c:
6264 Removed obsolete X event loop for passive keygrabs (which now
6267 * registryd/registryd.c:
6268 Removed unnecessary call to gdk_init() [cruft]. This also allows
6269 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6272 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6274 * docs/reference/cspi:
6275 Included docs for SPI_freeString in generated documentation.
6278 Renamed spi_freeString to SPI_freeString, for consistency. Added
6279 documentation for this function.
6282 Renamed spi_freeString to SPI_freeString, for consistency.
6283 Removed obsolete method declaration string_from_corba_string.
6285 * test/keysynth-demo.c:
6286 Small tweak to comments.
6289 Stopped leaking the strings returned from CSPI.
6291 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6293 Merged Michael's branch (see his ChangeLog entries below).
6295 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6296 bridge is alive, release on exit.
6298 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6299 Fix type check macro.
6302 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6305 Added is_gnome_app static, and method cspi_is_gnome_app(),
6306 so we can call the appropriate shutdown routine at exit in SPI_exit.
6308 * cspi/spi_main.c (cspi_object_ref):
6309 Duplicate the corba object passed in, since we're keeping it around.
6311 * cspi/SPI_exit.c, cspi_cleanup:
6312 Moved the releasing of the live refs to its own function, so we
6313 can put it in g_atexit (). Call the appropriate shutdown API
6314 depending on whethe calling client is a gnome app or not
6315 (bonobo_main_quit or CORBA_ORB_shutdown).
6317 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6318 Unref the listener when this method is called, after
6319 deregistration. Updated the API docs to note this behavior.
6321 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6322 Bugfixes: Ref the bonobo object when returning a parent or child
6323 reference, or an AccessibleRelation. Generally made sure
6324 BonoboObject refcount is incremented whenever we return an
6327 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6328 Fixed typo/bug in signal declaration.
6330 * libspi/accessibleeventlistener.h:
6333 * libspi/application.c (spi_application_new):
6334 Fixed leak in initialization.
6337 Remembered to increment bonobo-object refcount when returning
6338 children (applications) from desktop object.
6339 Added (empty) finalize method.
6341 * libspi/deviceeventcontroller.c:
6342 Hold a ref to listeners inside DEControllerKeyListeners.
6343 Added dec_key_listener_free() method. Use prepend instead of
6344 append in key_listener list. Fixed some refcount madness and
6345 leaks in the listener registration/deregistration - deregistration
6346 now calls dec_key_listener_free() on listeners, and on the
6347 temporarily constructed dec_key_listener() used to perform the search/match.
6349 * libspi/hypertext.c (spi_hypertest_finalize):
6350 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6351 class. Also fixed spi_hypertext_interface_new() and
6352 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6354 * libspi/hypertext.h:
6355 Removed pointless and duplicate AtkObject pointer from
6358 * libspi/keystrokelistener.c:
6359 Fixed incorrect type of keystroke_listener_parent_class,
6360 renamed keystroke_listener_object_finalize to
6361 spi_keystroke_listener_object_finalize.
6362 Fixed typo in signal declaration
6363 (spi_keystroke_listener_class_init).
6365 * libspi/registry.c:
6366 Added funcsions spi_listener_struct_new() and
6367 spi_listener_struct_free() to help with memory management issues.
6368 We also now use these methods instead of gnew + poking stuff into
6369 the struct, and to decrement listener counts/free the listeners
6370 when deregistering them.
6371 Fix more refcount bugs in getDesktop() and
6372 getDeviceEventController().
6375 De-ref the desktop after enumerating the applications. Explicitly
6376 decrement the refcounts on the created listeners on exit (using
6377 _unref for keystroke listeners, and via the
6378 deregisterGlobalEventListenerAll command for other event
6381 2001-11-27 Michael Meeks <michael@ximian.com>
6383 * cspi/spi-listener.h: fixup enum.
6385 2001-11-27 Michael Meeks <michael@ximian.com>
6387 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6388 (cspi_keystroke_listener_new): Use the cspi variants.
6390 2001-11-26 Michael Meeks <michael@ximian.com>
6392 * test/keysynth-demo.c: fix 2 compile warnings, missing
6395 * test/simple-at.c (report_focussed_accessible),
6396 (report_focus_event, report_button_press),
6397 (check_property_change, is_command_key),
6398 (report_ordinary_key_event, report_command_key_event): upd.
6400 * util/mag_client.h: include pre-requisites.
6402 * libspi/accessibleeventlistener.c
6403 (spi_event_listener_object_finalize): free any lingering
6406 * libspi/keystrokelistener.c
6407 (keystroke_listener_object_finalize): ditto.
6409 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6410 callbacks, with cspi types.
6412 * cspi/spi_event.c (createAccessibleEventListener): chain to
6413 (AccessibleEventListener_addCallback): here.
6414 (createAccessibleKeystrokeListener): chain to
6415 (AccessibleKeystrokeListener_addCallback): here.
6417 * libspi/keystrokelistener.c
6418 (spi_keystroke_listener_class_init): add signal.
6419 (impl_key_event): emit the event.
6420 (boolean_handled_accumulator): impl.
6421 (marshal_BOOLEAN__POINTER): add, gack.
6423 * libspi/accessibleeventlistener.c
6424 (spi_event_listener_class_init): add signal.
6425 (impl_accessible_event_notify_event): emit the signal &
6426 make the loop efficient.
6427 (spi_event_listener_add_callback): prepend the callback.
6429 * libspi/accessibleeventlistener.h: add an 'event' signal,
6430 decl type on callback.
6432 * libspi/keystrokelistener.h: ditto.
6434 * cspi/spi-listener.h: make methods typesafe and
6435 make them use the new event typedefs.
6437 * test/simple-at.c (report_focussed_accessible):
6438 include mag_client.h
6439 Use *(void *)text_interface not the other thing.
6441 * configure.in: add gtk to registryd bits - since we use
6444 * util/magnifier.c: include libbonobo.h
6446 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6448 * test/keysynth-demo.c:
6449 Turned this into a simple scanning keyboard, to demonstrate the
6450 use of g_timeout_add () as a means of creating timers for
6451 scanning, and the use of GtkStyle for visually indicating when
6452 virtual keyboard elements are selected.
6454 keysynth-demo now listens to any keyboard keys with zero-valued
6455 keycodes (i.e. 'unused' keys) and interprets them as
6458 Reworked the shiftlatch code so that shift-down state isn't held
6459 for long periods (it's only synthesized immediately prior to
6460 the keysynth event it's modifying). Note that shiftlatch in this
6461 demo is a convenience, not intended to take the place of AccessX
6462 which is the better choice for getting 'sticky' modifier keys.
6464 * libspi/deviceeventcontroller.c:
6465 * at-bridge/bridge.c:
6466 * cspi/spi_registry.c:
6467 Removed some debug print stuff, and put other verbosity in #ifdef
6472 Implemented some more of the magnifier IDL for the simple
6473 magnifier: namely, getZoomRegionParams.
6474 Added mag_x and mag_y members to MagnifierData struct, aid of this
6476 Added GtkWindow::realize signal handler to magnifier, to keep it
6477 from receiving keyboard focus from the WM.
6479 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6481 * cspi/spi-private.h: my guess at what michael forgot
6482 before he ran off to NZ :-)
6484 2001-11-23 Michael Meeks <michael@ximian.com>
6486 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6487 comment out non existant method invoke so we link.
6489 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6490 use bonobo_exception_get_text for more friendly warnings.
6492 * cspi/spi.c (Obj_Add): move into spi_main & rename
6493 spi_object_add; kill spi.c
6495 * cspi/spi_registry.c
6496 (deregisterGlobalEventListener),
6497 (deregisterGlobalEventListenerAll),
6498 (registerGlobalEventListener): fix exception leaks.
6500 * cspi/spi_main.c (spi_exception): impl. helper, so we
6501 don't leak exceptions.
6503 * cspi/spi_selection.c
6504 (AccessibleSelection_deselectSelectedChild): return the
6507 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6508 (spi_registry): ditto.
6509 (SPI_init): guard against double inits.
6511 * cspi/*.c: use spi_ev (), and spi_registry () where
6512 appropriate - a temporary hack until we have something
6513 better. Use spi_object_add
6515 2001-11-22 Michael Meeks <michael@ximian.com>
6517 * cspi/Makefile.am: re organise, install the headers.
6519 * cspi/*.h: add G_BEGIN/END_DECLS
6521 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6524 Added non-preemptive keylistener for key events with no modifiers
6525 and shift-only modifier.
6527 * libspi/keystrokelistener.c:
6528 Removed some verbose diagnostics printout.
6530 * cspi/spi_registry.c:
6531 Fixed a bug that caused all key listeners to be registered as
6534 * libspi/deviceeventcontroller.c:
6535 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6536 for non-preemptive key masks.
6539 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6541 * docs/reference/idl/at-spi-idl-docs.sgml:
6542 * docs/reference/idl/at-spi-idl-sections.txt:
6543 * docs/reference/idl/at-spi-idl-overrides.txt:
6544 Added missing files.
6546 * docs/reference/Makefile.am:
6547 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6548 to scan the IDL files :-(
6553 Added .cvsignore files.
6555 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6557 * libspi/deviceeventcontroller.c:
6558 * libspi/keystrokelistener.c:
6560 * cspi/spi_registry.c:
6561 Added filters for KeySets, KeyEventSeq, and event types to key
6562 event dispatching, so listeners should only receive those events
6563 that they requested :-)
6565 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6570 * docs/reference:Makefile.am:
6571 * docs/reference/cspi:
6572 * docs/reference/cspi:Makefile.am:
6573 * docs/reference/cspi:tmpl:
6574 * docs/reference/cspi:tmpl:*.sgml:
6575 * docs/reference/idl:
6576 * docs/reference/idl:Makefile.am:
6577 * docs/reference/idl:at-spi-idl-sections.txt:
6578 * docs/reference/idl:at-spi-idl-docs.sgml:
6579 * docs/reference/idl:tmpl:
6580 * docs/reference/idl:tmpl:*.sgml:
6582 Restructured docs directory to allow separate 'reference' docs
6583 section, and forked idl and cspi docs. Added the sgml template
6584 files to CVS. Added the first sections/structural sgml for the
6587 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6589 * configure.in, libspi/Makefile.am: find libXtst.
6591 2001-11-21 Michael Meeks <michael@ximian.com>
6593 * test/accessx-gui.c: s/spi_value/value/ - doh.
6595 * libspi/base.[ch]: add.
6597 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6599 * idl/Accessible.idl:
6600 * idl/Application.idl:
6603 Started gtk-doc cleanup on IDL.
6605 * libspi/deviceeventcontroller.c:
6606 Added and connected non-preemptive key notification from the
6607 toolkits (in addition to the pre-emptive support from XServer
6608 which we had before, but which causes 'focus flashing'). Filters
6609 are presently limited to key modifiers and global/non-global,
6610 KeySets are presently ignored, as are KeyEvent masks.
6612 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6613 structs into the persistant structure rather than just storing
6614 pointers to things that might not persist across servant
6617 The XGrabKey call now does async keygrabs, because synchronous
6618 ones were deadlocking with GDK_event code in a very nasty way.
6620 Added boolean to internal method notify_keylisteners, to indicate
6621 whether the event came from the 'toolkit source' or the 'global
6622 (XServer) source' - this is used in the notification process to
6623 determine which listeners to send the event to.
6625 deviceeventcontroller.c is now warning-free.
6627 * libspi/registry.c:
6628 Fixed regression in application de-registration.
6629 Also fixed some really brain-dead weirdness having to do with
6630 event dispatching - event structs are now duplicated before being
6631 re-marshalled in the dispatch to listeners. This also fixes a
6632 Solaris build problem.
6635 2001-11-20 Michael Meeks <michael@ximian.com>
6638 (impl_accessibility_registry_deregister_global_event_listener):
6641 * libspi/deviceeventcontroller.c
6642 (spi_device_event_controller_check_key_event): return
6643 FALSE on no virtual method.
6645 * libspi/*..h: make includes work on a correctly pathed install.
6647 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6649 * libspi/application.h: kill unused ( and whacked out )
6650 gboolean *spi_application_set_id (AtkObject *app, long id);
6652 2001-11-20 Michael Meeks <michael@ximian.com>
6654 * libspi/*.[ch]: further convert to bonobo's type func
6655 macros, remove redundnant casts etc.
6657 * libspi/text.c s/accessibility_text/spi_text/g,
6658 re-order to de-cruft.
6660 * libspi/hypertext.c: re-order to kill a huge slew
6661 of redundant forward decls.
6663 * libspi/relation.c: ditto.
6665 * libspi/image.c: ditto.
6667 * */.cvsignore: update
6669 2001-11-20 Michael Meeks <michael@ximian.com>
6671 * libspi/deviceeventcontroller.c
6672 (_controller_register_with_devices): use g_getenv,
6673 kill stdlib.h include.
6675 * libspi/keystrokelistener.c
6676 (spi_keystroke_listener_get_type): kill
6677 (spi_keystroke_listener_class_init),
6678 (spi_keystroke_listener_init): rename to this.
6680 * libspi/text.c (impl_getAttributes): fix warning / bug.
6682 * libspi/*.[ch]: more headers, includes and over commenting.
6684 2001-11-20 Michael Meeks <michael@ximian.com>
6686 * libspi/*.[ch]: fixup headers, includes and over commenting.
6688 * libspi/image.c (impl__get_imageDescription): const
6689 correctness warning fix. remove redundant casting.
6691 * libspi/table.c (impl_getRowDescription): ditto.
6692 (impl_getColumnDescription): ditto.
6694 * libspi/libspi.h: add.
6696 2001-11-19 Michael Meeks <michael@ximian.com>
6698 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6700 * libspi/component.c (accessibility_component_get_type):
6701 rename to (spi_component_get_type): and macroify.
6702 (accessibility_component_init): rename to
6703 (spi_component_init): this
6704 (accessibility_component_class_init): rename to
6705 (spi_component_class_init): this
6707 * libspi/action.c (spi_action_get_type): kill, use the macro.
6709 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6712 * libspi/application.c (spi_application_object_event_listener),
6713 (impl_accessibility_application_register_object_event_listener):
6714 warning fixes / const understanding updates.
6716 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6719 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6721 * libspi/spi_accessible.c: Added docs and C bindings for
6722 AccessibleStateSet. (No implementations yet). Documentation
6723 coverage for C bindings now 100%. Made docs for event listeners
6728 boolean notifyListenersSync (in DeviceEventListener listener,
6729 in DeviceEvent event);
6731 oneway void notifyListenersAsync (in DeviceEventListener listener,
6732 in DeviceEvent event);
6734 Added DeviceEventListener and DeviceEvent structs (may deprecate
6735 KeyStroke and KeystrokeListener in favor of this generic
6736 event/listener framework for devices).
6738 * libspi/deviceeventcontroller.c:
6740 Changed some key listener code to take masks, etc., and paved the
6741 way for integration of toolkit/non-preemptive key events. Changed
6742 signatures of some internal methods.
6744 * at-bridge/bridge.c:
6745 Fixed regression connecting to interface signals, apparently
6746 caused by GTK+ changes.
6748 Added an internal bridge_state_listener to deal with
6749 property-change:accessible-state signals.
6751 Changed the key_listeners GList to store structs (including masks,
6752 etc.) instead of just CORBA_Objects (required for full
6753 implementation of key listener API).
6755 Connected the bridge to all currently supported Atk signals.
6756 Events now supported:
6757 object:property-change
6758 object:property-change:accessible-name
6759 object:property-change:accessible-state
6760 object:property-change:accessible-description
6761 object:property-change:accessible-parent
6762 object:property-change:accessible-value
6763 object:property-change:accessible-role
6764 object:property-change:accessible-table-caption
6765 object:property-change:accessible-table-column-description
6766 object:property-change:accessible-table-column-header
6767 object:property-change:accessible-table-row-description
6768 object:property-change:accessible-table-row-header
6769 object:property-change:accessible-table-summary
6770 object:children-changed
6771 object:visible-data-changed
6772 object:selection-changed
6773 object:text-selection-changed
6775 object:text-caret-moved
6777 object:row-reordered
6779 object:column-inserted
6780 object:column-reordered
6781 object:column-deleted
6782 object:model-changed
6784 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6786 * libspi/hyperlink.c,h:
6787 Fixed some broken stuff in hyperlink.
6789 * libspi/relation.h:
6790 * libspi/relation.c:
6791 * cspi/spi_accessible.c:
6792 Initial implementations of AccessibleRelation methods, and docs.
6794 * libspi/accessible.c:
6795 Fixed a bug that caused SEGV if an accessible
6796 object's description is NULL, and a client
6797 requests it. An empty string is now returned.
6799 * cspi/spi_editabletext.c:
6800 * cspi/spi_hypertext.c:
6802 * cspi/spi_hyperlink.c:
6806 Doc coverage now 95%.
6808 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6810 One last namespacing revision:
6811 * libspi/accessibleeventlistener.[ch]:
6812 Renamed SpiAccessibleEventListener to SpiEventListener,
6813 (no need for two namespaces ;-)
6815 And lots of documentation fixes:
6817 * docs/at-spi-docs.sgml:
6818 Fixed 'underscore vs. hyphen' bug that was preventing
6819 the gtk-doc API docs from being automatically generated.
6822 * cspi/spi-listener.h
6824 * cspi/spi_accessible.c
6826 * cspi/spi_application.c
6827 * cspi/spi_component.c
6828 * cspi/spi_editabletext.c
6830 * cspi/spi_hypertext.c
6832 * cspi/spi_registry.c
6833 * cspi/spi_selection.c
6837 * docs/at-spi-docs.sgml
6838 * docs/at-spi-sections.txt
6840 Added and fixed up gtk-doc documentation in cspi.
6842 Interfaces now (fully) documented (subject to revision and enhancement):
6844 Event Listener Support
6846 AccessibleApplication
6850 AccessibleEditableText
6857 AccessibleRelationSet
6862 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6864 * at-bridge/bridge.c:
6865 Initial work for toolkit-level key snooper connection by bridge.
6870 New typedefs and fixes to support new namespacing, and cleaner
6871 separation of cspi bindings from libspi bonobo implementation.
6872 Removed inconsistent and extraneous Spi* namespace prefix that
6873 had crept into cspi headers.
6874 Lots of comment fixes that sed had missed.
6876 * cspi/spi-roletypes.h:
6877 * cspi/spi-statetypes.h:
6878 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6879 to AccessibleRoleType.
6881 * libspi/accessibleeventlistener.h:
6882 Fixed minor namespacing weirdness.
6884 * libspi/deviceeventcontroller.c:
6885 Reordered some internal API for device listeners.
6886 Changed the key registry final boolean to 'is_system_global'
6887 rather than 'is_synchronous', which is more descriptive of its
6889 Added spi_device_event_controller_new().
6890 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6892 * libspi/keystrokelistener.[ch]:
6893 Namespaced KeystrokeListener to SpiKeystrokeListener.
6894 Changed uses of keymasks to use SPI_ prefix, and did other
6897 * libspi/keymasks.h:
6898 Namespaced keymask constants with SPI_ prefix.
6900 * libspi/registry.c:
6901 Some warning fixes, and knock-on fixes from namespace changes.
6904 Added rules for accessx-gui test program.
6906 * test/accessx-gui.c:
6907 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6908 utility. It doesn't actually use at-spi, but it's still cool and
6911 * test/keysynth-demo.c:
6915 Fixes so that these test clients work properly with the namespaced
6916 libraries. (Incompletely tested for technical reasons, fixes may follow)
6919 2001-11-13 Michael Meeks <michael@ximian.com>
6921 * libspi/application.c
6922 (impl_accessibility_application_get_version),
6923 (impl_accessibility_application_get_toolkit_name):
6925 (impl_accessibility_application_set_id),
6926 (impl_accessibility_application_get_id): remove
6927 redundant casting code.
6929 * libspi/action.c (impl_getDescription): fix warnings.
6931 * libspi/accessible.c
6932 (impl_accessibility_accessible_get_parent),
6933 (impl_accessibility_accessible_get_child_at_index),
6934 (impl_accessibility_accessible_get_state),
6935 (impl_accessibility_accessible_get_relation_set):
6936 warning fixes & include action.h
6938 2001-11-13 Michael Meeks <michael@ximian.com>
6940 * *.[ch] fix bits I screwed up:
6942 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6943 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6945 2001-11-13 Michael Meeks <michael@ximian.com>
6947 * *.[ch] Namespace libspi into spi_ and Spi.
6949 2001-13-11 Michael Meeks <michael@ximian.com>
6951 * Makefile.am: dist & install at-spi-1.0.pc
6953 * libspi/Makefile.am: install into at-spi-1.0
6955 * idl/Makefile.am (idldir): install into at-spi-1.0
6957 * at-spi-1.0.pc.in: add.
6959 * configure.in: build it.
6961 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6963 * test/keysynth-demo.c:
6964 Use a 'realize' signal-handler to set the WM properties for
6965 the virtual keyboard, rather than making it a "POPUP" type
6966 override-redirect window (thanks to anders carlsson for that
6969 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6972 * test/keysynth-demo.c:
6973 Added new test of key synthesis, which creates a simple
6974 (mouse-operated) onscreen keyboard. It inserts key events into
6975 the currently-focused window, thus it does not grab keyboard focus
6978 * cspi/spi_registry.c:
6979 Added C binding for AT-SPI generateKeyEvent.
6981 * libspi/deviceeventcontroller.c:
6982 Added call to XFilterEvent so that key listener works with XIM (we
6983 hope). Added event_synth_type to generateKeyEvent, so that we can
6984 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6985 synthesize a press/release pair for KeySyms.
6987 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6989 * libspi/Makefile.am:
6990 * registryd/Makefile.am:
6991 (temporary) hack to include libXtst in libspi and registryd.
6992 (Needed for keystroke synthesis, see below).
6995 Improved API for registerKeystrokeListener, in accordance with
6996 discussions with Gnopernicus team and X server research.
6998 * libspi/registry.c:
6999 * libspi/deviceeventcontroller.c:
7000 * libspi/accessible.c:
7001 * libspi/keystrokelistener.c:
7002 Changes and fixes to support keylisteners for potentially
7003 consumed key events (that is, 'passive grabs').
7004 Added implementation for generateKeyEvent() [untested].
7007 Changes to registerKeystrokeListener() API, as above.
7008 Added deregisterGlobalEventListenerAll(), and
7009 deregisterKeystrokeListener(), which are needed for clean exit of
7011 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7012 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7014 * cspi/spi_registry.c:
7015 Added implementations of function prototypes mentioned above.
7017 * registryd/registryd.c:
7018 Added the key listener event source as a g_timeout(), to allow
7019 receipt of key events that are not caught by GDK (since GDK
7020 doesn't support passive keygrabs, this was necessary).
7023 Changed to attach a keylistener to 'Alt' keys, and
7024 respond to the following keycommands: Alt-M (toggle magnifier);
7025 Alt-F (toggle speech); Alt-Q (quit).
7026 Added an exit routine to deregister the listeners, and a key
7027 listener that prints some key info to the console when a key
7028 matches the listener mask (and is thus received by the listener).
7030 * util/idl/Magnifier.idl:
7031 Changes to magnifier API to support multiple zoom regions,
7032 non-uniform scaling in x and y, markDirty, and a host of other
7033 features that would be useful to magnification.
7036 * util/mag_client.c:
7037 * util/mag_client.h:
7038 * util/mag_control.c:
7040 Source code changes to support the above IDL changes.
7043 As above, and also changes to use a (slower) generic conversion
7044 path for colormap conversions, since the fast RGB conversions have been
7045 reported to fail for 16-bit displays.
7047 2001-10-26 Michael Meeks <michael@ximian.com>
7049 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7051 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7053 * at-bridge/Makefile.am: fix LDFLAGS.
7055 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7057 * at-bridge/bridge.c:
7058 Re-worked listeners for toolkit events, now we have signal
7059 and property listeners. Added a private method
7060 register_atk_event_listeners(), which registers with the
7061 various atk and gtk signals we need to monitor in order to emit
7063 Added emission hook for AtkObject:property-change events, to
7064 support the 'property listeners'.
7065 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7068 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7069 which emit warnings and exit, respectively, if CORBA errors occur
7070 during remote calls, and we now use these methods to check most of
7071 our CORBA calls in the C bindings.
7073 * cspi/spi_accessible.c:
7074 Changed AccessibleSelection_refSelectedChild() to
7075 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7076 now increment refcounts.
7078 * cspi/spi_component.c:
7079 Fixed some long pointer casts (dangerous!) to pass pointers to
7080 CORBA_longs of the proper type to the CORBA stubs, and copy the
7081 data into the longs that were passed into the C bindings code.
7083 * at-bridge/bridge.c:
7085 * libspi/accessible.c:
7086 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7087 hyperlinks, AtkHyperlink is an object type.
7089 * libspi/application.c:
7090 Added various conversions to and from "generic" event types and
7091 atk-specific types; this is really part of the 'bridge'
7092 implementation but is valid for all AtkObject-based accessibility
7095 * libspi/editabletext.c:
7096 Fixed nasty bug wherein editable text's finalize method was
7097 unref'ing tha AtkObject reference that the text parent class was
7098 about to unref _again_. There was also a nasty inheritance bug
7099 that meant that the AccessibleEditableText class was corrupt.
7101 * libspi/selection.c:
7102 Provided implementations for some selection API that was broken.
7104 * idl/Application.idl:
7105 Added registerObjectEventListener () method.
7108 Fixed a number of return values that were Bonobo_Unknowns from
7109 bonobo_object_corba_objref(), which I
7110 forgot to dup before returning. Changed instances of
7111 bonobo_object_corba_objref (bonobo_object(o)) to
7112 BONOBO_OBJREF(o), for concision and clarity.
7114 2001-10-13 Louise Miller <louise.miller@sun.com>
7116 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7117 idl/Event.idl, idl/Registry.idl
7118 Changed these files to include Bonobo_Unknown.idl instead
7121 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7123 * libspi/component.c libspi/component.h:
7124 Fixed typo. Added assertions for object checks in
7125 AccessibleComponent code.
7127 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7129 * idl/Accessible.idl:
7130 Added 'isEqual (Accessible *object)'
7131 method for Accessible. (Not Yet Implemented).
7134 Changed signature of registerKeystrokeListener() to
7135 take a KeySet and KeyEventSeq so that specific keys and event
7136 types could be requested for monitoring, and added a flag
7137 is_synchronous so that either synchronous or asynchronous
7138 notification could be requested. (However this is not all
7139 implemented yet). This also meant adding two new typedefs,
7140 KeyEventSeq and KeySet.
7143 Added two new relations, RELATION_TOOLTIP_FOR and
7144 RELATION_LEAFNODE_OF.
7147 Added new state, STATE_HAS_TOOLTIP.
7149 * libspi/text.c, editabletext.c:
7150 Added new assertions to all casts of bonobo-objects from
7151 CORBA servants, to prevent Text API calls on non-text objects.
7152 Changed suspect casts of int-pointer types, so that we
7153 always send a valid CORBA_long pointer to the CORBA APIs that use
7154 in/out long parameters. We then have to copy from the CORBA_long
7155 into the regular long or int for return to the C bindings, or
7156 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7159 * libspi/deviceeventcontroller.c:
7160 Cleaned these sources up.
7162 Changed return type for getCharacterAtOffset to
7163 CORBA_unsigned_long, to allow for 32-bit characters.
7166 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7170 Fixed 'make dist' so that distro compiles...
7171 * libspi/keymasks.h:
7173 * cspi/spi-listener.c:
7174 KeystrokeListenerCB now returns a boolean.
7176 Added KeyEventType struct, and KeyStroke.
7177 Also added createKeystrokeListener(),
7178 KeystrokeListener_addCallback(),
7179 KeystrokeListener_removeCallback(), and added a keymask to
7180 registerKeystrokeListener().
7181 * cspi/spi_accessible.c:
7182 Changed numerous return types for interfaces from
7183 AccessibleComponent to Accessible<InterfaceName>; this was
7184 probably a cut-and-paste error.
7186 Implementations of new KeystrokeListener api (from spi.h,
7189 Changes to key modifier mapping.
7190 Created ControllerEventMask struct.
7191 Made DeviceEventController derive from Bonobo::Unknown.
7193 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7194 * libspi/deviceeventcontroller.c:
7195 Added a number of new internal (private) methods.
7196 * libspi/editabletext.c:
7197 * libspi/editabletext.h:
7198 Fixed a number of bugs related to the fact that
7199 editabletext inherits from text. Fixed the EditableText struct,
7200 the init() call, and use correct casts when calling Text methods
7201 from an EditableText object. Removed (duplicate) atko from the
7202 EditableText structure, we use the one in the parent Text
7203 structure via the casts mentioned above.
7204 * libspi/keystrokelistener.[ch]:
7205 * libspi/registry.c:
7206 Changes in support of keyboard handling (above).
7208 Keyboard handling, though partly functional, is still not
7209 recommended for at-spi client use as there is considerable
7210 work yet to be done.
7213 Changed some places where pointers to various int types
7214 are cast to be pointers to CORBA_long types and vice-versa:
7215 pointer casting is not safe so we pass pointers of the correct
7216 types and then cast the result before putting it into the target
7219 * libspi/text.h: minor typos corrected.
7221 We now speak not only the name of a Text element, but the
7222 first sentence of its content, when it receives focus.
7223 I also changed the text compression to 75% from 50%.
7224 * util/Accessibility_Util.server.in:
7225 Changed the default magnifier type to be a 3x vertical
7226 splitscreen magnifier (was previously a 2x horizontal one).
7228 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7230 * libspi/keystrokelistener.h:
7231 * libspi/keystrokelistener.c:
7232 Initial functional implementations of KeystrokeListener.
7235 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7237 Fixed string handling for NULL strings in libspi.
7238 Added spi_freeString to free strings returned by C bindings.
7240 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7242 * libspi/keystrokelistener.h:
7243 * libspi/keystrokelistener.c:
7244 Began (no-op) implementations of KeystrokeListener
7246 * libspi/deviceeventcontroller.c:
7247 * libspi/deviceeventcontroller.h:
7248 Began creating implementations of DeviceEventController,
7249 to handle keystroke and mouse event listening and
7251 * libspi/accessible.c:
7252 Stubbed-in the implementations for
7253 Accessibility_Accessible_getState and
7254 Accessibility_Accessible_getRelationSet.
7255 * libspi/registry.c:
7256 Improved de-registration process and fixed some bugs,
7257 deregistration now works correctly.
7259 Added initialization of applications list (to NULL).
7261 Reduced speech compression from 0.5 to 0.7, for demo.
7262 Changed call to gdk_window_set_decorations()
7263 to gtk_window_set_decorated().
7264 * at-bridge/bridge.c:
7265 Bridge now deregisters when app exits, via
7266 registration of a cleanup function
7267 with the g_atexit() call.
7268 Required making 'app' static, renamed 'this_app'.
7269 Fixed broken use of bonobo_init, passing argv wrongly.
7271 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7275 Created a new directory for
7276 accessibility-related utilities, primarily for
7277 testing and demo purposes, but with possible
7284 Onscreen magnifier utility that
7285 is implemented as a bonobo service.
7287 * util/mag_client.c:
7288 * util/mag_client.h:
7289 Client-side support (simple C bindings)
7290 for Magnification service
7292 * util/mag_control.c:
7293 Client program example for
7294 Magnification service
7296 * util/Accessibility_Magnifier.server.in:
7297 Bonobo-activation file for the
7298 Magnification service.
7301 * util/idl/Magnifier.idl:
7302 IDL defining the bonobo Magnification
7306 Modifications to use the bonobo-activated magnifier
7307 above, in place of trying to connect to an existing
7308 magnifier that uses socket-listening IPC.
7310 If env variable MAGNIFIER is set, a magnifier service
7311 will be started if one does not exist.
7313 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7315 * at-bridge/bridge.c:
7316 applied patch from Marc to build and run
7317 against new glib and gtk+ (seemed like a change
7318 to bonobo_init signature was made ?)
7320 made festival-server support turned off by default.
7321 Added support for a simple magnifier (off by default)
7322 which will be added to a 'util' directory later.
7323 * at-bridge/Makefile.am:
7324 Changed "application.h" header from a 'source'
7325 to a 'dependency' of libat-bridge.
7327 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7336 Added interface implementation c files to list of
7337 includes so they are included in libcspi.
7340 Changed prototype of AccessibleAction_doAction to return a
7342 Changed prototype of AccessibleTable_getCaption to
7343 return an Accessible.
7344 Changed prototype of AccessibleTable_getSelectedRows
7345 and AccessibleTable_getSelectedColumns to
7346 return a long (returns the number of selected rows
7347 or columns respectively).
7348 Changed name of AccessibleText_refRunAttributes to
7349 AccessibleText_getAttributes.
7350 Changed prototype of AccessibleText_getCharacterExtents to
7351 return a void rather than a boolean.
7352 Added support for a AccessibleCoordType parameter
7353 specifying what type of coordinates are desired.
7354 Added an AccessibleCordType parameter to
7355 AccessibleText_getPointAtOffset.
7357 * cspi/spi_accessible.c:
7358 Added code to return the outstanding interfaces from
7359 Accessible_queryInterface.
7361 * cspi/spi_action.c:
7363 Corrected call to getNActions to call the c binding
7366 * cspi/spi_editabletext.c:
7368 Changed name from setRunAttributes to setAttributes.
7370 * cspi/spi_hyperlink.c:
7372 Changed call to getNAnchors to correctly call the c
7373 binding for an attribute.
7375 * cspi/spi_hypertext.c:
7377 Changed getImageDescription to correctly call the
7378 binding for an attribute.
7380 * cspi/spi_selection.c:
7381 Changed getNSelectedChildren to correctly call the c
7382 binding for the attribute.
7383 Changed refSelectedChild to getSelectedChild.
7387 Changed getCaption to return an Accessible.
7388 Fixed calls which retrieve attributes.
7389 Changed refAt to getAccessibleAt.
7390 Changed getNSelectedRows and getNSelectedColumns to
7394 Changed getCharacterExtents and getPointAtOffset to accept an
7395 AccessibleCoordType.
7397 Changed calls which retrieve attributes.
7398 Changed refRunAttributes to getAttributes.
7403 * idl/Hyperlink.idl:
7404 Changed n_anchors attribute to nAnchors to keep naming
7405 convention consistent.
7408 Made Table inherit from Bonobo::Unknown.
7409 Added nSelectedColumns and nSelectedRows attributes.
7412 Made Value inherit from Bonobo::Unknown.
7414 * libspi/hyperlink.c:
7415 Change for nAnchors attributte name change.
7417 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7425 Added interface implementation c files to list of
7426 includes so they are included in libcspi.
7429 Changed prototype of AccessibleAction_doAction to return a
7431 Changed prototype of AccessibleTable_getCaption to
7432 return an Accessible.
7433 Changed prototype of AccessibleTable_getSelectedRows
7434 and AccessibleTable_getSelectedColumns to
7435 return a long (returns the number of selected rows
7436 or columns respectively).
7437 Changed name of AccessibleText_refRunAttributes to
7438 AccessibleText_getAttributes.
7439 Changed prototype of AccessibleText_getCharacterExtents to
7440 return a void rather than a boolean.
7441 Added support for a AccessibleCoordType parameter
7442 specifying what type of coordinates are desired.
7443 Added an AccessibleCordType parameter to
7444 AccessibleText_getPointAtOffset.
7446 * cspi/spi_accessible.c:
7447 Added code to return the outstanding interfaces from
7448 Accessible_queryInterface.
7450 * cspi/spi_action.c:
7452 Corrected call to getNActions to call the c binding
7455 * cspi/spi_editabletext.c:
7457 Changed name from setRunAttributes to setAttributes.
7459 * cspi/spi_hyperlink.c:
7461 Changed call to getNAnchors to correctly call the c
7462 binding for an attribute.
7464 * cspi/spi_hypertext.c:
7466 Changed getImageDescription to correctly call the
7467 binding for an attribute.
7469 * cspi/spi_selection.c:
7470 Changed getNSelectedChildren to correctly call the c
7471 binding for the attribute.
7472 Changed refSelectedChild to getSelectedChild.
7476 Changed getCaption to return an Accessible.
7477 Fixed calls which retrieve attributes.
7478 Changed refAt to getAccessibleAt.
7479 Changed getNSelectedRows and getNSelectedColumns to
7483 Changed getCharacterExtents and getPointAtOffset to accept an
7484 AccessibleCoordType.
7486 Changed calls which retrieve attributes.
7487 Changed refRunAttributes to getAttributes.
7492 * idl/Hyperlink.idl:
7493 Changed n_anchors attribute to nAnchors to keep naming
7494 convention consistent.
7497 Made Table inherit from Bonobo::Unknown.
7498 Added nSelectedColumns and nSelectedRows attributes.
7501 Made Value inherit from Bonobo::Unknown.
7503 * libspi/hyperlink.c:
7504 Change for nAnchors attributte name change.
7507 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7509 implementations-- made server implementations own AtkObject pointers
7510 rather than their respective AtkInterrface pointers to fix
7511 refcounting. AtkHyperlink is still broken.
7513 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7514 * cspi/spi_accessible.c:
7515 Added method Accessible_Role_getName(),
7516 and requisite string array (role_names).
7517 Added conversion string_from_corba_strin() call
7518 to Accessible_getName and _getDescription.
7519 * libspi/accessible.c:
7520 Added implementation for Accessible_getRole()
7522 Added festival support, used if environment variable
7525 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7527 * at-bridge/bridge.c:
7528 Now allocate Accessibility_Event using
7529 Accessibility_Event__alloc() instead of g_new0().
7530 * libspi/accessibleeventlistener.c:
7531 Initialize AccessibleEventListener->callbacks to NULL.
7532 Fixed accessible__event_listener_init() param, changed to
7533 "AccessibleEventListener *" type.
7534 Changed a bonobo_object_release_unref() call to
7535 Accessibility_Accessible_unref().
7536 * libspi/listener.c:
7537 Changed Bonobo_Unknown_unref to (equivalent)
7538 Accessibility_Accessible_unref.
7539 * libspi/registry.c:
7540 Changed bonobo_object_release_unref to
7541 Accessibility_Accessible_unref.
7543 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7546 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7547 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7548 spi-util.c spi-util.h
7549 Implementations for C bindings to remaining accessibility
7552 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7555 changed return value of Action from void to boolean to
7556 bring in line with ATK.
7559 Changed getText funcions to return "out" start and end offsets.
7560 Changed getAttributes to take and offset and return the start
7561 and end offset of the attribute run.
7562 Changed getOffsetAtPoint and getCharacterExtents to take an
7563 enum describing whether coordinates are window or screen.
7566 libspi/action.c libspi/action.h libspi/editabletext.c
7567 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7568 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7569 libspi/image.h libspi/selection.c libspi/selection.h
7570 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7571 libspi/value.c libspi/value.h
7572 Added server implementations for outstanding ATK interfaces
7573 not yet implemented.
7575 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7578 Added (missing) getName() method.
7579 Made nActions an attribute.
7580 * idl/EditableText.idl:
7581 Changed order of params in setAttributes.
7582 * idl/Hyperlink.idl:
7583 Removed getAnchor, added getURI.
7585 Changed attributes to methods, for efficiency
7586 (so that getting extents can be done in one call)
7587 * idl/Selection.idl:
7588 Changed nSelectedChildren to attribute, and re-indented.
7589 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7591 * idl/Text.idl: reformatted to match our coding style.
7592 (temporarily?) removed getRowColumnAtOffset().
7593 Changed text selection API to support multi-select and
7594 non-contiguous selections, as in ATK.
7595 * idl/Value.idl: changed some methods to attributes.
7597 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7599 * libspi/listener.c(impl_notify_event):
7600 BonoboUnkown_unref the source instead
7601 of bonobo_object_release_unref - the ORB
7602 handles the releasing.
7604 * configure.in: require ORBit-2.3.94 for
7607 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7609 Tagged CVS repository 'EA_1_0'.
7610 * README.EARLY_ACCESS:
7611 Alphabetized acknowledgements list, and
7613 Listed some known dependencies of at-spi.
7615 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7617 * docs/at-spi-docs.sgml:
7618 * docs/at-spi-sections.txt:
7619 * docs/at-spi-overrides.txt: (Added zero-length file)
7620 Documentation improvements - gtk-doc should build
7621 docs for all implemented C bindings now.
7624 * cspi/spi.c: (New file)
7625 * cspi/spi_event.c: (New file)
7626 * cspi/spi_registry.c: (New file)
7627 * cspi/spi_accessible.c: (New file)
7628 * cspi/spi_application.c: (New file)
7629 * cspi/spi_component.c: (New file)
7630 Split spi_main.c into six parts, and included them from
7631 "spi.c". This is a bit of a hack, probably temporary,
7632 but required by gtk-doc, apparently.
7634 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7637 * docs/at-spi-docs.sgml:
7638 * docs/at-spi-sections.txt:
7640 Initial checkins/modifications for gtk-doc generation.
7643 Added (missing) interface query methods to Accessible's C binding.
7645 Added GenericInterface type definition.
7647 Added query for AccessibleComponent interface to focus event handler.
7648 Added printout of bounding box for focussed component.
7649 * libspi/component.c:
7650 Added partial implementation for AccessibleComponent to C binding.
7651 * idl/Application.idl:
7652 * libspi/registry.c:
7653 * libspi/listener.c:
7654 * libspi/application.c:
7655 * libspi/application.h:
7656 Changed "ID" attribute type from string to long.
7658 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7662 Made method naming consistent: methods taking object args
7663 start with uppercase, other methods (except those using
7664 acronyms) start with lowercase. Underscores delimit between
7665 object names and method names:
7666 SPI_init() - uppercase since it starts with an acronym.
7667 getDesktopCount () - lowercase start since no object param0.
7668 Accessible_getName() - uppercase object type name, studlyCaps method
7672 Added gtk-doc documentation for all currently implemented
7673 methods in the C bindings API.
7675 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7677 * Makefile.am : changed build order to build test last.
7680 Changed "createEventListener" to "CreateEventListener".
7681 * libspi/accessibleeventlistener.c :
7682 Bugfix for addition of callbacks.
7683 * test/Makefile.am :
7684 * test/simple-at.c :
7685 Added new test that uses the C bindings API.
7687 * libspi/listener.c :
7688 * libspi/registry.c :
7689 * libspi/accessibleeventlistener.c :
7690 * at-bridge/bridge.c :
7691 Renamed member "target" of Accessibility_Event to "source",
7692 which is more descriptive.
7695 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7699 * cspi/Makefile.am :
7700 Added makefile support for at-spi/cspi directory.
7703 * cspi/spi-listener.h : (NEW FILE)
7704 Added support for/use of spi-listener.h.
7706 C bindings now build successfully, with no warnings.
7707 * libspi/accessibleeventlistener.h : (NEW FILE)
7708 * libspi/accessibleeventlistener.c : (NEW FILE)
7709 * libspi/Makefile.am :
7710 Added new object type "AccessibleEventListener"
7711 which inherits from Listener, and allows attachment
7712 of in-process callbacks (so that a client with a listening
7713 object instance can add functionality to the local
7714 implementation, dynamically).
7716 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7718 * libspi/accessible.c:
7719 Add implementation for get_index_in_parent().
7721 Added #include of "spi-roletypes.h", and
7722 added enumerated type AccessibleCoordType.
7723 Added definition for KeystrokeListener (function type).
7726 * cspi/spi-statetypes.h :
7727 * cspi/spi-roletypes.h :
7729 Added these headers, used by spi.h.
7731 Added code (NOTE: not yet built by make).
7733 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7735 * libspi/Makefile.am: generate imodule
7736 at the same time as other idl compiler
7739 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7740 * libspi/registry.c :
7741 * libspi/application.c :
7742 * idl/Application.idl :
7743 Made registration with toolkit an application method,
7744 which is required since each app has its own toolkit static
7745 environment. Thus the bridge must register for
7746 notification of toolkit events from each application in turn.
7747 Toolkit notifications are now successfully registered for, and
7748 sent to the listening at client.
7750 Changed toolkit event string to use hyphens rather than underscores.
7751 * libspi/listener.c :
7752 listner now gives more info in debug mode - it reports the
7753 name of the event received, as well as the name of the source.
7756 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7758 * libspi/registry.c :
7759 added more implementation for toolkit events.
7760 Fixed bug such that toolkit event registrations
7761 (via atk) use the whole event name string, not
7763 Removed a useless call to an ORBit_ method.
7764 * at-bridge/bridge.c :
7765 Removed unused local sbuf[] variable.
7767 We now register for Gtk:GtkWidget:button_press_event
7768 events as well as "focus:" events.
7770 Add some more API from Registry.idl that was missing,
7771 for keystroke listening, keystroke and mouse event
7772 synthesis, and enumeration of accessible desktops.
7774 2001-08-16 Michael Meeks <michael@ximian.com>
7776 * configure.in: use AM_GLIB_GNU_GETTEXT.
7778 * Makefile.am (SUBDIRS): kill intl.
7780 2001-08-15 Michael Meeks <michael@ximian.com>
7782 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7784 * configure.in: upd.
7786 * configure.in: depend on a recent bonobo-activation that
7787 will find our server files ...
7789 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7791 * libspi/accessible.c : accessible_new() :
7792 Now we add the Component interface via bonobo_object_add_interface,
7793 if the contained AtkObject implements AtkComponent.
7794 * libspi/accessible.h : now include "component.h"
7795 * libspi/component.h :
7796 * libspi/component.c : added files - implementation of
7797 bonobo wrapper object for Accessibility/Component
7798 * libspi/listener.c :
7799 Added test code to check for Accessibility/Component:1.0
7800 interface and report whether it is implemented by the
7802 * libspi/registry.c :
7803 Now we check for not only the hash of the whole event
7804 string before relaying the event, we also check the
7805 "minor" event string (without the detail string).
7806 This allows event listeners to be registered against
7807 all events of a certain major+minor type, or just
7808 against a specific major+minor+detail type.
7809 * libspi/accessible.c :
7810 Added implementations for Accessible:get_parent(),
7811 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7812 * libspi/registry.c :
7813 * libspi/listener.c :
7814 Replaced calls to Accessibility_Accessible_ref() and
7815 Accessibility_Accessible_unref() with
7816 calls to bonobo_object_dup_ref() and
7817 bonobo_object_release_unref(), so that the CORBA object
7818 is dup-ed and released when relayed, as well as the bonobo object.
7820 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7822 * libspi/Makefile.am,
7823 registryd/Makefile.am,
7824 at-bridge/Makefile.am.
7825 test/Makefile.am, configure.in:
7826 reverse previous changes.
7828 * /idl/Image.idl: fix typo.
7830 * test/Makefile.am: put DEBUG_FLAGS
7833 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7835 * test/app.c: use argv[0] instead of
7838 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7840 * libspi/Makefile.am,
7841 registryd/Makefile.am,
7842 at-bridge/Makefile.am.
7843 test/Makefile.am, configure.in:
7844 cleanup, replace individual LIBS/CFLAGS with
7845 AT_COMMON_{LIBS|CFLAGS}.
7849 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7851 * configure.in, libspi/Makefile.am:
7852 Change IDL path checking for bonobo-activation
7855 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7857 * registryd/registry.c : separated event listeners to use
7858 3 separate lists (focus, window, toolkit). Began testing
7859 event names against hashes before relaying events.
7860 * test/at.c : now register for events of type "focus:"
7861 * test/app.c : now generate events of type "focus:"
7862 * at-bridge/bridge.c : register with ATK for focus events,
7863 and we now relay those focus events to any "focus:" listeners.
7864 This now works with the bridge as a GTK_MODULE when running test/at.
7865 * libspi/registry.c :
7866 * libspi/listener.c :
7867 now we ref event sources before propagating, and unref on receipt.
7868 * libspi/registry.c :
7869 some changes to internal structs, to support event typestring hashes.
7870 * text/app.c : changed the way the appname is generated.
7871 * cspi : added directory that will hold the C bindings library for
7872 non-CORBA/bonobo-savvy clients.
7873 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7874 * idl/Component.idl : added in parameter to indicate coord system for
7875 geometry-related calls.
7876 * idl/Hyperlink.idl : added readonly n_links attribute
7877 * idl/Image.idl : changed methods to attributes.
7879 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7881 * at-bridge/Makefile.am: link against
7882 ../libspi/libspi.la instead of -lspi.
7884 * at-spi/test/app.c: include
7885 bonobo-activation.h. Use a default appname
7886 if one is not provided.
7888 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7890 * idl/Registry.idl : temporarily changed register_Application
7891 to oneway, to work around issue with initial registration
7893 * idl/Application.idl : changed attribute "id" from readonly
7894 to read-write, since it needs to be assigned by Registry.
7895 * registryd/registryd.c : added call to set application id
7897 * registryd/registry.c : changed de-registration procedure to
7898 use CORBA_Object_hash() to find matching object ref in application
7899 lists and listener lists.
7900 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7901 began distinguishing between event types (work in progress).
7903 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7906 * libspi/application.c:
7907 Added implementations for get/set id, get_toolkitName,
7909 * registryd/registryd.c :
7913 Converted from use of OAF to bonobo-activation.
7914 * libspi/desktop.h :
7915 * libspi/desktop.c :
7917 Removed references to atksimpleobject, since base atkobject
7918 implementation now provides functionality we need.
7919 * libspi/atksimpleobject.c :
7920 * libspi/atksimpleobject.h :
7925 * at-bridge/Makefile.am
7926 * at-bridge/bridge.c
7929 Added directory "bridge" and contents, and added dependencies
7930 in Makefile.am/configure.in.
7931 Initial checkin of "at-bridge".
7932 This code is a GTK_MODULE which automatically registers
7933 GTK+ apps with the accessibility registry, using an object
7934 reference to the root ATK object.
7936 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7938 * po/Makefile.in.in: Remove. Again. If this
7939 doesn't get autogenerated - you need to update
7942 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7944 * po/Makefile.in.in: Add. Again.
7946 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7948 * libspi/accessible.c : added support for 'description' property.
7949 * libspi/accessible.c
7951 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7952 (since the two are now equivalent in libbonobo)
7960 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7961 Bonobo::Unknown as does Accessibility::Accessible.
7962 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7963 interface with Bonobo::Stream, since it was redundant with it.
7964 (The Stream returned by a StreamableContext object is expected to
7965 implement only a subset of Bonobo::Stream)
7967 2001-07-28 Anders Carlsson <andersca@gnome.org>
7969 * libspi/accessible.c (accessible_object_finalize): Change
7970 g_free to g_object_unref since the AtkObject is a GObject.
7972 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7974 * idl/Accessibility.idl: add new IDL files
7977 * idl/Action.idl: Definitions of actionable UI object
7978 * idl/Component.idl: Definitions of UI component geometry, etc.
7979 * idl/Hyperlink.idl: Defs of hyperlink behavior
7980 * idl/Image.idl: Def of accessible image
7981 * idl/Selection.idl: Definition of UI object with selectable children
7982 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7983 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7984 * idl/Text.idl: Interface defs for UI elements with complex textual content
7985 * idl/Value.idl: Definition of UI element that is a value controller or display
7987 2001-07-27 Michael Meeks <michael@ximian.com>
7989 * po/Makefile.in.in: remove autogenerated file from CVS.
7991 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7994 * idl/Registry.idl: include guard.
7996 * idl/Accessibility.idl: Add, and include all the other IDL
7999 * idl/*.idl: remove mass of pragmas etc.
8001 2001-07-26 Michael Meeks <michael@ximian.com>
8003 * registryd/Makefile.am (registryd_SOURCES): remove
8006 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8008 * libspi/.cvsignore, registryd/.cvsignore,
8009 test/.cvsignore: updated.
8011 * po/Makefile.in.in: gettext update.
8013 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8015 * initial CVS checkin
8017 2001-06-29 Michael Meeks <michael@ximian.com>
8019 * configure.in: add AM_CONFIG_HEADER to gen config.h