1 2006-09-25 Bill Haneman <bill.haneman@sun.com>
3 * registryd/registry.c:
4 (desktop_remove_application): Don't pass a ref to the
5 dead application with the event, since it's probably
6 defunct and will cause SEGV if we try to unref,
10 2006-09-20 Bill Haneman <bill.haneman@sun.com>
12 Patch from Neo Liu <nian.liu@sun.com>,
15 * atk-bridge/bridge.c:
16 (spi_atk_bridge_document_event_listener): New, for
19 2006-08-30 Bill Haneman <bill.haneman@sun.com>
22 Changed some parameter names so as not to
23 collide with class names - allows IDL to be compiled with
24 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
26 2006-08-22 Bill Haneman <bill.haneman@sun.com>
28 * atk-bridge/bridge.c:
29 (spi_atk_bridge_signal_listener):
30 Patch from Ginn Chen, assign detail1 in children-changed
31 so that the child object can be assigned to the Any when the
32 at-spi event is emitted. Bug #350552.
34 * libspi/application.c:
35 (spi_application_finalize): Remove g_print debug output.
38 2006-08-21 Bill Haneman <bill.haneman@sun.com>
40 * configure.in: Revved to AT-SPI 1.7.11.
42 * libspi/accessible.c:
43 (spi_accessible_new): Aggregate Hyperlink interface
44 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
47 (spi_hyperlink_new): Don't aggregate Action a second time if this
48 interface is created for an AtkHyperlinkImpl object (i.e. for a
49 child Accessible, as opposed to the Hyperlink instance from
51 (get_hyperlink_from_servant): Obtain the hyperlink from
52 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
54 Patch section from Ginn Chen...
56 * cspi/spi_accessible.c:
57 (_cspi_accessible_set_from_sequence):
58 Changed g_newa to g_new0 on Ginn Chen's suggestion.
60 * libspi/accessible.c:
61 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
62 (spi_accessible_new): Add the Document interface if present.
65 (impl_getAttributes): Fixed to use AtkAttribute properly.
68 (impl_getAttributes, impl_getDefaultAttributes):
69 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
71 2006-08-17 Bill Haneman <bill.haneman@sun.com>
73 * cspi/spi-private.h, cspi/spi_accessible.c:
74 (_cspi_attribute_set_from_sequence): Renamed from
75 cspi_attribute_set_from_sequence, to suppress export.
78 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
79 inline docs, which was keeping the doc from appearing.
80 (SPIExceptionHandler): Doc this.
82 * cspi/spi_document.c:
83 Added inline gtk-docs cut-n-pasted from the doxygen
84 docs in the corresponding IDL files.
85 (AccessibleDocument_getAttributes): Fix the retval here.
87 * cspi/spi_streamablecontent.c:
88 Fixed some 'Since' tags that were accidentally doxygen-style.
91 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
92 docs from the IDL file.
94 * docs/reference/cspi/at-spi-cspi-docs.sgml:
95 Added entities for Document and StreamableContent interfaces.
97 * docs/reference/cspi/at-spi-cspi-sections.txt:
98 Added some docs that were present inline but not getting
101 2006-07-31 Bill Haneman <bill.haneman@sun.com>
104 (impl_getRangeExtents): Use the atk_text_get_range_extents
105 API instead of looping over character bounds, now that
107 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
108 (_spi_text_bounds_contain): Remove, not needed anymore.
109 (_spi_text_rect_union): Remove, not needed anymore.
111 2006-07-31 Bill Haneman <bill.haneman@sun.com>
113 * atk-bridge/bridge.c:
114 (spi_atk_emit_eventv): Fix the CORBA_free call which was
115 causing 64-bit troubles and memory leaks.
116 Special thanks to Alexander Larsson who finally seems to
117 have tracked down the problem, not just here but in
121 (spi_init_any_object): Make sure we copy the CORBA value
122 when initializing an object for passing as a CORBA_Any.
125 2006-07-21 Bill Haneman <billh@gnome.org>
127 * idl/Accessibility.idl:
128 Reverted pragma changes, this broke the build in some envs
129 including the Debian team's build and some tinderbox builds.
131 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
134 Revved to 1.7.10, and edited the Xevie check (bug #319994).
136 * idl/Accessibility.idl:
137 Reworked inclusion of Bonobo_Unknown.idl, to
138 avoid double-linking libs in the Bonobo environment.
139 Thanks to Michael Meeks for the workaround, see bug #313122.
141 * registryd/deviceeventcontroller.c:
142 (spi_controller_notify_keylisteners):
143 Set the SPI_NUMLOCK_MASK bit if the modifier
144 corresponding to the conceptual numlock state is set.
147 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
149 * idl/Accessibility_Selection.idl:
150 (deselectChild): New method.
152 * libspi/selection.c:
153 (impl_deselectChild): Implement the new IDL method.
156 (AccessibleSelection_deselectChild): Added new method.
158 * cspi/spi_selection.c:
159 (AccessibleSelection_deselectChild): New method implemented.
161 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
163 * cspi/bonobo/cspi-bonobo.c:
164 (cspi_init): Replace g_error with g_warning, prevent
165 SEGV if the registry cannot be activated. Bug #346393.
167 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
169 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
171 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
172 2006-07-12 Ariel Rios <arios@us.ibm.com>
176 * idl/Accessibility_Table.idl:
177 (getRowColumnExtentsAtIndex): New method for getting
178 selection status and extents in one API call.
181 (impl_getRowColumnExtentsAtIndex): Implementation of
183 (spi_table_class_init): Add above to epv.
187 (AccessibleTable_getRowColumnExtentsAtIndex): New
188 method, retrieves selection status and row/col extents
189 for a table cell in a single API call.
191 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
192 2006-07-12 Ariel Rios <arios@us.ibm.com>
194 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
197 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
198 New bindings for new methods defined in idl and libspi.
201 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
202 Added prototype functions.
205 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
207 (spi_text_class_init): Added previous methods.
210 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
211 * libspi/spi-private.h: Corrections.
213 2006-06-29 Bill Haneman <bill.haneman@sun.com>
215 Added Document interface (see bug #326520),
216 with work from Ariel Rios <arios@us.ibm.com>.
218 * configure.in: Bump to 1.7.8.
220 * libspi/Makefile.am: Added document.[ch] to sources
223 (SpiDocument, SpiDocumentClass):
224 New interface implementation.
225 (spi_document_get_type, spi_document_construct)
226 (spi_document_interface_new): New methods added.
227 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
228 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
229 Added macros for SpiDocument
233 (spi_document_interface_new): Get a
234 new document interface. New.
235 (get_document_from_servant): Get an AtkDocument from servant New.
236 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
237 Implementation of methods defined on idl.
238 (spi_document_class_init, spi_document_init)
239 Init methods for SpiDocument. new
241 * idl/Accessibility.idl: Added Accessibility_Document.idl.
243 * cspi/Makefile.am: Added spi_document.c to sources.
245 * cspi/spi_document.c:
246 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
247 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
248 (AccessibleDocument_getAttributes): Bindings for methods defined
251 * cspi/spi_accessible.c:
252 (Accessible_isDocument, Accessible_getDocument) New.
254 (Accessible_isDocument, Accessible_getDocument)
255 (AccessibleDocument_ref, AccessibleDocument_unref)
256 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
257 (AccessibleDocument_getAttributes): Bindings added.
259 * idl/Makefile.am: Added Accessibility_Document.idl to
262 2006-06-29 Bill Haneman <bill.haneman@sun.com>
264 * idl/Accessibility_Document.idl: New interface
265 for complex documents. First stage of fix for RFE
268 2006-06-27 Bill Haneman <bill.haneman@sun.com>
270 * libspi/streamablecontent.c:
271 (impl_content_stream_close):
272 Unref the GIOChannel on close.
274 2006-06-23 Bill Haneman <bill.haneman@sun.com>
276 * idl/Accessibility_Role.idl:
277 * libspi/accessiblerole.c:
278 * cspi/spi_accessible.c: Added ROLE_LINK,
279 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
280 Bug #345758 and bug #140635.
283 2006-06-22 Bill Haneman <bill.haneman@sun.com>
287 * idl/Accessibility_StreamableContent.idl:
288 Fix derivation of StreamableContent and ContentStream.
290 * cspi/spi_streamablecontent.c:
291 (accessible_content_stream_client_read):
292 Fix the datatype of the content stream used.
293 Interpret short reads as EOF, and stop trying to
294 read when we've fulfilled the request.
295 (AccessibleStreamableContent_getContentTypes):
296 Use g_strdup, not CORBA_string_dup, for the strings.
297 (AccessibleStreamableContent_open):
298 Correctly use the new getStream method for opening,
299 not the deprecated getContent method.
300 Use the object reference as the stream hash key.
301 Make note of the 'one stream per client per streamable'
302 limitation in the docs.
305 Add streamablecontent.h to the list of #includes.
307 * libspi/streamablecontent.c:
308 (impl_content_stream_read): Initialize the GError.
309 Allocate the incoming buffer if reading a fixed length of
310 data. Use g_memmove instead of memcpy.
311 (impl_accessibility_streamable_get_content_types):
312 Init typelist->_maximum. Only allocate the buffer if
313 there is a non-zero number of content types available.
314 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
316 * libspi/streamablecontent.h:
317 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
320 (SPI_IS_VALUE): Fix a typo in this macro too.
322 2006-06-16 Bill Haneman <bill.haneman@sun.com>
326 * idl/Accessibility_StreambleContent.idl:
327 Deprecate the Bonobo_Stream-based methods in favor of
328 a self-contained "ContentStream" interface. This should
329 allow us to remove BonoboStream dependencies entirely, since
330 there were no non-NIL implementations of the old methods anyway.
331 (ContentStream): New interface.
332 (ContentStream::SeekType): Enum.
333 (ContentStream::seek): New.
334 (ContentStream::read): New.
335 (ContentStream::close): New.
336 (getContent): Deprecate.
337 (getURI): New method, returns a URI pointing to the content, if available.
339 * libspi/streamablecontent.c:
340 (SpiContentStream): Internal object type definition used to
341 implement Accessibility::StreamableContent::ContentStream via
342 AtkStreamableContent's GIOChannel back-end.
343 (spi_content_stream_new, spi_content_stream_dispose): See above;
345 (impl_content_stream_seek, impl_content_stream_read):
346 (impl_content_stream_close): New, implementations of
348 (impl_accessibility_streamable_get_stream): Implement the
349 public method Accessibility::StreamableContent::getStream.
350 (impl_accessibility_streamable_get_uri): Implement the
351 public method Accessibility::StreamableContent::getURI.
353 * cspi/spi_streamablecontent.c:
354 (accessible_bonobo_stream_client_seek): Replaced by
355 (accessible_content_stream_client_seek).
356 (accessible_bonobo_stream_client_read): Replaced by
357 (accessible_content_stream_client_read).
358 (AccessibleStreamableContent_open):
359 (AccessibleStreamableContent_seek):
360 (AccessibleStreamableContent_read):
361 (AccessibleStreamableContent_close): Use the new 'getStream'
362 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
364 2006-06-15 Bill Haneman <bill.haneman@sun.com>
366 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
367 remove from other .idl files (except LoginHelper).
370 2006-06-14 Bill Haneman <bill.haneman@sun.com>
372 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
375 * configure.in, */Makefile.am: mingw patch, modified from
376 original patch by yselkowitz. Bug #314216.
378 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
379 for completeness. Bug #163111.
381 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
382 * libspi/util.c, registryd/registry-main.c:
383 Fix guint/char* casts.
384 Patch from chpe, bug #333883.
386 2006-06-12 Bill Haneman <bill.haneman@sun.com>
388 * configure.in: Require atk-1.12.0, to pick up
389 new API. (bug #344412).
391 * libspi-1.0-uninstalled.pc.in:
393 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
394 Fix for #341488 from Samual Thibault.
396 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
397 Thanks to Brian Pepple.
399 2006-06-09 Bill Haneman <bill.haneman@sun.com>
402 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
403 New, missing implementations of attribute reading methods
406 * cspi/spi.h, spi_value.c:
407 (AccessibleValue_getMinimumIncrement): New methods wrapping
408 the (formerly unimplemented) property from Value.idl.
411 (impl_get_minimumIncrement): Implementation for retrieving
412 the minimum valuator increment, (formerly unimplemented).
415 2006-06-09 Bill Haneman <bill.haneman@sun.com>
417 * idl/Accessibility_State.idl:
418 Added STATE_VISITED (bug #338369).
420 * cspi/spi_accessible.c:
421 (spi_state_to_corba) Fixed marshalling of new statetypes.
424 (spi_init_state_tables, impl_getStates):
425 Fixed conversion of new statetypes to/from ATK.
427 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
429 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
430 definitions/conversions for new roles from ATK.
432 * idl/Accessibility_Relation.idl:
434 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
435 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
436 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
438 * libspi/accessible.c: Fixed marshalling of new role types from
441 2006-04-17 Matthias Clasen <mclasen@redhat.com>
443 * revert my previous change
445 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
447 * configure.in: Remove obssolete no_NO locale
448 * po/no.po: And the translation.
450 2006-04-05 Matthias Clasen <mclasen@redhat.com>
452 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
453 memory-management error that caused crashes on x86_64.
456 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
458 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
460 2006-03-27 Bill Haneman <bill.haneman@sun.com>
462 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
463 to strip "cspi_*" from the symbol table.
465 * cspi/spi_streamablecontent.c:
466 (get_streams): Make this method static.
469 (_cspi_exception_throw): rename to cspi_exception_throw,
470 so we can strip it with the rest...
473 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
475 2006-03-27 Bill Haneman <bill.haneman@sun.com>
477 Add doxygen-generated IDL docs to tarball, and enable
478 doxygen during build/install when available. Bug #301345.
480 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
482 * docs/reference/Makefile.am: Add idl to SUBDIRS.
484 * docs/reference/idl/Makefile.am: Optionally use
485 doxygen to create docs.
487 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
489 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
491 2006-03-20 Bill Haneman <bill.haneman@sun.com>
494 (impl_get_selected_rows): Don't free the selection if it's
495 empty or has not been assigned; init it to NULL so you can tell.
496 Also, allow for zero selected rows.
497 (impl_getSelectedColumns): Ditto. Bug #319088.
499 2006-03-11 Vincent Untz <vuntz@gnome.org>
501 Leak fix for bug #334217.
503 * libspi/application.c: spi_application_toolkit_event_listener():
504 don't duplicate the string we pass as an argument to
505 spi_init_any_nil() since spi_init_any_nil() already does it
506 * registryd/deviceeventcontroller.c:
507 (spi_dec_button_update_and_emit): ditto
508 (spi_dec_mouse_check): ditto
509 (spi_dec_emit_modifier_event): ditto
510 (spi_device_event_controller_forward_mouse): ditto
511 * registryd/registry.c:
512 (desktop_add_application): ditto
513 (desktop_remove_application): ditto
515 2006-02-20 Bill Haneman <billh@gnome.org>
517 * configure.in: Rev to 1.7.6.
519 Leak fixes for bug #331924.
521 * atk-bridge/bridge.c:
522 (spi_atk_bridge_init_base): Don't dup the string, it's already
523 been dup-ed. Fixes a leak.
524 (spi_atk_emit_eventv): Move the CORBA_free call here,
525 instead of spi_atk_state_event_listener; fixes another leak.
526 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
527 notifying the registry; fixes another leak.
529 * registryd/registry.c:
530 (registry_flush_event_queue): Free the CORBA_any when
531 flushing the event, not just the string. Fixes another leak.
532 (registry_queue_event): Free the CORBA_any when dropping
533 events on the floor; fixes another leak.
536 (spi_init_any_object, spi_init_any_nil):
537 Always set _release to TRUE. Fixes another leak.
539 2006-02-20 Bill Haneman <billh@gnome.org>
541 * configure.in: Rev to 1.7.5.
542 Reinstate localization of this module. Thanks for Rodney
543 Dawes for fixing my patch.
545 * registryd/Makefile.am: Remove Accessibility_Registry.server
546 from dist, since it needs to be re-created at configure time.
549 2006-01-31 Bill Haneman <billh@gnome.org>
551 * configure.in: Rev to 1.7.4 (to include build fix below).
553 * idl/Makefile.am: Include Selector.idl in dist.
557 (cspi_internal_event_get_object): Handle case where
558 "object" isn't present, i.e. CORBA_TC_Object doesn't match
559 the EventDetails data.
560 (cspi_internal_event_get_text): Handle NULL string.
561 (cspi_internal_event_get_rect): Handle missing/empty rect
562 data, Accessibility_TC_RectBounds doesn't match any_data.
564 2006-01-30 Bill Haneman <billh@gnome.org>
568 * atk-bridge/bridge.c:
569 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
570 interface and use that when instantiating a new source
571 accessible. Better fix for bug #321814.
573 2006-01-27 Bill Haneman <billh@gnome.org>
575 * idl/Accessibility_Selector.idl: Added to the cvs repository.
577 * configure.in: Revved to 1.7.3.
579 2006-01-17 Bill Haneman <billh@gnome.org>
581 * configure.in: Revved to 1.7.2, re-dist to include docs.
583 2006-01-09 Bill Haneman <billh@gnome.org>
585 * configure.in: Removed po/Makefile.in inclusion, we do not need
588 * idl/Accessibility.idl: Improved documentation here, and for all
589 IDL in the 'GNOME::Accessibility' namespace.
591 * idl/Accessibility_Accessible.idl:
592 (LOCALE_TYPE): Added enum.
593 (AttributeSet): New, for returning multiple name/value attribute pairs.
594 (RoleSet): New, sequence of Roles, to be used in upcoming
596 (getAttributes): New API, allows retrieval of name/value pair
597 annotations for all kinds of Accessible objects. C.f.
598 Text:getAttributes, which is only for typographic/textual/semantic tags in
600 (getApplication): New, retrieves the host/containing Application
601 instance for an object (without having to walk up the whole tree).
603 * idl/Accessibility_Component.idl:
604 (getAlpha): New method, returns the alpha blending (aka 'opacity')
605 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
608 * idl/Accessibility_Event.idl:
609 (EventDetails): New struct definition, for encapsulating
610 commonly-queried information about emitted events. The use of
611 this structure in emitted events (in the 'any' member of
612 Accessibility_Event) should greatly reduce the number of
613 client-server roundtrips necessary.
615 * idl/Accessibility_Image.idl:
616 (imageLocale): New, a readonly attribute indicating the POSIX
617 LC_MESSAGES locale of the image and associated Alt/descriptive
620 * idl/Accessibility_Relation.idl:
621 (RELATION_PARENT_WINDOW_OF): Include, as complement to
624 * idl/Accessibility_Role.idl:
625 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
626 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
627 complex document and form support.
629 * idl/Accessibility_State.idl:
630 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
631 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
632 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
633 for support of complex documents and forms.
635 * idl/Accessibility_StreamableContent.idl:
636 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
637 allow old bonobo-stream interfaces to be deprecated in the next
640 * idl/Accessibility_Text.idl:
641 (getAttributeValue): New method, allows query-by-name of single
644 * libspi/accessible.c:
645 Added support for new roles. Implemented new methods
646 (impl_accessibility_accessible_get_application): New
647 (impl_accessibility_accessible_get_attributes): New
649 * libspi/component.c:
650 (impl_accessibility_component_get_alpha): New.
653 (impl_accessibility_image_get_locale): New.
655 * libspi/relation.c: Added support for new relation type.
657 * libspi/stateset.c: Added support for new state types.
660 (impl_getAttributeValue): New.
663 New prototypes for private methods
665 spi_init_any_object, spi_init_any_string,
668 * libspi/spi_event.c:
669 Use EventDetails in the event emission methods.
671 * cspi/spi-private.h:
672 (cspi_role_from_spi_role): Expose this adapter method, since
673 we need it in the bridge (see below).
676 (AccessibleEvent_getSourceName):
677 (AccessibleEvent_getSourceRole):
678 (AccessibleEvent_getSourceApplication):
679 (AccessibleEvent_getSourceDetails):
680 New methods for interrogating/demarshalling
681 event details (i.e. source's accessible name, role,
684 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
685 Make use of the new EventDetails struct in events, if present.
686 (AccessibleEvent_getSourceName)
687 (AccessibleEvent_getSourceRole)
688 (AccessibleEvent_getSourceApplication)
689 (AccessibleEvent_getSourceDetails): Implement the newly exposed
691 (Accessible_getAttributes): New, wraps
692 Accessibility_Accessible_getAttributes.
693 (Accessible_getHostApplication): New, wraps
694 Accessibility_Accessible_getApplication.
697 (AccessibleImage_getImageLocale): New wrapper for
698 Accessibility_Image_get_imageLocale.
700 * cspi/spi_component.c:
701 (AccessibleComponent_getAlpha): New wrapper for
702 Accessibility_Component_getAlpha.
704 * atk-bridge/bridge.c:
705 Use new prototyped for init_any methods.
706 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
707 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
708 (spi_atk_bridge_init_base): Wrappers
709 for spi_init_any_* methods, due to refactor; include extended
710 information in the Accessibility_EventDetails struct, for instance
711 accessible-name, Role, and containing Application.
713 * registryd/registry.c:
714 Use new event emission (with EventDetails).
716 * registryd/deviceeventcontroller.c:
717 Use new event emission (with EventDetails).
719 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
721 * configure.in: Generate po/Makefile.in
722 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
723 * cspi/spi_streamablecontent.c:
724 (accessible_bonobo_stream_client_seek),
725 (AccessibleStreamableContent_seek): Remove unused vars.
726 * libspi/application.c: Missing header.
727 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
728 * login-helper/login-helper.c: (login_helper_finalize),
729 (login_helper_init): Remove unused stuff
730 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
731 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
732 and surround some with #ifdef GRAB_BUTTON.
733 * test/event-listener-test.c: (main), (report_event),
734 (report_caret_event), (report_detail_event),
735 (report_detail1_event), (report_bounds_event), (report_text_event),
736 (report_text_selection_event),
737 (report_active_descendant_changed_event),
738 (report_children_changed_event), (report_name_changed_event),
739 (report_description_changed_event), (report_parent_changed_event),
740 (report_window_event), (report_table_summary_event),
741 (report_table_header_event), (report_table_caption_event),
742 (report_table_row_description_event),
743 (report_table_column_description_event), (timing_test_event):
744 Remove a bunch of unused variables and fix a slew of format specifiers
745 * test/key-listener-test.c: (report_all_key_event): Format specifier
746 * test/keypad-test.c: (print_key_event): Same
747 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
749 * test/screen-review-test.c: (main), (print_chunk_debug),
750 (review_buffer_get_text_chunk), (debug_chunk_list),
751 (string_guess_clip), (text_chunk_get_clipped_string),
752 (text_chunk_list_to_string), (get_screen_review_line_at):
753 Remove unused variables and fix format specifiers.
754 * test/simple-at.c: (report_text_event): Format specifier fix.
755 * test/stress-test.c: (main): Remove unused var.
757 2005-12-29 Abel Cheung <maddog@linuxhall.org>
759 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
760 (yes I know that's useless)
762 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
764 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
766 2005-11-17 Michael Meeks <michael.meeks@novell.com>
768 * atk-bridge/bridge.c (spi_atk_emit_eventv):
769 urgh-fix embarassing typo.
771 2005-11-16 Michael Meeks <michael.meeks@novell.com>
773 * atk-bridge/bridge.c (spi_atk_emit_eventv):
774 do a faster, less problematic _unref call on this local
775 object, rather than a slower (potentially cross-thread
776 complicated) CORBA call.
778 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
780 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
781 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
782 * registryd/deviceeventcontroller.c:
783 (spi_controller_notify_mouselisteners),
784 (impl_generate_keyboard_event):
785 * test/screen-review-test.c: (chunk_bounds_within):
786 * test/test-simple.c: (test_desktop): Remove some unused code
787 and fix compiler warnings. Closes bug #320049.
789 2005-10-27 Bill Haneman <bill.haneman@sun.com>
791 * registryd/deviceeventcontroller.c:
792 (spi_controller_notify_keylisteners): Check
793 to make sure the event listener has requested 'preemptive'
794 status before pre-empting an event.
796 2005-08-29 Bill Haneman <bill.haneman@sun.com>
798 * configure.in, README, NEWS: Release 1.6.5.
800 2005-07-25 Matthias Clasen <mclasen@redhat.com>
802 * test/window-listener-test.c: Fix a printf
803 format error. (#169453)
805 2005-07-15 Bill Haneman <bill.haneman@sun.com>
807 * tests/test-simple.c:
808 (key_listener_cb): Ensure that the keystring is dup'ed instead of
809 relying on the old string from the key event hanging around after
810 the event handler returns. Fixes broken 'make check'.
812 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
814 * Added Marathi (mr_IN) translations.
816 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
818 * cspi/bonobo/cspi-bonobo-listener.c:
819 (cspi_event_list_remove_by_cb): Fix the build.
821 2005-05-26 Michael Meeks <michael.meeks@novell.com>
823 * cspi/bonobo/cspi-bonobo-listener.c
824 (cspi_event_list_remove_by_cb): actually filter by callback.
826 2005-05-25 Bill Haneman <bill.haneman@sun.com>
828 * registryd/registry.c (remove_listener_cb):
829 Make deregistration filter rules match the event emission rules.
831 2005-05-25 Michael Meeks <michael.meeks@novell.com>
833 * registryd/registry.c (remove_listener_cb),
834 (impl_accessibility_registry_deregister_global_event_listener),
835 (impl_accessibility_registry_deregister_global_event_listener_all):
836 pass a closure to the remove callback to filter listeners more
837 accurately on remove.
839 2005-04-05 Bill Haneman <bill.haneman@sun.com>
841 * configure.in: Revved to 1.6.4.
842 Remember to put quotes around XEVIE_LIBS assignment.
843 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
846 * tests/event-listener-test.c: Tweaked the tests - more detail
847 from caret events, and some interrogation of AccessibleText APIs.
848 Commented-out the bounds-changed events by default, since they can
851 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
853 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
854 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
855 Same here. Closes bug #167806
857 2005-04-05 Bill Haneman <bill.haneman@sun.com>
859 * atk-bridge/bridge.c:
860 (spi_atk_bridge_signal_listener):
861 Free the any._value if any._release is TRUE,
862 since the ORB won't do it for us in this case
863 [because this method is not a skel].
866 2005-03-30 Steve Murphy <murf@e-tools.com>
868 * configure.in: Added "rw" to ALL_LINGUAS.
870 2005-03-29 Bill Haneman <bill.haneman@sun.com>
872 * configure.in: Improved check for HAVE_XEVIE, to detect
873 presence on XOrg, where -lXevie is a separate library.
875 2005-03-08 Bill Haneman <bill.haneman@sun.com>
877 * configure.in, NEWS, README: Revved to 1.6.3.
879 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
881 * configure.in: Added "xh" to ALL_LINGUAS.
883 2005-02-07 Bill Haneman <bill.haneman@sun.com>
885 * atk-bridge/bridge.c:
886 (atk_bridge_init): Added missing NULL in g_strconcat(),
887 also check for symlink before logging to
888 insecure directory. Thanks to meissner@suse.de.
890 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
892 * tests/login-helper-server-test.c: Add return call to main
893 function. Patch from Chris Lahey. Fixes bug #165129.
895 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
897 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
899 2004-12-09 Bill Haneman <billh@gnome.org>
901 * registryd/registry-main.c:
902 Added #define <string.h> for strrchr. (bug 160862).
903 Thanks to Vincent Berger for catching.
905 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
907 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
908 restart registry process if the registry process is found to have died
909 and the current process is exiting.
910 (spi_atk_bridge_exit_func): Do not attempt to deregister the
911 application if the registry process has died.
912 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
913 does not return a registry object.
914 (spi_atk_tidy_windows): Give up if the registry process has died.
916 This fixes problems with hangs and crashes when logging out.
918 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
920 * registryd/desktop.c: Add checking that we are not exiting before
921 calling spi_desktop_remove_application in
922 abnormal_application_termination. Fix for bug #152147.
924 2004-12-02 Bill Haneman <billh@gnome.org>
926 * configure.in, NEWS, README: Revved to 1.6.1.
928 Patch from Padraig O'Briain <padraig.obriain@sun.com>
929 * atk-bridge/bridge.c:
930 (atk_bridge_init): Save the pid when we start, to detect forks.
931 (spi_atk_bridge_exit_func): Don't call the cleanup routines
932 if we're in a forked pid.
934 2004-10-09 Bill Haneman <billh@gnome.org>
936 * idl/Accessibility_LoginHelper.idl:
937 Improved inline documentation.
939 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
941 * configure.in: Added gl (Galician) to ALL_LINGUAS
943 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
945 * libspi/accessible.c:
946 (impl_accessibility_accessible_get_role_name),
947 (impl_accessibility_accessible_get_local_role_name):
949 * libspi/component.c:
950 (impl_accessibility_component_get_accessible_at_point):
952 * libspi/eventlistener.c: (spi_event_listener_new):
954 * libspi/stateset.c: (impl_compare): More of the same
955 * libspi/table.c: (impl_getRowDescription): Again.
956 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
957 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
958 (impl_generate_keyboard_event): Same.
959 * registryd/registry-main.c: (main): Same
960 * test/event-listener-test.c: (test_exit): Same
961 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
962 * test/keysynth-test.c: (test_key_synthesis): Same
963 * test/login-helper-server-test.c: (main): Fix warning.
964 * test/screen-review-test.c: (test_exit): Fix include.
965 * test/simple-at.c: (simple_at_exit), (_festival_init):
968 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
970 * configure.in, NEWS, README: Revved to 1.6.0.
972 2004-09-12 Bill Haneman <bill.haneman@sun.com>
974 * configure.in: Rev and re-dist, since the 1.5.4 tarball
975 was missing the HTML docs.
977 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
979 * configure.in: only cleanups:
980 - better looking PKG_CHECK_MODULES() output,
982 - declare in one common place required versions of other tools using
985 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
987 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
988 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
989 required ATK version accordingly.
991 2004-09-03 Bill Haneman <bill.haneman@sun.com>
993 * cspi/bonobo/cspi-bonobo.c:
994 (cspi_display_name): Fix C99ism.
995 * atk-bridge/bridge.c:
996 (spi_display_name): Fix C99ism.
997 Patch from Jens Granseuer, jensgr@gmx.net.
999 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1001 * configure.in: Added "or" to ALL_LINGUAS.
1003 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1005 * configure.in, NEWS, README: Revved to 1.5.4.
1007 * registryd/registry-main.c:
1008 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1011 * cspi/bonobo/cspi-bonobo.c:
1012 (cspi_display_name): New convenience method, gets DISPLAY with
1013 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1014 (cspi_init): Set the activation env value above before getting
1017 * atk-bridge/bridge.c:
1018 (spi_display_name): Create the AT_SPI_DISPLAY activation
1019 environment for an app, based on the DISPLAY environment with the
1020 screen number stripped off.
1021 (atk_bridge_init): Allow redirection of error messages to a log.
1022 (spi_atk_bridge_get_registry): Call
1023 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1025 Fixes for bugs #149962, #136986, #144086.
1027 2004-08-16 Christian Rose <menthos@menthos.com>
1029 * configure.in: Added "bs" to ALL_LINGUAS.
1031 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1033 * configure.in: Added nb to ALL_LINGUAS.
1035 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1038 (SPI_init): Return error code '2' if the activated
1039 registry cannot be pinged. Fixes bug #147648.
1041 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1043 * registryd/deviceeventcontroller.c:
1044 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1045 rely on timer-poll instead, to avoid conflict with
1048 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1050 * configure.in: Revved to 1.5.3.
1052 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1054 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1056 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1058 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1060 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1062 * atk-bridge/bridge.c:
1063 (spi_atk_bridge_do_registration):
1064 Register with ATK for AtkComponent:bounds-changed events.
1065 (api_atk_bridge_signal_listener):
1066 Marshal the AtkRectangle info into the event notification
1067 for object:bounds-changed events.
1070 (spi_init_any_rect): New method, inits a corba struct of
1071 type Accessibility_BoundingBox from an AtkRectangle.
1073 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1076 (SPIRect): New struct definition.
1077 (SPI_freeRect): New declaration.
1078 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1081 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1082 implemented. Gets the bounding box data from the CORBA_any
1083 associated with a bounds-changed event notification.
1084 (cspi_internal_event_get_rect): New, used internally by above method.
1087 (SPI_freeRect): Implemented this new method, for freeing
1090 * test/event-listener-test.c:
1091 (main, report_bounds_event):
1092 Added a test for object:bounds-changed events.
1094 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1096 * test/login-helper-server-test.c:
1097 (main): Fix C99-ism. Thanks to Jens Granseuer.
1099 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1101 * libloginhelper-1.0.pc.in:
1102 * idl/Accessibility_LoginHelper.idl:
1103 * login-helper/Makefile.am:
1104 * login-helper/login-helper.[ch]:
1105 * test/login-helper-client-test.c:
1106 * test/login-helper-server-test.c: Added files missing from CVS.
1107 Files obtained from at-spi-1.5.2 tarball.
1109 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1111 * configure.in: Create login-helper/Makefile.
1112 Incremented micro version.
1114 * Makefile.am: Add login-helper subdir and pkgconfig data.
1116 * login-helper: New subdir.
1118 * libloginhelper-1.0.pc.in: New.
1120 * idl/Accessibility_LoginHelper.idl: New file, defines
1121 interface whereby authentication clients can identify agents which
1122 need access to services during the login process, e.g. screen lock
1125 * login-helper/Makefile.am : New.
1127 * login-helper/login-helper.[ch] : New, implementation of
1128 a LoginHelper base class. Services needing LoginHelper can subclass.
1130 * test/Makefile.am : Added test for login-helper, client and
1133 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1134 Use proper prefix in #include files.
1136 * test/login-helper-client-test.c: New.
1138 * test/login-helper-server-test.c: New.
1140 2004-05-27 Alexander Shopov <ash@contact.bg>
1142 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1144 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1146 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1147 is positive. This should make it easier to detect inapprorpiate unref
1150 2004-05-11 James Henstridge <james@daa.com.au>
1152 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1153 no-op and deprecated.
1155 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1157 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1159 2004-04-28 Bill Haneman <billh@gnome.org>
1161 * Makefile.am: Added --enable-gtk-doc to
1162 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1164 2004-04-19 Bill Haneman <billh@gnome.org>
1166 * configure.in: Revved to 1.5.1.
1168 * registryd/deviceeventcontroller.c:
1170 (DEControllerPrivateData): Added fields for
1171 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1172 (spi_dec_replace_map_keysym): New internal utility for
1173 replacing a keysym in the keymap - used to allow
1174 synthesis of individual characters which aren't in the
1176 (spi_dec_reset_reserved): New; resets the changed keysym value
1178 (keycode_for_keysym): We now try to deal with failed
1179 XKeysymToKeycode requests by changing a keymap value
1180 and returning a reserved keycode. We now take
1181 a DEController pointer as first arg.
1182 (spi_controller_register_with_devices): Call XkbGetMap with
1183 the XkbKeySymsMask. Find the highest keycode in the current
1184 keymap which doesn't have any grabs, and mark that one for
1185 temporary re-mapping when out-of-range KeySyms are synthesized.
1186 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1189 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1191 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1193 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1195 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1197 2004-03-24 Bill Haneman <billh@gnome.org>
1200 (AccessibleTable_addRowSelection),
1201 (AccessibleTable_addColumnSelection),
1202 (AccessibleTable_removeRowSelection),
1203 (AccessibleTable_removeColumnSelection):
1204 Add declarations for spi wrappers which were
1205 inadvertantly omitted. Fixes bug #133413.
1208 Revved to 1.5.0 (unstable series for GNOME 2.7).
1210 2004-03-24 Bill Haneman <billh@gnome.org>
1212 * atk-bridge/bridge.c:
1213 Bracketed some debug output in
1214 conditionals, to avoid printing it in normal use.
1217 * libspi/hyperlink.c:
1218 Don't cast 'object' to ATK_OBJECT when constructing
1219 an AtkAction interface for a hyperlink.
1220 See discussion in bug #120659.
1222 * test/key-listener-test.c:
1223 (report_all_key_event): Send output to stderr,
1224 not stdout, for consistency with the rest of the test callbacks.
1227 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1228 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1229 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1230 try incrementing the revision AFTER doing a dist, at least
1233 2004-03-22 Bill Haneman <billh@gnome.org>
1235 * configure.in: Revved to 1.4.0, libtool 9.14.9
1237 2004-03-17 Laszlo Peter <laca@sun.com>
1239 * libspi-1.0-uninstalled.pc.in: add idldir
1241 * cspi-1.0-uninstalled.pc.in: add idldir
1243 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1245 * configure.in: Added "en_GB" to ALL_LINGUAS
1247 2004-03-15 Bill Haneman <billh@gnome.org>
1249 * configure.in: Revved to 1.3.16,
1252 2004-03-15 Laszlo Peter <laca@sun.com>
1254 * libspi-1.0-uninstalled.pc.in: new file
1256 * cspi-1.0-uninstalled.pc.in: new file
1258 * configure.in: add the new pc files to AC_OUTPUT
1260 * Makefile.am: add the new pc files to EXTRA_DIST
1262 2004-03-12 Bill Haneman <billh@gnome.org>
1264 * atk-bridge/bridge.c:
1265 (spi_atk_bridge_key_listener):
1266 Make sure to return consumed=FALSE if snoop
1267 event is not dispatched to listener.
1270 2004-03-01 Bill Haneman <billh@gnome.org>
1272 * configure.in: Revved to 1.3.15,
1275 2004-03-07 Danilo Segan <dsegan@gmx.net>
1277 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1279 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1281 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1283 2004-03-01 Bill Haneman <billh@gnome.org>
1285 * configure.in: Revved to 1.3.14.
1288 (SPI_exit): Removed "bye-bye" exit message.
1289 Moved "leak" report to happen before the
1290 iteration over the leaked refs list.
1291 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1293 2004-02-24 Bill Haneman <billh@gnome.org>
1295 * configure.in: Revved to 1.3.13.
1297 * docs/reference/cspi/Makefile.am:
1298 Correct typo that was breaking the docs build.
1300 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1302 * autogen.sh: Require version 1.7 of automake.
1304 * configure.in: call GTK_DOC_CHECK([1.0])
1306 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1308 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1310 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1312 * test/Makefile.am: Remove use of CFLAGS.
1314 This fixes bug #132987.
1316 2004-02-11 Bill Haneman <billh@gnome.org>
1318 * reverted most of Tomasz' patch below, since it was breaking
1319 builds (see bug #134058).
1321 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1323 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1324 correct pass "make dist" (empty .. because seems no sach types in
1325 header files with gtk-doc markups).
1326 * docs/reference/cspi/Makefile.am, configure.in:
1327 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1328 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1329 * Makefile.am: added:
1330 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1331 for force correct pass generate documentation on "make distcheck".
1332 * libspi/Makefile.am: fixes for automake >= 1.6.
1333 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1334 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1337 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1339 * docs/reference/cspi/Makefile.am (install-data-local): Install
1340 index.sgml since the doc autobuilder on widget.gnome.org looks for
1343 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1345 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1348 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1350 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1352 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1354 * test/simple-at.c: Fixed null string problems that cause core
1355 dumping problems on Solaris.
1357 2004-01-12 Bill Haneman <billh@gnome.org>
1359 * configure.in: Incremented version to 1.3.11.
1361 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1363 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1364 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1367 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1369 * configure.in: Added "fa" to ALL_LINGUAS.
1371 2003-12-20 Arafat Medini <lumina@silverpen.de>
1373 * configure.in: Added "ar" to ALL_LINGUAS
1375 2003-12-16 Bill Haneman <billh@gnome.org>
1377 * registryd/registry-main.c:
1379 Set the reg_env DISPLAY variable before registering the
1380 activated registry service. Fixes bug #129479.
1382 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1384 * configure.in: Added "id" in ALL_LINGUAS
1385 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1387 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1389 * registryd/deviceeventcontroller.c (global_filter_fn):
1390 When an event is consumed discard any XEvents were added to
1391 the queue while dealing with the the event. This can happen if
1392 processing of the event takes a long time. Call XUngrabKeyboard
1393 if an event was discarded. This fixes bug $124837.
1394 Only call wait_for_release_event for a KeyPress.
1395 Use local variable display instead of spi_get_display().
1396 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1399 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1401 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1402 Allow for mask to contain values other than NumLock mask.
1405 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1407 * registryd/devieceventcontroller.c:
1408 (wait_for_release_event): Change first parameter from GdkEvent to
1410 (global_filter_fn); Correct call to wait_for_release_event.
1414 2003-12-08 Bill Haneman <billh@gnome.org>
1418 * registryd/ucs2keysym.c: New file.
1420 * registryd/deviceeventcontroller.c:
1421 (dec_keysym_for_unichar): Remove old partial implementation and
1422 replace with call to ucs2keysym(), which is much more complete.
1423 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1428 2003-12-05 Bill Haneman <billh@gnome.org>
1430 * configure.in: Version 1.3.9.
1432 * docs/reference/cspi/tmpl/spi_registry.sgml:
1433 Added reference to libspi/keymasks.h to the
1434 description of Registry queries: AccessibleKeyMaskType.
1437 2003-12-04 Bill Haneman <billh@gnome.org>
1439 Fix for bug #121974.
1441 * idl/Accessibility_Application.idl:
1442 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1443 setlocale's LC_TYPEs.
1444 (Accessibility::Application::getLocale): New method.
1445 Allows clients to query the locale, by type, of an app.
1448 * cspi/spi_application.c:
1449 (AccessibleApplication_getLocale): New method, wraps IDL above.
1451 * libspi/application.c:
1452 (spi_application_class_init): Init epv entry for getLocale.
1453 (impl_accessibility_application_get_locale): Impl for above.
1455 * test/test-simple.c:
1456 (test_application): Added assertion for getLocale, i.e.
1457 that the string from AccessibleApplication_getLocale (app, type)
1458 is the same as that from setlocale (type, NULL);
1460 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1462 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1463 the keyboard on a timeout intil the key state goes from pressed to
1464 released. Fixes bug #111429.
1466 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1468 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1469 root object so that it is present when a context menu in an
1470 out-of-process applet is popped up.
1471 (spi_atk_bridge_do_registration): Create acceessible application root
1472 object only if it does not exist.
1474 This fixes bug #125834.
1476 2003-12-01 Bill Haneman <billh@gnome.org>
1478 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1481 Added enum for AccessibleStreamableContentSeekType.
1482 (AccessibleStreamableContent_freeContentTypeList): New.
1484 * cspi/spi_streamablecontent.c:
1485 (accessible_bonobo_stream_client_seek): New private method.
1486 (AccessibleStreamableContent_seek): Implemented this method,
1487 using Bonobo_Stream_seek.
1488 (AccessibleStreamableContent_freeContentTypeList): New method
1489 for freeing the return value from
1490 AccessibleStreamableContent_getContentTypes.
1491 (stream_cache_item_free): Replaces stream_release; stop leaks.
1492 (stream_release): removed.
1493 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1494 free the memory properly.
1496 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1498 Fix for bug #116009.
1500 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1502 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1504 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1506 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1508 2003-12-01 Bill Haneman <billh@gnome.org>
1510 Fix for bug/rfe #127463.
1512 * idl/Accessibility_Accessible.idl:
1513 (getLocalizedRoleName): New.
1514 (unimplemented4): Removed (replaced by above).
1516 * libspi/accessible.c:
1517 (impl_accessibility_accessible_get_local_role_name): New.
1518 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1522 (Accessible_getLocalizedRoleName): New.
1524 * cspi/spi_accessible.c:
1525 (Accessible_getLocalizedRoleName): New.
1527 2003-12-01 Bill Haneman <billh@gnome.org>
1529 Fix for bug #118581.
1530 * idl/Accessibility_Text.idl:
1531 (getDefaultAttributes): New.
1532 (unimplemented4): Removed (replaced by above method).
1535 (impl_getDefaultAttributes): New method.
1536 (spi_text_class_init):
1537 initialize the get_default_attributes slot in the epv.
1540 (AccessibleText_getDefaultAttributes): New prototype.
1543 (AccessibleText_getDefaultAttributes): New method.
1545 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1547 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1548 write beyond the end of the table. Fixes bug #120473.
1550 2003-09-30 Christian Rose <menthos@menthos.com>
1552 * configure.in: Added "eu" to ALL_LINGUAS.
1554 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1556 * configure.in: ALL_LINGUAS: Added no.
1558 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1560 * configure.in: Added lt to ALL_LINGUAS.
1562 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1564 * atk-bridge/bridge.c:
1565 (atk_bridge_init): Register event listeners always even for
1566 out-of-process applet.
1567 (spi_atk_bridge_toplevel_added): Remove call to
1568 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1569 (spi_atk_bridge_toplevelk_removed): Remove call to
1570 spi_atk_deregister_event_listenersa as the listeners are now always
1572 (spi_atk_bridge_register_application): Remove call to
1573 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1575 This fixes bug #120991.
1577 * libspi/table.c (impl_getColumnDescription): Correct typo,
1578 pointed out by Bolian.Yin@sun.com.
1580 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1582 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1584 2003-09-08 Bill Haneman <billh@gnome.org>
1586 * configure.in: Revved to 1.3.7.
1588 This is the GNOME 2.4.0 release of at-spi.
1590 * docs/reference/cspi/Makefile.am:
1591 Removed spurious inclusion of 'index.sgml' in the
1592 html directory; this was breaking make distcheck and
1593 also some other build environments.
1595 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1597 * registryd/registry.[ch}:
1598 Add queue_handler_id and focus_object to SpiRegistry data structure.
1599 (registry_flush_event_queue): If event being discarded is
1600 "state-change:focused" store object as focus_object.
1601 (registry_start_queue): Remove queue handler and focus object
1603 (registry_discard_event): New function which discards a focus event
1604 if we had stored focus object in the registry.
1605 (registry_queue_event): Add new check that is_queueing is set as this
1606 function is reentrant.
1607 (registry_filer_event): Add call to registry_discard_event.
1609 This resolves issues raised in bug #108664.
1611 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1613 * configure.in: Added "bn" to ALL_LINGUAS.
1615 2003-09-04 Bill Haneman <billh@gnome.org>
1617 * cspi/spi_event.c: Documentation improvements for
1618 (SPI_registerAccessibleKeylistener).
1620 * docs/reference/tmpl/spi_registry.sgml:
1621 Documentation improvements for SpiAccessibleKeylistenerCB.
1623 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1625 * configure.in: Added "ro" to ALL_LINGUAS.
1628 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1630 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1631 not decremented to zero. Fixes bug #120725.
1633 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1635 * configure.in: Added "ja" to ALL_LINGUAS.
1637 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1639 * configure.in: Added "is" to ALL_LINGUAS.
1641 2003-08-22 Christian Rose <menthos@menthos.com>
1643 * configure.in: Added "nl" to ALL_LINGUAS.
1645 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1647 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1648 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1650 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1652 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1653 type for unspecified exception.
1654 * cspi_streamablecontect): Add include of string.h for memcpy.
1655 (stream_release): Correct call to bonobo_object_release_unref
1656 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1657 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1658 argument of _cspi_expection_throw.
1659 * libspi/hyperlink.c: Add include of libspi/action.h:
1660 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1661 * libspi/streamablecontent.c: add include of libspi/component.h.
1662 * regisrtyd/deviceeventcontroller.c:
1663 (spi_dec_translate_mask): Removed unused variable priv.
1664 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1665 * registryd/registry.c:
1666 (registry_filter_event): Remove unused variable queue_is-empty.
1667 (impl_registry_notify_event): Use correct modifier in fprintf call.
1669 This fixes compiler warnings reported in bug #120220.
1671 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1673 * registryd/registryd.c: Remove this file.
1675 2003-08-17 Sanlig Badral <badral@openmn.org>
1677 * configure.in: Added mn to ALL_LINGUAS.
1679 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1681 * configure.in: Added et to ALL_LINGUAS.
1683 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1685 * test/event-listener-test.c: Change active-descendant to
1686 active-descendant-changed.
1688 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1690 * configure.in: Added "fi" in ALL_LINGUAS.
1692 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1694 * configure.in: Added "hi" in ALL_LINGUAS.
1696 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1698 * configure.in: Revved to 1.3.6.
1702 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1704 * registryd/deviceeventcontroller.c
1705 (spi_device_event_controller_object_finalize): Fix typo in previous
1708 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1710 * registryd/deviceeventcontroller.c
1711 (spi_device_event_controller_object_finalize): Fix build on
1712 systems without XEvIE.
1714 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1716 * acconfig.h, configure.in, registryd/Makefile.am,
1717 registryd/devicecontoller.[ch]: Add XEViE support.
1719 2003-08-06 Wang Jian <lark@linux.net.cn>
1721 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1723 2003-08-06 Metin Amiroff<metin@karegen.com>
1725 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1727 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1729 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1730 MODIFIER_ALT in correct place.
1732 This fixes part of bug #118114.
1734 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1736 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1738 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1740 * configure.in: Added "ko" to ALL_LINGUAS.
1742 2003-07-28 Ole Laursen <olau@hardworking.dk>
1744 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1746 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1748 * configure.in: Added "sq" to ALL_LINGUAS.
1750 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1752 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1754 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1756 * configure.in: updated ALL_LINGUAS list
1758 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1760 * configure.in: Added Belarusian to ALL_LINGUAS.
1762 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1764 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1766 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1767 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1769 This fixes bug #116949.
1771 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1773 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1774 Correct CSPI to SPI in function documentation.
1776 This fixes bug #118054.
1778 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1780 * configure.in: Added Russian to ALL_LINGUAS.
1782 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1784 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1786 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1788 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1790 2003-07-10 Joel Brich <joel.brich@laposte.net>
1792 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1794 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1796 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1798 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1800 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1801 resources allocated for AccessibleEvent. See cspi_event().
1803 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1804 static variable streams to NULL.
1806 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1807 Update so that AcessibleEvent_ref will work.
1809 This fixes bug #116624.
1811 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1813 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1815 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1817 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1819 2003-07-02 Christian Neumair <chris@gnome-de.org>
1821 * configure.in: Added "de" (German) to ALL_LINGUAS.
1823 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1825 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1827 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1829 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1831 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1833 * configure.in: Added "pl" to ALL_LINGUAS.
1835 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1837 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1839 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1842 (get_action_from_servant):
1843 Removed assertion that action is implemented on an AtkObject.
1845 * libspi/hyperlink.c:
1846 (spi_hyperlink_new):
1847 Aggregate AccessibleAction interface on the hyperlink object if
1848 the object implements AtkAction. (This convention is used in
1851 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1853 * configure.in: Revved to 1.3.5.
1855 * registryd/Accessibility_Registry.server.in.in:
1856 Marked up appropriate strings for translation.
1858 * atk-bridge/bridge.c: Marked a couple of
1859 user-visible warnings for translation. Questionable
1860 whether they are really useful, but possibly so.
1863 2003-06-28 Christian Rose <menthos@menthos.com>
1865 * configure.in: Added "sv" to ALL_LINGUAS.
1867 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1869 * registryd/registry.c:
1870 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1871 (registry_defer_on_event): Defer focus: events, this is an
1872 improvement to the patch for bug #108664.
1874 * TODO: Update with 2.4/"Dev Complete" items.
1876 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1878 * atk-bridge/bridge.c:
1879 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1880 looks up signals once.
1881 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1882 if doing registration.
1883 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1884 when doing registration.
1886 This fixes bug #115014.
1888 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1890 * atk-bridge/bridge.c:
1891 (atk_bridge_init): Add signal handler for children-changed:remove on
1892 root when in a BonoboComponent.
1893 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1894 for first toplevel only other incrememt variable toplevels.
1895 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1896 application and remove listeners.
1897 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1899 (spi_atk_deregister_event_listeners): New function which removes
1901 (reinit_register_vars): New fuction which reinitializes variables.
1903 This fixes bug #111578.
1905 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1907 * configure.in: version 1.3.4.
1909 * cspi/spi_accessible.c:
1910 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1913 2003-06-13 Michael Meeks <michael@ximian.com>
1915 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1917 * cspi/spi_main.c (cspi_peek_ev): impl.
1919 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1921 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1923 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1925 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1926 SPI_ROLE_AUTOCOMPLETE
1928 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1930 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1931 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1933 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1935 * libspi/streamablecontent.h:
1936 * libspi/streamablecontent.c:
1937 New files, provide implementation/wrappers for
1938 Accessibility_StreamableContent.
1940 * cspi/spi_streamablecontent.c:
1941 Connected the C wrappers to the libspi C bindings.
1942 (AccessibleStreamableContent_close): New method.
1945 (AccessibleStreamableContent_close): New method, needed
1946 since we have an "open, [seek], read, close" model in cspi.
1948 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1950 Fix for #108664; Padraig's revision of my original patch.
1952 * registryd/registry.h:
1953 Added event queue list, is_queuing, and exit_notify_timeout
1954 to the registry struct.
1956 * registryd/registry.c:
1957 (registry_init): Initialize new struct from registry.h.
1958 (impl_registry_notify_event):
1959 Filter events before notifying, in case some need to be
1961 (registry_filter_event): New,
1962 we defer certain incoming events (for instance
1963 window:deactivate) because we may wish to hide
1964 or reject them based on pending events. This is
1965 mostly a workaround for bug #108664.
1966 (registry_queue_event, registry_start_queue): New.
1967 (registry_defer_on_event): Test event to see if it
1969 (registry_reset_on_event): Returns TRUE if the
1970 event should cause a queue reset.
1971 (registry_discard_on_event): Returns TRUE if the event
1972 should cause the previous queue contents to be discarded.
1973 (registry_timeout_flush_queue): Flushes the pending event
1974 queue if no reset/discard-triggering events have come in
1975 within the timeout period.
1976 (registry_emit_event): New.
1977 (registry_clone_notify_context): New, used when queueing the
1978 event notify contexts.
1980 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1982 * configure.in: Version revved to 1.3.2, lt 0.9.2
1983 Incremented ATK required version to 1.3.4.
1985 * cspi/spi_registry.c:
1986 (SPI_generateKeyEvent):
1987 We now pass the keystring along if it's non-null.
1989 * registryd/deviceeventcontroller.c:
1990 (keysym_mod_mask): New method, returns modifier mask
1991 required to generate a keysym from a given keycode.
1992 (dec_synth_keysym): New method.
1993 (dec_synth_keystring): New method.
1994 (dec_get_modifier_state): New method.
1995 (dec_lock_modifiers): New
1996 (dec_unlock_modifiers): New.
1997 (dec_keysym_for_unichar): New, rather brute-force
1998 conversion from UCS-4 to X KeySyms. Only works for
1999 Latin at the moment, with partial implementations for
2000 Greek, Hebrew, and (incomplete) Katakana.
2001 (impl_generate_keyboard_event): Now implement
2002 "KEYSTRING" synthesis and implement "KEYSYM"
2004 (keycode_from_keysym): Improved, passes a returned
2005 modmask value now if the corresponding param is non-NULL.
2007 Fixes bugs #92143 and #109776.
2010 * test/keysynth-test.c:
2011 New test program for key synthesis, to confirm fixes for
2015 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2017 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2019 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2020 Add line for RELATION_POPUP_FOR
2022 * docs/reference/cspi/tmpl/spi_relation.sgml:
2023 Add relation SPI_RELATION_POPUP_FOR
2025 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2026 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2028 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2030 * libspi/relation.c (spi_init_relation_type_table):
2031 Add line for RELATION_POPUP_FOR
2033 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2035 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2036 there are still windows which have not been deleted and emit
2037 window:deactivate, if necessary and window:destroy events.
2038 This fixes bug #114370. The change on June 5th was not correct.
2040 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2042 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2045 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2047 New methods for client exception handling and interception.
2048 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2049 (SPI_exceptionHandlerPop): You guessed it...
2050 (SPI_getSourceType): Return the type of object which offended.
2051 (SPI_getExceptionCode): Return an enum code telling, possibly,
2052 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2053 (SPIAccessibleException_getSource): get the source object for
2054 exceptions that come from Accessibles, if SPIExceptionSourceType is
2055 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2056 (SPIException_getDescription): New, returns a string description of
2057 the problem. [Not yet a stable ABI, strings are not frozen]
2059 * cspi/spi-private.h:
2060 Added implementation details of opaque SPIException
2064 Implementations of above. Also
2065 (_cspi_exception_throw): new private method that
2066 dispatches exceptions to handlers, called from cspi-bonobo.c
2068 * cspi/bonobo/cspi-bonobo.c:
2069 (cspi_check_ev): call _cspi_exception_throw.
2070 Don't print a warning message if the exception has been
2071 handled by _cspi_exception_throw.
2073 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2075 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2076 there are still windows which have not been deleted and emit
2077 window:deactivate, if necessary and window:destroy events.
2078 This fixes bug #114370.
2080 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2083 (cspi_accessible_is_a): Make non-fatal
2084 if the object reference is dead.
2086 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2088 * cspi/spi_main.c: #include <stdio.h>
2089 * test/simple-at.c: ditto
2090 * test/event-listener-test.c: ditto
2091 * test/screen-review-test.c: ditto
2093 2003-05-30 Michael Meeks <michael@ximian.com>
2095 * test/test-simple.c (main): use CORBA_ORB_perform_work
2096 instead of an unnecessary linc_ call.
2098 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2100 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2101 Add SPI_STATE_INDETERMINATE.
2103 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2106 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2108 * libspi/stateset.c (init_state_type_tables): Add support for
2111 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2113 * configure: Update versions of atk and gail required.
2114 This fixes bug #113268.
2116 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2118 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2120 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2122 * libspi/Makefile.am:
2123 Ensure headers are generated before being used by c sources.
2125 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2128 Simplified lt versioning rules.
2129 Incremented version to 1.3.0, to indicate that we're on the
2130 unstable branch now.
2132 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2134 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2135 Add MKDB_OPTIONS=--outtput-format=xml
2137 * docs/reference/cspi/at-spi-cspi-docs.sgml
2138 docs/reference/idl/at-spi-idl-docs.sgml:
2139 Convert to Docbook XML.
2141 This fixes bug #111793.
2143 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2145 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2146 AcccessibleKeyEventType, AccessibleKeyMaskType.
2148 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2150 * cspi/state-types.h: Add documentation for AccessibleState.
2152 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2153 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2154 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2155 AccessibleComponentLayer.
2157 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2160 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2162 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2163 Accessible. Add description of AccessibleEvent,
2164 AccessibleEventListenerCB.
2166 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2169 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2170 documentation. Add description of AccessibleKeystrokeListenerCB,
2171 AccessibleKeyEventMask, AccessibleModifierMaskType,
2172 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2173 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2175 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2178 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2181 This fixes bug #104730.
2183 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2185 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2186 Set is_text field of Accessibility_DeviceEvent data structure.
2188 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2189 is-text field of AccessibleDeviceEvent data structure.
2191 This addresses part of bug #108666.
2193 * registryd/devcieeventcontroller.c: Unset debug option.
2195 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2197 * cspi/accessible.c:
2198 (cpi_initial_relation_type_table): New function which initializes
2199 mapping between Accessibility_RelationType and AccessibleRelationType.
2200 (cspi_relation_type_from_spi_relation_type): New function which
2201 translates an Accessibility_RelationType into an AccessibleRelationType.
2202 (AccessibleRelation_getRelationType): Use
2203 cpi_relation_type_get_spi_relation_type to return correct value.
2204 (spi_state_to_corba): Return correct type for default case.
2206 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2207 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2209 * cspi/cspi-bonobo-listener.c:
2210 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2213 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2214 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2215 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2216 libspi/image.c, libspi/listener.c, libspi/selection.c,
2217 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2218 registryd/desktop.c, registryd/registry.c:
2219 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2221 * libspi/eventlistener.c
2222 Remove semicolon after BONOBO_TYPE_FUNC.
2224 * libspi/relation.c:
2225 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2226 (spi_init_relation_type_table): Initialize using correct type.
2228 * registryd/desktop.c:
2229 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2230 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2231 of Accessibility_KeyEventType.
2233 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2236 * tests/simple-at.c, tests/screen-review-test.c:
2237 Add include for <strings.h>.
2239 * tests.stress-test.c:
2240 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2242 These changes fix compiler warnings when using FORTE compiler on
2243 Solaris; fixes bug #107479.
2246 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2249 * configure.in: revved to 1.1.10
2251 * libspi/keymasks.h:
2252 (SPI_KEYMASK_NUMLOCK): Added.
2254 * registryd/deviceeventcontroller.c:
2255 (spi_key_event_matches_listener): AND with a smaller
2256 bitmask (as we should).
2257 (spi_dec_translate_mask):
2258 New method, sets the virtual NumLock modifier bit
2259 if numlock is on. Eventually it can handle other virtual
2260 modifier bits if needed, or other marshalling from
2261 at-spi modifier masks to platform (X) masks.
2262 (spi_dec_key_listener_new):
2263 Call spi_dec_translate_mask to set up virtual mod bits
2264 in the 'mask' field when creating a new listener struct.
2265 (spi_dec_emit_modifier_event):
2266 Set the virtual (i.e. NumLock) bits before emitting event.
2267 (spi_controller_register_with_devices):
2268 Query for the NumLock modifier 'physical' bit if Xkb is
2269 present, for use in above methods.
2273 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2275 * registryd/deviceeventcontroller.c:
2276 (spi_keystroke_from_x_key_event):
2277 Instead of checking to see if the keysym is
2278 printable, check the string from XLookupString
2279 if available, get the first unicode character from it,
2280 and call g_unichar_isprint to determine whether the
2281 is_text flag should be TRUE or FALSE.
2285 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2287 * atk-bridge/bridge.c: Add support for extended events
2288 * cspi/spi_event.c: Add documentation and implementation for
2290 * tests/event-listener-test.c: Add tests for extended events.
2292 This fixes bugs #100424 and #100426.
2294 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2296 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2297 of LT_CURRENT. This fixes bug #89350.
2299 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2301 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2302 number of signal parameter values before accessing them. This fixes
2305 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2307 * configure.in: Fixed duplicate inclusion of -lspi.
2308 * branched for gnome-2-2/HEAD.
2309 [created tag "gnome-2-2"]
2311 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2313 * configure.in: 1.1.9 release.
2316 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2318 [needed by GOK, to fix bugs 107985 and 107988]
2319 * registryd/deviceeventcontroller.c:
2320 (spi_dec_clear_unlatch_pending):
2321 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2322 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2323 (spi_dec_init_mouse_listener):Emit warning if mouse button
2325 (spi_device_event_controller_forward_mouse_event):
2326 Removed unnecessary parens from a conditional.
2327 (global_filter_fn):Added TODO comment.
2328 (impl_generate_keyboard_event):
2329 Cancel a pending relatch if a 'delatching' key was
2332 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2334 * atk-bridge/bridge.c:
2335 Change atk_signal_child_changed to atk_signal_children_changed.
2336 Reorganize code in spi_atk_bridge_signal_listener().
2338 * test/event-listener-test.c:
2339 Add children_changed_listener and report_children_changed_event()
2340 to test AccessibleChildEvent_getChildAccessible.
2342 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2344 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2345 g_strdup to CORBA_String_dup (bug #105291)
2347 * test/event-listener-test.c (report_text_event): Add call to
2350 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2352 * registryd/deviceeventcontroller.c:
2353 (spi_keystroke_from_x_key_event):
2354 Fix string and keysym return codes to match modifier state.
2357 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2359 * registryd/deviceeventcontroller.c:
2360 (spi_keystroke_from_x_key_event):
2361 Fix segv due to improper use of isprint(c). [bug #107254]
2363 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2366 (get_accessible_text_boundary_type):
2367 Move default return value to (new) default case in switch.
2368 (get_accessible_text_clip_type):
2369 Move default return value to (new) default case in switch.
2371 * libspi/application.c:
2372 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2373 Remove unused methods.
2374 (impl_accessibility_application_register_object_event_listener):
2375 Remove unused methods.
2378 Added #include of <math.h>.
2380 * registryd/deviceeventcontroller.c:
2381 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2382 we don't currently use this method.
2383 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2385 (impl_generate_key_event):
2386 Remove unused variables.
2387 (impl_generate_mouse_event):
2388 Initialize button to zero, just in case we get an invalid
2389 input. Added support for mouse buttons 4 and 5.
2390 (spi_device_event_controller_new):
2391 Removed unused variable declaration for 'private'.
2393 Added #include of <gdk/gdk.h>
2395 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2397 * configure.in: Update to work when X is not installed in expected
2398 location. Fixes bug #105836.
2400 * atk-bridge/bridge.c
2401 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2403 (spi_atk_register_event_listener): Add signal listener for
2405 (spi_atk_bridge_signal_listener): Event event when link-selected
2406 signal is emitted. (bug #104622)
2408 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2409 on returned string. (bug #105291)
2411 * test/event-listener-test.c: Add test for link-selected.
2413 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2415 * atk-bridge/Makefile.am: Correct typo in previous commit.
2417 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2419 * atk-bridge/Makefile.am: Allow for build directory to be different
2420 from source directory
2422 * registryd/Makefile.am: Allow for build directory to be different
2423 from source directory
2427 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2430 Fixed dependencies for libcspi so that libspi gets pulled in
2431 properly. Fixes 104741.
2435 Clean up inline docs a little.
2437 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2439 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2440 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2441 the AtkObject within an SpiDesktop.
2442 This addresses bug #101524.
2444 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2445 Remove call to gdk_init().
2447 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2448 so that Display is set when SpiDesktop is created.
2450 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2452 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2453 This fixes bug #102830.
2455 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2457 * test/test-simple.c: Update to take account of fact that GailButton
2458 now implements AtkText.
2459 (create_text_window): Set name on AtkObject for GtkEntry.
2460 (validate_accessible): Check accessible name before calling test_text().
2462 * libspi/Makefile.am: Fix problem with building outside of source
2463 directory. Bug #98120.
2465 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2466 typo in documentation comments. Bug #94275.
2468 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2470 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2472 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2475 Add includes to avoid compiler warnings on Solaris.
2476 (impl_getRangeExtents): Bug fix.
2478 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2480 Fix for 100944, [API addition approved by Gman and murrayc].
2487 * idl/Accessibility_Text.idl:
2488 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2489 (Text::getRangeExtents): New method for efficient
2490 bounds query of a text range.
2491 (Text::getBoundedRanges): New method for efficient
2492 clipping of text to bounding boxes.
2493 (unImplemented7, unImplemented8):
2494 Removed these padding methods to preserve bincompat.
2497 (impl_getRangeExtents): implementation of new IDL.
2498 (impl_getBoundedRanges): implementation of new IDL.
2499 (SpiTextRect): Internal use struct.
2500 (_spi_text_rect_union): internal method, calculates union of two
2501 SpiTextRect bounding rects.
2502 (_spi_text_range_seq_from_gslist): internal method, allows us
2503 to build our sequence efficiently as a gslist then convert it
2505 (_spi_bounds_contain): internal method, determines whether
2506 a text character is "in" or "out" of a clip rect according to
2507 values of TEXT_CLIP_TYPE.
2508 (spi_text_class_init): Initialize the new methods in the epv.
2511 (AccessibleTextClipType): New enum used by screen review api.
2512 (AccessibleTextRange): New struct used by screen review api.
2513 (AccessibleText_getRangeExtents):
2514 cspi binding for Accessibility_Text_getRangeExtents.
2515 (AccessibleText_getBoundedRanges):
2516 cspi binding for Accessibility_Text_getBoundedRanges.
2517 (AccessibleTextRange_freeRanges): convenience method.
2520 (AccessibleText_getRangeExtents):
2521 cspi binding for Accessibility_Text_getRangeExtents.
2522 (AccessibleText_getBoundedRanges):
2523 cspi binding for Accessibility_Text_getBoundedRanges.
2524 (AccessibleTextRange_freeRanges): convenience method.
2525 (get_accessible_text_clip_type): internal conversion method.
2526 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2528 * registryd/deviceeventcontroller.c:
2529 (spi_dec_mouse_check):
2530 Improved behavior for mouse:abs events
2531 [same granularity as mouse:rel events, and no
2532 events when mouse is idle].
2534 2002-12-16 Michael Meeks <michael@ximian.com>
2536 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2538 * libspi/stateset.c (state_spi_to_atk): split out
2539 ( fix several remote array bounds nasties )
2540 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2541 (impl_remove): make safe from array bounds issues.
2542 (spi_atk_state_from_spi_state): impl.
2544 * libspi/stateset.h (spi_state_set_cache_is_empty):
2545 add a set of wrapper defines to get layering right.
2547 * cspi/spi_accessible.c: update state set stuff to
2550 2002-12-14 Michael Meeks <michael@ximian.com>
2552 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2553 to avoid 2 roundtrips to the registry per key event
2554 (spi_atk_bridge_key_listener): upd.
2555 (deregister_application): release the dec.
2557 * registryd/registry.c (notify_listeners_cb):
2558 bin lots of re-enterant complexity - we no longer
2559 do a round-trip bonobo ref here, ensure that a single
2560 listener's exception failure won't poison all other
2562 (impl_registry_notify_event): bin obvious memory leak.
2564 2002-12-13 Michael Meeks <michael@ximian.com>
2566 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2567 init the ev so the error is meaningful.
2568 (spi_atk_bridge_key_listener): ditto.
2570 * cspi/spi_main.c (cspi_ev): init the ev so we start
2571 with a clean slate, otherwise the first exception
2572 kills us completely.
2574 * cspi/spi_text.c (get_accessible_text_boundary_type):
2575 add a fallthrough for no warnings.
2577 * cspi/spi_registry.c: prune unused warnings.
2579 * cspi/spi_main.c (cspi_object_take): fix
2580 mind-blowing brokenness ( by watching the compile
2583 * cspi/spi_accessible.c (Accessible_getStateSet):
2584 re-impl. to use an AtkStateSet.
2585 (spi_state_type_from_accessible_state),
2586 (init_state_table): bin these.
2588 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2590 (atk_state_set_from_accessibility_state_set): here.
2592 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2593 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2594 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2595 (AccessibleStateSet_add, AccessibleStateSet_remove),
2596 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2597 (AccessibleStateSet_isEmpty): re-write to use a local
2600 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2602 * configure.in: Revved to 1.1.7 (new keymask vals).
2604 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2606 * libspi/keymasks.h:
2607 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2609 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2612 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2613 to compare two CORBA_TypeCodes.
2614 (cspi_internal_event_add): Silence warning from FORTE compiler.
2616 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2617 avoid implicit declaration of functions.
2619 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2621 * atk-bridge/bridge.c:
2622 (spi_atk_bridge_init_event_type_consts): Store signal id for
2623 active-descendant-changed signal.
2624 (spi_atk_register_event_listeners): Add signal listener for
2625 active-descendant-changed signal,
2626 (spi_atk_bridge_signal_listener): Move code in function
2627 spi_atk-signal_emit_event() into this function.
2628 Add support for active-descendant-changed
2629 Update support for child-changed signal.
2630 (spi_bridge_window_event_listener): Silence warning.
2632 * libspi/spi_private.[ch]:
2633 (spi_init_any_object): Change second parameter from CORBA_Object to
2635 Omit call to CORBA_Object_duplicate().
2636 Set CORBA_any's _value to CORBA_Object*.
2638 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2644 (AccessibleEvent_ref, AccessibleEvent_unref):
2645 New methods, for persisting an event outside the emission context.
2646 Must be used if the new accessor methods are to be called
2647 outside of the event listener's callback.
2649 * cspi/bonobo/cspi-bonobo.c:
2650 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2651 as second parameter instead of NULL, so we can call
2652 cspi_check_ev afterwards.
2655 (cspi_object_take): New internal method,
2656 converts a CORBA_Object reference to a hard ref on
2657 an Accessible if possible, returning NULL if the object
2658 reference is invalid or an Accessible * otherwise.
2661 (AccessibleEvent_ref):
2662 Increment the event's internal private refcount, and
2663 add the event's internal struct to an internal cache
2664 if it's not already there.
2665 (AccessibleEvent_unref):
2666 Decrement the event's refcount and remove it from
2667 the cspi event cache if refcount==0.
2668 (cspi_event_compare): New private method.
2669 Compares two event structs via their ids. Used
2671 (cspi_internal_event_lookup): New private method.
2672 (cspi_internal_event_check): New private method,
2673 a 0-order sanity check for events to make sure their
2674 private data is intact.
2675 (cspi_internal_event_add, cspi_internal_event_remove):
2676 New private methods for managiing the event cache.
2678 * cspi/bonobo/cspi-bonobo-listener.c:
2680 Initialize the new private data elements (id, magic, ref_count).
2682 * atk-bridge/bridge.c:
2683 (spi_atk_bridge_signal_listener):
2684 Fixed bug #100530, passing wrong params to emission func.
2686 * registryd/deviceeventcontroller.c:
2687 (spi_dec_button_update_and_emit):
2688 Fixed type in mask bit operations; fix for #99799.
2690 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2692 Removed some of the more dangerous workarounds from
2693 previous commit; they are only needed by GOK, which
2694 in reality should be using another method to accomplish
2695 the goals. So on reconsideration some of the workarounds
2696 need to be reverted:
2698 * registryd/deviceeventcontroller.c:
2699 (spi_keycodes_contain, spi_dec_init_keycode_list):
2700 Removed these methods, used only by a nasty hack to try
2701 and detect whether a key synthesis should be allowed
2702 to reset the XKB latch state or not. This code was only
2703 required to work around an interaction between GOK,
2704 button events, and XKB.
2705 (impl_generate_key_event):
2706 Removed hack at end of key generation that tried to
2707 "do the right thing" if XKB latch keys were generated
2708 in the midst of button press/release pairs.
2711 Added a check for HAVE_XINPUT. Not normally used yet.
2713 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2715 Workarounds and fixes for mouse event/XKB interaction.
2717 * registryd/deviceeventcontroller.c:
2718 (spi_keycodes_contain, spi_dec_init_keycode_list):
2719 New internal methods.
2720 (spi_dec_set_unlatch_pending):
2721 Split the method that tells XKB to expect an
2722 unlatch (and revert it) out of the rest of the
2723 event handling code. This method is called by the
2724 two mouse event handlers (the poll and the filter).
2725 (spi_dec_update_and_emit, spi_dec_mouse_check):
2726 New methods split from spi_dec_poll_mouse_moved.
2727 The second one is now called from inside the filterFn
2728 when an XKB delatch event is received, to determine
2729 whether to revert the delatch or not.
2730 (spi_poll_mouse_moved): Refactor; also we can now
2731 properly handle the case where multiple button states
2732 have changed between polling cycles and we didn't get
2733 notified due to another client's grab.
2735 Synchronize the server while handling an XKB notification.
2736 Ugly, but apparently necessary to avoid nasty races.
2737 Check the mouse state on receipt of an XKB latch change,
2738 to decide whether to revert the latch or not. (Latches are
2739 reverted if there is an immediately preceding mouse button
2740 event that a client has consumed, in which case we don't want
2741 the user to see the side-effect of the event).
2742 (spi_device_event_controller_forward_mouse_event):
2743 Check for modifier events and fire before resetting mouse_mask_state,
2744 prevents losing modifier events.
2746 (impl_generate_keyboard_event):
2747 If we've just generated a keyboard event for a non-shift key,
2748 we don't want to revert the pending XKB latch.
2749 Otherwise, check the modifier state (via a call to
2750 spi_dev_mouse_check) and set the relatch mask to
2751 that state before returning.
2753 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2756 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2759 * atk-bridge/bridge.c:
2760 (spi_atk_register_event_listeners):
2761 Don't re-register for ATK events if the registry has died
2762 and the app needs to re-register; the ATK listeners are in
2763 process and doing so will cause duplicate emission.
2765 * registryd/deviceeventcontroller.c:
2766 (spi_poll_mouse_moved):
2767 Reformat the source, detect and emit multiple button-change
2768 events (i.e. if multiple buttons have changed between poll
2770 Add code to detect mouse-down events even when the pointer
2771 is grabbed; workaround for GOK bug 98420.
2772 (spi_controller_register_with_devices):
2773 Call XTestGrabControl with 'impervious' flag set to True,
2774 allows us to synthesize events and query the pointer even during
2775 an active grab by another client.
2776 (spi_device_event_controller_forward_mouse_event):
2777 Set the mouse_mask_state to the mouse_button_state from
2778 the intercepted event, to synchronize the grab listener with
2781 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2783 * cspi/spi_accessible.c:
2784 (AccessibleRole_getName):
2785 Added necessary strings for making this (deprecated)
2786 method work with the new role types.
2787 (init_role_table, role_table):
2788 Added definition of SPI_ROLE_APPLICATION.
2790 * libspi/spi-roletypes.h:
2791 Added SPI_ROLE_APPLICATION.
2793 * idl/Accessibility_Role.idl:
2794 Added ROLE_APPLICATION.
2796 * docs/reference/cspi/at-spi-cspi-decl.txt:
2797 Added SPI_ROLE_APPLICATION to docs.
2799 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2801 * cspi/spi_accessible.c
2802 (cspi_init_role_table): Do not write beyond end of role_table.
2803 (Accessible_getRole): Use correct type for value returned by
2804 Accessibility_Accessible_getRole().
2806 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2807 beyond end of role_table. (This fixes bug #98269)
2809 * libspi/application.c: Add include file spi-private.h for
2810 definition of spi_init_any_nil.
2812 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2816 * libspi/spi-private.h:
2817 Added DGB() macro, and extern int _dbg declaration.
2819 * registryd/registry.c:
2820 (definitions) storage for _dbg.
2821 (spi_registry_init):
2822 Get environment variable "AT_SPI_DEBUG".
2823 (spi_registry_set_debug):
2824 New method, to initialize _dbg value.
2825 (spi_listener_struct_new, spi_registry_object_finalize):
2826 (notify_listeners_cb):
2827 Changed fprintfs to use DBG and g_warning().
2829 * registryd/deviceeventcontroller.c:
2830 (_deregister_keygrab, spi_controller_register_device_listener):
2831 Changed debug/warning messages to use DBG macro.
2833 * libspi/listener.c:
2834 (impl_notify_event):
2835 Changed warning messages to use DBG macro and g_warning().
2837 * atk-bridge/bridge.c:
2838 (atk_bridge_init, spi_atk_bridge_get_registry):
2839 (spi_atk_bridge_exit_func):
2840 (spi_atk_bridge_property_event_listener):
2841 Changed status, warning, and error messages to use
2842 g_warning, g_message, and DBG macros.
2845 Read the state of the AT_SPI_DEBUG environment variable
2846 and set a local '_dbg' accordingly.
2848 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2850 FIXES for 98836, 98842, other bugs.
2853 Revved to 1.1.4, interface-age=4, binary-age=4.
2855 * registryd/deviceeventcontroller.c:
2857 Fixed crasher bug in last_mouse_pos initialization.
2859 * registryd/registry.c:
2860 (desktop_add_application, desktop_remove_application):
2861 Added (and then commented out) some support for
2862 object context marshalling. [TODO]
2864 * atk-bridge/bridge.c:
2865 (spi_atk_bridge_event_context_create):
2866 Commented out object context creation until it can
2867 be properly tested and debugged.
2869 * registryd/registry.c:
2870 (impl_registry_notify_event):
2871 Fixed crasher bug, we were calling
2872 spi_re_entrant_list_foreach () with an empty list.
2874 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2876 * idl/Accessibility_Action.idl:
2877 * idl/Accessibility_Component.idl:
2878 * idl/Accessibility_Desktop.idl:
2879 * idl/Accessibility_Event.idl:
2880 * idl/Accessibility_Hyperlink.idl:
2881 * idl/Accessibility_Image.idl:
2882 * idl/Accessibility_Relation.idl:
2883 * idl/Accessibility_Selection.idl:
2884 * idl/Accessibility_State.idl:
2885 * idl/Accessibility_Value.idl:
2886 Updated unimplemented slot count to minimum of
2887 four for all interfaces, for ABI freeze.
2889 * idl/Accessibility_EditableText.idl:
2890 * idl/Accessibility_Text.idl:
2891 Updated unimplemented slot count to six
2894 * idl/Accessibility_Registry.idl:
2895 Updated unimplemented slot count to six
2896 (also for DeviceEventController),
2899 * idl/Accessibility_Table.idl:
2900 Updated unimplemented slot count to eight,
2903 * idl/Accessibility_Event.idl:
2904 Added CORBA_any "any_data" member to Event struct.
2906 * idl/Accessibility_Event.idl:
2907 Added CORBA_any "any_data" member to Event struct.
2909 * atk-bridge/bridge.c:
2911 atk_signal_text_changed, atk_signal_child_changed,
2912 signal ids queried from gtype system.
2913 (AtkBridgeEventContextType): New enum.
2914 (AtkBridgeEventContextData): New struct.
2915 (AtkBridgeEventContext): New struct.
2916 (atk_bridge_init_event_type_consts):
2917 New method, initializes type contants for comparison
2918 prior to emit_eventv.
2919 (atk_bridge_event_context_init): New method,
2920 initializes a CORBA_any from an AtkBridgeEventContext.
2921 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2922 initialize the event.any_data struct.
2923 (spi_atk_bridge_event_context_create): New method,
2924 creates an AtkBridgeEventContext from signal/event info.
2925 (spi_atk_bridge_event_context_free): New method.
2926 (spi_atk_emit_eventv): Changed to take an
2927 AtkBridgeEventContext parameter. We now initialize
2928 the event.any_data member prior to notifying the
2929 Registry, via the AtkBridgeEventContext.
2930 (spi_atk_bridge_property_event_listener):
2931 (spi_atk_bridge_state_event_listener):
2932 Match emit_eventv signature.
2933 (spi_atk_bridge_object_event_listener):
2934 Match emit_eventv signature, and create an
2935 event context from the event details.
2936 Free the event context afterwards.
2937 (spi_atk_bridge_window_event_listener):
2938 Create an event context, pass it to the
2942 (AccessibleEvent_getContextString):
2943 (AccessibleEvent_getContextObject):
2944 New methods, allow query of AccessibleEvent objects
2945 for more context details (via the "any_data" member
2946 of the Event struct, above).
2949 Definitions for AccessibleEvent_getContextString
2950 and AccessibleEvent_getContextObject.
2952 * cspi/spi_listener.h:
2953 (InternalEvent): New struct.
2956 (AccessibleEvent_getContextString):
2957 (AccessibleEvent_getContextObject):
2958 Implementations of new methods, for obtaining
2959 additional context information from some event types.
2961 * cspi/spi_registry.c:
2962 (SPI_registerGlobalEventListener):
2963 Added mention of active-descendant-changed event in docs.
2965 * cspi/cspi-bonobo-listener.c:
2967 Marshal the any into the AccessibleEvent via
2970 * libspi/spi-private.h:
2971 #include <orbit/orbit.h>
2973 (spi_init_any_string):
2974 (spi_init_any_object):
2975 New convenience function declarations.
2979 (spi_init_any_string):
2980 (spi_init_any_object):
2981 New convenience function implementations.
2983 * registryd/deviceeventcontroller.c:
2984 (spi_poll_dec_mouse_moved):
2985 (spi_device_event_controller_forward_mous_event):
2986 Initialize any_data member of event.
2987 (spi_deregister_controller_device_listener):
2988 Fix incorrect param pass which was preventing deregistration.
2990 * registryd/registry.c:
2991 (desktop_add_application):
2992 (desktop_remove_application):
2993 Add object data to event's any_data before dispatch.
2995 Fix for error messages from GAIL.
2997 * test/event-listener-test.c:
2998 Test new ContextString and "any_data" API:
2999 (report_text_event): New method query and output context string.
3000 (main): register a new text listener with report_text_event
3003 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3005 Fixes for bugs 98127 and 97914.
3006 * cspi/spi-roletypes.h:
3007 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3009 * cspi/spi-statetypes.h:
3010 Added SPI_STATE_MANAGES_DESCENDANTS
3012 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3013 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3014 * cspi/spi_accessible.c:
3015 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3016 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3017 Accessibility_STATE_MANAGES_DESCENDANTS
3018 * libspi/accessible.c:
3019 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3020 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3021 As requested by Bill, I also cleaned up the alignment.
3022 * libspi/relation.c:
3023 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3024 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3025 * libspi/stateset.c:
3026 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3027 Accessibility_STATE_MANAGES_DESCENDANTS
3028 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3029 Document changes reflecting modifications to roles.
3030 * docs/reference/cspi/tmpl/spi_relation.sgml:
3031 Document changes reflecting modifications to relations.
3032 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3033 Document changes reflecting modifications to states.
3035 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3038 Revved to 1.1.3, interface-age=3, binary-age=3.
3039 Added REBUILD macro.
3042 Removed accessx-gui from the tests, since we have a nice
3043 keyboard accessibility capplet now :-)
3045 * test/keysynth-demo.c:
3046 (increment_scan): removed do-nothing default: case,
3049 * test/visual-bell.c:
3050 (main) : removed do-nothing default: case,
3053 * cspi/spi_action.c:
3054 (AccessibleAction_getKeyBinding_):
3055 Documented keybinding string format.
3059 (AccessibleText_getAttributes):
3060 Documented the text attribute string format.
3061 It's changed to use semicolon delimiters also,
3062 to prevent clashes with CSS attributes, but the old
3063 trick of looking for ", " strings will still work
3064 (as unreliably as ever). Fix for bug related to 97916.
3067 Include <cspi/bonobo/cspi-bonobo-listener.h>
3068 Fixes build warning.
3069 (SPI_freeAccessibleKeySet):
3070 (AccessibleKeystrokeListener_addCallback):
3071 (AccessibleKeystrokeListener_removeCallback):
3072 Modify to use AccessibleDeviceListener API internally,
3073 instead of AccessibleKeystrokeListener.
3075 * idl/Accessibility_Event.idl:
3076 Added two more empty slots to EventListener (for a total of four).
3078 * idl/Accessibility_Accessible.idl:
3079 Added four empty slots to Accessible interface.
3081 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3083 * idl/Accessibility_Registry.idl:
3084 (KeyEventType, EventType):
3085 Marked KeyEventType as deprecated; it duplicates
3086 functionality of EventType, which has been extended to
3087 include Mouse-button events.
3088 (KeyEventTypeSeq): defined in terms of EventType.
3089 (registerDeviceEventListener, deregisterDeviceEventListener):
3090 New methods, for managing listeners to device events,
3091 which potentially may consume them.
3094 Added definition for AccessibleDeviceListener.
3096 * cspi/spi-listener.h:
3097 (enum AccessibleDeviceEventType):
3098 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3099 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3100 for backwards compat.
3101 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3102 and typedef'd AccessibleKeystroke to it for back-compat.
3103 (AccessibleDeviceListenerCB):
3104 New function prototype typedef.
3107 (AccessibleDeviceEventMask): New typedef.
3108 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3109 (AccessibleKeyMaskType):
3110 Set equivalent to AccessibleModifierMaskType for back-compat.
3111 (SPI_createAccessibleKeystrokeListener):
3112 (AccessibleKeystrokeListener_unref):
3113 Deprecated in favor of equivalent (better-named) new API below..
3114 keystroke listeners are like all device listeners.
3115 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3116 New API names for old features :-).
3117 (AccessibleDeviceListener_addCallback):
3118 (AccessibleDeviceListener_removeCallback):
3119 (SPI_registerDeviceEventListener):
3120 (SPI_deregisterDeviceEventListener):
3124 (SPI_createAccessibleKeystrokeListener):
3125 Use new preferred API, cspi_device_listener_new() and
3126 cspi_device_listener_add_cb().
3127 (AccessibleKeystrokeListener_removeCallback):
3128 Use new preferred API, cspi_device_listener_remove_cb().
3129 (AccessibleKeystrokeListener_unref):
3130 Use new preferred API, cspi_device_listener_unref().
3131 (SPI_createAccessibleDeviceListener):
3132 (AccessibleDeviceListener_addCallback):
3133 (AccessibleDeviceListener_removeCallback):
3134 Implementation of new API.
3136 * cspi/spi_registry.c:
3137 (SPI_registerDeviceEventListener):
3138 (SPI_deregisterDeviceEventListener):
3139 Implementation of new API. Fixed memory leak and removed need to
3140 allocate EventTypeSeq (thanks Michael for catching this).
3141 Squashed a wayward CORBA_exception_free that shouldn't get called.
3143 * cspi/bonobo/cspi-bonobo-listener.c:
3145 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3146 (cspi_key_event): renamed to cspi_device_event().
3147 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3148 Extended to handle mouse button events as well as key events.
3149 (CSpiKeystrokeListener):
3150 Class superceded by CSpiDeviceListener.
3151 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3152 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3154 * cspi/bonobo/cspi-bonobo-listener.h:
3155 (CSpiKeystrokeListener):
3156 Class superceded by CSpiDeviceListener.
3157 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3158 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3160 * libspi/Makefile.am:
3161 Replaced keystrokelistener.h and keystrokelistener.c
3162 with devicelistener.h and devicelistener.c; keystrokelisener.h
3163 stub retained for back-compat.
3165 * libspi/keystrokelistener.c:
3169 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3171 * registryd/deviceeventcontroller.c:
3172 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3173 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3174 (DEControllerPrivateData): Added xkb settings data.
3175 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3176 button release events (which can't be captured via XGrabButton).
3177 Don't dispatch via the 'normal' event mechanism if the device event was
3179 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3180 Handle the typeseq data in its new location (see above).
3181 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3182 New methods, for "generic" device listeners.
3183 (spi_controller_register_device_listener):
3184 Now handle mouse event listeners as well as key listeners.
3185 (spi_controller_notify_mouselisteners):
3186 New internal method.
3187 (spi_device_event_controller_forward_mouse_event):
3188 Now we notify mouse device listeners as well as generating the
3189 non-consumable "mouse:" events.
3191 We must check and restore the XKB
3192 modifier map if we consume the event, since the act of triggering
3193 a mouse event will normally reset the XKB latch. This is required for
3195 (spi_controller_register_with_devices):
3196 Load the XKB settings when registering, and register for XKB
3197 state notify events.
3198 (spi_key_eventtype_seq_contains_event):
3199 Renamed spi_eventtype_seq_contains_event, since it's used
3200 internally for all device event types now.
3201 (spi_key_event_matches_listener):
3202 Uses spi_eventtype_seq_contains_event now.
3203 (spi_device_event_controller_object_finalize):
3204 Free the private data and the XkbKeyboard struct.
3205 (impl_register_device_listener, impl_deregister_device_listener):
3206 Implementation of new IDL.
3207 (spi_deregister_controller_device_listener):
3208 New internal method.
3209 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3210 More efficient implementation, we don't have to create a new
3211 XkbControls structure every time we query.
3212 (spi_device_event_controller_class_init):
3213 Initialize the epv entries for the new IDL. Assign the
3214 "spi-dec-private" quark.
3215 (spi_device_event_controller_init):
3216 Initialize the private data.
3217 (spi_device_event_controller_forward_key_event):
3218 Removed a bogus CORBA_exception_free() call.
3220 * registryd/deviceeventcontroller.h:
3221 Replaced inclusion of keystrokelistener.h with
3224 * test/event-listener-test.c:
3225 (report_mouse_event):
3228 Added mouse-event device listener.
3230 * test/test-simple.c:
3231 (create_test_window):
3232 Fixed regression (we were instantiating a GtkRange,
3233 which is now an abstract class). Also fixed to match
3234 existing AtkRole names, this seems to have changed in ATK
3235 awhile ago; too late now I think, and the new
3236 mechanism is at least elegant and consistent with the
3237 glib enum "nick" APIs.
3239 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3241 * idl/Accessibility_Relation.idl:
3242 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3243 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3244 * idl/Accessibility_Role.idl:
3245 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3246 * idl/Accessibility_State.idl:
3247 add STATE_MANAGES_DESCENDANTS
3248 * test/event-listener-test.c:
3249 Added a listener for active-descendant events.
3251 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3253 * atk-bridge/bridge.c
3254 (atk_bridge_init): If application is Bonobo component wait until top
3255 level is added before registering
3256 (spi_atk_bridge_do_registration): New function which contains code,
3257 formerly in atk_bridge_init, to do application registration.
3258 (spi_atk_bridge_toplevel_added): Signal called when top level
3259 added to Bonobo component
3261 This fixes bug #83134.
3263 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3265 * registryd/deviceeventcontroller.c
3266 Fixed compilation error caused by calling gettimeofday()
3269 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3274 Added template for HAVE_XKB.
3277 Changes to check for XKB, and to set the HAVE_XKB #define if it
3280 * libspi/listener.c:
3281 ()impl_notify_event): Make failure to get event source name
3284 * registryd/deviceeventcontroller.c:
3285 (#include): include X11/XKBlib.h.
3286 (DEControllerPrivateData) : New struct.
3287 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3289 (dec_synth_keycode_press) (dec_synth_keycode_release):
3290 New methods; split the key synthesis code into these methods.
3291 They check XKB settings before determining the "time" values to
3292 pass to Xtest; this fixes bug #95828.
3293 (impl_generate_keyboard_event): Changed to use methods above,
3294 instead of callng Xtest directly.
3295 (spi_device_event_controller_init): Initialize new privae struct s
3297 (spi_device_event_controllr_object_finalize):
3298 Free the (new) private data.
3300 * registryd/deviceeventcontroller.h:
3301 Add new gpointer to end of struct data.
3303 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3306 Incremented revision to 1.1.2, SONAME is still '.so', library
3307 extensions are ".so.0.0.2".
3309 * registryd/deviceeventcontroller.c:
3310 FIXES FOR #93592 and #95940.
3311 (statics): renamed mouse_button_state to mouse_mask_state,
3312 added key_modifier_mask.
3313 (spi_dec_poll_mouse_moved):
3314 Added key modifier checks, and emit "keyboard:modifiers"
3315 events when the key modifiers currently in use change.
3316 Also generate "mouse:abs" events periodically, even if the mouse
3317 is stationary (should we?).
3318 Alternatively we could generate "mouse:abs" events for either all
3319 mouse movements, or every 'nth' mouse movement, or at the
3320 beginning and end of every "active" mouse period.
3322 * test/event-listener-test.c:
3323 (main): Added listener for "keyboard:modifiers" events.
3325 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3327 * libspi/keymasks.h:
3328 Added key mask #defines for mouse buttons; e.g.
3329 SPI_KEYMASK_BUTTON1, etc.
3332 Incremented dependency on ATK to version 1.1.0. (This dependency
3333 is probably premature but will soon be real enough).
3335 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3337 * libspi/hyperlink.[ch]
3338 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3339 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3342 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3347 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3349 * registryd/deviceeventcontroller.c
3350 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3351 events to be ignored.
3352 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3353 keyboard_mode so that XAllowEvents() can be called.
3357 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3359 * cspi/spi-accessible.c: Correct names of roles returned by
3360 AccessibleRole_getName(). Fixes bug #95055.
3362 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3364 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3367 * registryd/registry.c
3368 (desktop_remove_application: Write diagnostic message to stderr for
3371 (impl_accessibility_registry_deregister_global_event_listener):
3372 Correct size of lists array. This addresses bug #94555).
3374 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3376 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3379 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3381 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3384 * registryd/registry.c (impl_registry_notify_event): Remove
3385 unnecessary call to parser_event_type().
3387 * docs/reference/cspi/tmpl/spi_component.sgml:
3388 Add reference to SPI_LAYER_WINDOW.
3390 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3392 * registryd/registry.c
3393 (desktop_add_application): Remove leak.
3394 (desktop_remove_application): Remove leak.
3395 (parser_event_type): Remove leak.
3397 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3399 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3400 bogus call to CORBA_string_dup(). Also removed unnecessary
3401 g_string_dup/g_free calls.
3403 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3405 * registryd/deviceeventcontroller.c:
3406 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3408 * test/event-listener-test.c:
3409 main: commented out three redundant listeners, to reduce output
3410 noise. (They still are potentially useful for testing).
3413 2002-09-13 Michael Meeks <michael@ximian.com>
3415 * Update all the copyrights to include Ximian.
3417 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3419 * cspi/spi.h: add SPI_LAYER_WINDOW.
3421 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3422 add Accessibility_LAYER_WINDOW case.
3424 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3426 * libspi/component.c: (impl_accessibility_component_get_layer):
3427 add ATK_LAYER_WINDOW case.
3429 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3431 * configure.in: incremented micro version.
3433 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3435 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3438 Clarified and reworded our commit policy.
3441 Started an API "todo" addition list for 2.2.
3444 (impl_getSelection):
3445 Free char pointer from atk_text_get_selection, which was being leaked.
3447 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3450 Small revision to author acknowledgement.
3452 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3454 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3455 If signal has detail add it to the type of the event.
3458 2002-08-12 Michael Meeks <michael@ximian.com>
3460 * test/test-simple.c (global_listener_cb): bin bogosity.
3461 (test_keylisteners): disable, still doesn't work reliably,
3462 certainly not on my system anyway.
3464 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3465 don't leak a reference on the DEC. This round-trip
3466 fetching of the DEC per keystroke sucks, it should be
3469 * cspi/spi-private.h,
3470 * cspi/cspi-lowlevel.h,
3471 * cspi/bonobo/cspi-bonobo-listener.[ch],
3472 * cspi/bonobo/cspi-bonobo.c: get the copyright
3473 notices better - there is still a large amount of
3474 work in at-spi falsely attributed solely to Sun.
3476 * cspi/spi_main.c (cspi_object_ref): kill bogus
3477 hash lookup, just increment the ref.
3478 (SPI_freeString): make explicit the fact that we
3479 handle NULL strings just fine.
3480 (report_leaked_ref): obey coding standards.
3481 (cspi_object_hash, cspi_object_equal): kill retval.
3482 (cspi_object_release): only release if not on loan.
3483 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3484 (cspi_object_borrow, cspi_object_return): impl.
3486 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3487 use cspi_object_borrow / return.
3489 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3491 * cspi/bonobo/cspi-bonobo-listener.c:
3493 Don't call cspi_oject_new() because this is creating a new Accessible
3494 every single time that an event is fired. This causes ATs like at-poke
3495 to nolonger recognise the source of the event and thus ignore it.
3496 Re-use the object from the cache, ref it and then unref it after the
3497 listeners have been called.
3499 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3501 * test/event-listener-test.c:
3502 Added command-line options to disable mouse events (m) and
3505 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3507 * configure.in: Update required versions of ATK, GTK+ and GAIL
3509 * cspi-1.0.pc.in: Add dependency for X include files
3512 * cspi/bonobo/Makefile.am:
3513 Add $(X_CFLAGS) so that X include files
3514 are picked up even if not in standard place (bug #71686)
3516 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3518 * registryd/deviceeventcontroller.c: fix for 84261
3519 (spi_dec_mouse_moved):
3520 Added test of mouse button mask, so that we can detect mouse
3521 button release. Unfortunately we can't otherwise detect mouse
3522 button release events without consuming the mouse press event,
3523 because of the way XGrabButton works. This means that our mouse
3524 release events have a latency dependent on the polling period
3525 while the mouse button is down. At least in this case we only
3526 have to poll while the button is down, and not at other times.
3527 If the button masks don't match with what the last press event
3528 reported, we report the appropriate button release event.
3529 (spi_dec_ungrab_mouse):
3530 New method (not yet called).
3531 (spi_device_event_controller_forward_mouse_event):
3532 New method, sends mouse press event from GdkFilter.
3533 (spi_dec_init_mouse_listener):
3534 Added code to call XGrabButton, redirecting mouse button events to
3535 the root window and our Gdk event loop.
3537 Added code to filter mouse button events, and reordered.
3539 * test/event-listener-test.c:
3541 Added registration for mouse events of type "mouse:button".
3543 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3545 * registryd/deviceeventcontroller.c: partial fix for 84261
3546 (spi_dec_poll_mouse_idle):
3547 New method, a timeout which checks to see if the mouse
3549 (spi_dec_poll_mouse_moving):
3550 A timeout to be called when mouse motion is underway.
3551 (spi_dec_poll_mouse_moved):
3552 A method which fires an event if the mouse has moved, and reports
3553 whether or not it did so.
3554 (spi_dec_init_mouse_listener):
3555 A method which sets up the timeouts above.
3556 (spi_device_event_controller_new):
3557 Now calls spi_dec_init_mouse_listener.
3559 * registryd/registry.c:
3560 (spi_registry_init):
3561 Now we initialize the device event controller when the registry is
3562 initialized, instead of waiting until a client has requested a key
3563 event notification; this is because we need the event controller
3564 for mouse events, but the mouse event registration API is a
3565 "registry" call and doesn't explicitly call the
3566 deviceeventcontroller.
3567 We now report mouse motion events with a 100 ms idle latency and
3568 a 20 ms granularity when motion is in progress.
3570 * test/event-listener-test.c:
3572 We now register the "detail listener" for events of type
3573 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3574 delivered only for the first mouse event received, and thereafter
3575 "mouse:abs" events are delivered.)
3577 * cspi/spi_registry.c:
3578 DOCS: Documented the above mouse event typestrings.
3580 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3582 Happy Summer Solstice...
3584 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3585 (spi_controller_notify_keylisteners):
3586 Changes to remove a listener from the listener list, freeing its
3587 open keygrabs, if a notification to that listener fails. This
3588 means that although a dead listener can continue to hold a passive
3589 keygrab, a maximum of one dispatch to such a listener can fail
3590 before the listener is removed from the list, thus the keygrab
3591 will be released on the next occurrence.
3592 As part of this fix:
3593 (spi_notify_keylisteners):
3594 Renamed to spi_controller_notify_keylisteners, as the controller
3595 instance must now be passed as an argument.
3596 The copied 'notify' GList is now a list of DEControllerKeyListener
3597 objects, since we need more than just the CORBA reference if a
3598 notify fails and we need to deregister the listener.
3599 (impl_notify_listeners_sync):
3600 (impl_notify_listeners_async):
3601 (spi_device_event_controller_forward_key_event):
3602 Modify use of notify_keylisteners in accordance with above
3604 (spi_deregister_controller_key_listener):
3605 New method introduced by refactoring, from
3606 impl_deregister_keystroke_listener.
3607 (impl_deregister_keystroke_listener):
3608 Call spi_deregister_controller_key_listener.
3609 (spi_key_listener_clone):
3610 New method to copy a key listner without doing a 'ref' on the
3611 remote object instance; used to create a notifier list.
3612 (spi_key_listener_data_free):
3613 New method, frees data without unreffing the source.
3615 (spi_key_listener_clone_free): new method.
3616 (spi_key_listener_free):
3617 refactored to call spi_key_listener_data_free.
3619 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3621 * registryd/registry.c: [fix for bug 86048]
3622 (notify_listeners_cb):
3623 Clear CORBA system exceptions which occur when notifying
3624 listeners, before returning to the source of the original event,
3625 since the event source doesn't care if the relayed notify failed.
3626 In other words, don't complain to the atk-bridge if the registry
3627 could not notify all its listeners, that's no fault of the
3628 application and thus should not appear to be an error from the
3629 application's perspective.
3631 * cspi/spi_main.c: [fix for bug 85980]
3633 Replaced use of bonobo_object_dup_ref with call to the wrapper
3634 method, csou_dup_ref (); this silences a compiler warning and
3635 provided more portability.
3637 Ping the registry before return, and restart if necessary.
3639 * cspi/bonobo/cspi-bonobo.c:
3641 New internal method.
3643 Fixed this method to return an object reference, as it should have
3646 * cspi/cspi-lowlevel.h:
3647 Added internal definition for cspi_ping() and fixed
3648 return type of cspi_dup_ref().
3651 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3653 * atk-bridge/bridge.c: [fix for bug 85305]
3654 (spi_atk_bridge_register_application):
3655 New method where the initial application registry calls have been
3656 moved; it allows an application to re-register in response to
3657 certain error conditions (such as a registry restart, see below).
3659 Moved some initialization code to the method
3660 spi_atk_bridge_get_registry, below.
3661 (spi_atk_bridge_get_registry):
3662 New, private accessor function for the Accessibility_Registry
3663 instance. If the registry has not been started before, or has
3664 died (as detected by failure of a CORBA exception), it is
3665 restarted before return, and spi_atk_bridge_register_application
3666 is called again to register with the new bridge instance.
3667 (spi_atk_emit_eventv):
3668 Set registry_died on error; use spi_atk_bridge_get_registry () to
3669 access the registry.
3671 * registryd/registry.c:
3672 (impl_accessibility_registry_register_global_event_listener):
3673 Set listener's event_type_quark to etype.minor instead of
3674 etype.major (fix for bug 84856).
3676 * test/event-listener-test.c:
3677 (report_detail_event):
3678 Change the output string so that user/tester can tell that the
3679 'detail listener' was called instead of the 'generic listener'.
3681 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3683 Fixes for bugs 84900, 84908, 84897, 84898.
3688 Revved version to 1.1.0
3689 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3690 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3692 * idl/Accessibility_Registry.idl:
3693 (EventListener::notifyEvent):
3694 Removed 'oneway' directive after extensive consulation with
3695 ORBit2 team and others. This means also that unref() of the event
3696 source can and should be done synchronously after emission, rather
3697 than remotely in the client, after servicing the notify call on
3700 NOTE: This change speeds up listener performance considerably, but
3701 introduces new latency on the application side. We may want to
3702 add an event queue to the atk-bridge.
3704 * atk-bridge/bridge.c:
3705 (spi_atk_bridge_focus_tracker):
3706 Do a local unref() on the event source after emission.
3708 * registryd/registry.c:
3709 (desktop_remove_application):
3710 Do an unref() on the event source after emission.
3711 (desktop_add_application):
3712 Do an unref() on the event source after emission.
3713 (notify_listeners_cb):
3714 When relaying an event, don't automatically add the event source
3715 to the local object cache, just CORBA_dup it instead. Likewise,
3716 if this method reenters, release the ref rather than calling
3718 (impl_registry_notify_event):
3719 No longer call remote unref() on the event source after dispatch.
3721 * libspi/eventlistener.c:
3722 (impl_accessible_event_notify_event):
3723 Removed remote unref ()
3725 * cspi/bonobo/cspi-bonobo-listener.c:
3727 We now call cspi_object_new() instead of cspi_object_add() on
3728 receipt of an event; thus we only have an implicit object ref
3729 while the cspi_event method is being executed. If we need to keep
3730 a reference to the object, the listener must call ref() on the
3731 object. Thus also we don't need to call cspi_object_unref() after
3732 invoking the listener callbacks in this method.
3736 New internal API for creating a new cspi object, without adding it
3737 to the object cache.
3739 Now uses cspi_object_new() to create the cspi object instance.
3741 Now checks to see if the object is in the internal object cache,
3742 and adds it if necessary before incrementing its refcount (note
3743 that new objects are added with a refcount of 1).
3744 (report_leaked_ref):
3745 New method which gives some information on leaked object instances
3746 if leak detection is turned on.
3748 * test/event-listener-test.c:
3749 (timing_test_event):
3750 New method, used for testing event delivery timing for special
3751 events of type "object:test". It reports elapsed time and
3752 events/sec every 500 events.
3754 Added a new listener, 'test listener', to check timing of event
3755 receipt as noted above.
3757 Added some timing output here also, reports elapsed time every 100
3760 * test/stress-test.c:
3761 Emit events of type "object:test", for use with "event-listener-test".
3763 * test/test-simple.c:
3764 (global_listener_cb):
3765 Call Accessible_ref() on the event source before calling
3766 validate_accessible, since the validation process does pointer
3767 comparisons on the event source, meaning that the event source
3768 needs to be added to the local object cache first. Any use of
3769 such pointer comparisons between Accessible objects requires that
3770 the caller hold an explicit reference to those objects.
3771 We also must therefore call Accessible_unref() when leaving this method.
3773 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3775 * registryd/deviceeventcontroller.c:
3776 (spi_controller_update_key_grabs):
3777 Fix for #84735, subsequent keygrab listeners not informed of
3778 registration failure.
3781 (spi_base_construct):
3782 Add an assertion on construct, to make sure the GObject passed in
3783 is really a GObject.
3785 Explicitly initialize object->gobj pointer to NULL;
3787 * cspi/bonobo/cspi-bonobo-listener.c:
3788 (cspi_object_add_ref):
3789 New method, can specify whether to dup-ref a bonobo object passed
3790 in if it's newly added to the object cache.
3792 Now calls cspi_object_add_ref with second param of "FALSE". This
3793 prevents us from doing a pointless dup-ref followed by
3794 release-unref for all those cases where the object is already in
3795 our object cache (fix for #85205).
3797 * atk-bridge/bridge.c:
3798 (spi_atk_bridge_idle_init):
3799 Removed this method, we don't need to initialize in an idle
3802 Changed to call spi_atk_register_event_listeners directly, not via an
3803 idle handler. (fix for #81139)
3804 (gnome_accessibility_module_shutdown):
3805 Removed conditional around deregistration of listeners, since we
3806 don't use the idle handler and thus have always registered when
3808 (spi_init_keystroke_from_atk_key_event):
3809 Changed references to Accessibility_KEY_PRESSED to
3810 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3812 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3814 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3819 * test/stress-test.c:
3822 (may have been an incomplete commit yesterday?)
3824 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3827 Added target for new stress-test.
3829 * test/stress-test.c:
3830 New test, sends 1000 focus notifies in quick succession.
3832 * test/key-listener-test.c:
3833 Now we report whether a keylistener registration
3834 request succeeded or failed.
3836 * test/event-listener-test.c:
3837 Uncommented some listeners which are now implemented.
3840 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3842 * registryd/deviceeventcontroller.c:
3843 (spi_controller_update_key_grabs):
3844 Fix for #82509, lack of failure notification when
3845 ALL_WINDOWS keygrabs fail due to XGrabKey
3846 failure: we synchronize the server when
3847 registering a passive grab, to make sure we get the
3848 error message before the call returns.
3850 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3852 * test/test-simple.c:
3854 Removed #ifdef KEY_IMPL_WORKS guards.
3855 (test_keylisteners):
3856 Removed #ifdef KEY_IMPL_WORKS guards.
3857 Fixed bug which was causing a hang waiting for a
3858 "press" event (which was already overwritten by a "release"
3859 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3861 Added code to set globals 'key_press_received' and
3862 'key_release_received'.
3865 Added section "1.1 API Proposed Additions" which
3866 lists API additions desired for at-spi-1.1 (only one so far).
3867 Updated TODO list a little.
3869 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3871 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3874 * configure.in: Revved to 1.0.0.
3876 * idl/Accessibility_Registry.idl:
3877 (registerKeystrokeListener):
3878 Added boolean return value.
3880 * registryd/registry.c:
3881 (notify_listeners_cb): Minor fix to debug output.
3883 * registryd/Accessibility_Registry.server.in.in:
3884 Revved version number in OAFIID to 1.0.
3886 * registryd/registryd.c:
3888 Use new OAFIID version.
3890 * cspi/bonobo/cspi-bonobo.c:
3892 Use new OAFIID version.
3898 * atk-bridge/bridge.c:
3900 Use new OAFIID version.
3902 * registryd/deviceeventcontroller.c:
3903 (impl_register_keystroke_listener):
3904 Added CORBA_boolean return value.
3905 (spi_controller_register_device_listener):
3906 Added gboolean return value.
3907 (spi_controller_register_global_keygrabs):
3908 Added gboolean return value.
3909 (spi_key_set_contains_key):
3910 Added implementation for many more control keys,
3911 for instance F1-F12, arrow keys, End, Home, Page_Up,
3913 [TODO: some still not implemented].
3915 * text/screen-review-test.c:
3916 (text_chunk_pad_string):
3917 New function: it provides mapping between coordinate
3918 positions of text chunks and character positions in the
3919 screen-review-line output string.
3920 (text_chunk_to_string):
3921 New function, calls text_chunk_pad_string with various
3922 pad/delimiter characters. Pushbuttons are delimited with
3923 square brackets, Frames with vertical 'pipe' lines, and
3924 other text with double quotes.
3925 (text_chunk_list_to_string):
3926 Calls new function text_chunk_to_string.
3927 (toplevel_composite):
3928 New function to composite layers CANVAS through
3929 POPUP in each toplevel (other layers are composited
3930 across toplevels, i.e. BACKGROUND and OVERLAY).
3931 (review_buffer_composite):
3932 Revise to use new methods.
3938 2002-05-31 Laszlo Peter <laca@sun.com>
3940 * configure.in: add the Xtst libdir to the runpath on Solaris,
3941 since it's not in the default library search path.
3943 2002-05-29 jacob berkman <jacob@ximian.com>
3945 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3947 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3949 * test/screen-review-test.c:
3950 (text_chunk_pad_string):
3951 Added method, which pads the string according to the
3952 text bounds of the chunk. It also takes a 3-character
3953 string as a param which indicates the characters to be
3954 used for start, padding, and end delimitation of the chunk.
3955 (text_chunk_to_string):
3956 Changed to use text_chunk_pad_string.
3958 * configure.in: Fixed bug in AC_OUTPUT that was
3959 causing path substitution in Accessibility_Registry.server
3962 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3964 * text/screen-review-test.c:
3965 (guess_string_clip):
3966 New method which attempts a best-guess at clipping
3967 text from components (like Java labels) which don't
3968 actually implement AccessibleText. This inaccurate
3969 clip is based on the assumption that the label is
3970 justified left-and-right, and monospaced.
3971 (text_chunk_get_clipped_string):
3972 We now call guess_string_clip() for text-containing
3973 components that don't implement AccessibleText.
3975 * test/screen-review-test.c:
3976 (review_buffer_get_text_chunk):
3977 We now pull "name" from labels if they do not implement
3978 AccessibleText (i.e. for Java labels).
3979 (get_screen_review_line_at):
3980 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3983 Replaceded AC_OUTPUT target
3984 registryd/Accessibility_Registry.server with
3985 registryd/Accessibility_Registry.server.in.
3987 * registryd/Accessibility_Registry.server.in:
3988 Removed (this is now a Makefile target).
3990 * registryd/Accessibility_Registry.server.in.in:
3991 Added (source for target above). We now use $(libexecdir) as
3992 prefix for the executable at-spi-registryd.
3994 * registry/Makefile.am:
3995 Now install at-spi-registryd into $(libexecdir), and build .server
3996 file with path (see above).
3998 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4000 * test/screen-review-test.c:
4001 (text_chunk_get_clipped_string):
4002 We now check to see if words fall within clip bounds
4003 before resorting to character-by-character clip bounds testing.
4005 * TODO: Added a section for "2.2 Proposed API Additions".
4007 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4009 * test/screen-review-test.c:
4011 Added a screen review benchmarking and test program to test
4014 * cspi/spi_accessible.c:
4016 Made some of the debug strings passed to cspi_check_ev a
4017 little more specific.
4019 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4021 * test/screen-review-test.c: Fix crashes in debug statements
4023 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4025 * test/screen-review-test.c: Added this file.
4027 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4029 * atk-bridge/bridge.c: changed "object:state-change" to
4030 "object:state-changed" to match docs.
4032 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4034 * atk-bridge/bridge.c: Hooked up state-change event details.
4036 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4038 * registryd/registry.c:
4039 Fixed quarking bug in event string parsing; now events with
4040 detail parameters get matched correctly to listeners.
4043 * util/idl/Magnifier.idl: remove.
4045 * util/*.[ch]: Remove.
4046 Magnification utilities and IDL are now in module gnome-mag.
4048 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4050 * registryd/deviceeventcontroller.c:
4051 Fixed bug in grab key conversion which was causing keycode grabs
4052 to be converted to AnyKey grabs.
4055 updated NEWS file to reflect recent spin-off of gnome-mag.
4057 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4059 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4060 busted AccessibleStateSet_compare. Removed redundant casts.
4062 * cspi/spi-action.c: Removed redundant casts.
4064 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4066 * cspi/spi_component.c: Fixed typos and casting error.
4068 * cspi/spi_editabletext.c: Removed redundant casts.
4070 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4072 * cspi/spi_hypertext.c: Eliminated redundant casts.
4074 * cspi/spi_image.c: Eliminated redundant casts.
4076 * cspi/spi_registry.c: Eliminated redundant casts.
4077 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4078 * cspi/spi_selection.c: Removed redundant casts.
4079 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4080 handling. Screen geometry and text offsets were being returned as 0
4081 on error which is technically valid-- changed these to return -1.
4082 Added marshaller for text boundary types to fix bug with boundary
4083 types being passed incorrectly to atk.
4085 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4088 * cspi/spi_registry.c:
4089 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4090 which was uncovered by the recent key changes.
4092 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4094 * test/event-listener-test.c:
4096 Added new test, "event-listener-test";
4097 this code does two things; it benchmarks traversal time
4098 for the accessible hierarchy for the first running accessible
4099 app, and it connects listeners for all supported event types.
4100 It is thus useful as an example event listener and for
4101 diagnostics/debugging of event generation.
4103 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4106 Removed unnecessary dependency on libutil.
4109 Revved micro version: 0.13.1
4111 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4114 Removed util/Makefile from targets.
4117 Removed util subdir from SUBDIRS (temporarily,
4118 pending removal of magnifier-only code
4122 #ifdef-ed out magnifier dependencies, since
4123 magnifier IDL, headers, and binary now live in
4124 module gnome-mag and we don't want at-spi to depend
4125 on gnome-mag. A magnifier demo which can run alongside
4126 simple-at is forthcoming in the gnome-mag module.
4128 NOTE: Split magnifier binary, IDL, and magnification
4129 activation code from at-spi into module gnome-mag.
4131 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4133 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4134 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4136 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4139 Revved to version 0.13.0
4141 * idl/Accessibility_Registry.idl:
4142 Changed definition of KeySet from sequence of longs to sequence of
4143 KeyDefinitions, and added KeyDefinition struct.
4144 Required for fix to bug 80616.
4146 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4147 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4148 to use new definition (see above).
4150 * registryd/deviceeventcontroller.c: handle_keygrab(),
4151 spi_keyset_contains_key():
4152 Changed to make use of new struct; this allows matching based on
4153 string key-name, for instance "Tab". This also allows matching of
4154 composed characters, non-alphanumeric characters in a way that
4155 doesn't involve dependencies on X keysym codes directly, etc.
4157 * test/key-listener-test.c:
4158 Added test for Alt-Tab key using "string" specification of keyset,
4159 and modified one of the tests to use a keycode-based keyset.
4160 Thus this test both tests and demonstrates the creation and use of
4161 keysets of three forms: specified via keycode array,
4162 keysym array, and string array. (The string case only contains a
4163 single string, i.e. a string array of length 1).
4166 Turned on PRINT_TREE option by default. Also fixed a
4167 string-freeing bug in the PRINT_TREE code.
4168 Added a listener to window:minimize events.
4170 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4172 * atk-bridge/bridge.c:
4173 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4174 for window:activate and window:deactiveate
4175 (atk_bridge_property_event_listener atk_bridge_signal_listener
4176 atk_bridge_window_event_listener) Tidy debug code
4178 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4180 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4181 Fixed handling for NULL return value from ATK.
4183 * libspi/action.c libspi/component.c libspi/editabletext.
4184 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4185 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4186 Removed redundant casts.
4188 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4189 Fixed off by one bug.
4191 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4192 function not present in idl)
4194 2002-05-02 jacob berkman <jacob@ximian.com>
4196 * atk-bridge/Makefile.am: make atk-bridge a real module
4198 2002-04-26 Radek Doulik <rodo@ximian.com>
4200 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4201 atk_state_types table
4203 2002-04-22 jacob berkman <jacob@ximian.com>
4206 * libspi/Makefile.am: add deps on the built files to help
4207 automake, and don't version the ORBit typelib
4209 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4211 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4212 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4213 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4214 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4215 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4216 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4217 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4218 libspi/accessible.h libspi/accessible.h libspi/base.h
4219 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4220 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4221 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4222 libspi/spi-private.h libspi/statetset.h libspi/table.h
4223 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4224 util/mag_client.h util/mag_control.c util/mag_image.c
4225 util/mag_image.h util/magnifier.c util/magnifier.h:
4226 Add missing file headers; standardize existing ones
4228 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4230 * atk-bridge/bridge.c: Added window event support.
4232 2002-04-18 Michael Meeks <michael@ximian.com>
4234 * libspi/relation.c (impl_getNTargets): impl.
4235 (impl_getTarget): impl.
4237 * libspi/Makefile.am: fix stateset install.
4239 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4242 Started putting useful info in this file.
4244 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4246 * atk-bridge/bridge.c:
4247 Propagate state-changed notifications to ATs
4249 * cspi/spi_registry.c: update docs to reflect actual behavior of
4250 state-change events.
4252 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4255 Incremented version to 0.12.1
4257 * util/mag_client.h:
4258 Add missing declaration for magnifier_exit,
4259 used by mag_control.c - Forte compiler didn't like
4260 the implicit redeclaration of the function :-(
4263 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4266 Revved version to 0.12 due to API change (see below).
4268 * cspi/spi-roletypes.h:
4269 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4270 definition from the inline docs, and added docs
4271 for SPI_ROLE_LAST_DEFINED.
4274 * cspi/spi_streamablecontent.c:
4275 Added missing seek_type parameter to
4276 (so far unused) method,
4277 AccessibleStreamableContent_seek().
4278 [ RT approval JodyG. ]
4281 Fixed docs for SPI_createAccessibleKeystrokeListener.
4283 * cspi/spi_registry.c:
4284 Fixed docs for SPI_KEYSET_ALL_KEYS.
4286 * docs/reference/cspi/at-spi-cspi-sections.txt:
4287 Added a number of missing APIs to SECTIONS.
4289 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4291 * registryd/Makefile.am:
4293 * cspi/bonobo/Makefile.am:
4294 Add $(X_LIBS) to makefiles.
4296 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4299 Revved version to 0.11.
4301 * libspi/component.c:
4302 Added implementation for grabFocus.
4304 * idl/Accessibility_Component.idl
4305 (Accessibility_Component_grabFocus):
4306 Made this method return boolean to indicate success or failure, to
4307 be consistent with cspi and the corresponding ATK method.
4309 * idl/Accessibility_Selection.idl
4310 (Accessibility_Selection_selectAll) :
4311 Made these methods return boolean to indicate success or
4312 failure, to be consistent with cspi and the corresponding ATK methods.
4314 * idl/Accessibility_EditableText.idl
4315 (Accessibility_EditableText_setTextContents,
4316 Accessibility_EditableText_insertText,
4317 Accessibility_EditableText_cutText,
4318 Accessibility_EditableText_deleteText,
4319 Accessibility_EditableText_pasteText):
4320 Made these methods return boolean to indicate
4323 * cspi/spi_editabletext.c:
4324 Made these methods return booleans.
4326 * libspi/selection.c:
4327 * libspi/component.c:
4328 * libspi/editabletext.c:
4329 Connected the boolean returns from ATK
4330 to the server-side code referenced above.
4332 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4334 * idl/Accessibility_Table.idl: Added missing methods,
4335 Accessibility_Table_addRowSelection,
4336 Accessibility_Table_addColumnSelection,
4337 Accessibility_Table_removeRowSelection,
4338 Accessibility_Table_removeColumnSelection.
4341 Added C wrappers for above IDL:
4342 AccessibleTable_addRowSelection,
4343 AccessibleTable_addColumnSelection,
4344 AccessibleTable_removeRowSelection,
4345 AccessibleTable_removeColumnSelection.
4348 Added server-side implementation code for IDL above, connecting
4349 to pre-existing ATK api.
4351 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4353 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4355 * libspi/accessible.c: Added implementation fo
4356 Accessibility_Accessible_get_state.
4358 * libspi/libspi.h: Added stateset.h to the list of includes.
4360 * libspi/stateset.c: Fixed broken implementation.
4362 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4365 Added implementation code for Accessibility_Magnifier_exit ().
4367 * util/mag_control.c:
4368 Added test code for above method; you can
4369 now kill an existing magnifier via
4370 ./mag_control q, from the util directory.
4372 * test/key-listener-test.c:
4374 Added a new test, for our key listener API.
4376 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4378 * test/app.c, test/keysynth-demo.c:
4380 Replace use of snprintf with g_snprintf.
4381 (fix for bugzilla 78249)
4383 2002-03-27 Michael Meeks <michael@ximian.com>
4387 * util/Makefile.am (INCLUDES): fix.
4388 (DONT_DIST_SOURCE): don't distribute the
4391 * libspi/Makefile.am (dist-hook): ditto.
4393 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4395 * libspi/hypertext.c:
4396 Fix warnings when yelp is used with atk-bridge
4398 2002-03-21 Michael Meeks <michael@ximian.com>
4400 * libspi/application.c (spi_application_new):
4401 use spi_accessible_construct so we use the AtkObject
4404 2002-03-19 Michael Meeks <michael@ximian.com>
4406 * registryd/registry.c (desktop_remove_application),
4407 (desktop_add_application): clean coding style.
4409 * registryd/desktop.c (spi_desktop_remove_application),
4410 (spi_desktop_add_application): kill re-enterency hazards.
4411 (spi_desktop_dispose): remove bogus redundant cast
4412 obscuring bug; fix bug too.
4413 (spi_desktop_init): make the desktop object immortal.
4415 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4418 Added a #define-guarded tree-traversal step
4419 when enumerating the apps (diagnostic tool).
4421 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4423 * idl/Accessibility_Role.idl:
4424 Added ROLE_DRAWING_AREA which seemed to be missing from the
4427 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4429 * cspi/spi-roletypes.h cspi/spi_accessible.c
4430 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4433 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4434 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4435 AT when applications are added and removed from the desktop. This
4436 reverts the previous broken implementation using the backing
4437 AtkObject for the SpiDesktop.
4439 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4441 * registryd/desktop.c: emit the "children-changed::add" and
4442 "children-changed::remove" signals on the backing ATK object for
4443 the desktop so AT can tell when applications are started and shut
4446 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4448 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4450 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4452 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4454 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4456 * cspi/state-types.h: synched with IDL and ATK
4458 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4460 * libspi/accessible.c
4461 (impl_accessibility_accessible_get_child_at_index):
4462 Change return value for g_return_if_fail ()
4463 to CORBA_OBJECT_NIL instead of "0" (!)
4465 * registryd/Makefile.am:
4466 * registryd/Accessibility_Register.server.in:
4467 Changed name of executable, "registryd",
4468 to something more informative:
4471 2002-03-13 Michael Meeks <michael@ximian.com>
4473 * atk-bridge/bridge.c (atk_bridge_init): don't register
4474 if we're in a bonobo-component, rather than a bonobo app.
4476 2002-03-13 Michael Meeks <michael@ximian.com>
4478 * atk-bridge/bridge.c (gtk_module_init): split
4479 out body to (atk_bridge_init): here, since otherwise
4480 we get symbol conflicts and oddness when invoked
4481 from (gnome_accessibility_module_init): here (upd.)
4483 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4486 New file. Explicitly allow "build sheriff" putbacks provided
4487 they are tested on Solaris.
4489 * docs/reference/cspi/Makefile.am:
4490 Added '-' to the "cp" command for index.sgml.
4491 ("patch by thomasvs, soon coming to a GUADEC near you")
4494 Incremented version number (0.9.0) for new release.
4495 Changed macro that checks for popt, to better detect
4496 obsolete versions of popt.
4499 Added X_LIBS to AC_SUBST, for applications
4500 that call Xlib API directly.
4503 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4506 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4509 Fix regression caused by hard-coding major
4510 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4513 * test/test-simple.c (test_editable_text),
4514 (test_test): revert previous change (error was
4515 a regression in gail which is now fixed).
4517 2002-03-04 Michael Meeks <michael@ximian.com>
4519 * test/test-simple.c (test_editable_text),
4520 (test_text): pass G_MAXINT instead of '-1' for
4521 whole string - is this a good thing !?
4523 * cspi/spi_accessible.c
4524 (Accessible_getRelationSet): fix crasher bug
4525 overwriting the end of the array.
4527 * test/test-simple.c (validate_accessible): free,
4528 not g_free returned relation set.
4530 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4532 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4533 implemented stateset support
4535 * idl/Accessibility_State.idl: Made necessary changes to
4536 the IDL to support state sets.
4538 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4540 * registryd/deviceeventcontroller.c:
4541 Added implementation for generateMouseEvent.
4543 * cspi/spi_registry.c:
4544 Connected new implementation for generateMouseEvent
4547 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4550 Incremented revision (but no change in public API
4551 outside of 'utils', which are not installed public yet.)
4553 * libspi/component.c:
4554 Changed to use atk_component API for layers and
4555 mdi_zorder, instead of deprecated atk_object API.
4557 Magnification Utility Enhancements:
4560 Added implementation of createZoomRegion, clearAllZoomRegions,
4561 resizeZoomRegion. Added new commandline argument
4562 "--no-initial-region". Note that clearAllZoomRegions doesn't
4563 unmap the old '0' region as it should (yet), and the other
4564 methods only work when creating/resizing a single region,
4565 which is "region 0".
4566 (Code for multiple region support will be added later.)
4569 Now we raise the magnifier window each time it's refreshed;
4570 this will help keep it on top.
4572 * util/mag_client.h:
4573 Added simple wrappers for above, used by mag_control.
4574 For general use, it's recommended to use the bonobo magnifier
4575 control API directly instead of using these wrappers.
4578 Moved ZoomRegionData from magnifier.c to this file.
4580 * util/mag_control.c:
4581 Added some code to exercise new IDL implementations.
4583 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4585 * libspi/text.c: Provide implementation for getAttributes.
4587 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4590 Incremented revision.
4592 * test/test-simple.c:
4593 Replaced use of deprecated g_main_iteration with
4594 g_main_context_iteration.
4596 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4599 Incremented revision for desktop alpha 2.
4601 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4603 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4606 * test/simple-at.c: include netinet/in.h.
4608 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4610 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4611 use NULL, not CORBA_OBJECT_NIL.
4613 * libspi/accessible.c:
4614 (impl_accessibility_accessible_get_relation_set):
4615 allocate the sequence correctly.
4617 * libspi/remoteobject.h: kill spi_remote_object_new.
4619 * test/test-simple.c: (validate_accessible): add code
4620 to test relation sets, now all we need is to figure
4621 out how to excercise this code path :/
4623 2002-01-18 Michael Meeks <michael@ximian.com>
4625 * test/test-simple.c
4626 (key_listener_cb): consume the key.
4627 (test_keylisteners): update.
4628 (main): wait for any pending unrefs on events.
4630 * registryd/deviceeventcontroller.c
4631 (spi_controller_update_key_grabs): only re-issue the
4632 grab on a key release.
4633 (spi_device_event_controller_forward_key_event):
4634 refresh the keygrabs before we notify the listeners,
4635 to reduce the X ungrab / re-grab race.
4636 (spi_controller_register_with_devices): remove
4637 XSelectInput - we do that with the gdk_window_ call.
4638 (_spi_controller_device_error_handler): return a value.
4639 s/GDK_DISPLAY/spi_get_display/
4641 2002-01-17 Michael Meeks <michael@ximian.com>
4643 * registryd/deviceeventcontroller.c
4644 (_deregister_keygrab): don't blow out the later
4647 * test/test-simple.c (test_keylisteners): do a
4648 more intelligent validation.
4650 2002-01-14 Michael Meeks <michael@ximian.com>
4652 * atk-bridge/bridge.c
4653 (gnome_accessibility_module_init),
4654 (gnome_accessibility_module_shutdown): impl.
4655 (gtk_module_init): protect vs. double inits.
4656 (add_signal_listener): impl.
4657 (spi_atk_bridge_state_event_listener): kill
4658 (deregister_application): split out of
4659 (spi_atk_bridge_exit_func): here.
4661 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4664 Added caret tracking when using magnifier, and
4665 now use text bounds for focus tracking of text elements, rather than
4666 the component bounds - this is helpful for short text fields in long
4667 table cells, at high magnification.
4669 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4671 * registryd/deviceeventcontroller.c:
4672 Regression fix for keylistener de-registration; global keygrabs
4673 were not being released when deregisterKeystrokeListener was
4674 called in cspi, since
4675 Accessibility_DeviceEventController_deregisterKeystrokeListener
4676 was called with a zero-length keyset. That is because the cspi
4677 method, SPI_deregisterKeystrokeListener, does not take a keyset
4678 parameter but instead should remove all the key grabs held be a
4680 The code in impl_deregister_keystroke_listener was changed to copy
4681 the keylist from the listener instance previously registered with
4682 the DeviceEventController before releasing the grabs.
4684 * registryd/registry.c:
4685 * registryd/deviceeventcontroller.c:
4686 * libspi/spi-private.h:
4688 Changed spelling of "re-enterant" to "re-entrant" globally.
4690 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4692 * test/test-simple.c:
4693 Changed key listeners test - the test was slightly mis-using the
4694 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4695 It now uses '=' as the key event listened to and generated,
4696 relying on a keysym match rather than assuming that keycode 33
4697 is always equal to keysym '!'.
4699 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4702 Changed simple-at to use a specific keyset, rather than
4703 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4704 manager, desktop, etc.
4706 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4708 * registryd/deviceeventcontroller.c:
4709 Replaced standard X error handler with a special handler that
4710 is non-fatal for failed keygrabs. This works around
4711 problems with keygrab clashes sometimes observed on
4713 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4714 mouse handling code as yet).
4716 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4719 Incremented revision for desktop alpha release.
4722 Fixed a couple of the more glaring errors (still not
4725 2002-01-11 Michael Meeks <michael@ximian.com>
4727 * registryd/deviceeventcontroller.c
4728 (spi_device_event_controller_forward_key_event): kill
4729 XUngrabKey / XKeyGrab race.
4730 (spi_controller_grab_keyboard): rename to
4731 (spi_controller_update_key_grabs): this, and deal
4732 with incremental adding / removing grabs more
4734 (_register_keygrab): ensure we're not pending a remove.
4735 (spi_grab_mask_free): impl.
4736 (spi_controller_register_global_keygrabs): split out
4738 (handle_keygrab): impl.
4739 (_deregister_keygrab): impl.
4740 (spi_controller_deregister_global_keygrabs): impl.
4741 (spi_controller_update_key_grabs): re-issue the grab if
4742 we just recieved a notification.
4744 * test/test-simple.c (key_listener_cb): remove debug.
4746 * registryd/deviceeventcontroller.c
4747 (spi_controller_register_device_listener): after
4748 registering a global keygrab, actualy register it !
4749 don't wait for a timeout; doh !
4751 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4752 to make it more readable / manipulable.
4753 s/grabmask/grab_mask/ s/refcount/ref_count/
4754 s/keyval/key_val/ s/modmask/mod_mask
4756 2002-01-08 Michael Meeks <michael@ximian.com>
4758 * registryd/deviceeventcontroller.c
4759 (spi_controller_register_with_devices): use gdk calls to
4761 (global_filter_fn): implement the filter.
4762 (spi_device_event_controller_check_key_event): rename to
4763 (spi_device_event_controller_forward_key_event): this & upd.
4764 (spi_get_display): replace with GDK_DISPLAY.
4766 * registryd/deviceeventcontroller.c
4767 (spi_controller_deregister_device_listener): unroll into
4768 (impl_deregister_keystroke_listener): here to simplify.
4769 (spi_controller_register_global_keygrabs): split cut and
4770 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4771 (spi_controller_deregister_device_listener): remove.
4772 (impl_register_mouse_listener): remove, no mouse listener
4773 support in at-spi-1.0
4775 * registryd/registry.c
4776 (_device_event_controller_hook): kill.
4777 (spi_registry_init): upd.
4779 * registryd/deviceeventcontroller.c
4780 (spi_device_event_controller_class_init): upd.
4781 (spi_check_key_event): merge into.
4782 (spi_device_event_controller_check_key_event):
4783 here and kill strange static ev init, don't leak
4784 the x_event - nor dynamicaly allocate it.
4786 * registryd/registry-main.c (main): re-direct
4787 timeout to remove strange vtable mess.
4789 * registryd/deviceeventcontroller.c
4790 (remove_listener_cb): impl.
4791 (spi_controller_deregister_device_listener):
4792 fix re-enterancy hazard.
4794 2002-01-07 Michael Meeks <michael@ximian.com>
4796 * registryd/deviceeventcontroller.c
4797 (spi_device_event_controller_new): upd.
4798 (impl_notify_listeners_sync): upd. debug.
4799 (spi_notify_keylisteners): fix re-enterancy hazards,
4800 prettify, remove O(n*n) iteration.
4801 (spi_controller_grab_keyboard): fix iteration.
4802 (spi_check_key_event): re-format to suit coding style.
4803 Clean all the warnings - we're warning free.
4805 * registryd/deviceeventcontroller.h:
4806 * registryd/registry.h: make mutualy referential with
4807 typesafe forward references instead of (!) void pointer
4810 2002-01-11 Michael Meeks <michael@ximian.com>
4812 * cspi/spi_accessible.c (role_names): add a role name
4813 to sync this array with the enum; and make the regression
4816 2002-01-10 Michael Meeks <michael@ximian.com>
4818 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4819 allow expansion of enumeration & kill warning.
4821 * test/test-simple.c (key_listener_cb): impl.
4822 (test_keylisteners): impl.
4824 * cspi/spi-listener.h: make listener signatures const
4825 on the provided (const) events.
4827 * test/keysynth-demo.c: upd. to const events.
4829 * test/simple-at.c: ditto.
4831 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4834 Rev the version to 0.5 (the previous tarball was named 0.4,
4835 even though the micro number was 3), so we need to rev upwards
4836 again for beta2/"desktop-alpha"
4839 Checked in a demo script, which requires editing before use!
4840 Proceed with caution.
4843 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4845 * cspi/spi_accessible.c:
4846 Add a couple of missing enum initializations, and fix some enum
4849 * cspi/spi_registry.c:
4850 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4852 * docs/reference/cspi/at-spi-cspi-sections.txt:
4853 Remove/fix a couple of broken document references.
4856 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4857 as Alt-Control to listen for commands, since on some systems
4858 Control-Alt may already be grabbed.
4860 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4863 Update version number to 0.4 for Beta2.
4865 * libspi/accessible.c, libspi/accessible.h:
4866 Expose spi_accessible_construct, to enable libgail-gnome
4867 construction from spi_accessible subtype.
4869 * utils/magnifier.c:
4870 Workaround for bug in some non-gnome-compliant window managers
4871 which made magnifier resize improperly.
4873 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4875 * libspi/accessible.c: (spi_accessible_new) :
4876 Move the test for SPI_IS_REMOTE_OBJECT to
4877 spi_accessible_new_return, fixing a bug and compile time warning.
4879 2002-01-08 Michael Meeks <michael@ximian.com>
4881 * registryd/registry.c (parse_event_type): remove strndup.
4883 * libspi/Makefile.am (libspi_la_SOURCES): remove
4884 sources already included in the headers section.
4886 * libspi/util.c: add.
4888 * libspi/spi-private.h: add.
4890 * registryd/registry.c: update to moved list iterators.
4892 2002-01-05 Michael Meeks <michael@ximian.com>
4894 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4896 * test/test-simple.c (main): ditto.
4898 2002-01-04 Michael Meeks <michael@ximian.com>
4900 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4901 redundant construct.
4903 * registryd/registry.c
4904 (get_listener_list): impl.
4905 (impl_accessibility_registry_register_global_event_listener):
4906 re-impl. to simplify using ~, remove dodgy const cast off.
4907 (parse_event_type): constify.
4908 (impl_accessibility_registry_deregister_global_event_listener_all):
4909 re-write, more efficiency and simplicity, kill re-enterancy
4911 (compare_listener_corbaref, compare_corba_objects),
4912 (compare_listener_quarks): define out.
4913 (impl_accessibility_registry_deregister_global_event_listener):
4914 re-write for effiency, and nail re-enterancy hazard.
4915 (impl_accessibility_registry_get_desktop_list): impl.
4916 (re_enterant_list_delete_link): impl.
4917 (re_enterant_list_foreach): impl.
4918 (remove_listener_cb): impl.
4919 (_registry_notify_listeners): kill.
4920 (notify_listeners_cb): impl.
4922 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4923 (SPI_getDesktopList): impl.
4925 * test/test-simple.c (test_desktop): test the methods.
4927 2002-01-03 Michael Meeks <michael@ximian.com>
4929 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4930 keystrings since we free them
4931 (SPI_freeAccessibleKeySet): in here.
4933 * libspi/accessible.c (spi_accessible_new): kill warning,
4934 wonder what is going on with the constructor here.
4936 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4938 * libspi/accessible.c (spi_accessible_new ()) :
4939 Added check to see if AtkObject is an SpiRemoteObject before
4940 creating an SpiAccessible.
4942 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4944 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4945 Enable keygrabs using the Control modifier, now that they are
4946 working properly (they were previously disabled).
4949 Change the command keygrab for this demo to "Control+Alt", so as
4950 to conflict with fewer other key commands on the system; this
4951 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4953 Removed a pointlessly-chatty keylistener for unshifted keys
4954 (shifted keys are still reported).
4956 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4958 * libspi/remoteobject.h:
4959 * libspi/remoteobject.c:
4960 Added definitions for special AtkObject subtype, required for
4961 support of remote components (specifically, used by BonoboControl
4962 accessibility implementation).
4964 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4966 * cspi/spi.h: synched relation types with ATK
4968 * cspi/spi_accessible.c: Added implementations of
4969 AcccessibleRelation_* methods
4971 * idl/Accessibility_Relation.idl: added getRelationTypeName
4972 method. Synched known relation types with ATK. Allowed for
4973 relation type extension with the RELATION_EXTENDED type.
4975 * libspi/relation.c: Provided implementations for
4976 AccessibleRelation methods.
4978 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4980 API tweaks for today's API 'freeze'.
4983 Added placeholder functions to allow future compatible expansion
4984 of the IDL interfaces.
4986 * idl/Accessibility_Registry.idl:
4987 Changed generateKeyEvent to generateKeyboardEvent. Changed
4988 signature of this method to accept an optional keystring in
4989 parameter (for complex text input synthesis) and changed use of
4990 simple 'boolean' parameter in registerKeystrokeListener to a
4991 struct, EventListenerMode.
4993 * cspi/spi_accessible.c:
4995 * cspi/spi_streamablecontent.c:
4996 Added references to AccessibleStreamableContent interface, and
4997 definition and implementation of AccessibleStreamableContent
5000 * cspi/spi_registry.c:
5002 Changed generateKeyEvent API to generateKeyboardEvent,
5003 taking a new (optional) keystring parameter to support complex
5008 Renamed directory (to better reflect its actual purpose, bridging
5009 from at-spi to ATK). The .so module is also now named
5012 * idl/Accessibility_Hypertext.idl:
5013 * libspi/accessible.c:
5014 * libspi/hypertext.h:
5015 * libspi/hypertext.c:
5016 Changed Accessibility_Hypertext to *not* derive from
5019 * cspi/spi_registry.c:
5020 Added list of legal event type names for 'window' events, which
5021 completes the registry event API.
5023 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5025 * at-bridge/bridge.c: Added registration for separate
5026 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5027 signals. If either of the first two parameters to the generic
5028 bridge signal handler are ints, they are passed on as event
5029 details. This allows an AT to determine what text was inserted.
5031 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5033 * registryd/deviceeventcontroller.c:
5034 Fixed regressions in generateKeyEvent caused by the removal of
5035 gdk_init from registryd; we now use pure X calls to connect to the
5036 display, which makes sense because deviceeventcontroller already
5037 uses a fair bit of X API (should eventually be migrated to a
5038 'portability layer').
5040 * registryd/desktop.c:
5041 Fixed minor regression in spi_desktop_init, changed the way the
5042 desktop name is being set to work with new spi_base API
5043 (gobject-based, rather than AtkObject-based).
5045 * registryd/Makefile.am:
5046 Minor revision of makefile to use XTST_LIBS variable rather than
5047 hard-wiring the Xtst LD_ADD element.
5049 * test/keysynth-demo.c:
5050 Tweaked an output message; added initialization of the
5051 'keystrings' member of the "switch listener" key_set.
5053 * libspi/relation.c:
5054 Squashed compile-time warning.
5056 * libspi/accessible.c:
5057 Cosmetic and formatting fixes, renamed a static method.
5059 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5061 * libspi/accessible.c
5063 * libspi/application.c
5066 * libspi/component.c
5067 * libspi/editabletext.c
5068 * libspi/hyperlink.c
5069 * libspi/hypertext.c
5071 * libspi/selection.c
5075 * registryd/desktop.c:
5076 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5078 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5080 * idl/Accessibility_Registry.idl:
5081 Added boolean member 'is_text' to DeviceEvent. This is for the
5082 use of key events, and helps prevent ambiguity between composed
5083 key strings and keysym names, since both may potentially be
5084 returned in the 'event_string' member.
5086 * at-bridge/bridge.c:
5087 * registryd/deviceeventcontroller.c:
5088 Use the 'is_text' member when notifying device event listeners.
5089 Knon issue: composed characters are not dealt with correctly by
5090 the global key listener implementation yet.
5092 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5094 * at-bridge/bridge.c:
5095 Namespaced local static methods to spi_atk_bridge_* where
5096 previously named bridge_*, and spi_* elsewhere.
5098 * at-bridge/bridge.c:
5099 * cspi/bonobo/cspi-bonobo-listener.c:
5100 Added demarshalling/conversion for string member of
5101 Accessibility_DeviceEvent to AccessibleKeystroke.
5103 * registryd/deviceeventcontroller.c:
5104 Added code to fill the Accessibility_DeviceEvent key string value
5105 member for global key events (i.e. from XGrabKey), to match
5106 behavior of Accessibility_DeviceEvent from the toolkit key events
5107 from the bridge. Fixed timestamp in global key event notifications.
5110 Added printout of key event's string value to
5111 report_ordinary_key_event, for demo/debugging purposes.
5113 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5115 * idl/Accessibility_Registry.idl:
5116 Removed Accessibility_KeyStroke structure in favor of generic
5117 Accessibility_DeviceEvent structure.
5118 Changed Accessibility_ControllerEventMask from a struct to an
5121 * at-bridge/bridge.c:
5122 Changed APIs to use DeviceEvent structure as above, and removed
5123 bogus casting between these event structures.
5125 * cspi/spi-listener.h:
5126 Added keystring member of AccessibleKeystroke structure, to enable
5127 matching on event "names" rather than only hardware codes and
5131 Added keystrings member of AccessibleKeySet struct, to allow
5132 matching on event names (as above).
5133 Added declarations for SPI_createAccessibleKeySet and
5134 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5135 event modmasks directly as unsigned ints rather than structs with
5136 refcounts, in the DeviceEventController methods.
5138 * cspi/spi_registry.c:
5139 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5141 * cspi/spi-roletypes.h:
5142 Added documentation of newly added SPI Roles.
5144 * cspi/bonobo/cspi-bonobo-listener.c:
5145 Changes in support of API changes above.
5147 * libspi/accessible.c:
5148 Converted APIs to use DeviceEvent structure (see IDL changes
5151 * registryd/deviceeventcontroller.c:
5152 Added DEControllerGrabMask structure to track keygrabs not only by
5153 modmask but by keyset as well; this allows us to do "global"
5154 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5155 grabbing on AnyKey and then filtering after-the-fact.
5156 Bugfixes for event filtration mean that we don't get false matches
5157 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5159 * registryd/deviceeventcontroller.c:
5160 Namespaced a number of static methods to use spi_ prefix. Major
5161 revision to internals of global (i.e. X) key grabs.
5163 * registryd/deviceeventcontroller.h:
5164 Removed keymask_list and added keygrabs_list to
5165 SpiDeviceEventController struct.
5168 Added use of SPI_createAccessibleKeySet API when creating a
5169 listener for only one key. Attach a listener to "shift spacebar
5170 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5171 X key event names to SPI key event names, so that listeners are
5172 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5174 * test/keysynth-demo.c:
5175 Changed (incorrect) use of X key event names (KeyPressed,
5176 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5179 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5181 * libspi/accessible.c:
5182 Convert all AtkRole enumerations to Accessibility_Role enums when
5183 getting a role from an AtkObject.
5185 * cspi/spi_accessible.c:
5186 Complete the conversion of Accessibility_Role enums at runtime to
5187 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5188 role enums correctly match those given in spi-roletypes.h.
5189 Re-synchronize the local names list for AccessibleRole_getName ().
5190 AccessibleRole_getName is now deprecated, since it duplicates the
5191 more reliable Accessible_getRoleName.
5192 Added some role types from Accessibility_Role.idl.
5194 * idl/Accessibility_Role.idl:
5195 Added some role types used by AtkRole.
5197 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5200 * cspi/spi_registry.c:
5202 * cspi/cspi-bonobo-listener.c:
5203 Namespaced all methods that did not begin with an "SPI_" or
5204 "Accessible" prefix to "SPI_".
5207 Homogenized internal function namespace to "cspi_" for statics.
5210 Patched tests to use the new CSPI API.
5212 * docs/reference/cspi/at-spi-cspi-sections.txt:
5213 Updated docs to reflect namespace changes, and added a number of
5214 methods to the documentation.
5216 * registryd/registry.c:
5217 Changed use of strings and string hashes in listener event
5218 matching and parse_event_string to use GQuark, which is guaranteed
5221 * registryd/registry.h:
5222 Squashed annoying warning.
5224 * idl/Accessibility_Role.idl:
5225 Extended range of available Accessibility_Role values.
5227 * cspi/spi_accessible.c:
5228 Re-ordered role names.
5230 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5232 * idl/Accessibility_Value.idl:
5233 Revert use of union back to CORBA_double, since the double type is
5234 more efficient and can contain the other types without loss of
5237 * idl/Accessibility_Accessible.idl:
5238 Added method Accessibility:Accessible:getRoleName, to complement
5239 Accessibility:Accessible:getRole.
5241 * cspi/spi_accessible.c:
5243 Added C binding for above, Accessible_getRoleName (), and changed
5244 signature of Accessible_getRole () to return an AccessibleRole.
5246 * cspi/spi-roletypes.h:
5247 Changed AccessibleRole_getName to return a char * instead of a
5248 const char *. This method is now at least temporarily deprecated
5249 in favor of asking Accessibles for their RoleNames directly.
5252 Revert to match Accessibility_Value.idl;
5256 Change signature of AccessibleValue methods to use double rather
5260 * cspi/spi_accessible.c:
5261 Changed Accessible_getRole to return an AccessibleRole enum rather
5262 than a UTF-8 string. The UTF-8 string can still be obtained via
5263 AccessibleRole_getName ().
5265 * test/test-simple.c:
5266 Add test_action. Small fixup to match API change to Accessible_getRole.
5269 Bugfix for get_action_from_servant ().
5271 2001-12-11 Michael Meeks <michael@ximian.com>
5273 * libspi/libspi.h: remove registry.h and
5274 desktop.h, deviceeventcontroller.h
5276 * libspi/Makefile.am: remove registry.[ch],
5277 desktop.[ch], deviceeventcontroller.[ch]
5279 * registryd/Makefile.am: add registry.[ch],
5280 desktop.[ch], rename registryd.c to registry-main.c.
5281 add deviceeventcontroller.[ch]
5283 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5286 Replace setenv() call with putenv ().
5288 * libspi/component.c:
5289 Bugfix in AccessibleComponent_getExtents (),
5292 2001-12-11 Michael Meeks <michael@ximian.com>
5294 * libspi/image.c (impl_getImageExtents): impl.
5295 (spi_image_class_init): upd.
5298 (AccessibleImage_getImageDescription): fix daft bug
5301 * test/test-simple.c (global_listener_cb): update
5302 to only quit if not --poke
5303 (main): catch --poke.
5304 (validate_accessible): upd. dumping, call test_image
5307 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5310 * idl/Accessibility.idl: update all IDL includes.
5312 * idl/*.idl - rename to namespace - this sucks, blame
5313 mjs' bad decision for oafd.
5315 * test/test-simple.c (create_test_window): add more tests.
5316 (create_tree): split this out.
5317 (validate_accessible): bugfix.
5319 2001-12-11 Michael Meeks <michael@ximian.com>
5321 * cspi/bonobo/cspi-bonobo-listener.c:
5322 (cspi_kestroke_listener_unref),
5323 (cspi_event_listener_unref): impl. undoing previous
5324 homenous environment - for Bill.
5326 * cspi/spi_table.c (long_seq_to_array): use
5329 * cspi/spi_main.c: split out all bonoboish bits into
5332 * cspi/spi-impl.h: upd. typedefs.
5334 * cspi/spi_registry.c: update to lowlevel API,
5335 return booleans to indicate success in some places.
5337 * cspi/spi_event.c: update to lowlevel API.
5339 * cspi/bonobo/Makefile.am: add.
5341 * cspi/bonobo/cspi-lowlevel.h: add
5343 * cspi/bonobo/cspi-bonobo.c: add
5345 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5347 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5348 (SUBDIRS): add bonobo, link in the libs.
5350 * cspi/spi-util.c: kill this file.
5352 * TODO: merge in my bits.
5354 2001-12-11 Michael Meeks <michael@ximian.com>
5356 * test/test-simple.c (test_value, test_table, main):
5357 remove unused variables causing warnings.
5359 * configure.in: cleanup checks - require gail.
5361 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5364 Changed Value interface to use SValue (scalars) rather than
5365 assuming all values are floats. This allows floats, doubles,
5366 longs, shorts, and unsigned values to be manipulated.
5367 Introduced Accessibility:SValue union.
5370 Updated to use new API above, and to work correctly with GValues
5371 of different types in AtkValue.
5374 Updated to use new API above. cspi's API is as yet unchanged.
5377 Updated the Value revision action item.
5379 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5381 * test/test-simple.c:
5382 Added test_table (GtkTreeView widget in test window to follow).
5383 Un-commented test_value, added GtkRange widget.
5384 Added GtkTreeView widget with GtkListStore. It passes regression
5385 test but leaks one SPI object for some reason.
5388 Fixed bug in impl__set_currentValue.
5390 2001-12-10 Michael Meeks <michael@ximian.com>
5392 * cspi/spi_text.c: audit for exception handling,
5393 tolerating NULL object references safely etc.
5395 * cspi/spi_value.c: ditto.
5397 * cspi/spi_table.c (AccessibleTable_getSummary),
5398 (AccessibleTable_getAccessibleAt),
5399 (AccessibleTable_getRowHeader),
5400 (AccessibleTable_getColumnHeader),
5401 (AccessibleTable_getCaption): fix bugs hidden by
5403 (long_seq_to_array): impl.
5404 (AccessibleTable_getSelectedRows),
5405 (AccessibleTable_getSelectedColumns): use it.
5407 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5410 Added a TODO list (rough and short for now).
5412 * cspi/spi_hyperlink.c:
5413 * cspi/spi_hypertext.c:
5414 Fixed macro name typos, and remove use of obsolete macro in
5415 AccessibleHyperlink_getLink.
5417 * cspi/spi_action.c:
5418 * cspi/spi_accessible.c:
5419 * cspi/spi_application.c:
5420 * cspi/spi_component.c:
5421 * cspi/spi_selection.c:
5424 Documentation fixes (removed return values from ref/unref methods).
5426 2001-12-10 Michael Meeks <michael@ximian.com>
5428 * cspi/spi_action.c: audit for exception handling,
5429 tolerating NULL object references safely etc.
5431 * cspi/spi_accessible.c: ditto.
5433 * cspi/spi_component.c: ditto.
5435 * cspi/spi_editabletext.c: ditto.
5437 * cspi/spi_hyperlink.c: ditto.
5439 * cspi/spi_hypertext.c: ditto.
5441 * cspi/spi_image.c: ditto.
5443 * cspi/spi_selection.c: ditto.
5445 2001-12-10 Michael Meeks <michael@ximian.com>
5447 * configure.in: use cspi/libspi.pc.in instead.
5449 * Makefile.am (pkgconfig_DATA): upd. to match.
5451 * test/simple-at.c (report_focus_event): kill hacks around
5452 bad return values, use putenv not setenv
5454 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5455 fire ChildGone - I killed it.
5457 * libspi/component.c
5458 (impl_accessibility_component_get_extents): remove
5461 * idl/Accessible.idl: kill ChildGone exception.
5463 * cspi/*.[ch]: kill int return from ref / unref.
5465 * cspi/spi_main.c (cspi_object_add_check): fold into
5466 (cspi_object_add): here.
5468 * cspi/spi_component.c (AccessibleComponent_getExtents):
5469 handle exceptions elegantly.
5471 * cspi/spi-private.h (cspi_check_ev_return),
5472 (cspi_return_if_fail): impl.
5474 * cspi/spi_accessible.c: use extensively.
5475 (AccessibleStateSet_equals): add direct compare check.
5477 * cspi/spi_selection.c: tolerate NULL objs, and check
5478 exceptions before return.
5480 * cspi/spi-util.c (cspi_warn_ev): rename to
5481 (cspi_check_ev): this & don't pass ev in; no point.
5483 2001-12-10 Michael Meeks <michael@ximian.com>
5485 * test/test-simple.c: use putenv not setenv
5486 (get_environment_vars): more chatty if you're not using
5489 * test/simple-at.c: do the setenv so more people see the
5492 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5494 * libspi/registry.c:
5495 Changed check of CORBA_environment on notification to be a warning
5496 instead of an error for the moment, since we can recover from this
5497 error when caused by a queued notification from a dead app.
5500 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5501 used by all current implementors of AtkValue), and coerce to
5502 CORBA_float. (Proper general case fix may require change to Value.idl).
5504 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5508 * cspi/spi_accessible.c:
5509 Documentation fixes: added user_data params to documentation for
5510 listeners and callbacks.
5512 * cspi/spi_accessible.c:
5513 Changed AccessibleStateSet_compare to return a
5514 StateSet rather than return the difference set into a third parameter.
5517 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5520 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5521 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5525 Remove subdirectory po from SUBDIRS for now.
5527 * at-bridge/bridge.c:
5528 Beefed up a couple of debug printouts.
5529 One-line fix for signal notification name formatting.
5531 * libspi/accessible.c:
5532 Added assertion to spi_accessible_new ().
5534 * libspi/application.c:
5535 Put #ifdef qualifiers around a printf.
5538 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5540 * registryd/Makefile.am:
5542 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5543 INTLTOOL_SERVER_RULE macro.
5546 Added an event listener for several ATK signals, for
5547 testing and debugging. Removed a few g_warnings.
5548 Added test output if focussed item implements the Value interface.
5550 * test/test-simple.c:
5551 Added test_value () function (known not to pass at the moment, so
5552 not actually called yet.
5554 2001-12-08 Michael Meeks <michael@ximian.com>
5556 * at-bridge/bridge.c (bridge_focus_tracker),
5557 (emit_eventv): fix the same ref. leak.
5558 (register_atk_event_listeners): don't leak.
5560 * cspi/spi-listener-impl.c (cspi_event): more
5561 protection from client code.
5563 * test/test-simple.c (test_desktop): unref the app.
5565 * test/Makefile.am: upd. TESTS.
5567 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5569 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5571 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5573 * cspi/spi_registry.c: constify in strings.
5574 (deregisterGlobalEventListenerAll): don't release the ref.
5576 * cspi/spi.h: start removing redundant / conflicting
5577 gtkdoc comments, making the API readable at a glance :-)
5579 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5581 * test/keysynth-demo.c (keysynth_exit, main): upd.
5583 * test/simple-at.c (main, simple_at_exit): upd.
5585 * test/test-simple.c (unutterable_horror): kill.
5586 (utterable_normal_derefs): kill.
5587 (main): upd & do a setenv before gtk_init, so that we
5588 can use memprof - and to save the pain of remembering
5589 this, if we're running under memprof - don't exit.
5591 * cspi/spi_main.c (SPI_exit): return exit status
5593 (SPI_event_quit): impl.
5594 (SPI_event_main): simplify.
5595 (cspi_is_gnome_app): kill.
5596 (SPI_init): kill isGNOMEapp arg.
5598 * at-bridge/bridge.c (register_atk_event_listeners):
5599 re-instate the unref.
5600 (bridge_exit_func): don't re-activate the registry,
5601 protect vs. theoretical re-entry, use the
5602 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5603 assert a clean shutdown - for regression tests.
5605 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5607 * configure.in: Comment out dummy i18n support for now,
5608 otherwise it fails to build.
5609 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5610 EXTRA_DIST. They are missing in tarball.
5612 2001-12-07 Michael Meeks <michael@ximian.com>
5614 * util/magnifier.c: kill bonobo activation reg. race.
5616 * libspi/component.c
5617 (impl_accessibility_component_get_extents): make it match
5620 * libspi/registry.c (_registry_notify_listeners):
5621 re-remove X headers & reconcile conflicts.
5622 (spi_listener_struct_free): bad conflict resolve.
5623 (impl_accessibility_registry_register_application):
5624 more bad merging fixed.
5625 (impl_accessibility_registry_deregister_application): ditto.
5626 (spi_registry_new): ditto.
5627 (spi_registry_init): don't have an applications field.
5629 [ merge fixups2 branch to here ]
5630 2001-12-07 Michael Meeks <michael@ximian.com>
5632 * test/simple-at.c (report_focus_event),
5633 (report_focussed_accessible): remove g_warning debug.
5635 2001-12-07 Michael Meeks <michael@ximian.com>
5637 * test/test-simple.c (validate_tree): comment out some checks.
5638 (test_desktop): app now not registered idly - horay.
5640 2001-12-07 Michael Meeks <michael@ximian.com>
5642 * cspi/spi_registry.c
5643 (registerAccessibleKeystrokeListener): clean, stop it leaking
5644 great swathes of memory, and device event controller references.
5645 ensure we always pass valid sequences.
5646 (deregisterAccessibleKeystrokeListener): ditto.
5647 (generateKeyEvent): upd.
5649 * at-bridge/bridge.c (bridge_key_listener): handle
5650 registry dead exception gracefully.
5651 (bridge_focus_tracker, emit_eventv): free ev.
5653 * test/simple-at.c (report_focus_event): fix polarity.
5655 * libspi/application.c (notify_listeners): kill the ev
5656 argument, and make sure we init the ev we use.
5657 (spi_application_object_event_listener): split out a chunk
5658 (get_atk_object_ref): here & fixup.
5659 (reverse_lookup_name_for_toolkit_event): make const.
5660 (spi_application_toolkit_event_listener): fixup, kill leaks
5663 * at-bridge/bridge.c (register_atk_event_listeners):
5664 don't unref the noop object - causes grief.
5666 * libspi/registry.c: remove the X headers.
5667 turn off the debug churn.
5669 * libspi/accessible.c (spi_accessible_new_return): only
5670 release the ref if we are supposed to [doh]
5672 * test/simple-at.c (report_button_press, report_focus_event):
5673 guard vs. unexpected exit.
5675 * at-bridge/bridge.c (gtk_module_init): prune printf.
5676 (bridge_exit_func): fix app unref.
5678 * libspi/Makefile.am: don't install registry or desktop.h
5680 * libspi/*.h: update includes.
5682 * libspi/application.h: don't include ourself, or
5683 other redundant headers.
5685 2001-12-06 Michael Meeks <michael@ximian.com>
5687 * libspi/accessible.c
5688 (get_accessible_from_servant): impl.
5689 Upd. all CORBA impl.s to use it killing cut and paste.
5691 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5693 (SPI_init): register atexit cleanup handler here.
5695 2001-12-06 Michael Meeks <michael@ximian.com>
5697 * at-bridge/bridge.c (gtk_module_init): g_error on
5698 activation exception
5700 2001-12-06 Michael Meeks <michael@ximian.com>
5702 * at-bridge/bridge.c (gtk_module_init): some sort of
5703 confusing merge clash - reverted.
5704 (bridge_idle_init): ditto.
5706 * test/test-simple.c (main, utterable_normal_derefs):
5707 merge from Bill - somehow not committed.
5709 2001-12-06 Michael Meeks <michael@ximian.com>
5711 * libspi/value.c (spi_value_class_init): upd.
5712 (spi_value_finalize): kill.
5714 * libspi/table.c (spi_table_finalize): kill.
5715 (spi_table_interface_new): upd.
5716 (spi_table_class_init): upd.
5717 (get_table_from_servant): impl.
5718 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5720 * libspi/selection.c (spi_selection_finalize): kill.
5721 (spi_selection_interface_new): upd.
5722 (spi_selection_class_init): upd.
5723 (get_selection_from_servant): impl.
5724 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5726 * libspi/relation.c (spi_relation_finalize): kill.
5727 (spi_relation_class_init, spi_relation_new): upd
5729 * libspi/image.c (spi_image_finalize): kill.
5730 (spi_image_class_init): upd.
5731 (spi_image_interface_new): upd.
5732 (get_image_from_servant): impl.
5733 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5735 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5736 (spi_hyperlink_finalize): kill.
5737 (spi_hyperlink_new): upd.
5738 (get_hyperlink_from_servant): impl.
5739 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5741 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5742 (spi_hypertext_finalize): kill.
5743 (spi_hypertext_class_init): upd.
5744 (get_hypertext_from_servant): impl.
5745 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5747 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5748 (spi_editable_text_interface_new): upd.
5749 (get_editable_text_from_servant): impl.
5750 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5752 * libspi/text.c (get_text_from_servant): impl.
5753 All impls - update to use it killing more cut and paste,
5754 also fix bad string returns on duff args ( a somewhat
5755 impossible case to handle - but hey ).
5756 (spi_text_construct): impl.
5757 (spi_text_interface_new): upd.
5758 (spi_text_object_finalize): kill.
5760 * libspi/component.c
5761 (accessibility_component_object_finalize): kill.
5762 (spi_component_class_init): upd.
5763 (get_component_from_servant): impl. helper to kill cut & paste.
5764 (impl_accessibility_component_contains):
5765 (impl_accessibility_component_get_accessible_at_point):
5766 (impl_accessibility_component_get_position):
5767 (impl_accessibility_component_get_extents):
5768 (impl_accessibility_component_get_mdi_z_order):
5769 (impl_accessibility_component_get_layer):
5770 (spi_component_interface_new): upd.
5772 * libspi/action.c (spi_action_finalize): kill.
5773 (spi_action_class_init): upd. inherit from SpiObject.
5774 (spi_action_interface_new): upd.
5775 (get_action_from_servant): impl. helper to reduce cut & paste.
5776 (impl_getKeyBinding, impl_getName, impl_doAction),
5777 (impl_getDescription): Use it everywhere.
5779 * cspi/spi_main.c (get_live_refs): a pointer hash.
5780 (spi_object_hash, spi_object_equal): comment out.
5781 There are issues with CORBA object hashing that need
5784 * libspi/application.c (spi_application_init),
5785 (spi_application_new): upd.
5787 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5788 (spi_accessible_class_init): upd.
5789 s/accessible/object/ in epv methods.
5791 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5793 * at-bridge/bridge.c:
5794 Reorder the bridge initialization into the bridge gtk_module_init,
5795 an immediate call to bridge_register_app, and an idle_add for
5796 register_atk_event_listeners (the only code that *must* wait until
5797 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5798 the activation, creates the application's Accessible object, and
5799 queues the bridge_idle_init function. Restored call to
5800 Accessibility_Registry_deregisterApplication().
5801 Prior to making this call we obtain a new reference to the
5802 registry, which is a temporary hack that helps us handle apps that
5803 shut down the bonobo mainloop before we get there.
5805 * libspi/registry.c:
5806 Fix string leakage in debug block, and don't segv if a an app
5807 dies before its event notifications have been propagated.
5810 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5811 as stopgap measure until we get proper exception handling when
5812 objects die during or before interrogation.
5816 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5817 Also changed default value of is_gnome_app to TRUE.
5820 * test/keysynth-demo.c:
5821 Changed use of SPI_init and SPI_event_main to reflect API change above.
5824 Made report_focus_event check the warning value from getName
5825 before reporting on focussed accessible; simplifies handling of
5826 notifications from dead objects.
5828 * test/test-simple.c: (Changes not in this patch since source is
5831 2001-12-05 Michael Meeks <michael@ximian.com>
5833 * registryd/registryd.c (main): protect against
5834 bonobo-activation startup race condition.
5836 * cspi/spi_main.c (cspi_object_add_check): cope
5837 with the exception elegantly.
5839 * idl/Accessible.idl: decl. ChildGone
5841 * libspi/desktop.c (spi_desktop_dispose): impl.
5842 (spi_desktop_class_init): upd.
5843 (spi_desktop_add_application),
5844 (spi_desktop_remove_application),
5845 (abnormal_application_termination): impl.
5846 (impl_desktop_get_child_at_index): re-impl.
5849 (impl_accessibility_registry_deregister_application),
5850 (impl_accessibility_registry_register_application):
5851 kill excessive debug clutter.
5853 * test/test-simple.c (test_misc): test some NULL
5854 tolerance. (main): upd.
5856 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5857 implements no interfaces - so let's not crash.
5859 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5861 * libspi/accessible.c (spi_accessible_new_return): impl.
5862 helper to calm the cut and paste, to cope with
5863 NULL AtkObjects effectively and efficiently, and to kill
5864 the referencing bugs.
5866 * libspi/table.c (impl_getAccessibleAt),
5867 (impl_getRowHeader, impl_getColumnHeader): upd.
5869 * libspi/hyperlink.c (impl_getObject): upd.
5871 * libspi/accessible.c
5872 (impl_accessibility_accessible_get_child_at_index): upd.
5874 * libspi/component.c
5875 (impl_accessibility_component_get_accessible_at_point): upd.
5877 * test/test-simple.c (test_editable_text, test_text): impl.
5880 * cspi/spi_editabletext.c
5881 (AccessibleEditableText_insertText): constify.
5883 * test/test-simple.c (focus_me): make more robust.
5885 * libspi/accessible.c: remove some printfs in methods that
5886 we test and work fine, so we can get a clean tree dump.
5888 * test/test-simple.c (validate_accessible),
5889 (validate_tree): make tree dumping pretty too.
5891 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5892 it builds without debug on.
5894 * test/test-simple.c (validate_accessible): fix the most
5897 * cspi/spi_main.c (spi_object_release): leave the nicely
5898 blanked memory around if in debug mode.
5900 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5902 [committed to fixups2]
5903 2001-12-05 Michael Meeks <michael@ximian.com>
5905 * libspi/editabletext.c
5906 (spi_editable_text_class_init): g_type_class_peek_parent,
5907 not interface peek - so we finalize cleanly.
5909 * libspi/accessible.c (spi_accessible_new): kill debug.
5911 * test/test-simple.c (validate_accessible): fix ref.
5912 leak, print strings before freeing them; sigh, comment a
5913 chunk out due to strangeness.
5914 (validate_tree): unref the child after use.
5916 * cspi/spi_component.c (AccessibleComponent_getLayer):
5917 add missing break statement, switch on zlayer not the
5918 uninitialized retval.
5920 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5921 before (possibly re-entering) remote unref.
5923 * test/simple-at.c (main): unref the desktop.
5925 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5928 * cspi/spi_main.c (cspi_accessible_is_a): here to
5929 isolate bonobo API usage more.
5931 * libspi/registry.c (impl_accessibility_registry_register_application):
5932 prune bogus comment.
5934 2001-12-04 Michael Meeks <michael@ximian.com>
5936 * test/test-simple.c (validate_tree): upd.
5937 IndexInParent check to make it more lucid.
5938 (validate_accessible): dump the tree.
5940 * libspi/accessible.c (de_register_public_ref),
5941 (get_public_refs): impl.
5942 (spi_accessible_new): make more efficient & intuitive.
5943 Now IndexInParent check works.
5945 2001-12-04 Michael Meeks <michael@ximian.com>
5947 * cspi/spi-util.h: remove.
5949 * cspi/spi.h: move SPI_freeString here
5951 * libspi/component.c (impl_accessibility_component_get_layer):
5953 (impl_accessibility_component_get_mdi_z_order): ditto,
5954 return -1 on error - is this ok ?
5956 * test/test-simple.c (test_application): impl.
5958 * cspi/spi_accessible.c (Accessible_getApplication),
5959 (Accessible_isApplication): impl.
5961 * libspi/registry.c (spi_listener_struct_free): release
5962 the CORBA reference too.
5964 * libspi/accessible.c
5965 (impl_accessibility_accessible_get_parent): fix ref leak.
5967 * libspi/registry.c (spi_registry_new): make the registry
5968 immortal - we don't want it to go away ever.
5970 * libspi/application.c
5971 (spi_accessible_application_finalize): impl. cleanup.
5973 * cspi/spi_registry.c
5974 (deregisterGlobalEventListenerAll),
5975 (deregisterGlobalEventListener),
5976 (deregisterAccessibleKeystrokeListener): fix ref leak.
5978 * cspi/spi_main.c (SPI_init): remove redundant ref.
5980 * test/test-simple.c (unutterable_horror): impl. to force a
5985 (impl_accessibility_registry_deregister_application): release
5986 the application when we de-register it.
5988 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5989 until we have the infastructure to get it right.
5991 2001-12-03 Michael Meeks <michael@ximian.com>
5993 * libspi/Makefile.am: only build eventlistener.[ch]
5995 * libspi/accessible.c
5996 (impl_accessibility_accessible_get_child_at_index): don't leak.
5998 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5999 before we hit the idle handler.
6001 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6002 debugging than exit.
6004 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6006 * libspi/listener.c (impl_notify_event): check source
6007 not NIL before unref.
6009 * libspi/registry.c (impl_registry_notify_event): ditto.
6011 * libspi/eventlistener.c
6012 (impl_accessible_event_notify_event): unref the source.
6014 * libspi/accessibleeventlistener.c
6015 (impl_accessible_event_notify_event): unref the source.
6017 * idl/Event.idl: remove 'hash_id' attribute - of no
6020 * libspi/application.c (notify_listeners): upd list
6022 (spi_application_object_event_listener),
6023 (spi_application_toolkit_event_listener): upd to do correct
6027 (_registry_notify_listeners): update.
6028 (parse_event_type): this method also leaks like a sieve.
6029 (impl_accessibility_registry_deregister_global_event_listener):
6030 fix ETYPE_WINDOW case.
6032 * libspi/application.c
6033 (impl_accessibility_application_register_object_event_listener):
6036 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6038 * libspi/hypertext.c (impl_getLink): ditto.
6040 * cspi/spi_main.c (cspi_object_add): remove
6041 bogus CORBA_Object_duplicate.
6043 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6046 * cspi/spi_accessible.c
6047 (Accessible_getRelationSet): fix leak / referencing issue.
6049 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6050 (cspi_object_add, cspi_object_unref): upd.
6051 (spi_object_release, get_live_refs): impl.
6052 (cspi_cleanup): simplify.
6054 * *.[ch]: s/boolean/SpiBoolean/
6056 * cspi/spi_accessible.c (role_names): actualy order so it
6057 corresponds with the enum !
6059 * test/test-simple.c (test_roles): check some role strings
6060 vs. enums to detect offset errors.
6062 2001-12-01 Michael Meeks <michael@ximian.com>
6064 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6066 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6068 (Accessible_getChildAtIndex): use cspi_add_check so we
6069 check the ev before using a (possibly) invalid value.
6071 * libspi/accessible.c
6072 (impl_accessibility_accessible_get_parent): don't segv
6075 * at-bridge/bridge.c (gtk_module_init): upd.
6076 (bridge_property_event_listener): don't leak strings
6078 (bridge_state_event_listener),
6079 (bridge_property_event_listener): don't use a static
6080 buffer in case of recursive event emission &
6081 re-enterancy - split out the swathe of cut and paste
6083 (emit_eventv): and fix 2 ref leaks here & comply to the
6085 (bridge_register_app): rename to
6086 (bridge_idle_init): this and kill arg parsing, split
6087 various inits & bonobo-activation registration to module
6088 init time, kill referencing error.
6089 (bridge_exit_func): fix the same leak.
6090 (bridge_focus_tracker): don't leak event structures
6092 (bridge_signal_listener): more leakage and cut & paste
6094 (bridge_key_listener): return the result - FIXME is
6095 this polarity correct ?
6096 (accessibility_keystroke_from_atk_key_event): rename
6097 (accessibility_init_keystroke_from_atk_key_event): and stop
6099 (gtk_module_init): return a value - not that it is checked by
6101 (bridge_key_listener): register my horror at casting between
6102 IDL defined structs.
6103 (bridge_get_registry): kill - not used.
6105 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6107 * test/test-simple.c (test_roles): impl.
6108 (test_desktop, validate_accessible, validate_tree): impl.
6110 * cspi/spi_accessible.c (role_names): fixup bogus
6111 MAX_ROLES setup, make constants const for efficient linkage
6112 (AccessibleRole_getName): conform to coding style, make
6115 2001-11-30 Michael Meeks <michael@ximian.com>
6117 * cspi/spi.h: add missing prototype.
6119 * libspi/registry.c (spi_listener_struct_new): fix sig.
6121 * test/Makefile.am: add test-simple
6123 * test/test-simple.c: add
6125 * test/test.sh: add.
6127 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6129 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6130 do it straight - since otherwise we often get an activation race.
6132 [ work before Bill duplicated a chunk of it ... ]
6133 2001-11-30 Michael Meeks <michael@ximian.com>
6135 * libspi/keystrokelistener.c
6136 (spi_keystroke_listener_class_init): fixup arg
6139 * libspi/eventlistener.c
6140 (spi_event_listener_class_init): ditto.
6142 * tests/test.sh: add.
6144 * cspi/spi-listener-impl.h: update macros.
6146 * cspi/spi-listener-impl.c
6147 (cspi_event_listener_remove_callback): add
6148 correct pre-conditions.
6150 * cspi/spi_main.c (SPI_exit): guard vs. double
6151 exits, exit the mainloop nicely.
6152 (SPI_event_main): make more sense.
6153 (SPI_init): move the atexit evilness here so we
6154 always do it (yuck).
6155 (SPI_event_main): upd.
6157 * test/simple-at.c: update for listener changes.
6159 * registryd/registryd.c (main): prune kruft.
6161 * libspi/libspi.h: upd.
6163 * libspi/eventlistener.[ch]: rename broken macros.
6165 * libspi/accessibleeventlistener.[ch]: remove.
6167 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6169 * test/test-simple.c: Add - automated tests.
6171 * cspi/spi-listener-impl.c (cspi_event),
6172 (cspi_key_event): add user_data to invoke.
6173 (cspi_keystroke_listener_finalize): impl.
6174 (cspi_keystroke_listener_class_init): upd.
6177 (createAccessibleEventListener),
6178 (AccessibleEventListener_addCallback),
6179 (createAccessibleKeystrokeListener),
6180 (AccessibleKeystrokeListener_addCallback): upd.
6182 * libspi/deviceeventcontroller.c
6183 (spi_device_event_controller_check_key_event): add public proto.
6186 (impl_accessibility_registry_deregister_global_event_listener):
6187 always init listeners.
6188 (_registry_notify_listeners): yes it is.
6190 * cspi/spi-listener-impl.c (cspi_key_event):
6192 (cspi_event_listener_finalize): impl.
6193 (cspi_event_listener_class_init): hook up.
6194 (event_handler_new, event_handler_free),
6195 (event_list_remove_by_callback): impl.
6196 (cspi_event_listener_remove_callback),
6197 (cspi_keystroke_listener_remove_callback),
6198 (cspi_keystroke_listener_add_callback),
6199 (cspi_event_listener_add_callback): upd.
6201 * libspi/keystrokelistener.c
6202 (keystroke_listener_object_finalize): kill
6203 (spi_keystroke_listener_class_init): upd.
6204 (spi_keystroke_listener_add_callback),
6205 (spi_keystroke_listener_remove_callback): kill,
6207 (impl_key_event): prune drasticaly.
6209 * libspi/eventlistener.c
6210 (spi_event_listener_add_callback),
6211 (spi_event_listener_remove_callback): kill, use
6213 (impl_accessible_event_notify_event): upd.
6214 (spi_event_listener_object_finalize): remove.
6216 * libspi/Makefile.am: use eventlistener.[ch]
6218 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6220 * libspi/registry.c (_registry_notify_listeners):
6221 Changed listener loop iteration to use preferred convention.
6222 Got rid of string memory leaks caused be calling g_strconcat
6223 inside function calls.
6225 * libspi/registry.c (parse_event_type):
6226 Stopped g_strconcat memory leaks, free the g_strsplit return,
6227 g_strdup the split pieces when used, etc.
6229 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6232 Change method 'compare' to return a 'difference set' rather than
6233 taking a StateSet as an out parameter (more Java-friendly).
6235 * idl/Accessible.idl:
6236 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6238 * idl/Component.idl:
6240 Changed methods 'getExtents' and 'getImageExtents' in these
6241 interfaces to return a BoundingBox structure.
6242 (getPosition and getSize are redundant and possibly should be
6243 removed, rather than creating a corresponding Point struct.)
6245 * cspi/spi_component.c:
6246 Modify implementation of getExtents to reflect the above IDL
6251 Add (missing) AccessibleImage_getExtents () API.
6253 * docs/reference/cspi/at-spi-cspi-sections.txt:
6254 Added AccessibleImage_getImageExtents () to docs.
6256 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6258 * idl/Component.idl:
6259 Added two methods, getLayer () and getMDIZOrder (), to reflect
6260 the new ATK methods atk_object_get_layer and
6261 atk_object_get_mdi_z_order. (Which arguably should be part of the
6262 AtkComponent API and AtkObject). Also added an enum,
6263 ComponentLayer, for the first method's return value.
6265 * libspi/component.c:
6266 Added implementations for these methods.
6268 * cspi/spi_component.c:
6270 Added cspi binding methods for above,
6271 AccessibleComponent_getLayer() and
6272 AccessibleComponent_getMDIZOrder().
6273 Added cspi enum 'AccessibleComponentLayer'.
6275 * docs/reference/cspi/at-spi-cspi-sections.txt:
6276 Added above methods to docs.
6280 Changed typedef for 'boolean' type (and all references to it) to
6281 SPIBoolean, to avoid keyword clashes with C++.
6284 Changed usages of 'boolean' to SPIBoolean.
6286 * test/keysynth-demo.c:
6287 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6288 app), except where SPIBoolean is required by the callbacks API.
6290 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6292 * cspi/spi_registry.c:
6293 Removed obsolete X event loop for passive keygrabs (which now
6296 * registryd/registryd.c:
6297 Removed unnecessary call to gdk_init() [cruft]. This also allows
6298 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6301 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6303 * docs/reference/cspi:
6304 Included docs for SPI_freeString in generated documentation.
6307 Renamed spi_freeString to SPI_freeString, for consistency. Added
6308 documentation for this function.
6311 Renamed spi_freeString to SPI_freeString, for consistency.
6312 Removed obsolete method declaration string_from_corba_string.
6314 * test/keysynth-demo.c:
6315 Small tweak to comments.
6318 Stopped leaking the strings returned from CSPI.
6320 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6322 Merged Michael's branch (see his ChangeLog entries below).
6324 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6325 bridge is alive, release on exit.
6327 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6328 Fix type check macro.
6331 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6334 Added is_gnome_app static, and method cspi_is_gnome_app(),
6335 so we can call the appropriate shutdown routine at exit in SPI_exit.
6337 * cspi/spi_main.c (cspi_object_ref):
6338 Duplicate the corba object passed in, since we're keeping it around.
6340 * cspi/SPI_exit.c, cspi_cleanup:
6341 Moved the releasing of the live refs to its own function, so we
6342 can put it in g_atexit (). Call the appropriate shutdown API
6343 depending on whethe calling client is a gnome app or not
6344 (bonobo_main_quit or CORBA_ORB_shutdown).
6346 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6347 Unref the listener when this method is called, after
6348 deregistration. Updated the API docs to note this behavior.
6350 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6351 Bugfixes: Ref the bonobo object when returning a parent or child
6352 reference, or an AccessibleRelation. Generally made sure
6353 BonoboObject refcount is incremented whenever we return an
6356 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6357 Fixed typo/bug in signal declaration.
6359 * libspi/accessibleeventlistener.h:
6362 * libspi/application.c (spi_application_new):
6363 Fixed leak in initialization.
6366 Remembered to increment bonobo-object refcount when returning
6367 children (applications) from desktop object.
6368 Added (empty) finalize method.
6370 * libspi/deviceeventcontroller.c:
6371 Hold a ref to listeners inside DEControllerKeyListeners.
6372 Added dec_key_listener_free() method. Use prepend instead of
6373 append in key_listener list. Fixed some refcount madness and
6374 leaks in the listener registration/deregistration - deregistration
6375 now calls dec_key_listener_free() on listeners, and on the
6376 temporarily constructed dec_key_listener() used to perform the search/match.
6378 * libspi/hypertext.c (spi_hypertest_finalize):
6379 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6380 class. Also fixed spi_hypertext_interface_new() and
6381 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6383 * libspi/hypertext.h:
6384 Removed pointless and duplicate AtkObject pointer from
6387 * libspi/keystrokelistener.c:
6388 Fixed incorrect type of keystroke_listener_parent_class,
6389 renamed keystroke_listener_object_finalize to
6390 spi_keystroke_listener_object_finalize.
6391 Fixed typo in signal declaration
6392 (spi_keystroke_listener_class_init).
6394 * libspi/registry.c:
6395 Added funcsions spi_listener_struct_new() and
6396 spi_listener_struct_free() to help with memory management issues.
6397 We also now use these methods instead of gnew + poking stuff into
6398 the struct, and to decrement listener counts/free the listeners
6399 when deregistering them.
6400 Fix more refcount bugs in getDesktop() and
6401 getDeviceEventController().
6404 De-ref the desktop after enumerating the applications. Explicitly
6405 decrement the refcounts on the created listeners on exit (using
6406 _unref for keystroke listeners, and via the
6407 deregisterGlobalEventListenerAll command for other event
6410 2001-11-27 Michael Meeks <michael@ximian.com>
6412 * cspi/spi-listener.h: fixup enum.
6414 2001-11-27 Michael Meeks <michael@ximian.com>
6416 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6417 (cspi_keystroke_listener_new): Use the cspi variants.
6419 2001-11-26 Michael Meeks <michael@ximian.com>
6421 * test/keysynth-demo.c: fix 2 compile warnings, missing
6424 * test/simple-at.c (report_focussed_accessible),
6425 (report_focus_event, report_button_press),
6426 (check_property_change, is_command_key),
6427 (report_ordinary_key_event, report_command_key_event): upd.
6429 * util/mag_client.h: include pre-requisites.
6431 * libspi/accessibleeventlistener.c
6432 (spi_event_listener_object_finalize): free any lingering
6435 * libspi/keystrokelistener.c
6436 (keystroke_listener_object_finalize): ditto.
6438 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6439 callbacks, with cspi types.
6441 * cspi/spi_event.c (createAccessibleEventListener): chain to
6442 (AccessibleEventListener_addCallback): here.
6443 (createAccessibleKeystrokeListener): chain to
6444 (AccessibleKeystrokeListener_addCallback): here.
6446 * libspi/keystrokelistener.c
6447 (spi_keystroke_listener_class_init): add signal.
6448 (impl_key_event): emit the event.
6449 (boolean_handled_accumulator): impl.
6450 (marshal_BOOLEAN__POINTER): add, gack.
6452 * libspi/accessibleeventlistener.c
6453 (spi_event_listener_class_init): add signal.
6454 (impl_accessible_event_notify_event): emit the signal &
6455 make the loop efficient.
6456 (spi_event_listener_add_callback): prepend the callback.
6458 * libspi/accessibleeventlistener.h: add an 'event' signal,
6459 decl type on callback.
6461 * libspi/keystrokelistener.h: ditto.
6463 * cspi/spi-listener.h: make methods typesafe and
6464 make them use the new event typedefs.
6466 * test/simple-at.c (report_focussed_accessible):
6467 include mag_client.h
6468 Use *(void *)text_interface not the other thing.
6470 * configure.in: add gtk to registryd bits - since we use
6473 * util/magnifier.c: include libbonobo.h
6475 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6477 * test/keysynth-demo.c:
6478 Turned this into a simple scanning keyboard, to demonstrate the
6479 use of g_timeout_add () as a means of creating timers for
6480 scanning, and the use of GtkStyle for visually indicating when
6481 virtual keyboard elements are selected.
6483 keysynth-demo now listens to any keyboard keys with zero-valued
6484 keycodes (i.e. 'unused' keys) and interprets them as
6487 Reworked the shiftlatch code so that shift-down state isn't held
6488 for long periods (it's only synthesized immediately prior to
6489 the keysynth event it's modifying). Note that shiftlatch in this
6490 demo is a convenience, not intended to take the place of AccessX
6491 which is the better choice for getting 'sticky' modifier keys.
6493 * libspi/deviceeventcontroller.c:
6494 * at-bridge/bridge.c:
6495 * cspi/spi_registry.c:
6496 Removed some debug print stuff, and put other verbosity in #ifdef
6501 Implemented some more of the magnifier IDL for the simple
6502 magnifier: namely, getZoomRegionParams.
6503 Added mag_x and mag_y members to MagnifierData struct, aid of this
6505 Added GtkWindow::realize signal handler to magnifier, to keep it
6506 from receiving keyboard focus from the WM.
6508 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6510 * cspi/spi-private.h: my guess at what michael forgot
6511 before he ran off to NZ :-)
6513 2001-11-23 Michael Meeks <michael@ximian.com>
6515 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6516 comment out non existant method invoke so we link.
6518 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6519 use bonobo_exception_get_text for more friendly warnings.
6521 * cspi/spi.c (Obj_Add): move into spi_main & rename
6522 spi_object_add; kill spi.c
6524 * cspi/spi_registry.c
6525 (deregisterGlobalEventListener),
6526 (deregisterGlobalEventListenerAll),
6527 (registerGlobalEventListener): fix exception leaks.
6529 * cspi/spi_main.c (spi_exception): impl. helper, so we
6530 don't leak exceptions.
6532 * cspi/spi_selection.c
6533 (AccessibleSelection_deselectSelectedChild): return the
6536 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6537 (spi_registry): ditto.
6538 (SPI_init): guard against double inits.
6540 * cspi/*.c: use spi_ev (), and spi_registry () where
6541 appropriate - a temporary hack until we have something
6542 better. Use spi_object_add
6544 2001-11-22 Michael Meeks <michael@ximian.com>
6546 * cspi/Makefile.am: re organise, install the headers.
6548 * cspi/*.h: add G_BEGIN/END_DECLS
6550 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6553 Added non-preemptive keylistener for key events with no modifiers
6554 and shift-only modifier.
6556 * libspi/keystrokelistener.c:
6557 Removed some verbose diagnostics printout.
6559 * cspi/spi_registry.c:
6560 Fixed a bug that caused all key listeners to be registered as
6563 * libspi/deviceeventcontroller.c:
6564 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6565 for non-preemptive key masks.
6568 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6570 * docs/reference/idl/at-spi-idl-docs.sgml:
6571 * docs/reference/idl/at-spi-idl-sections.txt:
6572 * docs/reference/idl/at-spi-idl-overrides.txt:
6573 Added missing files.
6575 * docs/reference/Makefile.am:
6576 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6577 to scan the IDL files :-(
6582 Added .cvsignore files.
6584 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6586 * libspi/deviceeventcontroller.c:
6587 * libspi/keystrokelistener.c:
6589 * cspi/spi_registry.c:
6590 Added filters for KeySets, KeyEventSeq, and event types to key
6591 event dispatching, so listeners should only receive those events
6592 that they requested :-)
6594 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6599 * docs/reference:Makefile.am:
6600 * docs/reference/cspi:
6601 * docs/reference/cspi:Makefile.am:
6602 * docs/reference/cspi:tmpl:
6603 * docs/reference/cspi:tmpl:*.sgml:
6604 * docs/reference/idl:
6605 * docs/reference/idl:Makefile.am:
6606 * docs/reference/idl:at-spi-idl-sections.txt:
6607 * docs/reference/idl:at-spi-idl-docs.sgml:
6608 * docs/reference/idl:tmpl:
6609 * docs/reference/idl:tmpl:*.sgml:
6611 Restructured docs directory to allow separate 'reference' docs
6612 section, and forked idl and cspi docs. Added the sgml template
6613 files to CVS. Added the first sections/structural sgml for the
6616 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6618 * configure.in, libspi/Makefile.am: find libXtst.
6620 2001-11-21 Michael Meeks <michael@ximian.com>
6622 * test/accessx-gui.c: s/spi_value/value/ - doh.
6624 * libspi/base.[ch]: add.
6626 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6628 * idl/Accessible.idl:
6629 * idl/Application.idl:
6632 Started gtk-doc cleanup on IDL.
6634 * libspi/deviceeventcontroller.c:
6635 Added and connected non-preemptive key notification from the
6636 toolkits (in addition to the pre-emptive support from XServer
6637 which we had before, but which causes 'focus flashing'). Filters
6638 are presently limited to key modifiers and global/non-global,
6639 KeySets are presently ignored, as are KeyEvent masks.
6641 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6642 structs into the persistant structure rather than just storing
6643 pointers to things that might not persist across servant
6646 The XGrabKey call now does async keygrabs, because synchronous
6647 ones were deadlocking with GDK_event code in a very nasty way.
6649 Added boolean to internal method notify_keylisteners, to indicate
6650 whether the event came from the 'toolkit source' or the 'global
6651 (XServer) source' - this is used in the notification process to
6652 determine which listeners to send the event to.
6654 deviceeventcontroller.c is now warning-free.
6656 * libspi/registry.c:
6657 Fixed regression in application de-registration.
6658 Also fixed some really brain-dead weirdness having to do with
6659 event dispatching - event structs are now duplicated before being
6660 re-marshalled in the dispatch to listeners. This also fixes a
6661 Solaris build problem.
6664 2001-11-20 Michael Meeks <michael@ximian.com>
6667 (impl_accessibility_registry_deregister_global_event_listener):
6670 * libspi/deviceeventcontroller.c
6671 (spi_device_event_controller_check_key_event): return
6672 FALSE on no virtual method.
6674 * libspi/*..h: make includes work on a correctly pathed install.
6676 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6678 * libspi/application.h: kill unused ( and whacked out )
6679 gboolean *spi_application_set_id (AtkObject *app, long id);
6681 2001-11-20 Michael Meeks <michael@ximian.com>
6683 * libspi/*.[ch]: further convert to bonobo's type func
6684 macros, remove redundnant casts etc.
6686 * libspi/text.c s/accessibility_text/spi_text/g,
6687 re-order to de-cruft.
6689 * libspi/hypertext.c: re-order to kill a huge slew
6690 of redundant forward decls.
6692 * libspi/relation.c: ditto.
6694 * libspi/image.c: ditto.
6696 * */.cvsignore: update
6698 2001-11-20 Michael Meeks <michael@ximian.com>
6700 * libspi/deviceeventcontroller.c
6701 (_controller_register_with_devices): use g_getenv,
6702 kill stdlib.h include.
6704 * libspi/keystrokelistener.c
6705 (spi_keystroke_listener_get_type): kill
6706 (spi_keystroke_listener_class_init),
6707 (spi_keystroke_listener_init): rename to this.
6709 * libspi/text.c (impl_getAttributes): fix warning / bug.
6711 * libspi/*.[ch]: more headers, includes and over commenting.
6713 2001-11-20 Michael Meeks <michael@ximian.com>
6715 * libspi/*.[ch]: fixup headers, includes and over commenting.
6717 * libspi/image.c (impl__get_imageDescription): const
6718 correctness warning fix. remove redundant casting.
6720 * libspi/table.c (impl_getRowDescription): ditto.
6721 (impl_getColumnDescription): ditto.
6723 * libspi/libspi.h: add.
6725 2001-11-19 Michael Meeks <michael@ximian.com>
6727 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6729 * libspi/component.c (accessibility_component_get_type):
6730 rename to (spi_component_get_type): and macroify.
6731 (accessibility_component_init): rename to
6732 (spi_component_init): this
6733 (accessibility_component_class_init): rename to
6734 (spi_component_class_init): this
6736 * libspi/action.c (spi_action_get_type): kill, use the macro.
6738 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6741 * libspi/application.c (spi_application_object_event_listener),
6742 (impl_accessibility_application_register_object_event_listener):
6743 warning fixes / const understanding updates.
6745 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6748 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6750 * libspi/spi_accessible.c: Added docs and C bindings for
6751 AccessibleStateSet. (No implementations yet). Documentation
6752 coverage for C bindings now 100%. Made docs for event listeners
6757 boolean notifyListenersSync (in DeviceEventListener listener,
6758 in DeviceEvent event);
6760 oneway void notifyListenersAsync (in DeviceEventListener listener,
6761 in DeviceEvent event);
6763 Added DeviceEventListener and DeviceEvent structs (may deprecate
6764 KeyStroke and KeystrokeListener in favor of this generic
6765 event/listener framework for devices).
6767 * libspi/deviceeventcontroller.c:
6769 Changed some key listener code to take masks, etc., and paved the
6770 way for integration of toolkit/non-preemptive key events. Changed
6771 signatures of some internal methods.
6773 * at-bridge/bridge.c:
6774 Fixed regression connecting to interface signals, apparently
6775 caused by GTK+ changes.
6777 Added an internal bridge_state_listener to deal with
6778 property-change:accessible-state signals.
6780 Changed the key_listeners GList to store structs (including masks,
6781 etc.) instead of just CORBA_Objects (required for full
6782 implementation of key listener API).
6784 Connected the bridge to all currently supported Atk signals.
6785 Events now supported:
6786 object:property-change
6787 object:property-change:accessible-name
6788 object:property-change:accessible-state
6789 object:property-change:accessible-description
6790 object:property-change:accessible-parent
6791 object:property-change:accessible-value
6792 object:property-change:accessible-role
6793 object:property-change:accessible-table-caption
6794 object:property-change:accessible-table-column-description
6795 object:property-change:accessible-table-column-header
6796 object:property-change:accessible-table-row-description
6797 object:property-change:accessible-table-row-header
6798 object:property-change:accessible-table-summary
6799 object:children-changed
6800 object:visible-data-changed
6801 object:selection-changed
6802 object:text-selection-changed
6804 object:text-caret-moved
6806 object:row-reordered
6808 object:column-inserted
6809 object:column-reordered
6810 object:column-deleted
6811 object:model-changed
6813 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6815 * libspi/hyperlink.c,h:
6816 Fixed some broken stuff in hyperlink.
6818 * libspi/relation.h:
6819 * libspi/relation.c:
6820 * cspi/spi_accessible.c:
6821 Initial implementations of AccessibleRelation methods, and docs.
6823 * libspi/accessible.c:
6824 Fixed a bug that caused SEGV if an accessible
6825 object's description is NULL, and a client
6826 requests it. An empty string is now returned.
6828 * cspi/spi_editabletext.c:
6829 * cspi/spi_hypertext.c:
6831 * cspi/spi_hyperlink.c:
6835 Doc coverage now 95%.
6837 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6839 One last namespacing revision:
6840 * libspi/accessibleeventlistener.[ch]:
6841 Renamed SpiAccessibleEventListener to SpiEventListener,
6842 (no need for two namespaces ;-)
6844 And lots of documentation fixes:
6846 * docs/at-spi-docs.sgml:
6847 Fixed 'underscore vs. hyphen' bug that was preventing
6848 the gtk-doc API docs from being automatically generated.
6851 * cspi/spi-listener.h
6853 * cspi/spi_accessible.c
6855 * cspi/spi_application.c
6856 * cspi/spi_component.c
6857 * cspi/spi_editabletext.c
6859 * cspi/spi_hypertext.c
6861 * cspi/spi_registry.c
6862 * cspi/spi_selection.c
6866 * docs/at-spi-docs.sgml
6867 * docs/at-spi-sections.txt
6869 Added and fixed up gtk-doc documentation in cspi.
6871 Interfaces now (fully) documented (subject to revision and enhancement):
6873 Event Listener Support
6875 AccessibleApplication
6879 AccessibleEditableText
6886 AccessibleRelationSet
6891 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6893 * at-bridge/bridge.c:
6894 Initial work for toolkit-level key snooper connection by bridge.
6899 New typedefs and fixes to support new namespacing, and cleaner
6900 separation of cspi bindings from libspi bonobo implementation.
6901 Removed inconsistent and extraneous Spi* namespace prefix that
6902 had crept into cspi headers.
6903 Lots of comment fixes that sed had missed.
6905 * cspi/spi-roletypes.h:
6906 * cspi/spi-statetypes.h:
6907 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6908 to AccessibleRoleType.
6910 * libspi/accessibleeventlistener.h:
6911 Fixed minor namespacing weirdness.
6913 * libspi/deviceeventcontroller.c:
6914 Reordered some internal API for device listeners.
6915 Changed the key registry final boolean to 'is_system_global'
6916 rather than 'is_synchronous', which is more descriptive of its
6918 Added spi_device_event_controller_new().
6919 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6921 * libspi/keystrokelistener.[ch]:
6922 Namespaced KeystrokeListener to SpiKeystrokeListener.
6923 Changed uses of keymasks to use SPI_ prefix, and did other
6926 * libspi/keymasks.h:
6927 Namespaced keymask constants with SPI_ prefix.
6929 * libspi/registry.c:
6930 Some warning fixes, and knock-on fixes from namespace changes.
6933 Added rules for accessx-gui test program.
6935 * test/accessx-gui.c:
6936 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6937 utility. It doesn't actually use at-spi, but it's still cool and
6940 * test/keysynth-demo.c:
6944 Fixes so that these test clients work properly with the namespaced
6945 libraries. (Incompletely tested for technical reasons, fixes may follow)
6948 2001-11-13 Michael Meeks <michael@ximian.com>
6950 * libspi/application.c
6951 (impl_accessibility_application_get_version),
6952 (impl_accessibility_application_get_toolkit_name):
6954 (impl_accessibility_application_set_id),
6955 (impl_accessibility_application_get_id): remove
6956 redundant casting code.
6958 * libspi/action.c (impl_getDescription): fix warnings.
6960 * libspi/accessible.c
6961 (impl_accessibility_accessible_get_parent),
6962 (impl_accessibility_accessible_get_child_at_index),
6963 (impl_accessibility_accessible_get_state),
6964 (impl_accessibility_accessible_get_relation_set):
6965 warning fixes & include action.h
6967 2001-11-13 Michael Meeks <michael@ximian.com>
6969 * *.[ch] fix bits I screwed up:
6971 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6972 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6974 2001-11-13 Michael Meeks <michael@ximian.com>
6976 * *.[ch] Namespace libspi into spi_ and Spi.
6978 2001-13-11 Michael Meeks <michael@ximian.com>
6980 * Makefile.am: dist & install at-spi-1.0.pc
6982 * libspi/Makefile.am: install into at-spi-1.0
6984 * idl/Makefile.am (idldir): install into at-spi-1.0
6986 * at-spi-1.0.pc.in: add.
6988 * configure.in: build it.
6990 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6992 * test/keysynth-demo.c:
6993 Use a 'realize' signal-handler to set the WM properties for
6994 the virtual keyboard, rather than making it a "POPUP" type
6995 override-redirect window (thanks to anders carlsson for that
6998 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7001 * test/keysynth-demo.c:
7002 Added new test of key synthesis, which creates a simple
7003 (mouse-operated) onscreen keyboard. It inserts key events into
7004 the currently-focused window, thus it does not grab keyboard focus
7007 * cspi/spi_registry.c:
7008 Added C binding for AT-SPI generateKeyEvent.
7010 * libspi/deviceeventcontroller.c:
7011 Added call to XFilterEvent so that key listener works with XIM (we
7012 hope). Added event_synth_type to generateKeyEvent, so that we can
7013 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7014 synthesize a press/release pair for KeySyms.
7016 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7018 * libspi/Makefile.am:
7019 * registryd/Makefile.am:
7020 (temporary) hack to include libXtst in libspi and registryd.
7021 (Needed for keystroke synthesis, see below).
7024 Improved API for registerKeystrokeListener, in accordance with
7025 discussions with Gnopernicus team and X server research.
7027 * libspi/registry.c:
7028 * libspi/deviceeventcontroller.c:
7029 * libspi/accessible.c:
7030 * libspi/keystrokelistener.c:
7031 Changes and fixes to support keylisteners for potentially
7032 consumed key events (that is, 'passive grabs').
7033 Added implementation for generateKeyEvent() [untested].
7036 Changes to registerKeystrokeListener() API, as above.
7037 Added deregisterGlobalEventListenerAll(), and
7038 deregisterKeystrokeListener(), which are needed for clean exit of
7040 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7041 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7043 * cspi/spi_registry.c:
7044 Added implementations of function prototypes mentioned above.
7046 * registryd/registryd.c:
7047 Added the key listener event source as a g_timeout(), to allow
7048 receipt of key events that are not caught by GDK (since GDK
7049 doesn't support passive keygrabs, this was necessary).
7052 Changed to attach a keylistener to 'Alt' keys, and
7053 respond to the following keycommands: Alt-M (toggle magnifier);
7054 Alt-F (toggle speech); Alt-Q (quit).
7055 Added an exit routine to deregister the listeners, and a key
7056 listener that prints some key info to the console when a key
7057 matches the listener mask (and is thus received by the listener).
7059 * util/idl/Magnifier.idl:
7060 Changes to magnifier API to support multiple zoom regions,
7061 non-uniform scaling in x and y, markDirty, and a host of other
7062 features that would be useful to magnification.
7065 * util/mag_client.c:
7066 * util/mag_client.h:
7067 * util/mag_control.c:
7069 Source code changes to support the above IDL changes.
7072 As above, and also changes to use a (slower) generic conversion
7073 path for colormap conversions, since the fast RGB conversions have been
7074 reported to fail for 16-bit displays.
7076 2001-10-26 Michael Meeks <michael@ximian.com>
7078 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7080 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7082 * at-bridge/Makefile.am: fix LDFLAGS.
7084 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7086 * at-bridge/bridge.c:
7087 Re-worked listeners for toolkit events, now we have signal
7088 and property listeners. Added a private method
7089 register_atk_event_listeners(), which registers with the
7090 various atk and gtk signals we need to monitor in order to emit
7092 Added emission hook for AtkObject:property-change events, to
7093 support the 'property listeners'.
7094 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7097 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7098 which emit warnings and exit, respectively, if CORBA errors occur
7099 during remote calls, and we now use these methods to check most of
7100 our CORBA calls in the C bindings.
7102 * cspi/spi_accessible.c:
7103 Changed AccessibleSelection_refSelectedChild() to
7104 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7105 now increment refcounts.
7107 * cspi/spi_component.c:
7108 Fixed some long pointer casts (dangerous!) to pass pointers to
7109 CORBA_longs of the proper type to the CORBA stubs, and copy the
7110 data into the longs that were passed into the C bindings code.
7112 * at-bridge/bridge.c:
7114 * libspi/accessible.c:
7115 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7116 hyperlinks, AtkHyperlink is an object type.
7118 * libspi/application.c:
7119 Added various conversions to and from "generic" event types and
7120 atk-specific types; this is really part of the 'bridge'
7121 implementation but is valid for all AtkObject-based accessibility
7124 * libspi/editabletext.c:
7125 Fixed nasty bug wherein editable text's finalize method was
7126 unref'ing tha AtkObject reference that the text parent class was
7127 about to unref _again_. There was also a nasty inheritance bug
7128 that meant that the AccessibleEditableText class was corrupt.
7130 * libspi/selection.c:
7131 Provided implementations for some selection API that was broken.
7133 * idl/Application.idl:
7134 Added registerObjectEventListener () method.
7137 Fixed a number of return values that were Bonobo_Unknowns from
7138 bonobo_object_corba_objref(), which I
7139 forgot to dup before returning. Changed instances of
7140 bonobo_object_corba_objref (bonobo_object(o)) to
7141 BONOBO_OBJREF(o), for concision and clarity.
7143 2001-10-13 Louise Miller <louise.miller@sun.com>
7145 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7146 idl/Event.idl, idl/Registry.idl
7147 Changed these files to include Bonobo_Unknown.idl instead
7150 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7152 * libspi/component.c libspi/component.h:
7153 Fixed typo. Added assertions for object checks in
7154 AccessibleComponent code.
7156 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7158 * idl/Accessible.idl:
7159 Added 'isEqual (Accessible *object)'
7160 method for Accessible. (Not Yet Implemented).
7163 Changed signature of registerKeystrokeListener() to
7164 take a KeySet and KeyEventSeq so that specific keys and event
7165 types could be requested for monitoring, and added a flag
7166 is_synchronous so that either synchronous or asynchronous
7167 notification could be requested. (However this is not all
7168 implemented yet). This also meant adding two new typedefs,
7169 KeyEventSeq and KeySet.
7172 Added two new relations, RELATION_TOOLTIP_FOR and
7173 RELATION_LEAFNODE_OF.
7176 Added new state, STATE_HAS_TOOLTIP.
7178 * libspi/text.c, editabletext.c:
7179 Added new assertions to all casts of bonobo-objects from
7180 CORBA servants, to prevent Text API calls on non-text objects.
7181 Changed suspect casts of int-pointer types, so that we
7182 always send a valid CORBA_long pointer to the CORBA APIs that use
7183 in/out long parameters. We then have to copy from the CORBA_long
7184 into the regular long or int for return to the C bindings, or
7185 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7188 * libspi/deviceeventcontroller.c:
7189 Cleaned these sources up.
7191 Changed return type for getCharacterAtOffset to
7192 CORBA_unsigned_long, to allow for 32-bit characters.
7195 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7199 Fixed 'make dist' so that distro compiles...
7200 * libspi/keymasks.h:
7202 * cspi/spi-listener.c:
7203 KeystrokeListenerCB now returns a boolean.
7205 Added KeyEventType struct, and KeyStroke.
7206 Also added createKeystrokeListener(),
7207 KeystrokeListener_addCallback(),
7208 KeystrokeListener_removeCallback(), and added a keymask to
7209 registerKeystrokeListener().
7210 * cspi/spi_accessible.c:
7211 Changed numerous return types for interfaces from
7212 AccessibleComponent to Accessible<InterfaceName>; this was
7213 probably a cut-and-paste error.
7215 Implementations of new KeystrokeListener api (from spi.h,
7218 Changes to key modifier mapping.
7219 Created ControllerEventMask struct.
7220 Made DeviceEventController derive from Bonobo::Unknown.
7222 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7223 * libspi/deviceeventcontroller.c:
7224 Added a number of new internal (private) methods.
7225 * libspi/editabletext.c:
7226 * libspi/editabletext.h:
7227 Fixed a number of bugs related to the fact that
7228 editabletext inherits from text. Fixed the EditableText struct,
7229 the init() call, and use correct casts when calling Text methods
7230 from an EditableText object. Removed (duplicate) atko from the
7231 EditableText structure, we use the one in the parent Text
7232 structure via the casts mentioned above.
7233 * libspi/keystrokelistener.[ch]:
7234 * libspi/registry.c:
7235 Changes in support of keyboard handling (above).
7237 Keyboard handling, though partly functional, is still not
7238 recommended for at-spi client use as there is considerable
7239 work yet to be done.
7242 Changed some places where pointers to various int types
7243 are cast to be pointers to CORBA_long types and vice-versa:
7244 pointer casting is not safe so we pass pointers of the correct
7245 types and then cast the result before putting it into the target
7248 * libspi/text.h: minor typos corrected.
7250 We now speak not only the name of a Text element, but the
7251 first sentence of its content, when it receives focus.
7252 I also changed the text compression to 75% from 50%.
7253 * util/Accessibility_Util.server.in:
7254 Changed the default magnifier type to be a 3x vertical
7255 splitscreen magnifier (was previously a 2x horizontal one).
7257 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7259 * libspi/keystrokelistener.h:
7260 * libspi/keystrokelistener.c:
7261 Initial functional implementations of KeystrokeListener.
7264 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7266 Fixed string handling for NULL strings in libspi.
7267 Added spi_freeString to free strings returned by C bindings.
7269 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7271 * libspi/keystrokelistener.h:
7272 * libspi/keystrokelistener.c:
7273 Began (no-op) implementations of KeystrokeListener
7275 * libspi/deviceeventcontroller.c:
7276 * libspi/deviceeventcontroller.h:
7277 Began creating implementations of DeviceEventController,
7278 to handle keystroke and mouse event listening and
7280 * libspi/accessible.c:
7281 Stubbed-in the implementations for
7282 Accessibility_Accessible_getState and
7283 Accessibility_Accessible_getRelationSet.
7284 * libspi/registry.c:
7285 Improved de-registration process and fixed some bugs,
7286 deregistration now works correctly.
7288 Added initialization of applications list (to NULL).
7290 Reduced speech compression from 0.5 to 0.7, for demo.
7291 Changed call to gdk_window_set_decorations()
7292 to gtk_window_set_decorated().
7293 * at-bridge/bridge.c:
7294 Bridge now deregisters when app exits, via
7295 registration of a cleanup function
7296 with the g_atexit() call.
7297 Required making 'app' static, renamed 'this_app'.
7298 Fixed broken use of bonobo_init, passing argv wrongly.
7300 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7304 Created a new directory for
7305 accessibility-related utilities, primarily for
7306 testing and demo purposes, but with possible
7313 Onscreen magnifier utility that
7314 is implemented as a bonobo service.
7316 * util/mag_client.c:
7317 * util/mag_client.h:
7318 Client-side support (simple C bindings)
7319 for Magnification service
7321 * util/mag_control.c:
7322 Client program example for
7323 Magnification service
7325 * util/Accessibility_Magnifier.server.in:
7326 Bonobo-activation file for the
7327 Magnification service.
7330 * util/idl/Magnifier.idl:
7331 IDL defining the bonobo Magnification
7335 Modifications to use the bonobo-activated magnifier
7336 above, in place of trying to connect to an existing
7337 magnifier that uses socket-listening IPC.
7339 If env variable MAGNIFIER is set, a magnifier service
7340 will be started if one does not exist.
7342 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7344 * at-bridge/bridge.c:
7345 applied patch from Marc to build and run
7346 against new glib and gtk+ (seemed like a change
7347 to bonobo_init signature was made ?)
7349 made festival-server support turned off by default.
7350 Added support for a simple magnifier (off by default)
7351 which will be added to a 'util' directory later.
7352 * at-bridge/Makefile.am:
7353 Changed "application.h" header from a 'source'
7354 to a 'dependency' of libat-bridge.
7356 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7365 Added interface implementation c files to list of
7366 includes so they are included in libcspi.
7369 Changed prototype of AccessibleAction_doAction to return a
7371 Changed prototype of AccessibleTable_getCaption to
7372 return an Accessible.
7373 Changed prototype of AccessibleTable_getSelectedRows
7374 and AccessibleTable_getSelectedColumns to
7375 return a long (returns the number of selected rows
7376 or columns respectively).
7377 Changed name of AccessibleText_refRunAttributes to
7378 AccessibleText_getAttributes.
7379 Changed prototype of AccessibleText_getCharacterExtents to
7380 return a void rather than a boolean.
7381 Added support for a AccessibleCoordType parameter
7382 specifying what type of coordinates are desired.
7383 Added an AccessibleCordType parameter to
7384 AccessibleText_getPointAtOffset.
7386 * cspi/spi_accessible.c:
7387 Added code to return the outstanding interfaces from
7388 Accessible_queryInterface.
7390 * cspi/spi_action.c:
7392 Corrected call to getNActions to call the c binding
7395 * cspi/spi_editabletext.c:
7397 Changed name from setRunAttributes to setAttributes.
7399 * cspi/spi_hyperlink.c:
7401 Changed call to getNAnchors to correctly call the c
7402 binding for an attribute.
7404 * cspi/spi_hypertext.c:
7406 Changed getImageDescription to correctly call the
7407 binding for an attribute.
7409 * cspi/spi_selection.c:
7410 Changed getNSelectedChildren to correctly call the c
7411 binding for the attribute.
7412 Changed refSelectedChild to getSelectedChild.
7416 Changed getCaption to return an Accessible.
7417 Fixed calls which retrieve attributes.
7418 Changed refAt to getAccessibleAt.
7419 Changed getNSelectedRows and getNSelectedColumns to
7423 Changed getCharacterExtents and getPointAtOffset to accept an
7424 AccessibleCoordType.
7426 Changed calls which retrieve attributes.
7427 Changed refRunAttributes to getAttributes.
7432 * idl/Hyperlink.idl:
7433 Changed n_anchors attribute to nAnchors to keep naming
7434 convention consistent.
7437 Made Table inherit from Bonobo::Unknown.
7438 Added nSelectedColumns and nSelectedRows attributes.
7441 Made Value inherit from Bonobo::Unknown.
7443 * libspi/hyperlink.c:
7444 Change for nAnchors attributte name change.
7446 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7454 Added interface implementation c files to list of
7455 includes so they are included in libcspi.
7458 Changed prototype of AccessibleAction_doAction to return a
7460 Changed prototype of AccessibleTable_getCaption to
7461 return an Accessible.
7462 Changed prototype of AccessibleTable_getSelectedRows
7463 and AccessibleTable_getSelectedColumns to
7464 return a long (returns the number of selected rows
7465 or columns respectively).
7466 Changed name of AccessibleText_refRunAttributes to
7467 AccessibleText_getAttributes.
7468 Changed prototype of AccessibleText_getCharacterExtents to
7469 return a void rather than a boolean.
7470 Added support for a AccessibleCoordType parameter
7471 specifying what type of coordinates are desired.
7472 Added an AccessibleCordType parameter to
7473 AccessibleText_getPointAtOffset.
7475 * cspi/spi_accessible.c:
7476 Added code to return the outstanding interfaces from
7477 Accessible_queryInterface.
7479 * cspi/spi_action.c:
7481 Corrected call to getNActions to call the c binding
7484 * cspi/spi_editabletext.c:
7486 Changed name from setRunAttributes to setAttributes.
7488 * cspi/spi_hyperlink.c:
7490 Changed call to getNAnchors to correctly call the c
7491 binding for an attribute.
7493 * cspi/spi_hypertext.c:
7495 Changed getImageDescription to correctly call the
7496 binding for an attribute.
7498 * cspi/spi_selection.c:
7499 Changed getNSelectedChildren to correctly call the c
7500 binding for the attribute.
7501 Changed refSelectedChild to getSelectedChild.
7505 Changed getCaption to return an Accessible.
7506 Fixed calls which retrieve attributes.
7507 Changed refAt to getAccessibleAt.
7508 Changed getNSelectedRows and getNSelectedColumns to
7512 Changed getCharacterExtents and getPointAtOffset to accept an
7513 AccessibleCoordType.
7515 Changed calls which retrieve attributes.
7516 Changed refRunAttributes to getAttributes.
7521 * idl/Hyperlink.idl:
7522 Changed n_anchors attribute to nAnchors to keep naming
7523 convention consistent.
7526 Made Table inherit from Bonobo::Unknown.
7527 Added nSelectedColumns and nSelectedRows attributes.
7530 Made Value inherit from Bonobo::Unknown.
7532 * libspi/hyperlink.c:
7533 Change for nAnchors attributte name change.
7536 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7538 implementations-- made server implementations own AtkObject pointers
7539 rather than their respective AtkInterrface pointers to fix
7540 refcounting. AtkHyperlink is still broken.
7542 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7543 * cspi/spi_accessible.c:
7544 Added method Accessible_Role_getName(),
7545 and requisite string array (role_names).
7546 Added conversion string_from_corba_strin() call
7547 to Accessible_getName and _getDescription.
7548 * libspi/accessible.c:
7549 Added implementation for Accessible_getRole()
7551 Added festival support, used if environment variable
7554 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7556 * at-bridge/bridge.c:
7557 Now allocate Accessibility_Event using
7558 Accessibility_Event__alloc() instead of g_new0().
7559 * libspi/accessibleeventlistener.c:
7560 Initialize AccessibleEventListener->callbacks to NULL.
7561 Fixed accessible__event_listener_init() param, changed to
7562 "AccessibleEventListener *" type.
7563 Changed a bonobo_object_release_unref() call to
7564 Accessibility_Accessible_unref().
7565 * libspi/listener.c:
7566 Changed Bonobo_Unknown_unref to (equivalent)
7567 Accessibility_Accessible_unref.
7568 * libspi/registry.c:
7569 Changed bonobo_object_release_unref to
7570 Accessibility_Accessible_unref.
7572 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7575 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7576 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7577 spi-util.c spi-util.h
7578 Implementations for C bindings to remaining accessibility
7581 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7584 changed return value of Action from void to boolean to
7585 bring in line with ATK.
7588 Changed getText funcions to return "out" start and end offsets.
7589 Changed getAttributes to take and offset and return the start
7590 and end offset of the attribute run.
7591 Changed getOffsetAtPoint and getCharacterExtents to take an
7592 enum describing whether coordinates are window or screen.
7595 libspi/action.c libspi/action.h libspi/editabletext.c
7596 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7597 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7598 libspi/image.h libspi/selection.c libspi/selection.h
7599 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7600 libspi/value.c libspi/value.h
7601 Added server implementations for outstanding ATK interfaces
7602 not yet implemented.
7604 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7607 Added (missing) getName() method.
7608 Made nActions an attribute.
7609 * idl/EditableText.idl:
7610 Changed order of params in setAttributes.
7611 * idl/Hyperlink.idl:
7612 Removed getAnchor, added getURI.
7614 Changed attributes to methods, for efficiency
7615 (so that getting extents can be done in one call)
7616 * idl/Selection.idl:
7617 Changed nSelectedChildren to attribute, and re-indented.
7618 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7620 * idl/Text.idl: reformatted to match our coding style.
7621 (temporarily?) removed getRowColumnAtOffset().
7622 Changed text selection API to support multi-select and
7623 non-contiguous selections, as in ATK.
7624 * idl/Value.idl: changed some methods to attributes.
7626 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7628 * libspi/listener.c(impl_notify_event):
7629 BonoboUnkown_unref the source instead
7630 of bonobo_object_release_unref - the ORB
7631 handles the releasing.
7633 * configure.in: require ORBit-2.3.94 for
7636 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7638 Tagged CVS repository 'EA_1_0'.
7639 * README.EARLY_ACCESS:
7640 Alphabetized acknowledgements list, and
7642 Listed some known dependencies of at-spi.
7644 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7646 * docs/at-spi-docs.sgml:
7647 * docs/at-spi-sections.txt:
7648 * docs/at-spi-overrides.txt: (Added zero-length file)
7649 Documentation improvements - gtk-doc should build
7650 docs for all implemented C bindings now.
7653 * cspi/spi.c: (New file)
7654 * cspi/spi_event.c: (New file)
7655 * cspi/spi_registry.c: (New file)
7656 * cspi/spi_accessible.c: (New file)
7657 * cspi/spi_application.c: (New file)
7658 * cspi/spi_component.c: (New file)
7659 Split spi_main.c into six parts, and included them from
7660 "spi.c". This is a bit of a hack, probably temporary,
7661 but required by gtk-doc, apparently.
7663 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7666 * docs/at-spi-docs.sgml:
7667 * docs/at-spi-sections.txt:
7669 Initial checkins/modifications for gtk-doc generation.
7672 Added (missing) interface query methods to Accessible's C binding.
7674 Added GenericInterface type definition.
7676 Added query for AccessibleComponent interface to focus event handler.
7677 Added printout of bounding box for focussed component.
7678 * libspi/component.c:
7679 Added partial implementation for AccessibleComponent to C binding.
7680 * idl/Application.idl:
7681 * libspi/registry.c:
7682 * libspi/listener.c:
7683 * libspi/application.c:
7684 * libspi/application.h:
7685 Changed "ID" attribute type from string to long.
7687 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7691 Made method naming consistent: methods taking object args
7692 start with uppercase, other methods (except those using
7693 acronyms) start with lowercase. Underscores delimit between
7694 object names and method names:
7695 SPI_init() - uppercase since it starts with an acronym.
7696 getDesktopCount () - lowercase start since no object param0.
7697 Accessible_getName() - uppercase object type name, studlyCaps method
7701 Added gtk-doc documentation for all currently implemented
7702 methods in the C bindings API.
7704 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7706 * Makefile.am : changed build order to build test last.
7709 Changed "createEventListener" to "CreateEventListener".
7710 * libspi/accessibleeventlistener.c :
7711 Bugfix for addition of callbacks.
7712 * test/Makefile.am :
7713 * test/simple-at.c :
7714 Added new test that uses the C bindings API.
7716 * libspi/listener.c :
7717 * libspi/registry.c :
7718 * libspi/accessibleeventlistener.c :
7719 * at-bridge/bridge.c :
7720 Renamed member "target" of Accessibility_Event to "source",
7721 which is more descriptive.
7724 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7728 * cspi/Makefile.am :
7729 Added makefile support for at-spi/cspi directory.
7732 * cspi/spi-listener.h : (NEW FILE)
7733 Added support for/use of spi-listener.h.
7735 C bindings now build successfully, with no warnings.
7736 * libspi/accessibleeventlistener.h : (NEW FILE)
7737 * libspi/accessibleeventlistener.c : (NEW FILE)
7738 * libspi/Makefile.am :
7739 Added new object type "AccessibleEventListener"
7740 which inherits from Listener, and allows attachment
7741 of in-process callbacks (so that a client with a listening
7742 object instance can add functionality to the local
7743 implementation, dynamically).
7745 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7747 * libspi/accessible.c:
7748 Add implementation for get_index_in_parent().
7750 Added #include of "spi-roletypes.h", and
7751 added enumerated type AccessibleCoordType.
7752 Added definition for KeystrokeListener (function type).
7755 * cspi/spi-statetypes.h :
7756 * cspi/spi-roletypes.h :
7758 Added these headers, used by spi.h.
7760 Added code (NOTE: not yet built by make).
7762 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7764 * libspi/Makefile.am: generate imodule
7765 at the same time as other idl compiler
7768 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7769 * libspi/registry.c :
7770 * libspi/application.c :
7771 * idl/Application.idl :
7772 Made registration with toolkit an application method,
7773 which is required since each app has its own toolkit static
7774 environment. Thus the bridge must register for
7775 notification of toolkit events from each application in turn.
7776 Toolkit notifications are now successfully registered for, and
7777 sent to the listening at client.
7779 Changed toolkit event string to use hyphens rather than underscores.
7780 * libspi/listener.c :
7781 listner now gives more info in debug mode - it reports the
7782 name of the event received, as well as the name of the source.
7785 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7787 * libspi/registry.c :
7788 added more implementation for toolkit events.
7789 Fixed bug such that toolkit event registrations
7790 (via atk) use the whole event name string, not
7792 Removed a useless call to an ORBit_ method.
7793 * at-bridge/bridge.c :
7794 Removed unused local sbuf[] variable.
7796 We now register for Gtk:GtkWidget:button_press_event
7797 events as well as "focus:" events.
7799 Add some more API from Registry.idl that was missing,
7800 for keystroke listening, keystroke and mouse event
7801 synthesis, and enumeration of accessible desktops.
7803 2001-08-16 Michael Meeks <michael@ximian.com>
7805 * configure.in: use AM_GLIB_GNU_GETTEXT.
7807 * Makefile.am (SUBDIRS): kill intl.
7809 2001-08-15 Michael Meeks <michael@ximian.com>
7811 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7813 * configure.in: upd.
7815 * configure.in: depend on a recent bonobo-activation that
7816 will find our server files ...
7818 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7820 * libspi/accessible.c : accessible_new() :
7821 Now we add the Component interface via bonobo_object_add_interface,
7822 if the contained AtkObject implements AtkComponent.
7823 * libspi/accessible.h : now include "component.h"
7824 * libspi/component.h :
7825 * libspi/component.c : added files - implementation of
7826 bonobo wrapper object for Accessibility/Component
7827 * libspi/listener.c :
7828 Added test code to check for Accessibility/Component:1.0
7829 interface and report whether it is implemented by the
7831 * libspi/registry.c :
7832 Now we check for not only the hash of the whole event
7833 string before relaying the event, we also check the
7834 "minor" event string (without the detail string).
7835 This allows event listeners to be registered against
7836 all events of a certain major+minor type, or just
7837 against a specific major+minor+detail type.
7838 * libspi/accessible.c :
7839 Added implementations for Accessible:get_parent(),
7840 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7841 * libspi/registry.c :
7842 * libspi/listener.c :
7843 Replaced calls to Accessibility_Accessible_ref() and
7844 Accessibility_Accessible_unref() with
7845 calls to bonobo_object_dup_ref() and
7846 bonobo_object_release_unref(), so that the CORBA object
7847 is dup-ed and released when relayed, as well as the bonobo object.
7849 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7851 * libspi/Makefile.am,
7852 registryd/Makefile.am,
7853 at-bridge/Makefile.am.
7854 test/Makefile.am, configure.in:
7855 reverse previous changes.
7857 * /idl/Image.idl: fix typo.
7859 * test/Makefile.am: put DEBUG_FLAGS
7862 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7864 * test/app.c: use argv[0] instead of
7867 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7869 * libspi/Makefile.am,
7870 registryd/Makefile.am,
7871 at-bridge/Makefile.am.
7872 test/Makefile.am, configure.in:
7873 cleanup, replace individual LIBS/CFLAGS with
7874 AT_COMMON_{LIBS|CFLAGS}.
7878 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7880 * configure.in, libspi/Makefile.am:
7881 Change IDL path checking for bonobo-activation
7884 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7886 * registryd/registry.c : separated event listeners to use
7887 3 separate lists (focus, window, toolkit). Began testing
7888 event names against hashes before relaying events.
7889 * test/at.c : now register for events of type "focus:"
7890 * test/app.c : now generate events of type "focus:"
7891 * at-bridge/bridge.c : register with ATK for focus events,
7892 and we now relay those focus events to any "focus:" listeners.
7893 This now works with the bridge as a GTK_MODULE when running test/at.
7894 * libspi/registry.c :
7895 * libspi/listener.c :
7896 now we ref event sources before propagating, and unref on receipt.
7897 * libspi/registry.c :
7898 some changes to internal structs, to support event typestring hashes.
7899 * text/app.c : changed the way the appname is generated.
7900 * cspi : added directory that will hold the C bindings library for
7901 non-CORBA/bonobo-savvy clients.
7902 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7903 * idl/Component.idl : added in parameter to indicate coord system for
7904 geometry-related calls.
7905 * idl/Hyperlink.idl : added readonly n_links attribute
7906 * idl/Image.idl : changed methods to attributes.
7908 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7910 * at-bridge/Makefile.am: link against
7911 ../libspi/libspi.la instead of -lspi.
7913 * at-spi/test/app.c: include
7914 bonobo-activation.h. Use a default appname
7915 if one is not provided.
7917 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7919 * idl/Registry.idl : temporarily changed register_Application
7920 to oneway, to work around issue with initial registration
7922 * idl/Application.idl : changed attribute "id" from readonly
7923 to read-write, since it needs to be assigned by Registry.
7924 * registryd/registryd.c : added call to set application id
7926 * registryd/registry.c : changed de-registration procedure to
7927 use CORBA_Object_hash() to find matching object ref in application
7928 lists and listener lists.
7929 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7930 began distinguishing between event types (work in progress).
7932 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7935 * libspi/application.c:
7936 Added implementations for get/set id, get_toolkitName,
7938 * registryd/registryd.c :
7942 Converted from use of OAF to bonobo-activation.
7943 * libspi/desktop.h :
7944 * libspi/desktop.c :
7946 Removed references to atksimpleobject, since base atkobject
7947 implementation now provides functionality we need.
7948 * libspi/atksimpleobject.c :
7949 * libspi/atksimpleobject.h :
7954 * at-bridge/Makefile.am
7955 * at-bridge/bridge.c
7958 Added directory "bridge" and contents, and added dependencies
7959 in Makefile.am/configure.in.
7960 Initial checkin of "at-bridge".
7961 This code is a GTK_MODULE which automatically registers
7962 GTK+ apps with the accessibility registry, using an object
7963 reference to the root ATK object.
7965 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7967 * po/Makefile.in.in: Remove. Again. If this
7968 doesn't get autogenerated - you need to update
7971 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7973 * po/Makefile.in.in: Add. Again.
7975 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7977 * libspi/accessible.c : added support for 'description' property.
7978 * libspi/accessible.c
7980 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7981 (since the two are now equivalent in libbonobo)
7989 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7990 Bonobo::Unknown as does Accessibility::Accessible.
7991 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7992 interface with Bonobo::Stream, since it was redundant with it.
7993 (The Stream returned by a StreamableContext object is expected to
7994 implement only a subset of Bonobo::Stream)
7996 2001-07-28 Anders Carlsson <andersca@gnome.org>
7998 * libspi/accessible.c (accessible_object_finalize): Change
7999 g_free to g_object_unref since the AtkObject is a GObject.
8001 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8003 * idl/Accessibility.idl: add new IDL files
8006 * idl/Action.idl: Definitions of actionable UI object
8007 * idl/Component.idl: Definitions of UI component geometry, etc.
8008 * idl/Hyperlink.idl: Defs of hyperlink behavior
8009 * idl/Image.idl: Def of accessible image
8010 * idl/Selection.idl: Definition of UI object with selectable children
8011 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8012 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8013 * idl/Text.idl: Interface defs for UI elements with complex textual content
8014 * idl/Value.idl: Definition of UI element that is a value controller or display
8016 2001-07-27 Michael Meeks <michael@ximian.com>
8018 * po/Makefile.in.in: remove autogenerated file from CVS.
8020 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8023 * idl/Registry.idl: include guard.
8025 * idl/Accessibility.idl: Add, and include all the other IDL
8028 * idl/*.idl: remove mass of pragmas etc.
8030 2001-07-26 Michael Meeks <michael@ximian.com>
8032 * registryd/Makefile.am (registryd_SOURCES): remove
8035 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8037 * libspi/.cvsignore, registryd/.cvsignore,
8038 test/.cvsignore: updated.
8040 * po/Makefile.in.in: gettext update.
8042 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8044 * initial CVS checkin
8046 2001-06-29 Michael Meeks <michael@ximian.com>
8048 * configure.in: add AM_CONFIG_HEADER to gen config.h