1 2006-08-30 Bill Haneman <bill.haneman@sun.com>
4 Changed some parameter names so as not to
5 collide with class names - allows IDL to be compiled with
6 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
8 2006-08-22 Bill Haneman <bill.haneman@sun.com>
10 * atk-bridge/bridge.c:
11 (spi_atk_bridge_signal_listener):
12 Patch from Ginn Chen, assign detail1 in children-changed
13 so that the child object can be assigned to the Any when the
14 at-spi event is emitted. Bug #350552.
16 * libspi/application.c:
17 (spi_application_finalize): Remove g_print debug output.
20 2006-08-21 Bill Haneman <bill.haneman@sun.com>
22 * configure.in: Revved to AT-SPI 1.7.11.
24 * libspi/accessible.c:
25 (spi_accessible_new): Aggregate Hyperlink interface
26 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
29 (spi_hyperlink_new): Don't aggregate Action a second time if this
30 interface is created for an AtkHyperlinkImpl object (i.e. for a
31 child Accessible, as opposed to the Hyperlink instance from
33 (get_hyperlink_from_servant): Obtain the hyperlink from
34 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
36 Patch section from Ginn Chen...
38 * cspi/spi_accessible.c:
39 (_cspi_accessible_set_from_sequence):
40 Changed g_newa to g_new0 on Ginn Chen's suggestion.
42 * libspi/accessible.c:
43 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
44 (spi_accessible_new): Add the Document interface if present.
47 (impl_getAttributes): Fixed to use AtkAttribute properly.
50 (impl_getAttributes, impl_getDefaultAttributes):
51 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
53 2006-08-17 Bill Haneman <bill.haneman@sun.com>
55 * cspi/spi-private.h, cspi/spi_accessible.c:
56 (_cspi_attribute_set_from_sequence): Renamed from
57 cspi_attribute_set_from_sequence, to suppress export.
60 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
61 inline docs, which was keeping the doc from appearing.
62 (SPIExceptionHandler): Doc this.
64 * cspi/spi_document.c:
65 Added inline gtk-docs cut-n-pasted from the doxygen
66 docs in the corresponding IDL files.
67 (AccessibleDocument_getAttributes): Fix the retval here.
69 * cspi/spi_streamablecontent.c:
70 Fixed some 'Since' tags that were accidentally doxygen-style.
73 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
74 docs from the IDL file.
76 * docs/reference/cspi/at-spi-cspi-docs.sgml:
77 Added entities for Document and StreamableContent interfaces.
79 * docs/reference/cspi/at-spi-cspi-sections.txt:
80 Added some docs that were present inline but not getting
83 2006-07-31 Bill Haneman <bill.haneman@sun.com>
86 (impl_getRangeExtents): Use the atk_text_get_range_extents
87 API instead of looping over character bounds, now that
89 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
90 (_spi_text_bounds_contain): Remove, not needed anymore.
91 (_spi_text_rect_union): Remove, not needed anymore.
93 2006-07-31 Bill Haneman <bill.haneman@sun.com>
95 * atk-bridge/bridge.c:
96 (spi_atk_emit_eventv): Fix the CORBA_free call which was
97 causing 64-bit troubles and memory leaks.
98 Special thanks to Alexander Larsson who finally seems to
99 have tracked down the problem, not just here but in
103 (spi_init_any_object): Make sure we copy the CORBA value
104 when initializing an object for passing as a CORBA_Any.
107 2006-07-21 Bill Haneman <billh@gnome.org>
109 * idl/Accessibility.idl:
110 Reverted pragma changes, this broke the build in some envs
111 including the Debian team's build and some tinderbox builds.
113 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
116 Revved to 1.7.10, and edited the Xevie check (bug #319994).
118 * idl/Accessibility.idl:
119 Reworked inclusion of Bonobo_Unknown.idl, to
120 avoid double-linking libs in the Bonobo environment.
121 Thanks to Michael Meeks for the workaround, see bug #313122.
123 * registryd/deviceeventcontroller.c:
124 (spi_controller_notify_keylisteners):
125 Set the SPI_NUMLOCK_MASK bit if the modifier
126 corresponding to the conceptual numlock state is set.
129 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
131 * idl/Accessibility_Selection.idl:
132 (deselectChild): New method.
134 * libspi/selection.c:
135 (impl_deselectChild): Implement the new IDL method.
138 (AccessibleSelection_deselectChild): Added new method.
140 * cspi/spi_selection.c:
141 (AccessibleSelection_deselectChild): New method implemented.
143 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
145 * cspi/bonobo/cspi-bonobo.c:
146 (cspi_init): Replace g_error with g_warning, prevent
147 SEGV if the registry cannot be activated. Bug #346393.
149 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
151 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
153 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
154 2006-07-12 Ariel Rios <arios@us.ibm.com>
158 * idl/Accessibility_Table.idl:
159 (getRowColumnExtentsAtIndex): New method for getting
160 selection status and extents in one API call.
163 (impl_getRowColumnExtentsAtIndex): Implementation of
165 (spi_table_class_init): Add above to epv.
169 (AccessibleTable_getRowColumnExtentsAtIndex): New
170 method, retrieves selection status and row/col extents
171 for a table cell in a single API call.
173 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
174 2006-07-12 Ariel Rios <arios@us.ibm.com>
176 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
179 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
180 New bindings for new methods defined in idl and libspi.
183 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
184 Added prototype functions.
187 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
189 (spi_text_class_init): Added previous methods.
192 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
193 * libspi/spi-private.h: Corrections.
195 2006-06-29 Bill Haneman <bill.haneman@sun.com>
197 Added Document interface (see bug #326520),
198 with work from Ariel Rios <arios@us.ibm.com>.
200 * configure.in: Bump to 1.7.8.
202 * libspi/Makefile.am: Added document.[ch] to sources
205 (SpiDocument, SpiDocumentClass):
206 New interface implementation.
207 (spi_document_get_type, spi_document_construct)
208 (spi_document_interface_new): New methods added.
209 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
210 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
211 Added macros for SpiDocument
215 (spi_document_interface_new): Get a
216 new document interface. New.
217 (get_document_from_servant): Get an AtkDocument from servant New.
218 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
219 Implementation of methods defined on idl.
220 (spi_document_class_init, spi_document_init)
221 Init methods for SpiDocument. new
223 * idl/Accessibility.idl: Added Accessibility_Document.idl.
225 * cspi/Makefile.am: Added spi_document.c to sources.
227 * cspi/spi_document.c:
228 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
229 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
230 (AccessibleDocument_getAttributes): Bindings for methods defined
233 * cspi/spi_accessible.c:
234 (Accessible_isDocument, Accessible_getDocument) New.
236 (Accessible_isDocument, Accessible_getDocument)
237 (AccessibleDocument_ref, AccessibleDocument_unref)
238 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
239 (AccessibleDocument_getAttributes): Bindings added.
241 * idl/Makefile.am: Added Accessibility_Document.idl to
244 2006-06-29 Bill Haneman <bill.haneman@sun.com>
246 * idl/Accessibility_Document.idl: New interface
247 for complex documents. First stage of fix for RFE
250 2006-06-27 Bill Haneman <bill.haneman@sun.com>
252 * libspi/streamablecontent.c:
253 (impl_content_stream_close):
254 Unref the GIOChannel on close.
256 2006-06-23 Bill Haneman <bill.haneman@sun.com>
258 * idl/Accessibility_Role.idl:
259 * libspi/accessiblerole.c:
260 * cspi/spi_accessible.c: Added ROLE_LINK,
261 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
262 Bug #345758 and bug #140635.
265 2006-06-22 Bill Haneman <bill.haneman@sun.com>
269 * idl/Accessibility_StreamableContent.idl:
270 Fix derivation of StreamableContent and ContentStream.
272 * cspi/spi_streamablecontent.c:
273 (accessible_content_stream_client_read):
274 Fix the datatype of the content stream used.
275 Interpret short reads as EOF, and stop trying to
276 read when we've fulfilled the request.
277 (AccessibleStreamableContent_getContentTypes):
278 Use g_strdup, not CORBA_string_dup, for the strings.
279 (AccessibleStreamableContent_open):
280 Correctly use the new getStream method for opening,
281 not the deprecated getContent method.
282 Use the object reference as the stream hash key.
283 Make note of the 'one stream per client per streamable'
284 limitation in the docs.
287 Add streamablecontent.h to the list of #includes.
289 * libspi/streamablecontent.c:
290 (impl_content_stream_read): Initialize the GError.
291 Allocate the incoming buffer if reading a fixed length of
292 data. Use g_memmove instead of memcpy.
293 (impl_accessibility_streamable_get_content_types):
294 Init typelist->_maximum. Only allocate the buffer if
295 there is a non-zero number of content types available.
296 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
298 * libspi/streamablecontent.h:
299 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
302 (SPI_IS_VALUE): Fix a typo in this macro too.
304 2006-06-16 Bill Haneman <bill.haneman@sun.com>
308 * idl/Accessibility_StreambleContent.idl:
309 Deprecate the Bonobo_Stream-based methods in favor of
310 a self-contained "ContentStream" interface. This should
311 allow us to remove BonoboStream dependencies entirely, since
312 there were no non-NIL implementations of the old methods anyway.
313 (ContentStream): New interface.
314 (ContentStream::SeekType): Enum.
315 (ContentStream::seek): New.
316 (ContentStream::read): New.
317 (ContentStream::close): New.
318 (getContent): Deprecate.
319 (getURI): New method, returns a URI pointing to the content, if available.
321 * libspi/streamablecontent.c:
322 (SpiContentStream): Internal object type definition used to
323 implement Accessibility::StreamableContent::ContentStream via
324 AtkStreamableContent's GIOChannel back-end.
325 (spi_content_stream_new, spi_content_stream_dispose): See above;
327 (impl_content_stream_seek, impl_content_stream_read):
328 (impl_content_stream_close): New, implementations of
330 (impl_accessibility_streamable_get_stream): Implement the
331 public method Accessibility::StreamableContent::getStream.
332 (impl_accessibility_streamable_get_uri): Implement the
333 public method Accessibility::StreamableContent::getURI.
335 * cspi/spi_streamablecontent.c:
336 (accessible_bonobo_stream_client_seek): Replaced by
337 (accessible_content_stream_client_seek).
338 (accessible_bonobo_stream_client_read): Replaced by
339 (accessible_content_stream_client_read).
340 (AccessibleStreamableContent_open):
341 (AccessibleStreamableContent_seek):
342 (AccessibleStreamableContent_read):
343 (AccessibleStreamableContent_close): Use the new 'getStream'
344 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
346 2006-06-15 Bill Haneman <bill.haneman@sun.com>
348 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
349 remove from other .idl files (except LoginHelper).
352 2006-06-14 Bill Haneman <bill.haneman@sun.com>
354 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
357 * configure.in, */Makefile.am: mingw patch, modified from
358 original patch by yselkowitz. Bug #314216.
360 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
361 for completeness. Bug #163111.
363 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
364 * libspi/util.c, registryd/registry-main.c:
365 Fix guint/char* casts.
366 Patch from chpe, bug #333883.
368 2006-06-12 Bill Haneman <bill.haneman@sun.com>
370 * configure.in: Require atk-1.12.0, to pick up
371 new API. (bug #344412).
373 * libspi-1.0-uninstalled.pc.in:
375 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
376 Fix for #341488 from Samual Thibault.
378 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
379 Thanks to Brian Pepple.
381 2006-06-09 Bill Haneman <bill.haneman@sun.com>
384 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
385 New, missing implementations of attribute reading methods
388 * cspi/spi.h, spi_value.c:
389 (AccessibleValue_getMinimumIncrement): New methods wrapping
390 the (formerly unimplemented) property from Value.idl.
393 (impl_get_minimumIncrement): Implementation for retrieving
394 the minimum valuator increment, (formerly unimplemented).
397 2006-06-09 Bill Haneman <bill.haneman@sun.com>
399 * idl/Accessibility_State.idl:
400 Added STATE_VISITED (bug #338369).
402 * cspi/spi_accessible.c:
403 (spi_state_to_corba) Fixed marshalling of new statetypes.
406 (spi_init_state_tables, impl_getStates):
407 Fixed conversion of new statetypes to/from ATK.
409 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
411 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
412 definitions/conversions for new roles from ATK.
414 * idl/Accessibility_Relation.idl:
416 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
417 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
418 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
420 * libspi/accessible.c: Fixed marshalling of new role types from
423 2006-04-17 Matthias Clasen <mclasen@redhat.com>
425 * revert my previous change
427 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
429 * configure.in: Remove obssolete no_NO locale
430 * po/no.po: And the translation.
432 2006-04-05 Matthias Clasen <mclasen@redhat.com>
434 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
435 memory-management error that caused crashes on x86_64.
438 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
440 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
442 2006-03-27 Bill Haneman <bill.haneman@sun.com>
444 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
445 to strip "cspi_*" from the symbol table.
447 * cspi/spi_streamablecontent.c:
448 (get_streams): Make this method static.
451 (_cspi_exception_throw): rename to cspi_exception_throw,
452 so we can strip it with the rest...
455 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
457 2006-03-27 Bill Haneman <bill.haneman@sun.com>
459 Add doxygen-generated IDL docs to tarball, and enable
460 doxygen during build/install when available. Bug #301345.
462 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
464 * docs/reference/Makefile.am: Add idl to SUBDIRS.
466 * docs/reference/idl/Makefile.am: Optionally use
467 doxygen to create docs.
469 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
471 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
473 2006-03-20 Bill Haneman <bill.haneman@sun.com>
476 (impl_get_selected_rows): Don't free the selection if it's
477 empty or has not been assigned; init it to NULL so you can tell.
478 Also, allow for zero selected rows.
479 (impl_getSelectedColumns): Ditto. Bug #319088.
481 2006-03-11 Vincent Untz <vuntz@gnome.org>
483 Leak fix for bug #334217.
485 * libspi/application.c: spi_application_toolkit_event_listener():
486 don't duplicate the string we pass as an argument to
487 spi_init_any_nil() since spi_init_any_nil() already does it
488 * registryd/deviceeventcontroller.c:
489 (spi_dec_button_update_and_emit): ditto
490 (spi_dec_mouse_check): ditto
491 (spi_dec_emit_modifier_event): ditto
492 (spi_device_event_controller_forward_mouse): ditto
493 * registryd/registry.c:
494 (desktop_add_application): ditto
495 (desktop_remove_application): ditto
497 2006-02-20 Bill Haneman <billh@gnome.org>
499 * configure.in: Rev to 1.7.6.
501 Leak fixes for bug #331924.
503 * atk-bridge/bridge.c:
504 (spi_atk_bridge_init_base): Don't dup the string, it's already
505 been dup-ed. Fixes a leak.
506 (spi_atk_emit_eventv): Move the CORBA_free call here,
507 instead of spi_atk_state_event_listener; fixes another leak.
508 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
509 notifying the registry; fixes another leak.
511 * registryd/registry.c:
512 (registry_flush_event_queue): Free the CORBA_any when
513 flushing the event, not just the string. Fixes another leak.
514 (registry_queue_event): Free the CORBA_any when dropping
515 events on the floor; fixes another leak.
518 (spi_init_any_object, spi_init_any_nil):
519 Always set _release to TRUE. Fixes another leak.
521 2006-02-20 Bill Haneman <billh@gnome.org>
523 * configure.in: Rev to 1.7.5.
524 Reinstate localization of this module. Thanks for Rodney
525 Dawes for fixing my patch.
527 * registryd/Makefile.am: Remove Accessibility_Registry.server
528 from dist, since it needs to be re-created at configure time.
531 2006-01-31 Bill Haneman <billh@gnome.org>
533 * configure.in: Rev to 1.7.4 (to include build fix below).
535 * idl/Makefile.am: Include Selector.idl in dist.
539 (cspi_internal_event_get_object): Handle case where
540 "object" isn't present, i.e. CORBA_TC_Object doesn't match
541 the EventDetails data.
542 (cspi_internal_event_get_text): Handle NULL string.
543 (cspi_internal_event_get_rect): Handle missing/empty rect
544 data, Accessibility_TC_RectBounds doesn't match any_data.
546 2006-01-30 Bill Haneman <billh@gnome.org>
550 * atk-bridge/bridge.c:
551 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
552 interface and use that when instantiating a new source
553 accessible. Better fix for bug #321814.
555 2006-01-27 Bill Haneman <billh@gnome.org>
557 * idl/Accessibility_Selector.idl: Added to the cvs repository.
559 * configure.in: Revved to 1.7.3.
561 2006-01-17 Bill Haneman <billh@gnome.org>
563 * configure.in: Revved to 1.7.2, re-dist to include docs.
565 2006-01-09 Bill Haneman <billh@gnome.org>
567 * configure.in: Removed po/Makefile.in inclusion, we do not need
570 * idl/Accessibility.idl: Improved documentation here, and for all
571 IDL in the 'GNOME::Accessibility' namespace.
573 * idl/Accessibility_Accessible.idl:
574 (LOCALE_TYPE): Added enum.
575 (AttributeSet): New, for returning multiple name/value attribute pairs.
576 (RoleSet): New, sequence of Roles, to be used in upcoming
578 (getAttributes): New API, allows retrieval of name/value pair
579 annotations for all kinds of Accessible objects. C.f.
580 Text:getAttributes, which is only for typographic/textual/semantic tags in
582 (getApplication): New, retrieves the host/containing Application
583 instance for an object (without having to walk up the whole tree).
585 * idl/Accessibility_Component.idl:
586 (getAlpha): New method, returns the alpha blending (aka 'opacity')
587 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
590 * idl/Accessibility_Event.idl:
591 (EventDetails): New struct definition, for encapsulating
592 commonly-queried information about emitted events. The use of
593 this structure in emitted events (in the 'any' member of
594 Accessibility_Event) should greatly reduce the number of
595 client-server roundtrips necessary.
597 * idl/Accessibility_Image.idl:
598 (imageLocale): New, a readonly attribute indicating the POSIX
599 LC_MESSAGES locale of the image and associated Alt/descriptive
602 * idl/Accessibility_Relation.idl:
603 (RELATION_PARENT_WINDOW_OF): Include, as complement to
606 * idl/Accessibility_Role.idl:
607 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
608 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
609 complex document and form support.
611 * idl/Accessibility_State.idl:
612 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
613 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
614 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
615 for support of complex documents and forms.
617 * idl/Accessibility_StreamableContent.idl:
618 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
619 allow old bonobo-stream interfaces to be deprecated in the next
622 * idl/Accessibility_Text.idl:
623 (getAttributeValue): New method, allows query-by-name of single
626 * libspi/accessible.c:
627 Added support for new roles. Implemented new methods
628 (impl_accessibility_accessible_get_application): New
629 (impl_accessibility_accessible_get_attributes): New
631 * libspi/component.c:
632 (impl_accessibility_component_get_alpha): New.
635 (impl_accessibility_image_get_locale): New.
637 * libspi/relation.c: Added support for new relation type.
639 * libspi/stateset.c: Added support for new state types.
642 (impl_getAttributeValue): New.
645 New prototypes for private methods
647 spi_init_any_object, spi_init_any_string,
650 * libspi/spi_event.c:
651 Use EventDetails in the event emission methods.
653 * cspi/spi-private.h:
654 (cspi_role_from_spi_role): Expose this adapter method, since
655 we need it in the bridge (see below).
658 (AccessibleEvent_getSourceName):
659 (AccessibleEvent_getSourceRole):
660 (AccessibleEvent_getSourceApplication):
661 (AccessibleEvent_getSourceDetails):
662 New methods for interrogating/demarshalling
663 event details (i.e. source's accessible name, role,
666 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
667 Make use of the new EventDetails struct in events, if present.
668 (AccessibleEvent_getSourceName)
669 (AccessibleEvent_getSourceRole)
670 (AccessibleEvent_getSourceApplication)
671 (AccessibleEvent_getSourceDetails): Implement the newly exposed
673 (Accessible_getAttributes): New, wraps
674 Accessibility_Accessible_getAttributes.
675 (Accessible_getHostApplication): New, wraps
676 Accessibility_Accessible_getApplication.
679 (AccessibleImage_getImageLocale): New wrapper for
680 Accessibility_Image_get_imageLocale.
682 * cspi/spi_component.c:
683 (AccessibleComponent_getAlpha): New wrapper for
684 Accessibility_Component_getAlpha.
686 * atk-bridge/bridge.c:
687 Use new prototyped for init_any methods.
688 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
689 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
690 (spi_atk_bridge_init_base): Wrappers
691 for spi_init_any_* methods, due to refactor; include extended
692 information in the Accessibility_EventDetails struct, for instance
693 accessible-name, Role, and containing Application.
695 * registryd/registry.c:
696 Use new event emission (with EventDetails).
698 * registryd/deviceeventcontroller.c:
699 Use new event emission (with EventDetails).
701 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
703 * configure.in: Generate po/Makefile.in
704 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
705 * cspi/spi_streamablecontent.c:
706 (accessible_bonobo_stream_client_seek),
707 (AccessibleStreamableContent_seek): Remove unused vars.
708 * libspi/application.c: Missing header.
709 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
710 * login-helper/login-helper.c: (login_helper_finalize),
711 (login_helper_init): Remove unused stuff
712 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
713 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
714 and surround some with #ifdef GRAB_BUTTON.
715 * test/event-listener-test.c: (main), (report_event),
716 (report_caret_event), (report_detail_event),
717 (report_detail1_event), (report_bounds_event), (report_text_event),
718 (report_text_selection_event),
719 (report_active_descendant_changed_event),
720 (report_children_changed_event), (report_name_changed_event),
721 (report_description_changed_event), (report_parent_changed_event),
722 (report_window_event), (report_table_summary_event),
723 (report_table_header_event), (report_table_caption_event),
724 (report_table_row_description_event),
725 (report_table_column_description_event), (timing_test_event):
726 Remove a bunch of unused variables and fix a slew of format specifiers
727 * test/key-listener-test.c: (report_all_key_event): Format specifier
728 * test/keypad-test.c: (print_key_event): Same
729 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
731 * test/screen-review-test.c: (main), (print_chunk_debug),
732 (review_buffer_get_text_chunk), (debug_chunk_list),
733 (string_guess_clip), (text_chunk_get_clipped_string),
734 (text_chunk_list_to_string), (get_screen_review_line_at):
735 Remove unused variables and fix format specifiers.
736 * test/simple-at.c: (report_text_event): Format specifier fix.
737 * test/stress-test.c: (main): Remove unused var.
739 2005-12-29 Abel Cheung <maddog@linuxhall.org>
741 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
742 (yes I know that's useless)
744 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
746 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
748 2005-11-17 Michael Meeks <michael.meeks@novell.com>
750 * atk-bridge/bridge.c (spi_atk_emit_eventv):
751 urgh-fix embarassing typo.
753 2005-11-16 Michael Meeks <michael.meeks@novell.com>
755 * atk-bridge/bridge.c (spi_atk_emit_eventv):
756 do a faster, less problematic _unref call on this local
757 object, rather than a slower (potentially cross-thread
758 complicated) CORBA call.
760 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
762 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
763 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
764 * registryd/deviceeventcontroller.c:
765 (spi_controller_notify_mouselisteners),
766 (impl_generate_keyboard_event):
767 * test/screen-review-test.c: (chunk_bounds_within):
768 * test/test-simple.c: (test_desktop): Remove some unused code
769 and fix compiler warnings. Closes bug #320049.
771 2005-10-27 Bill Haneman <bill.haneman@sun.com>
773 * registryd/deviceeventcontroller.c:
774 (spi_controller_notify_keylisteners): Check
775 to make sure the event listener has requested 'preemptive'
776 status before pre-empting an event.
778 2005-08-29 Bill Haneman <bill.haneman@sun.com>
780 * configure.in, README, NEWS: Release 1.6.5.
782 2005-07-25 Matthias Clasen <mclasen@redhat.com>
784 * test/window-listener-test.c: Fix a printf
785 format error. (#169453)
787 2005-07-15 Bill Haneman <bill.haneman@sun.com>
789 * tests/test-simple.c:
790 (key_listener_cb): Ensure that the keystring is dup'ed instead of
791 relying on the old string from the key event hanging around after
792 the event handler returns. Fixes broken 'make check'.
794 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
796 * Added Marathi (mr_IN) translations.
798 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
800 * cspi/bonobo/cspi-bonobo-listener.c:
801 (cspi_event_list_remove_by_cb): Fix the build.
803 2005-05-26 Michael Meeks <michael.meeks@novell.com>
805 * cspi/bonobo/cspi-bonobo-listener.c
806 (cspi_event_list_remove_by_cb): actually filter by callback.
808 2005-05-25 Bill Haneman <bill.haneman@sun.com>
810 * registryd/registry.c (remove_listener_cb):
811 Make deregistration filter rules match the event emission rules.
813 2005-05-25 Michael Meeks <michael.meeks@novell.com>
815 * registryd/registry.c (remove_listener_cb),
816 (impl_accessibility_registry_deregister_global_event_listener),
817 (impl_accessibility_registry_deregister_global_event_listener_all):
818 pass a closure to the remove callback to filter listeners more
819 accurately on remove.
821 2005-04-05 Bill Haneman <bill.haneman@sun.com>
823 * configure.in: Revved to 1.6.4.
824 Remember to put quotes around XEVIE_LIBS assignment.
825 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
828 * tests/event-listener-test.c: Tweaked the tests - more detail
829 from caret events, and some interrogation of AccessibleText APIs.
830 Commented-out the bounds-changed events by default, since they can
833 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
835 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
836 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
837 Same here. Closes bug #167806
839 2005-04-05 Bill Haneman <bill.haneman@sun.com>
841 * atk-bridge/bridge.c:
842 (spi_atk_bridge_signal_listener):
843 Free the any._value if any._release is TRUE,
844 since the ORB won't do it for us in this case
845 [because this method is not a skel].
848 2005-03-30 Steve Murphy <murf@e-tools.com>
850 * configure.in: Added "rw" to ALL_LINGUAS.
852 2005-03-29 Bill Haneman <bill.haneman@sun.com>
854 * configure.in: Improved check for HAVE_XEVIE, to detect
855 presence on XOrg, where -lXevie is a separate library.
857 2005-03-08 Bill Haneman <bill.haneman@sun.com>
859 * configure.in, NEWS, README: Revved to 1.6.3.
861 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
863 * configure.in: Added "xh" to ALL_LINGUAS.
865 2005-02-07 Bill Haneman <bill.haneman@sun.com>
867 * atk-bridge/bridge.c:
868 (atk_bridge_init): Added missing NULL in g_strconcat(),
869 also check for symlink before logging to
870 insecure directory. Thanks to meissner@suse.de.
872 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
874 * tests/login-helper-server-test.c: Add return call to main
875 function. Patch from Chris Lahey. Fixes bug #165129.
877 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
879 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
881 2004-12-09 Bill Haneman <billh@gnome.org>
883 * registryd/registry-main.c:
884 Added #define <string.h> for strrchr. (bug 160862).
885 Thanks to Vincent Berger for catching.
887 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
889 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
890 restart registry process if the registry process is found to have died
891 and the current process is exiting.
892 (spi_atk_bridge_exit_func): Do not attempt to deregister the
893 application if the registry process has died.
894 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
895 does not return a registry object.
896 (spi_atk_tidy_windows): Give up if the registry process has died.
898 This fixes problems with hangs and crashes when logging out.
900 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
902 * registryd/desktop.c: Add checking that we are not exiting before
903 calling spi_desktop_remove_application in
904 abnormal_application_termination. Fix for bug #152147.
906 2004-12-02 Bill Haneman <billh@gnome.org>
908 * configure.in, NEWS, README: Revved to 1.6.1.
910 Patch from Padraig O'Briain <padraig.obriain@sun.com>
911 * atk-bridge/bridge.c:
912 (atk_bridge_init): Save the pid when we start, to detect forks.
913 (spi_atk_bridge_exit_func): Don't call the cleanup routines
914 if we're in a forked pid.
916 2004-10-09 Bill Haneman <billh@gnome.org>
918 * idl/Accessibility_LoginHelper.idl:
919 Improved inline documentation.
921 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
923 * configure.in: Added gl (Galician) to ALL_LINGUAS
925 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
927 * libspi/accessible.c:
928 (impl_accessibility_accessible_get_role_name),
929 (impl_accessibility_accessible_get_local_role_name):
931 * libspi/component.c:
932 (impl_accessibility_component_get_accessible_at_point):
934 * libspi/eventlistener.c: (spi_event_listener_new):
936 * libspi/stateset.c: (impl_compare): More of the same
937 * libspi/table.c: (impl_getRowDescription): Again.
938 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
939 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
940 (impl_generate_keyboard_event): Same.
941 * registryd/registry-main.c: (main): Same
942 * test/event-listener-test.c: (test_exit): Same
943 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
944 * test/keysynth-test.c: (test_key_synthesis): Same
945 * test/login-helper-server-test.c: (main): Fix warning.
946 * test/screen-review-test.c: (test_exit): Fix include.
947 * test/simple-at.c: (simple_at_exit), (_festival_init):
950 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
952 * configure.in, NEWS, README: Revved to 1.6.0.
954 2004-09-12 Bill Haneman <bill.haneman@sun.com>
956 * configure.in: Rev and re-dist, since the 1.5.4 tarball
957 was missing the HTML docs.
959 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
961 * configure.in: only cleanups:
962 - better looking PKG_CHECK_MODULES() output,
964 - declare in one common place required versions of other tools using
967 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
969 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
970 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
971 required ATK version accordingly.
973 2004-09-03 Bill Haneman <bill.haneman@sun.com>
975 * cspi/bonobo/cspi-bonobo.c:
976 (cspi_display_name): Fix C99ism.
977 * atk-bridge/bridge.c:
978 (spi_display_name): Fix C99ism.
979 Patch from Jens Granseuer, jensgr@gmx.net.
981 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
983 * configure.in: Added "or" to ALL_LINGUAS.
985 2004-08-20 Bill Haneman <bill.haneman@sun.com>
987 * configure.in, NEWS, README: Revved to 1.5.4.
989 * registryd/registry-main.c:
990 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
993 * cspi/bonobo/cspi-bonobo.c:
994 (cspi_display_name): New convenience method, gets DISPLAY with
995 screen number stripped, if AT_SPI_DISPLAY isn't already set.
996 (cspi_init): Set the activation env value above before getting
999 * atk-bridge/bridge.c:
1000 (spi_display_name): Create the AT_SPI_DISPLAY activation
1001 environment for an app, based on the DISPLAY environment with the
1002 screen number stripped off.
1003 (atk_bridge_init): Allow redirection of error messages to a log.
1004 (spi_atk_bridge_get_registry): Call
1005 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1007 Fixes for bugs #149962, #136986, #144086.
1009 2004-08-16 Christian Rose <menthos@menthos.com>
1011 * configure.in: Added "bs" to ALL_LINGUAS.
1013 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1015 * configure.in: Added nb to ALL_LINGUAS.
1017 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1020 (SPI_init): Return error code '2' if the activated
1021 registry cannot be pinged. Fixes bug #147648.
1023 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1025 * registryd/deviceeventcontroller.c:
1026 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1027 rely on timer-poll instead, to avoid conflict with
1030 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1032 * configure.in: Revved to 1.5.3.
1034 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1036 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1038 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1040 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1042 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1044 * atk-bridge/bridge.c:
1045 (spi_atk_bridge_do_registration):
1046 Register with ATK for AtkComponent:bounds-changed events.
1047 (api_atk_bridge_signal_listener):
1048 Marshal the AtkRectangle info into the event notification
1049 for object:bounds-changed events.
1052 (spi_init_any_rect): New method, inits a corba struct of
1053 type Accessibility_BoundingBox from an AtkRectangle.
1055 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1058 (SPIRect): New struct definition.
1059 (SPI_freeRect): New declaration.
1060 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1063 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1064 implemented. Gets the bounding box data from the CORBA_any
1065 associated with a bounds-changed event notification.
1066 (cspi_internal_event_get_rect): New, used internally by above method.
1069 (SPI_freeRect): Implemented this new method, for freeing
1072 * test/event-listener-test.c:
1073 (main, report_bounds_event):
1074 Added a test for object:bounds-changed events.
1076 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1078 * test/login-helper-server-test.c:
1079 (main): Fix C99-ism. Thanks to Jens Granseuer.
1081 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1083 * libloginhelper-1.0.pc.in:
1084 * idl/Accessibility_LoginHelper.idl:
1085 * login-helper/Makefile.am:
1086 * login-helper/login-helper.[ch]:
1087 * test/login-helper-client-test.c:
1088 * test/login-helper-server-test.c: Added files missing from CVS.
1089 Files obtained from at-spi-1.5.2 tarball.
1091 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1093 * configure.in: Create login-helper/Makefile.
1094 Incremented micro version.
1096 * Makefile.am: Add login-helper subdir and pkgconfig data.
1098 * login-helper: New subdir.
1100 * libloginhelper-1.0.pc.in: New.
1102 * idl/Accessibility_LoginHelper.idl: New file, defines
1103 interface whereby authentication clients can identify agents which
1104 need access to services during the login process, e.g. screen lock
1107 * login-helper/Makefile.am : New.
1109 * login-helper/login-helper.[ch] : New, implementation of
1110 a LoginHelper base class. Services needing LoginHelper can subclass.
1112 * test/Makefile.am : Added test for login-helper, client and
1115 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1116 Use proper prefix in #include files.
1118 * test/login-helper-client-test.c: New.
1120 * test/login-helper-server-test.c: New.
1122 2004-05-27 Alexander Shopov <ash@contact.bg>
1124 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1126 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1128 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1129 is positive. This should make it easier to detect inapprorpiate unref
1132 2004-05-11 James Henstridge <james@daa.com.au>
1134 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1135 no-op and deprecated.
1137 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1139 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1141 2004-04-28 Bill Haneman <billh@gnome.org>
1143 * Makefile.am: Added --enable-gtk-doc to
1144 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1146 2004-04-19 Bill Haneman <billh@gnome.org>
1148 * configure.in: Revved to 1.5.1.
1150 * registryd/deviceeventcontroller.c:
1152 (DEControllerPrivateData): Added fields for
1153 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1154 (spi_dec_replace_map_keysym): New internal utility for
1155 replacing a keysym in the keymap - used to allow
1156 synthesis of individual characters which aren't in the
1158 (spi_dec_reset_reserved): New; resets the changed keysym value
1160 (keycode_for_keysym): We now try to deal with failed
1161 XKeysymToKeycode requests by changing a keymap value
1162 and returning a reserved keycode. We now take
1163 a DEController pointer as first arg.
1164 (spi_controller_register_with_devices): Call XkbGetMap with
1165 the XkbKeySymsMask. Find the highest keycode in the current
1166 keymap which doesn't have any grabs, and mark that one for
1167 temporary re-mapping when out-of-range KeySyms are synthesized.
1168 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1171 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1173 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1175 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1177 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1179 2004-03-24 Bill Haneman <billh@gnome.org>
1182 (AccessibleTable_addRowSelection),
1183 (AccessibleTable_addColumnSelection),
1184 (AccessibleTable_removeRowSelection),
1185 (AccessibleTable_removeColumnSelection):
1186 Add declarations for spi wrappers which were
1187 inadvertantly omitted. Fixes bug #133413.
1190 Revved to 1.5.0 (unstable series for GNOME 2.7).
1192 2004-03-24 Bill Haneman <billh@gnome.org>
1194 * atk-bridge/bridge.c:
1195 Bracketed some debug output in
1196 conditionals, to avoid printing it in normal use.
1199 * libspi/hyperlink.c:
1200 Don't cast 'object' to ATK_OBJECT when constructing
1201 an AtkAction interface for a hyperlink.
1202 See discussion in bug #120659.
1204 * test/key-listener-test.c:
1205 (report_all_key_event): Send output to stderr,
1206 not stdout, for consistency with the rest of the test callbacks.
1209 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1210 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1211 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1212 try incrementing the revision AFTER doing a dist, at least
1215 2004-03-22 Bill Haneman <billh@gnome.org>
1217 * configure.in: Revved to 1.4.0, libtool 9.14.9
1219 2004-03-17 Laszlo Peter <laca@sun.com>
1221 * libspi-1.0-uninstalled.pc.in: add idldir
1223 * cspi-1.0-uninstalled.pc.in: add idldir
1225 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1227 * configure.in: Added "en_GB" to ALL_LINGUAS
1229 2004-03-15 Bill Haneman <billh@gnome.org>
1231 * configure.in: Revved to 1.3.16,
1234 2004-03-15 Laszlo Peter <laca@sun.com>
1236 * libspi-1.0-uninstalled.pc.in: new file
1238 * cspi-1.0-uninstalled.pc.in: new file
1240 * configure.in: add the new pc files to AC_OUTPUT
1242 * Makefile.am: add the new pc files to EXTRA_DIST
1244 2004-03-12 Bill Haneman <billh@gnome.org>
1246 * atk-bridge/bridge.c:
1247 (spi_atk_bridge_key_listener):
1248 Make sure to return consumed=FALSE if snoop
1249 event is not dispatched to listener.
1252 2004-03-01 Bill Haneman <billh@gnome.org>
1254 * configure.in: Revved to 1.3.15,
1257 2004-03-07 Danilo Segan <dsegan@gmx.net>
1259 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1261 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1263 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1265 2004-03-01 Bill Haneman <billh@gnome.org>
1267 * configure.in: Revved to 1.3.14.
1270 (SPI_exit): Removed "bye-bye" exit message.
1271 Moved "leak" report to happen before the
1272 iteration over the leaked refs list.
1273 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1275 2004-02-24 Bill Haneman <billh@gnome.org>
1277 * configure.in: Revved to 1.3.13.
1279 * docs/reference/cspi/Makefile.am:
1280 Correct typo that was breaking the docs build.
1282 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1284 * autogen.sh: Require version 1.7 of automake.
1286 * configure.in: call GTK_DOC_CHECK([1.0])
1288 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1290 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1292 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1294 * test/Makefile.am: Remove use of CFLAGS.
1296 This fixes bug #132987.
1298 2004-02-11 Bill Haneman <billh@gnome.org>
1300 * reverted most of Tomasz' patch below, since it was breaking
1301 builds (see bug #134058).
1303 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1305 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1306 correct pass "make dist" (empty .. because seems no sach types in
1307 header files with gtk-doc markups).
1308 * docs/reference/cspi/Makefile.am, configure.in:
1309 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1310 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1311 * Makefile.am: added:
1312 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1313 for force correct pass generate documentation on "make distcheck".
1314 * libspi/Makefile.am: fixes for automake >= 1.6.
1315 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1316 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1319 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1321 * docs/reference/cspi/Makefile.am (install-data-local): Install
1322 index.sgml since the doc autobuilder on widget.gnome.org looks for
1325 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1327 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1330 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1332 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1334 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1336 * test/simple-at.c: Fixed null string problems that cause core
1337 dumping problems on Solaris.
1339 2004-01-12 Bill Haneman <billh@gnome.org>
1341 * configure.in: Incremented version to 1.3.11.
1343 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1345 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1346 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1349 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1351 * configure.in: Added "fa" to ALL_LINGUAS.
1353 2003-12-20 Arafat Medini <lumina@silverpen.de>
1355 * configure.in: Added "ar" to ALL_LINGUAS
1357 2003-12-16 Bill Haneman <billh@gnome.org>
1359 * registryd/registry-main.c:
1361 Set the reg_env DISPLAY variable before registering the
1362 activated registry service. Fixes bug #129479.
1364 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1366 * configure.in: Added "id" in ALL_LINGUAS
1367 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1369 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1371 * registryd/deviceeventcontroller.c (global_filter_fn):
1372 When an event is consumed discard any XEvents were added to
1373 the queue while dealing with the the event. This can happen if
1374 processing of the event takes a long time. Call XUngrabKeyboard
1375 if an event was discarded. This fixes bug $124837.
1376 Only call wait_for_release_event for a KeyPress.
1377 Use local variable display instead of spi_get_display().
1378 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1381 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1383 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1384 Allow for mask to contain values other than NumLock mask.
1387 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1389 * registryd/devieceventcontroller.c:
1390 (wait_for_release_event): Change first parameter from GdkEvent to
1392 (global_filter_fn); Correct call to wait_for_release_event.
1396 2003-12-08 Bill Haneman <billh@gnome.org>
1400 * registryd/ucs2keysym.c: New file.
1402 * registryd/deviceeventcontroller.c:
1403 (dec_keysym_for_unichar): Remove old partial implementation and
1404 replace with call to ucs2keysym(), which is much more complete.
1405 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1410 2003-12-05 Bill Haneman <billh@gnome.org>
1412 * configure.in: Version 1.3.9.
1414 * docs/reference/cspi/tmpl/spi_registry.sgml:
1415 Added reference to libspi/keymasks.h to the
1416 description of Registry queries: AccessibleKeyMaskType.
1419 2003-12-04 Bill Haneman <billh@gnome.org>
1421 Fix for bug #121974.
1423 * idl/Accessibility_Application.idl:
1424 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1425 setlocale's LC_TYPEs.
1426 (Accessibility::Application::getLocale): New method.
1427 Allows clients to query the locale, by type, of an app.
1430 * cspi/spi_application.c:
1431 (AccessibleApplication_getLocale): New method, wraps IDL above.
1433 * libspi/application.c:
1434 (spi_application_class_init): Init epv entry for getLocale.
1435 (impl_accessibility_application_get_locale): Impl for above.
1437 * test/test-simple.c:
1438 (test_application): Added assertion for getLocale, i.e.
1439 that the string from AccessibleApplication_getLocale (app, type)
1440 is the same as that from setlocale (type, NULL);
1442 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1444 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1445 the keyboard on a timeout intil the key state goes from pressed to
1446 released. Fixes bug #111429.
1448 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1450 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1451 root object so that it is present when a context menu in an
1452 out-of-process applet is popped up.
1453 (spi_atk_bridge_do_registration): Create acceessible application root
1454 object only if it does not exist.
1456 This fixes bug #125834.
1458 2003-12-01 Bill Haneman <billh@gnome.org>
1460 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1463 Added enum for AccessibleStreamableContentSeekType.
1464 (AccessibleStreamableContent_freeContentTypeList): New.
1466 * cspi/spi_streamablecontent.c:
1467 (accessible_bonobo_stream_client_seek): New private method.
1468 (AccessibleStreamableContent_seek): Implemented this method,
1469 using Bonobo_Stream_seek.
1470 (AccessibleStreamableContent_freeContentTypeList): New method
1471 for freeing the return value from
1472 AccessibleStreamableContent_getContentTypes.
1473 (stream_cache_item_free): Replaces stream_release; stop leaks.
1474 (stream_release): removed.
1475 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1476 free the memory properly.
1478 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1480 Fix for bug #116009.
1482 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1484 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1486 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1488 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1490 2003-12-01 Bill Haneman <billh@gnome.org>
1492 Fix for bug/rfe #127463.
1494 * idl/Accessibility_Accessible.idl:
1495 (getLocalizedRoleName): New.
1496 (unimplemented4): Removed (replaced by above).
1498 * libspi/accessible.c:
1499 (impl_accessibility_accessible_get_local_role_name): New.
1500 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1504 (Accessible_getLocalizedRoleName): New.
1506 * cspi/spi_accessible.c:
1507 (Accessible_getLocalizedRoleName): New.
1509 2003-12-01 Bill Haneman <billh@gnome.org>
1511 Fix for bug #118581.
1512 * idl/Accessibility_Text.idl:
1513 (getDefaultAttributes): New.
1514 (unimplemented4): Removed (replaced by above method).
1517 (impl_getDefaultAttributes): New method.
1518 (spi_text_class_init):
1519 initialize the get_default_attributes slot in the epv.
1522 (AccessibleText_getDefaultAttributes): New prototype.
1525 (AccessibleText_getDefaultAttributes): New method.
1527 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1529 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1530 write beyond the end of the table. Fixes bug #120473.
1532 2003-09-30 Christian Rose <menthos@menthos.com>
1534 * configure.in: Added "eu" to ALL_LINGUAS.
1536 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1538 * configure.in: ALL_LINGUAS: Added no.
1540 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1542 * configure.in: Added lt to ALL_LINGUAS.
1544 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1546 * atk-bridge/bridge.c:
1547 (atk_bridge_init): Register event listeners always even for
1548 out-of-process applet.
1549 (spi_atk_bridge_toplevel_added): Remove call to
1550 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1551 (spi_atk_bridge_toplevelk_removed): Remove call to
1552 spi_atk_deregister_event_listenersa as the listeners are now always
1554 (spi_atk_bridge_register_application): Remove call to
1555 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1557 This fixes bug #120991.
1559 * libspi/table.c (impl_getColumnDescription): Correct typo,
1560 pointed out by Bolian.Yin@sun.com.
1562 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1564 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1566 2003-09-08 Bill Haneman <billh@gnome.org>
1568 * configure.in: Revved to 1.3.7.
1570 This is the GNOME 2.4.0 release of at-spi.
1572 * docs/reference/cspi/Makefile.am:
1573 Removed spurious inclusion of 'index.sgml' in the
1574 html directory; this was breaking make distcheck and
1575 also some other build environments.
1577 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1579 * registryd/registry.[ch}:
1580 Add queue_handler_id and focus_object to SpiRegistry data structure.
1581 (registry_flush_event_queue): If event being discarded is
1582 "state-change:focused" store object as focus_object.
1583 (registry_start_queue): Remove queue handler and focus object
1585 (registry_discard_event): New function which discards a focus event
1586 if we had stored focus object in the registry.
1587 (registry_queue_event): Add new check that is_queueing is set as this
1588 function is reentrant.
1589 (registry_filer_event): Add call to registry_discard_event.
1591 This resolves issues raised in bug #108664.
1593 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1595 * configure.in: Added "bn" to ALL_LINGUAS.
1597 2003-09-04 Bill Haneman <billh@gnome.org>
1599 * cspi/spi_event.c: Documentation improvements for
1600 (SPI_registerAccessibleKeylistener).
1602 * docs/reference/tmpl/spi_registry.sgml:
1603 Documentation improvements for SpiAccessibleKeylistenerCB.
1605 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1607 * configure.in: Added "ro" to ALL_LINGUAS.
1610 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1612 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1613 not decremented to zero. Fixes bug #120725.
1615 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1617 * configure.in: Added "ja" to ALL_LINGUAS.
1619 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1621 * configure.in: Added "is" to ALL_LINGUAS.
1623 2003-08-22 Christian Rose <menthos@menthos.com>
1625 * configure.in: Added "nl" to ALL_LINGUAS.
1627 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1629 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1630 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1632 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1634 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1635 type for unspecified exception.
1636 * cspi_streamablecontect): Add include of string.h for memcpy.
1637 (stream_release): Correct call to bonobo_object_release_unref
1638 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1639 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1640 argument of _cspi_expection_throw.
1641 * libspi/hyperlink.c: Add include of libspi/action.h:
1642 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1643 * libspi/streamablecontent.c: add include of libspi/component.h.
1644 * regisrtyd/deviceeventcontroller.c:
1645 (spi_dec_translate_mask): Removed unused variable priv.
1646 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1647 * registryd/registry.c:
1648 (registry_filter_event): Remove unused variable queue_is-empty.
1649 (impl_registry_notify_event): Use correct modifier in fprintf call.
1651 This fixes compiler warnings reported in bug #120220.
1653 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1655 * registryd/registryd.c: Remove this file.
1657 2003-08-17 Sanlig Badral <badral@openmn.org>
1659 * configure.in: Added mn to ALL_LINGUAS.
1661 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1663 * configure.in: Added et to ALL_LINGUAS.
1665 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1667 * test/event-listener-test.c: Change active-descendant to
1668 active-descendant-changed.
1670 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1672 * configure.in: Added "fi" in ALL_LINGUAS.
1674 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1676 * configure.in: Added "hi" in ALL_LINGUAS.
1678 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1680 * configure.in: Revved to 1.3.6.
1684 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1686 * registryd/deviceeventcontroller.c
1687 (spi_device_event_controller_object_finalize): Fix typo in previous
1690 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1692 * registryd/deviceeventcontroller.c
1693 (spi_device_event_controller_object_finalize): Fix build on
1694 systems without XEvIE.
1696 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1698 * acconfig.h, configure.in, registryd/Makefile.am,
1699 registryd/devicecontoller.[ch]: Add XEViE support.
1701 2003-08-06 Wang Jian <lark@linux.net.cn>
1703 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1705 2003-08-06 Metin Amiroff<metin@karegen.com>
1707 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1709 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1711 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1712 MODIFIER_ALT in correct place.
1714 This fixes part of bug #118114.
1716 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1718 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1720 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1722 * configure.in: Added "ko" to ALL_LINGUAS.
1724 2003-07-28 Ole Laursen <olau@hardworking.dk>
1726 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1728 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1730 * configure.in: Added "sq" to ALL_LINGUAS.
1732 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1734 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1736 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1738 * configure.in: updated ALL_LINGUAS list
1740 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1742 * configure.in: Added Belarusian to ALL_LINGUAS.
1744 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1746 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1748 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1749 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1751 This fixes bug #116949.
1753 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1755 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1756 Correct CSPI to SPI in function documentation.
1758 This fixes bug #118054.
1760 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1762 * configure.in: Added Russian to ALL_LINGUAS.
1764 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1766 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1768 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1770 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1772 2003-07-10 Joel Brich <joel.brich@laposte.net>
1774 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1776 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1778 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1780 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1782 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1783 resources allocated for AccessibleEvent. See cspi_event().
1785 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1786 static variable streams to NULL.
1788 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1789 Update so that AcessibleEvent_ref will work.
1791 This fixes bug #116624.
1793 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1795 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1797 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1799 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1801 2003-07-02 Christian Neumair <chris@gnome-de.org>
1803 * configure.in: Added "de" (German) to ALL_LINGUAS.
1805 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1807 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1809 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1811 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1813 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1815 * configure.in: Added "pl" to ALL_LINGUAS.
1817 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1819 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1821 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1824 (get_action_from_servant):
1825 Removed assertion that action is implemented on an AtkObject.
1827 * libspi/hyperlink.c:
1828 (spi_hyperlink_new):
1829 Aggregate AccessibleAction interface on the hyperlink object if
1830 the object implements AtkAction. (This convention is used in
1833 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1835 * configure.in: Revved to 1.3.5.
1837 * registryd/Accessibility_Registry.server.in.in:
1838 Marked up appropriate strings for translation.
1840 * atk-bridge/bridge.c: Marked a couple of
1841 user-visible warnings for translation. Questionable
1842 whether they are really useful, but possibly so.
1845 2003-06-28 Christian Rose <menthos@menthos.com>
1847 * configure.in: Added "sv" to ALL_LINGUAS.
1849 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1851 * registryd/registry.c:
1852 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1853 (registry_defer_on_event): Defer focus: events, this is an
1854 improvement to the patch for bug #108664.
1856 * TODO: Update with 2.4/"Dev Complete" items.
1858 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1860 * atk-bridge/bridge.c:
1861 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1862 looks up signals once.
1863 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1864 if doing registration.
1865 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1866 when doing registration.
1868 This fixes bug #115014.
1870 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1872 * atk-bridge/bridge.c:
1873 (atk_bridge_init): Add signal handler for children-changed:remove on
1874 root when in a BonoboComponent.
1875 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1876 for first toplevel only other incrememt variable toplevels.
1877 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1878 application and remove listeners.
1879 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1881 (spi_atk_deregister_event_listeners): New function which removes
1883 (reinit_register_vars): New fuction which reinitializes variables.
1885 This fixes bug #111578.
1887 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1889 * configure.in: version 1.3.4.
1891 * cspi/spi_accessible.c:
1892 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1895 2003-06-13 Michael Meeks <michael@ximian.com>
1897 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1899 * cspi/spi_main.c (cspi_peek_ev): impl.
1901 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1903 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1905 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1907 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1908 SPI_ROLE_AUTOCOMPLETE
1910 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1912 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1913 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1915 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1917 * libspi/streamablecontent.h:
1918 * libspi/streamablecontent.c:
1919 New files, provide implementation/wrappers for
1920 Accessibility_StreamableContent.
1922 * cspi/spi_streamablecontent.c:
1923 Connected the C wrappers to the libspi C bindings.
1924 (AccessibleStreamableContent_close): New method.
1927 (AccessibleStreamableContent_close): New method, needed
1928 since we have an "open, [seek], read, close" model in cspi.
1930 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1932 Fix for #108664; Padraig's revision of my original patch.
1934 * registryd/registry.h:
1935 Added event queue list, is_queuing, and exit_notify_timeout
1936 to the registry struct.
1938 * registryd/registry.c:
1939 (registry_init): Initialize new struct from registry.h.
1940 (impl_registry_notify_event):
1941 Filter events before notifying, in case some need to be
1943 (registry_filter_event): New,
1944 we defer certain incoming events (for instance
1945 window:deactivate) because we may wish to hide
1946 or reject them based on pending events. This is
1947 mostly a workaround for bug #108664.
1948 (registry_queue_event, registry_start_queue): New.
1949 (registry_defer_on_event): Test event to see if it
1951 (registry_reset_on_event): Returns TRUE if the
1952 event should cause a queue reset.
1953 (registry_discard_on_event): Returns TRUE if the event
1954 should cause the previous queue contents to be discarded.
1955 (registry_timeout_flush_queue): Flushes the pending event
1956 queue if no reset/discard-triggering events have come in
1957 within the timeout period.
1958 (registry_emit_event): New.
1959 (registry_clone_notify_context): New, used when queueing the
1960 event notify contexts.
1962 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1964 * configure.in: Version revved to 1.3.2, lt 0.9.2
1965 Incremented ATK required version to 1.3.4.
1967 * cspi/spi_registry.c:
1968 (SPI_generateKeyEvent):
1969 We now pass the keystring along if it's non-null.
1971 * registryd/deviceeventcontroller.c:
1972 (keysym_mod_mask): New method, returns modifier mask
1973 required to generate a keysym from a given keycode.
1974 (dec_synth_keysym): New method.
1975 (dec_synth_keystring): New method.
1976 (dec_get_modifier_state): New method.
1977 (dec_lock_modifiers): New
1978 (dec_unlock_modifiers): New.
1979 (dec_keysym_for_unichar): New, rather brute-force
1980 conversion from UCS-4 to X KeySyms. Only works for
1981 Latin at the moment, with partial implementations for
1982 Greek, Hebrew, and (incomplete) Katakana.
1983 (impl_generate_keyboard_event): Now implement
1984 "KEYSTRING" synthesis and implement "KEYSYM"
1986 (keycode_from_keysym): Improved, passes a returned
1987 modmask value now if the corresponding param is non-NULL.
1989 Fixes bugs #92143 and #109776.
1992 * test/keysynth-test.c:
1993 New test program for key synthesis, to confirm fixes for
1997 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1999 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2001 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2002 Add line for RELATION_POPUP_FOR
2004 * docs/reference/cspi/tmpl/spi_relation.sgml:
2005 Add relation SPI_RELATION_POPUP_FOR
2007 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2008 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2010 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2012 * libspi/relation.c (spi_init_relation_type_table):
2013 Add line for RELATION_POPUP_FOR
2015 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2017 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2018 there are still windows which have not been deleted and emit
2019 window:deactivate, if necessary and window:destroy events.
2020 This fixes bug #114370. The change on June 5th was not correct.
2022 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2024 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2027 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2029 New methods for client exception handling and interception.
2030 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2031 (SPI_exceptionHandlerPop): You guessed it...
2032 (SPI_getSourceType): Return the type of object which offended.
2033 (SPI_getExceptionCode): Return an enum code telling, possibly,
2034 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2035 (SPIAccessibleException_getSource): get the source object for
2036 exceptions that come from Accessibles, if SPIExceptionSourceType is
2037 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2038 (SPIException_getDescription): New, returns a string description of
2039 the problem. [Not yet a stable ABI, strings are not frozen]
2041 * cspi/spi-private.h:
2042 Added implementation details of opaque SPIException
2046 Implementations of above. Also
2047 (_cspi_exception_throw): new private method that
2048 dispatches exceptions to handlers, called from cspi-bonobo.c
2050 * cspi/bonobo/cspi-bonobo.c:
2051 (cspi_check_ev): call _cspi_exception_throw.
2052 Don't print a warning message if the exception has been
2053 handled by _cspi_exception_throw.
2055 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2057 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2058 there are still windows which have not been deleted and emit
2059 window:deactivate, if necessary and window:destroy events.
2060 This fixes bug #114370.
2062 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2065 (cspi_accessible_is_a): Make non-fatal
2066 if the object reference is dead.
2068 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2070 * cspi/spi_main.c: #include <stdio.h>
2071 * test/simple-at.c: ditto
2072 * test/event-listener-test.c: ditto
2073 * test/screen-review-test.c: ditto
2075 2003-05-30 Michael Meeks <michael@ximian.com>
2077 * test/test-simple.c (main): use CORBA_ORB_perform_work
2078 instead of an unnecessary linc_ call.
2080 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2082 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2083 Add SPI_STATE_INDETERMINATE.
2085 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2088 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2090 * libspi/stateset.c (init_state_type_tables): Add support for
2093 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2095 * configure: Update versions of atk and gail required.
2096 This fixes bug #113268.
2098 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2100 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2102 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2104 * libspi/Makefile.am:
2105 Ensure headers are generated before being used by c sources.
2107 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2110 Simplified lt versioning rules.
2111 Incremented version to 1.3.0, to indicate that we're on the
2112 unstable branch now.
2114 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2116 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2117 Add MKDB_OPTIONS=--outtput-format=xml
2119 * docs/reference/cspi/at-spi-cspi-docs.sgml
2120 docs/reference/idl/at-spi-idl-docs.sgml:
2121 Convert to Docbook XML.
2123 This fixes bug #111793.
2125 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2127 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2128 AcccessibleKeyEventType, AccessibleKeyMaskType.
2130 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2132 * cspi/state-types.h: Add documentation for AccessibleState.
2134 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2135 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2136 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2137 AccessibleComponentLayer.
2139 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2142 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2144 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2145 Accessible. Add description of AccessibleEvent,
2146 AccessibleEventListenerCB.
2148 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2151 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2152 documentation. Add description of AccessibleKeystrokeListenerCB,
2153 AccessibleKeyEventMask, AccessibleModifierMaskType,
2154 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2155 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2157 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2160 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2163 This fixes bug #104730.
2165 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2167 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2168 Set is_text field of Accessibility_DeviceEvent data structure.
2170 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2171 is-text field of AccessibleDeviceEvent data structure.
2173 This addresses part of bug #108666.
2175 * registryd/devcieeventcontroller.c: Unset debug option.
2177 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2179 * cspi/accessible.c:
2180 (cpi_initial_relation_type_table): New function which initializes
2181 mapping between Accessibility_RelationType and AccessibleRelationType.
2182 (cspi_relation_type_from_spi_relation_type): New function which
2183 translates an Accessibility_RelationType into an AccessibleRelationType.
2184 (AccessibleRelation_getRelationType): Use
2185 cpi_relation_type_get_spi_relation_type to return correct value.
2186 (spi_state_to_corba): Return correct type for default case.
2188 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2189 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2191 * cspi/cspi-bonobo-listener.c:
2192 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2195 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2196 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2197 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2198 libspi/image.c, libspi/listener.c, libspi/selection.c,
2199 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2200 registryd/desktop.c, registryd/registry.c:
2201 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2203 * libspi/eventlistener.c
2204 Remove semicolon after BONOBO_TYPE_FUNC.
2206 * libspi/relation.c:
2207 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2208 (spi_init_relation_type_table): Initialize using correct type.
2210 * registryd/desktop.c:
2211 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2212 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2213 of Accessibility_KeyEventType.
2215 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2218 * tests/simple-at.c, tests/screen-review-test.c:
2219 Add include for <strings.h>.
2221 * tests.stress-test.c:
2222 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2224 These changes fix compiler warnings when using FORTE compiler on
2225 Solaris; fixes bug #107479.
2228 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2231 * configure.in: revved to 1.1.10
2233 * libspi/keymasks.h:
2234 (SPI_KEYMASK_NUMLOCK): Added.
2236 * registryd/deviceeventcontroller.c:
2237 (spi_key_event_matches_listener): AND with a smaller
2238 bitmask (as we should).
2239 (spi_dec_translate_mask):
2240 New method, sets the virtual NumLock modifier bit
2241 if numlock is on. Eventually it can handle other virtual
2242 modifier bits if needed, or other marshalling from
2243 at-spi modifier masks to platform (X) masks.
2244 (spi_dec_key_listener_new):
2245 Call spi_dec_translate_mask to set up virtual mod bits
2246 in the 'mask' field when creating a new listener struct.
2247 (spi_dec_emit_modifier_event):
2248 Set the virtual (i.e. NumLock) bits before emitting event.
2249 (spi_controller_register_with_devices):
2250 Query for the NumLock modifier 'physical' bit if Xkb is
2251 present, for use in above methods.
2255 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2257 * registryd/deviceeventcontroller.c:
2258 (spi_keystroke_from_x_key_event):
2259 Instead of checking to see if the keysym is
2260 printable, check the string from XLookupString
2261 if available, get the first unicode character from it,
2262 and call g_unichar_isprint to determine whether the
2263 is_text flag should be TRUE or FALSE.
2267 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2269 * atk-bridge/bridge.c: Add support for extended events
2270 * cspi/spi_event.c: Add documentation and implementation for
2272 * tests/event-listener-test.c: Add tests for extended events.
2274 This fixes bugs #100424 and #100426.
2276 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2278 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2279 of LT_CURRENT. This fixes bug #89350.
2281 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2283 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2284 number of signal parameter values before accessing them. This fixes
2287 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2289 * configure.in: Fixed duplicate inclusion of -lspi.
2290 * branched for gnome-2-2/HEAD.
2291 [created tag "gnome-2-2"]
2293 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2295 * configure.in: 1.1.9 release.
2298 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2300 [needed by GOK, to fix bugs 107985 and 107988]
2301 * registryd/deviceeventcontroller.c:
2302 (spi_dec_clear_unlatch_pending):
2303 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2304 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2305 (spi_dec_init_mouse_listener):Emit warning if mouse button
2307 (spi_device_event_controller_forward_mouse_event):
2308 Removed unnecessary parens from a conditional.
2309 (global_filter_fn):Added TODO comment.
2310 (impl_generate_keyboard_event):
2311 Cancel a pending relatch if a 'delatching' key was
2314 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2316 * atk-bridge/bridge.c:
2317 Change atk_signal_child_changed to atk_signal_children_changed.
2318 Reorganize code in spi_atk_bridge_signal_listener().
2320 * test/event-listener-test.c:
2321 Add children_changed_listener and report_children_changed_event()
2322 to test AccessibleChildEvent_getChildAccessible.
2324 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2326 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2327 g_strdup to CORBA_String_dup (bug #105291)
2329 * test/event-listener-test.c (report_text_event): Add call to
2332 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2334 * registryd/deviceeventcontroller.c:
2335 (spi_keystroke_from_x_key_event):
2336 Fix string and keysym return codes to match modifier state.
2339 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2341 * registryd/deviceeventcontroller.c:
2342 (spi_keystroke_from_x_key_event):
2343 Fix segv due to improper use of isprint(c). [bug #107254]
2345 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2348 (get_accessible_text_boundary_type):
2349 Move default return value to (new) default case in switch.
2350 (get_accessible_text_clip_type):
2351 Move default return value to (new) default case in switch.
2353 * libspi/application.c:
2354 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2355 Remove unused methods.
2356 (impl_accessibility_application_register_object_event_listener):
2357 Remove unused methods.
2360 Added #include of <math.h>.
2362 * registryd/deviceeventcontroller.c:
2363 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2364 we don't currently use this method.
2365 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2367 (impl_generate_key_event):
2368 Remove unused variables.
2369 (impl_generate_mouse_event):
2370 Initialize button to zero, just in case we get an invalid
2371 input. Added support for mouse buttons 4 and 5.
2372 (spi_device_event_controller_new):
2373 Removed unused variable declaration for 'private'.
2375 Added #include of <gdk/gdk.h>
2377 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2379 * configure.in: Update to work when X is not installed in expected
2380 location. Fixes bug #105836.
2382 * atk-bridge/bridge.c
2383 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2385 (spi_atk_register_event_listener): Add signal listener for
2387 (spi_atk_bridge_signal_listener): Event event when link-selected
2388 signal is emitted. (bug #104622)
2390 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2391 on returned string. (bug #105291)
2393 * test/event-listener-test.c: Add test for link-selected.
2395 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2397 * atk-bridge/Makefile.am: Correct typo in previous commit.
2399 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2401 * atk-bridge/Makefile.am: Allow for build directory to be different
2402 from source directory
2404 * registryd/Makefile.am: Allow for build directory to be different
2405 from source directory
2409 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2412 Fixed dependencies for libcspi so that libspi gets pulled in
2413 properly. Fixes 104741.
2417 Clean up inline docs a little.
2419 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2421 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2422 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2423 the AtkObject within an SpiDesktop.
2424 This addresses bug #101524.
2426 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2427 Remove call to gdk_init().
2429 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2430 so that Display is set when SpiDesktop is created.
2432 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2434 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2435 This fixes bug #102830.
2437 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2439 * test/test-simple.c: Update to take account of fact that GailButton
2440 now implements AtkText.
2441 (create_text_window): Set name on AtkObject for GtkEntry.
2442 (validate_accessible): Check accessible name before calling test_text().
2444 * libspi/Makefile.am: Fix problem with building outside of source
2445 directory. Bug #98120.
2447 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2448 typo in documentation comments. Bug #94275.
2450 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2452 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2454 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2457 Add includes to avoid compiler warnings on Solaris.
2458 (impl_getRangeExtents): Bug fix.
2460 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2462 Fix for 100944, [API addition approved by Gman and murrayc].
2469 * idl/Accessibility_Text.idl:
2470 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2471 (Text::getRangeExtents): New method for efficient
2472 bounds query of a text range.
2473 (Text::getBoundedRanges): New method for efficient
2474 clipping of text to bounding boxes.
2475 (unImplemented7, unImplemented8):
2476 Removed these padding methods to preserve bincompat.
2479 (impl_getRangeExtents): implementation of new IDL.
2480 (impl_getBoundedRanges): implementation of new IDL.
2481 (SpiTextRect): Internal use struct.
2482 (_spi_text_rect_union): internal method, calculates union of two
2483 SpiTextRect bounding rects.
2484 (_spi_text_range_seq_from_gslist): internal method, allows us
2485 to build our sequence efficiently as a gslist then convert it
2487 (_spi_bounds_contain): internal method, determines whether
2488 a text character is "in" or "out" of a clip rect according to
2489 values of TEXT_CLIP_TYPE.
2490 (spi_text_class_init): Initialize the new methods in the epv.
2493 (AccessibleTextClipType): New enum used by screen review api.
2494 (AccessibleTextRange): New struct used by screen review api.
2495 (AccessibleText_getRangeExtents):
2496 cspi binding for Accessibility_Text_getRangeExtents.
2497 (AccessibleText_getBoundedRanges):
2498 cspi binding for Accessibility_Text_getBoundedRanges.
2499 (AccessibleTextRange_freeRanges): convenience method.
2502 (AccessibleText_getRangeExtents):
2503 cspi binding for Accessibility_Text_getRangeExtents.
2504 (AccessibleText_getBoundedRanges):
2505 cspi binding for Accessibility_Text_getBoundedRanges.
2506 (AccessibleTextRange_freeRanges): convenience method.
2507 (get_accessible_text_clip_type): internal conversion method.
2508 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2510 * registryd/deviceeventcontroller.c:
2511 (spi_dec_mouse_check):
2512 Improved behavior for mouse:abs events
2513 [same granularity as mouse:rel events, and no
2514 events when mouse is idle].
2516 2002-12-16 Michael Meeks <michael@ximian.com>
2518 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2520 * libspi/stateset.c (state_spi_to_atk): split out
2521 ( fix several remote array bounds nasties )
2522 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2523 (impl_remove): make safe from array bounds issues.
2524 (spi_atk_state_from_spi_state): impl.
2526 * libspi/stateset.h (spi_state_set_cache_is_empty):
2527 add a set of wrapper defines to get layering right.
2529 * cspi/spi_accessible.c: update state set stuff to
2532 2002-12-14 Michael Meeks <michael@ximian.com>
2534 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2535 to avoid 2 roundtrips to the registry per key event
2536 (spi_atk_bridge_key_listener): upd.
2537 (deregister_application): release the dec.
2539 * registryd/registry.c (notify_listeners_cb):
2540 bin lots of re-enterant complexity - we no longer
2541 do a round-trip bonobo ref here, ensure that a single
2542 listener's exception failure won't poison all other
2544 (impl_registry_notify_event): bin obvious memory leak.
2546 2002-12-13 Michael Meeks <michael@ximian.com>
2548 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2549 init the ev so the error is meaningful.
2550 (spi_atk_bridge_key_listener): ditto.
2552 * cspi/spi_main.c (cspi_ev): init the ev so we start
2553 with a clean slate, otherwise the first exception
2554 kills us completely.
2556 * cspi/spi_text.c (get_accessible_text_boundary_type):
2557 add a fallthrough for no warnings.
2559 * cspi/spi_registry.c: prune unused warnings.
2561 * cspi/spi_main.c (cspi_object_take): fix
2562 mind-blowing brokenness ( by watching the compile
2565 * cspi/spi_accessible.c (Accessible_getStateSet):
2566 re-impl. to use an AtkStateSet.
2567 (spi_state_type_from_accessible_state),
2568 (init_state_table): bin these.
2570 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2572 (atk_state_set_from_accessibility_state_set): here.
2574 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2575 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2576 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2577 (AccessibleStateSet_add, AccessibleStateSet_remove),
2578 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2579 (AccessibleStateSet_isEmpty): re-write to use a local
2582 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2584 * configure.in: Revved to 1.1.7 (new keymask vals).
2586 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2588 * libspi/keymasks.h:
2589 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2591 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2594 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2595 to compare two CORBA_TypeCodes.
2596 (cspi_internal_event_add): Silence warning from FORTE compiler.
2598 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2599 avoid implicit declaration of functions.
2601 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2603 * atk-bridge/bridge.c:
2604 (spi_atk_bridge_init_event_type_consts): Store signal id for
2605 active-descendant-changed signal.
2606 (spi_atk_register_event_listeners): Add signal listener for
2607 active-descendant-changed signal,
2608 (spi_atk_bridge_signal_listener): Move code in function
2609 spi_atk-signal_emit_event() into this function.
2610 Add support for active-descendant-changed
2611 Update support for child-changed signal.
2612 (spi_bridge_window_event_listener): Silence warning.
2614 * libspi/spi_private.[ch]:
2615 (spi_init_any_object): Change second parameter from CORBA_Object to
2617 Omit call to CORBA_Object_duplicate().
2618 Set CORBA_any's _value to CORBA_Object*.
2620 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2626 (AccessibleEvent_ref, AccessibleEvent_unref):
2627 New methods, for persisting an event outside the emission context.
2628 Must be used if the new accessor methods are to be called
2629 outside of the event listener's callback.
2631 * cspi/bonobo/cspi-bonobo.c:
2632 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2633 as second parameter instead of NULL, so we can call
2634 cspi_check_ev afterwards.
2637 (cspi_object_take): New internal method,
2638 converts a CORBA_Object reference to a hard ref on
2639 an Accessible if possible, returning NULL if the object
2640 reference is invalid or an Accessible * otherwise.
2643 (AccessibleEvent_ref):
2644 Increment the event's internal private refcount, and
2645 add the event's internal struct to an internal cache
2646 if it's not already there.
2647 (AccessibleEvent_unref):
2648 Decrement the event's refcount and remove it from
2649 the cspi event cache if refcount==0.
2650 (cspi_event_compare): New private method.
2651 Compares two event structs via their ids. Used
2653 (cspi_internal_event_lookup): New private method.
2654 (cspi_internal_event_check): New private method,
2655 a 0-order sanity check for events to make sure their
2656 private data is intact.
2657 (cspi_internal_event_add, cspi_internal_event_remove):
2658 New private methods for managiing the event cache.
2660 * cspi/bonobo/cspi-bonobo-listener.c:
2662 Initialize the new private data elements (id, magic, ref_count).
2664 * atk-bridge/bridge.c:
2665 (spi_atk_bridge_signal_listener):
2666 Fixed bug #100530, passing wrong params to emission func.
2668 * registryd/deviceeventcontroller.c:
2669 (spi_dec_button_update_and_emit):
2670 Fixed type in mask bit operations; fix for #99799.
2672 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2674 Removed some of the more dangerous workarounds from
2675 previous commit; they are only needed by GOK, which
2676 in reality should be using another method to accomplish
2677 the goals. So on reconsideration some of the workarounds
2678 need to be reverted:
2680 * registryd/deviceeventcontroller.c:
2681 (spi_keycodes_contain, spi_dec_init_keycode_list):
2682 Removed these methods, used only by a nasty hack to try
2683 and detect whether a key synthesis should be allowed
2684 to reset the XKB latch state or not. This code was only
2685 required to work around an interaction between GOK,
2686 button events, and XKB.
2687 (impl_generate_key_event):
2688 Removed hack at end of key generation that tried to
2689 "do the right thing" if XKB latch keys were generated
2690 in the midst of button press/release pairs.
2693 Added a check for HAVE_XINPUT. Not normally used yet.
2695 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2697 Workarounds and fixes for mouse event/XKB interaction.
2699 * registryd/deviceeventcontroller.c:
2700 (spi_keycodes_contain, spi_dec_init_keycode_list):
2701 New internal methods.
2702 (spi_dec_set_unlatch_pending):
2703 Split the method that tells XKB to expect an
2704 unlatch (and revert it) out of the rest of the
2705 event handling code. This method is called by the
2706 two mouse event handlers (the poll and the filter).
2707 (spi_dec_update_and_emit, spi_dec_mouse_check):
2708 New methods split from spi_dec_poll_mouse_moved.
2709 The second one is now called from inside the filterFn
2710 when an XKB delatch event is received, to determine
2711 whether to revert the delatch or not.
2712 (spi_poll_mouse_moved): Refactor; also we can now
2713 properly handle the case where multiple button states
2714 have changed between polling cycles and we didn't get
2715 notified due to another client's grab.
2717 Synchronize the server while handling an XKB notification.
2718 Ugly, but apparently necessary to avoid nasty races.
2719 Check the mouse state on receipt of an XKB latch change,
2720 to decide whether to revert the latch or not. (Latches are
2721 reverted if there is an immediately preceding mouse button
2722 event that a client has consumed, in which case we don't want
2723 the user to see the side-effect of the event).
2724 (spi_device_event_controller_forward_mouse_event):
2725 Check for modifier events and fire before resetting mouse_mask_state,
2726 prevents losing modifier events.
2728 (impl_generate_keyboard_event):
2729 If we've just generated a keyboard event for a non-shift key,
2730 we don't want to revert the pending XKB latch.
2731 Otherwise, check the modifier state (via a call to
2732 spi_dev_mouse_check) and set the relatch mask to
2733 that state before returning.
2735 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2738 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2741 * atk-bridge/bridge.c:
2742 (spi_atk_register_event_listeners):
2743 Don't re-register for ATK events if the registry has died
2744 and the app needs to re-register; the ATK listeners are in
2745 process and doing so will cause duplicate emission.
2747 * registryd/deviceeventcontroller.c:
2748 (spi_poll_mouse_moved):
2749 Reformat the source, detect and emit multiple button-change
2750 events (i.e. if multiple buttons have changed between poll
2752 Add code to detect mouse-down events even when the pointer
2753 is grabbed; workaround for GOK bug 98420.
2754 (spi_controller_register_with_devices):
2755 Call XTestGrabControl with 'impervious' flag set to True,
2756 allows us to synthesize events and query the pointer even during
2757 an active grab by another client.
2758 (spi_device_event_controller_forward_mouse_event):
2759 Set the mouse_mask_state to the mouse_button_state from
2760 the intercepted event, to synchronize the grab listener with
2763 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2765 * cspi/spi_accessible.c:
2766 (AccessibleRole_getName):
2767 Added necessary strings for making this (deprecated)
2768 method work with the new role types.
2769 (init_role_table, role_table):
2770 Added definition of SPI_ROLE_APPLICATION.
2772 * libspi/spi-roletypes.h:
2773 Added SPI_ROLE_APPLICATION.
2775 * idl/Accessibility_Role.idl:
2776 Added ROLE_APPLICATION.
2778 * docs/reference/cspi/at-spi-cspi-decl.txt:
2779 Added SPI_ROLE_APPLICATION to docs.
2781 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2783 * cspi/spi_accessible.c
2784 (cspi_init_role_table): Do not write beyond end of role_table.
2785 (Accessible_getRole): Use correct type for value returned by
2786 Accessibility_Accessible_getRole().
2788 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2789 beyond end of role_table. (This fixes bug #98269)
2791 * libspi/application.c: Add include file spi-private.h for
2792 definition of spi_init_any_nil.
2794 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2798 * libspi/spi-private.h:
2799 Added DGB() macro, and extern int _dbg declaration.
2801 * registryd/registry.c:
2802 (definitions) storage for _dbg.
2803 (spi_registry_init):
2804 Get environment variable "AT_SPI_DEBUG".
2805 (spi_registry_set_debug):
2806 New method, to initialize _dbg value.
2807 (spi_listener_struct_new, spi_registry_object_finalize):
2808 (notify_listeners_cb):
2809 Changed fprintfs to use DBG and g_warning().
2811 * registryd/deviceeventcontroller.c:
2812 (_deregister_keygrab, spi_controller_register_device_listener):
2813 Changed debug/warning messages to use DBG macro.
2815 * libspi/listener.c:
2816 (impl_notify_event):
2817 Changed warning messages to use DBG macro and g_warning().
2819 * atk-bridge/bridge.c:
2820 (atk_bridge_init, spi_atk_bridge_get_registry):
2821 (spi_atk_bridge_exit_func):
2822 (spi_atk_bridge_property_event_listener):
2823 Changed status, warning, and error messages to use
2824 g_warning, g_message, and DBG macros.
2827 Read the state of the AT_SPI_DEBUG environment variable
2828 and set a local '_dbg' accordingly.
2830 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2832 FIXES for 98836, 98842, other bugs.
2835 Revved to 1.1.4, interface-age=4, binary-age=4.
2837 * registryd/deviceeventcontroller.c:
2839 Fixed crasher bug in last_mouse_pos initialization.
2841 * registryd/registry.c:
2842 (desktop_add_application, desktop_remove_application):
2843 Added (and then commented out) some support for
2844 object context marshalling. [TODO]
2846 * atk-bridge/bridge.c:
2847 (spi_atk_bridge_event_context_create):
2848 Commented out object context creation until it can
2849 be properly tested and debugged.
2851 * registryd/registry.c:
2852 (impl_registry_notify_event):
2853 Fixed crasher bug, we were calling
2854 spi_re_entrant_list_foreach () with an empty list.
2856 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2858 * idl/Accessibility_Action.idl:
2859 * idl/Accessibility_Component.idl:
2860 * idl/Accessibility_Desktop.idl:
2861 * idl/Accessibility_Event.idl:
2862 * idl/Accessibility_Hyperlink.idl:
2863 * idl/Accessibility_Image.idl:
2864 * idl/Accessibility_Relation.idl:
2865 * idl/Accessibility_Selection.idl:
2866 * idl/Accessibility_State.idl:
2867 * idl/Accessibility_Value.idl:
2868 Updated unimplemented slot count to minimum of
2869 four for all interfaces, for ABI freeze.
2871 * idl/Accessibility_EditableText.idl:
2872 * idl/Accessibility_Text.idl:
2873 Updated unimplemented slot count to six
2876 * idl/Accessibility_Registry.idl:
2877 Updated unimplemented slot count to six
2878 (also for DeviceEventController),
2881 * idl/Accessibility_Table.idl:
2882 Updated unimplemented slot count to eight,
2885 * idl/Accessibility_Event.idl:
2886 Added CORBA_any "any_data" member to Event struct.
2888 * idl/Accessibility_Event.idl:
2889 Added CORBA_any "any_data" member to Event struct.
2891 * atk-bridge/bridge.c:
2893 atk_signal_text_changed, atk_signal_child_changed,
2894 signal ids queried from gtype system.
2895 (AtkBridgeEventContextType): New enum.
2896 (AtkBridgeEventContextData): New struct.
2897 (AtkBridgeEventContext): New struct.
2898 (atk_bridge_init_event_type_consts):
2899 New method, initializes type contants for comparison
2900 prior to emit_eventv.
2901 (atk_bridge_event_context_init): New method,
2902 initializes a CORBA_any from an AtkBridgeEventContext.
2903 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2904 initialize the event.any_data struct.
2905 (spi_atk_bridge_event_context_create): New method,
2906 creates an AtkBridgeEventContext from signal/event info.
2907 (spi_atk_bridge_event_context_free): New method.
2908 (spi_atk_emit_eventv): Changed to take an
2909 AtkBridgeEventContext parameter. We now initialize
2910 the event.any_data member prior to notifying the
2911 Registry, via the AtkBridgeEventContext.
2912 (spi_atk_bridge_property_event_listener):
2913 (spi_atk_bridge_state_event_listener):
2914 Match emit_eventv signature.
2915 (spi_atk_bridge_object_event_listener):
2916 Match emit_eventv signature, and create an
2917 event context from the event details.
2918 Free the event context afterwards.
2919 (spi_atk_bridge_window_event_listener):
2920 Create an event context, pass it to the
2924 (AccessibleEvent_getContextString):
2925 (AccessibleEvent_getContextObject):
2926 New methods, allow query of AccessibleEvent objects
2927 for more context details (via the "any_data" member
2928 of the Event struct, above).
2931 Definitions for AccessibleEvent_getContextString
2932 and AccessibleEvent_getContextObject.
2934 * cspi/spi_listener.h:
2935 (InternalEvent): New struct.
2938 (AccessibleEvent_getContextString):
2939 (AccessibleEvent_getContextObject):
2940 Implementations of new methods, for obtaining
2941 additional context information from some event types.
2943 * cspi/spi_registry.c:
2944 (SPI_registerGlobalEventListener):
2945 Added mention of active-descendant-changed event in docs.
2947 * cspi/cspi-bonobo-listener.c:
2949 Marshal the any into the AccessibleEvent via
2952 * libspi/spi-private.h:
2953 #include <orbit/orbit.h>
2955 (spi_init_any_string):
2956 (spi_init_any_object):
2957 New convenience function declarations.
2961 (spi_init_any_string):
2962 (spi_init_any_object):
2963 New convenience function implementations.
2965 * registryd/deviceeventcontroller.c:
2966 (spi_poll_dec_mouse_moved):
2967 (spi_device_event_controller_forward_mous_event):
2968 Initialize any_data member of event.
2969 (spi_deregister_controller_device_listener):
2970 Fix incorrect param pass which was preventing deregistration.
2972 * registryd/registry.c:
2973 (desktop_add_application):
2974 (desktop_remove_application):
2975 Add object data to event's any_data before dispatch.
2977 Fix for error messages from GAIL.
2979 * test/event-listener-test.c:
2980 Test new ContextString and "any_data" API:
2981 (report_text_event): New method query and output context string.
2982 (main): register a new text listener with report_text_event
2985 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2987 Fixes for bugs 98127 and 97914.
2988 * cspi/spi-roletypes.h:
2989 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2991 * cspi/spi-statetypes.h:
2992 Added SPI_STATE_MANAGES_DESCENDANTS
2994 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2995 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2996 * cspi/spi_accessible.c:
2997 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2998 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2999 Accessibility_STATE_MANAGES_DESCENDANTS
3000 * libspi/accessible.c:
3001 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3002 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3003 As requested by Bill, I also cleaned up the alignment.
3004 * libspi/relation.c:
3005 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3006 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3007 * libspi/stateset.c:
3008 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3009 Accessibility_STATE_MANAGES_DESCENDANTS
3010 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3011 Document changes reflecting modifications to roles.
3012 * docs/reference/cspi/tmpl/spi_relation.sgml:
3013 Document changes reflecting modifications to relations.
3014 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3015 Document changes reflecting modifications to states.
3017 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3020 Revved to 1.1.3, interface-age=3, binary-age=3.
3021 Added REBUILD macro.
3024 Removed accessx-gui from the tests, since we have a nice
3025 keyboard accessibility capplet now :-)
3027 * test/keysynth-demo.c:
3028 (increment_scan): removed do-nothing default: case,
3031 * test/visual-bell.c:
3032 (main) : removed do-nothing default: case,
3035 * cspi/spi_action.c:
3036 (AccessibleAction_getKeyBinding_):
3037 Documented keybinding string format.
3041 (AccessibleText_getAttributes):
3042 Documented the text attribute string format.
3043 It's changed to use semicolon delimiters also,
3044 to prevent clashes with CSS attributes, but the old
3045 trick of looking for ", " strings will still work
3046 (as unreliably as ever). Fix for bug related to 97916.
3049 Include <cspi/bonobo/cspi-bonobo-listener.h>
3050 Fixes build warning.
3051 (SPI_freeAccessibleKeySet):
3052 (AccessibleKeystrokeListener_addCallback):
3053 (AccessibleKeystrokeListener_removeCallback):
3054 Modify to use AccessibleDeviceListener API internally,
3055 instead of AccessibleKeystrokeListener.
3057 * idl/Accessibility_Event.idl:
3058 Added two more empty slots to EventListener (for a total of four).
3060 * idl/Accessibility_Accessible.idl:
3061 Added four empty slots to Accessible interface.
3063 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3065 * idl/Accessibility_Registry.idl:
3066 (KeyEventType, EventType):
3067 Marked KeyEventType as deprecated; it duplicates
3068 functionality of EventType, which has been extended to
3069 include Mouse-button events.
3070 (KeyEventTypeSeq): defined in terms of EventType.
3071 (registerDeviceEventListener, deregisterDeviceEventListener):
3072 New methods, for managing listeners to device events,
3073 which potentially may consume them.
3076 Added definition for AccessibleDeviceListener.
3078 * cspi/spi-listener.h:
3079 (enum AccessibleDeviceEventType):
3080 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3081 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3082 for backwards compat.
3083 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3084 and typedef'd AccessibleKeystroke to it for back-compat.
3085 (AccessibleDeviceListenerCB):
3086 New function prototype typedef.
3089 (AccessibleDeviceEventMask): New typedef.
3090 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3091 (AccessibleKeyMaskType):
3092 Set equivalent to AccessibleModifierMaskType for back-compat.
3093 (SPI_createAccessibleKeystrokeListener):
3094 (AccessibleKeystrokeListener_unref):
3095 Deprecated in favor of equivalent (better-named) new API below..
3096 keystroke listeners are like all device listeners.
3097 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3098 New API names for old features :-).
3099 (AccessibleDeviceListener_addCallback):
3100 (AccessibleDeviceListener_removeCallback):
3101 (SPI_registerDeviceEventListener):
3102 (SPI_deregisterDeviceEventListener):
3106 (SPI_createAccessibleKeystrokeListener):
3107 Use new preferred API, cspi_device_listener_new() and
3108 cspi_device_listener_add_cb().
3109 (AccessibleKeystrokeListener_removeCallback):
3110 Use new preferred API, cspi_device_listener_remove_cb().
3111 (AccessibleKeystrokeListener_unref):
3112 Use new preferred API, cspi_device_listener_unref().
3113 (SPI_createAccessibleDeviceListener):
3114 (AccessibleDeviceListener_addCallback):
3115 (AccessibleDeviceListener_removeCallback):
3116 Implementation of new API.
3118 * cspi/spi_registry.c:
3119 (SPI_registerDeviceEventListener):
3120 (SPI_deregisterDeviceEventListener):
3121 Implementation of new API. Fixed memory leak and removed need to
3122 allocate EventTypeSeq (thanks Michael for catching this).
3123 Squashed a wayward CORBA_exception_free that shouldn't get called.
3125 * cspi/bonobo/cspi-bonobo-listener.c:
3127 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3128 (cspi_key_event): renamed to cspi_device_event().
3129 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3130 Extended to handle mouse button events as well as key events.
3131 (CSpiKeystrokeListener):
3132 Class superceded by CSpiDeviceListener.
3133 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3134 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3136 * cspi/bonobo/cspi-bonobo-listener.h:
3137 (CSpiKeystrokeListener):
3138 Class superceded by CSpiDeviceListener.
3139 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3140 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3142 * libspi/Makefile.am:
3143 Replaced keystrokelistener.h and keystrokelistener.c
3144 with devicelistener.h and devicelistener.c; keystrokelisener.h
3145 stub retained for back-compat.
3147 * libspi/keystrokelistener.c:
3151 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3153 * registryd/deviceeventcontroller.c:
3154 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3155 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3156 (DEControllerPrivateData): Added xkb settings data.
3157 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3158 button release events (which can't be captured via XGrabButton).
3159 Don't dispatch via the 'normal' event mechanism if the device event was
3161 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3162 Handle the typeseq data in its new location (see above).
3163 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3164 New methods, for "generic" device listeners.
3165 (spi_controller_register_device_listener):
3166 Now handle mouse event listeners as well as key listeners.
3167 (spi_controller_notify_mouselisteners):
3168 New internal method.
3169 (spi_device_event_controller_forward_mouse_event):
3170 Now we notify mouse device listeners as well as generating the
3171 non-consumable "mouse:" events.
3173 We must check and restore the XKB
3174 modifier map if we consume the event, since the act of triggering
3175 a mouse event will normally reset the XKB latch. This is required for
3177 (spi_controller_register_with_devices):
3178 Load the XKB settings when registering, and register for XKB
3179 state notify events.
3180 (spi_key_eventtype_seq_contains_event):
3181 Renamed spi_eventtype_seq_contains_event, since it's used
3182 internally for all device event types now.
3183 (spi_key_event_matches_listener):
3184 Uses spi_eventtype_seq_contains_event now.
3185 (spi_device_event_controller_object_finalize):
3186 Free the private data and the XkbKeyboard struct.
3187 (impl_register_device_listener, impl_deregister_device_listener):
3188 Implementation of new IDL.
3189 (spi_deregister_controller_device_listener):
3190 New internal method.
3191 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3192 More efficient implementation, we don't have to create a new
3193 XkbControls structure every time we query.
3194 (spi_device_event_controller_class_init):
3195 Initialize the epv entries for the new IDL. Assign the
3196 "spi-dec-private" quark.
3197 (spi_device_event_controller_init):
3198 Initialize the private data.
3199 (spi_device_event_controller_forward_key_event):
3200 Removed a bogus CORBA_exception_free() call.
3202 * registryd/deviceeventcontroller.h:
3203 Replaced inclusion of keystrokelistener.h with
3206 * test/event-listener-test.c:
3207 (report_mouse_event):
3210 Added mouse-event device listener.
3212 * test/test-simple.c:
3213 (create_test_window):
3214 Fixed regression (we were instantiating a GtkRange,
3215 which is now an abstract class). Also fixed to match
3216 existing AtkRole names, this seems to have changed in ATK
3217 awhile ago; too late now I think, and the new
3218 mechanism is at least elegant and consistent with the
3219 glib enum "nick" APIs.
3221 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3223 * idl/Accessibility_Relation.idl:
3224 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3225 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3226 * idl/Accessibility_Role.idl:
3227 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3228 * idl/Accessibility_State.idl:
3229 add STATE_MANAGES_DESCENDANTS
3230 * test/event-listener-test.c:
3231 Added a listener for active-descendant events.
3233 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3235 * atk-bridge/bridge.c
3236 (atk_bridge_init): If application is Bonobo component wait until top
3237 level is added before registering
3238 (spi_atk_bridge_do_registration): New function which contains code,
3239 formerly in atk_bridge_init, to do application registration.
3240 (spi_atk_bridge_toplevel_added): Signal called when top level
3241 added to Bonobo component
3243 This fixes bug #83134.
3245 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3247 * registryd/deviceeventcontroller.c
3248 Fixed compilation error caused by calling gettimeofday()
3251 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3256 Added template for HAVE_XKB.
3259 Changes to check for XKB, and to set the HAVE_XKB #define if it
3262 * libspi/listener.c:
3263 ()impl_notify_event): Make failure to get event source name
3266 * registryd/deviceeventcontroller.c:
3267 (#include): include X11/XKBlib.h.
3268 (DEControllerPrivateData) : New struct.
3269 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3271 (dec_synth_keycode_press) (dec_synth_keycode_release):
3272 New methods; split the key synthesis code into these methods.
3273 They check XKB settings before determining the "time" values to
3274 pass to Xtest; this fixes bug #95828.
3275 (impl_generate_keyboard_event): Changed to use methods above,
3276 instead of callng Xtest directly.
3277 (spi_device_event_controller_init): Initialize new privae struct s
3279 (spi_device_event_controllr_object_finalize):
3280 Free the (new) private data.
3282 * registryd/deviceeventcontroller.h:
3283 Add new gpointer to end of struct data.
3285 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3288 Incremented revision to 1.1.2, SONAME is still '.so', library
3289 extensions are ".so.0.0.2".
3291 * registryd/deviceeventcontroller.c:
3292 FIXES FOR #93592 and #95940.
3293 (statics): renamed mouse_button_state to mouse_mask_state,
3294 added key_modifier_mask.
3295 (spi_dec_poll_mouse_moved):
3296 Added key modifier checks, and emit "keyboard:modifiers"
3297 events when the key modifiers currently in use change.
3298 Also generate "mouse:abs" events periodically, even if the mouse
3299 is stationary (should we?).
3300 Alternatively we could generate "mouse:abs" events for either all
3301 mouse movements, or every 'nth' mouse movement, or at the
3302 beginning and end of every "active" mouse period.
3304 * test/event-listener-test.c:
3305 (main): Added listener for "keyboard:modifiers" events.
3307 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3309 * libspi/keymasks.h:
3310 Added key mask #defines for mouse buttons; e.g.
3311 SPI_KEYMASK_BUTTON1, etc.
3314 Incremented dependency on ATK to version 1.1.0. (This dependency
3315 is probably premature but will soon be real enough).
3317 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3319 * libspi/hyperlink.[ch]
3320 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3321 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3324 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3329 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3331 * registryd/deviceeventcontroller.c
3332 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3333 events to be ignored.
3334 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3335 keyboard_mode so that XAllowEvents() can be called.
3339 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3341 * cspi/spi-accessible.c: Correct names of roles returned by
3342 AccessibleRole_getName(). Fixes bug #95055.
3344 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3346 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3349 * registryd/registry.c
3350 (desktop_remove_application: Write diagnostic message to stderr for
3353 (impl_accessibility_registry_deregister_global_event_listener):
3354 Correct size of lists array. This addresses bug #94555).
3356 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3358 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3361 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3363 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3366 * registryd/registry.c (impl_registry_notify_event): Remove
3367 unnecessary call to parser_event_type().
3369 * docs/reference/cspi/tmpl/spi_component.sgml:
3370 Add reference to SPI_LAYER_WINDOW.
3372 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3374 * registryd/registry.c
3375 (desktop_add_application): Remove leak.
3376 (desktop_remove_application): Remove leak.
3377 (parser_event_type): Remove leak.
3379 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3381 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3382 bogus call to CORBA_string_dup(). Also removed unnecessary
3383 g_string_dup/g_free calls.
3385 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3387 * registryd/deviceeventcontroller.c:
3388 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3390 * test/event-listener-test.c:
3391 main: commented out three redundant listeners, to reduce output
3392 noise. (They still are potentially useful for testing).
3395 2002-09-13 Michael Meeks <michael@ximian.com>
3397 * Update all the copyrights to include Ximian.
3399 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3401 * cspi/spi.h: add SPI_LAYER_WINDOW.
3403 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3404 add Accessibility_LAYER_WINDOW case.
3406 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3408 * libspi/component.c: (impl_accessibility_component_get_layer):
3409 add ATK_LAYER_WINDOW case.
3411 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3413 * configure.in: incremented micro version.
3415 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3417 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3420 Clarified and reworded our commit policy.
3423 Started an API "todo" addition list for 2.2.
3426 (impl_getSelection):
3427 Free char pointer from atk_text_get_selection, which was being leaked.
3429 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3432 Small revision to author acknowledgement.
3434 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3436 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3437 If signal has detail add it to the type of the event.
3440 2002-08-12 Michael Meeks <michael@ximian.com>
3442 * test/test-simple.c (global_listener_cb): bin bogosity.
3443 (test_keylisteners): disable, still doesn't work reliably,
3444 certainly not on my system anyway.
3446 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3447 don't leak a reference on the DEC. This round-trip
3448 fetching of the DEC per keystroke sucks, it should be
3451 * cspi/spi-private.h,
3452 * cspi/cspi-lowlevel.h,
3453 * cspi/bonobo/cspi-bonobo-listener.[ch],
3454 * cspi/bonobo/cspi-bonobo.c: get the copyright
3455 notices better - there is still a large amount of
3456 work in at-spi falsely attributed solely to Sun.
3458 * cspi/spi_main.c (cspi_object_ref): kill bogus
3459 hash lookup, just increment the ref.
3460 (SPI_freeString): make explicit the fact that we
3461 handle NULL strings just fine.
3462 (report_leaked_ref): obey coding standards.
3463 (cspi_object_hash, cspi_object_equal): kill retval.
3464 (cspi_object_release): only release if not on loan.
3465 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3466 (cspi_object_borrow, cspi_object_return): impl.
3468 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3469 use cspi_object_borrow / return.
3471 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3473 * cspi/bonobo/cspi-bonobo-listener.c:
3475 Don't call cspi_oject_new() because this is creating a new Accessible
3476 every single time that an event is fired. This causes ATs like at-poke
3477 to nolonger recognise the source of the event and thus ignore it.
3478 Re-use the object from the cache, ref it and then unref it after the
3479 listeners have been called.
3481 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3483 * test/event-listener-test.c:
3484 Added command-line options to disable mouse events (m) and
3487 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3489 * configure.in: Update required versions of ATK, GTK+ and GAIL
3491 * cspi-1.0.pc.in: Add dependency for X include files
3494 * cspi/bonobo/Makefile.am:
3495 Add $(X_CFLAGS) so that X include files
3496 are picked up even if not in standard place (bug #71686)
3498 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3500 * registryd/deviceeventcontroller.c: fix for 84261
3501 (spi_dec_mouse_moved):
3502 Added test of mouse button mask, so that we can detect mouse
3503 button release. Unfortunately we can't otherwise detect mouse
3504 button release events without consuming the mouse press event,
3505 because of the way XGrabButton works. This means that our mouse
3506 release events have a latency dependent on the polling period
3507 while the mouse button is down. At least in this case we only
3508 have to poll while the button is down, and not at other times.
3509 If the button masks don't match with what the last press event
3510 reported, we report the appropriate button release event.
3511 (spi_dec_ungrab_mouse):
3512 New method (not yet called).
3513 (spi_device_event_controller_forward_mouse_event):
3514 New method, sends mouse press event from GdkFilter.
3515 (spi_dec_init_mouse_listener):
3516 Added code to call XGrabButton, redirecting mouse button events to
3517 the root window and our Gdk event loop.
3519 Added code to filter mouse button events, and reordered.
3521 * test/event-listener-test.c:
3523 Added registration for mouse events of type "mouse:button".
3525 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3527 * registryd/deviceeventcontroller.c: partial fix for 84261
3528 (spi_dec_poll_mouse_idle):
3529 New method, a timeout which checks to see if the mouse
3531 (spi_dec_poll_mouse_moving):
3532 A timeout to be called when mouse motion is underway.
3533 (spi_dec_poll_mouse_moved):
3534 A method which fires an event if the mouse has moved, and reports
3535 whether or not it did so.
3536 (spi_dec_init_mouse_listener):
3537 A method which sets up the timeouts above.
3538 (spi_device_event_controller_new):
3539 Now calls spi_dec_init_mouse_listener.
3541 * registryd/registry.c:
3542 (spi_registry_init):
3543 Now we initialize the device event controller when the registry is
3544 initialized, instead of waiting until a client has requested a key
3545 event notification; this is because we need the event controller
3546 for mouse events, but the mouse event registration API is a
3547 "registry" call and doesn't explicitly call the
3548 deviceeventcontroller.
3549 We now report mouse motion events with a 100 ms idle latency and
3550 a 20 ms granularity when motion is in progress.
3552 * test/event-listener-test.c:
3554 We now register the "detail listener" for events of type
3555 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3556 delivered only for the first mouse event received, and thereafter
3557 "mouse:abs" events are delivered.)
3559 * cspi/spi_registry.c:
3560 DOCS: Documented the above mouse event typestrings.
3562 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3564 Happy Summer Solstice...
3566 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3567 (spi_controller_notify_keylisteners):
3568 Changes to remove a listener from the listener list, freeing its
3569 open keygrabs, if a notification to that listener fails. This
3570 means that although a dead listener can continue to hold a passive
3571 keygrab, a maximum of one dispatch to such a listener can fail
3572 before the listener is removed from the list, thus the keygrab
3573 will be released on the next occurrence.
3574 As part of this fix:
3575 (spi_notify_keylisteners):
3576 Renamed to spi_controller_notify_keylisteners, as the controller
3577 instance must now be passed as an argument.
3578 The copied 'notify' GList is now a list of DEControllerKeyListener
3579 objects, since we need more than just the CORBA reference if a
3580 notify fails and we need to deregister the listener.
3581 (impl_notify_listeners_sync):
3582 (impl_notify_listeners_async):
3583 (spi_device_event_controller_forward_key_event):
3584 Modify use of notify_keylisteners in accordance with above
3586 (spi_deregister_controller_key_listener):
3587 New method introduced by refactoring, from
3588 impl_deregister_keystroke_listener.
3589 (impl_deregister_keystroke_listener):
3590 Call spi_deregister_controller_key_listener.
3591 (spi_key_listener_clone):
3592 New method to copy a key listner without doing a 'ref' on the
3593 remote object instance; used to create a notifier list.
3594 (spi_key_listener_data_free):
3595 New method, frees data without unreffing the source.
3597 (spi_key_listener_clone_free): new method.
3598 (spi_key_listener_free):
3599 refactored to call spi_key_listener_data_free.
3601 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3603 * registryd/registry.c: [fix for bug 86048]
3604 (notify_listeners_cb):
3605 Clear CORBA system exceptions which occur when notifying
3606 listeners, before returning to the source of the original event,
3607 since the event source doesn't care if the relayed notify failed.
3608 In other words, don't complain to the atk-bridge if the registry
3609 could not notify all its listeners, that's no fault of the
3610 application and thus should not appear to be an error from the
3611 application's perspective.
3613 * cspi/spi_main.c: [fix for bug 85980]
3615 Replaced use of bonobo_object_dup_ref with call to the wrapper
3616 method, csou_dup_ref (); this silences a compiler warning and
3617 provided more portability.
3619 Ping the registry before return, and restart if necessary.
3621 * cspi/bonobo/cspi-bonobo.c:
3623 New internal method.
3625 Fixed this method to return an object reference, as it should have
3628 * cspi/cspi-lowlevel.h:
3629 Added internal definition for cspi_ping() and fixed
3630 return type of cspi_dup_ref().
3633 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3635 * atk-bridge/bridge.c: [fix for bug 85305]
3636 (spi_atk_bridge_register_application):
3637 New method where the initial application registry calls have been
3638 moved; it allows an application to re-register in response to
3639 certain error conditions (such as a registry restart, see below).
3641 Moved some initialization code to the method
3642 spi_atk_bridge_get_registry, below.
3643 (spi_atk_bridge_get_registry):
3644 New, private accessor function for the Accessibility_Registry
3645 instance. If the registry has not been started before, or has
3646 died (as detected by failure of a CORBA exception), it is
3647 restarted before return, and spi_atk_bridge_register_application
3648 is called again to register with the new bridge instance.
3649 (spi_atk_emit_eventv):
3650 Set registry_died on error; use spi_atk_bridge_get_registry () to
3651 access the registry.
3653 * registryd/registry.c:
3654 (impl_accessibility_registry_register_global_event_listener):
3655 Set listener's event_type_quark to etype.minor instead of
3656 etype.major (fix for bug 84856).
3658 * test/event-listener-test.c:
3659 (report_detail_event):
3660 Change the output string so that user/tester can tell that the
3661 'detail listener' was called instead of the 'generic listener'.
3663 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3665 Fixes for bugs 84900, 84908, 84897, 84898.
3670 Revved version to 1.1.0
3671 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3672 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3674 * idl/Accessibility_Registry.idl:
3675 (EventListener::notifyEvent):
3676 Removed 'oneway' directive after extensive consulation with
3677 ORBit2 team and others. This means also that unref() of the event
3678 source can and should be done synchronously after emission, rather
3679 than remotely in the client, after servicing the notify call on
3682 NOTE: This change speeds up listener performance considerably, but
3683 introduces new latency on the application side. We may want to
3684 add an event queue to the atk-bridge.
3686 * atk-bridge/bridge.c:
3687 (spi_atk_bridge_focus_tracker):
3688 Do a local unref() on the event source after emission.
3690 * registryd/registry.c:
3691 (desktop_remove_application):
3692 Do an unref() on the event source after emission.
3693 (desktop_add_application):
3694 Do an unref() on the event source after emission.
3695 (notify_listeners_cb):
3696 When relaying an event, don't automatically add the event source
3697 to the local object cache, just CORBA_dup it instead. Likewise,
3698 if this method reenters, release the ref rather than calling
3700 (impl_registry_notify_event):
3701 No longer call remote unref() on the event source after dispatch.
3703 * libspi/eventlistener.c:
3704 (impl_accessible_event_notify_event):
3705 Removed remote unref ()
3707 * cspi/bonobo/cspi-bonobo-listener.c:
3709 We now call cspi_object_new() instead of cspi_object_add() on
3710 receipt of an event; thus we only have an implicit object ref
3711 while the cspi_event method is being executed. If we need to keep
3712 a reference to the object, the listener must call ref() on the
3713 object. Thus also we don't need to call cspi_object_unref() after
3714 invoking the listener callbacks in this method.
3718 New internal API for creating a new cspi object, without adding it
3719 to the object cache.
3721 Now uses cspi_object_new() to create the cspi object instance.
3723 Now checks to see if the object is in the internal object cache,
3724 and adds it if necessary before incrementing its refcount (note
3725 that new objects are added with a refcount of 1).
3726 (report_leaked_ref):
3727 New method which gives some information on leaked object instances
3728 if leak detection is turned on.
3730 * test/event-listener-test.c:
3731 (timing_test_event):
3732 New method, used for testing event delivery timing for special
3733 events of type "object:test". It reports elapsed time and
3734 events/sec every 500 events.
3736 Added a new listener, 'test listener', to check timing of event
3737 receipt as noted above.
3739 Added some timing output here also, reports elapsed time every 100
3742 * test/stress-test.c:
3743 Emit events of type "object:test", for use with "event-listener-test".
3745 * test/test-simple.c:
3746 (global_listener_cb):
3747 Call Accessible_ref() on the event source before calling
3748 validate_accessible, since the validation process does pointer
3749 comparisons on the event source, meaning that the event source
3750 needs to be added to the local object cache first. Any use of
3751 such pointer comparisons between Accessible objects requires that
3752 the caller hold an explicit reference to those objects.
3753 We also must therefore call Accessible_unref() when leaving this method.
3755 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3757 * registryd/deviceeventcontroller.c:
3758 (spi_controller_update_key_grabs):
3759 Fix for #84735, subsequent keygrab listeners not informed of
3760 registration failure.
3763 (spi_base_construct):
3764 Add an assertion on construct, to make sure the GObject passed in
3765 is really a GObject.
3767 Explicitly initialize object->gobj pointer to NULL;
3769 * cspi/bonobo/cspi-bonobo-listener.c:
3770 (cspi_object_add_ref):
3771 New method, can specify whether to dup-ref a bonobo object passed
3772 in if it's newly added to the object cache.
3774 Now calls cspi_object_add_ref with second param of "FALSE". This
3775 prevents us from doing a pointless dup-ref followed by
3776 release-unref for all those cases where the object is already in
3777 our object cache (fix for #85205).
3779 * atk-bridge/bridge.c:
3780 (spi_atk_bridge_idle_init):
3781 Removed this method, we don't need to initialize in an idle
3784 Changed to call spi_atk_register_event_listeners directly, not via an
3785 idle handler. (fix for #81139)
3786 (gnome_accessibility_module_shutdown):
3787 Removed conditional around deregistration of listeners, since we
3788 don't use the idle handler and thus have always registered when
3790 (spi_init_keystroke_from_atk_key_event):
3791 Changed references to Accessibility_KEY_PRESSED to
3792 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3794 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3796 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3801 * test/stress-test.c:
3804 (may have been an incomplete commit yesterday?)
3806 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3809 Added target for new stress-test.
3811 * test/stress-test.c:
3812 New test, sends 1000 focus notifies in quick succession.
3814 * test/key-listener-test.c:
3815 Now we report whether a keylistener registration
3816 request succeeded or failed.
3818 * test/event-listener-test.c:
3819 Uncommented some listeners which are now implemented.
3822 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3824 * registryd/deviceeventcontroller.c:
3825 (spi_controller_update_key_grabs):
3826 Fix for #82509, lack of failure notification when
3827 ALL_WINDOWS keygrabs fail due to XGrabKey
3828 failure: we synchronize the server when
3829 registering a passive grab, to make sure we get the
3830 error message before the call returns.
3832 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3834 * test/test-simple.c:
3836 Removed #ifdef KEY_IMPL_WORKS guards.
3837 (test_keylisteners):
3838 Removed #ifdef KEY_IMPL_WORKS guards.
3839 Fixed bug which was causing a hang waiting for a
3840 "press" event (which was already overwritten by a "release"
3841 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3843 Added code to set globals 'key_press_received' and
3844 'key_release_received'.
3847 Added section "1.1 API Proposed Additions" which
3848 lists API additions desired for at-spi-1.1 (only one so far).
3849 Updated TODO list a little.
3851 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3853 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3856 * configure.in: Revved to 1.0.0.
3858 * idl/Accessibility_Registry.idl:
3859 (registerKeystrokeListener):
3860 Added boolean return value.
3862 * registryd/registry.c:
3863 (notify_listeners_cb): Minor fix to debug output.
3865 * registryd/Accessibility_Registry.server.in.in:
3866 Revved version number in OAFIID to 1.0.
3868 * registryd/registryd.c:
3870 Use new OAFIID version.
3872 * cspi/bonobo/cspi-bonobo.c:
3874 Use new OAFIID version.
3880 * atk-bridge/bridge.c:
3882 Use new OAFIID version.
3884 * registryd/deviceeventcontroller.c:
3885 (impl_register_keystroke_listener):
3886 Added CORBA_boolean return value.
3887 (spi_controller_register_device_listener):
3888 Added gboolean return value.
3889 (spi_controller_register_global_keygrabs):
3890 Added gboolean return value.
3891 (spi_key_set_contains_key):
3892 Added implementation for many more control keys,
3893 for instance F1-F12, arrow keys, End, Home, Page_Up,
3895 [TODO: some still not implemented].
3897 * text/screen-review-test.c:
3898 (text_chunk_pad_string):
3899 New function: it provides mapping between coordinate
3900 positions of text chunks and character positions in the
3901 screen-review-line output string.
3902 (text_chunk_to_string):
3903 New function, calls text_chunk_pad_string with various
3904 pad/delimiter characters. Pushbuttons are delimited with
3905 square brackets, Frames with vertical 'pipe' lines, and
3906 other text with double quotes.
3907 (text_chunk_list_to_string):
3908 Calls new function text_chunk_to_string.
3909 (toplevel_composite):
3910 New function to composite layers CANVAS through
3911 POPUP in each toplevel (other layers are composited
3912 across toplevels, i.e. BACKGROUND and OVERLAY).
3913 (review_buffer_composite):
3914 Revise to use new methods.
3920 2002-05-31 Laszlo Peter <laca@sun.com>
3922 * configure.in: add the Xtst libdir to the runpath on Solaris,
3923 since it's not in the default library search path.
3925 2002-05-29 jacob berkman <jacob@ximian.com>
3927 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3929 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3931 * test/screen-review-test.c:
3932 (text_chunk_pad_string):
3933 Added method, which pads the string according to the
3934 text bounds of the chunk. It also takes a 3-character
3935 string as a param which indicates the characters to be
3936 used for start, padding, and end delimitation of the chunk.
3937 (text_chunk_to_string):
3938 Changed to use text_chunk_pad_string.
3940 * configure.in: Fixed bug in AC_OUTPUT that was
3941 causing path substitution in Accessibility_Registry.server
3944 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3946 * text/screen-review-test.c:
3947 (guess_string_clip):
3948 New method which attempts a best-guess at clipping
3949 text from components (like Java labels) which don't
3950 actually implement AccessibleText. This inaccurate
3951 clip is based on the assumption that the label is
3952 justified left-and-right, and monospaced.
3953 (text_chunk_get_clipped_string):
3954 We now call guess_string_clip() for text-containing
3955 components that don't implement AccessibleText.
3957 * test/screen-review-test.c:
3958 (review_buffer_get_text_chunk):
3959 We now pull "name" from labels if they do not implement
3960 AccessibleText (i.e. for Java labels).
3961 (get_screen_review_line_at):
3962 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3965 Replaceded AC_OUTPUT target
3966 registryd/Accessibility_Registry.server with
3967 registryd/Accessibility_Registry.server.in.
3969 * registryd/Accessibility_Registry.server.in:
3970 Removed (this is now a Makefile target).
3972 * registryd/Accessibility_Registry.server.in.in:
3973 Added (source for target above). We now use $(libexecdir) as
3974 prefix for the executable at-spi-registryd.
3976 * registry/Makefile.am:
3977 Now install at-spi-registryd into $(libexecdir), and build .server
3978 file with path (see above).
3980 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3982 * test/screen-review-test.c:
3983 (text_chunk_get_clipped_string):
3984 We now check to see if words fall within clip bounds
3985 before resorting to character-by-character clip bounds testing.
3987 * TODO: Added a section for "2.2 Proposed API Additions".
3989 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3991 * test/screen-review-test.c:
3993 Added a screen review benchmarking and test program to test
3996 * cspi/spi_accessible.c:
3998 Made some of the debug strings passed to cspi_check_ev a
3999 little more specific.
4001 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4003 * test/screen-review-test.c: Fix crashes in debug statements
4005 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4007 * test/screen-review-test.c: Added this file.
4009 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4011 * atk-bridge/bridge.c: changed "object:state-change" to
4012 "object:state-changed" to match docs.
4014 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4016 * atk-bridge/bridge.c: Hooked up state-change event details.
4018 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4020 * registryd/registry.c:
4021 Fixed quarking bug in event string parsing; now events with
4022 detail parameters get matched correctly to listeners.
4025 * util/idl/Magnifier.idl: remove.
4027 * util/*.[ch]: Remove.
4028 Magnification utilities and IDL are now in module gnome-mag.
4030 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4032 * registryd/deviceeventcontroller.c:
4033 Fixed bug in grab key conversion which was causing keycode grabs
4034 to be converted to AnyKey grabs.
4037 updated NEWS file to reflect recent spin-off of gnome-mag.
4039 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4041 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4042 busted AccessibleStateSet_compare. Removed redundant casts.
4044 * cspi/spi-action.c: Removed redundant casts.
4046 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4048 * cspi/spi_component.c: Fixed typos and casting error.
4050 * cspi/spi_editabletext.c: Removed redundant casts.
4052 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4054 * cspi/spi_hypertext.c: Eliminated redundant casts.
4056 * cspi/spi_image.c: Eliminated redundant casts.
4058 * cspi/spi_registry.c: Eliminated redundant casts.
4059 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4060 * cspi/spi_selection.c: Removed redundant casts.
4061 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4062 handling. Screen geometry and text offsets were being returned as 0
4063 on error which is technically valid-- changed these to return -1.
4064 Added marshaller for text boundary types to fix bug with boundary
4065 types being passed incorrectly to atk.
4067 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4070 * cspi/spi_registry.c:
4071 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4072 which was uncovered by the recent key changes.
4074 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4076 * test/event-listener-test.c:
4078 Added new test, "event-listener-test";
4079 this code does two things; it benchmarks traversal time
4080 for the accessible hierarchy for the first running accessible
4081 app, and it connects listeners for all supported event types.
4082 It is thus useful as an example event listener and for
4083 diagnostics/debugging of event generation.
4085 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4088 Removed unnecessary dependency on libutil.
4091 Revved micro version: 0.13.1
4093 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4096 Removed util/Makefile from targets.
4099 Removed util subdir from SUBDIRS (temporarily,
4100 pending removal of magnifier-only code
4104 #ifdef-ed out magnifier dependencies, since
4105 magnifier IDL, headers, and binary now live in
4106 module gnome-mag and we don't want at-spi to depend
4107 on gnome-mag. A magnifier demo which can run alongside
4108 simple-at is forthcoming in the gnome-mag module.
4110 NOTE: Split magnifier binary, IDL, and magnification
4111 activation code from at-spi into module gnome-mag.
4113 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4115 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4116 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4118 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4121 Revved to version 0.13.0
4123 * idl/Accessibility_Registry.idl:
4124 Changed definition of KeySet from sequence of longs to sequence of
4125 KeyDefinitions, and added KeyDefinition struct.
4126 Required for fix to bug 80616.
4128 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4129 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4130 to use new definition (see above).
4132 * registryd/deviceeventcontroller.c: handle_keygrab(),
4133 spi_keyset_contains_key():
4134 Changed to make use of new struct; this allows matching based on
4135 string key-name, for instance "Tab". This also allows matching of
4136 composed characters, non-alphanumeric characters in a way that
4137 doesn't involve dependencies on X keysym codes directly, etc.
4139 * test/key-listener-test.c:
4140 Added test for Alt-Tab key using "string" specification of keyset,
4141 and modified one of the tests to use a keycode-based keyset.
4142 Thus this test both tests and demonstrates the creation and use of
4143 keysets of three forms: specified via keycode array,
4144 keysym array, and string array. (The string case only contains a
4145 single string, i.e. a string array of length 1).
4148 Turned on PRINT_TREE option by default. Also fixed a
4149 string-freeing bug in the PRINT_TREE code.
4150 Added a listener to window:minimize events.
4152 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4154 * atk-bridge/bridge.c:
4155 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4156 for window:activate and window:deactiveate
4157 (atk_bridge_property_event_listener atk_bridge_signal_listener
4158 atk_bridge_window_event_listener) Tidy debug code
4160 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4162 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4163 Fixed handling for NULL return value from ATK.
4165 * libspi/action.c libspi/component.c libspi/editabletext.
4166 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4167 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4168 Removed redundant casts.
4170 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4171 Fixed off by one bug.
4173 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4174 function not present in idl)
4176 2002-05-02 jacob berkman <jacob@ximian.com>
4178 * atk-bridge/Makefile.am: make atk-bridge a real module
4180 2002-04-26 Radek Doulik <rodo@ximian.com>
4182 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4183 atk_state_types table
4185 2002-04-22 jacob berkman <jacob@ximian.com>
4188 * libspi/Makefile.am: add deps on the built files to help
4189 automake, and don't version the ORBit typelib
4191 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4193 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4194 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4195 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4196 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4197 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4198 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4199 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4200 libspi/accessible.h libspi/accessible.h libspi/base.h
4201 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4202 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4203 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4204 libspi/spi-private.h libspi/statetset.h libspi/table.h
4205 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4206 util/mag_client.h util/mag_control.c util/mag_image.c
4207 util/mag_image.h util/magnifier.c util/magnifier.h:
4208 Add missing file headers; standardize existing ones
4210 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4212 * atk-bridge/bridge.c: Added window event support.
4214 2002-04-18 Michael Meeks <michael@ximian.com>
4216 * libspi/relation.c (impl_getNTargets): impl.
4217 (impl_getTarget): impl.
4219 * libspi/Makefile.am: fix stateset install.
4221 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4224 Started putting useful info in this file.
4226 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4228 * atk-bridge/bridge.c:
4229 Propagate state-changed notifications to ATs
4231 * cspi/spi_registry.c: update docs to reflect actual behavior of
4232 state-change events.
4234 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4237 Incremented version to 0.12.1
4239 * util/mag_client.h:
4240 Add missing declaration for magnifier_exit,
4241 used by mag_control.c - Forte compiler didn't like
4242 the implicit redeclaration of the function :-(
4245 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4248 Revved version to 0.12 due to API change (see below).
4250 * cspi/spi-roletypes.h:
4251 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4252 definition from the inline docs, and added docs
4253 for SPI_ROLE_LAST_DEFINED.
4256 * cspi/spi_streamablecontent.c:
4257 Added missing seek_type parameter to
4258 (so far unused) method,
4259 AccessibleStreamableContent_seek().
4260 [ RT approval JodyG. ]
4263 Fixed docs for SPI_createAccessibleKeystrokeListener.
4265 * cspi/spi_registry.c:
4266 Fixed docs for SPI_KEYSET_ALL_KEYS.
4268 * docs/reference/cspi/at-spi-cspi-sections.txt:
4269 Added a number of missing APIs to SECTIONS.
4271 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4273 * registryd/Makefile.am:
4275 * cspi/bonobo/Makefile.am:
4276 Add $(X_LIBS) to makefiles.
4278 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4281 Revved version to 0.11.
4283 * libspi/component.c:
4284 Added implementation for grabFocus.
4286 * idl/Accessibility_Component.idl
4287 (Accessibility_Component_grabFocus):
4288 Made this method return boolean to indicate success or failure, to
4289 be consistent with cspi and the corresponding ATK method.
4291 * idl/Accessibility_Selection.idl
4292 (Accessibility_Selection_selectAll) :
4293 Made these methods return boolean to indicate success or
4294 failure, to be consistent with cspi and the corresponding ATK methods.
4296 * idl/Accessibility_EditableText.idl
4297 (Accessibility_EditableText_setTextContents,
4298 Accessibility_EditableText_insertText,
4299 Accessibility_EditableText_cutText,
4300 Accessibility_EditableText_deleteText,
4301 Accessibility_EditableText_pasteText):
4302 Made these methods return boolean to indicate
4305 * cspi/spi_editabletext.c:
4306 Made these methods return booleans.
4308 * libspi/selection.c:
4309 * libspi/component.c:
4310 * libspi/editabletext.c:
4311 Connected the boolean returns from ATK
4312 to the server-side code referenced above.
4314 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4316 * idl/Accessibility_Table.idl: Added missing methods,
4317 Accessibility_Table_addRowSelection,
4318 Accessibility_Table_addColumnSelection,
4319 Accessibility_Table_removeRowSelection,
4320 Accessibility_Table_removeColumnSelection.
4323 Added C wrappers for above IDL:
4324 AccessibleTable_addRowSelection,
4325 AccessibleTable_addColumnSelection,
4326 AccessibleTable_removeRowSelection,
4327 AccessibleTable_removeColumnSelection.
4330 Added server-side implementation code for IDL above, connecting
4331 to pre-existing ATK api.
4333 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4335 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4337 * libspi/accessible.c: Added implementation fo
4338 Accessibility_Accessible_get_state.
4340 * libspi/libspi.h: Added stateset.h to the list of includes.
4342 * libspi/stateset.c: Fixed broken implementation.
4344 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4347 Added implementation code for Accessibility_Magnifier_exit ().
4349 * util/mag_control.c:
4350 Added test code for above method; you can
4351 now kill an existing magnifier via
4352 ./mag_control q, from the util directory.
4354 * test/key-listener-test.c:
4356 Added a new test, for our key listener API.
4358 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4360 * test/app.c, test/keysynth-demo.c:
4362 Replace use of snprintf with g_snprintf.
4363 (fix for bugzilla 78249)
4365 2002-03-27 Michael Meeks <michael@ximian.com>
4369 * util/Makefile.am (INCLUDES): fix.
4370 (DONT_DIST_SOURCE): don't distribute the
4373 * libspi/Makefile.am (dist-hook): ditto.
4375 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4377 * libspi/hypertext.c:
4378 Fix warnings when yelp is used with atk-bridge
4380 2002-03-21 Michael Meeks <michael@ximian.com>
4382 * libspi/application.c (spi_application_new):
4383 use spi_accessible_construct so we use the AtkObject
4386 2002-03-19 Michael Meeks <michael@ximian.com>
4388 * registryd/registry.c (desktop_remove_application),
4389 (desktop_add_application): clean coding style.
4391 * registryd/desktop.c (spi_desktop_remove_application),
4392 (spi_desktop_add_application): kill re-enterency hazards.
4393 (spi_desktop_dispose): remove bogus redundant cast
4394 obscuring bug; fix bug too.
4395 (spi_desktop_init): make the desktop object immortal.
4397 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4400 Added a #define-guarded tree-traversal step
4401 when enumerating the apps (diagnostic tool).
4403 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4405 * idl/Accessibility_Role.idl:
4406 Added ROLE_DRAWING_AREA which seemed to be missing from the
4409 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4411 * cspi/spi-roletypes.h cspi/spi_accessible.c
4412 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4415 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4416 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4417 AT when applications are added and removed from the desktop. This
4418 reverts the previous broken implementation using the backing
4419 AtkObject for the SpiDesktop.
4421 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4423 * registryd/desktop.c: emit the "children-changed::add" and
4424 "children-changed::remove" signals on the backing ATK object for
4425 the desktop so AT can tell when applications are started and shut
4428 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4430 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4432 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4434 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4436 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4438 * cspi/state-types.h: synched with IDL and ATK
4440 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4442 * libspi/accessible.c
4443 (impl_accessibility_accessible_get_child_at_index):
4444 Change return value for g_return_if_fail ()
4445 to CORBA_OBJECT_NIL instead of "0" (!)
4447 * registryd/Makefile.am:
4448 * registryd/Accessibility_Register.server.in:
4449 Changed name of executable, "registryd",
4450 to something more informative:
4453 2002-03-13 Michael Meeks <michael@ximian.com>
4455 * atk-bridge/bridge.c (atk_bridge_init): don't register
4456 if we're in a bonobo-component, rather than a bonobo app.
4458 2002-03-13 Michael Meeks <michael@ximian.com>
4460 * atk-bridge/bridge.c (gtk_module_init): split
4461 out body to (atk_bridge_init): here, since otherwise
4462 we get symbol conflicts and oddness when invoked
4463 from (gnome_accessibility_module_init): here (upd.)
4465 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4468 New file. Explicitly allow "build sheriff" putbacks provided
4469 they are tested on Solaris.
4471 * docs/reference/cspi/Makefile.am:
4472 Added '-' to the "cp" command for index.sgml.
4473 ("patch by thomasvs, soon coming to a GUADEC near you")
4476 Incremented version number (0.9.0) for new release.
4477 Changed macro that checks for popt, to better detect
4478 obsolete versions of popt.
4481 Added X_LIBS to AC_SUBST, for applications
4482 that call Xlib API directly.
4485 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4488 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4491 Fix regression caused by hard-coding major
4492 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4495 * test/test-simple.c (test_editable_text),
4496 (test_test): revert previous change (error was
4497 a regression in gail which is now fixed).
4499 2002-03-04 Michael Meeks <michael@ximian.com>
4501 * test/test-simple.c (test_editable_text),
4502 (test_text): pass G_MAXINT instead of '-1' for
4503 whole string - is this a good thing !?
4505 * cspi/spi_accessible.c
4506 (Accessible_getRelationSet): fix crasher bug
4507 overwriting the end of the array.
4509 * test/test-simple.c (validate_accessible): free,
4510 not g_free returned relation set.
4512 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4514 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4515 implemented stateset support
4517 * idl/Accessibility_State.idl: Made necessary changes to
4518 the IDL to support state sets.
4520 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4522 * registryd/deviceeventcontroller.c:
4523 Added implementation for generateMouseEvent.
4525 * cspi/spi_registry.c:
4526 Connected new implementation for generateMouseEvent
4529 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4532 Incremented revision (but no change in public API
4533 outside of 'utils', which are not installed public yet.)
4535 * libspi/component.c:
4536 Changed to use atk_component API for layers and
4537 mdi_zorder, instead of deprecated atk_object API.
4539 Magnification Utility Enhancements:
4542 Added implementation of createZoomRegion, clearAllZoomRegions,
4543 resizeZoomRegion. Added new commandline argument
4544 "--no-initial-region". Note that clearAllZoomRegions doesn't
4545 unmap the old '0' region as it should (yet), and the other
4546 methods only work when creating/resizing a single region,
4547 which is "region 0".
4548 (Code for multiple region support will be added later.)
4551 Now we raise the magnifier window each time it's refreshed;
4552 this will help keep it on top.
4554 * util/mag_client.h:
4555 Added simple wrappers for above, used by mag_control.
4556 For general use, it's recommended to use the bonobo magnifier
4557 control API directly instead of using these wrappers.
4560 Moved ZoomRegionData from magnifier.c to this file.
4562 * util/mag_control.c:
4563 Added some code to exercise new IDL implementations.
4565 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4567 * libspi/text.c: Provide implementation for getAttributes.
4569 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4572 Incremented revision.
4574 * test/test-simple.c:
4575 Replaced use of deprecated g_main_iteration with
4576 g_main_context_iteration.
4578 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4581 Incremented revision for desktop alpha 2.
4583 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4585 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4588 * test/simple-at.c: include netinet/in.h.
4590 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4592 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4593 use NULL, not CORBA_OBJECT_NIL.
4595 * libspi/accessible.c:
4596 (impl_accessibility_accessible_get_relation_set):
4597 allocate the sequence correctly.
4599 * libspi/remoteobject.h: kill spi_remote_object_new.
4601 * test/test-simple.c: (validate_accessible): add code
4602 to test relation sets, now all we need is to figure
4603 out how to excercise this code path :/
4605 2002-01-18 Michael Meeks <michael@ximian.com>
4607 * test/test-simple.c
4608 (key_listener_cb): consume the key.
4609 (test_keylisteners): update.
4610 (main): wait for any pending unrefs on events.
4612 * registryd/deviceeventcontroller.c
4613 (spi_controller_update_key_grabs): only re-issue the
4614 grab on a key release.
4615 (spi_device_event_controller_forward_key_event):
4616 refresh the keygrabs before we notify the listeners,
4617 to reduce the X ungrab / re-grab race.
4618 (spi_controller_register_with_devices): remove
4619 XSelectInput - we do that with the gdk_window_ call.
4620 (_spi_controller_device_error_handler): return a value.
4621 s/GDK_DISPLAY/spi_get_display/
4623 2002-01-17 Michael Meeks <michael@ximian.com>
4625 * registryd/deviceeventcontroller.c
4626 (_deregister_keygrab): don't blow out the later
4629 * test/test-simple.c (test_keylisteners): do a
4630 more intelligent validation.
4632 2002-01-14 Michael Meeks <michael@ximian.com>
4634 * atk-bridge/bridge.c
4635 (gnome_accessibility_module_init),
4636 (gnome_accessibility_module_shutdown): impl.
4637 (gtk_module_init): protect vs. double inits.
4638 (add_signal_listener): impl.
4639 (spi_atk_bridge_state_event_listener): kill
4640 (deregister_application): split out of
4641 (spi_atk_bridge_exit_func): here.
4643 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4646 Added caret tracking when using magnifier, and
4647 now use text bounds for focus tracking of text elements, rather than
4648 the component bounds - this is helpful for short text fields in long
4649 table cells, at high magnification.
4651 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4653 * registryd/deviceeventcontroller.c:
4654 Regression fix for keylistener de-registration; global keygrabs
4655 were not being released when deregisterKeystrokeListener was
4656 called in cspi, since
4657 Accessibility_DeviceEventController_deregisterKeystrokeListener
4658 was called with a zero-length keyset. That is because the cspi
4659 method, SPI_deregisterKeystrokeListener, does not take a keyset
4660 parameter but instead should remove all the key grabs held be a
4662 The code in impl_deregister_keystroke_listener was changed to copy
4663 the keylist from the listener instance previously registered with
4664 the DeviceEventController before releasing the grabs.
4666 * registryd/registry.c:
4667 * registryd/deviceeventcontroller.c:
4668 * libspi/spi-private.h:
4670 Changed spelling of "re-enterant" to "re-entrant" globally.
4672 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4674 * test/test-simple.c:
4675 Changed key listeners test - the test was slightly mis-using the
4676 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4677 It now uses '=' as the key event listened to and generated,
4678 relying on a keysym match rather than assuming that keycode 33
4679 is always equal to keysym '!'.
4681 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4684 Changed simple-at to use a specific keyset, rather than
4685 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4686 manager, desktop, etc.
4688 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4690 * registryd/deviceeventcontroller.c:
4691 Replaced standard X error handler with a special handler that
4692 is non-fatal for failed keygrabs. This works around
4693 problems with keygrab clashes sometimes observed on
4695 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4696 mouse handling code as yet).
4698 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4701 Incremented revision for desktop alpha release.
4704 Fixed a couple of the more glaring errors (still not
4707 2002-01-11 Michael Meeks <michael@ximian.com>
4709 * registryd/deviceeventcontroller.c
4710 (spi_device_event_controller_forward_key_event): kill
4711 XUngrabKey / XKeyGrab race.
4712 (spi_controller_grab_keyboard): rename to
4713 (spi_controller_update_key_grabs): this, and deal
4714 with incremental adding / removing grabs more
4716 (_register_keygrab): ensure we're not pending a remove.
4717 (spi_grab_mask_free): impl.
4718 (spi_controller_register_global_keygrabs): split out
4720 (handle_keygrab): impl.
4721 (_deregister_keygrab): impl.
4722 (spi_controller_deregister_global_keygrabs): impl.
4723 (spi_controller_update_key_grabs): re-issue the grab if
4724 we just recieved a notification.
4726 * test/test-simple.c (key_listener_cb): remove debug.
4728 * registryd/deviceeventcontroller.c
4729 (spi_controller_register_device_listener): after
4730 registering a global keygrab, actualy register it !
4731 don't wait for a timeout; doh !
4733 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4734 to make it more readable / manipulable.
4735 s/grabmask/grab_mask/ s/refcount/ref_count/
4736 s/keyval/key_val/ s/modmask/mod_mask
4738 2002-01-08 Michael Meeks <michael@ximian.com>
4740 * registryd/deviceeventcontroller.c
4741 (spi_controller_register_with_devices): use gdk calls to
4743 (global_filter_fn): implement the filter.
4744 (spi_device_event_controller_check_key_event): rename to
4745 (spi_device_event_controller_forward_key_event): this & upd.
4746 (spi_get_display): replace with GDK_DISPLAY.
4748 * registryd/deviceeventcontroller.c
4749 (spi_controller_deregister_device_listener): unroll into
4750 (impl_deregister_keystroke_listener): here to simplify.
4751 (spi_controller_register_global_keygrabs): split cut and
4752 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4753 (spi_controller_deregister_device_listener): remove.
4754 (impl_register_mouse_listener): remove, no mouse listener
4755 support in at-spi-1.0
4757 * registryd/registry.c
4758 (_device_event_controller_hook): kill.
4759 (spi_registry_init): upd.
4761 * registryd/deviceeventcontroller.c
4762 (spi_device_event_controller_class_init): upd.
4763 (spi_check_key_event): merge into.
4764 (spi_device_event_controller_check_key_event):
4765 here and kill strange static ev init, don't leak
4766 the x_event - nor dynamicaly allocate it.
4768 * registryd/registry-main.c (main): re-direct
4769 timeout to remove strange vtable mess.
4771 * registryd/deviceeventcontroller.c
4772 (remove_listener_cb): impl.
4773 (spi_controller_deregister_device_listener):
4774 fix re-enterancy hazard.
4776 2002-01-07 Michael Meeks <michael@ximian.com>
4778 * registryd/deviceeventcontroller.c
4779 (spi_device_event_controller_new): upd.
4780 (impl_notify_listeners_sync): upd. debug.
4781 (spi_notify_keylisteners): fix re-enterancy hazards,
4782 prettify, remove O(n*n) iteration.
4783 (spi_controller_grab_keyboard): fix iteration.
4784 (spi_check_key_event): re-format to suit coding style.
4785 Clean all the warnings - we're warning free.
4787 * registryd/deviceeventcontroller.h:
4788 * registryd/registry.h: make mutualy referential with
4789 typesafe forward references instead of (!) void pointer
4792 2002-01-11 Michael Meeks <michael@ximian.com>
4794 * cspi/spi_accessible.c (role_names): add a role name
4795 to sync this array with the enum; and make the regression
4798 2002-01-10 Michael Meeks <michael@ximian.com>
4800 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4801 allow expansion of enumeration & kill warning.
4803 * test/test-simple.c (key_listener_cb): impl.
4804 (test_keylisteners): impl.
4806 * cspi/spi-listener.h: make listener signatures const
4807 on the provided (const) events.
4809 * test/keysynth-demo.c: upd. to const events.
4811 * test/simple-at.c: ditto.
4813 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4816 Rev the version to 0.5 (the previous tarball was named 0.4,
4817 even though the micro number was 3), so we need to rev upwards
4818 again for beta2/"desktop-alpha"
4821 Checked in a demo script, which requires editing before use!
4822 Proceed with caution.
4825 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4827 * cspi/spi_accessible.c:
4828 Add a couple of missing enum initializations, and fix some enum
4831 * cspi/spi_registry.c:
4832 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4834 * docs/reference/cspi/at-spi-cspi-sections.txt:
4835 Remove/fix a couple of broken document references.
4838 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4839 as Alt-Control to listen for commands, since on some systems
4840 Control-Alt may already be grabbed.
4842 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4845 Update version number to 0.4 for Beta2.
4847 * libspi/accessible.c, libspi/accessible.h:
4848 Expose spi_accessible_construct, to enable libgail-gnome
4849 construction from spi_accessible subtype.
4851 * utils/magnifier.c:
4852 Workaround for bug in some non-gnome-compliant window managers
4853 which made magnifier resize improperly.
4855 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4857 * libspi/accessible.c: (spi_accessible_new) :
4858 Move the test for SPI_IS_REMOTE_OBJECT to
4859 spi_accessible_new_return, fixing a bug and compile time warning.
4861 2002-01-08 Michael Meeks <michael@ximian.com>
4863 * registryd/registry.c (parse_event_type): remove strndup.
4865 * libspi/Makefile.am (libspi_la_SOURCES): remove
4866 sources already included in the headers section.
4868 * libspi/util.c: add.
4870 * libspi/spi-private.h: add.
4872 * registryd/registry.c: update to moved list iterators.
4874 2002-01-05 Michael Meeks <michael@ximian.com>
4876 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4878 * test/test-simple.c (main): ditto.
4880 2002-01-04 Michael Meeks <michael@ximian.com>
4882 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4883 redundant construct.
4885 * registryd/registry.c
4886 (get_listener_list): impl.
4887 (impl_accessibility_registry_register_global_event_listener):
4888 re-impl. to simplify using ~, remove dodgy const cast off.
4889 (parse_event_type): constify.
4890 (impl_accessibility_registry_deregister_global_event_listener_all):
4891 re-write, more efficiency and simplicity, kill re-enterancy
4893 (compare_listener_corbaref, compare_corba_objects),
4894 (compare_listener_quarks): define out.
4895 (impl_accessibility_registry_deregister_global_event_listener):
4896 re-write for effiency, and nail re-enterancy hazard.
4897 (impl_accessibility_registry_get_desktop_list): impl.
4898 (re_enterant_list_delete_link): impl.
4899 (re_enterant_list_foreach): impl.
4900 (remove_listener_cb): impl.
4901 (_registry_notify_listeners): kill.
4902 (notify_listeners_cb): impl.
4904 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4905 (SPI_getDesktopList): impl.
4907 * test/test-simple.c (test_desktop): test the methods.
4909 2002-01-03 Michael Meeks <michael@ximian.com>
4911 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4912 keystrings since we free them
4913 (SPI_freeAccessibleKeySet): in here.
4915 * libspi/accessible.c (spi_accessible_new): kill warning,
4916 wonder what is going on with the constructor here.
4918 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4920 * libspi/accessible.c (spi_accessible_new ()) :
4921 Added check to see if AtkObject is an SpiRemoteObject before
4922 creating an SpiAccessible.
4924 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4926 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4927 Enable keygrabs using the Control modifier, now that they are
4928 working properly (they were previously disabled).
4931 Change the command keygrab for this demo to "Control+Alt", so as
4932 to conflict with fewer other key commands on the system; this
4933 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4935 Removed a pointlessly-chatty keylistener for unshifted keys
4936 (shifted keys are still reported).
4938 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4940 * libspi/remoteobject.h:
4941 * libspi/remoteobject.c:
4942 Added definitions for special AtkObject subtype, required for
4943 support of remote components (specifically, used by BonoboControl
4944 accessibility implementation).
4946 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4948 * cspi/spi.h: synched relation types with ATK
4950 * cspi/spi_accessible.c: Added implementations of
4951 AcccessibleRelation_* methods
4953 * idl/Accessibility_Relation.idl: added getRelationTypeName
4954 method. Synched known relation types with ATK. Allowed for
4955 relation type extension with the RELATION_EXTENDED type.
4957 * libspi/relation.c: Provided implementations for
4958 AccessibleRelation methods.
4960 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4962 API tweaks for today's API 'freeze'.
4965 Added placeholder functions to allow future compatible expansion
4966 of the IDL interfaces.
4968 * idl/Accessibility_Registry.idl:
4969 Changed generateKeyEvent to generateKeyboardEvent. Changed
4970 signature of this method to accept an optional keystring in
4971 parameter (for complex text input synthesis) and changed use of
4972 simple 'boolean' parameter in registerKeystrokeListener to a
4973 struct, EventListenerMode.
4975 * cspi/spi_accessible.c:
4977 * cspi/spi_streamablecontent.c:
4978 Added references to AccessibleStreamableContent interface, and
4979 definition and implementation of AccessibleStreamableContent
4982 * cspi/spi_registry.c:
4984 Changed generateKeyEvent API to generateKeyboardEvent,
4985 taking a new (optional) keystring parameter to support complex
4990 Renamed directory (to better reflect its actual purpose, bridging
4991 from at-spi to ATK). The .so module is also now named
4994 * idl/Accessibility_Hypertext.idl:
4995 * libspi/accessible.c:
4996 * libspi/hypertext.h:
4997 * libspi/hypertext.c:
4998 Changed Accessibility_Hypertext to *not* derive from
5001 * cspi/spi_registry.c:
5002 Added list of legal event type names for 'window' events, which
5003 completes the registry event API.
5005 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5007 * at-bridge/bridge.c: Added registration for separate
5008 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5009 signals. If either of the first two parameters to the generic
5010 bridge signal handler are ints, they are passed on as event
5011 details. This allows an AT to determine what text was inserted.
5013 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5015 * registryd/deviceeventcontroller.c:
5016 Fixed regressions in generateKeyEvent caused by the removal of
5017 gdk_init from registryd; we now use pure X calls to connect to the
5018 display, which makes sense because deviceeventcontroller already
5019 uses a fair bit of X API (should eventually be migrated to a
5020 'portability layer').
5022 * registryd/desktop.c:
5023 Fixed minor regression in spi_desktop_init, changed the way the
5024 desktop name is being set to work with new spi_base API
5025 (gobject-based, rather than AtkObject-based).
5027 * registryd/Makefile.am:
5028 Minor revision of makefile to use XTST_LIBS variable rather than
5029 hard-wiring the Xtst LD_ADD element.
5031 * test/keysynth-demo.c:
5032 Tweaked an output message; added initialization of the
5033 'keystrings' member of the "switch listener" key_set.
5035 * libspi/relation.c:
5036 Squashed compile-time warning.
5038 * libspi/accessible.c:
5039 Cosmetic and formatting fixes, renamed a static method.
5041 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5043 * libspi/accessible.c
5045 * libspi/application.c
5048 * libspi/component.c
5049 * libspi/editabletext.c
5050 * libspi/hyperlink.c
5051 * libspi/hypertext.c
5053 * libspi/selection.c
5057 * registryd/desktop.c:
5058 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5060 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5062 * idl/Accessibility_Registry.idl:
5063 Added boolean member 'is_text' to DeviceEvent. This is for the
5064 use of key events, and helps prevent ambiguity between composed
5065 key strings and keysym names, since both may potentially be
5066 returned in the 'event_string' member.
5068 * at-bridge/bridge.c:
5069 * registryd/deviceeventcontroller.c:
5070 Use the 'is_text' member when notifying device event listeners.
5071 Knon issue: composed characters are not dealt with correctly by
5072 the global key listener implementation yet.
5074 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5076 * at-bridge/bridge.c:
5077 Namespaced local static methods to spi_atk_bridge_* where
5078 previously named bridge_*, and spi_* elsewhere.
5080 * at-bridge/bridge.c:
5081 * cspi/bonobo/cspi-bonobo-listener.c:
5082 Added demarshalling/conversion for string member of
5083 Accessibility_DeviceEvent to AccessibleKeystroke.
5085 * registryd/deviceeventcontroller.c:
5086 Added code to fill the Accessibility_DeviceEvent key string value
5087 member for global key events (i.e. from XGrabKey), to match
5088 behavior of Accessibility_DeviceEvent from the toolkit key events
5089 from the bridge. Fixed timestamp in global key event notifications.
5092 Added printout of key event's string value to
5093 report_ordinary_key_event, for demo/debugging purposes.
5095 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5097 * idl/Accessibility_Registry.idl:
5098 Removed Accessibility_KeyStroke structure in favor of generic
5099 Accessibility_DeviceEvent structure.
5100 Changed Accessibility_ControllerEventMask from a struct to an
5103 * at-bridge/bridge.c:
5104 Changed APIs to use DeviceEvent structure as above, and removed
5105 bogus casting between these event structures.
5107 * cspi/spi-listener.h:
5108 Added keystring member of AccessibleKeystroke structure, to enable
5109 matching on event "names" rather than only hardware codes and
5113 Added keystrings member of AccessibleKeySet struct, to allow
5114 matching on event names (as above).
5115 Added declarations for SPI_createAccessibleKeySet and
5116 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5117 event modmasks directly as unsigned ints rather than structs with
5118 refcounts, in the DeviceEventController methods.
5120 * cspi/spi_registry.c:
5121 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5123 * cspi/spi-roletypes.h:
5124 Added documentation of newly added SPI Roles.
5126 * cspi/bonobo/cspi-bonobo-listener.c:
5127 Changes in support of API changes above.
5129 * libspi/accessible.c:
5130 Converted APIs to use DeviceEvent structure (see IDL changes
5133 * registryd/deviceeventcontroller.c:
5134 Added DEControllerGrabMask structure to track keygrabs not only by
5135 modmask but by keyset as well; this allows us to do "global"
5136 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5137 grabbing on AnyKey and then filtering after-the-fact.
5138 Bugfixes for event filtration mean that we don't get false matches
5139 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5141 * registryd/deviceeventcontroller.c:
5142 Namespaced a number of static methods to use spi_ prefix. Major
5143 revision to internals of global (i.e. X) key grabs.
5145 * registryd/deviceeventcontroller.h:
5146 Removed keymask_list and added keygrabs_list to
5147 SpiDeviceEventController struct.
5150 Added use of SPI_createAccessibleKeySet API when creating a
5151 listener for only one key. Attach a listener to "shift spacebar
5152 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5153 X key event names to SPI key event names, so that listeners are
5154 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5156 * test/keysynth-demo.c:
5157 Changed (incorrect) use of X key event names (KeyPressed,
5158 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5161 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5163 * libspi/accessible.c:
5164 Convert all AtkRole enumerations to Accessibility_Role enums when
5165 getting a role from an AtkObject.
5167 * cspi/spi_accessible.c:
5168 Complete the conversion of Accessibility_Role enums at runtime to
5169 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5170 role enums correctly match those given in spi-roletypes.h.
5171 Re-synchronize the local names list for AccessibleRole_getName ().
5172 AccessibleRole_getName is now deprecated, since it duplicates the
5173 more reliable Accessible_getRoleName.
5174 Added some role types from Accessibility_Role.idl.
5176 * idl/Accessibility_Role.idl:
5177 Added some role types used by AtkRole.
5179 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5182 * cspi/spi_registry.c:
5184 * cspi/cspi-bonobo-listener.c:
5185 Namespaced all methods that did not begin with an "SPI_" or
5186 "Accessible" prefix to "SPI_".
5189 Homogenized internal function namespace to "cspi_" for statics.
5192 Patched tests to use the new CSPI API.
5194 * docs/reference/cspi/at-spi-cspi-sections.txt:
5195 Updated docs to reflect namespace changes, and added a number of
5196 methods to the documentation.
5198 * registryd/registry.c:
5199 Changed use of strings and string hashes in listener event
5200 matching and parse_event_string to use GQuark, which is guaranteed
5203 * registryd/registry.h:
5204 Squashed annoying warning.
5206 * idl/Accessibility_Role.idl:
5207 Extended range of available Accessibility_Role values.
5209 * cspi/spi_accessible.c:
5210 Re-ordered role names.
5212 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5214 * idl/Accessibility_Value.idl:
5215 Revert use of union back to CORBA_double, since the double type is
5216 more efficient and can contain the other types without loss of
5219 * idl/Accessibility_Accessible.idl:
5220 Added method Accessibility:Accessible:getRoleName, to complement
5221 Accessibility:Accessible:getRole.
5223 * cspi/spi_accessible.c:
5225 Added C binding for above, Accessible_getRoleName (), and changed
5226 signature of Accessible_getRole () to return an AccessibleRole.
5228 * cspi/spi-roletypes.h:
5229 Changed AccessibleRole_getName to return a char * instead of a
5230 const char *. This method is now at least temporarily deprecated
5231 in favor of asking Accessibles for their RoleNames directly.
5234 Revert to match Accessibility_Value.idl;
5238 Change signature of AccessibleValue methods to use double rather
5242 * cspi/spi_accessible.c:
5243 Changed Accessible_getRole to return an AccessibleRole enum rather
5244 than a UTF-8 string. The UTF-8 string can still be obtained via
5245 AccessibleRole_getName ().
5247 * test/test-simple.c:
5248 Add test_action. Small fixup to match API change to Accessible_getRole.
5251 Bugfix for get_action_from_servant ().
5253 2001-12-11 Michael Meeks <michael@ximian.com>
5255 * libspi/libspi.h: remove registry.h and
5256 desktop.h, deviceeventcontroller.h
5258 * libspi/Makefile.am: remove registry.[ch],
5259 desktop.[ch], deviceeventcontroller.[ch]
5261 * registryd/Makefile.am: add registry.[ch],
5262 desktop.[ch], rename registryd.c to registry-main.c.
5263 add deviceeventcontroller.[ch]
5265 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5268 Replace setenv() call with putenv ().
5270 * libspi/component.c:
5271 Bugfix in AccessibleComponent_getExtents (),
5274 2001-12-11 Michael Meeks <michael@ximian.com>
5276 * libspi/image.c (impl_getImageExtents): impl.
5277 (spi_image_class_init): upd.
5280 (AccessibleImage_getImageDescription): fix daft bug
5283 * test/test-simple.c (global_listener_cb): update
5284 to only quit if not --poke
5285 (main): catch --poke.
5286 (validate_accessible): upd. dumping, call test_image
5289 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5292 * idl/Accessibility.idl: update all IDL includes.
5294 * idl/*.idl - rename to namespace - this sucks, blame
5295 mjs' bad decision for oafd.
5297 * test/test-simple.c (create_test_window): add more tests.
5298 (create_tree): split this out.
5299 (validate_accessible): bugfix.
5301 2001-12-11 Michael Meeks <michael@ximian.com>
5303 * cspi/bonobo/cspi-bonobo-listener.c:
5304 (cspi_kestroke_listener_unref),
5305 (cspi_event_listener_unref): impl. undoing previous
5306 homenous environment - for Bill.
5308 * cspi/spi_table.c (long_seq_to_array): use
5311 * cspi/spi_main.c: split out all bonoboish bits into
5314 * cspi/spi-impl.h: upd. typedefs.
5316 * cspi/spi_registry.c: update to lowlevel API,
5317 return booleans to indicate success in some places.
5319 * cspi/spi_event.c: update to lowlevel API.
5321 * cspi/bonobo/Makefile.am: add.
5323 * cspi/bonobo/cspi-lowlevel.h: add
5325 * cspi/bonobo/cspi-bonobo.c: add
5327 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5329 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5330 (SUBDIRS): add bonobo, link in the libs.
5332 * cspi/spi-util.c: kill this file.
5334 * TODO: merge in my bits.
5336 2001-12-11 Michael Meeks <michael@ximian.com>
5338 * test/test-simple.c (test_value, test_table, main):
5339 remove unused variables causing warnings.
5341 * configure.in: cleanup checks - require gail.
5343 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5346 Changed Value interface to use SValue (scalars) rather than
5347 assuming all values are floats. This allows floats, doubles,
5348 longs, shorts, and unsigned values to be manipulated.
5349 Introduced Accessibility:SValue union.
5352 Updated to use new API above, and to work correctly with GValues
5353 of different types in AtkValue.
5356 Updated to use new API above. cspi's API is as yet unchanged.
5359 Updated the Value revision action item.
5361 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5363 * test/test-simple.c:
5364 Added test_table (GtkTreeView widget in test window to follow).
5365 Un-commented test_value, added GtkRange widget.
5366 Added GtkTreeView widget with GtkListStore. It passes regression
5367 test but leaks one SPI object for some reason.
5370 Fixed bug in impl__set_currentValue.
5372 2001-12-10 Michael Meeks <michael@ximian.com>
5374 * cspi/spi_text.c: audit for exception handling,
5375 tolerating NULL object references safely etc.
5377 * cspi/spi_value.c: ditto.
5379 * cspi/spi_table.c (AccessibleTable_getSummary),
5380 (AccessibleTable_getAccessibleAt),
5381 (AccessibleTable_getRowHeader),
5382 (AccessibleTable_getColumnHeader),
5383 (AccessibleTable_getCaption): fix bugs hidden by
5385 (long_seq_to_array): impl.
5386 (AccessibleTable_getSelectedRows),
5387 (AccessibleTable_getSelectedColumns): use it.
5389 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5392 Added a TODO list (rough and short for now).
5394 * cspi/spi_hyperlink.c:
5395 * cspi/spi_hypertext.c:
5396 Fixed macro name typos, and remove use of obsolete macro in
5397 AccessibleHyperlink_getLink.
5399 * cspi/spi_action.c:
5400 * cspi/spi_accessible.c:
5401 * cspi/spi_application.c:
5402 * cspi/spi_component.c:
5403 * cspi/spi_selection.c:
5406 Documentation fixes (removed return values from ref/unref methods).
5408 2001-12-10 Michael Meeks <michael@ximian.com>
5410 * cspi/spi_action.c: audit for exception handling,
5411 tolerating NULL object references safely etc.
5413 * cspi/spi_accessible.c: ditto.
5415 * cspi/spi_component.c: ditto.
5417 * cspi/spi_editabletext.c: ditto.
5419 * cspi/spi_hyperlink.c: ditto.
5421 * cspi/spi_hypertext.c: ditto.
5423 * cspi/spi_image.c: ditto.
5425 * cspi/spi_selection.c: ditto.
5427 2001-12-10 Michael Meeks <michael@ximian.com>
5429 * configure.in: use cspi/libspi.pc.in instead.
5431 * Makefile.am (pkgconfig_DATA): upd. to match.
5433 * test/simple-at.c (report_focus_event): kill hacks around
5434 bad return values, use putenv not setenv
5436 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5437 fire ChildGone - I killed it.
5439 * libspi/component.c
5440 (impl_accessibility_component_get_extents): remove
5443 * idl/Accessible.idl: kill ChildGone exception.
5445 * cspi/*.[ch]: kill int return from ref / unref.
5447 * cspi/spi_main.c (cspi_object_add_check): fold into
5448 (cspi_object_add): here.
5450 * cspi/spi_component.c (AccessibleComponent_getExtents):
5451 handle exceptions elegantly.
5453 * cspi/spi-private.h (cspi_check_ev_return),
5454 (cspi_return_if_fail): impl.
5456 * cspi/spi_accessible.c: use extensively.
5457 (AccessibleStateSet_equals): add direct compare check.
5459 * cspi/spi_selection.c: tolerate NULL objs, and check
5460 exceptions before return.
5462 * cspi/spi-util.c (cspi_warn_ev): rename to
5463 (cspi_check_ev): this & don't pass ev in; no point.
5465 2001-12-10 Michael Meeks <michael@ximian.com>
5467 * test/test-simple.c: use putenv not setenv
5468 (get_environment_vars): more chatty if you're not using
5471 * test/simple-at.c: do the setenv so more people see the
5474 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5476 * libspi/registry.c:
5477 Changed check of CORBA_environment on notification to be a warning
5478 instead of an error for the moment, since we can recover from this
5479 error when caused by a queued notification from a dead app.
5482 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5483 used by all current implementors of AtkValue), and coerce to
5484 CORBA_float. (Proper general case fix may require change to Value.idl).
5486 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5490 * cspi/spi_accessible.c:
5491 Documentation fixes: added user_data params to documentation for
5492 listeners and callbacks.
5494 * cspi/spi_accessible.c:
5495 Changed AccessibleStateSet_compare to return a
5496 StateSet rather than return the difference set into a third parameter.
5499 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5502 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5503 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5507 Remove subdirectory po from SUBDIRS for now.
5509 * at-bridge/bridge.c:
5510 Beefed up a couple of debug printouts.
5511 One-line fix for signal notification name formatting.
5513 * libspi/accessible.c:
5514 Added assertion to spi_accessible_new ().
5516 * libspi/application.c:
5517 Put #ifdef qualifiers around a printf.
5520 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5522 * registryd/Makefile.am:
5524 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5525 INTLTOOL_SERVER_RULE macro.
5528 Added an event listener for several ATK signals, for
5529 testing and debugging. Removed a few g_warnings.
5530 Added test output if focussed item implements the Value interface.
5532 * test/test-simple.c:
5533 Added test_value () function (known not to pass at the moment, so
5534 not actually called yet.
5536 2001-12-08 Michael Meeks <michael@ximian.com>
5538 * at-bridge/bridge.c (bridge_focus_tracker),
5539 (emit_eventv): fix the same ref. leak.
5540 (register_atk_event_listeners): don't leak.
5542 * cspi/spi-listener-impl.c (cspi_event): more
5543 protection from client code.
5545 * test/test-simple.c (test_desktop): unref the app.
5547 * test/Makefile.am: upd. TESTS.
5549 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5551 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5553 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5555 * cspi/spi_registry.c: constify in strings.
5556 (deregisterGlobalEventListenerAll): don't release the ref.
5558 * cspi/spi.h: start removing redundant / conflicting
5559 gtkdoc comments, making the API readable at a glance :-)
5561 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5563 * test/keysynth-demo.c (keysynth_exit, main): upd.
5565 * test/simple-at.c (main, simple_at_exit): upd.
5567 * test/test-simple.c (unutterable_horror): kill.
5568 (utterable_normal_derefs): kill.
5569 (main): upd & do a setenv before gtk_init, so that we
5570 can use memprof - and to save the pain of remembering
5571 this, if we're running under memprof - don't exit.
5573 * cspi/spi_main.c (SPI_exit): return exit status
5575 (SPI_event_quit): impl.
5576 (SPI_event_main): simplify.
5577 (cspi_is_gnome_app): kill.
5578 (SPI_init): kill isGNOMEapp arg.
5580 * at-bridge/bridge.c (register_atk_event_listeners):
5581 re-instate the unref.
5582 (bridge_exit_func): don't re-activate the registry,
5583 protect vs. theoretical re-entry, use the
5584 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5585 assert a clean shutdown - for regression tests.
5587 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5589 * configure.in: Comment out dummy i18n support for now,
5590 otherwise it fails to build.
5591 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5592 EXTRA_DIST. They are missing in tarball.
5594 2001-12-07 Michael Meeks <michael@ximian.com>
5596 * util/magnifier.c: kill bonobo activation reg. race.
5598 * libspi/component.c
5599 (impl_accessibility_component_get_extents): make it match
5602 * libspi/registry.c (_registry_notify_listeners):
5603 re-remove X headers & reconcile conflicts.
5604 (spi_listener_struct_free): bad conflict resolve.
5605 (impl_accessibility_registry_register_application):
5606 more bad merging fixed.
5607 (impl_accessibility_registry_deregister_application): ditto.
5608 (spi_registry_new): ditto.
5609 (spi_registry_init): don't have an applications field.
5611 [ merge fixups2 branch to here ]
5612 2001-12-07 Michael Meeks <michael@ximian.com>
5614 * test/simple-at.c (report_focus_event),
5615 (report_focussed_accessible): remove g_warning debug.
5617 2001-12-07 Michael Meeks <michael@ximian.com>
5619 * test/test-simple.c (validate_tree): comment out some checks.
5620 (test_desktop): app now not registered idly - horay.
5622 2001-12-07 Michael Meeks <michael@ximian.com>
5624 * cspi/spi_registry.c
5625 (registerAccessibleKeystrokeListener): clean, stop it leaking
5626 great swathes of memory, and device event controller references.
5627 ensure we always pass valid sequences.
5628 (deregisterAccessibleKeystrokeListener): ditto.
5629 (generateKeyEvent): upd.
5631 * at-bridge/bridge.c (bridge_key_listener): handle
5632 registry dead exception gracefully.
5633 (bridge_focus_tracker, emit_eventv): free ev.
5635 * test/simple-at.c (report_focus_event): fix polarity.
5637 * libspi/application.c (notify_listeners): kill the ev
5638 argument, and make sure we init the ev we use.
5639 (spi_application_object_event_listener): split out a chunk
5640 (get_atk_object_ref): here & fixup.
5641 (reverse_lookup_name_for_toolkit_event): make const.
5642 (spi_application_toolkit_event_listener): fixup, kill leaks
5645 * at-bridge/bridge.c (register_atk_event_listeners):
5646 don't unref the noop object - causes grief.
5648 * libspi/registry.c: remove the X headers.
5649 turn off the debug churn.
5651 * libspi/accessible.c (spi_accessible_new_return): only
5652 release the ref if we are supposed to [doh]
5654 * test/simple-at.c (report_button_press, report_focus_event):
5655 guard vs. unexpected exit.
5657 * at-bridge/bridge.c (gtk_module_init): prune printf.
5658 (bridge_exit_func): fix app unref.
5660 * libspi/Makefile.am: don't install registry or desktop.h
5662 * libspi/*.h: update includes.
5664 * libspi/application.h: don't include ourself, or
5665 other redundant headers.
5667 2001-12-06 Michael Meeks <michael@ximian.com>
5669 * libspi/accessible.c
5670 (get_accessible_from_servant): impl.
5671 Upd. all CORBA impl.s to use it killing cut and paste.
5673 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5675 (SPI_init): register atexit cleanup handler here.
5677 2001-12-06 Michael Meeks <michael@ximian.com>
5679 * at-bridge/bridge.c (gtk_module_init): g_error on
5680 activation exception
5682 2001-12-06 Michael Meeks <michael@ximian.com>
5684 * at-bridge/bridge.c (gtk_module_init): some sort of
5685 confusing merge clash - reverted.
5686 (bridge_idle_init): ditto.
5688 * test/test-simple.c (main, utterable_normal_derefs):
5689 merge from Bill - somehow not committed.
5691 2001-12-06 Michael Meeks <michael@ximian.com>
5693 * libspi/value.c (spi_value_class_init): upd.
5694 (spi_value_finalize): kill.
5696 * libspi/table.c (spi_table_finalize): kill.
5697 (spi_table_interface_new): upd.
5698 (spi_table_class_init): upd.
5699 (get_table_from_servant): impl.
5700 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5702 * libspi/selection.c (spi_selection_finalize): kill.
5703 (spi_selection_interface_new): upd.
5704 (spi_selection_class_init): upd.
5705 (get_selection_from_servant): impl.
5706 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5708 * libspi/relation.c (spi_relation_finalize): kill.
5709 (spi_relation_class_init, spi_relation_new): upd
5711 * libspi/image.c (spi_image_finalize): kill.
5712 (spi_image_class_init): upd.
5713 (spi_image_interface_new): upd.
5714 (get_image_from_servant): impl.
5715 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5717 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5718 (spi_hyperlink_finalize): kill.
5719 (spi_hyperlink_new): upd.
5720 (get_hyperlink_from_servant): impl.
5721 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5723 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5724 (spi_hypertext_finalize): kill.
5725 (spi_hypertext_class_init): upd.
5726 (get_hypertext_from_servant): impl.
5727 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5729 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5730 (spi_editable_text_interface_new): upd.
5731 (get_editable_text_from_servant): impl.
5732 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5734 * libspi/text.c (get_text_from_servant): impl.
5735 All impls - update to use it killing more cut and paste,
5736 also fix bad string returns on duff args ( a somewhat
5737 impossible case to handle - but hey ).
5738 (spi_text_construct): impl.
5739 (spi_text_interface_new): upd.
5740 (spi_text_object_finalize): kill.
5742 * libspi/component.c
5743 (accessibility_component_object_finalize): kill.
5744 (spi_component_class_init): upd.
5745 (get_component_from_servant): impl. helper to kill cut & paste.
5746 (impl_accessibility_component_contains):
5747 (impl_accessibility_component_get_accessible_at_point):
5748 (impl_accessibility_component_get_position):
5749 (impl_accessibility_component_get_extents):
5750 (impl_accessibility_component_get_mdi_z_order):
5751 (impl_accessibility_component_get_layer):
5752 (spi_component_interface_new): upd.
5754 * libspi/action.c (spi_action_finalize): kill.
5755 (spi_action_class_init): upd. inherit from SpiObject.
5756 (spi_action_interface_new): upd.
5757 (get_action_from_servant): impl. helper to reduce cut & paste.
5758 (impl_getKeyBinding, impl_getName, impl_doAction),
5759 (impl_getDescription): Use it everywhere.
5761 * cspi/spi_main.c (get_live_refs): a pointer hash.
5762 (spi_object_hash, spi_object_equal): comment out.
5763 There are issues with CORBA object hashing that need
5766 * libspi/application.c (spi_application_init),
5767 (spi_application_new): upd.
5769 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5770 (spi_accessible_class_init): upd.
5771 s/accessible/object/ in epv methods.
5773 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5775 * at-bridge/bridge.c:
5776 Reorder the bridge initialization into the bridge gtk_module_init,
5777 an immediate call to bridge_register_app, and an idle_add for
5778 register_atk_event_listeners (the only code that *must* wait until
5779 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5780 the activation, creates the application's Accessible object, and
5781 queues the bridge_idle_init function. Restored call to
5782 Accessibility_Registry_deregisterApplication().
5783 Prior to making this call we obtain a new reference to the
5784 registry, which is a temporary hack that helps us handle apps that
5785 shut down the bonobo mainloop before we get there.
5787 * libspi/registry.c:
5788 Fix string leakage in debug block, and don't segv if a an app
5789 dies before its event notifications have been propagated.
5792 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5793 as stopgap measure until we get proper exception handling when
5794 objects die during or before interrogation.
5798 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5799 Also changed default value of is_gnome_app to TRUE.
5802 * test/keysynth-demo.c:
5803 Changed use of SPI_init and SPI_event_main to reflect API change above.
5806 Made report_focus_event check the warning value from getName
5807 before reporting on focussed accessible; simplifies handling of
5808 notifications from dead objects.
5810 * test/test-simple.c: (Changes not in this patch since source is
5813 2001-12-05 Michael Meeks <michael@ximian.com>
5815 * registryd/registryd.c (main): protect against
5816 bonobo-activation startup race condition.
5818 * cspi/spi_main.c (cspi_object_add_check): cope
5819 with the exception elegantly.
5821 * idl/Accessible.idl: decl. ChildGone
5823 * libspi/desktop.c (spi_desktop_dispose): impl.
5824 (spi_desktop_class_init): upd.
5825 (spi_desktop_add_application),
5826 (spi_desktop_remove_application),
5827 (abnormal_application_termination): impl.
5828 (impl_desktop_get_child_at_index): re-impl.
5831 (impl_accessibility_registry_deregister_application),
5832 (impl_accessibility_registry_register_application):
5833 kill excessive debug clutter.
5835 * test/test-simple.c (test_misc): test some NULL
5836 tolerance. (main): upd.
5838 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5839 implements no interfaces - so let's not crash.
5841 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5843 * libspi/accessible.c (spi_accessible_new_return): impl.
5844 helper to calm the cut and paste, to cope with
5845 NULL AtkObjects effectively and efficiently, and to kill
5846 the referencing bugs.
5848 * libspi/table.c (impl_getAccessibleAt),
5849 (impl_getRowHeader, impl_getColumnHeader): upd.
5851 * libspi/hyperlink.c (impl_getObject): upd.
5853 * libspi/accessible.c
5854 (impl_accessibility_accessible_get_child_at_index): upd.
5856 * libspi/component.c
5857 (impl_accessibility_component_get_accessible_at_point): upd.
5859 * test/test-simple.c (test_editable_text, test_text): impl.
5862 * cspi/spi_editabletext.c
5863 (AccessibleEditableText_insertText): constify.
5865 * test/test-simple.c (focus_me): make more robust.
5867 * libspi/accessible.c: remove some printfs in methods that
5868 we test and work fine, so we can get a clean tree dump.
5870 * test/test-simple.c (validate_accessible),
5871 (validate_tree): make tree dumping pretty too.
5873 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5874 it builds without debug on.
5876 * test/test-simple.c (validate_accessible): fix the most
5879 * cspi/spi_main.c (spi_object_release): leave the nicely
5880 blanked memory around if in debug mode.
5882 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5884 [committed to fixups2]
5885 2001-12-05 Michael Meeks <michael@ximian.com>
5887 * libspi/editabletext.c
5888 (spi_editable_text_class_init): g_type_class_peek_parent,
5889 not interface peek - so we finalize cleanly.
5891 * libspi/accessible.c (spi_accessible_new): kill debug.
5893 * test/test-simple.c (validate_accessible): fix ref.
5894 leak, print strings before freeing them; sigh, comment a
5895 chunk out due to strangeness.
5896 (validate_tree): unref the child after use.
5898 * cspi/spi_component.c (AccessibleComponent_getLayer):
5899 add missing break statement, switch on zlayer not the
5900 uninitialized retval.
5902 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5903 before (possibly re-entering) remote unref.
5905 * test/simple-at.c (main): unref the desktop.
5907 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5910 * cspi/spi_main.c (cspi_accessible_is_a): here to
5911 isolate bonobo API usage more.
5913 * libspi/registry.c (impl_accessibility_registry_register_application):
5914 prune bogus comment.
5916 2001-12-04 Michael Meeks <michael@ximian.com>
5918 * test/test-simple.c (validate_tree): upd.
5919 IndexInParent check to make it more lucid.
5920 (validate_accessible): dump the tree.
5922 * libspi/accessible.c (de_register_public_ref),
5923 (get_public_refs): impl.
5924 (spi_accessible_new): make more efficient & intuitive.
5925 Now IndexInParent check works.
5927 2001-12-04 Michael Meeks <michael@ximian.com>
5929 * cspi/spi-util.h: remove.
5931 * cspi/spi.h: move SPI_freeString here
5933 * libspi/component.c (impl_accessibility_component_get_layer):
5935 (impl_accessibility_component_get_mdi_z_order): ditto,
5936 return -1 on error - is this ok ?
5938 * test/test-simple.c (test_application): impl.
5940 * cspi/spi_accessible.c (Accessible_getApplication),
5941 (Accessible_isApplication): impl.
5943 * libspi/registry.c (spi_listener_struct_free): release
5944 the CORBA reference too.
5946 * libspi/accessible.c
5947 (impl_accessibility_accessible_get_parent): fix ref leak.
5949 * libspi/registry.c (spi_registry_new): make the registry
5950 immortal - we don't want it to go away ever.
5952 * libspi/application.c
5953 (spi_accessible_application_finalize): impl. cleanup.
5955 * cspi/spi_registry.c
5956 (deregisterGlobalEventListenerAll),
5957 (deregisterGlobalEventListener),
5958 (deregisterAccessibleKeystrokeListener): fix ref leak.
5960 * cspi/spi_main.c (SPI_init): remove redundant ref.
5962 * test/test-simple.c (unutterable_horror): impl. to force a
5967 (impl_accessibility_registry_deregister_application): release
5968 the application when we de-register it.
5970 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5971 until we have the infastructure to get it right.
5973 2001-12-03 Michael Meeks <michael@ximian.com>
5975 * libspi/Makefile.am: only build eventlistener.[ch]
5977 * libspi/accessible.c
5978 (impl_accessibility_accessible_get_child_at_index): don't leak.
5980 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5981 before we hit the idle handler.
5983 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5984 debugging than exit.
5986 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5988 * libspi/listener.c (impl_notify_event): check source
5989 not NIL before unref.
5991 * libspi/registry.c (impl_registry_notify_event): ditto.
5993 * libspi/eventlistener.c
5994 (impl_accessible_event_notify_event): unref the source.
5996 * libspi/accessibleeventlistener.c
5997 (impl_accessible_event_notify_event): unref the source.
5999 * idl/Event.idl: remove 'hash_id' attribute - of no
6002 * libspi/application.c (notify_listeners): upd list
6004 (spi_application_object_event_listener),
6005 (spi_application_toolkit_event_listener): upd to do correct
6009 (_registry_notify_listeners): update.
6010 (parse_event_type): this method also leaks like a sieve.
6011 (impl_accessibility_registry_deregister_global_event_listener):
6012 fix ETYPE_WINDOW case.
6014 * libspi/application.c
6015 (impl_accessibility_application_register_object_event_listener):
6018 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6020 * libspi/hypertext.c (impl_getLink): ditto.
6022 * cspi/spi_main.c (cspi_object_add): remove
6023 bogus CORBA_Object_duplicate.
6025 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6028 * cspi/spi_accessible.c
6029 (Accessible_getRelationSet): fix leak / referencing issue.
6031 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6032 (cspi_object_add, cspi_object_unref): upd.
6033 (spi_object_release, get_live_refs): impl.
6034 (cspi_cleanup): simplify.
6036 * *.[ch]: s/boolean/SpiBoolean/
6038 * cspi/spi_accessible.c (role_names): actualy order so it
6039 corresponds with the enum !
6041 * test/test-simple.c (test_roles): check some role strings
6042 vs. enums to detect offset errors.
6044 2001-12-01 Michael Meeks <michael@ximian.com>
6046 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6048 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6050 (Accessible_getChildAtIndex): use cspi_add_check so we
6051 check the ev before using a (possibly) invalid value.
6053 * libspi/accessible.c
6054 (impl_accessibility_accessible_get_parent): don't segv
6057 * at-bridge/bridge.c (gtk_module_init): upd.
6058 (bridge_property_event_listener): don't leak strings
6060 (bridge_state_event_listener),
6061 (bridge_property_event_listener): don't use a static
6062 buffer in case of recursive event emission &
6063 re-enterancy - split out the swathe of cut and paste
6065 (emit_eventv): and fix 2 ref leaks here & comply to the
6067 (bridge_register_app): rename to
6068 (bridge_idle_init): this and kill arg parsing, split
6069 various inits & bonobo-activation registration to module
6070 init time, kill referencing error.
6071 (bridge_exit_func): fix the same leak.
6072 (bridge_focus_tracker): don't leak event structures
6074 (bridge_signal_listener): more leakage and cut & paste
6076 (bridge_key_listener): return the result - FIXME is
6077 this polarity correct ?
6078 (accessibility_keystroke_from_atk_key_event): rename
6079 (accessibility_init_keystroke_from_atk_key_event): and stop
6081 (gtk_module_init): return a value - not that it is checked by
6083 (bridge_key_listener): register my horror at casting between
6084 IDL defined structs.
6085 (bridge_get_registry): kill - not used.
6087 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6089 * test/test-simple.c (test_roles): impl.
6090 (test_desktop, validate_accessible, validate_tree): impl.
6092 * cspi/spi_accessible.c (role_names): fixup bogus
6093 MAX_ROLES setup, make constants const for efficient linkage
6094 (AccessibleRole_getName): conform to coding style, make
6097 2001-11-30 Michael Meeks <michael@ximian.com>
6099 * cspi/spi.h: add missing prototype.
6101 * libspi/registry.c (spi_listener_struct_new): fix sig.
6103 * test/Makefile.am: add test-simple
6105 * test/test-simple.c: add
6107 * test/test.sh: add.
6109 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6111 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6112 do it straight - since otherwise we often get an activation race.
6114 [ work before Bill duplicated a chunk of it ... ]
6115 2001-11-30 Michael Meeks <michael@ximian.com>
6117 * libspi/keystrokelistener.c
6118 (spi_keystroke_listener_class_init): fixup arg
6121 * libspi/eventlistener.c
6122 (spi_event_listener_class_init): ditto.
6124 * tests/test.sh: add.
6126 * cspi/spi-listener-impl.h: update macros.
6128 * cspi/spi-listener-impl.c
6129 (cspi_event_listener_remove_callback): add
6130 correct pre-conditions.
6132 * cspi/spi_main.c (SPI_exit): guard vs. double
6133 exits, exit the mainloop nicely.
6134 (SPI_event_main): make more sense.
6135 (SPI_init): move the atexit evilness here so we
6136 always do it (yuck).
6137 (SPI_event_main): upd.
6139 * test/simple-at.c: update for listener changes.
6141 * registryd/registryd.c (main): prune kruft.
6143 * libspi/libspi.h: upd.
6145 * libspi/eventlistener.[ch]: rename broken macros.
6147 * libspi/accessibleeventlistener.[ch]: remove.
6149 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6151 * test/test-simple.c: Add - automated tests.
6153 * cspi/spi-listener-impl.c (cspi_event),
6154 (cspi_key_event): add user_data to invoke.
6155 (cspi_keystroke_listener_finalize): impl.
6156 (cspi_keystroke_listener_class_init): upd.
6159 (createAccessibleEventListener),
6160 (AccessibleEventListener_addCallback),
6161 (createAccessibleKeystrokeListener),
6162 (AccessibleKeystrokeListener_addCallback): upd.
6164 * libspi/deviceeventcontroller.c
6165 (spi_device_event_controller_check_key_event): add public proto.
6168 (impl_accessibility_registry_deregister_global_event_listener):
6169 always init listeners.
6170 (_registry_notify_listeners): yes it is.
6172 * cspi/spi-listener-impl.c (cspi_key_event):
6174 (cspi_event_listener_finalize): impl.
6175 (cspi_event_listener_class_init): hook up.
6176 (event_handler_new, event_handler_free),
6177 (event_list_remove_by_callback): impl.
6178 (cspi_event_listener_remove_callback),
6179 (cspi_keystroke_listener_remove_callback),
6180 (cspi_keystroke_listener_add_callback),
6181 (cspi_event_listener_add_callback): upd.
6183 * libspi/keystrokelistener.c
6184 (keystroke_listener_object_finalize): kill
6185 (spi_keystroke_listener_class_init): upd.
6186 (spi_keystroke_listener_add_callback),
6187 (spi_keystroke_listener_remove_callback): kill,
6189 (impl_key_event): prune drasticaly.
6191 * libspi/eventlistener.c
6192 (spi_event_listener_add_callback),
6193 (spi_event_listener_remove_callback): kill, use
6195 (impl_accessible_event_notify_event): upd.
6196 (spi_event_listener_object_finalize): remove.
6198 * libspi/Makefile.am: use eventlistener.[ch]
6200 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6202 * libspi/registry.c (_registry_notify_listeners):
6203 Changed listener loop iteration to use preferred convention.
6204 Got rid of string memory leaks caused be calling g_strconcat
6205 inside function calls.
6207 * libspi/registry.c (parse_event_type):
6208 Stopped g_strconcat memory leaks, free the g_strsplit return,
6209 g_strdup the split pieces when used, etc.
6211 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6214 Change method 'compare' to return a 'difference set' rather than
6215 taking a StateSet as an out parameter (more Java-friendly).
6217 * idl/Accessible.idl:
6218 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6220 * idl/Component.idl:
6222 Changed methods 'getExtents' and 'getImageExtents' in these
6223 interfaces to return a BoundingBox structure.
6224 (getPosition and getSize are redundant and possibly should be
6225 removed, rather than creating a corresponding Point struct.)
6227 * cspi/spi_component.c:
6228 Modify implementation of getExtents to reflect the above IDL
6233 Add (missing) AccessibleImage_getExtents () API.
6235 * docs/reference/cspi/at-spi-cspi-sections.txt:
6236 Added AccessibleImage_getImageExtents () to docs.
6238 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6240 * idl/Component.idl:
6241 Added two methods, getLayer () and getMDIZOrder (), to reflect
6242 the new ATK methods atk_object_get_layer and
6243 atk_object_get_mdi_z_order. (Which arguably should be part of the
6244 AtkComponent API and AtkObject). Also added an enum,
6245 ComponentLayer, for the first method's return value.
6247 * libspi/component.c:
6248 Added implementations for these methods.
6250 * cspi/spi_component.c:
6252 Added cspi binding methods for above,
6253 AccessibleComponent_getLayer() and
6254 AccessibleComponent_getMDIZOrder().
6255 Added cspi enum 'AccessibleComponentLayer'.
6257 * docs/reference/cspi/at-spi-cspi-sections.txt:
6258 Added above methods to docs.
6262 Changed typedef for 'boolean' type (and all references to it) to
6263 SPIBoolean, to avoid keyword clashes with C++.
6266 Changed usages of 'boolean' to SPIBoolean.
6268 * test/keysynth-demo.c:
6269 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6270 app), except where SPIBoolean is required by the callbacks API.
6272 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6274 * cspi/spi_registry.c:
6275 Removed obsolete X event loop for passive keygrabs (which now
6278 * registryd/registryd.c:
6279 Removed unnecessary call to gdk_init() [cruft]. This also allows
6280 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6283 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6285 * docs/reference/cspi:
6286 Included docs for SPI_freeString in generated documentation.
6289 Renamed spi_freeString to SPI_freeString, for consistency. Added
6290 documentation for this function.
6293 Renamed spi_freeString to SPI_freeString, for consistency.
6294 Removed obsolete method declaration string_from_corba_string.
6296 * test/keysynth-demo.c:
6297 Small tweak to comments.
6300 Stopped leaking the strings returned from CSPI.
6302 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6304 Merged Michael's branch (see his ChangeLog entries below).
6306 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6307 bridge is alive, release on exit.
6309 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6310 Fix type check macro.
6313 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6316 Added is_gnome_app static, and method cspi_is_gnome_app(),
6317 so we can call the appropriate shutdown routine at exit in SPI_exit.
6319 * cspi/spi_main.c (cspi_object_ref):
6320 Duplicate the corba object passed in, since we're keeping it around.
6322 * cspi/SPI_exit.c, cspi_cleanup:
6323 Moved the releasing of the live refs to its own function, so we
6324 can put it in g_atexit (). Call the appropriate shutdown API
6325 depending on whethe calling client is a gnome app or not
6326 (bonobo_main_quit or CORBA_ORB_shutdown).
6328 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6329 Unref the listener when this method is called, after
6330 deregistration. Updated the API docs to note this behavior.
6332 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6333 Bugfixes: Ref the bonobo object when returning a parent or child
6334 reference, or an AccessibleRelation. Generally made sure
6335 BonoboObject refcount is incremented whenever we return an
6338 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6339 Fixed typo/bug in signal declaration.
6341 * libspi/accessibleeventlistener.h:
6344 * libspi/application.c (spi_application_new):
6345 Fixed leak in initialization.
6348 Remembered to increment bonobo-object refcount when returning
6349 children (applications) from desktop object.
6350 Added (empty) finalize method.
6352 * libspi/deviceeventcontroller.c:
6353 Hold a ref to listeners inside DEControllerKeyListeners.
6354 Added dec_key_listener_free() method. Use prepend instead of
6355 append in key_listener list. Fixed some refcount madness and
6356 leaks in the listener registration/deregistration - deregistration
6357 now calls dec_key_listener_free() on listeners, and on the
6358 temporarily constructed dec_key_listener() used to perform the search/match.
6360 * libspi/hypertext.c (spi_hypertest_finalize):
6361 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6362 class. Also fixed spi_hypertext_interface_new() and
6363 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6365 * libspi/hypertext.h:
6366 Removed pointless and duplicate AtkObject pointer from
6369 * libspi/keystrokelistener.c:
6370 Fixed incorrect type of keystroke_listener_parent_class,
6371 renamed keystroke_listener_object_finalize to
6372 spi_keystroke_listener_object_finalize.
6373 Fixed typo in signal declaration
6374 (spi_keystroke_listener_class_init).
6376 * libspi/registry.c:
6377 Added funcsions spi_listener_struct_new() and
6378 spi_listener_struct_free() to help with memory management issues.
6379 We also now use these methods instead of gnew + poking stuff into
6380 the struct, and to decrement listener counts/free the listeners
6381 when deregistering them.
6382 Fix more refcount bugs in getDesktop() and
6383 getDeviceEventController().
6386 De-ref the desktop after enumerating the applications. Explicitly
6387 decrement the refcounts on the created listeners on exit (using
6388 _unref for keystroke listeners, and via the
6389 deregisterGlobalEventListenerAll command for other event
6392 2001-11-27 Michael Meeks <michael@ximian.com>
6394 * cspi/spi-listener.h: fixup enum.
6396 2001-11-27 Michael Meeks <michael@ximian.com>
6398 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6399 (cspi_keystroke_listener_new): Use the cspi variants.
6401 2001-11-26 Michael Meeks <michael@ximian.com>
6403 * test/keysynth-demo.c: fix 2 compile warnings, missing
6406 * test/simple-at.c (report_focussed_accessible),
6407 (report_focus_event, report_button_press),
6408 (check_property_change, is_command_key),
6409 (report_ordinary_key_event, report_command_key_event): upd.
6411 * util/mag_client.h: include pre-requisites.
6413 * libspi/accessibleeventlistener.c
6414 (spi_event_listener_object_finalize): free any lingering
6417 * libspi/keystrokelistener.c
6418 (keystroke_listener_object_finalize): ditto.
6420 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6421 callbacks, with cspi types.
6423 * cspi/spi_event.c (createAccessibleEventListener): chain to
6424 (AccessibleEventListener_addCallback): here.
6425 (createAccessibleKeystrokeListener): chain to
6426 (AccessibleKeystrokeListener_addCallback): here.
6428 * libspi/keystrokelistener.c
6429 (spi_keystroke_listener_class_init): add signal.
6430 (impl_key_event): emit the event.
6431 (boolean_handled_accumulator): impl.
6432 (marshal_BOOLEAN__POINTER): add, gack.
6434 * libspi/accessibleeventlistener.c
6435 (spi_event_listener_class_init): add signal.
6436 (impl_accessible_event_notify_event): emit the signal &
6437 make the loop efficient.
6438 (spi_event_listener_add_callback): prepend the callback.
6440 * libspi/accessibleeventlistener.h: add an 'event' signal,
6441 decl type on callback.
6443 * libspi/keystrokelistener.h: ditto.
6445 * cspi/spi-listener.h: make methods typesafe and
6446 make them use the new event typedefs.
6448 * test/simple-at.c (report_focussed_accessible):
6449 include mag_client.h
6450 Use *(void *)text_interface not the other thing.
6452 * configure.in: add gtk to registryd bits - since we use
6455 * util/magnifier.c: include libbonobo.h
6457 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6459 * test/keysynth-demo.c:
6460 Turned this into a simple scanning keyboard, to demonstrate the
6461 use of g_timeout_add () as a means of creating timers for
6462 scanning, and the use of GtkStyle for visually indicating when
6463 virtual keyboard elements are selected.
6465 keysynth-demo now listens to any keyboard keys with zero-valued
6466 keycodes (i.e. 'unused' keys) and interprets them as
6469 Reworked the shiftlatch code so that shift-down state isn't held
6470 for long periods (it's only synthesized immediately prior to
6471 the keysynth event it's modifying). Note that shiftlatch in this
6472 demo is a convenience, not intended to take the place of AccessX
6473 which is the better choice for getting 'sticky' modifier keys.
6475 * libspi/deviceeventcontroller.c:
6476 * at-bridge/bridge.c:
6477 * cspi/spi_registry.c:
6478 Removed some debug print stuff, and put other verbosity in #ifdef
6483 Implemented some more of the magnifier IDL for the simple
6484 magnifier: namely, getZoomRegionParams.
6485 Added mag_x and mag_y members to MagnifierData struct, aid of this
6487 Added GtkWindow::realize signal handler to magnifier, to keep it
6488 from receiving keyboard focus from the WM.
6490 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6492 * cspi/spi-private.h: my guess at what michael forgot
6493 before he ran off to NZ :-)
6495 2001-11-23 Michael Meeks <michael@ximian.com>
6497 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6498 comment out non existant method invoke so we link.
6500 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6501 use bonobo_exception_get_text for more friendly warnings.
6503 * cspi/spi.c (Obj_Add): move into spi_main & rename
6504 spi_object_add; kill spi.c
6506 * cspi/spi_registry.c
6507 (deregisterGlobalEventListener),
6508 (deregisterGlobalEventListenerAll),
6509 (registerGlobalEventListener): fix exception leaks.
6511 * cspi/spi_main.c (spi_exception): impl. helper, so we
6512 don't leak exceptions.
6514 * cspi/spi_selection.c
6515 (AccessibleSelection_deselectSelectedChild): return the
6518 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6519 (spi_registry): ditto.
6520 (SPI_init): guard against double inits.
6522 * cspi/*.c: use spi_ev (), and spi_registry () where
6523 appropriate - a temporary hack until we have something
6524 better. Use spi_object_add
6526 2001-11-22 Michael Meeks <michael@ximian.com>
6528 * cspi/Makefile.am: re organise, install the headers.
6530 * cspi/*.h: add G_BEGIN/END_DECLS
6532 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6535 Added non-preemptive keylistener for key events with no modifiers
6536 and shift-only modifier.
6538 * libspi/keystrokelistener.c:
6539 Removed some verbose diagnostics printout.
6541 * cspi/spi_registry.c:
6542 Fixed a bug that caused all key listeners to be registered as
6545 * libspi/deviceeventcontroller.c:
6546 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6547 for non-preemptive key masks.
6550 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6552 * docs/reference/idl/at-spi-idl-docs.sgml:
6553 * docs/reference/idl/at-spi-idl-sections.txt:
6554 * docs/reference/idl/at-spi-idl-overrides.txt:
6555 Added missing files.
6557 * docs/reference/Makefile.am:
6558 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6559 to scan the IDL files :-(
6564 Added .cvsignore files.
6566 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6568 * libspi/deviceeventcontroller.c:
6569 * libspi/keystrokelistener.c:
6571 * cspi/spi_registry.c:
6572 Added filters for KeySets, KeyEventSeq, and event types to key
6573 event dispatching, so listeners should only receive those events
6574 that they requested :-)
6576 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6581 * docs/reference:Makefile.am:
6582 * docs/reference/cspi:
6583 * docs/reference/cspi:Makefile.am:
6584 * docs/reference/cspi:tmpl:
6585 * docs/reference/cspi:tmpl:*.sgml:
6586 * docs/reference/idl:
6587 * docs/reference/idl:Makefile.am:
6588 * docs/reference/idl:at-spi-idl-sections.txt:
6589 * docs/reference/idl:at-spi-idl-docs.sgml:
6590 * docs/reference/idl:tmpl:
6591 * docs/reference/idl:tmpl:*.sgml:
6593 Restructured docs directory to allow separate 'reference' docs
6594 section, and forked idl and cspi docs. Added the sgml template
6595 files to CVS. Added the first sections/structural sgml for the
6598 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6600 * configure.in, libspi/Makefile.am: find libXtst.
6602 2001-11-21 Michael Meeks <michael@ximian.com>
6604 * test/accessx-gui.c: s/spi_value/value/ - doh.
6606 * libspi/base.[ch]: add.
6608 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6610 * idl/Accessible.idl:
6611 * idl/Application.idl:
6614 Started gtk-doc cleanup on IDL.
6616 * libspi/deviceeventcontroller.c:
6617 Added and connected non-preemptive key notification from the
6618 toolkits (in addition to the pre-emptive support from XServer
6619 which we had before, but which causes 'focus flashing'). Filters
6620 are presently limited to key modifiers and global/non-global,
6621 KeySets are presently ignored, as are KeyEvent masks.
6623 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6624 structs into the persistant structure rather than just storing
6625 pointers to things that might not persist across servant
6628 The XGrabKey call now does async keygrabs, because synchronous
6629 ones were deadlocking with GDK_event code in a very nasty way.
6631 Added boolean to internal method notify_keylisteners, to indicate
6632 whether the event came from the 'toolkit source' or the 'global
6633 (XServer) source' - this is used in the notification process to
6634 determine which listeners to send the event to.
6636 deviceeventcontroller.c is now warning-free.
6638 * libspi/registry.c:
6639 Fixed regression in application de-registration.
6640 Also fixed some really brain-dead weirdness having to do with
6641 event dispatching - event structs are now duplicated before being
6642 re-marshalled in the dispatch to listeners. This also fixes a
6643 Solaris build problem.
6646 2001-11-20 Michael Meeks <michael@ximian.com>
6649 (impl_accessibility_registry_deregister_global_event_listener):
6652 * libspi/deviceeventcontroller.c
6653 (spi_device_event_controller_check_key_event): return
6654 FALSE on no virtual method.
6656 * libspi/*..h: make includes work on a correctly pathed install.
6658 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6660 * libspi/application.h: kill unused ( and whacked out )
6661 gboolean *spi_application_set_id (AtkObject *app, long id);
6663 2001-11-20 Michael Meeks <michael@ximian.com>
6665 * libspi/*.[ch]: further convert to bonobo's type func
6666 macros, remove redundnant casts etc.
6668 * libspi/text.c s/accessibility_text/spi_text/g,
6669 re-order to de-cruft.
6671 * libspi/hypertext.c: re-order to kill a huge slew
6672 of redundant forward decls.
6674 * libspi/relation.c: ditto.
6676 * libspi/image.c: ditto.
6678 * */.cvsignore: update
6680 2001-11-20 Michael Meeks <michael@ximian.com>
6682 * libspi/deviceeventcontroller.c
6683 (_controller_register_with_devices): use g_getenv,
6684 kill stdlib.h include.
6686 * libspi/keystrokelistener.c
6687 (spi_keystroke_listener_get_type): kill
6688 (spi_keystroke_listener_class_init),
6689 (spi_keystroke_listener_init): rename to this.
6691 * libspi/text.c (impl_getAttributes): fix warning / bug.
6693 * libspi/*.[ch]: more headers, includes and over commenting.
6695 2001-11-20 Michael Meeks <michael@ximian.com>
6697 * libspi/*.[ch]: fixup headers, includes and over commenting.
6699 * libspi/image.c (impl__get_imageDescription): const
6700 correctness warning fix. remove redundant casting.
6702 * libspi/table.c (impl_getRowDescription): ditto.
6703 (impl_getColumnDescription): ditto.
6705 * libspi/libspi.h: add.
6707 2001-11-19 Michael Meeks <michael@ximian.com>
6709 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6711 * libspi/component.c (accessibility_component_get_type):
6712 rename to (spi_component_get_type): and macroify.
6713 (accessibility_component_init): rename to
6714 (spi_component_init): this
6715 (accessibility_component_class_init): rename to
6716 (spi_component_class_init): this
6718 * libspi/action.c (spi_action_get_type): kill, use the macro.
6720 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6723 * libspi/application.c (spi_application_object_event_listener),
6724 (impl_accessibility_application_register_object_event_listener):
6725 warning fixes / const understanding updates.
6727 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6730 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6732 * libspi/spi_accessible.c: Added docs and C bindings for
6733 AccessibleStateSet. (No implementations yet). Documentation
6734 coverage for C bindings now 100%. Made docs for event listeners
6739 boolean notifyListenersSync (in DeviceEventListener listener,
6740 in DeviceEvent event);
6742 oneway void notifyListenersAsync (in DeviceEventListener listener,
6743 in DeviceEvent event);
6745 Added DeviceEventListener and DeviceEvent structs (may deprecate
6746 KeyStroke and KeystrokeListener in favor of this generic
6747 event/listener framework for devices).
6749 * libspi/deviceeventcontroller.c:
6751 Changed some key listener code to take masks, etc., and paved the
6752 way for integration of toolkit/non-preemptive key events. Changed
6753 signatures of some internal methods.
6755 * at-bridge/bridge.c:
6756 Fixed regression connecting to interface signals, apparently
6757 caused by GTK+ changes.
6759 Added an internal bridge_state_listener to deal with
6760 property-change:accessible-state signals.
6762 Changed the key_listeners GList to store structs (including masks,
6763 etc.) instead of just CORBA_Objects (required for full
6764 implementation of key listener API).
6766 Connected the bridge to all currently supported Atk signals.
6767 Events now supported:
6768 object:property-change
6769 object:property-change:accessible-name
6770 object:property-change:accessible-state
6771 object:property-change:accessible-description
6772 object:property-change:accessible-parent
6773 object:property-change:accessible-value
6774 object:property-change:accessible-role
6775 object:property-change:accessible-table-caption
6776 object:property-change:accessible-table-column-description
6777 object:property-change:accessible-table-column-header
6778 object:property-change:accessible-table-row-description
6779 object:property-change:accessible-table-row-header
6780 object:property-change:accessible-table-summary
6781 object:children-changed
6782 object:visible-data-changed
6783 object:selection-changed
6784 object:text-selection-changed
6786 object:text-caret-moved
6788 object:row-reordered
6790 object:column-inserted
6791 object:column-reordered
6792 object:column-deleted
6793 object:model-changed
6795 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6797 * libspi/hyperlink.c,h:
6798 Fixed some broken stuff in hyperlink.
6800 * libspi/relation.h:
6801 * libspi/relation.c:
6802 * cspi/spi_accessible.c:
6803 Initial implementations of AccessibleRelation methods, and docs.
6805 * libspi/accessible.c:
6806 Fixed a bug that caused SEGV if an accessible
6807 object's description is NULL, and a client
6808 requests it. An empty string is now returned.
6810 * cspi/spi_editabletext.c:
6811 * cspi/spi_hypertext.c:
6813 * cspi/spi_hyperlink.c:
6817 Doc coverage now 95%.
6819 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6821 One last namespacing revision:
6822 * libspi/accessibleeventlistener.[ch]:
6823 Renamed SpiAccessibleEventListener to SpiEventListener,
6824 (no need for two namespaces ;-)
6826 And lots of documentation fixes:
6828 * docs/at-spi-docs.sgml:
6829 Fixed 'underscore vs. hyphen' bug that was preventing
6830 the gtk-doc API docs from being automatically generated.
6833 * cspi/spi-listener.h
6835 * cspi/spi_accessible.c
6837 * cspi/spi_application.c
6838 * cspi/spi_component.c
6839 * cspi/spi_editabletext.c
6841 * cspi/spi_hypertext.c
6843 * cspi/spi_registry.c
6844 * cspi/spi_selection.c
6848 * docs/at-spi-docs.sgml
6849 * docs/at-spi-sections.txt
6851 Added and fixed up gtk-doc documentation in cspi.
6853 Interfaces now (fully) documented (subject to revision and enhancement):
6855 Event Listener Support
6857 AccessibleApplication
6861 AccessibleEditableText
6868 AccessibleRelationSet
6873 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6875 * at-bridge/bridge.c:
6876 Initial work for toolkit-level key snooper connection by bridge.
6881 New typedefs and fixes to support new namespacing, and cleaner
6882 separation of cspi bindings from libspi bonobo implementation.
6883 Removed inconsistent and extraneous Spi* namespace prefix that
6884 had crept into cspi headers.
6885 Lots of comment fixes that sed had missed.
6887 * cspi/spi-roletypes.h:
6888 * cspi/spi-statetypes.h:
6889 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6890 to AccessibleRoleType.
6892 * libspi/accessibleeventlistener.h:
6893 Fixed minor namespacing weirdness.
6895 * libspi/deviceeventcontroller.c:
6896 Reordered some internal API for device listeners.
6897 Changed the key registry final boolean to 'is_system_global'
6898 rather than 'is_synchronous', which is more descriptive of its
6900 Added spi_device_event_controller_new().
6901 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6903 * libspi/keystrokelistener.[ch]:
6904 Namespaced KeystrokeListener to SpiKeystrokeListener.
6905 Changed uses of keymasks to use SPI_ prefix, and did other
6908 * libspi/keymasks.h:
6909 Namespaced keymask constants with SPI_ prefix.
6911 * libspi/registry.c:
6912 Some warning fixes, and knock-on fixes from namespace changes.
6915 Added rules for accessx-gui test program.
6917 * test/accessx-gui.c:
6918 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6919 utility. It doesn't actually use at-spi, but it's still cool and
6922 * test/keysynth-demo.c:
6926 Fixes so that these test clients work properly with the namespaced
6927 libraries. (Incompletely tested for technical reasons, fixes may follow)
6930 2001-11-13 Michael Meeks <michael@ximian.com>
6932 * libspi/application.c
6933 (impl_accessibility_application_get_version),
6934 (impl_accessibility_application_get_toolkit_name):
6936 (impl_accessibility_application_set_id),
6937 (impl_accessibility_application_get_id): remove
6938 redundant casting code.
6940 * libspi/action.c (impl_getDescription): fix warnings.
6942 * libspi/accessible.c
6943 (impl_accessibility_accessible_get_parent),
6944 (impl_accessibility_accessible_get_child_at_index),
6945 (impl_accessibility_accessible_get_state),
6946 (impl_accessibility_accessible_get_relation_set):
6947 warning fixes & include action.h
6949 2001-11-13 Michael Meeks <michael@ximian.com>
6951 * *.[ch] fix bits I screwed up:
6953 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6954 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6956 2001-11-13 Michael Meeks <michael@ximian.com>
6958 * *.[ch] Namespace libspi into spi_ and Spi.
6960 2001-13-11 Michael Meeks <michael@ximian.com>
6962 * Makefile.am: dist & install at-spi-1.0.pc
6964 * libspi/Makefile.am: install into at-spi-1.0
6966 * idl/Makefile.am (idldir): install into at-spi-1.0
6968 * at-spi-1.0.pc.in: add.
6970 * configure.in: build it.
6972 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6974 * test/keysynth-demo.c:
6975 Use a 'realize' signal-handler to set the WM properties for
6976 the virtual keyboard, rather than making it a "POPUP" type
6977 override-redirect window (thanks to anders carlsson for that
6980 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6983 * test/keysynth-demo.c:
6984 Added new test of key synthesis, which creates a simple
6985 (mouse-operated) onscreen keyboard. It inserts key events into
6986 the currently-focused window, thus it does not grab keyboard focus
6989 * cspi/spi_registry.c:
6990 Added C binding for AT-SPI generateKeyEvent.
6992 * libspi/deviceeventcontroller.c:
6993 Added call to XFilterEvent so that key listener works with XIM (we
6994 hope). Added event_synth_type to generateKeyEvent, so that we can
6995 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6996 synthesize a press/release pair for KeySyms.
6998 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7000 * libspi/Makefile.am:
7001 * registryd/Makefile.am:
7002 (temporary) hack to include libXtst in libspi and registryd.
7003 (Needed for keystroke synthesis, see below).
7006 Improved API for registerKeystrokeListener, in accordance with
7007 discussions with Gnopernicus team and X server research.
7009 * libspi/registry.c:
7010 * libspi/deviceeventcontroller.c:
7011 * libspi/accessible.c:
7012 * libspi/keystrokelistener.c:
7013 Changes and fixes to support keylisteners for potentially
7014 consumed key events (that is, 'passive grabs').
7015 Added implementation for generateKeyEvent() [untested].
7018 Changes to registerKeystrokeListener() API, as above.
7019 Added deregisterGlobalEventListenerAll(), and
7020 deregisterKeystrokeListener(), which are needed for clean exit of
7022 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7023 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7025 * cspi/spi_registry.c:
7026 Added implementations of function prototypes mentioned above.
7028 * registryd/registryd.c:
7029 Added the key listener event source as a g_timeout(), to allow
7030 receipt of key events that are not caught by GDK (since GDK
7031 doesn't support passive keygrabs, this was necessary).
7034 Changed to attach a keylistener to 'Alt' keys, and
7035 respond to the following keycommands: Alt-M (toggle magnifier);
7036 Alt-F (toggle speech); Alt-Q (quit).
7037 Added an exit routine to deregister the listeners, and a key
7038 listener that prints some key info to the console when a key
7039 matches the listener mask (and is thus received by the listener).
7041 * util/idl/Magnifier.idl:
7042 Changes to magnifier API to support multiple zoom regions,
7043 non-uniform scaling in x and y, markDirty, and a host of other
7044 features that would be useful to magnification.
7047 * util/mag_client.c:
7048 * util/mag_client.h:
7049 * util/mag_control.c:
7051 Source code changes to support the above IDL changes.
7054 As above, and also changes to use a (slower) generic conversion
7055 path for colormap conversions, since the fast RGB conversions have been
7056 reported to fail for 16-bit displays.
7058 2001-10-26 Michael Meeks <michael@ximian.com>
7060 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7062 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7064 * at-bridge/Makefile.am: fix LDFLAGS.
7066 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7068 * at-bridge/bridge.c:
7069 Re-worked listeners for toolkit events, now we have signal
7070 and property listeners. Added a private method
7071 register_atk_event_listeners(), which registers with the
7072 various atk and gtk signals we need to monitor in order to emit
7074 Added emission hook for AtkObject:property-change events, to
7075 support the 'property listeners'.
7076 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7079 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7080 which emit warnings and exit, respectively, if CORBA errors occur
7081 during remote calls, and we now use these methods to check most of
7082 our CORBA calls in the C bindings.
7084 * cspi/spi_accessible.c:
7085 Changed AccessibleSelection_refSelectedChild() to
7086 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7087 now increment refcounts.
7089 * cspi/spi_component.c:
7090 Fixed some long pointer casts (dangerous!) to pass pointers to
7091 CORBA_longs of the proper type to the CORBA stubs, and copy the
7092 data into the longs that were passed into the C bindings code.
7094 * at-bridge/bridge.c:
7096 * libspi/accessible.c:
7097 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7098 hyperlinks, AtkHyperlink is an object type.
7100 * libspi/application.c:
7101 Added various conversions to and from "generic" event types and
7102 atk-specific types; this is really part of the 'bridge'
7103 implementation but is valid for all AtkObject-based accessibility
7106 * libspi/editabletext.c:
7107 Fixed nasty bug wherein editable text's finalize method was
7108 unref'ing tha AtkObject reference that the text parent class was
7109 about to unref _again_. There was also a nasty inheritance bug
7110 that meant that the AccessibleEditableText class was corrupt.
7112 * libspi/selection.c:
7113 Provided implementations for some selection API that was broken.
7115 * idl/Application.idl:
7116 Added registerObjectEventListener () method.
7119 Fixed a number of return values that were Bonobo_Unknowns from
7120 bonobo_object_corba_objref(), which I
7121 forgot to dup before returning. Changed instances of
7122 bonobo_object_corba_objref (bonobo_object(o)) to
7123 BONOBO_OBJREF(o), for concision and clarity.
7125 2001-10-13 Louise Miller <louise.miller@sun.com>
7127 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7128 idl/Event.idl, idl/Registry.idl
7129 Changed these files to include Bonobo_Unknown.idl instead
7132 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7134 * libspi/component.c libspi/component.h:
7135 Fixed typo. Added assertions for object checks in
7136 AccessibleComponent code.
7138 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7140 * idl/Accessible.idl:
7141 Added 'isEqual (Accessible *object)'
7142 method for Accessible. (Not Yet Implemented).
7145 Changed signature of registerKeystrokeListener() to
7146 take a KeySet and KeyEventSeq so that specific keys and event
7147 types could be requested for monitoring, and added a flag
7148 is_synchronous so that either synchronous or asynchronous
7149 notification could be requested. (However this is not all
7150 implemented yet). This also meant adding two new typedefs,
7151 KeyEventSeq and KeySet.
7154 Added two new relations, RELATION_TOOLTIP_FOR and
7155 RELATION_LEAFNODE_OF.
7158 Added new state, STATE_HAS_TOOLTIP.
7160 * libspi/text.c, editabletext.c:
7161 Added new assertions to all casts of bonobo-objects from
7162 CORBA servants, to prevent Text API calls on non-text objects.
7163 Changed suspect casts of int-pointer types, so that we
7164 always send a valid CORBA_long pointer to the CORBA APIs that use
7165 in/out long parameters. We then have to copy from the CORBA_long
7166 into the regular long or int for return to the C bindings, or
7167 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7170 * libspi/deviceeventcontroller.c:
7171 Cleaned these sources up.
7173 Changed return type for getCharacterAtOffset to
7174 CORBA_unsigned_long, to allow for 32-bit characters.
7177 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7181 Fixed 'make dist' so that distro compiles...
7182 * libspi/keymasks.h:
7184 * cspi/spi-listener.c:
7185 KeystrokeListenerCB now returns a boolean.
7187 Added KeyEventType struct, and KeyStroke.
7188 Also added createKeystrokeListener(),
7189 KeystrokeListener_addCallback(),
7190 KeystrokeListener_removeCallback(), and added a keymask to
7191 registerKeystrokeListener().
7192 * cspi/spi_accessible.c:
7193 Changed numerous return types for interfaces from
7194 AccessibleComponent to Accessible<InterfaceName>; this was
7195 probably a cut-and-paste error.
7197 Implementations of new KeystrokeListener api (from spi.h,
7200 Changes to key modifier mapping.
7201 Created ControllerEventMask struct.
7202 Made DeviceEventController derive from Bonobo::Unknown.
7204 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7205 * libspi/deviceeventcontroller.c:
7206 Added a number of new internal (private) methods.
7207 * libspi/editabletext.c:
7208 * libspi/editabletext.h:
7209 Fixed a number of bugs related to the fact that
7210 editabletext inherits from text. Fixed the EditableText struct,
7211 the init() call, and use correct casts when calling Text methods
7212 from an EditableText object. Removed (duplicate) atko from the
7213 EditableText structure, we use the one in the parent Text
7214 structure via the casts mentioned above.
7215 * libspi/keystrokelistener.[ch]:
7216 * libspi/registry.c:
7217 Changes in support of keyboard handling (above).
7219 Keyboard handling, though partly functional, is still not
7220 recommended for at-spi client use as there is considerable
7221 work yet to be done.
7224 Changed some places where pointers to various int types
7225 are cast to be pointers to CORBA_long types and vice-versa:
7226 pointer casting is not safe so we pass pointers of the correct
7227 types and then cast the result before putting it into the target
7230 * libspi/text.h: minor typos corrected.
7232 We now speak not only the name of a Text element, but the
7233 first sentence of its content, when it receives focus.
7234 I also changed the text compression to 75% from 50%.
7235 * util/Accessibility_Util.server.in:
7236 Changed the default magnifier type to be a 3x vertical
7237 splitscreen magnifier (was previously a 2x horizontal one).
7239 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7241 * libspi/keystrokelistener.h:
7242 * libspi/keystrokelistener.c:
7243 Initial functional implementations of KeystrokeListener.
7246 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7248 Fixed string handling for NULL strings in libspi.
7249 Added spi_freeString to free strings returned by C bindings.
7251 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7253 * libspi/keystrokelistener.h:
7254 * libspi/keystrokelistener.c:
7255 Began (no-op) implementations of KeystrokeListener
7257 * libspi/deviceeventcontroller.c:
7258 * libspi/deviceeventcontroller.h:
7259 Began creating implementations of DeviceEventController,
7260 to handle keystroke and mouse event listening and
7262 * libspi/accessible.c:
7263 Stubbed-in the implementations for
7264 Accessibility_Accessible_getState and
7265 Accessibility_Accessible_getRelationSet.
7266 * libspi/registry.c:
7267 Improved de-registration process and fixed some bugs,
7268 deregistration now works correctly.
7270 Added initialization of applications list (to NULL).
7272 Reduced speech compression from 0.5 to 0.7, for demo.
7273 Changed call to gdk_window_set_decorations()
7274 to gtk_window_set_decorated().
7275 * at-bridge/bridge.c:
7276 Bridge now deregisters when app exits, via
7277 registration of a cleanup function
7278 with the g_atexit() call.
7279 Required making 'app' static, renamed 'this_app'.
7280 Fixed broken use of bonobo_init, passing argv wrongly.
7282 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7286 Created a new directory for
7287 accessibility-related utilities, primarily for
7288 testing and demo purposes, but with possible
7295 Onscreen magnifier utility that
7296 is implemented as a bonobo service.
7298 * util/mag_client.c:
7299 * util/mag_client.h:
7300 Client-side support (simple C bindings)
7301 for Magnification service
7303 * util/mag_control.c:
7304 Client program example for
7305 Magnification service
7307 * util/Accessibility_Magnifier.server.in:
7308 Bonobo-activation file for the
7309 Magnification service.
7312 * util/idl/Magnifier.idl:
7313 IDL defining the bonobo Magnification
7317 Modifications to use the bonobo-activated magnifier
7318 above, in place of trying to connect to an existing
7319 magnifier that uses socket-listening IPC.
7321 If env variable MAGNIFIER is set, a magnifier service
7322 will be started if one does not exist.
7324 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7326 * at-bridge/bridge.c:
7327 applied patch from Marc to build and run
7328 against new glib and gtk+ (seemed like a change
7329 to bonobo_init signature was made ?)
7331 made festival-server support turned off by default.
7332 Added support for a simple magnifier (off by default)
7333 which will be added to a 'util' directory later.
7334 * at-bridge/Makefile.am:
7335 Changed "application.h" header from a 'source'
7336 to a 'dependency' of libat-bridge.
7338 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7347 Added interface implementation c files to list of
7348 includes so they are included in libcspi.
7351 Changed prototype of AccessibleAction_doAction to return a
7353 Changed prototype of AccessibleTable_getCaption to
7354 return an Accessible.
7355 Changed prototype of AccessibleTable_getSelectedRows
7356 and AccessibleTable_getSelectedColumns to
7357 return a long (returns the number of selected rows
7358 or columns respectively).
7359 Changed name of AccessibleText_refRunAttributes to
7360 AccessibleText_getAttributes.
7361 Changed prototype of AccessibleText_getCharacterExtents to
7362 return a void rather than a boolean.
7363 Added support for a AccessibleCoordType parameter
7364 specifying what type of coordinates are desired.
7365 Added an AccessibleCordType parameter to
7366 AccessibleText_getPointAtOffset.
7368 * cspi/spi_accessible.c:
7369 Added code to return the outstanding interfaces from
7370 Accessible_queryInterface.
7372 * cspi/spi_action.c:
7374 Corrected call to getNActions to call the c binding
7377 * cspi/spi_editabletext.c:
7379 Changed name from setRunAttributes to setAttributes.
7381 * cspi/spi_hyperlink.c:
7383 Changed call to getNAnchors to correctly call the c
7384 binding for an attribute.
7386 * cspi/spi_hypertext.c:
7388 Changed getImageDescription to correctly call the
7389 binding for an attribute.
7391 * cspi/spi_selection.c:
7392 Changed getNSelectedChildren to correctly call the c
7393 binding for the attribute.
7394 Changed refSelectedChild to getSelectedChild.
7398 Changed getCaption to return an Accessible.
7399 Fixed calls which retrieve attributes.
7400 Changed refAt to getAccessibleAt.
7401 Changed getNSelectedRows and getNSelectedColumns to
7405 Changed getCharacterExtents and getPointAtOffset to accept an
7406 AccessibleCoordType.
7408 Changed calls which retrieve attributes.
7409 Changed refRunAttributes to getAttributes.
7414 * idl/Hyperlink.idl:
7415 Changed n_anchors attribute to nAnchors to keep naming
7416 convention consistent.
7419 Made Table inherit from Bonobo::Unknown.
7420 Added nSelectedColumns and nSelectedRows attributes.
7423 Made Value inherit from Bonobo::Unknown.
7425 * libspi/hyperlink.c:
7426 Change for nAnchors attributte name change.
7428 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7436 Added interface implementation c files to list of
7437 includes so they are included in libcspi.
7440 Changed prototype of AccessibleAction_doAction to return a
7442 Changed prototype of AccessibleTable_getCaption to
7443 return an Accessible.
7444 Changed prototype of AccessibleTable_getSelectedRows
7445 and AccessibleTable_getSelectedColumns to
7446 return a long (returns the number of selected rows
7447 or columns respectively).
7448 Changed name of AccessibleText_refRunAttributes to
7449 AccessibleText_getAttributes.
7450 Changed prototype of AccessibleText_getCharacterExtents to
7451 return a void rather than a boolean.
7452 Added support for a AccessibleCoordType parameter
7453 specifying what type of coordinates are desired.
7454 Added an AccessibleCordType parameter to
7455 AccessibleText_getPointAtOffset.
7457 * cspi/spi_accessible.c:
7458 Added code to return the outstanding interfaces from
7459 Accessible_queryInterface.
7461 * cspi/spi_action.c:
7463 Corrected call to getNActions to call the c binding
7466 * cspi/spi_editabletext.c:
7468 Changed name from setRunAttributes to setAttributes.
7470 * cspi/spi_hyperlink.c:
7472 Changed call to getNAnchors to correctly call the c
7473 binding for an attribute.
7475 * cspi/spi_hypertext.c:
7477 Changed getImageDescription to correctly call the
7478 binding for an attribute.
7480 * cspi/spi_selection.c:
7481 Changed getNSelectedChildren to correctly call the c
7482 binding for the attribute.
7483 Changed refSelectedChild to getSelectedChild.
7487 Changed getCaption to return an Accessible.
7488 Fixed calls which retrieve attributes.
7489 Changed refAt to getAccessibleAt.
7490 Changed getNSelectedRows and getNSelectedColumns to
7494 Changed getCharacterExtents and getPointAtOffset to accept an
7495 AccessibleCoordType.
7497 Changed calls which retrieve attributes.
7498 Changed refRunAttributes to getAttributes.
7503 * idl/Hyperlink.idl:
7504 Changed n_anchors attribute to nAnchors to keep naming
7505 convention consistent.
7508 Made Table inherit from Bonobo::Unknown.
7509 Added nSelectedColumns and nSelectedRows attributes.
7512 Made Value inherit from Bonobo::Unknown.
7514 * libspi/hyperlink.c:
7515 Change for nAnchors attributte name change.
7518 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7520 implementations-- made server implementations own AtkObject pointers
7521 rather than their respective AtkInterrface pointers to fix
7522 refcounting. AtkHyperlink is still broken.
7524 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7525 * cspi/spi_accessible.c:
7526 Added method Accessible_Role_getName(),
7527 and requisite string array (role_names).
7528 Added conversion string_from_corba_strin() call
7529 to Accessible_getName and _getDescription.
7530 * libspi/accessible.c:
7531 Added implementation for Accessible_getRole()
7533 Added festival support, used if environment variable
7536 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7538 * at-bridge/bridge.c:
7539 Now allocate Accessibility_Event using
7540 Accessibility_Event__alloc() instead of g_new0().
7541 * libspi/accessibleeventlistener.c:
7542 Initialize AccessibleEventListener->callbacks to NULL.
7543 Fixed accessible__event_listener_init() param, changed to
7544 "AccessibleEventListener *" type.
7545 Changed a bonobo_object_release_unref() call to
7546 Accessibility_Accessible_unref().
7547 * libspi/listener.c:
7548 Changed Bonobo_Unknown_unref to (equivalent)
7549 Accessibility_Accessible_unref.
7550 * libspi/registry.c:
7551 Changed bonobo_object_release_unref to
7552 Accessibility_Accessible_unref.
7554 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7557 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7558 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7559 spi-util.c spi-util.h
7560 Implementations for C bindings to remaining accessibility
7563 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7566 changed return value of Action from void to boolean to
7567 bring in line with ATK.
7570 Changed getText funcions to return "out" start and end offsets.
7571 Changed getAttributes to take and offset and return the start
7572 and end offset of the attribute run.
7573 Changed getOffsetAtPoint and getCharacterExtents to take an
7574 enum describing whether coordinates are window or screen.
7577 libspi/action.c libspi/action.h libspi/editabletext.c
7578 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7579 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7580 libspi/image.h libspi/selection.c libspi/selection.h
7581 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7582 libspi/value.c libspi/value.h
7583 Added server implementations for outstanding ATK interfaces
7584 not yet implemented.
7586 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7589 Added (missing) getName() method.
7590 Made nActions an attribute.
7591 * idl/EditableText.idl:
7592 Changed order of params in setAttributes.
7593 * idl/Hyperlink.idl:
7594 Removed getAnchor, added getURI.
7596 Changed attributes to methods, for efficiency
7597 (so that getting extents can be done in one call)
7598 * idl/Selection.idl:
7599 Changed nSelectedChildren to attribute, and re-indented.
7600 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7602 * idl/Text.idl: reformatted to match our coding style.
7603 (temporarily?) removed getRowColumnAtOffset().
7604 Changed text selection API to support multi-select and
7605 non-contiguous selections, as in ATK.
7606 * idl/Value.idl: changed some methods to attributes.
7608 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7610 * libspi/listener.c(impl_notify_event):
7611 BonoboUnkown_unref the source instead
7612 of bonobo_object_release_unref - the ORB
7613 handles the releasing.
7615 * configure.in: require ORBit-2.3.94 for
7618 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7620 Tagged CVS repository 'EA_1_0'.
7621 * README.EARLY_ACCESS:
7622 Alphabetized acknowledgements list, and
7624 Listed some known dependencies of at-spi.
7626 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7628 * docs/at-spi-docs.sgml:
7629 * docs/at-spi-sections.txt:
7630 * docs/at-spi-overrides.txt: (Added zero-length file)
7631 Documentation improvements - gtk-doc should build
7632 docs for all implemented C bindings now.
7635 * cspi/spi.c: (New file)
7636 * cspi/spi_event.c: (New file)
7637 * cspi/spi_registry.c: (New file)
7638 * cspi/spi_accessible.c: (New file)
7639 * cspi/spi_application.c: (New file)
7640 * cspi/spi_component.c: (New file)
7641 Split spi_main.c into six parts, and included them from
7642 "spi.c". This is a bit of a hack, probably temporary,
7643 but required by gtk-doc, apparently.
7645 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7648 * docs/at-spi-docs.sgml:
7649 * docs/at-spi-sections.txt:
7651 Initial checkins/modifications for gtk-doc generation.
7654 Added (missing) interface query methods to Accessible's C binding.
7656 Added GenericInterface type definition.
7658 Added query for AccessibleComponent interface to focus event handler.
7659 Added printout of bounding box for focussed component.
7660 * libspi/component.c:
7661 Added partial implementation for AccessibleComponent to C binding.
7662 * idl/Application.idl:
7663 * libspi/registry.c:
7664 * libspi/listener.c:
7665 * libspi/application.c:
7666 * libspi/application.h:
7667 Changed "ID" attribute type from string to long.
7669 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7673 Made method naming consistent: methods taking object args
7674 start with uppercase, other methods (except those using
7675 acronyms) start with lowercase. Underscores delimit between
7676 object names and method names:
7677 SPI_init() - uppercase since it starts with an acronym.
7678 getDesktopCount () - lowercase start since no object param0.
7679 Accessible_getName() - uppercase object type name, studlyCaps method
7683 Added gtk-doc documentation for all currently implemented
7684 methods in the C bindings API.
7686 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7688 * Makefile.am : changed build order to build test last.
7691 Changed "createEventListener" to "CreateEventListener".
7692 * libspi/accessibleeventlistener.c :
7693 Bugfix for addition of callbacks.
7694 * test/Makefile.am :
7695 * test/simple-at.c :
7696 Added new test that uses the C bindings API.
7698 * libspi/listener.c :
7699 * libspi/registry.c :
7700 * libspi/accessibleeventlistener.c :
7701 * at-bridge/bridge.c :
7702 Renamed member "target" of Accessibility_Event to "source",
7703 which is more descriptive.
7706 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7710 * cspi/Makefile.am :
7711 Added makefile support for at-spi/cspi directory.
7714 * cspi/spi-listener.h : (NEW FILE)
7715 Added support for/use of spi-listener.h.
7717 C bindings now build successfully, with no warnings.
7718 * libspi/accessibleeventlistener.h : (NEW FILE)
7719 * libspi/accessibleeventlistener.c : (NEW FILE)
7720 * libspi/Makefile.am :
7721 Added new object type "AccessibleEventListener"
7722 which inherits from Listener, and allows attachment
7723 of in-process callbacks (so that a client with a listening
7724 object instance can add functionality to the local
7725 implementation, dynamically).
7727 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7729 * libspi/accessible.c:
7730 Add implementation for get_index_in_parent().
7732 Added #include of "spi-roletypes.h", and
7733 added enumerated type AccessibleCoordType.
7734 Added definition for KeystrokeListener (function type).
7737 * cspi/spi-statetypes.h :
7738 * cspi/spi-roletypes.h :
7740 Added these headers, used by spi.h.
7742 Added code (NOTE: not yet built by make).
7744 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7746 * libspi/Makefile.am: generate imodule
7747 at the same time as other idl compiler
7750 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7751 * libspi/registry.c :
7752 * libspi/application.c :
7753 * idl/Application.idl :
7754 Made registration with toolkit an application method,
7755 which is required since each app has its own toolkit static
7756 environment. Thus the bridge must register for
7757 notification of toolkit events from each application in turn.
7758 Toolkit notifications are now successfully registered for, and
7759 sent to the listening at client.
7761 Changed toolkit event string to use hyphens rather than underscores.
7762 * libspi/listener.c :
7763 listner now gives more info in debug mode - it reports the
7764 name of the event received, as well as the name of the source.
7767 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7769 * libspi/registry.c :
7770 added more implementation for toolkit events.
7771 Fixed bug such that toolkit event registrations
7772 (via atk) use the whole event name string, not
7774 Removed a useless call to an ORBit_ method.
7775 * at-bridge/bridge.c :
7776 Removed unused local sbuf[] variable.
7778 We now register for Gtk:GtkWidget:button_press_event
7779 events as well as "focus:" events.
7781 Add some more API from Registry.idl that was missing,
7782 for keystroke listening, keystroke and mouse event
7783 synthesis, and enumeration of accessible desktops.
7785 2001-08-16 Michael Meeks <michael@ximian.com>
7787 * configure.in: use AM_GLIB_GNU_GETTEXT.
7789 * Makefile.am (SUBDIRS): kill intl.
7791 2001-08-15 Michael Meeks <michael@ximian.com>
7793 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7795 * configure.in: upd.
7797 * configure.in: depend on a recent bonobo-activation that
7798 will find our server files ...
7800 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7802 * libspi/accessible.c : accessible_new() :
7803 Now we add the Component interface via bonobo_object_add_interface,
7804 if the contained AtkObject implements AtkComponent.
7805 * libspi/accessible.h : now include "component.h"
7806 * libspi/component.h :
7807 * libspi/component.c : added files - implementation of
7808 bonobo wrapper object for Accessibility/Component
7809 * libspi/listener.c :
7810 Added test code to check for Accessibility/Component:1.0
7811 interface and report whether it is implemented by the
7813 * libspi/registry.c :
7814 Now we check for not only the hash of the whole event
7815 string before relaying the event, we also check the
7816 "minor" event string (without the detail string).
7817 This allows event listeners to be registered against
7818 all events of a certain major+minor type, or just
7819 against a specific major+minor+detail type.
7820 * libspi/accessible.c :
7821 Added implementations for Accessible:get_parent(),
7822 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7823 * libspi/registry.c :
7824 * libspi/listener.c :
7825 Replaced calls to Accessibility_Accessible_ref() and
7826 Accessibility_Accessible_unref() with
7827 calls to bonobo_object_dup_ref() and
7828 bonobo_object_release_unref(), so that the CORBA object
7829 is dup-ed and released when relayed, as well as the bonobo object.
7831 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7833 * libspi/Makefile.am,
7834 registryd/Makefile.am,
7835 at-bridge/Makefile.am.
7836 test/Makefile.am, configure.in:
7837 reverse previous changes.
7839 * /idl/Image.idl: fix typo.
7841 * test/Makefile.am: put DEBUG_FLAGS
7844 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7846 * test/app.c: use argv[0] instead of
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 cleanup, replace individual LIBS/CFLAGS with
7856 AT_COMMON_{LIBS|CFLAGS}.
7860 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7862 * configure.in, libspi/Makefile.am:
7863 Change IDL path checking for bonobo-activation
7866 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7868 * registryd/registry.c : separated event listeners to use
7869 3 separate lists (focus, window, toolkit). Began testing
7870 event names against hashes before relaying events.
7871 * test/at.c : now register for events of type "focus:"
7872 * test/app.c : now generate events of type "focus:"
7873 * at-bridge/bridge.c : register with ATK for focus events,
7874 and we now relay those focus events to any "focus:" listeners.
7875 This now works with the bridge as a GTK_MODULE when running test/at.
7876 * libspi/registry.c :
7877 * libspi/listener.c :
7878 now we ref event sources before propagating, and unref on receipt.
7879 * libspi/registry.c :
7880 some changes to internal structs, to support event typestring hashes.
7881 * text/app.c : changed the way the appname is generated.
7882 * cspi : added directory that will hold the C bindings library for
7883 non-CORBA/bonobo-savvy clients.
7884 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7885 * idl/Component.idl : added in parameter to indicate coord system for
7886 geometry-related calls.
7887 * idl/Hyperlink.idl : added readonly n_links attribute
7888 * idl/Image.idl : changed methods to attributes.
7890 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7892 * at-bridge/Makefile.am: link against
7893 ../libspi/libspi.la instead of -lspi.
7895 * at-spi/test/app.c: include
7896 bonobo-activation.h. Use a default appname
7897 if one is not provided.
7899 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7901 * idl/Registry.idl : temporarily changed register_Application
7902 to oneway, to work around issue with initial registration
7904 * idl/Application.idl : changed attribute "id" from readonly
7905 to read-write, since it needs to be assigned by Registry.
7906 * registryd/registryd.c : added call to set application id
7908 * registryd/registry.c : changed de-registration procedure to
7909 use CORBA_Object_hash() to find matching object ref in application
7910 lists and listener lists.
7911 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7912 began distinguishing between event types (work in progress).
7914 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7917 * libspi/application.c:
7918 Added implementations for get/set id, get_toolkitName,
7920 * registryd/registryd.c :
7924 Converted from use of OAF to bonobo-activation.
7925 * libspi/desktop.h :
7926 * libspi/desktop.c :
7928 Removed references to atksimpleobject, since base atkobject
7929 implementation now provides functionality we need.
7930 * libspi/atksimpleobject.c :
7931 * libspi/atksimpleobject.h :
7936 * at-bridge/Makefile.am
7937 * at-bridge/bridge.c
7940 Added directory "bridge" and contents, and added dependencies
7941 in Makefile.am/configure.in.
7942 Initial checkin of "at-bridge".
7943 This code is a GTK_MODULE which automatically registers
7944 GTK+ apps with the accessibility registry, using an object
7945 reference to the root ATK object.
7947 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7949 * po/Makefile.in.in: Remove. Again. If this
7950 doesn't get autogenerated - you need to update
7953 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7955 * po/Makefile.in.in: Add. Again.
7957 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7959 * libspi/accessible.c : added support for 'description' property.
7960 * libspi/accessible.c
7962 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7963 (since the two are now equivalent in libbonobo)
7971 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7972 Bonobo::Unknown as does Accessibility::Accessible.
7973 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7974 interface with Bonobo::Stream, since it was redundant with it.
7975 (The Stream returned by a StreamableContext object is expected to
7976 implement only a subset of Bonobo::Stream)
7978 2001-07-28 Anders Carlsson <andersca@gnome.org>
7980 * libspi/accessible.c (accessible_object_finalize): Change
7981 g_free to g_object_unref since the AtkObject is a GObject.
7983 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7985 * idl/Accessibility.idl: add new IDL files
7988 * idl/Action.idl: Definitions of actionable UI object
7989 * idl/Component.idl: Definitions of UI component geometry, etc.
7990 * idl/Hyperlink.idl: Defs of hyperlink behavior
7991 * idl/Image.idl: Def of accessible image
7992 * idl/Selection.idl: Definition of UI object with selectable children
7993 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7994 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7995 * idl/Text.idl: Interface defs for UI elements with complex textual content
7996 * idl/Value.idl: Definition of UI element that is a value controller or display
7998 2001-07-27 Michael Meeks <michael@ximian.com>
8000 * po/Makefile.in.in: remove autogenerated file from CVS.
8002 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8005 * idl/Registry.idl: include guard.
8007 * idl/Accessibility.idl: Add, and include all the other IDL
8010 * idl/*.idl: remove mass of pragmas etc.
8012 2001-07-26 Michael Meeks <michael@ximian.com>
8014 * registryd/Makefile.am (registryd_SOURCES): remove
8017 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8019 * libspi/.cvsignore, registryd/.cvsignore,
8020 test/.cvsignore: updated.
8022 * po/Makefile.in.in: gettext update.
8024 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8026 * initial CVS checkin
8028 2001-06-29 Michael Meeks <michael@ximian.com>
8030 * configure.in: add AM_CONFIG_HEADER to gen config.h