1 2006-12-11 Bill Haneman <bill.haneman@sun.com>
4 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
5 if there are no non-default attributes defined at the current offset.
8 2006-12-04 Bill Haneman <bill.haneman@sun.com>
10 * idl/Accessibility_Role.idl: Fixed the documentation for
11 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
13 2006-12-04 Bill Haneman <bill.haneman@sun.com>
15 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
17 2006-11-07 Bill Haneman <bill.haneman@sun.com>
19 Patches from Padraig O'Briain for bugs #361386 and #369377.
21 * registryd/registry.c:
22 (struct NotifyContext): Change the e_out
23 member from an Accessibility_Event struct to a pointer to
25 (notify_listeners_cb): Modify to use the new struct definition above.
26 Allows use of ORBit_copy_value instead of CORBA_any__copy.
28 * registryd/deviceeventcontroller.c:
29 (spi_dec_button_update_and_emit): Free the event's any_data
31 (spi_dec_mouse_check):Free the event details any struct
33 (spi_device_event_controller_forward_mouse_event): Free any.
34 (spi_device_event_controller_forward_key_event): Ditto.
36 2006-11-07 Bill Haneman <bill.haneman@sun.com>
38 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
39 Don't require gtk+ and gail for building most of at-spi
42 * registryd/registry-main.c (main): We now get te value of display
43 using the env var DISPLAY rather than using the gdk_display_get_default
44 to avoid dependancy of gdk. Also, once the registry is started, we set
45 the ior of the registry as an X property.
46 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
48 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
49 the registration was successfull.
50 (spi_atk_bridge_do_registration): This function now returns success
51 or not on activating the registry.
52 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
53 has been set in the X root window and return it if available.
54 (spi_atk_bridge_get_registry): We now get the registry using the IOR
55 saved as a X property rather than using the OAFID.
57 2006-10-01 Bill Haneman <bill.haneman@sun.com>
59 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
61 2006-09-25 Bill Haneman <bill.haneman@sun.com>
63 * registryd/registry.c:
64 (desktop_remove_application): Don't pass a ref to the
65 dead application with the event, since it's probably
66 defunct and will cause SEGV if we try to unref,
67 extract app name, etc.
70 2006-09-20 Bill Haneman <bill.haneman@sun.com>
72 Patch from Neo Liu <nian.liu@sun.com>,
75 * atk-bridge/bridge.c:
76 (spi_atk_bridge_document_event_listener): New, for
79 2006-08-30 Bill Haneman <bill.haneman@sun.com>
82 Changed some parameter names so as not to
83 collide with class names - allows IDL to be compiled with
84 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
86 2006-08-22 Bill Haneman <bill.haneman@sun.com>
88 * atk-bridge/bridge.c:
89 (spi_atk_bridge_signal_listener):
90 Patch from Ginn Chen, assign detail1 in children-changed
91 so that the child object can be assigned to the Any when the
92 at-spi event is emitted. Bug #350552.
94 * libspi/application.c:
95 (spi_application_finalize): Remove g_print debug output.
98 2006-08-21 Bill Haneman <bill.haneman@sun.com>
100 * configure.in: Revved to AT-SPI 1.7.11.
102 * libspi/accessible.c:
103 (spi_accessible_new): Aggregate Hyperlink interface
104 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
106 * libspi/hyperlink.c:
107 (spi_hyperlink_new): Don't aggregate Action a second time if this
108 interface is created for an AtkHyperlinkImpl object (i.e. for a
109 child Accessible, as opposed to the Hyperlink instance from
111 (get_hyperlink_from_servant): Obtain the hyperlink from
112 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
114 Patch section from Ginn Chen...
116 * cspi/spi_accessible.c:
117 (_cspi_accessible_set_from_sequence):
118 Changed g_newa to g_new0 on Ginn Chen's suggestion.
120 * libspi/accessible.c:
121 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
122 (spi_accessible_new): Add the Document interface if present.
125 (impl_getAttributes): Fixed to use AtkAttribute properly.
128 (impl_getAttributes, impl_getDefaultAttributes):
129 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
131 2006-08-17 Bill Haneman <bill.haneman@sun.com>
133 * cspi/spi-private.h, cspi/spi_accessible.c:
134 (_cspi_attribute_set_from_sequence): Renamed from
135 cspi_attribute_set_from_sequence, to suppress export.
138 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
139 inline docs, which was keeping the doc from appearing.
140 (SPIExceptionHandler): Doc this.
142 * cspi/spi_document.c:
143 Added inline gtk-docs cut-n-pasted from the doxygen
144 docs in the corresponding IDL files.
145 (AccessibleDocument_getAttributes): Fix the retval here.
147 * cspi/spi_streamablecontent.c:
148 Fixed some 'Since' tags that were accidentally doxygen-style.
151 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
152 docs from the IDL file.
154 * docs/reference/cspi/at-spi-cspi-docs.sgml:
155 Added entities for Document and StreamableContent interfaces.
157 * docs/reference/cspi/at-spi-cspi-sections.txt:
158 Added some docs that were present inline but not getting
161 2006-07-31 Bill Haneman <bill.haneman@sun.com>
164 (impl_getRangeExtents): Use the atk_text_get_range_extents
165 API instead of looping over character bounds, now that
167 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
168 (_spi_text_bounds_contain): Remove, not needed anymore.
169 (_spi_text_rect_union): Remove, not needed anymore.
171 2006-07-31 Bill Haneman <bill.haneman@sun.com>
173 * atk-bridge/bridge.c:
174 (spi_atk_emit_eventv): Fix the CORBA_free call which was
175 causing 64-bit troubles and memory leaks.
176 Special thanks to Alexander Larsson who finally seems to
177 have tracked down the problem, not just here but in
181 (spi_init_any_object): Make sure we copy the CORBA value
182 when initializing an object for passing as a CORBA_Any.
185 2006-07-21 Bill Haneman <billh@gnome.org>
187 * idl/Accessibility.idl:
188 Reverted pragma changes, this broke the build in some envs
189 including the Debian team's build and some tinderbox builds.
191 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
194 Revved to 1.7.10, and edited the Xevie check (bug #319994).
196 * idl/Accessibility.idl:
197 Reworked inclusion of Bonobo_Unknown.idl, to
198 avoid double-linking libs in the Bonobo environment.
199 Thanks to Michael Meeks for the workaround, see bug #313122.
201 * registryd/deviceeventcontroller.c:
202 (spi_controller_notify_keylisteners):
203 Set the SPI_NUMLOCK_MASK bit if the modifier
204 corresponding to the conceptual numlock state is set.
207 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
209 * idl/Accessibility_Selection.idl:
210 (deselectChild): New method.
212 * libspi/selection.c:
213 (impl_deselectChild): Implement the new IDL method.
216 (AccessibleSelection_deselectChild): Added new method.
218 * cspi/spi_selection.c:
219 (AccessibleSelection_deselectChild): New method implemented.
221 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
223 * cspi/bonobo/cspi-bonobo.c:
224 (cspi_init): Replace g_error with g_warning, prevent
225 SEGV if the registry cannot be activated. Bug #346393.
227 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
229 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
231 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
232 2006-07-12 Ariel Rios <arios@us.ibm.com>
236 * idl/Accessibility_Table.idl:
237 (getRowColumnExtentsAtIndex): New method for getting
238 selection status and extents in one API call.
241 (impl_getRowColumnExtentsAtIndex): Implementation of
243 (spi_table_class_init): Add above to epv.
247 (AccessibleTable_getRowColumnExtentsAtIndex): New
248 method, retrieves selection status and row/col extents
249 for a table cell in a single API call.
251 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
252 2006-07-12 Ariel Rios <arios@us.ibm.com>
254 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
257 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
258 New bindings for new methods defined in idl and libspi.
261 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
262 Added prototype functions.
265 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
267 (spi_text_class_init): Added previous methods.
270 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
271 * libspi/spi-private.h: Corrections.
273 2006-06-29 Bill Haneman <bill.haneman@sun.com>
275 Added Document interface (see bug #326520),
276 with work from Ariel Rios <arios@us.ibm.com>.
278 * configure.in: Bump to 1.7.8.
280 * libspi/Makefile.am: Added document.[ch] to sources
283 (SpiDocument, SpiDocumentClass):
284 New interface implementation.
285 (spi_document_get_type, spi_document_construct)
286 (spi_document_interface_new): New methods added.
287 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
288 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
289 Added macros for SpiDocument
293 (spi_document_interface_new): Get a
294 new document interface. New.
295 (get_document_from_servant): Get an AtkDocument from servant New.
296 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
297 Implementation of methods defined on idl.
298 (spi_document_class_init, spi_document_init)
299 Init methods for SpiDocument. new
301 * idl/Accessibility.idl: Added Accessibility_Document.idl.
303 * cspi/Makefile.am: Added spi_document.c to sources.
305 * cspi/spi_document.c:
306 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
307 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
308 (AccessibleDocument_getAttributes): Bindings for methods defined
311 * cspi/spi_accessible.c:
312 (Accessible_isDocument, Accessible_getDocument) New.
314 (Accessible_isDocument, Accessible_getDocument)
315 (AccessibleDocument_ref, AccessibleDocument_unref)
316 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
317 (AccessibleDocument_getAttributes): Bindings added.
319 * idl/Makefile.am: Added Accessibility_Document.idl to
322 2006-06-29 Bill Haneman <bill.haneman@sun.com>
324 * idl/Accessibility_Document.idl: New interface
325 for complex documents. First stage of fix for RFE
328 2006-06-27 Bill Haneman <bill.haneman@sun.com>
330 * libspi/streamablecontent.c:
331 (impl_content_stream_close):
332 Unref the GIOChannel on close.
334 2006-06-23 Bill Haneman <bill.haneman@sun.com>
336 * idl/Accessibility_Role.idl:
337 * libspi/accessiblerole.c:
338 * cspi/spi_accessible.c: Added ROLE_LINK,
339 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
340 Bug #345758 and bug #140635.
343 2006-06-22 Bill Haneman <bill.haneman@sun.com>
347 * idl/Accessibility_StreamableContent.idl:
348 Fix derivation of StreamableContent and ContentStream.
350 * cspi/spi_streamablecontent.c:
351 (accessible_content_stream_client_read):
352 Fix the datatype of the content stream used.
353 Interpret short reads as EOF, and stop trying to
354 read when we've fulfilled the request.
355 (AccessibleStreamableContent_getContentTypes):
356 Use g_strdup, not CORBA_string_dup, for the strings.
357 (AccessibleStreamableContent_open):
358 Correctly use the new getStream method for opening,
359 not the deprecated getContent method.
360 Use the object reference as the stream hash key.
361 Make note of the 'one stream per client per streamable'
362 limitation in the docs.
365 Add streamablecontent.h to the list of #includes.
367 * libspi/streamablecontent.c:
368 (impl_content_stream_read): Initialize the GError.
369 Allocate the incoming buffer if reading a fixed length of
370 data. Use g_memmove instead of memcpy.
371 (impl_accessibility_streamable_get_content_types):
372 Init typelist->_maximum. Only allocate the buffer if
373 there is a non-zero number of content types available.
374 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
376 * libspi/streamablecontent.h:
377 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
380 (SPI_IS_VALUE): Fix a typo in this macro too.
382 2006-06-16 Bill Haneman <bill.haneman@sun.com>
386 * idl/Accessibility_StreambleContent.idl:
387 Deprecate the Bonobo_Stream-based methods in favor of
388 a self-contained "ContentStream" interface. This should
389 allow us to remove BonoboStream dependencies entirely, since
390 there were no non-NIL implementations of the old methods anyway.
391 (ContentStream): New interface.
392 (ContentStream::SeekType): Enum.
393 (ContentStream::seek): New.
394 (ContentStream::read): New.
395 (ContentStream::close): New.
396 (getContent): Deprecate.
397 (getURI): New method, returns a URI pointing to the content, if available.
399 * libspi/streamablecontent.c:
400 (SpiContentStream): Internal object type definition used to
401 implement Accessibility::StreamableContent::ContentStream via
402 AtkStreamableContent's GIOChannel back-end.
403 (spi_content_stream_new, spi_content_stream_dispose): See above;
405 (impl_content_stream_seek, impl_content_stream_read):
406 (impl_content_stream_close): New, implementations of
408 (impl_accessibility_streamable_get_stream): Implement the
409 public method Accessibility::StreamableContent::getStream.
410 (impl_accessibility_streamable_get_uri): Implement the
411 public method Accessibility::StreamableContent::getURI.
413 * cspi/spi_streamablecontent.c:
414 (accessible_bonobo_stream_client_seek): Replaced by
415 (accessible_content_stream_client_seek).
416 (accessible_bonobo_stream_client_read): Replaced by
417 (accessible_content_stream_client_read).
418 (AccessibleStreamableContent_open):
419 (AccessibleStreamableContent_seek):
420 (AccessibleStreamableContent_read):
421 (AccessibleStreamableContent_close): Use the new 'getStream'
422 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
424 2006-06-15 Bill Haneman <bill.haneman@sun.com>
426 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
427 remove from other .idl files (except LoginHelper).
430 2006-06-14 Bill Haneman <bill.haneman@sun.com>
432 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
435 * configure.in, */Makefile.am: mingw patch, modified from
436 original patch by yselkowitz. Bug #314216.
438 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
439 for completeness. Bug #163111.
441 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
442 * libspi/util.c, registryd/registry-main.c:
443 Fix guint/char* casts.
444 Patch from chpe, bug #333883.
446 2006-06-12 Bill Haneman <bill.haneman@sun.com>
448 * configure.in: Require atk-1.12.0, to pick up
449 new API. (bug #344412).
451 * libspi-1.0-uninstalled.pc.in:
453 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
454 Fix for #341488 from Samual Thibault.
456 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
457 Thanks to Brian Pepple.
459 2006-06-09 Bill Haneman <bill.haneman@sun.com>
462 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
463 New, missing implementations of attribute reading methods
466 * cspi/spi.h, spi_value.c:
467 (AccessibleValue_getMinimumIncrement): New methods wrapping
468 the (formerly unimplemented) property from Value.idl.
471 (impl_get_minimumIncrement): Implementation for retrieving
472 the minimum valuator increment, (formerly unimplemented).
475 2006-06-09 Bill Haneman <bill.haneman@sun.com>
477 * idl/Accessibility_State.idl:
478 Added STATE_VISITED (bug #338369).
480 * cspi/spi_accessible.c:
481 (spi_state_to_corba) Fixed marshalling of new statetypes.
484 (spi_init_state_tables, impl_getStates):
485 Fixed conversion of new statetypes to/from ATK.
487 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
489 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
490 definitions/conversions for new roles from ATK.
492 * idl/Accessibility_Relation.idl:
494 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
495 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
496 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
498 * libspi/accessible.c: Fixed marshalling of new role types from
501 2006-04-17 Matthias Clasen <mclasen@redhat.com>
503 * revert my previous change
505 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
507 * configure.in: Remove obssolete no_NO locale
508 * po/no.po: And the translation.
510 2006-04-05 Matthias Clasen <mclasen@redhat.com>
512 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
513 memory-management error that caused crashes on x86_64.
516 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
518 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
520 2006-03-27 Bill Haneman <bill.haneman@sun.com>
522 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
523 to strip "cspi_*" from the symbol table.
525 * cspi/spi_streamablecontent.c:
526 (get_streams): Make this method static.
529 (_cspi_exception_throw): rename to cspi_exception_throw,
530 so we can strip it with the rest...
533 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
535 2006-03-27 Bill Haneman <bill.haneman@sun.com>
537 Add doxygen-generated IDL docs to tarball, and enable
538 doxygen during build/install when available. Bug #301345.
540 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
542 * docs/reference/Makefile.am: Add idl to SUBDIRS.
544 * docs/reference/idl/Makefile.am: Optionally use
545 doxygen to create docs.
547 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
549 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
551 2006-03-20 Bill Haneman <bill.haneman@sun.com>
554 (impl_get_selected_rows): Don't free the selection if it's
555 empty or has not been assigned; init it to NULL so you can tell.
556 Also, allow for zero selected rows.
557 (impl_getSelectedColumns): Ditto. Bug #319088.
559 2006-03-11 Vincent Untz <vuntz@gnome.org>
561 Leak fix for bug #334217.
563 * libspi/application.c: spi_application_toolkit_event_listener():
564 don't duplicate the string we pass as an argument to
565 spi_init_any_nil() since spi_init_any_nil() already does it
566 * registryd/deviceeventcontroller.c:
567 (spi_dec_button_update_and_emit): ditto
568 (spi_dec_mouse_check): ditto
569 (spi_dec_emit_modifier_event): ditto
570 (spi_device_event_controller_forward_mouse): ditto
571 * registryd/registry.c:
572 (desktop_add_application): ditto
573 (desktop_remove_application): ditto
575 2006-02-20 Bill Haneman <billh@gnome.org>
577 * configure.in: Rev to 1.7.6.
579 Leak fixes for bug #331924.
581 * atk-bridge/bridge.c:
582 (spi_atk_bridge_init_base): Don't dup the string, it's already
583 been dup-ed. Fixes a leak.
584 (spi_atk_emit_eventv): Move the CORBA_free call here,
585 instead of spi_atk_state_event_listener; fixes another leak.
586 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
587 notifying the registry; fixes another leak.
589 * registryd/registry.c:
590 (registry_flush_event_queue): Free the CORBA_any when
591 flushing the event, not just the string. Fixes another leak.
592 (registry_queue_event): Free the CORBA_any when dropping
593 events on the floor; fixes another leak.
596 (spi_init_any_object, spi_init_any_nil):
597 Always set _release to TRUE. Fixes another leak.
599 2006-02-20 Bill Haneman <billh@gnome.org>
601 * configure.in: Rev to 1.7.5.
602 Reinstate localization of this module. Thanks for Rodney
603 Dawes for fixing my patch.
605 * registryd/Makefile.am: Remove Accessibility_Registry.server
606 from dist, since it needs to be re-created at configure time.
609 2006-01-31 Bill Haneman <billh@gnome.org>
611 * configure.in: Rev to 1.7.4 (to include build fix below).
613 * idl/Makefile.am: Include Selector.idl in dist.
617 (cspi_internal_event_get_object): Handle case where
618 "object" isn't present, i.e. CORBA_TC_Object doesn't match
619 the EventDetails data.
620 (cspi_internal_event_get_text): Handle NULL string.
621 (cspi_internal_event_get_rect): Handle missing/empty rect
622 data, Accessibility_TC_RectBounds doesn't match any_data.
624 2006-01-30 Bill Haneman <billh@gnome.org>
628 * atk-bridge/bridge.c:
629 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
630 interface and use that when instantiating a new source
631 accessible. Better fix for bug #321814.
633 2006-01-27 Bill Haneman <billh@gnome.org>
635 * idl/Accessibility_Selector.idl: Added to the cvs repository.
637 * configure.in: Revved to 1.7.3.
639 2006-01-17 Bill Haneman <billh@gnome.org>
641 * configure.in: Revved to 1.7.2, re-dist to include docs.
643 2006-01-09 Bill Haneman <billh@gnome.org>
645 * configure.in: Removed po/Makefile.in inclusion, we do not need
648 * idl/Accessibility.idl: Improved documentation here, and for all
649 IDL in the 'GNOME::Accessibility' namespace.
651 * idl/Accessibility_Accessible.idl:
652 (LOCALE_TYPE): Added enum.
653 (AttributeSet): New, for returning multiple name/value attribute pairs.
654 (RoleSet): New, sequence of Roles, to be used in upcoming
656 (getAttributes): New API, allows retrieval of name/value pair
657 annotations for all kinds of Accessible objects. C.f.
658 Text:getAttributes, which is only for typographic/textual/semantic tags in
660 (getApplication): New, retrieves the host/containing Application
661 instance for an object (without having to walk up the whole tree).
663 * idl/Accessibility_Component.idl:
664 (getAlpha): New method, returns the alpha blending (aka 'opacity')
665 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
668 * idl/Accessibility_Event.idl:
669 (EventDetails): New struct definition, for encapsulating
670 commonly-queried information about emitted events. The use of
671 this structure in emitted events (in the 'any' member of
672 Accessibility_Event) should greatly reduce the number of
673 client-server roundtrips necessary.
675 * idl/Accessibility_Image.idl:
676 (imageLocale): New, a readonly attribute indicating the POSIX
677 LC_MESSAGES locale of the image and associated Alt/descriptive
680 * idl/Accessibility_Relation.idl:
681 (RELATION_PARENT_WINDOW_OF): Include, as complement to
684 * idl/Accessibility_Role.idl:
685 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
686 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
687 complex document and form support.
689 * idl/Accessibility_State.idl:
690 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
691 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
692 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
693 for support of complex documents and forms.
695 * idl/Accessibility_StreamableContent.idl:
696 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
697 allow old bonobo-stream interfaces to be deprecated in the next
700 * idl/Accessibility_Text.idl:
701 (getAttributeValue): New method, allows query-by-name of single
704 * libspi/accessible.c:
705 Added support for new roles. Implemented new methods
706 (impl_accessibility_accessible_get_application): New
707 (impl_accessibility_accessible_get_attributes): New
709 * libspi/component.c:
710 (impl_accessibility_component_get_alpha): New.
713 (impl_accessibility_image_get_locale): New.
715 * libspi/relation.c: Added support for new relation type.
717 * libspi/stateset.c: Added support for new state types.
720 (impl_getAttributeValue): New.
723 New prototypes for private methods
725 spi_init_any_object, spi_init_any_string,
728 * libspi/spi_event.c:
729 Use EventDetails in the event emission methods.
731 * cspi/spi-private.h:
732 (cspi_role_from_spi_role): Expose this adapter method, since
733 we need it in the bridge (see below).
736 (AccessibleEvent_getSourceName):
737 (AccessibleEvent_getSourceRole):
738 (AccessibleEvent_getSourceApplication):
739 (AccessibleEvent_getSourceDetails):
740 New methods for interrogating/demarshalling
741 event details (i.e. source's accessible name, role,
744 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
745 Make use of the new EventDetails struct in events, if present.
746 (AccessibleEvent_getSourceName)
747 (AccessibleEvent_getSourceRole)
748 (AccessibleEvent_getSourceApplication)
749 (AccessibleEvent_getSourceDetails): Implement the newly exposed
751 (Accessible_getAttributes): New, wraps
752 Accessibility_Accessible_getAttributes.
753 (Accessible_getHostApplication): New, wraps
754 Accessibility_Accessible_getApplication.
757 (AccessibleImage_getImageLocale): New wrapper for
758 Accessibility_Image_get_imageLocale.
760 * cspi/spi_component.c:
761 (AccessibleComponent_getAlpha): New wrapper for
762 Accessibility_Component_getAlpha.
764 * atk-bridge/bridge.c:
765 Use new prototyped for init_any methods.
766 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
767 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
768 (spi_atk_bridge_init_base): Wrappers
769 for spi_init_any_* methods, due to refactor; include extended
770 information in the Accessibility_EventDetails struct, for instance
771 accessible-name, Role, and containing Application.
773 * registryd/registry.c:
774 Use new event emission (with EventDetails).
776 * registryd/deviceeventcontroller.c:
777 Use new event emission (with EventDetails).
779 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
781 * configure.in: Generate po/Makefile.in
782 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
783 * cspi/spi_streamablecontent.c:
784 (accessible_bonobo_stream_client_seek),
785 (AccessibleStreamableContent_seek): Remove unused vars.
786 * libspi/application.c: Missing header.
787 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
788 * login-helper/login-helper.c: (login_helper_finalize),
789 (login_helper_init): Remove unused stuff
790 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
791 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
792 and surround some with #ifdef GRAB_BUTTON.
793 * test/event-listener-test.c: (main), (report_event),
794 (report_caret_event), (report_detail_event),
795 (report_detail1_event), (report_bounds_event), (report_text_event),
796 (report_text_selection_event),
797 (report_active_descendant_changed_event),
798 (report_children_changed_event), (report_name_changed_event),
799 (report_description_changed_event), (report_parent_changed_event),
800 (report_window_event), (report_table_summary_event),
801 (report_table_header_event), (report_table_caption_event),
802 (report_table_row_description_event),
803 (report_table_column_description_event), (timing_test_event):
804 Remove a bunch of unused variables and fix a slew of format specifiers
805 * test/key-listener-test.c: (report_all_key_event): Format specifier
806 * test/keypad-test.c: (print_key_event): Same
807 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
809 * test/screen-review-test.c: (main), (print_chunk_debug),
810 (review_buffer_get_text_chunk), (debug_chunk_list),
811 (string_guess_clip), (text_chunk_get_clipped_string),
812 (text_chunk_list_to_string), (get_screen_review_line_at):
813 Remove unused variables and fix format specifiers.
814 * test/simple-at.c: (report_text_event): Format specifier fix.
815 * test/stress-test.c: (main): Remove unused var.
817 2005-12-29 Abel Cheung <maddog@linuxhall.org>
819 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
820 (yes I know that's useless)
822 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
824 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
826 2005-11-17 Michael Meeks <michael.meeks@novell.com>
828 * atk-bridge/bridge.c (spi_atk_emit_eventv):
829 urgh-fix embarassing typo.
831 2005-11-16 Michael Meeks <michael.meeks@novell.com>
833 * atk-bridge/bridge.c (spi_atk_emit_eventv):
834 do a faster, less problematic _unref call on this local
835 object, rather than a slower (potentially cross-thread
836 complicated) CORBA call.
838 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
840 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
841 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
842 * registryd/deviceeventcontroller.c:
843 (spi_controller_notify_mouselisteners),
844 (impl_generate_keyboard_event):
845 * test/screen-review-test.c: (chunk_bounds_within):
846 * test/test-simple.c: (test_desktop): Remove some unused code
847 and fix compiler warnings. Closes bug #320049.
849 2005-10-27 Bill Haneman <bill.haneman@sun.com>
851 * registryd/deviceeventcontroller.c:
852 (spi_controller_notify_keylisteners): Check
853 to make sure the event listener has requested 'preemptive'
854 status before pre-empting an event.
856 2005-08-29 Bill Haneman <bill.haneman@sun.com>
858 * configure.in, README, NEWS: Release 1.6.5.
860 2005-07-25 Matthias Clasen <mclasen@redhat.com>
862 * test/window-listener-test.c: Fix a printf
863 format error. (#169453)
865 2005-07-15 Bill Haneman <bill.haneman@sun.com>
867 * tests/test-simple.c:
868 (key_listener_cb): Ensure that the keystring is dup'ed instead of
869 relying on the old string from the key event hanging around after
870 the event handler returns. Fixes broken 'make check'.
872 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
874 * Added Marathi (mr_IN) translations.
876 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
878 * cspi/bonobo/cspi-bonobo-listener.c:
879 (cspi_event_list_remove_by_cb): Fix the build.
881 2005-05-26 Michael Meeks <michael.meeks@novell.com>
883 * cspi/bonobo/cspi-bonobo-listener.c
884 (cspi_event_list_remove_by_cb): actually filter by callback.
886 2005-05-25 Bill Haneman <bill.haneman@sun.com>
888 * registryd/registry.c (remove_listener_cb):
889 Make deregistration filter rules match the event emission rules.
891 2005-05-25 Michael Meeks <michael.meeks@novell.com>
893 * registryd/registry.c (remove_listener_cb),
894 (impl_accessibility_registry_deregister_global_event_listener),
895 (impl_accessibility_registry_deregister_global_event_listener_all):
896 pass a closure to the remove callback to filter listeners more
897 accurately on remove.
899 2005-04-05 Bill Haneman <bill.haneman@sun.com>
901 * configure.in: Revved to 1.6.4.
902 Remember to put quotes around XEVIE_LIBS assignment.
903 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
906 * tests/event-listener-test.c: Tweaked the tests - more detail
907 from caret events, and some interrogation of AccessibleText APIs.
908 Commented-out the bounds-changed events by default, since they can
911 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
913 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
914 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
915 Same here. Closes bug #167806
917 2005-04-05 Bill Haneman <bill.haneman@sun.com>
919 * atk-bridge/bridge.c:
920 (spi_atk_bridge_signal_listener):
921 Free the any._value if any._release is TRUE,
922 since the ORB won't do it for us in this case
923 [because this method is not a skel].
926 2005-03-30 Steve Murphy <murf@e-tools.com>
928 * configure.in: Added "rw" to ALL_LINGUAS.
930 2005-03-29 Bill Haneman <bill.haneman@sun.com>
932 * configure.in: Improved check for HAVE_XEVIE, to detect
933 presence on XOrg, where -lXevie is a separate library.
935 2005-03-08 Bill Haneman <bill.haneman@sun.com>
937 * configure.in, NEWS, README: Revved to 1.6.3.
939 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
941 * configure.in: Added "xh" to ALL_LINGUAS.
943 2005-02-07 Bill Haneman <bill.haneman@sun.com>
945 * atk-bridge/bridge.c:
946 (atk_bridge_init): Added missing NULL in g_strconcat(),
947 also check for symlink before logging to
948 insecure directory. Thanks to meissner@suse.de.
950 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
952 * tests/login-helper-server-test.c: Add return call to main
953 function. Patch from Chris Lahey. Fixes bug #165129.
955 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
957 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
959 2004-12-09 Bill Haneman <billh@gnome.org>
961 * registryd/registry-main.c:
962 Added #define <string.h> for strrchr. (bug 160862).
963 Thanks to Vincent Berger for catching.
965 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
967 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
968 restart registry process if the registry process is found to have died
969 and the current process is exiting.
970 (spi_atk_bridge_exit_func): Do not attempt to deregister the
971 application if the registry process has died.
972 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
973 does not return a registry object.
974 (spi_atk_tidy_windows): Give up if the registry process has died.
976 This fixes problems with hangs and crashes when logging out.
978 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
980 * registryd/desktop.c: Add checking that we are not exiting before
981 calling spi_desktop_remove_application in
982 abnormal_application_termination. Fix for bug #152147.
984 2004-12-02 Bill Haneman <billh@gnome.org>
986 * configure.in, NEWS, README: Revved to 1.6.1.
988 Patch from Padraig O'Briain <padraig.obriain@sun.com>
989 * atk-bridge/bridge.c:
990 (atk_bridge_init): Save the pid when we start, to detect forks.
991 (spi_atk_bridge_exit_func): Don't call the cleanup routines
992 if we're in a forked pid.
994 2004-10-09 Bill Haneman <billh@gnome.org>
996 * idl/Accessibility_LoginHelper.idl:
997 Improved inline documentation.
999 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1001 * configure.in: Added gl (Galician) to ALL_LINGUAS
1003 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1005 * libspi/accessible.c:
1006 (impl_accessibility_accessible_get_role_name),
1007 (impl_accessibility_accessible_get_local_role_name):
1008 NULL vs. 0 cleanups.
1009 * libspi/component.c:
1010 (impl_accessibility_component_get_accessible_at_point):
1012 * libspi/eventlistener.c: (spi_event_listener_new):
1014 * libspi/stateset.c: (impl_compare): More of the same
1015 * libspi/table.c: (impl_getRowDescription): Again.
1016 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1017 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1018 (impl_generate_keyboard_event): Same.
1019 * registryd/registry-main.c: (main): Same
1020 * test/event-listener-test.c: (test_exit): Same
1021 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1022 * test/keysynth-test.c: (test_key_synthesis): Same
1023 * test/login-helper-server-test.c: (main): Fix warning.
1024 * test/screen-review-test.c: (test_exit): Fix include.
1025 * test/simple-at.c: (simple_at_exit), (_festival_init):
1028 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1030 * configure.in, NEWS, README: Revved to 1.6.0.
1032 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1034 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1035 was missing the HTML docs.
1037 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1039 * configure.in: only cleanups:
1040 - better looking PKG_CHECK_MODULES() output,
1042 - declare in one common place required versions of other tools using
1045 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1047 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1048 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1049 required ATK version accordingly.
1051 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1053 * cspi/bonobo/cspi-bonobo.c:
1054 (cspi_display_name): Fix C99ism.
1055 * atk-bridge/bridge.c:
1056 (spi_display_name): Fix C99ism.
1057 Patch from Jens Granseuer, jensgr@gmx.net.
1059 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1061 * configure.in: Added "or" to ALL_LINGUAS.
1063 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1065 * configure.in, NEWS, README: Revved to 1.5.4.
1067 * registryd/registry-main.c:
1068 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1071 * cspi/bonobo/cspi-bonobo.c:
1072 (cspi_display_name): New convenience method, gets DISPLAY with
1073 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1074 (cspi_init): Set the activation env value above before getting
1077 * atk-bridge/bridge.c:
1078 (spi_display_name): Create the AT_SPI_DISPLAY activation
1079 environment for an app, based on the DISPLAY environment with the
1080 screen number stripped off.
1081 (atk_bridge_init): Allow redirection of error messages to a log.
1082 (spi_atk_bridge_get_registry): Call
1083 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1085 Fixes for bugs #149962, #136986, #144086.
1087 2004-08-16 Christian Rose <menthos@menthos.com>
1089 * configure.in: Added "bs" to ALL_LINGUAS.
1091 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1093 * configure.in: Added nb to ALL_LINGUAS.
1095 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1098 (SPI_init): Return error code '2' if the activated
1099 registry cannot be pinged. Fixes bug #147648.
1101 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1103 * registryd/deviceeventcontroller.c:
1104 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1105 rely on timer-poll instead, to avoid conflict with
1108 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1110 * configure.in: Revved to 1.5.3.
1112 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1114 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1116 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1118 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1120 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1122 * atk-bridge/bridge.c:
1123 (spi_atk_bridge_do_registration):
1124 Register with ATK for AtkComponent:bounds-changed events.
1125 (api_atk_bridge_signal_listener):
1126 Marshal the AtkRectangle info into the event notification
1127 for object:bounds-changed events.
1130 (spi_init_any_rect): New method, inits a corba struct of
1131 type Accessibility_BoundingBox from an AtkRectangle.
1133 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1136 (SPIRect): New struct definition.
1137 (SPI_freeRect): New declaration.
1138 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1141 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1142 implemented. Gets the bounding box data from the CORBA_any
1143 associated with a bounds-changed event notification.
1144 (cspi_internal_event_get_rect): New, used internally by above method.
1147 (SPI_freeRect): Implemented this new method, for freeing
1150 * test/event-listener-test.c:
1151 (main, report_bounds_event):
1152 Added a test for object:bounds-changed events.
1154 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1156 * test/login-helper-server-test.c:
1157 (main): Fix C99-ism. Thanks to Jens Granseuer.
1159 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1161 * libloginhelper-1.0.pc.in:
1162 * idl/Accessibility_LoginHelper.idl:
1163 * login-helper/Makefile.am:
1164 * login-helper/login-helper.[ch]:
1165 * test/login-helper-client-test.c:
1166 * test/login-helper-server-test.c: Added files missing from CVS.
1167 Files obtained from at-spi-1.5.2 tarball.
1169 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1171 * configure.in: Create login-helper/Makefile.
1172 Incremented micro version.
1174 * Makefile.am: Add login-helper subdir and pkgconfig data.
1176 * login-helper: New subdir.
1178 * libloginhelper-1.0.pc.in: New.
1180 * idl/Accessibility_LoginHelper.idl: New file, defines
1181 interface whereby authentication clients can identify agents which
1182 need access to services during the login process, e.g. screen lock
1185 * login-helper/Makefile.am : New.
1187 * login-helper/login-helper.[ch] : New, implementation of
1188 a LoginHelper base class. Services needing LoginHelper can subclass.
1190 * test/Makefile.am : Added test for login-helper, client and
1193 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1194 Use proper prefix in #include files.
1196 * test/login-helper-client-test.c: New.
1198 * test/login-helper-server-test.c: New.
1200 2004-05-27 Alexander Shopov <ash@contact.bg>
1202 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1204 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1206 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1207 is positive. This should make it easier to detect inapprorpiate unref
1210 2004-05-11 James Henstridge <james@daa.com.au>
1212 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1213 no-op and deprecated.
1215 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1217 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1219 2004-04-28 Bill Haneman <billh@gnome.org>
1221 * Makefile.am: Added --enable-gtk-doc to
1222 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1224 2004-04-19 Bill Haneman <billh@gnome.org>
1226 * configure.in: Revved to 1.5.1.
1228 * registryd/deviceeventcontroller.c:
1230 (DEControllerPrivateData): Added fields for
1231 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1232 (spi_dec_replace_map_keysym): New internal utility for
1233 replacing a keysym in the keymap - used to allow
1234 synthesis of individual characters which aren't in the
1236 (spi_dec_reset_reserved): New; resets the changed keysym value
1238 (keycode_for_keysym): We now try to deal with failed
1239 XKeysymToKeycode requests by changing a keymap value
1240 and returning a reserved keycode. We now take
1241 a DEController pointer as first arg.
1242 (spi_controller_register_with_devices): Call XkbGetMap with
1243 the XkbKeySymsMask. Find the highest keycode in the current
1244 keymap which doesn't have any grabs, and mark that one for
1245 temporary re-mapping when out-of-range KeySyms are synthesized.
1246 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1249 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1251 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1253 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1255 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1257 2004-03-24 Bill Haneman <billh@gnome.org>
1260 (AccessibleTable_addRowSelection),
1261 (AccessibleTable_addColumnSelection),
1262 (AccessibleTable_removeRowSelection),
1263 (AccessibleTable_removeColumnSelection):
1264 Add declarations for spi wrappers which were
1265 inadvertantly omitted. Fixes bug #133413.
1268 Revved to 1.5.0 (unstable series for GNOME 2.7).
1270 2004-03-24 Bill Haneman <billh@gnome.org>
1272 * atk-bridge/bridge.c:
1273 Bracketed some debug output in
1274 conditionals, to avoid printing it in normal use.
1277 * libspi/hyperlink.c:
1278 Don't cast 'object' to ATK_OBJECT when constructing
1279 an AtkAction interface for a hyperlink.
1280 See discussion in bug #120659.
1282 * test/key-listener-test.c:
1283 (report_all_key_event): Send output to stderr,
1284 not stdout, for consistency with the rest of the test callbacks.
1287 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1288 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1289 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1290 try incrementing the revision AFTER doing a dist, at least
1293 2004-03-22 Bill Haneman <billh@gnome.org>
1295 * configure.in: Revved to 1.4.0, libtool 9.14.9
1297 2004-03-17 Laszlo Peter <laca@sun.com>
1299 * libspi-1.0-uninstalled.pc.in: add idldir
1301 * cspi-1.0-uninstalled.pc.in: add idldir
1303 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1305 * configure.in: Added "en_GB" to ALL_LINGUAS
1307 2004-03-15 Bill Haneman <billh@gnome.org>
1309 * configure.in: Revved to 1.3.16,
1312 2004-03-15 Laszlo Peter <laca@sun.com>
1314 * libspi-1.0-uninstalled.pc.in: new file
1316 * cspi-1.0-uninstalled.pc.in: new file
1318 * configure.in: add the new pc files to AC_OUTPUT
1320 * Makefile.am: add the new pc files to EXTRA_DIST
1322 2004-03-12 Bill Haneman <billh@gnome.org>
1324 * atk-bridge/bridge.c:
1325 (spi_atk_bridge_key_listener):
1326 Make sure to return consumed=FALSE if snoop
1327 event is not dispatched to listener.
1330 2004-03-01 Bill Haneman <billh@gnome.org>
1332 * configure.in: Revved to 1.3.15,
1335 2004-03-07 Danilo Segan <dsegan@gmx.net>
1337 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1339 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1341 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1343 2004-03-01 Bill Haneman <billh@gnome.org>
1345 * configure.in: Revved to 1.3.14.
1348 (SPI_exit): Removed "bye-bye" exit message.
1349 Moved "leak" report to happen before the
1350 iteration over the leaked refs list.
1351 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1353 2004-02-24 Bill Haneman <billh@gnome.org>
1355 * configure.in: Revved to 1.3.13.
1357 * docs/reference/cspi/Makefile.am:
1358 Correct typo that was breaking the docs build.
1360 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1362 * autogen.sh: Require version 1.7 of automake.
1364 * configure.in: call GTK_DOC_CHECK([1.0])
1366 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1368 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1370 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1372 * test/Makefile.am: Remove use of CFLAGS.
1374 This fixes bug #132987.
1376 2004-02-11 Bill Haneman <billh@gnome.org>
1378 * reverted most of Tomasz' patch below, since it was breaking
1379 builds (see bug #134058).
1381 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1383 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1384 correct pass "make dist" (empty .. because seems no sach types in
1385 header files with gtk-doc markups).
1386 * docs/reference/cspi/Makefile.am, configure.in:
1387 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1388 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1389 * Makefile.am: added:
1390 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1391 for force correct pass generate documentation on "make distcheck".
1392 * libspi/Makefile.am: fixes for automake >= 1.6.
1393 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1394 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1397 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1399 * docs/reference/cspi/Makefile.am (install-data-local): Install
1400 index.sgml since the doc autobuilder on widget.gnome.org looks for
1403 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1405 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1408 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1410 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1412 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1414 * test/simple-at.c: Fixed null string problems that cause core
1415 dumping problems on Solaris.
1417 2004-01-12 Bill Haneman <billh@gnome.org>
1419 * configure.in: Incremented version to 1.3.11.
1421 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1423 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1424 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1427 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1429 * configure.in: Added "fa" to ALL_LINGUAS.
1431 2003-12-20 Arafat Medini <lumina@silverpen.de>
1433 * configure.in: Added "ar" to ALL_LINGUAS
1435 2003-12-16 Bill Haneman <billh@gnome.org>
1437 * registryd/registry-main.c:
1439 Set the reg_env DISPLAY variable before registering the
1440 activated registry service. Fixes bug #129479.
1442 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1444 * configure.in: Added "id" in ALL_LINGUAS
1445 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1447 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1449 * registryd/deviceeventcontroller.c (global_filter_fn):
1450 When an event is consumed discard any XEvents were added to
1451 the queue while dealing with the the event. This can happen if
1452 processing of the event takes a long time. Call XUngrabKeyboard
1453 if an event was discarded. This fixes bug $124837.
1454 Only call wait_for_release_event for a KeyPress.
1455 Use local variable display instead of spi_get_display().
1456 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1459 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1461 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1462 Allow for mask to contain values other than NumLock mask.
1465 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1467 * registryd/devieceventcontroller.c:
1468 (wait_for_release_event): Change first parameter from GdkEvent to
1470 (global_filter_fn); Correct call to wait_for_release_event.
1474 2003-12-08 Bill Haneman <billh@gnome.org>
1478 * registryd/ucs2keysym.c: New file.
1480 * registryd/deviceeventcontroller.c:
1481 (dec_keysym_for_unichar): Remove old partial implementation and
1482 replace with call to ucs2keysym(), which is much more complete.
1483 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1488 2003-12-05 Bill Haneman <billh@gnome.org>
1490 * configure.in: Version 1.3.9.
1492 * docs/reference/cspi/tmpl/spi_registry.sgml:
1493 Added reference to libspi/keymasks.h to the
1494 description of Registry queries: AccessibleKeyMaskType.
1497 2003-12-04 Bill Haneman <billh@gnome.org>
1499 Fix for bug #121974.
1501 * idl/Accessibility_Application.idl:
1502 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1503 setlocale's LC_TYPEs.
1504 (Accessibility::Application::getLocale): New method.
1505 Allows clients to query the locale, by type, of an app.
1508 * cspi/spi_application.c:
1509 (AccessibleApplication_getLocale): New method, wraps IDL above.
1511 * libspi/application.c:
1512 (spi_application_class_init): Init epv entry for getLocale.
1513 (impl_accessibility_application_get_locale): Impl for above.
1515 * test/test-simple.c:
1516 (test_application): Added assertion for getLocale, i.e.
1517 that the string from AccessibleApplication_getLocale (app, type)
1518 is the same as that from setlocale (type, NULL);
1520 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1522 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1523 the keyboard on a timeout intil the key state goes from pressed to
1524 released. Fixes bug #111429.
1526 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1528 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1529 root object so that it is present when a context menu in an
1530 out-of-process applet is popped up.
1531 (spi_atk_bridge_do_registration): Create acceessible application root
1532 object only if it does not exist.
1534 This fixes bug #125834.
1536 2003-12-01 Bill Haneman <billh@gnome.org>
1538 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1541 Added enum for AccessibleStreamableContentSeekType.
1542 (AccessibleStreamableContent_freeContentTypeList): New.
1544 * cspi/spi_streamablecontent.c:
1545 (accessible_bonobo_stream_client_seek): New private method.
1546 (AccessibleStreamableContent_seek): Implemented this method,
1547 using Bonobo_Stream_seek.
1548 (AccessibleStreamableContent_freeContentTypeList): New method
1549 for freeing the return value from
1550 AccessibleStreamableContent_getContentTypes.
1551 (stream_cache_item_free): Replaces stream_release; stop leaks.
1552 (stream_release): removed.
1553 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1554 free the memory properly.
1556 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1558 Fix for bug #116009.
1560 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1562 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1564 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1566 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1568 2003-12-01 Bill Haneman <billh@gnome.org>
1570 Fix for bug/rfe #127463.
1572 * idl/Accessibility_Accessible.idl:
1573 (getLocalizedRoleName): New.
1574 (unimplemented4): Removed (replaced by above).
1576 * libspi/accessible.c:
1577 (impl_accessibility_accessible_get_local_role_name): New.
1578 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1582 (Accessible_getLocalizedRoleName): New.
1584 * cspi/spi_accessible.c:
1585 (Accessible_getLocalizedRoleName): New.
1587 2003-12-01 Bill Haneman <billh@gnome.org>
1589 Fix for bug #118581.
1590 * idl/Accessibility_Text.idl:
1591 (getDefaultAttributes): New.
1592 (unimplemented4): Removed (replaced by above method).
1595 (impl_getDefaultAttributes): New method.
1596 (spi_text_class_init):
1597 initialize the get_default_attributes slot in the epv.
1600 (AccessibleText_getDefaultAttributes): New prototype.
1603 (AccessibleText_getDefaultAttributes): New method.
1605 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1607 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1608 write beyond the end of the table. Fixes bug #120473.
1610 2003-09-30 Christian Rose <menthos@menthos.com>
1612 * configure.in: Added "eu" to ALL_LINGUAS.
1614 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1616 * configure.in: ALL_LINGUAS: Added no.
1618 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1620 * configure.in: Added lt to ALL_LINGUAS.
1622 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1624 * atk-bridge/bridge.c:
1625 (atk_bridge_init): Register event listeners always even for
1626 out-of-process applet.
1627 (spi_atk_bridge_toplevel_added): Remove call to
1628 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1629 (spi_atk_bridge_toplevelk_removed): Remove call to
1630 spi_atk_deregister_event_listenersa as the listeners are now always
1632 (spi_atk_bridge_register_application): Remove call to
1633 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1635 This fixes bug #120991.
1637 * libspi/table.c (impl_getColumnDescription): Correct typo,
1638 pointed out by Bolian.Yin@sun.com.
1640 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1642 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1644 2003-09-08 Bill Haneman <billh@gnome.org>
1646 * configure.in: Revved to 1.3.7.
1648 This is the GNOME 2.4.0 release of at-spi.
1650 * docs/reference/cspi/Makefile.am:
1651 Removed spurious inclusion of 'index.sgml' in the
1652 html directory; this was breaking make distcheck and
1653 also some other build environments.
1655 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1657 * registryd/registry.[ch}:
1658 Add queue_handler_id and focus_object to SpiRegistry data structure.
1659 (registry_flush_event_queue): If event being discarded is
1660 "state-change:focused" store object as focus_object.
1661 (registry_start_queue): Remove queue handler and focus object
1663 (registry_discard_event): New function which discards a focus event
1664 if we had stored focus object in the registry.
1665 (registry_queue_event): Add new check that is_queueing is set as this
1666 function is reentrant.
1667 (registry_filer_event): Add call to registry_discard_event.
1669 This resolves issues raised in bug #108664.
1671 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1673 * configure.in: Added "bn" to ALL_LINGUAS.
1675 2003-09-04 Bill Haneman <billh@gnome.org>
1677 * cspi/spi_event.c: Documentation improvements for
1678 (SPI_registerAccessibleKeylistener).
1680 * docs/reference/tmpl/spi_registry.sgml:
1681 Documentation improvements for SpiAccessibleKeylistenerCB.
1683 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1685 * configure.in: Added "ro" to ALL_LINGUAS.
1688 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1690 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1691 not decremented to zero. Fixes bug #120725.
1693 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1695 * configure.in: Added "ja" to ALL_LINGUAS.
1697 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1699 * configure.in: Added "is" to ALL_LINGUAS.
1701 2003-08-22 Christian Rose <menthos@menthos.com>
1703 * configure.in: Added "nl" to ALL_LINGUAS.
1705 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1707 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1708 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1710 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1712 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1713 type for unspecified exception.
1714 * cspi_streamablecontect): Add include of string.h for memcpy.
1715 (stream_release): Correct call to bonobo_object_release_unref
1716 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1717 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1718 argument of _cspi_expection_throw.
1719 * libspi/hyperlink.c: Add include of libspi/action.h:
1720 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1721 * libspi/streamablecontent.c: add include of libspi/component.h.
1722 * regisrtyd/deviceeventcontroller.c:
1723 (spi_dec_translate_mask): Removed unused variable priv.
1724 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1725 * registryd/registry.c:
1726 (registry_filter_event): Remove unused variable queue_is-empty.
1727 (impl_registry_notify_event): Use correct modifier in fprintf call.
1729 This fixes compiler warnings reported in bug #120220.
1731 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1733 * registryd/registryd.c: Remove this file.
1735 2003-08-17 Sanlig Badral <badral@openmn.org>
1737 * configure.in: Added mn to ALL_LINGUAS.
1739 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1741 * configure.in: Added et to ALL_LINGUAS.
1743 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1745 * test/event-listener-test.c: Change active-descendant to
1746 active-descendant-changed.
1748 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1750 * configure.in: Added "fi" in ALL_LINGUAS.
1752 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1754 * configure.in: Added "hi" in ALL_LINGUAS.
1756 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1758 * configure.in: Revved to 1.3.6.
1762 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1764 * registryd/deviceeventcontroller.c
1765 (spi_device_event_controller_object_finalize): Fix typo in previous
1768 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1770 * registryd/deviceeventcontroller.c
1771 (spi_device_event_controller_object_finalize): Fix build on
1772 systems without XEvIE.
1774 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1776 * acconfig.h, configure.in, registryd/Makefile.am,
1777 registryd/devicecontoller.[ch]: Add XEViE support.
1779 2003-08-06 Wang Jian <lark@linux.net.cn>
1781 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1783 2003-08-06 Metin Amiroff<metin@karegen.com>
1785 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1787 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1789 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1790 MODIFIER_ALT in correct place.
1792 This fixes part of bug #118114.
1794 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1796 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1798 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1800 * configure.in: Added "ko" to ALL_LINGUAS.
1802 2003-07-28 Ole Laursen <olau@hardworking.dk>
1804 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1806 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1808 * configure.in: Added "sq" to ALL_LINGUAS.
1810 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1812 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1814 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1816 * configure.in: updated ALL_LINGUAS list
1818 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1820 * configure.in: Added Belarusian to ALL_LINGUAS.
1822 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1824 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1826 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1827 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1829 This fixes bug #116949.
1831 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1833 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1834 Correct CSPI to SPI in function documentation.
1836 This fixes bug #118054.
1838 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1840 * configure.in: Added Russian to ALL_LINGUAS.
1842 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1844 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1846 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1848 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1850 2003-07-10 Joel Brich <joel.brich@laposte.net>
1852 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1854 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1856 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1858 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1860 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1861 resources allocated for AccessibleEvent. See cspi_event().
1863 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1864 static variable streams to NULL.
1866 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1867 Update so that AcessibleEvent_ref will work.
1869 This fixes bug #116624.
1871 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1873 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1875 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1877 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1879 2003-07-02 Christian Neumair <chris@gnome-de.org>
1881 * configure.in: Added "de" (German) to ALL_LINGUAS.
1883 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1885 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1887 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1889 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1891 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1893 * configure.in: Added "pl" to ALL_LINGUAS.
1895 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1897 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1899 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1902 (get_action_from_servant):
1903 Removed assertion that action is implemented on an AtkObject.
1905 * libspi/hyperlink.c:
1906 (spi_hyperlink_new):
1907 Aggregate AccessibleAction interface on the hyperlink object if
1908 the object implements AtkAction. (This convention is used in
1911 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1913 * configure.in: Revved to 1.3.5.
1915 * registryd/Accessibility_Registry.server.in.in:
1916 Marked up appropriate strings for translation.
1918 * atk-bridge/bridge.c: Marked a couple of
1919 user-visible warnings for translation. Questionable
1920 whether they are really useful, but possibly so.
1923 2003-06-28 Christian Rose <menthos@menthos.com>
1925 * configure.in: Added "sv" to ALL_LINGUAS.
1927 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1929 * registryd/registry.c:
1930 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1931 (registry_defer_on_event): Defer focus: events, this is an
1932 improvement to the patch for bug #108664.
1934 * TODO: Update with 2.4/"Dev Complete" items.
1936 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1938 * atk-bridge/bridge.c:
1939 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1940 looks up signals once.
1941 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1942 if doing registration.
1943 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1944 when doing registration.
1946 This fixes bug #115014.
1948 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1950 * atk-bridge/bridge.c:
1951 (atk_bridge_init): Add signal handler for children-changed:remove on
1952 root when in a BonoboComponent.
1953 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1954 for first toplevel only other incrememt variable toplevels.
1955 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1956 application and remove listeners.
1957 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1959 (spi_atk_deregister_event_listeners): New function which removes
1961 (reinit_register_vars): New fuction which reinitializes variables.
1963 This fixes bug #111578.
1965 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1967 * configure.in: version 1.3.4.
1969 * cspi/spi_accessible.c:
1970 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1973 2003-06-13 Michael Meeks <michael@ximian.com>
1975 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1977 * cspi/spi_main.c (cspi_peek_ev): impl.
1979 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1981 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1983 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1985 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1986 SPI_ROLE_AUTOCOMPLETE
1988 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1990 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1991 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1993 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1995 * libspi/streamablecontent.h:
1996 * libspi/streamablecontent.c:
1997 New files, provide implementation/wrappers for
1998 Accessibility_StreamableContent.
2000 * cspi/spi_streamablecontent.c:
2001 Connected the C wrappers to the libspi C bindings.
2002 (AccessibleStreamableContent_close): New method.
2005 (AccessibleStreamableContent_close): New method, needed
2006 since we have an "open, [seek], read, close" model in cspi.
2008 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2010 Fix for #108664; Padraig's revision of my original patch.
2012 * registryd/registry.h:
2013 Added event queue list, is_queuing, and exit_notify_timeout
2014 to the registry struct.
2016 * registryd/registry.c:
2017 (registry_init): Initialize new struct from registry.h.
2018 (impl_registry_notify_event):
2019 Filter events before notifying, in case some need to be
2021 (registry_filter_event): New,
2022 we defer certain incoming events (for instance
2023 window:deactivate) because we may wish to hide
2024 or reject them based on pending events. This is
2025 mostly a workaround for bug #108664.
2026 (registry_queue_event, registry_start_queue): New.
2027 (registry_defer_on_event): Test event to see if it
2029 (registry_reset_on_event): Returns TRUE if the
2030 event should cause a queue reset.
2031 (registry_discard_on_event): Returns TRUE if the event
2032 should cause the previous queue contents to be discarded.
2033 (registry_timeout_flush_queue): Flushes the pending event
2034 queue if no reset/discard-triggering events have come in
2035 within the timeout period.
2036 (registry_emit_event): New.
2037 (registry_clone_notify_context): New, used when queueing the
2038 event notify contexts.
2040 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2042 * configure.in: Version revved to 1.3.2, lt 0.9.2
2043 Incremented ATK required version to 1.3.4.
2045 * cspi/spi_registry.c:
2046 (SPI_generateKeyEvent):
2047 We now pass the keystring along if it's non-null.
2049 * registryd/deviceeventcontroller.c:
2050 (keysym_mod_mask): New method, returns modifier mask
2051 required to generate a keysym from a given keycode.
2052 (dec_synth_keysym): New method.
2053 (dec_synth_keystring): New method.
2054 (dec_get_modifier_state): New method.
2055 (dec_lock_modifiers): New
2056 (dec_unlock_modifiers): New.
2057 (dec_keysym_for_unichar): New, rather brute-force
2058 conversion from UCS-4 to X KeySyms. Only works for
2059 Latin at the moment, with partial implementations for
2060 Greek, Hebrew, and (incomplete) Katakana.
2061 (impl_generate_keyboard_event): Now implement
2062 "KEYSTRING" synthesis and implement "KEYSYM"
2064 (keycode_from_keysym): Improved, passes a returned
2065 modmask value now if the corresponding param is non-NULL.
2067 Fixes bugs #92143 and #109776.
2070 * test/keysynth-test.c:
2071 New test program for key synthesis, to confirm fixes for
2075 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2077 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2079 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2080 Add line for RELATION_POPUP_FOR
2082 * docs/reference/cspi/tmpl/spi_relation.sgml:
2083 Add relation SPI_RELATION_POPUP_FOR
2085 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2086 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2088 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2090 * libspi/relation.c (spi_init_relation_type_table):
2091 Add line for RELATION_POPUP_FOR
2093 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2095 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2096 there are still windows which have not been deleted and emit
2097 window:deactivate, if necessary and window:destroy events.
2098 This fixes bug #114370. The change on June 5th was not correct.
2100 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2102 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2105 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2107 New methods for client exception handling and interception.
2108 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2109 (SPI_exceptionHandlerPop): You guessed it...
2110 (SPI_getSourceType): Return the type of object which offended.
2111 (SPI_getExceptionCode): Return an enum code telling, possibly,
2112 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2113 (SPIAccessibleException_getSource): get the source object for
2114 exceptions that come from Accessibles, if SPIExceptionSourceType is
2115 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2116 (SPIException_getDescription): New, returns a string description of
2117 the problem. [Not yet a stable ABI, strings are not frozen]
2119 * cspi/spi-private.h:
2120 Added implementation details of opaque SPIException
2124 Implementations of above. Also
2125 (_cspi_exception_throw): new private method that
2126 dispatches exceptions to handlers, called from cspi-bonobo.c
2128 * cspi/bonobo/cspi-bonobo.c:
2129 (cspi_check_ev): call _cspi_exception_throw.
2130 Don't print a warning message if the exception has been
2131 handled by _cspi_exception_throw.
2133 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2135 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2136 there are still windows which have not been deleted and emit
2137 window:deactivate, if necessary and window:destroy events.
2138 This fixes bug #114370.
2140 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2143 (cspi_accessible_is_a): Make non-fatal
2144 if the object reference is dead.
2146 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2148 * cspi/spi_main.c: #include <stdio.h>
2149 * test/simple-at.c: ditto
2150 * test/event-listener-test.c: ditto
2151 * test/screen-review-test.c: ditto
2153 2003-05-30 Michael Meeks <michael@ximian.com>
2155 * test/test-simple.c (main): use CORBA_ORB_perform_work
2156 instead of an unnecessary linc_ call.
2158 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2160 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2161 Add SPI_STATE_INDETERMINATE.
2163 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2166 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2168 * libspi/stateset.c (init_state_type_tables): Add support for
2171 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2173 * configure: Update versions of atk and gail required.
2174 This fixes bug #113268.
2176 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2178 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2180 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2182 * libspi/Makefile.am:
2183 Ensure headers are generated before being used by c sources.
2185 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2188 Simplified lt versioning rules.
2189 Incremented version to 1.3.0, to indicate that we're on the
2190 unstable branch now.
2192 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2194 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2195 Add MKDB_OPTIONS=--outtput-format=xml
2197 * docs/reference/cspi/at-spi-cspi-docs.sgml
2198 docs/reference/idl/at-spi-idl-docs.sgml:
2199 Convert to Docbook XML.
2201 This fixes bug #111793.
2203 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2205 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2206 AcccessibleKeyEventType, AccessibleKeyMaskType.
2208 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2210 * cspi/state-types.h: Add documentation for AccessibleState.
2212 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2213 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2214 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2215 AccessibleComponentLayer.
2217 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2220 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2222 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2223 Accessible. Add description of AccessibleEvent,
2224 AccessibleEventListenerCB.
2226 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2229 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2230 documentation. Add description of AccessibleKeystrokeListenerCB,
2231 AccessibleKeyEventMask, AccessibleModifierMaskType,
2232 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2233 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2235 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2238 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2241 This fixes bug #104730.
2243 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2245 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2246 Set is_text field of Accessibility_DeviceEvent data structure.
2248 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2249 is-text field of AccessibleDeviceEvent data structure.
2251 This addresses part of bug #108666.
2253 * registryd/devcieeventcontroller.c: Unset debug option.
2255 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2257 * cspi/accessible.c:
2258 (cpi_initial_relation_type_table): New function which initializes
2259 mapping between Accessibility_RelationType and AccessibleRelationType.
2260 (cspi_relation_type_from_spi_relation_type): New function which
2261 translates an Accessibility_RelationType into an AccessibleRelationType.
2262 (AccessibleRelation_getRelationType): Use
2263 cpi_relation_type_get_spi_relation_type to return correct value.
2264 (spi_state_to_corba): Return correct type for default case.
2266 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2267 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2269 * cspi/cspi-bonobo-listener.c:
2270 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2273 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2274 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2275 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2276 libspi/image.c, libspi/listener.c, libspi/selection.c,
2277 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2278 registryd/desktop.c, registryd/registry.c:
2279 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2281 * libspi/eventlistener.c
2282 Remove semicolon after BONOBO_TYPE_FUNC.
2284 * libspi/relation.c:
2285 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2286 (spi_init_relation_type_table): Initialize using correct type.
2288 * registryd/desktop.c:
2289 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2290 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2291 of Accessibility_KeyEventType.
2293 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2296 * tests/simple-at.c, tests/screen-review-test.c:
2297 Add include for <strings.h>.
2299 * tests.stress-test.c:
2300 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2302 These changes fix compiler warnings when using FORTE compiler on
2303 Solaris; fixes bug #107479.
2306 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2309 * configure.in: revved to 1.1.10
2311 * libspi/keymasks.h:
2312 (SPI_KEYMASK_NUMLOCK): Added.
2314 * registryd/deviceeventcontroller.c:
2315 (spi_key_event_matches_listener): AND with a smaller
2316 bitmask (as we should).
2317 (spi_dec_translate_mask):
2318 New method, sets the virtual NumLock modifier bit
2319 if numlock is on. Eventually it can handle other virtual
2320 modifier bits if needed, or other marshalling from
2321 at-spi modifier masks to platform (X) masks.
2322 (spi_dec_key_listener_new):
2323 Call spi_dec_translate_mask to set up virtual mod bits
2324 in the 'mask' field when creating a new listener struct.
2325 (spi_dec_emit_modifier_event):
2326 Set the virtual (i.e. NumLock) bits before emitting event.
2327 (spi_controller_register_with_devices):
2328 Query for the NumLock modifier 'physical' bit if Xkb is
2329 present, for use in above methods.
2333 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2335 * registryd/deviceeventcontroller.c:
2336 (spi_keystroke_from_x_key_event):
2337 Instead of checking to see if the keysym is
2338 printable, check the string from XLookupString
2339 if available, get the first unicode character from it,
2340 and call g_unichar_isprint to determine whether the
2341 is_text flag should be TRUE or FALSE.
2345 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2347 * atk-bridge/bridge.c: Add support for extended events
2348 * cspi/spi_event.c: Add documentation and implementation for
2350 * tests/event-listener-test.c: Add tests for extended events.
2352 This fixes bugs #100424 and #100426.
2354 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2356 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2357 of LT_CURRENT. This fixes bug #89350.
2359 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2361 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2362 number of signal parameter values before accessing them. This fixes
2365 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2367 * configure.in: Fixed duplicate inclusion of -lspi.
2368 * branched for gnome-2-2/HEAD.
2369 [created tag "gnome-2-2"]
2371 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2373 * configure.in: 1.1.9 release.
2376 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2378 [needed by GOK, to fix bugs 107985 and 107988]
2379 * registryd/deviceeventcontroller.c:
2380 (spi_dec_clear_unlatch_pending):
2381 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2382 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2383 (spi_dec_init_mouse_listener):Emit warning if mouse button
2385 (spi_device_event_controller_forward_mouse_event):
2386 Removed unnecessary parens from a conditional.
2387 (global_filter_fn):Added TODO comment.
2388 (impl_generate_keyboard_event):
2389 Cancel a pending relatch if a 'delatching' key was
2392 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2394 * atk-bridge/bridge.c:
2395 Change atk_signal_child_changed to atk_signal_children_changed.
2396 Reorganize code in spi_atk_bridge_signal_listener().
2398 * test/event-listener-test.c:
2399 Add children_changed_listener and report_children_changed_event()
2400 to test AccessibleChildEvent_getChildAccessible.
2402 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2404 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2405 g_strdup to CORBA_String_dup (bug #105291)
2407 * test/event-listener-test.c (report_text_event): Add call to
2410 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2412 * registryd/deviceeventcontroller.c:
2413 (spi_keystroke_from_x_key_event):
2414 Fix string and keysym return codes to match modifier state.
2417 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2419 * registryd/deviceeventcontroller.c:
2420 (spi_keystroke_from_x_key_event):
2421 Fix segv due to improper use of isprint(c). [bug #107254]
2423 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2426 (get_accessible_text_boundary_type):
2427 Move default return value to (new) default case in switch.
2428 (get_accessible_text_clip_type):
2429 Move default return value to (new) default case in switch.
2431 * libspi/application.c:
2432 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2433 Remove unused methods.
2434 (impl_accessibility_application_register_object_event_listener):
2435 Remove unused methods.
2438 Added #include of <math.h>.
2440 * registryd/deviceeventcontroller.c:
2441 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2442 we don't currently use this method.
2443 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2445 (impl_generate_key_event):
2446 Remove unused variables.
2447 (impl_generate_mouse_event):
2448 Initialize button to zero, just in case we get an invalid
2449 input. Added support for mouse buttons 4 and 5.
2450 (spi_device_event_controller_new):
2451 Removed unused variable declaration for 'private'.
2453 Added #include of <gdk/gdk.h>
2455 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2457 * configure.in: Update to work when X is not installed in expected
2458 location. Fixes bug #105836.
2460 * atk-bridge/bridge.c
2461 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2463 (spi_atk_register_event_listener): Add signal listener for
2465 (spi_atk_bridge_signal_listener): Event event when link-selected
2466 signal is emitted. (bug #104622)
2468 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2469 on returned string. (bug #105291)
2471 * test/event-listener-test.c: Add test for link-selected.
2473 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2475 * atk-bridge/Makefile.am: Correct typo in previous commit.
2477 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2479 * atk-bridge/Makefile.am: Allow for build directory to be different
2480 from source directory
2482 * registryd/Makefile.am: Allow for build directory to be different
2483 from source directory
2487 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2490 Fixed dependencies for libcspi so that libspi gets pulled in
2491 properly. Fixes 104741.
2495 Clean up inline docs a little.
2497 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2499 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2500 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2501 the AtkObject within an SpiDesktop.
2502 This addresses bug #101524.
2504 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2505 Remove call to gdk_init().
2507 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2508 so that Display is set when SpiDesktop is created.
2510 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2512 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2513 This fixes bug #102830.
2515 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2517 * test/test-simple.c: Update to take account of fact that GailButton
2518 now implements AtkText.
2519 (create_text_window): Set name on AtkObject for GtkEntry.
2520 (validate_accessible): Check accessible name before calling test_text().
2522 * libspi/Makefile.am: Fix problem with building outside of source
2523 directory. Bug #98120.
2525 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2526 typo in documentation comments. Bug #94275.
2528 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2530 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2532 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2535 Add includes to avoid compiler warnings on Solaris.
2536 (impl_getRangeExtents): Bug fix.
2538 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2540 Fix for 100944, [API addition approved by Gman and murrayc].
2547 * idl/Accessibility_Text.idl:
2548 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2549 (Text::getRangeExtents): New method for efficient
2550 bounds query of a text range.
2551 (Text::getBoundedRanges): New method for efficient
2552 clipping of text to bounding boxes.
2553 (unImplemented7, unImplemented8):
2554 Removed these padding methods to preserve bincompat.
2557 (impl_getRangeExtents): implementation of new IDL.
2558 (impl_getBoundedRanges): implementation of new IDL.
2559 (SpiTextRect): Internal use struct.
2560 (_spi_text_rect_union): internal method, calculates union of two
2561 SpiTextRect bounding rects.
2562 (_spi_text_range_seq_from_gslist): internal method, allows us
2563 to build our sequence efficiently as a gslist then convert it
2565 (_spi_bounds_contain): internal method, determines whether
2566 a text character is "in" or "out" of a clip rect according to
2567 values of TEXT_CLIP_TYPE.
2568 (spi_text_class_init): Initialize the new methods in the epv.
2571 (AccessibleTextClipType): New enum used by screen review api.
2572 (AccessibleTextRange): New struct used by screen review api.
2573 (AccessibleText_getRangeExtents):
2574 cspi binding for Accessibility_Text_getRangeExtents.
2575 (AccessibleText_getBoundedRanges):
2576 cspi binding for Accessibility_Text_getBoundedRanges.
2577 (AccessibleTextRange_freeRanges): convenience method.
2580 (AccessibleText_getRangeExtents):
2581 cspi binding for Accessibility_Text_getRangeExtents.
2582 (AccessibleText_getBoundedRanges):
2583 cspi binding for Accessibility_Text_getBoundedRanges.
2584 (AccessibleTextRange_freeRanges): convenience method.
2585 (get_accessible_text_clip_type): internal conversion method.
2586 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2588 * registryd/deviceeventcontroller.c:
2589 (spi_dec_mouse_check):
2590 Improved behavior for mouse:abs events
2591 [same granularity as mouse:rel events, and no
2592 events when mouse is idle].
2594 2002-12-16 Michael Meeks <michael@ximian.com>
2596 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2598 * libspi/stateset.c (state_spi_to_atk): split out
2599 ( fix several remote array bounds nasties )
2600 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2601 (impl_remove): make safe from array bounds issues.
2602 (spi_atk_state_from_spi_state): impl.
2604 * libspi/stateset.h (spi_state_set_cache_is_empty):
2605 add a set of wrapper defines to get layering right.
2607 * cspi/spi_accessible.c: update state set stuff to
2610 2002-12-14 Michael Meeks <michael@ximian.com>
2612 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2613 to avoid 2 roundtrips to the registry per key event
2614 (spi_atk_bridge_key_listener): upd.
2615 (deregister_application): release the dec.
2617 * registryd/registry.c (notify_listeners_cb):
2618 bin lots of re-enterant complexity - we no longer
2619 do a round-trip bonobo ref here, ensure that a single
2620 listener's exception failure won't poison all other
2622 (impl_registry_notify_event): bin obvious memory leak.
2624 2002-12-13 Michael Meeks <michael@ximian.com>
2626 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2627 init the ev so the error is meaningful.
2628 (spi_atk_bridge_key_listener): ditto.
2630 * cspi/spi_main.c (cspi_ev): init the ev so we start
2631 with a clean slate, otherwise the first exception
2632 kills us completely.
2634 * cspi/spi_text.c (get_accessible_text_boundary_type):
2635 add a fallthrough for no warnings.
2637 * cspi/spi_registry.c: prune unused warnings.
2639 * cspi/spi_main.c (cspi_object_take): fix
2640 mind-blowing brokenness ( by watching the compile
2643 * cspi/spi_accessible.c (Accessible_getStateSet):
2644 re-impl. to use an AtkStateSet.
2645 (spi_state_type_from_accessible_state),
2646 (init_state_table): bin these.
2648 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2650 (atk_state_set_from_accessibility_state_set): here.
2652 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2653 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2654 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2655 (AccessibleStateSet_add, AccessibleStateSet_remove),
2656 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2657 (AccessibleStateSet_isEmpty): re-write to use a local
2660 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2662 * configure.in: Revved to 1.1.7 (new keymask vals).
2664 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2666 * libspi/keymasks.h:
2667 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2669 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2672 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2673 to compare two CORBA_TypeCodes.
2674 (cspi_internal_event_add): Silence warning from FORTE compiler.
2676 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2677 avoid implicit declaration of functions.
2679 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2681 * atk-bridge/bridge.c:
2682 (spi_atk_bridge_init_event_type_consts): Store signal id for
2683 active-descendant-changed signal.
2684 (spi_atk_register_event_listeners): Add signal listener for
2685 active-descendant-changed signal,
2686 (spi_atk_bridge_signal_listener): Move code in function
2687 spi_atk-signal_emit_event() into this function.
2688 Add support for active-descendant-changed
2689 Update support for child-changed signal.
2690 (spi_bridge_window_event_listener): Silence warning.
2692 * libspi/spi_private.[ch]:
2693 (spi_init_any_object): Change second parameter from CORBA_Object to
2695 Omit call to CORBA_Object_duplicate().
2696 Set CORBA_any's _value to CORBA_Object*.
2698 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2704 (AccessibleEvent_ref, AccessibleEvent_unref):
2705 New methods, for persisting an event outside the emission context.
2706 Must be used if the new accessor methods are to be called
2707 outside of the event listener's callback.
2709 * cspi/bonobo/cspi-bonobo.c:
2710 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2711 as second parameter instead of NULL, so we can call
2712 cspi_check_ev afterwards.
2715 (cspi_object_take): New internal method,
2716 converts a CORBA_Object reference to a hard ref on
2717 an Accessible if possible, returning NULL if the object
2718 reference is invalid or an Accessible * otherwise.
2721 (AccessibleEvent_ref):
2722 Increment the event's internal private refcount, and
2723 add the event's internal struct to an internal cache
2724 if it's not already there.
2725 (AccessibleEvent_unref):
2726 Decrement the event's refcount and remove it from
2727 the cspi event cache if refcount==0.
2728 (cspi_event_compare): New private method.
2729 Compares two event structs via their ids. Used
2731 (cspi_internal_event_lookup): New private method.
2732 (cspi_internal_event_check): New private method,
2733 a 0-order sanity check for events to make sure their
2734 private data is intact.
2735 (cspi_internal_event_add, cspi_internal_event_remove):
2736 New private methods for managiing the event cache.
2738 * cspi/bonobo/cspi-bonobo-listener.c:
2740 Initialize the new private data elements (id, magic, ref_count).
2742 * atk-bridge/bridge.c:
2743 (spi_atk_bridge_signal_listener):
2744 Fixed bug #100530, passing wrong params to emission func.
2746 * registryd/deviceeventcontroller.c:
2747 (spi_dec_button_update_and_emit):
2748 Fixed type in mask bit operations; fix for #99799.
2750 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2752 Removed some of the more dangerous workarounds from
2753 previous commit; they are only needed by GOK, which
2754 in reality should be using another method to accomplish
2755 the goals. So on reconsideration some of the workarounds
2756 need to be reverted:
2758 * registryd/deviceeventcontroller.c:
2759 (spi_keycodes_contain, spi_dec_init_keycode_list):
2760 Removed these methods, used only by a nasty hack to try
2761 and detect whether a key synthesis should be allowed
2762 to reset the XKB latch state or not. This code was only
2763 required to work around an interaction between GOK,
2764 button events, and XKB.
2765 (impl_generate_key_event):
2766 Removed hack at end of key generation that tried to
2767 "do the right thing" if XKB latch keys were generated
2768 in the midst of button press/release pairs.
2771 Added a check for HAVE_XINPUT. Not normally used yet.
2773 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2775 Workarounds and fixes for mouse event/XKB interaction.
2777 * registryd/deviceeventcontroller.c:
2778 (spi_keycodes_contain, spi_dec_init_keycode_list):
2779 New internal methods.
2780 (spi_dec_set_unlatch_pending):
2781 Split the method that tells XKB to expect an
2782 unlatch (and revert it) out of the rest of the
2783 event handling code. This method is called by the
2784 two mouse event handlers (the poll and the filter).
2785 (spi_dec_update_and_emit, spi_dec_mouse_check):
2786 New methods split from spi_dec_poll_mouse_moved.
2787 The second one is now called from inside the filterFn
2788 when an XKB delatch event is received, to determine
2789 whether to revert the delatch or not.
2790 (spi_poll_mouse_moved): Refactor; also we can now
2791 properly handle the case where multiple button states
2792 have changed between polling cycles and we didn't get
2793 notified due to another client's grab.
2795 Synchronize the server while handling an XKB notification.
2796 Ugly, but apparently necessary to avoid nasty races.
2797 Check the mouse state on receipt of an XKB latch change,
2798 to decide whether to revert the latch or not. (Latches are
2799 reverted if there is an immediately preceding mouse button
2800 event that a client has consumed, in which case we don't want
2801 the user to see the side-effect of the event).
2802 (spi_device_event_controller_forward_mouse_event):
2803 Check for modifier events and fire before resetting mouse_mask_state,
2804 prevents losing modifier events.
2806 (impl_generate_keyboard_event):
2807 If we've just generated a keyboard event for a non-shift key,
2808 we don't want to revert the pending XKB latch.
2809 Otherwise, check the modifier state (via a call to
2810 spi_dev_mouse_check) and set the relatch mask to
2811 that state before returning.
2813 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2816 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2819 * atk-bridge/bridge.c:
2820 (spi_atk_register_event_listeners):
2821 Don't re-register for ATK events if the registry has died
2822 and the app needs to re-register; the ATK listeners are in
2823 process and doing so will cause duplicate emission.
2825 * registryd/deviceeventcontroller.c:
2826 (spi_poll_mouse_moved):
2827 Reformat the source, detect and emit multiple button-change
2828 events (i.e. if multiple buttons have changed between poll
2830 Add code to detect mouse-down events even when the pointer
2831 is grabbed; workaround for GOK bug 98420.
2832 (spi_controller_register_with_devices):
2833 Call XTestGrabControl with 'impervious' flag set to True,
2834 allows us to synthesize events and query the pointer even during
2835 an active grab by another client.
2836 (spi_device_event_controller_forward_mouse_event):
2837 Set the mouse_mask_state to the mouse_button_state from
2838 the intercepted event, to synchronize the grab listener with
2841 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2843 * cspi/spi_accessible.c:
2844 (AccessibleRole_getName):
2845 Added necessary strings for making this (deprecated)
2846 method work with the new role types.
2847 (init_role_table, role_table):
2848 Added definition of SPI_ROLE_APPLICATION.
2850 * libspi/spi-roletypes.h:
2851 Added SPI_ROLE_APPLICATION.
2853 * idl/Accessibility_Role.idl:
2854 Added ROLE_APPLICATION.
2856 * docs/reference/cspi/at-spi-cspi-decl.txt:
2857 Added SPI_ROLE_APPLICATION to docs.
2859 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2861 * cspi/spi_accessible.c
2862 (cspi_init_role_table): Do not write beyond end of role_table.
2863 (Accessible_getRole): Use correct type for value returned by
2864 Accessibility_Accessible_getRole().
2866 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2867 beyond end of role_table. (This fixes bug #98269)
2869 * libspi/application.c: Add include file spi-private.h for
2870 definition of spi_init_any_nil.
2872 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2876 * libspi/spi-private.h:
2877 Added DGB() macro, and extern int _dbg declaration.
2879 * registryd/registry.c:
2880 (definitions) storage for _dbg.
2881 (spi_registry_init):
2882 Get environment variable "AT_SPI_DEBUG".
2883 (spi_registry_set_debug):
2884 New method, to initialize _dbg value.
2885 (spi_listener_struct_new, spi_registry_object_finalize):
2886 (notify_listeners_cb):
2887 Changed fprintfs to use DBG and g_warning().
2889 * registryd/deviceeventcontroller.c:
2890 (_deregister_keygrab, spi_controller_register_device_listener):
2891 Changed debug/warning messages to use DBG macro.
2893 * libspi/listener.c:
2894 (impl_notify_event):
2895 Changed warning messages to use DBG macro and g_warning().
2897 * atk-bridge/bridge.c:
2898 (atk_bridge_init, spi_atk_bridge_get_registry):
2899 (spi_atk_bridge_exit_func):
2900 (spi_atk_bridge_property_event_listener):
2901 Changed status, warning, and error messages to use
2902 g_warning, g_message, and DBG macros.
2905 Read the state of the AT_SPI_DEBUG environment variable
2906 and set a local '_dbg' accordingly.
2908 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2910 FIXES for 98836, 98842, other bugs.
2913 Revved to 1.1.4, interface-age=4, binary-age=4.
2915 * registryd/deviceeventcontroller.c:
2917 Fixed crasher bug in last_mouse_pos initialization.
2919 * registryd/registry.c:
2920 (desktop_add_application, desktop_remove_application):
2921 Added (and then commented out) some support for
2922 object context marshalling. [TODO]
2924 * atk-bridge/bridge.c:
2925 (spi_atk_bridge_event_context_create):
2926 Commented out object context creation until it can
2927 be properly tested and debugged.
2929 * registryd/registry.c:
2930 (impl_registry_notify_event):
2931 Fixed crasher bug, we were calling
2932 spi_re_entrant_list_foreach () with an empty list.
2934 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2936 * idl/Accessibility_Action.idl:
2937 * idl/Accessibility_Component.idl:
2938 * idl/Accessibility_Desktop.idl:
2939 * idl/Accessibility_Event.idl:
2940 * idl/Accessibility_Hyperlink.idl:
2941 * idl/Accessibility_Image.idl:
2942 * idl/Accessibility_Relation.idl:
2943 * idl/Accessibility_Selection.idl:
2944 * idl/Accessibility_State.idl:
2945 * idl/Accessibility_Value.idl:
2946 Updated unimplemented slot count to minimum of
2947 four for all interfaces, for ABI freeze.
2949 * idl/Accessibility_EditableText.idl:
2950 * idl/Accessibility_Text.idl:
2951 Updated unimplemented slot count to six
2954 * idl/Accessibility_Registry.idl:
2955 Updated unimplemented slot count to six
2956 (also for DeviceEventController),
2959 * idl/Accessibility_Table.idl:
2960 Updated unimplemented slot count to eight,
2963 * idl/Accessibility_Event.idl:
2964 Added CORBA_any "any_data" member to Event struct.
2966 * idl/Accessibility_Event.idl:
2967 Added CORBA_any "any_data" member to Event struct.
2969 * atk-bridge/bridge.c:
2971 atk_signal_text_changed, atk_signal_child_changed,
2972 signal ids queried from gtype system.
2973 (AtkBridgeEventContextType): New enum.
2974 (AtkBridgeEventContextData): New struct.
2975 (AtkBridgeEventContext): New struct.
2976 (atk_bridge_init_event_type_consts):
2977 New method, initializes type contants for comparison
2978 prior to emit_eventv.
2979 (atk_bridge_event_context_init): New method,
2980 initializes a CORBA_any from an AtkBridgeEventContext.
2981 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2982 initialize the event.any_data struct.
2983 (spi_atk_bridge_event_context_create): New method,
2984 creates an AtkBridgeEventContext from signal/event info.
2985 (spi_atk_bridge_event_context_free): New method.
2986 (spi_atk_emit_eventv): Changed to take an
2987 AtkBridgeEventContext parameter. We now initialize
2988 the event.any_data member prior to notifying the
2989 Registry, via the AtkBridgeEventContext.
2990 (spi_atk_bridge_property_event_listener):
2991 (spi_atk_bridge_state_event_listener):
2992 Match emit_eventv signature.
2993 (spi_atk_bridge_object_event_listener):
2994 Match emit_eventv signature, and create an
2995 event context from the event details.
2996 Free the event context afterwards.
2997 (spi_atk_bridge_window_event_listener):
2998 Create an event context, pass it to the
3002 (AccessibleEvent_getContextString):
3003 (AccessibleEvent_getContextObject):
3004 New methods, allow query of AccessibleEvent objects
3005 for more context details (via the "any_data" member
3006 of the Event struct, above).
3009 Definitions for AccessibleEvent_getContextString
3010 and AccessibleEvent_getContextObject.
3012 * cspi/spi_listener.h:
3013 (InternalEvent): New struct.
3016 (AccessibleEvent_getContextString):
3017 (AccessibleEvent_getContextObject):
3018 Implementations of new methods, for obtaining
3019 additional context information from some event types.
3021 * cspi/spi_registry.c:
3022 (SPI_registerGlobalEventListener):
3023 Added mention of active-descendant-changed event in docs.
3025 * cspi/cspi-bonobo-listener.c:
3027 Marshal the any into the AccessibleEvent via
3030 * libspi/spi-private.h:
3031 #include <orbit/orbit.h>
3033 (spi_init_any_string):
3034 (spi_init_any_object):
3035 New convenience function declarations.
3039 (spi_init_any_string):
3040 (spi_init_any_object):
3041 New convenience function implementations.
3043 * registryd/deviceeventcontroller.c:
3044 (spi_poll_dec_mouse_moved):
3045 (spi_device_event_controller_forward_mous_event):
3046 Initialize any_data member of event.
3047 (spi_deregister_controller_device_listener):
3048 Fix incorrect param pass which was preventing deregistration.
3050 * registryd/registry.c:
3051 (desktop_add_application):
3052 (desktop_remove_application):
3053 Add object data to event's any_data before dispatch.
3055 Fix for error messages from GAIL.
3057 * test/event-listener-test.c:
3058 Test new ContextString and "any_data" API:
3059 (report_text_event): New method query and output context string.
3060 (main): register a new text listener with report_text_event
3063 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3065 Fixes for bugs 98127 and 97914.
3066 * cspi/spi-roletypes.h:
3067 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3069 * cspi/spi-statetypes.h:
3070 Added SPI_STATE_MANAGES_DESCENDANTS
3072 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3073 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3074 * cspi/spi_accessible.c:
3075 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3076 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3077 Accessibility_STATE_MANAGES_DESCENDANTS
3078 * libspi/accessible.c:
3079 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3080 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3081 As requested by Bill, I also cleaned up the alignment.
3082 * libspi/relation.c:
3083 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3084 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3085 * libspi/stateset.c:
3086 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3087 Accessibility_STATE_MANAGES_DESCENDANTS
3088 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3089 Document changes reflecting modifications to roles.
3090 * docs/reference/cspi/tmpl/spi_relation.sgml:
3091 Document changes reflecting modifications to relations.
3092 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3093 Document changes reflecting modifications to states.
3095 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3098 Revved to 1.1.3, interface-age=3, binary-age=3.
3099 Added REBUILD macro.
3102 Removed accessx-gui from the tests, since we have a nice
3103 keyboard accessibility capplet now :-)
3105 * test/keysynth-demo.c:
3106 (increment_scan): removed do-nothing default: case,
3109 * test/visual-bell.c:
3110 (main) : removed do-nothing default: case,
3113 * cspi/spi_action.c:
3114 (AccessibleAction_getKeyBinding_):
3115 Documented keybinding string format.
3119 (AccessibleText_getAttributes):
3120 Documented the text attribute string format.
3121 It's changed to use semicolon delimiters also,
3122 to prevent clashes with CSS attributes, but the old
3123 trick of looking for ", " strings will still work
3124 (as unreliably as ever). Fix for bug related to 97916.
3127 Include <cspi/bonobo/cspi-bonobo-listener.h>
3128 Fixes build warning.
3129 (SPI_freeAccessibleKeySet):
3130 (AccessibleKeystrokeListener_addCallback):
3131 (AccessibleKeystrokeListener_removeCallback):
3132 Modify to use AccessibleDeviceListener API internally,
3133 instead of AccessibleKeystrokeListener.
3135 * idl/Accessibility_Event.idl:
3136 Added two more empty slots to EventListener (for a total of four).
3138 * idl/Accessibility_Accessible.idl:
3139 Added four empty slots to Accessible interface.
3141 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3143 * idl/Accessibility_Registry.idl:
3144 (KeyEventType, EventType):
3145 Marked KeyEventType as deprecated; it duplicates
3146 functionality of EventType, which has been extended to
3147 include Mouse-button events.
3148 (KeyEventTypeSeq): defined in terms of EventType.
3149 (registerDeviceEventListener, deregisterDeviceEventListener):
3150 New methods, for managing listeners to device events,
3151 which potentially may consume them.
3154 Added definition for AccessibleDeviceListener.
3156 * cspi/spi-listener.h:
3157 (enum AccessibleDeviceEventType):
3158 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3159 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3160 for backwards compat.
3161 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3162 and typedef'd AccessibleKeystroke to it for back-compat.
3163 (AccessibleDeviceListenerCB):
3164 New function prototype typedef.
3167 (AccessibleDeviceEventMask): New typedef.
3168 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3169 (AccessibleKeyMaskType):
3170 Set equivalent to AccessibleModifierMaskType for back-compat.
3171 (SPI_createAccessibleKeystrokeListener):
3172 (AccessibleKeystrokeListener_unref):
3173 Deprecated in favor of equivalent (better-named) new API below..
3174 keystroke listeners are like all device listeners.
3175 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3176 New API names for old features :-).
3177 (AccessibleDeviceListener_addCallback):
3178 (AccessibleDeviceListener_removeCallback):
3179 (SPI_registerDeviceEventListener):
3180 (SPI_deregisterDeviceEventListener):
3184 (SPI_createAccessibleKeystrokeListener):
3185 Use new preferred API, cspi_device_listener_new() and
3186 cspi_device_listener_add_cb().
3187 (AccessibleKeystrokeListener_removeCallback):
3188 Use new preferred API, cspi_device_listener_remove_cb().
3189 (AccessibleKeystrokeListener_unref):
3190 Use new preferred API, cspi_device_listener_unref().
3191 (SPI_createAccessibleDeviceListener):
3192 (AccessibleDeviceListener_addCallback):
3193 (AccessibleDeviceListener_removeCallback):
3194 Implementation of new API.
3196 * cspi/spi_registry.c:
3197 (SPI_registerDeviceEventListener):
3198 (SPI_deregisterDeviceEventListener):
3199 Implementation of new API. Fixed memory leak and removed need to
3200 allocate EventTypeSeq (thanks Michael for catching this).
3201 Squashed a wayward CORBA_exception_free that shouldn't get called.
3203 * cspi/bonobo/cspi-bonobo-listener.c:
3205 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3206 (cspi_key_event): renamed to cspi_device_event().
3207 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3208 Extended to handle mouse button events as well as key events.
3209 (CSpiKeystrokeListener):
3210 Class superceded by CSpiDeviceListener.
3211 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3212 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3214 * cspi/bonobo/cspi-bonobo-listener.h:
3215 (CSpiKeystrokeListener):
3216 Class superceded by CSpiDeviceListener.
3217 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3218 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3220 * libspi/Makefile.am:
3221 Replaced keystrokelistener.h and keystrokelistener.c
3222 with devicelistener.h and devicelistener.c; keystrokelisener.h
3223 stub retained for back-compat.
3225 * libspi/keystrokelistener.c:
3229 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3231 * registryd/deviceeventcontroller.c:
3232 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3233 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3234 (DEControllerPrivateData): Added xkb settings data.
3235 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3236 button release events (which can't be captured via XGrabButton).
3237 Don't dispatch via the 'normal' event mechanism if the device event was
3239 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3240 Handle the typeseq data in its new location (see above).
3241 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3242 New methods, for "generic" device listeners.
3243 (spi_controller_register_device_listener):
3244 Now handle mouse event listeners as well as key listeners.
3245 (spi_controller_notify_mouselisteners):
3246 New internal method.
3247 (spi_device_event_controller_forward_mouse_event):
3248 Now we notify mouse device listeners as well as generating the
3249 non-consumable "mouse:" events.
3251 We must check and restore the XKB
3252 modifier map if we consume the event, since the act of triggering
3253 a mouse event will normally reset the XKB latch. This is required for
3255 (spi_controller_register_with_devices):
3256 Load the XKB settings when registering, and register for XKB
3257 state notify events.
3258 (spi_key_eventtype_seq_contains_event):
3259 Renamed spi_eventtype_seq_contains_event, since it's used
3260 internally for all device event types now.
3261 (spi_key_event_matches_listener):
3262 Uses spi_eventtype_seq_contains_event now.
3263 (spi_device_event_controller_object_finalize):
3264 Free the private data and the XkbKeyboard struct.
3265 (impl_register_device_listener, impl_deregister_device_listener):
3266 Implementation of new IDL.
3267 (spi_deregister_controller_device_listener):
3268 New internal method.
3269 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3270 More efficient implementation, we don't have to create a new
3271 XkbControls structure every time we query.
3272 (spi_device_event_controller_class_init):
3273 Initialize the epv entries for the new IDL. Assign the
3274 "spi-dec-private" quark.
3275 (spi_device_event_controller_init):
3276 Initialize the private data.
3277 (spi_device_event_controller_forward_key_event):
3278 Removed a bogus CORBA_exception_free() call.
3280 * registryd/deviceeventcontroller.h:
3281 Replaced inclusion of keystrokelistener.h with
3284 * test/event-listener-test.c:
3285 (report_mouse_event):
3288 Added mouse-event device listener.
3290 * test/test-simple.c:
3291 (create_test_window):
3292 Fixed regression (we were instantiating a GtkRange,
3293 which is now an abstract class). Also fixed to match
3294 existing AtkRole names, this seems to have changed in ATK
3295 awhile ago; too late now I think, and the new
3296 mechanism is at least elegant and consistent with the
3297 glib enum "nick" APIs.
3299 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3301 * idl/Accessibility_Relation.idl:
3302 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3303 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3304 * idl/Accessibility_Role.idl:
3305 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3306 * idl/Accessibility_State.idl:
3307 add STATE_MANAGES_DESCENDANTS
3308 * test/event-listener-test.c:
3309 Added a listener for active-descendant events.
3311 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3313 * atk-bridge/bridge.c
3314 (atk_bridge_init): If application is Bonobo component wait until top
3315 level is added before registering
3316 (spi_atk_bridge_do_registration): New function which contains code,
3317 formerly in atk_bridge_init, to do application registration.
3318 (spi_atk_bridge_toplevel_added): Signal called when top level
3319 added to Bonobo component
3321 This fixes bug #83134.
3323 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3325 * registryd/deviceeventcontroller.c
3326 Fixed compilation error caused by calling gettimeofday()
3329 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3334 Added template for HAVE_XKB.
3337 Changes to check for XKB, and to set the HAVE_XKB #define if it
3340 * libspi/listener.c:
3341 ()impl_notify_event): Make failure to get event source name
3344 * registryd/deviceeventcontroller.c:
3345 (#include): include X11/XKBlib.h.
3346 (DEControllerPrivateData) : New struct.
3347 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3349 (dec_synth_keycode_press) (dec_synth_keycode_release):
3350 New methods; split the key synthesis code into these methods.
3351 They check XKB settings before determining the "time" values to
3352 pass to Xtest; this fixes bug #95828.
3353 (impl_generate_keyboard_event): Changed to use methods above,
3354 instead of callng Xtest directly.
3355 (spi_device_event_controller_init): Initialize new privae struct s
3357 (spi_device_event_controllr_object_finalize):
3358 Free the (new) private data.
3360 * registryd/deviceeventcontroller.h:
3361 Add new gpointer to end of struct data.
3363 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3366 Incremented revision to 1.1.2, SONAME is still '.so', library
3367 extensions are ".so.0.0.2".
3369 * registryd/deviceeventcontroller.c:
3370 FIXES FOR #93592 and #95940.
3371 (statics): renamed mouse_button_state to mouse_mask_state,
3372 added key_modifier_mask.
3373 (spi_dec_poll_mouse_moved):
3374 Added key modifier checks, and emit "keyboard:modifiers"
3375 events when the key modifiers currently in use change.
3376 Also generate "mouse:abs" events periodically, even if the mouse
3377 is stationary (should we?).
3378 Alternatively we could generate "mouse:abs" events for either all
3379 mouse movements, or every 'nth' mouse movement, or at the
3380 beginning and end of every "active" mouse period.
3382 * test/event-listener-test.c:
3383 (main): Added listener for "keyboard:modifiers" events.
3385 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3387 * libspi/keymasks.h:
3388 Added key mask #defines for mouse buttons; e.g.
3389 SPI_KEYMASK_BUTTON1, etc.
3392 Incremented dependency on ATK to version 1.1.0. (This dependency
3393 is probably premature but will soon be real enough).
3395 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3397 * libspi/hyperlink.[ch]
3398 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3399 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3402 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3407 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3409 * registryd/deviceeventcontroller.c
3410 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3411 events to be ignored.
3412 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3413 keyboard_mode so that XAllowEvents() can be called.
3417 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3419 * cspi/spi-accessible.c: Correct names of roles returned by
3420 AccessibleRole_getName(). Fixes bug #95055.
3422 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3424 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3427 * registryd/registry.c
3428 (desktop_remove_application: Write diagnostic message to stderr for
3431 (impl_accessibility_registry_deregister_global_event_listener):
3432 Correct size of lists array. This addresses bug #94555).
3434 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3436 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3439 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3441 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3444 * registryd/registry.c (impl_registry_notify_event): Remove
3445 unnecessary call to parser_event_type().
3447 * docs/reference/cspi/tmpl/spi_component.sgml:
3448 Add reference to SPI_LAYER_WINDOW.
3450 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3452 * registryd/registry.c
3453 (desktop_add_application): Remove leak.
3454 (desktop_remove_application): Remove leak.
3455 (parser_event_type): Remove leak.
3457 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3459 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3460 bogus call to CORBA_string_dup(). Also removed unnecessary
3461 g_string_dup/g_free calls.
3463 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3465 * registryd/deviceeventcontroller.c:
3466 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3468 * test/event-listener-test.c:
3469 main: commented out three redundant listeners, to reduce output
3470 noise. (They still are potentially useful for testing).
3473 2002-09-13 Michael Meeks <michael@ximian.com>
3475 * Update all the copyrights to include Ximian.
3477 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3479 * cspi/spi.h: add SPI_LAYER_WINDOW.
3481 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3482 add Accessibility_LAYER_WINDOW case.
3484 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3486 * libspi/component.c: (impl_accessibility_component_get_layer):
3487 add ATK_LAYER_WINDOW case.
3489 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3491 * configure.in: incremented micro version.
3493 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3495 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3498 Clarified and reworded our commit policy.
3501 Started an API "todo" addition list for 2.2.
3504 (impl_getSelection):
3505 Free char pointer from atk_text_get_selection, which was being leaked.
3507 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3510 Small revision to author acknowledgement.
3512 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3514 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3515 If signal has detail add it to the type of the event.
3518 2002-08-12 Michael Meeks <michael@ximian.com>
3520 * test/test-simple.c (global_listener_cb): bin bogosity.
3521 (test_keylisteners): disable, still doesn't work reliably,
3522 certainly not on my system anyway.
3524 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3525 don't leak a reference on the DEC. This round-trip
3526 fetching of the DEC per keystroke sucks, it should be
3529 * cspi/spi-private.h,
3530 * cspi/cspi-lowlevel.h,
3531 * cspi/bonobo/cspi-bonobo-listener.[ch],
3532 * cspi/bonobo/cspi-bonobo.c: get the copyright
3533 notices better - there is still a large amount of
3534 work in at-spi falsely attributed solely to Sun.
3536 * cspi/spi_main.c (cspi_object_ref): kill bogus
3537 hash lookup, just increment the ref.
3538 (SPI_freeString): make explicit the fact that we
3539 handle NULL strings just fine.
3540 (report_leaked_ref): obey coding standards.
3541 (cspi_object_hash, cspi_object_equal): kill retval.
3542 (cspi_object_release): only release if not on loan.
3543 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3544 (cspi_object_borrow, cspi_object_return): impl.
3546 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3547 use cspi_object_borrow / return.
3549 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3551 * cspi/bonobo/cspi-bonobo-listener.c:
3553 Don't call cspi_oject_new() because this is creating a new Accessible
3554 every single time that an event is fired. This causes ATs like at-poke
3555 to nolonger recognise the source of the event and thus ignore it.
3556 Re-use the object from the cache, ref it and then unref it after the
3557 listeners have been called.
3559 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3561 * test/event-listener-test.c:
3562 Added command-line options to disable mouse events (m) and
3565 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3567 * configure.in: Update required versions of ATK, GTK+ and GAIL
3569 * cspi-1.0.pc.in: Add dependency for X include files
3572 * cspi/bonobo/Makefile.am:
3573 Add $(X_CFLAGS) so that X include files
3574 are picked up even if not in standard place (bug #71686)
3576 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3578 * registryd/deviceeventcontroller.c: fix for 84261
3579 (spi_dec_mouse_moved):
3580 Added test of mouse button mask, so that we can detect mouse
3581 button release. Unfortunately we can't otherwise detect mouse
3582 button release events without consuming the mouse press event,
3583 because of the way XGrabButton works. This means that our mouse
3584 release events have a latency dependent on the polling period
3585 while the mouse button is down. At least in this case we only
3586 have to poll while the button is down, and not at other times.
3587 If the button masks don't match with what the last press event
3588 reported, we report the appropriate button release event.
3589 (spi_dec_ungrab_mouse):
3590 New method (not yet called).
3591 (spi_device_event_controller_forward_mouse_event):
3592 New method, sends mouse press event from GdkFilter.
3593 (spi_dec_init_mouse_listener):
3594 Added code to call XGrabButton, redirecting mouse button events to
3595 the root window and our Gdk event loop.
3597 Added code to filter mouse button events, and reordered.
3599 * test/event-listener-test.c:
3601 Added registration for mouse events of type "mouse:button".
3603 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3605 * registryd/deviceeventcontroller.c: partial fix for 84261
3606 (spi_dec_poll_mouse_idle):
3607 New method, a timeout which checks to see if the mouse
3609 (spi_dec_poll_mouse_moving):
3610 A timeout to be called when mouse motion is underway.
3611 (spi_dec_poll_mouse_moved):
3612 A method which fires an event if the mouse has moved, and reports
3613 whether or not it did so.
3614 (spi_dec_init_mouse_listener):
3615 A method which sets up the timeouts above.
3616 (spi_device_event_controller_new):
3617 Now calls spi_dec_init_mouse_listener.
3619 * registryd/registry.c:
3620 (spi_registry_init):
3621 Now we initialize the device event controller when the registry is
3622 initialized, instead of waiting until a client has requested a key
3623 event notification; this is because we need the event controller
3624 for mouse events, but the mouse event registration API is a
3625 "registry" call and doesn't explicitly call the
3626 deviceeventcontroller.
3627 We now report mouse motion events with a 100 ms idle latency and
3628 a 20 ms granularity when motion is in progress.
3630 * test/event-listener-test.c:
3632 We now register the "detail listener" for events of type
3633 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3634 delivered only for the first mouse event received, and thereafter
3635 "mouse:abs" events are delivered.)
3637 * cspi/spi_registry.c:
3638 DOCS: Documented the above mouse event typestrings.
3640 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3642 Happy Summer Solstice...
3644 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3645 (spi_controller_notify_keylisteners):
3646 Changes to remove a listener from the listener list, freeing its
3647 open keygrabs, if a notification to that listener fails. This
3648 means that although a dead listener can continue to hold a passive
3649 keygrab, a maximum of one dispatch to such a listener can fail
3650 before the listener is removed from the list, thus the keygrab
3651 will be released on the next occurrence.
3652 As part of this fix:
3653 (spi_notify_keylisteners):
3654 Renamed to spi_controller_notify_keylisteners, as the controller
3655 instance must now be passed as an argument.
3656 The copied 'notify' GList is now a list of DEControllerKeyListener
3657 objects, since we need more than just the CORBA reference if a
3658 notify fails and we need to deregister the listener.
3659 (impl_notify_listeners_sync):
3660 (impl_notify_listeners_async):
3661 (spi_device_event_controller_forward_key_event):
3662 Modify use of notify_keylisteners in accordance with above
3664 (spi_deregister_controller_key_listener):
3665 New method introduced by refactoring, from
3666 impl_deregister_keystroke_listener.
3667 (impl_deregister_keystroke_listener):
3668 Call spi_deregister_controller_key_listener.
3669 (spi_key_listener_clone):
3670 New method to copy a key listner without doing a 'ref' on the
3671 remote object instance; used to create a notifier list.
3672 (spi_key_listener_data_free):
3673 New method, frees data without unreffing the source.
3675 (spi_key_listener_clone_free): new method.
3676 (spi_key_listener_free):
3677 refactored to call spi_key_listener_data_free.
3679 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3681 * registryd/registry.c: [fix for bug 86048]
3682 (notify_listeners_cb):
3683 Clear CORBA system exceptions which occur when notifying
3684 listeners, before returning to the source of the original event,
3685 since the event source doesn't care if the relayed notify failed.
3686 In other words, don't complain to the atk-bridge if the registry
3687 could not notify all its listeners, that's no fault of the
3688 application and thus should not appear to be an error from the
3689 application's perspective.
3691 * cspi/spi_main.c: [fix for bug 85980]
3693 Replaced use of bonobo_object_dup_ref with call to the wrapper
3694 method, csou_dup_ref (); this silences a compiler warning and
3695 provided more portability.
3697 Ping the registry before return, and restart if necessary.
3699 * cspi/bonobo/cspi-bonobo.c:
3701 New internal method.
3703 Fixed this method to return an object reference, as it should have
3706 * cspi/cspi-lowlevel.h:
3707 Added internal definition for cspi_ping() and fixed
3708 return type of cspi_dup_ref().
3711 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3713 * atk-bridge/bridge.c: [fix for bug 85305]
3714 (spi_atk_bridge_register_application):
3715 New method where the initial application registry calls have been
3716 moved; it allows an application to re-register in response to
3717 certain error conditions (such as a registry restart, see below).
3719 Moved some initialization code to the method
3720 spi_atk_bridge_get_registry, below.
3721 (spi_atk_bridge_get_registry):
3722 New, private accessor function for the Accessibility_Registry
3723 instance. If the registry has not been started before, or has
3724 died (as detected by failure of a CORBA exception), it is
3725 restarted before return, and spi_atk_bridge_register_application
3726 is called again to register with the new bridge instance.
3727 (spi_atk_emit_eventv):
3728 Set registry_died on error; use spi_atk_bridge_get_registry () to
3729 access the registry.
3731 * registryd/registry.c:
3732 (impl_accessibility_registry_register_global_event_listener):
3733 Set listener's event_type_quark to etype.minor instead of
3734 etype.major (fix for bug 84856).
3736 * test/event-listener-test.c:
3737 (report_detail_event):
3738 Change the output string so that user/tester can tell that the
3739 'detail listener' was called instead of the 'generic listener'.
3741 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3743 Fixes for bugs 84900, 84908, 84897, 84898.
3748 Revved version to 1.1.0
3749 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3750 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3752 * idl/Accessibility_Registry.idl:
3753 (EventListener::notifyEvent):
3754 Removed 'oneway' directive after extensive consulation with
3755 ORBit2 team and others. This means also that unref() of the event
3756 source can and should be done synchronously after emission, rather
3757 than remotely in the client, after servicing the notify call on
3760 NOTE: This change speeds up listener performance considerably, but
3761 introduces new latency on the application side. We may want to
3762 add an event queue to the atk-bridge.
3764 * atk-bridge/bridge.c:
3765 (spi_atk_bridge_focus_tracker):
3766 Do a local unref() on the event source after emission.
3768 * registryd/registry.c:
3769 (desktop_remove_application):
3770 Do an unref() on the event source after emission.
3771 (desktop_add_application):
3772 Do an unref() on the event source after emission.
3773 (notify_listeners_cb):
3774 When relaying an event, don't automatically add the event source
3775 to the local object cache, just CORBA_dup it instead. Likewise,
3776 if this method reenters, release the ref rather than calling
3778 (impl_registry_notify_event):
3779 No longer call remote unref() on the event source after dispatch.
3781 * libspi/eventlistener.c:
3782 (impl_accessible_event_notify_event):
3783 Removed remote unref ()
3785 * cspi/bonobo/cspi-bonobo-listener.c:
3787 We now call cspi_object_new() instead of cspi_object_add() on
3788 receipt of an event; thus we only have an implicit object ref
3789 while the cspi_event method is being executed. If we need to keep
3790 a reference to the object, the listener must call ref() on the
3791 object. Thus also we don't need to call cspi_object_unref() after
3792 invoking the listener callbacks in this method.
3796 New internal API for creating a new cspi object, without adding it
3797 to the object cache.
3799 Now uses cspi_object_new() to create the cspi object instance.
3801 Now checks to see if the object is in the internal object cache,
3802 and adds it if necessary before incrementing its refcount (note
3803 that new objects are added with a refcount of 1).
3804 (report_leaked_ref):
3805 New method which gives some information on leaked object instances
3806 if leak detection is turned on.
3808 * test/event-listener-test.c:
3809 (timing_test_event):
3810 New method, used for testing event delivery timing for special
3811 events of type "object:test". It reports elapsed time and
3812 events/sec every 500 events.
3814 Added a new listener, 'test listener', to check timing of event
3815 receipt as noted above.
3817 Added some timing output here also, reports elapsed time every 100
3820 * test/stress-test.c:
3821 Emit events of type "object:test", for use with "event-listener-test".
3823 * test/test-simple.c:
3824 (global_listener_cb):
3825 Call Accessible_ref() on the event source before calling
3826 validate_accessible, since the validation process does pointer
3827 comparisons on the event source, meaning that the event source
3828 needs to be added to the local object cache first. Any use of
3829 such pointer comparisons between Accessible objects requires that
3830 the caller hold an explicit reference to those objects.
3831 We also must therefore call Accessible_unref() when leaving this method.
3833 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3835 * registryd/deviceeventcontroller.c:
3836 (spi_controller_update_key_grabs):
3837 Fix for #84735, subsequent keygrab listeners not informed of
3838 registration failure.
3841 (spi_base_construct):
3842 Add an assertion on construct, to make sure the GObject passed in
3843 is really a GObject.
3845 Explicitly initialize object->gobj pointer to NULL;
3847 * cspi/bonobo/cspi-bonobo-listener.c:
3848 (cspi_object_add_ref):
3849 New method, can specify whether to dup-ref a bonobo object passed
3850 in if it's newly added to the object cache.
3852 Now calls cspi_object_add_ref with second param of "FALSE". This
3853 prevents us from doing a pointless dup-ref followed by
3854 release-unref for all those cases where the object is already in
3855 our object cache (fix for #85205).
3857 * atk-bridge/bridge.c:
3858 (spi_atk_bridge_idle_init):
3859 Removed this method, we don't need to initialize in an idle
3862 Changed to call spi_atk_register_event_listeners directly, not via an
3863 idle handler. (fix for #81139)
3864 (gnome_accessibility_module_shutdown):
3865 Removed conditional around deregistration of listeners, since we
3866 don't use the idle handler and thus have always registered when
3868 (spi_init_keystroke_from_atk_key_event):
3869 Changed references to Accessibility_KEY_PRESSED to
3870 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3872 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3874 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3879 * test/stress-test.c:
3882 (may have been an incomplete commit yesterday?)
3884 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3887 Added target for new stress-test.
3889 * test/stress-test.c:
3890 New test, sends 1000 focus notifies in quick succession.
3892 * test/key-listener-test.c:
3893 Now we report whether a keylistener registration
3894 request succeeded or failed.
3896 * test/event-listener-test.c:
3897 Uncommented some listeners which are now implemented.
3900 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3902 * registryd/deviceeventcontroller.c:
3903 (spi_controller_update_key_grabs):
3904 Fix for #82509, lack of failure notification when
3905 ALL_WINDOWS keygrabs fail due to XGrabKey
3906 failure: we synchronize the server when
3907 registering a passive grab, to make sure we get the
3908 error message before the call returns.
3910 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3912 * test/test-simple.c:
3914 Removed #ifdef KEY_IMPL_WORKS guards.
3915 (test_keylisteners):
3916 Removed #ifdef KEY_IMPL_WORKS guards.
3917 Fixed bug which was causing a hang waiting for a
3918 "press" event (which was already overwritten by a "release"
3919 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3921 Added code to set globals 'key_press_received' and
3922 'key_release_received'.
3925 Added section "1.1 API Proposed Additions" which
3926 lists API additions desired for at-spi-1.1 (only one so far).
3927 Updated TODO list a little.
3929 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3931 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3934 * configure.in: Revved to 1.0.0.
3936 * idl/Accessibility_Registry.idl:
3937 (registerKeystrokeListener):
3938 Added boolean return value.
3940 * registryd/registry.c:
3941 (notify_listeners_cb): Minor fix to debug output.
3943 * registryd/Accessibility_Registry.server.in.in:
3944 Revved version number in OAFIID to 1.0.
3946 * registryd/registryd.c:
3948 Use new OAFIID version.
3950 * cspi/bonobo/cspi-bonobo.c:
3952 Use new OAFIID version.
3958 * atk-bridge/bridge.c:
3960 Use new OAFIID version.
3962 * registryd/deviceeventcontroller.c:
3963 (impl_register_keystroke_listener):
3964 Added CORBA_boolean return value.
3965 (spi_controller_register_device_listener):
3966 Added gboolean return value.
3967 (spi_controller_register_global_keygrabs):
3968 Added gboolean return value.
3969 (spi_key_set_contains_key):
3970 Added implementation for many more control keys,
3971 for instance F1-F12, arrow keys, End, Home, Page_Up,
3973 [TODO: some still not implemented].
3975 * text/screen-review-test.c:
3976 (text_chunk_pad_string):
3977 New function: it provides mapping between coordinate
3978 positions of text chunks and character positions in the
3979 screen-review-line output string.
3980 (text_chunk_to_string):
3981 New function, calls text_chunk_pad_string with various
3982 pad/delimiter characters. Pushbuttons are delimited with
3983 square brackets, Frames with vertical 'pipe' lines, and
3984 other text with double quotes.
3985 (text_chunk_list_to_string):
3986 Calls new function text_chunk_to_string.
3987 (toplevel_composite):
3988 New function to composite layers CANVAS through
3989 POPUP in each toplevel (other layers are composited
3990 across toplevels, i.e. BACKGROUND and OVERLAY).
3991 (review_buffer_composite):
3992 Revise to use new methods.
3998 2002-05-31 Laszlo Peter <laca@sun.com>
4000 * configure.in: add the Xtst libdir to the runpath on Solaris,
4001 since it's not in the default library search path.
4003 2002-05-29 jacob berkman <jacob@ximian.com>
4005 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4007 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4009 * test/screen-review-test.c:
4010 (text_chunk_pad_string):
4011 Added method, which pads the string according to the
4012 text bounds of the chunk. It also takes a 3-character
4013 string as a param which indicates the characters to be
4014 used for start, padding, and end delimitation of the chunk.
4015 (text_chunk_to_string):
4016 Changed to use text_chunk_pad_string.
4018 * configure.in: Fixed bug in AC_OUTPUT that was
4019 causing path substitution in Accessibility_Registry.server
4022 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4024 * text/screen-review-test.c:
4025 (guess_string_clip):
4026 New method which attempts a best-guess at clipping
4027 text from components (like Java labels) which don't
4028 actually implement AccessibleText. This inaccurate
4029 clip is based on the assumption that the label is
4030 justified left-and-right, and monospaced.
4031 (text_chunk_get_clipped_string):
4032 We now call guess_string_clip() for text-containing
4033 components that don't implement AccessibleText.
4035 * test/screen-review-test.c:
4036 (review_buffer_get_text_chunk):
4037 We now pull "name" from labels if they do not implement
4038 AccessibleText (i.e. for Java labels).
4039 (get_screen_review_line_at):
4040 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4043 Replaceded AC_OUTPUT target
4044 registryd/Accessibility_Registry.server with
4045 registryd/Accessibility_Registry.server.in.
4047 * registryd/Accessibility_Registry.server.in:
4048 Removed (this is now a Makefile target).
4050 * registryd/Accessibility_Registry.server.in.in:
4051 Added (source for target above). We now use $(libexecdir) as
4052 prefix for the executable at-spi-registryd.
4054 * registry/Makefile.am:
4055 Now install at-spi-registryd into $(libexecdir), and build .server
4056 file with path (see above).
4058 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4060 * test/screen-review-test.c:
4061 (text_chunk_get_clipped_string):
4062 We now check to see if words fall within clip bounds
4063 before resorting to character-by-character clip bounds testing.
4065 * TODO: Added a section for "2.2 Proposed API Additions".
4067 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4069 * test/screen-review-test.c:
4071 Added a screen review benchmarking and test program to test
4074 * cspi/spi_accessible.c:
4076 Made some of the debug strings passed to cspi_check_ev a
4077 little more specific.
4079 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4081 * test/screen-review-test.c: Fix crashes in debug statements
4083 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4085 * test/screen-review-test.c: Added this file.
4087 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4089 * atk-bridge/bridge.c: changed "object:state-change" to
4090 "object:state-changed" to match docs.
4092 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4094 * atk-bridge/bridge.c: Hooked up state-change event details.
4096 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4098 * registryd/registry.c:
4099 Fixed quarking bug in event string parsing; now events with
4100 detail parameters get matched correctly to listeners.
4103 * util/idl/Magnifier.idl: remove.
4105 * util/*.[ch]: Remove.
4106 Magnification utilities and IDL are now in module gnome-mag.
4108 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4110 * registryd/deviceeventcontroller.c:
4111 Fixed bug in grab key conversion which was causing keycode grabs
4112 to be converted to AnyKey grabs.
4115 updated NEWS file to reflect recent spin-off of gnome-mag.
4117 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4119 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4120 busted AccessibleStateSet_compare. Removed redundant casts.
4122 * cspi/spi-action.c: Removed redundant casts.
4124 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4126 * cspi/spi_component.c: Fixed typos and casting error.
4128 * cspi/spi_editabletext.c: Removed redundant casts.
4130 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4132 * cspi/spi_hypertext.c: Eliminated redundant casts.
4134 * cspi/spi_image.c: Eliminated redundant casts.
4136 * cspi/spi_registry.c: Eliminated redundant casts.
4137 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4138 * cspi/spi_selection.c: Removed redundant casts.
4139 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4140 handling. Screen geometry and text offsets were being returned as 0
4141 on error which is technically valid-- changed these to return -1.
4142 Added marshaller for text boundary types to fix bug with boundary
4143 types being passed incorrectly to atk.
4145 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4148 * cspi/spi_registry.c:
4149 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4150 which was uncovered by the recent key changes.
4152 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4154 * test/event-listener-test.c:
4156 Added new test, "event-listener-test";
4157 this code does two things; it benchmarks traversal time
4158 for the accessible hierarchy for the first running accessible
4159 app, and it connects listeners for all supported event types.
4160 It is thus useful as an example event listener and for
4161 diagnostics/debugging of event generation.
4163 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4166 Removed unnecessary dependency on libutil.
4169 Revved micro version: 0.13.1
4171 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4174 Removed util/Makefile from targets.
4177 Removed util subdir from SUBDIRS (temporarily,
4178 pending removal of magnifier-only code
4182 #ifdef-ed out magnifier dependencies, since
4183 magnifier IDL, headers, and binary now live in
4184 module gnome-mag and we don't want at-spi to depend
4185 on gnome-mag. A magnifier demo which can run alongside
4186 simple-at is forthcoming in the gnome-mag module.
4188 NOTE: Split magnifier binary, IDL, and magnification
4189 activation code from at-spi into module gnome-mag.
4191 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4193 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4194 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4196 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4199 Revved to version 0.13.0
4201 * idl/Accessibility_Registry.idl:
4202 Changed definition of KeySet from sequence of longs to sequence of
4203 KeyDefinitions, and added KeyDefinition struct.
4204 Required for fix to bug 80616.
4206 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4207 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4208 to use new definition (see above).
4210 * registryd/deviceeventcontroller.c: handle_keygrab(),
4211 spi_keyset_contains_key():
4212 Changed to make use of new struct; this allows matching based on
4213 string key-name, for instance "Tab". This also allows matching of
4214 composed characters, non-alphanumeric characters in a way that
4215 doesn't involve dependencies on X keysym codes directly, etc.
4217 * test/key-listener-test.c:
4218 Added test for Alt-Tab key using "string" specification of keyset,
4219 and modified one of the tests to use a keycode-based keyset.
4220 Thus this test both tests and demonstrates the creation and use of
4221 keysets of three forms: specified via keycode array,
4222 keysym array, and string array. (The string case only contains a
4223 single string, i.e. a string array of length 1).
4226 Turned on PRINT_TREE option by default. Also fixed a
4227 string-freeing bug in the PRINT_TREE code.
4228 Added a listener to window:minimize events.
4230 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4232 * atk-bridge/bridge.c:
4233 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4234 for window:activate and window:deactiveate
4235 (atk_bridge_property_event_listener atk_bridge_signal_listener
4236 atk_bridge_window_event_listener) Tidy debug code
4238 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4240 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4241 Fixed handling for NULL return value from ATK.
4243 * libspi/action.c libspi/component.c libspi/editabletext.
4244 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4245 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4246 Removed redundant casts.
4248 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4249 Fixed off by one bug.
4251 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4252 function not present in idl)
4254 2002-05-02 jacob berkman <jacob@ximian.com>
4256 * atk-bridge/Makefile.am: make atk-bridge a real module
4258 2002-04-26 Radek Doulik <rodo@ximian.com>
4260 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4261 atk_state_types table
4263 2002-04-22 jacob berkman <jacob@ximian.com>
4266 * libspi/Makefile.am: add deps on the built files to help
4267 automake, and don't version the ORBit typelib
4269 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4271 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4272 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4273 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4274 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4275 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4276 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4277 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4278 libspi/accessible.h libspi/accessible.h libspi/base.h
4279 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4280 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4281 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4282 libspi/spi-private.h libspi/statetset.h libspi/table.h
4283 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4284 util/mag_client.h util/mag_control.c util/mag_image.c
4285 util/mag_image.h util/magnifier.c util/magnifier.h:
4286 Add missing file headers; standardize existing ones
4288 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4290 * atk-bridge/bridge.c: Added window event support.
4292 2002-04-18 Michael Meeks <michael@ximian.com>
4294 * libspi/relation.c (impl_getNTargets): impl.
4295 (impl_getTarget): impl.
4297 * libspi/Makefile.am: fix stateset install.
4299 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4302 Started putting useful info in this file.
4304 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4306 * atk-bridge/bridge.c:
4307 Propagate state-changed notifications to ATs
4309 * cspi/spi_registry.c: update docs to reflect actual behavior of
4310 state-change events.
4312 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4315 Incremented version to 0.12.1
4317 * util/mag_client.h:
4318 Add missing declaration for magnifier_exit,
4319 used by mag_control.c - Forte compiler didn't like
4320 the implicit redeclaration of the function :-(
4323 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4326 Revved version to 0.12 due to API change (see below).
4328 * cspi/spi-roletypes.h:
4329 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4330 definition from the inline docs, and added docs
4331 for SPI_ROLE_LAST_DEFINED.
4334 * cspi/spi_streamablecontent.c:
4335 Added missing seek_type parameter to
4336 (so far unused) method,
4337 AccessibleStreamableContent_seek().
4338 [ RT approval JodyG. ]
4341 Fixed docs for SPI_createAccessibleKeystrokeListener.
4343 * cspi/spi_registry.c:
4344 Fixed docs for SPI_KEYSET_ALL_KEYS.
4346 * docs/reference/cspi/at-spi-cspi-sections.txt:
4347 Added a number of missing APIs to SECTIONS.
4349 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4351 * registryd/Makefile.am:
4353 * cspi/bonobo/Makefile.am:
4354 Add $(X_LIBS) to makefiles.
4356 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4359 Revved version to 0.11.
4361 * libspi/component.c:
4362 Added implementation for grabFocus.
4364 * idl/Accessibility_Component.idl
4365 (Accessibility_Component_grabFocus):
4366 Made this method return boolean to indicate success or failure, to
4367 be consistent with cspi and the corresponding ATK method.
4369 * idl/Accessibility_Selection.idl
4370 (Accessibility_Selection_selectAll) :
4371 Made these methods return boolean to indicate success or
4372 failure, to be consistent with cspi and the corresponding ATK methods.
4374 * idl/Accessibility_EditableText.idl
4375 (Accessibility_EditableText_setTextContents,
4376 Accessibility_EditableText_insertText,
4377 Accessibility_EditableText_cutText,
4378 Accessibility_EditableText_deleteText,
4379 Accessibility_EditableText_pasteText):
4380 Made these methods return boolean to indicate
4383 * cspi/spi_editabletext.c:
4384 Made these methods return booleans.
4386 * libspi/selection.c:
4387 * libspi/component.c:
4388 * libspi/editabletext.c:
4389 Connected the boolean returns from ATK
4390 to the server-side code referenced above.
4392 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4394 * idl/Accessibility_Table.idl: Added missing methods,
4395 Accessibility_Table_addRowSelection,
4396 Accessibility_Table_addColumnSelection,
4397 Accessibility_Table_removeRowSelection,
4398 Accessibility_Table_removeColumnSelection.
4401 Added C wrappers for above IDL:
4402 AccessibleTable_addRowSelection,
4403 AccessibleTable_addColumnSelection,
4404 AccessibleTable_removeRowSelection,
4405 AccessibleTable_removeColumnSelection.
4408 Added server-side implementation code for IDL above, connecting
4409 to pre-existing ATK api.
4411 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4413 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4415 * libspi/accessible.c: Added implementation fo
4416 Accessibility_Accessible_get_state.
4418 * libspi/libspi.h: Added stateset.h to the list of includes.
4420 * libspi/stateset.c: Fixed broken implementation.
4422 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4425 Added implementation code for Accessibility_Magnifier_exit ().
4427 * util/mag_control.c:
4428 Added test code for above method; you can
4429 now kill an existing magnifier via
4430 ./mag_control q, from the util directory.
4432 * test/key-listener-test.c:
4434 Added a new test, for our key listener API.
4436 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4438 * test/app.c, test/keysynth-demo.c:
4440 Replace use of snprintf with g_snprintf.
4441 (fix for bugzilla 78249)
4443 2002-03-27 Michael Meeks <michael@ximian.com>
4447 * util/Makefile.am (INCLUDES): fix.
4448 (DONT_DIST_SOURCE): don't distribute the
4451 * libspi/Makefile.am (dist-hook): ditto.
4453 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4455 * libspi/hypertext.c:
4456 Fix warnings when yelp is used with atk-bridge
4458 2002-03-21 Michael Meeks <michael@ximian.com>
4460 * libspi/application.c (spi_application_new):
4461 use spi_accessible_construct so we use the AtkObject
4464 2002-03-19 Michael Meeks <michael@ximian.com>
4466 * registryd/registry.c (desktop_remove_application),
4467 (desktop_add_application): clean coding style.
4469 * registryd/desktop.c (spi_desktop_remove_application),
4470 (spi_desktop_add_application): kill re-enterency hazards.
4471 (spi_desktop_dispose): remove bogus redundant cast
4472 obscuring bug; fix bug too.
4473 (spi_desktop_init): make the desktop object immortal.
4475 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4478 Added a #define-guarded tree-traversal step
4479 when enumerating the apps (diagnostic tool).
4481 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4483 * idl/Accessibility_Role.idl:
4484 Added ROLE_DRAWING_AREA which seemed to be missing from the
4487 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4489 * cspi/spi-roletypes.h cspi/spi_accessible.c
4490 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4493 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4494 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4495 AT when applications are added and removed from the desktop. This
4496 reverts the previous broken implementation using the backing
4497 AtkObject for the SpiDesktop.
4499 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4501 * registryd/desktop.c: emit the "children-changed::add" and
4502 "children-changed::remove" signals on the backing ATK object for
4503 the desktop so AT can tell when applications are started and shut
4506 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4508 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4510 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4512 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4514 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4516 * cspi/state-types.h: synched with IDL and ATK
4518 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4520 * libspi/accessible.c
4521 (impl_accessibility_accessible_get_child_at_index):
4522 Change return value for g_return_if_fail ()
4523 to CORBA_OBJECT_NIL instead of "0" (!)
4525 * registryd/Makefile.am:
4526 * registryd/Accessibility_Register.server.in:
4527 Changed name of executable, "registryd",
4528 to something more informative:
4531 2002-03-13 Michael Meeks <michael@ximian.com>
4533 * atk-bridge/bridge.c (atk_bridge_init): don't register
4534 if we're in a bonobo-component, rather than a bonobo app.
4536 2002-03-13 Michael Meeks <michael@ximian.com>
4538 * atk-bridge/bridge.c (gtk_module_init): split
4539 out body to (atk_bridge_init): here, since otherwise
4540 we get symbol conflicts and oddness when invoked
4541 from (gnome_accessibility_module_init): here (upd.)
4543 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4546 New file. Explicitly allow "build sheriff" putbacks provided
4547 they are tested on Solaris.
4549 * docs/reference/cspi/Makefile.am:
4550 Added '-' to the "cp" command for index.sgml.
4551 ("patch by thomasvs, soon coming to a GUADEC near you")
4554 Incremented version number (0.9.0) for new release.
4555 Changed macro that checks for popt, to better detect
4556 obsolete versions of popt.
4559 Added X_LIBS to AC_SUBST, for applications
4560 that call Xlib API directly.
4563 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4566 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4569 Fix regression caused by hard-coding major
4570 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4573 * test/test-simple.c (test_editable_text),
4574 (test_test): revert previous change (error was
4575 a regression in gail which is now fixed).
4577 2002-03-04 Michael Meeks <michael@ximian.com>
4579 * test/test-simple.c (test_editable_text),
4580 (test_text): pass G_MAXINT instead of '-1' for
4581 whole string - is this a good thing !?
4583 * cspi/spi_accessible.c
4584 (Accessible_getRelationSet): fix crasher bug
4585 overwriting the end of the array.
4587 * test/test-simple.c (validate_accessible): free,
4588 not g_free returned relation set.
4590 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4592 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4593 implemented stateset support
4595 * idl/Accessibility_State.idl: Made necessary changes to
4596 the IDL to support state sets.
4598 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4600 * registryd/deviceeventcontroller.c:
4601 Added implementation for generateMouseEvent.
4603 * cspi/spi_registry.c:
4604 Connected new implementation for generateMouseEvent
4607 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4610 Incremented revision (but no change in public API
4611 outside of 'utils', which are not installed public yet.)
4613 * libspi/component.c:
4614 Changed to use atk_component API for layers and
4615 mdi_zorder, instead of deprecated atk_object API.
4617 Magnification Utility Enhancements:
4620 Added implementation of createZoomRegion, clearAllZoomRegions,
4621 resizeZoomRegion. Added new commandline argument
4622 "--no-initial-region". Note that clearAllZoomRegions doesn't
4623 unmap the old '0' region as it should (yet), and the other
4624 methods only work when creating/resizing a single region,
4625 which is "region 0".
4626 (Code for multiple region support will be added later.)
4629 Now we raise the magnifier window each time it's refreshed;
4630 this will help keep it on top.
4632 * util/mag_client.h:
4633 Added simple wrappers for above, used by mag_control.
4634 For general use, it's recommended to use the bonobo magnifier
4635 control API directly instead of using these wrappers.
4638 Moved ZoomRegionData from magnifier.c to this file.
4640 * util/mag_control.c:
4641 Added some code to exercise new IDL implementations.
4643 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4645 * libspi/text.c: Provide implementation for getAttributes.
4647 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4650 Incremented revision.
4652 * test/test-simple.c:
4653 Replaced use of deprecated g_main_iteration with
4654 g_main_context_iteration.
4656 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4659 Incremented revision for desktop alpha 2.
4661 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4663 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4666 * test/simple-at.c: include netinet/in.h.
4668 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4670 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4671 use NULL, not CORBA_OBJECT_NIL.
4673 * libspi/accessible.c:
4674 (impl_accessibility_accessible_get_relation_set):
4675 allocate the sequence correctly.
4677 * libspi/remoteobject.h: kill spi_remote_object_new.
4679 * test/test-simple.c: (validate_accessible): add code
4680 to test relation sets, now all we need is to figure
4681 out how to excercise this code path :/
4683 2002-01-18 Michael Meeks <michael@ximian.com>
4685 * test/test-simple.c
4686 (key_listener_cb): consume the key.
4687 (test_keylisteners): update.
4688 (main): wait for any pending unrefs on events.
4690 * registryd/deviceeventcontroller.c
4691 (spi_controller_update_key_grabs): only re-issue the
4692 grab on a key release.
4693 (spi_device_event_controller_forward_key_event):
4694 refresh the keygrabs before we notify the listeners,
4695 to reduce the X ungrab / re-grab race.
4696 (spi_controller_register_with_devices): remove
4697 XSelectInput - we do that with the gdk_window_ call.
4698 (_spi_controller_device_error_handler): return a value.
4699 s/GDK_DISPLAY/spi_get_display/
4701 2002-01-17 Michael Meeks <michael@ximian.com>
4703 * registryd/deviceeventcontroller.c
4704 (_deregister_keygrab): don't blow out the later
4707 * test/test-simple.c (test_keylisteners): do a
4708 more intelligent validation.
4710 2002-01-14 Michael Meeks <michael@ximian.com>
4712 * atk-bridge/bridge.c
4713 (gnome_accessibility_module_init),
4714 (gnome_accessibility_module_shutdown): impl.
4715 (gtk_module_init): protect vs. double inits.
4716 (add_signal_listener): impl.
4717 (spi_atk_bridge_state_event_listener): kill
4718 (deregister_application): split out of
4719 (spi_atk_bridge_exit_func): here.
4721 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4724 Added caret tracking when using magnifier, and
4725 now use text bounds for focus tracking of text elements, rather than
4726 the component bounds - this is helpful for short text fields in long
4727 table cells, at high magnification.
4729 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4731 * registryd/deviceeventcontroller.c:
4732 Regression fix for keylistener de-registration; global keygrabs
4733 were not being released when deregisterKeystrokeListener was
4734 called in cspi, since
4735 Accessibility_DeviceEventController_deregisterKeystrokeListener
4736 was called with a zero-length keyset. That is because the cspi
4737 method, SPI_deregisterKeystrokeListener, does not take a keyset
4738 parameter but instead should remove all the key grabs held be a
4740 The code in impl_deregister_keystroke_listener was changed to copy
4741 the keylist from the listener instance previously registered with
4742 the DeviceEventController before releasing the grabs.
4744 * registryd/registry.c:
4745 * registryd/deviceeventcontroller.c:
4746 * libspi/spi-private.h:
4748 Changed spelling of "re-enterant" to "re-entrant" globally.
4750 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4752 * test/test-simple.c:
4753 Changed key listeners test - the test was slightly mis-using the
4754 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4755 It now uses '=' as the key event listened to and generated,
4756 relying on a keysym match rather than assuming that keycode 33
4757 is always equal to keysym '!'.
4759 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4762 Changed simple-at to use a specific keyset, rather than
4763 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4764 manager, desktop, etc.
4766 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4768 * registryd/deviceeventcontroller.c:
4769 Replaced standard X error handler with a special handler that
4770 is non-fatal for failed keygrabs. This works around
4771 problems with keygrab clashes sometimes observed on
4773 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4774 mouse handling code as yet).
4776 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4779 Incremented revision for desktop alpha release.
4782 Fixed a couple of the more glaring errors (still not
4785 2002-01-11 Michael Meeks <michael@ximian.com>
4787 * registryd/deviceeventcontroller.c
4788 (spi_device_event_controller_forward_key_event): kill
4789 XUngrabKey / XKeyGrab race.
4790 (spi_controller_grab_keyboard): rename to
4791 (spi_controller_update_key_grabs): this, and deal
4792 with incremental adding / removing grabs more
4794 (_register_keygrab): ensure we're not pending a remove.
4795 (spi_grab_mask_free): impl.
4796 (spi_controller_register_global_keygrabs): split out
4798 (handle_keygrab): impl.
4799 (_deregister_keygrab): impl.
4800 (spi_controller_deregister_global_keygrabs): impl.
4801 (spi_controller_update_key_grabs): re-issue the grab if
4802 we just recieved a notification.
4804 * test/test-simple.c (key_listener_cb): remove debug.
4806 * registryd/deviceeventcontroller.c
4807 (spi_controller_register_device_listener): after
4808 registering a global keygrab, actualy register it !
4809 don't wait for a timeout; doh !
4811 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4812 to make it more readable / manipulable.
4813 s/grabmask/grab_mask/ s/refcount/ref_count/
4814 s/keyval/key_val/ s/modmask/mod_mask
4816 2002-01-08 Michael Meeks <michael@ximian.com>
4818 * registryd/deviceeventcontroller.c
4819 (spi_controller_register_with_devices): use gdk calls to
4821 (global_filter_fn): implement the filter.
4822 (spi_device_event_controller_check_key_event): rename to
4823 (spi_device_event_controller_forward_key_event): this & upd.
4824 (spi_get_display): replace with GDK_DISPLAY.
4826 * registryd/deviceeventcontroller.c
4827 (spi_controller_deregister_device_listener): unroll into
4828 (impl_deregister_keystroke_listener): here to simplify.
4829 (spi_controller_register_global_keygrabs): split cut and
4830 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4831 (spi_controller_deregister_device_listener): remove.
4832 (impl_register_mouse_listener): remove, no mouse listener
4833 support in at-spi-1.0
4835 * registryd/registry.c
4836 (_device_event_controller_hook): kill.
4837 (spi_registry_init): upd.
4839 * registryd/deviceeventcontroller.c
4840 (spi_device_event_controller_class_init): upd.
4841 (spi_check_key_event): merge into.
4842 (spi_device_event_controller_check_key_event):
4843 here and kill strange static ev init, don't leak
4844 the x_event - nor dynamicaly allocate it.
4846 * registryd/registry-main.c (main): re-direct
4847 timeout to remove strange vtable mess.
4849 * registryd/deviceeventcontroller.c
4850 (remove_listener_cb): impl.
4851 (spi_controller_deregister_device_listener):
4852 fix re-enterancy hazard.
4854 2002-01-07 Michael Meeks <michael@ximian.com>
4856 * registryd/deviceeventcontroller.c
4857 (spi_device_event_controller_new): upd.
4858 (impl_notify_listeners_sync): upd. debug.
4859 (spi_notify_keylisteners): fix re-enterancy hazards,
4860 prettify, remove O(n*n) iteration.
4861 (spi_controller_grab_keyboard): fix iteration.
4862 (spi_check_key_event): re-format to suit coding style.
4863 Clean all the warnings - we're warning free.
4865 * registryd/deviceeventcontroller.h:
4866 * registryd/registry.h: make mutualy referential with
4867 typesafe forward references instead of (!) void pointer
4870 2002-01-11 Michael Meeks <michael@ximian.com>
4872 * cspi/spi_accessible.c (role_names): add a role name
4873 to sync this array with the enum; and make the regression
4876 2002-01-10 Michael Meeks <michael@ximian.com>
4878 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4879 allow expansion of enumeration & kill warning.
4881 * test/test-simple.c (key_listener_cb): impl.
4882 (test_keylisteners): impl.
4884 * cspi/spi-listener.h: make listener signatures const
4885 on the provided (const) events.
4887 * test/keysynth-demo.c: upd. to const events.
4889 * test/simple-at.c: ditto.
4891 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4894 Rev the version to 0.5 (the previous tarball was named 0.4,
4895 even though the micro number was 3), so we need to rev upwards
4896 again for beta2/"desktop-alpha"
4899 Checked in a demo script, which requires editing before use!
4900 Proceed with caution.
4903 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4905 * cspi/spi_accessible.c:
4906 Add a couple of missing enum initializations, and fix some enum
4909 * cspi/spi_registry.c:
4910 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4912 * docs/reference/cspi/at-spi-cspi-sections.txt:
4913 Remove/fix a couple of broken document references.
4916 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4917 as Alt-Control to listen for commands, since on some systems
4918 Control-Alt may already be grabbed.
4920 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4923 Update version number to 0.4 for Beta2.
4925 * libspi/accessible.c, libspi/accessible.h:
4926 Expose spi_accessible_construct, to enable libgail-gnome
4927 construction from spi_accessible subtype.
4929 * utils/magnifier.c:
4930 Workaround for bug in some non-gnome-compliant window managers
4931 which made magnifier resize improperly.
4933 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4935 * libspi/accessible.c: (spi_accessible_new) :
4936 Move the test for SPI_IS_REMOTE_OBJECT to
4937 spi_accessible_new_return, fixing a bug and compile time warning.
4939 2002-01-08 Michael Meeks <michael@ximian.com>
4941 * registryd/registry.c (parse_event_type): remove strndup.
4943 * libspi/Makefile.am (libspi_la_SOURCES): remove
4944 sources already included in the headers section.
4946 * libspi/util.c: add.
4948 * libspi/spi-private.h: add.
4950 * registryd/registry.c: update to moved list iterators.
4952 2002-01-05 Michael Meeks <michael@ximian.com>
4954 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4956 * test/test-simple.c (main): ditto.
4958 2002-01-04 Michael Meeks <michael@ximian.com>
4960 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4961 redundant construct.
4963 * registryd/registry.c
4964 (get_listener_list): impl.
4965 (impl_accessibility_registry_register_global_event_listener):
4966 re-impl. to simplify using ~, remove dodgy const cast off.
4967 (parse_event_type): constify.
4968 (impl_accessibility_registry_deregister_global_event_listener_all):
4969 re-write, more efficiency and simplicity, kill re-enterancy
4971 (compare_listener_corbaref, compare_corba_objects),
4972 (compare_listener_quarks): define out.
4973 (impl_accessibility_registry_deregister_global_event_listener):
4974 re-write for effiency, and nail re-enterancy hazard.
4975 (impl_accessibility_registry_get_desktop_list): impl.
4976 (re_enterant_list_delete_link): impl.
4977 (re_enterant_list_foreach): impl.
4978 (remove_listener_cb): impl.
4979 (_registry_notify_listeners): kill.
4980 (notify_listeners_cb): impl.
4982 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4983 (SPI_getDesktopList): impl.
4985 * test/test-simple.c (test_desktop): test the methods.
4987 2002-01-03 Michael Meeks <michael@ximian.com>
4989 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4990 keystrings since we free them
4991 (SPI_freeAccessibleKeySet): in here.
4993 * libspi/accessible.c (spi_accessible_new): kill warning,
4994 wonder what is going on with the constructor here.
4996 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4998 * libspi/accessible.c (spi_accessible_new ()) :
4999 Added check to see if AtkObject is an SpiRemoteObject before
5000 creating an SpiAccessible.
5002 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5004 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5005 Enable keygrabs using the Control modifier, now that they are
5006 working properly (they were previously disabled).
5009 Change the command keygrab for this demo to "Control+Alt", so as
5010 to conflict with fewer other key commands on the system; this
5011 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5013 Removed a pointlessly-chatty keylistener for unshifted keys
5014 (shifted keys are still reported).
5016 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5018 * libspi/remoteobject.h:
5019 * libspi/remoteobject.c:
5020 Added definitions for special AtkObject subtype, required for
5021 support of remote components (specifically, used by BonoboControl
5022 accessibility implementation).
5024 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5026 * cspi/spi.h: synched relation types with ATK
5028 * cspi/spi_accessible.c: Added implementations of
5029 AcccessibleRelation_* methods
5031 * idl/Accessibility_Relation.idl: added getRelationTypeName
5032 method. Synched known relation types with ATK. Allowed for
5033 relation type extension with the RELATION_EXTENDED type.
5035 * libspi/relation.c: Provided implementations for
5036 AccessibleRelation methods.
5038 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5040 API tweaks for today's API 'freeze'.
5043 Added placeholder functions to allow future compatible expansion
5044 of the IDL interfaces.
5046 * idl/Accessibility_Registry.idl:
5047 Changed generateKeyEvent to generateKeyboardEvent. Changed
5048 signature of this method to accept an optional keystring in
5049 parameter (for complex text input synthesis) and changed use of
5050 simple 'boolean' parameter in registerKeystrokeListener to a
5051 struct, EventListenerMode.
5053 * cspi/spi_accessible.c:
5055 * cspi/spi_streamablecontent.c:
5056 Added references to AccessibleStreamableContent interface, and
5057 definition and implementation of AccessibleStreamableContent
5060 * cspi/spi_registry.c:
5062 Changed generateKeyEvent API to generateKeyboardEvent,
5063 taking a new (optional) keystring parameter to support complex
5068 Renamed directory (to better reflect its actual purpose, bridging
5069 from at-spi to ATK). The .so module is also now named
5072 * idl/Accessibility_Hypertext.idl:
5073 * libspi/accessible.c:
5074 * libspi/hypertext.h:
5075 * libspi/hypertext.c:
5076 Changed Accessibility_Hypertext to *not* derive from
5079 * cspi/spi_registry.c:
5080 Added list of legal event type names for 'window' events, which
5081 completes the registry event API.
5083 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5085 * at-bridge/bridge.c: Added registration for separate
5086 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5087 signals. If either of the first two parameters to the generic
5088 bridge signal handler are ints, they are passed on as event
5089 details. This allows an AT to determine what text was inserted.
5091 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5093 * registryd/deviceeventcontroller.c:
5094 Fixed regressions in generateKeyEvent caused by the removal of
5095 gdk_init from registryd; we now use pure X calls to connect to the
5096 display, which makes sense because deviceeventcontroller already
5097 uses a fair bit of X API (should eventually be migrated to a
5098 'portability layer').
5100 * registryd/desktop.c:
5101 Fixed minor regression in spi_desktop_init, changed the way the
5102 desktop name is being set to work with new spi_base API
5103 (gobject-based, rather than AtkObject-based).
5105 * registryd/Makefile.am:
5106 Minor revision of makefile to use XTST_LIBS variable rather than
5107 hard-wiring the Xtst LD_ADD element.
5109 * test/keysynth-demo.c:
5110 Tweaked an output message; added initialization of the
5111 'keystrings' member of the "switch listener" key_set.
5113 * libspi/relation.c:
5114 Squashed compile-time warning.
5116 * libspi/accessible.c:
5117 Cosmetic and formatting fixes, renamed a static method.
5119 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5121 * libspi/accessible.c
5123 * libspi/application.c
5126 * libspi/component.c
5127 * libspi/editabletext.c
5128 * libspi/hyperlink.c
5129 * libspi/hypertext.c
5131 * libspi/selection.c
5135 * registryd/desktop.c:
5136 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5138 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5140 * idl/Accessibility_Registry.idl:
5141 Added boolean member 'is_text' to DeviceEvent. This is for the
5142 use of key events, and helps prevent ambiguity between composed
5143 key strings and keysym names, since both may potentially be
5144 returned in the 'event_string' member.
5146 * at-bridge/bridge.c:
5147 * registryd/deviceeventcontroller.c:
5148 Use the 'is_text' member when notifying device event listeners.
5149 Knon issue: composed characters are not dealt with correctly by
5150 the global key listener implementation yet.
5152 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5154 * at-bridge/bridge.c:
5155 Namespaced local static methods to spi_atk_bridge_* where
5156 previously named bridge_*, and spi_* elsewhere.
5158 * at-bridge/bridge.c:
5159 * cspi/bonobo/cspi-bonobo-listener.c:
5160 Added demarshalling/conversion for string member of
5161 Accessibility_DeviceEvent to AccessibleKeystroke.
5163 * registryd/deviceeventcontroller.c:
5164 Added code to fill the Accessibility_DeviceEvent key string value
5165 member for global key events (i.e. from XGrabKey), to match
5166 behavior of Accessibility_DeviceEvent from the toolkit key events
5167 from the bridge. Fixed timestamp in global key event notifications.
5170 Added printout of key event's string value to
5171 report_ordinary_key_event, for demo/debugging purposes.
5173 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5175 * idl/Accessibility_Registry.idl:
5176 Removed Accessibility_KeyStroke structure in favor of generic
5177 Accessibility_DeviceEvent structure.
5178 Changed Accessibility_ControllerEventMask from a struct to an
5181 * at-bridge/bridge.c:
5182 Changed APIs to use DeviceEvent structure as above, and removed
5183 bogus casting between these event structures.
5185 * cspi/spi-listener.h:
5186 Added keystring member of AccessibleKeystroke structure, to enable
5187 matching on event "names" rather than only hardware codes and
5191 Added keystrings member of AccessibleKeySet struct, to allow
5192 matching on event names (as above).
5193 Added declarations for SPI_createAccessibleKeySet and
5194 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5195 event modmasks directly as unsigned ints rather than structs with
5196 refcounts, in the DeviceEventController methods.
5198 * cspi/spi_registry.c:
5199 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5201 * cspi/spi-roletypes.h:
5202 Added documentation of newly added SPI Roles.
5204 * cspi/bonobo/cspi-bonobo-listener.c:
5205 Changes in support of API changes above.
5207 * libspi/accessible.c:
5208 Converted APIs to use DeviceEvent structure (see IDL changes
5211 * registryd/deviceeventcontroller.c:
5212 Added DEControllerGrabMask structure to track keygrabs not only by
5213 modmask but by keyset as well; this allows us to do "global"
5214 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5215 grabbing on AnyKey and then filtering after-the-fact.
5216 Bugfixes for event filtration mean that we don't get false matches
5217 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5219 * registryd/deviceeventcontroller.c:
5220 Namespaced a number of static methods to use spi_ prefix. Major
5221 revision to internals of global (i.e. X) key grabs.
5223 * registryd/deviceeventcontroller.h:
5224 Removed keymask_list and added keygrabs_list to
5225 SpiDeviceEventController struct.
5228 Added use of SPI_createAccessibleKeySet API when creating a
5229 listener for only one key. Attach a listener to "shift spacebar
5230 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5231 X key event names to SPI key event names, so that listeners are
5232 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5234 * test/keysynth-demo.c:
5235 Changed (incorrect) use of X key event names (KeyPressed,
5236 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5239 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5241 * libspi/accessible.c:
5242 Convert all AtkRole enumerations to Accessibility_Role enums when
5243 getting a role from an AtkObject.
5245 * cspi/spi_accessible.c:
5246 Complete the conversion of Accessibility_Role enums at runtime to
5247 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5248 role enums correctly match those given in spi-roletypes.h.
5249 Re-synchronize the local names list for AccessibleRole_getName ().
5250 AccessibleRole_getName is now deprecated, since it duplicates the
5251 more reliable Accessible_getRoleName.
5252 Added some role types from Accessibility_Role.idl.
5254 * idl/Accessibility_Role.idl:
5255 Added some role types used by AtkRole.
5257 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5260 * cspi/spi_registry.c:
5262 * cspi/cspi-bonobo-listener.c:
5263 Namespaced all methods that did not begin with an "SPI_" or
5264 "Accessible" prefix to "SPI_".
5267 Homogenized internal function namespace to "cspi_" for statics.
5270 Patched tests to use the new CSPI API.
5272 * docs/reference/cspi/at-spi-cspi-sections.txt:
5273 Updated docs to reflect namespace changes, and added a number of
5274 methods to the documentation.
5276 * registryd/registry.c:
5277 Changed use of strings and string hashes in listener event
5278 matching and parse_event_string to use GQuark, which is guaranteed
5281 * registryd/registry.h:
5282 Squashed annoying warning.
5284 * idl/Accessibility_Role.idl:
5285 Extended range of available Accessibility_Role values.
5287 * cspi/spi_accessible.c:
5288 Re-ordered role names.
5290 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5292 * idl/Accessibility_Value.idl:
5293 Revert use of union back to CORBA_double, since the double type is
5294 more efficient and can contain the other types without loss of
5297 * idl/Accessibility_Accessible.idl:
5298 Added method Accessibility:Accessible:getRoleName, to complement
5299 Accessibility:Accessible:getRole.
5301 * cspi/spi_accessible.c:
5303 Added C binding for above, Accessible_getRoleName (), and changed
5304 signature of Accessible_getRole () to return an AccessibleRole.
5306 * cspi/spi-roletypes.h:
5307 Changed AccessibleRole_getName to return a char * instead of a
5308 const char *. This method is now at least temporarily deprecated
5309 in favor of asking Accessibles for their RoleNames directly.
5312 Revert to match Accessibility_Value.idl;
5316 Change signature of AccessibleValue methods to use double rather
5320 * cspi/spi_accessible.c:
5321 Changed Accessible_getRole to return an AccessibleRole enum rather
5322 than a UTF-8 string. The UTF-8 string can still be obtained via
5323 AccessibleRole_getName ().
5325 * test/test-simple.c:
5326 Add test_action. Small fixup to match API change to Accessible_getRole.
5329 Bugfix for get_action_from_servant ().
5331 2001-12-11 Michael Meeks <michael@ximian.com>
5333 * libspi/libspi.h: remove registry.h and
5334 desktop.h, deviceeventcontroller.h
5336 * libspi/Makefile.am: remove registry.[ch],
5337 desktop.[ch], deviceeventcontroller.[ch]
5339 * registryd/Makefile.am: add registry.[ch],
5340 desktop.[ch], rename registryd.c to registry-main.c.
5341 add deviceeventcontroller.[ch]
5343 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5346 Replace setenv() call with putenv ().
5348 * libspi/component.c:
5349 Bugfix in AccessibleComponent_getExtents (),
5352 2001-12-11 Michael Meeks <michael@ximian.com>
5354 * libspi/image.c (impl_getImageExtents): impl.
5355 (spi_image_class_init): upd.
5358 (AccessibleImage_getImageDescription): fix daft bug
5361 * test/test-simple.c (global_listener_cb): update
5362 to only quit if not --poke
5363 (main): catch --poke.
5364 (validate_accessible): upd. dumping, call test_image
5367 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5370 * idl/Accessibility.idl: update all IDL includes.
5372 * idl/*.idl - rename to namespace - this sucks, blame
5373 mjs' bad decision for oafd.
5375 * test/test-simple.c (create_test_window): add more tests.
5376 (create_tree): split this out.
5377 (validate_accessible): bugfix.
5379 2001-12-11 Michael Meeks <michael@ximian.com>
5381 * cspi/bonobo/cspi-bonobo-listener.c:
5382 (cspi_kestroke_listener_unref),
5383 (cspi_event_listener_unref): impl. undoing previous
5384 homenous environment - for Bill.
5386 * cspi/spi_table.c (long_seq_to_array): use
5389 * cspi/spi_main.c: split out all bonoboish bits into
5392 * cspi/spi-impl.h: upd. typedefs.
5394 * cspi/spi_registry.c: update to lowlevel API,
5395 return booleans to indicate success in some places.
5397 * cspi/spi_event.c: update to lowlevel API.
5399 * cspi/bonobo/Makefile.am: add.
5401 * cspi/bonobo/cspi-lowlevel.h: add
5403 * cspi/bonobo/cspi-bonobo.c: add
5405 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5407 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5408 (SUBDIRS): add bonobo, link in the libs.
5410 * cspi/spi-util.c: kill this file.
5412 * TODO: merge in my bits.
5414 2001-12-11 Michael Meeks <michael@ximian.com>
5416 * test/test-simple.c (test_value, test_table, main):
5417 remove unused variables causing warnings.
5419 * configure.in: cleanup checks - require gail.
5421 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5424 Changed Value interface to use SValue (scalars) rather than
5425 assuming all values are floats. This allows floats, doubles,
5426 longs, shorts, and unsigned values to be manipulated.
5427 Introduced Accessibility:SValue union.
5430 Updated to use new API above, and to work correctly with GValues
5431 of different types in AtkValue.
5434 Updated to use new API above. cspi's API is as yet unchanged.
5437 Updated the Value revision action item.
5439 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5441 * test/test-simple.c:
5442 Added test_table (GtkTreeView widget in test window to follow).
5443 Un-commented test_value, added GtkRange widget.
5444 Added GtkTreeView widget with GtkListStore. It passes regression
5445 test but leaks one SPI object for some reason.
5448 Fixed bug in impl__set_currentValue.
5450 2001-12-10 Michael Meeks <michael@ximian.com>
5452 * cspi/spi_text.c: audit for exception handling,
5453 tolerating NULL object references safely etc.
5455 * cspi/spi_value.c: ditto.
5457 * cspi/spi_table.c (AccessibleTable_getSummary),
5458 (AccessibleTable_getAccessibleAt),
5459 (AccessibleTable_getRowHeader),
5460 (AccessibleTable_getColumnHeader),
5461 (AccessibleTable_getCaption): fix bugs hidden by
5463 (long_seq_to_array): impl.
5464 (AccessibleTable_getSelectedRows),
5465 (AccessibleTable_getSelectedColumns): use it.
5467 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5470 Added a TODO list (rough and short for now).
5472 * cspi/spi_hyperlink.c:
5473 * cspi/spi_hypertext.c:
5474 Fixed macro name typos, and remove use of obsolete macro in
5475 AccessibleHyperlink_getLink.
5477 * cspi/spi_action.c:
5478 * cspi/spi_accessible.c:
5479 * cspi/spi_application.c:
5480 * cspi/spi_component.c:
5481 * cspi/spi_selection.c:
5484 Documentation fixes (removed return values from ref/unref methods).
5486 2001-12-10 Michael Meeks <michael@ximian.com>
5488 * cspi/spi_action.c: audit for exception handling,
5489 tolerating NULL object references safely etc.
5491 * cspi/spi_accessible.c: ditto.
5493 * cspi/spi_component.c: ditto.
5495 * cspi/spi_editabletext.c: ditto.
5497 * cspi/spi_hyperlink.c: ditto.
5499 * cspi/spi_hypertext.c: ditto.
5501 * cspi/spi_image.c: ditto.
5503 * cspi/spi_selection.c: ditto.
5505 2001-12-10 Michael Meeks <michael@ximian.com>
5507 * configure.in: use cspi/libspi.pc.in instead.
5509 * Makefile.am (pkgconfig_DATA): upd. to match.
5511 * test/simple-at.c (report_focus_event): kill hacks around
5512 bad return values, use putenv not setenv
5514 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5515 fire ChildGone - I killed it.
5517 * libspi/component.c
5518 (impl_accessibility_component_get_extents): remove
5521 * idl/Accessible.idl: kill ChildGone exception.
5523 * cspi/*.[ch]: kill int return from ref / unref.
5525 * cspi/spi_main.c (cspi_object_add_check): fold into
5526 (cspi_object_add): here.
5528 * cspi/spi_component.c (AccessibleComponent_getExtents):
5529 handle exceptions elegantly.
5531 * cspi/spi-private.h (cspi_check_ev_return),
5532 (cspi_return_if_fail): impl.
5534 * cspi/spi_accessible.c: use extensively.
5535 (AccessibleStateSet_equals): add direct compare check.
5537 * cspi/spi_selection.c: tolerate NULL objs, and check
5538 exceptions before return.
5540 * cspi/spi-util.c (cspi_warn_ev): rename to
5541 (cspi_check_ev): this & don't pass ev in; no point.
5543 2001-12-10 Michael Meeks <michael@ximian.com>
5545 * test/test-simple.c: use putenv not setenv
5546 (get_environment_vars): more chatty if you're not using
5549 * test/simple-at.c: do the setenv so more people see the
5552 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5554 * libspi/registry.c:
5555 Changed check of CORBA_environment on notification to be a warning
5556 instead of an error for the moment, since we can recover from this
5557 error when caused by a queued notification from a dead app.
5560 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5561 used by all current implementors of AtkValue), and coerce to
5562 CORBA_float. (Proper general case fix may require change to Value.idl).
5564 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5568 * cspi/spi_accessible.c:
5569 Documentation fixes: added user_data params to documentation for
5570 listeners and callbacks.
5572 * cspi/spi_accessible.c:
5573 Changed AccessibleStateSet_compare to return a
5574 StateSet rather than return the difference set into a third parameter.
5577 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5580 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5581 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5585 Remove subdirectory po from SUBDIRS for now.
5587 * at-bridge/bridge.c:
5588 Beefed up a couple of debug printouts.
5589 One-line fix for signal notification name formatting.
5591 * libspi/accessible.c:
5592 Added assertion to spi_accessible_new ().
5594 * libspi/application.c:
5595 Put #ifdef qualifiers around a printf.
5598 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5600 * registryd/Makefile.am:
5602 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5603 INTLTOOL_SERVER_RULE macro.
5606 Added an event listener for several ATK signals, for
5607 testing and debugging. Removed a few g_warnings.
5608 Added test output if focussed item implements the Value interface.
5610 * test/test-simple.c:
5611 Added test_value () function (known not to pass at the moment, so
5612 not actually called yet.
5614 2001-12-08 Michael Meeks <michael@ximian.com>
5616 * at-bridge/bridge.c (bridge_focus_tracker),
5617 (emit_eventv): fix the same ref. leak.
5618 (register_atk_event_listeners): don't leak.
5620 * cspi/spi-listener-impl.c (cspi_event): more
5621 protection from client code.
5623 * test/test-simple.c (test_desktop): unref the app.
5625 * test/Makefile.am: upd. TESTS.
5627 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5629 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5631 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5633 * cspi/spi_registry.c: constify in strings.
5634 (deregisterGlobalEventListenerAll): don't release the ref.
5636 * cspi/spi.h: start removing redundant / conflicting
5637 gtkdoc comments, making the API readable at a glance :-)
5639 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5641 * test/keysynth-demo.c (keysynth_exit, main): upd.
5643 * test/simple-at.c (main, simple_at_exit): upd.
5645 * test/test-simple.c (unutterable_horror): kill.
5646 (utterable_normal_derefs): kill.
5647 (main): upd & do a setenv before gtk_init, so that we
5648 can use memprof - and to save the pain of remembering
5649 this, if we're running under memprof - don't exit.
5651 * cspi/spi_main.c (SPI_exit): return exit status
5653 (SPI_event_quit): impl.
5654 (SPI_event_main): simplify.
5655 (cspi_is_gnome_app): kill.
5656 (SPI_init): kill isGNOMEapp arg.
5658 * at-bridge/bridge.c (register_atk_event_listeners):
5659 re-instate the unref.
5660 (bridge_exit_func): don't re-activate the registry,
5661 protect vs. theoretical re-entry, use the
5662 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5663 assert a clean shutdown - for regression tests.
5665 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5667 * configure.in: Comment out dummy i18n support for now,
5668 otherwise it fails to build.
5669 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5670 EXTRA_DIST. They are missing in tarball.
5672 2001-12-07 Michael Meeks <michael@ximian.com>
5674 * util/magnifier.c: kill bonobo activation reg. race.
5676 * libspi/component.c
5677 (impl_accessibility_component_get_extents): make it match
5680 * libspi/registry.c (_registry_notify_listeners):
5681 re-remove X headers & reconcile conflicts.
5682 (spi_listener_struct_free): bad conflict resolve.
5683 (impl_accessibility_registry_register_application):
5684 more bad merging fixed.
5685 (impl_accessibility_registry_deregister_application): ditto.
5686 (spi_registry_new): ditto.
5687 (spi_registry_init): don't have an applications field.
5689 [ merge fixups2 branch to here ]
5690 2001-12-07 Michael Meeks <michael@ximian.com>
5692 * test/simple-at.c (report_focus_event),
5693 (report_focussed_accessible): remove g_warning debug.
5695 2001-12-07 Michael Meeks <michael@ximian.com>
5697 * test/test-simple.c (validate_tree): comment out some checks.
5698 (test_desktop): app now not registered idly - horay.
5700 2001-12-07 Michael Meeks <michael@ximian.com>
5702 * cspi/spi_registry.c
5703 (registerAccessibleKeystrokeListener): clean, stop it leaking
5704 great swathes of memory, and device event controller references.
5705 ensure we always pass valid sequences.
5706 (deregisterAccessibleKeystrokeListener): ditto.
5707 (generateKeyEvent): upd.
5709 * at-bridge/bridge.c (bridge_key_listener): handle
5710 registry dead exception gracefully.
5711 (bridge_focus_tracker, emit_eventv): free ev.
5713 * test/simple-at.c (report_focus_event): fix polarity.
5715 * libspi/application.c (notify_listeners): kill the ev
5716 argument, and make sure we init the ev we use.
5717 (spi_application_object_event_listener): split out a chunk
5718 (get_atk_object_ref): here & fixup.
5719 (reverse_lookup_name_for_toolkit_event): make const.
5720 (spi_application_toolkit_event_listener): fixup, kill leaks
5723 * at-bridge/bridge.c (register_atk_event_listeners):
5724 don't unref the noop object - causes grief.
5726 * libspi/registry.c: remove the X headers.
5727 turn off the debug churn.
5729 * libspi/accessible.c (spi_accessible_new_return): only
5730 release the ref if we are supposed to [doh]
5732 * test/simple-at.c (report_button_press, report_focus_event):
5733 guard vs. unexpected exit.
5735 * at-bridge/bridge.c (gtk_module_init): prune printf.
5736 (bridge_exit_func): fix app unref.
5738 * libspi/Makefile.am: don't install registry or desktop.h
5740 * libspi/*.h: update includes.
5742 * libspi/application.h: don't include ourself, or
5743 other redundant headers.
5745 2001-12-06 Michael Meeks <michael@ximian.com>
5747 * libspi/accessible.c
5748 (get_accessible_from_servant): impl.
5749 Upd. all CORBA impl.s to use it killing cut and paste.
5751 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5753 (SPI_init): register atexit cleanup handler here.
5755 2001-12-06 Michael Meeks <michael@ximian.com>
5757 * at-bridge/bridge.c (gtk_module_init): g_error on
5758 activation exception
5760 2001-12-06 Michael Meeks <michael@ximian.com>
5762 * at-bridge/bridge.c (gtk_module_init): some sort of
5763 confusing merge clash - reverted.
5764 (bridge_idle_init): ditto.
5766 * test/test-simple.c (main, utterable_normal_derefs):
5767 merge from Bill - somehow not committed.
5769 2001-12-06 Michael Meeks <michael@ximian.com>
5771 * libspi/value.c (spi_value_class_init): upd.
5772 (spi_value_finalize): kill.
5774 * libspi/table.c (spi_table_finalize): kill.
5775 (spi_table_interface_new): upd.
5776 (spi_table_class_init): upd.
5777 (get_table_from_servant): impl.
5778 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5780 * libspi/selection.c (spi_selection_finalize): kill.
5781 (spi_selection_interface_new): upd.
5782 (spi_selection_class_init): upd.
5783 (get_selection_from_servant): impl.
5784 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5786 * libspi/relation.c (spi_relation_finalize): kill.
5787 (spi_relation_class_init, spi_relation_new): upd
5789 * libspi/image.c (spi_image_finalize): kill.
5790 (spi_image_class_init): upd.
5791 (spi_image_interface_new): upd.
5792 (get_image_from_servant): impl.
5793 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5795 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5796 (spi_hyperlink_finalize): kill.
5797 (spi_hyperlink_new): upd.
5798 (get_hyperlink_from_servant): impl.
5799 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5801 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5802 (spi_hypertext_finalize): kill.
5803 (spi_hypertext_class_init): upd.
5804 (get_hypertext_from_servant): impl.
5805 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5807 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5808 (spi_editable_text_interface_new): upd.
5809 (get_editable_text_from_servant): impl.
5810 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5812 * libspi/text.c (get_text_from_servant): impl.
5813 All impls - update to use it killing more cut and paste,
5814 also fix bad string returns on duff args ( a somewhat
5815 impossible case to handle - but hey ).
5816 (spi_text_construct): impl.
5817 (spi_text_interface_new): upd.
5818 (spi_text_object_finalize): kill.
5820 * libspi/component.c
5821 (accessibility_component_object_finalize): kill.
5822 (spi_component_class_init): upd.
5823 (get_component_from_servant): impl. helper to kill cut & paste.
5824 (impl_accessibility_component_contains):
5825 (impl_accessibility_component_get_accessible_at_point):
5826 (impl_accessibility_component_get_position):
5827 (impl_accessibility_component_get_extents):
5828 (impl_accessibility_component_get_mdi_z_order):
5829 (impl_accessibility_component_get_layer):
5830 (spi_component_interface_new): upd.
5832 * libspi/action.c (spi_action_finalize): kill.
5833 (spi_action_class_init): upd. inherit from SpiObject.
5834 (spi_action_interface_new): upd.
5835 (get_action_from_servant): impl. helper to reduce cut & paste.
5836 (impl_getKeyBinding, impl_getName, impl_doAction),
5837 (impl_getDescription): Use it everywhere.
5839 * cspi/spi_main.c (get_live_refs): a pointer hash.
5840 (spi_object_hash, spi_object_equal): comment out.
5841 There are issues with CORBA object hashing that need
5844 * libspi/application.c (spi_application_init),
5845 (spi_application_new): upd.
5847 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5848 (spi_accessible_class_init): upd.
5849 s/accessible/object/ in epv methods.
5851 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5853 * at-bridge/bridge.c:
5854 Reorder the bridge initialization into the bridge gtk_module_init,
5855 an immediate call to bridge_register_app, and an idle_add for
5856 register_atk_event_listeners (the only code that *must* wait until
5857 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5858 the activation, creates the application's Accessible object, and
5859 queues the bridge_idle_init function. Restored call to
5860 Accessibility_Registry_deregisterApplication().
5861 Prior to making this call we obtain a new reference to the
5862 registry, which is a temporary hack that helps us handle apps that
5863 shut down the bonobo mainloop before we get there.
5865 * libspi/registry.c:
5866 Fix string leakage in debug block, and don't segv if a an app
5867 dies before its event notifications have been propagated.
5870 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5871 as stopgap measure until we get proper exception handling when
5872 objects die during or before interrogation.
5876 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5877 Also changed default value of is_gnome_app to TRUE.
5880 * test/keysynth-demo.c:
5881 Changed use of SPI_init and SPI_event_main to reflect API change above.
5884 Made report_focus_event check the warning value from getName
5885 before reporting on focussed accessible; simplifies handling of
5886 notifications from dead objects.
5888 * test/test-simple.c: (Changes not in this patch since source is
5891 2001-12-05 Michael Meeks <michael@ximian.com>
5893 * registryd/registryd.c (main): protect against
5894 bonobo-activation startup race condition.
5896 * cspi/spi_main.c (cspi_object_add_check): cope
5897 with the exception elegantly.
5899 * idl/Accessible.idl: decl. ChildGone
5901 * libspi/desktop.c (spi_desktop_dispose): impl.
5902 (spi_desktop_class_init): upd.
5903 (spi_desktop_add_application),
5904 (spi_desktop_remove_application),
5905 (abnormal_application_termination): impl.
5906 (impl_desktop_get_child_at_index): re-impl.
5909 (impl_accessibility_registry_deregister_application),
5910 (impl_accessibility_registry_register_application):
5911 kill excessive debug clutter.
5913 * test/test-simple.c (test_misc): test some NULL
5914 tolerance. (main): upd.
5916 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5917 implements no interfaces - so let's not crash.
5919 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5921 * libspi/accessible.c (spi_accessible_new_return): impl.
5922 helper to calm the cut and paste, to cope with
5923 NULL AtkObjects effectively and efficiently, and to kill
5924 the referencing bugs.
5926 * libspi/table.c (impl_getAccessibleAt),
5927 (impl_getRowHeader, impl_getColumnHeader): upd.
5929 * libspi/hyperlink.c (impl_getObject): upd.
5931 * libspi/accessible.c
5932 (impl_accessibility_accessible_get_child_at_index): upd.
5934 * libspi/component.c
5935 (impl_accessibility_component_get_accessible_at_point): upd.
5937 * test/test-simple.c (test_editable_text, test_text): impl.
5940 * cspi/spi_editabletext.c
5941 (AccessibleEditableText_insertText): constify.
5943 * test/test-simple.c (focus_me): make more robust.
5945 * libspi/accessible.c: remove some printfs in methods that
5946 we test and work fine, so we can get a clean tree dump.
5948 * test/test-simple.c (validate_accessible),
5949 (validate_tree): make tree dumping pretty too.
5951 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5952 it builds without debug on.
5954 * test/test-simple.c (validate_accessible): fix the most
5957 * cspi/spi_main.c (spi_object_release): leave the nicely
5958 blanked memory around if in debug mode.
5960 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5962 [committed to fixups2]
5963 2001-12-05 Michael Meeks <michael@ximian.com>
5965 * libspi/editabletext.c
5966 (spi_editable_text_class_init): g_type_class_peek_parent,
5967 not interface peek - so we finalize cleanly.
5969 * libspi/accessible.c (spi_accessible_new): kill debug.
5971 * test/test-simple.c (validate_accessible): fix ref.
5972 leak, print strings before freeing them; sigh, comment a
5973 chunk out due to strangeness.
5974 (validate_tree): unref the child after use.
5976 * cspi/spi_component.c (AccessibleComponent_getLayer):
5977 add missing break statement, switch on zlayer not the
5978 uninitialized retval.
5980 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5981 before (possibly re-entering) remote unref.
5983 * test/simple-at.c (main): unref the desktop.
5985 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5988 * cspi/spi_main.c (cspi_accessible_is_a): here to
5989 isolate bonobo API usage more.
5991 * libspi/registry.c (impl_accessibility_registry_register_application):
5992 prune bogus comment.
5994 2001-12-04 Michael Meeks <michael@ximian.com>
5996 * test/test-simple.c (validate_tree): upd.
5997 IndexInParent check to make it more lucid.
5998 (validate_accessible): dump the tree.
6000 * libspi/accessible.c (de_register_public_ref),
6001 (get_public_refs): impl.
6002 (spi_accessible_new): make more efficient & intuitive.
6003 Now IndexInParent check works.
6005 2001-12-04 Michael Meeks <michael@ximian.com>
6007 * cspi/spi-util.h: remove.
6009 * cspi/spi.h: move SPI_freeString here
6011 * libspi/component.c (impl_accessibility_component_get_layer):
6013 (impl_accessibility_component_get_mdi_z_order): ditto,
6014 return -1 on error - is this ok ?
6016 * test/test-simple.c (test_application): impl.
6018 * cspi/spi_accessible.c (Accessible_getApplication),
6019 (Accessible_isApplication): impl.
6021 * libspi/registry.c (spi_listener_struct_free): release
6022 the CORBA reference too.
6024 * libspi/accessible.c
6025 (impl_accessibility_accessible_get_parent): fix ref leak.
6027 * libspi/registry.c (spi_registry_new): make the registry
6028 immortal - we don't want it to go away ever.
6030 * libspi/application.c
6031 (spi_accessible_application_finalize): impl. cleanup.
6033 * cspi/spi_registry.c
6034 (deregisterGlobalEventListenerAll),
6035 (deregisterGlobalEventListener),
6036 (deregisterAccessibleKeystrokeListener): fix ref leak.
6038 * cspi/spi_main.c (SPI_init): remove redundant ref.
6040 * test/test-simple.c (unutterable_horror): impl. to force a
6045 (impl_accessibility_registry_deregister_application): release
6046 the application when we de-register it.
6048 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6049 until we have the infastructure to get it right.
6051 2001-12-03 Michael Meeks <michael@ximian.com>
6053 * libspi/Makefile.am: only build eventlistener.[ch]
6055 * libspi/accessible.c
6056 (impl_accessibility_accessible_get_child_at_index): don't leak.
6058 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6059 before we hit the idle handler.
6061 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6062 debugging than exit.
6064 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6066 * libspi/listener.c (impl_notify_event): check source
6067 not NIL before unref.
6069 * libspi/registry.c (impl_registry_notify_event): ditto.
6071 * libspi/eventlistener.c
6072 (impl_accessible_event_notify_event): unref the source.
6074 * libspi/accessibleeventlistener.c
6075 (impl_accessible_event_notify_event): unref the source.
6077 * idl/Event.idl: remove 'hash_id' attribute - of no
6080 * libspi/application.c (notify_listeners): upd list
6082 (spi_application_object_event_listener),
6083 (spi_application_toolkit_event_listener): upd to do correct
6087 (_registry_notify_listeners): update.
6088 (parse_event_type): this method also leaks like a sieve.
6089 (impl_accessibility_registry_deregister_global_event_listener):
6090 fix ETYPE_WINDOW case.
6092 * libspi/application.c
6093 (impl_accessibility_application_register_object_event_listener):
6096 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6098 * libspi/hypertext.c (impl_getLink): ditto.
6100 * cspi/spi_main.c (cspi_object_add): remove
6101 bogus CORBA_Object_duplicate.
6103 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6106 * cspi/spi_accessible.c
6107 (Accessible_getRelationSet): fix leak / referencing issue.
6109 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6110 (cspi_object_add, cspi_object_unref): upd.
6111 (spi_object_release, get_live_refs): impl.
6112 (cspi_cleanup): simplify.
6114 * *.[ch]: s/boolean/SpiBoolean/
6116 * cspi/spi_accessible.c (role_names): actualy order so it
6117 corresponds with the enum !
6119 * test/test-simple.c (test_roles): check some role strings
6120 vs. enums to detect offset errors.
6122 2001-12-01 Michael Meeks <michael@ximian.com>
6124 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6126 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6128 (Accessible_getChildAtIndex): use cspi_add_check so we
6129 check the ev before using a (possibly) invalid value.
6131 * libspi/accessible.c
6132 (impl_accessibility_accessible_get_parent): don't segv
6135 * at-bridge/bridge.c (gtk_module_init): upd.
6136 (bridge_property_event_listener): don't leak strings
6138 (bridge_state_event_listener),
6139 (bridge_property_event_listener): don't use a static
6140 buffer in case of recursive event emission &
6141 re-enterancy - split out the swathe of cut and paste
6143 (emit_eventv): and fix 2 ref leaks here & comply to the
6145 (bridge_register_app): rename to
6146 (bridge_idle_init): this and kill arg parsing, split
6147 various inits & bonobo-activation registration to module
6148 init time, kill referencing error.
6149 (bridge_exit_func): fix the same leak.
6150 (bridge_focus_tracker): don't leak event structures
6152 (bridge_signal_listener): more leakage and cut & paste
6154 (bridge_key_listener): return the result - FIXME is
6155 this polarity correct ?
6156 (accessibility_keystroke_from_atk_key_event): rename
6157 (accessibility_init_keystroke_from_atk_key_event): and stop
6159 (gtk_module_init): return a value - not that it is checked by
6161 (bridge_key_listener): register my horror at casting between
6162 IDL defined structs.
6163 (bridge_get_registry): kill - not used.
6165 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6167 * test/test-simple.c (test_roles): impl.
6168 (test_desktop, validate_accessible, validate_tree): impl.
6170 * cspi/spi_accessible.c (role_names): fixup bogus
6171 MAX_ROLES setup, make constants const for efficient linkage
6172 (AccessibleRole_getName): conform to coding style, make
6175 2001-11-30 Michael Meeks <michael@ximian.com>
6177 * cspi/spi.h: add missing prototype.
6179 * libspi/registry.c (spi_listener_struct_new): fix sig.
6181 * test/Makefile.am: add test-simple
6183 * test/test-simple.c: add
6185 * test/test.sh: add.
6187 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6189 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6190 do it straight - since otherwise we often get an activation race.
6192 [ work before Bill duplicated a chunk of it ... ]
6193 2001-11-30 Michael Meeks <michael@ximian.com>
6195 * libspi/keystrokelistener.c
6196 (spi_keystroke_listener_class_init): fixup arg
6199 * libspi/eventlistener.c
6200 (spi_event_listener_class_init): ditto.
6202 * tests/test.sh: add.
6204 * cspi/spi-listener-impl.h: update macros.
6206 * cspi/spi-listener-impl.c
6207 (cspi_event_listener_remove_callback): add
6208 correct pre-conditions.
6210 * cspi/spi_main.c (SPI_exit): guard vs. double
6211 exits, exit the mainloop nicely.
6212 (SPI_event_main): make more sense.
6213 (SPI_init): move the atexit evilness here so we
6214 always do it (yuck).
6215 (SPI_event_main): upd.
6217 * test/simple-at.c: update for listener changes.
6219 * registryd/registryd.c (main): prune kruft.
6221 * libspi/libspi.h: upd.
6223 * libspi/eventlistener.[ch]: rename broken macros.
6225 * libspi/accessibleeventlistener.[ch]: remove.
6227 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6229 * test/test-simple.c: Add - automated tests.
6231 * cspi/spi-listener-impl.c (cspi_event),
6232 (cspi_key_event): add user_data to invoke.
6233 (cspi_keystroke_listener_finalize): impl.
6234 (cspi_keystroke_listener_class_init): upd.
6237 (createAccessibleEventListener),
6238 (AccessibleEventListener_addCallback),
6239 (createAccessibleKeystrokeListener),
6240 (AccessibleKeystrokeListener_addCallback): upd.
6242 * libspi/deviceeventcontroller.c
6243 (spi_device_event_controller_check_key_event): add public proto.
6246 (impl_accessibility_registry_deregister_global_event_listener):
6247 always init listeners.
6248 (_registry_notify_listeners): yes it is.
6250 * cspi/spi-listener-impl.c (cspi_key_event):
6252 (cspi_event_listener_finalize): impl.
6253 (cspi_event_listener_class_init): hook up.
6254 (event_handler_new, event_handler_free),
6255 (event_list_remove_by_callback): impl.
6256 (cspi_event_listener_remove_callback),
6257 (cspi_keystroke_listener_remove_callback),
6258 (cspi_keystroke_listener_add_callback),
6259 (cspi_event_listener_add_callback): upd.
6261 * libspi/keystrokelistener.c
6262 (keystroke_listener_object_finalize): kill
6263 (spi_keystroke_listener_class_init): upd.
6264 (spi_keystroke_listener_add_callback),
6265 (spi_keystroke_listener_remove_callback): kill,
6267 (impl_key_event): prune drasticaly.
6269 * libspi/eventlistener.c
6270 (spi_event_listener_add_callback),
6271 (spi_event_listener_remove_callback): kill, use
6273 (impl_accessible_event_notify_event): upd.
6274 (spi_event_listener_object_finalize): remove.
6276 * libspi/Makefile.am: use eventlistener.[ch]
6278 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6280 * libspi/registry.c (_registry_notify_listeners):
6281 Changed listener loop iteration to use preferred convention.
6282 Got rid of string memory leaks caused be calling g_strconcat
6283 inside function calls.
6285 * libspi/registry.c (parse_event_type):
6286 Stopped g_strconcat memory leaks, free the g_strsplit return,
6287 g_strdup the split pieces when used, etc.
6289 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6292 Change method 'compare' to return a 'difference set' rather than
6293 taking a StateSet as an out parameter (more Java-friendly).
6295 * idl/Accessible.idl:
6296 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6298 * idl/Component.idl:
6300 Changed methods 'getExtents' and 'getImageExtents' in these
6301 interfaces to return a BoundingBox structure.
6302 (getPosition and getSize are redundant and possibly should be
6303 removed, rather than creating a corresponding Point struct.)
6305 * cspi/spi_component.c:
6306 Modify implementation of getExtents to reflect the above IDL
6311 Add (missing) AccessibleImage_getExtents () API.
6313 * docs/reference/cspi/at-spi-cspi-sections.txt:
6314 Added AccessibleImage_getImageExtents () to docs.
6316 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6318 * idl/Component.idl:
6319 Added two methods, getLayer () and getMDIZOrder (), to reflect
6320 the new ATK methods atk_object_get_layer and
6321 atk_object_get_mdi_z_order. (Which arguably should be part of the
6322 AtkComponent API and AtkObject). Also added an enum,
6323 ComponentLayer, for the first method's return value.
6325 * libspi/component.c:
6326 Added implementations for these methods.
6328 * cspi/spi_component.c:
6330 Added cspi binding methods for above,
6331 AccessibleComponent_getLayer() and
6332 AccessibleComponent_getMDIZOrder().
6333 Added cspi enum 'AccessibleComponentLayer'.
6335 * docs/reference/cspi/at-spi-cspi-sections.txt:
6336 Added above methods to docs.
6340 Changed typedef for 'boolean' type (and all references to it) to
6341 SPIBoolean, to avoid keyword clashes with C++.
6344 Changed usages of 'boolean' to SPIBoolean.
6346 * test/keysynth-demo.c:
6347 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6348 app), except where SPIBoolean is required by the callbacks API.
6350 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6352 * cspi/spi_registry.c:
6353 Removed obsolete X event loop for passive keygrabs (which now
6356 * registryd/registryd.c:
6357 Removed unnecessary call to gdk_init() [cruft]. This also allows
6358 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6361 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6363 * docs/reference/cspi:
6364 Included docs for SPI_freeString in generated documentation.
6367 Renamed spi_freeString to SPI_freeString, for consistency. Added
6368 documentation for this function.
6371 Renamed spi_freeString to SPI_freeString, for consistency.
6372 Removed obsolete method declaration string_from_corba_string.
6374 * test/keysynth-demo.c:
6375 Small tweak to comments.
6378 Stopped leaking the strings returned from CSPI.
6380 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6382 Merged Michael's branch (see his ChangeLog entries below).
6384 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6385 bridge is alive, release on exit.
6387 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6388 Fix type check macro.
6391 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6394 Added is_gnome_app static, and method cspi_is_gnome_app(),
6395 so we can call the appropriate shutdown routine at exit in SPI_exit.
6397 * cspi/spi_main.c (cspi_object_ref):
6398 Duplicate the corba object passed in, since we're keeping it around.
6400 * cspi/SPI_exit.c, cspi_cleanup:
6401 Moved the releasing of the live refs to its own function, so we
6402 can put it in g_atexit (). Call the appropriate shutdown API
6403 depending on whethe calling client is a gnome app or not
6404 (bonobo_main_quit or CORBA_ORB_shutdown).
6406 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6407 Unref the listener when this method is called, after
6408 deregistration. Updated the API docs to note this behavior.
6410 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6411 Bugfixes: Ref the bonobo object when returning a parent or child
6412 reference, or an AccessibleRelation. Generally made sure
6413 BonoboObject refcount is incremented whenever we return an
6416 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6417 Fixed typo/bug in signal declaration.
6419 * libspi/accessibleeventlistener.h:
6422 * libspi/application.c (spi_application_new):
6423 Fixed leak in initialization.
6426 Remembered to increment bonobo-object refcount when returning
6427 children (applications) from desktop object.
6428 Added (empty) finalize method.
6430 * libspi/deviceeventcontroller.c:
6431 Hold a ref to listeners inside DEControllerKeyListeners.
6432 Added dec_key_listener_free() method. Use prepend instead of
6433 append in key_listener list. Fixed some refcount madness and
6434 leaks in the listener registration/deregistration - deregistration
6435 now calls dec_key_listener_free() on listeners, and on the
6436 temporarily constructed dec_key_listener() used to perform the search/match.
6438 * libspi/hypertext.c (spi_hypertest_finalize):
6439 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6440 class. Also fixed spi_hypertext_interface_new() and
6441 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6443 * libspi/hypertext.h:
6444 Removed pointless and duplicate AtkObject pointer from
6447 * libspi/keystrokelistener.c:
6448 Fixed incorrect type of keystroke_listener_parent_class,
6449 renamed keystroke_listener_object_finalize to
6450 spi_keystroke_listener_object_finalize.
6451 Fixed typo in signal declaration
6452 (spi_keystroke_listener_class_init).
6454 * libspi/registry.c:
6455 Added funcsions spi_listener_struct_new() and
6456 spi_listener_struct_free() to help with memory management issues.
6457 We also now use these methods instead of gnew + poking stuff into
6458 the struct, and to decrement listener counts/free the listeners
6459 when deregistering them.
6460 Fix more refcount bugs in getDesktop() and
6461 getDeviceEventController().
6464 De-ref the desktop after enumerating the applications. Explicitly
6465 decrement the refcounts on the created listeners on exit (using
6466 _unref for keystroke listeners, and via the
6467 deregisterGlobalEventListenerAll command for other event
6470 2001-11-27 Michael Meeks <michael@ximian.com>
6472 * cspi/spi-listener.h: fixup enum.
6474 2001-11-27 Michael Meeks <michael@ximian.com>
6476 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6477 (cspi_keystroke_listener_new): Use the cspi variants.
6479 2001-11-26 Michael Meeks <michael@ximian.com>
6481 * test/keysynth-demo.c: fix 2 compile warnings, missing
6484 * test/simple-at.c (report_focussed_accessible),
6485 (report_focus_event, report_button_press),
6486 (check_property_change, is_command_key),
6487 (report_ordinary_key_event, report_command_key_event): upd.
6489 * util/mag_client.h: include pre-requisites.
6491 * libspi/accessibleeventlistener.c
6492 (spi_event_listener_object_finalize): free any lingering
6495 * libspi/keystrokelistener.c
6496 (keystroke_listener_object_finalize): ditto.
6498 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6499 callbacks, with cspi types.
6501 * cspi/spi_event.c (createAccessibleEventListener): chain to
6502 (AccessibleEventListener_addCallback): here.
6503 (createAccessibleKeystrokeListener): chain to
6504 (AccessibleKeystrokeListener_addCallback): here.
6506 * libspi/keystrokelistener.c
6507 (spi_keystroke_listener_class_init): add signal.
6508 (impl_key_event): emit the event.
6509 (boolean_handled_accumulator): impl.
6510 (marshal_BOOLEAN__POINTER): add, gack.
6512 * libspi/accessibleeventlistener.c
6513 (spi_event_listener_class_init): add signal.
6514 (impl_accessible_event_notify_event): emit the signal &
6515 make the loop efficient.
6516 (spi_event_listener_add_callback): prepend the callback.
6518 * libspi/accessibleeventlistener.h: add an 'event' signal,
6519 decl type on callback.
6521 * libspi/keystrokelistener.h: ditto.
6523 * cspi/spi-listener.h: make methods typesafe and
6524 make them use the new event typedefs.
6526 * test/simple-at.c (report_focussed_accessible):
6527 include mag_client.h
6528 Use *(void *)text_interface not the other thing.
6530 * configure.in: add gtk to registryd bits - since we use
6533 * util/magnifier.c: include libbonobo.h
6535 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6537 * test/keysynth-demo.c:
6538 Turned this into a simple scanning keyboard, to demonstrate the
6539 use of g_timeout_add () as a means of creating timers for
6540 scanning, and the use of GtkStyle for visually indicating when
6541 virtual keyboard elements are selected.
6543 keysynth-demo now listens to any keyboard keys with zero-valued
6544 keycodes (i.e. 'unused' keys) and interprets them as
6547 Reworked the shiftlatch code so that shift-down state isn't held
6548 for long periods (it's only synthesized immediately prior to
6549 the keysynth event it's modifying). Note that shiftlatch in this
6550 demo is a convenience, not intended to take the place of AccessX
6551 which is the better choice for getting 'sticky' modifier keys.
6553 * libspi/deviceeventcontroller.c:
6554 * at-bridge/bridge.c:
6555 * cspi/spi_registry.c:
6556 Removed some debug print stuff, and put other verbosity in #ifdef
6561 Implemented some more of the magnifier IDL for the simple
6562 magnifier: namely, getZoomRegionParams.
6563 Added mag_x and mag_y members to MagnifierData struct, aid of this
6565 Added GtkWindow::realize signal handler to magnifier, to keep it
6566 from receiving keyboard focus from the WM.
6568 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6570 * cspi/spi-private.h: my guess at what michael forgot
6571 before he ran off to NZ :-)
6573 2001-11-23 Michael Meeks <michael@ximian.com>
6575 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6576 comment out non existant method invoke so we link.
6578 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6579 use bonobo_exception_get_text for more friendly warnings.
6581 * cspi/spi.c (Obj_Add): move into spi_main & rename
6582 spi_object_add; kill spi.c
6584 * cspi/spi_registry.c
6585 (deregisterGlobalEventListener),
6586 (deregisterGlobalEventListenerAll),
6587 (registerGlobalEventListener): fix exception leaks.
6589 * cspi/spi_main.c (spi_exception): impl. helper, so we
6590 don't leak exceptions.
6592 * cspi/spi_selection.c
6593 (AccessibleSelection_deselectSelectedChild): return the
6596 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6597 (spi_registry): ditto.
6598 (SPI_init): guard against double inits.
6600 * cspi/*.c: use spi_ev (), and spi_registry () where
6601 appropriate - a temporary hack until we have something
6602 better. Use spi_object_add
6604 2001-11-22 Michael Meeks <michael@ximian.com>
6606 * cspi/Makefile.am: re organise, install the headers.
6608 * cspi/*.h: add G_BEGIN/END_DECLS
6610 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6613 Added non-preemptive keylistener for key events with no modifiers
6614 and shift-only modifier.
6616 * libspi/keystrokelistener.c:
6617 Removed some verbose diagnostics printout.
6619 * cspi/spi_registry.c:
6620 Fixed a bug that caused all key listeners to be registered as
6623 * libspi/deviceeventcontroller.c:
6624 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6625 for non-preemptive key masks.
6628 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6630 * docs/reference/idl/at-spi-idl-docs.sgml:
6631 * docs/reference/idl/at-spi-idl-sections.txt:
6632 * docs/reference/idl/at-spi-idl-overrides.txt:
6633 Added missing files.
6635 * docs/reference/Makefile.am:
6636 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6637 to scan the IDL files :-(
6642 Added .cvsignore files.
6644 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6646 * libspi/deviceeventcontroller.c:
6647 * libspi/keystrokelistener.c:
6649 * cspi/spi_registry.c:
6650 Added filters for KeySets, KeyEventSeq, and event types to key
6651 event dispatching, so listeners should only receive those events
6652 that they requested :-)
6654 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6659 * docs/reference:Makefile.am:
6660 * docs/reference/cspi:
6661 * docs/reference/cspi:Makefile.am:
6662 * docs/reference/cspi:tmpl:
6663 * docs/reference/cspi:tmpl:*.sgml:
6664 * docs/reference/idl:
6665 * docs/reference/idl:Makefile.am:
6666 * docs/reference/idl:at-spi-idl-sections.txt:
6667 * docs/reference/idl:at-spi-idl-docs.sgml:
6668 * docs/reference/idl:tmpl:
6669 * docs/reference/idl:tmpl:*.sgml:
6671 Restructured docs directory to allow separate 'reference' docs
6672 section, and forked idl and cspi docs. Added the sgml template
6673 files to CVS. Added the first sections/structural sgml for the
6676 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6678 * configure.in, libspi/Makefile.am: find libXtst.
6680 2001-11-21 Michael Meeks <michael@ximian.com>
6682 * test/accessx-gui.c: s/spi_value/value/ - doh.
6684 * libspi/base.[ch]: add.
6686 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6688 * idl/Accessible.idl:
6689 * idl/Application.idl:
6692 Started gtk-doc cleanup on IDL.
6694 * libspi/deviceeventcontroller.c:
6695 Added and connected non-preemptive key notification from the
6696 toolkits (in addition to the pre-emptive support from XServer
6697 which we had before, but which causes 'focus flashing'). Filters
6698 are presently limited to key modifiers and global/non-global,
6699 KeySets are presently ignored, as are KeyEvent masks.
6701 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6702 structs into the persistant structure rather than just storing
6703 pointers to things that might not persist across servant
6706 The XGrabKey call now does async keygrabs, because synchronous
6707 ones were deadlocking with GDK_event code in a very nasty way.
6709 Added boolean to internal method notify_keylisteners, to indicate
6710 whether the event came from the 'toolkit source' or the 'global
6711 (XServer) source' - this is used in the notification process to
6712 determine which listeners to send the event to.
6714 deviceeventcontroller.c is now warning-free.
6716 * libspi/registry.c:
6717 Fixed regression in application de-registration.
6718 Also fixed some really brain-dead weirdness having to do with
6719 event dispatching - event structs are now duplicated before being
6720 re-marshalled in the dispatch to listeners. This also fixes a
6721 Solaris build problem.
6724 2001-11-20 Michael Meeks <michael@ximian.com>
6727 (impl_accessibility_registry_deregister_global_event_listener):
6730 * libspi/deviceeventcontroller.c
6731 (spi_device_event_controller_check_key_event): return
6732 FALSE on no virtual method.
6734 * libspi/*..h: make includes work on a correctly pathed install.
6736 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6738 * libspi/application.h: kill unused ( and whacked out )
6739 gboolean *spi_application_set_id (AtkObject *app, long id);
6741 2001-11-20 Michael Meeks <michael@ximian.com>
6743 * libspi/*.[ch]: further convert to bonobo's type func
6744 macros, remove redundnant casts etc.
6746 * libspi/text.c s/accessibility_text/spi_text/g,
6747 re-order to de-cruft.
6749 * libspi/hypertext.c: re-order to kill a huge slew
6750 of redundant forward decls.
6752 * libspi/relation.c: ditto.
6754 * libspi/image.c: ditto.
6756 * */.cvsignore: update
6758 2001-11-20 Michael Meeks <michael@ximian.com>
6760 * libspi/deviceeventcontroller.c
6761 (_controller_register_with_devices): use g_getenv,
6762 kill stdlib.h include.
6764 * libspi/keystrokelistener.c
6765 (spi_keystroke_listener_get_type): kill
6766 (spi_keystroke_listener_class_init),
6767 (spi_keystroke_listener_init): rename to this.
6769 * libspi/text.c (impl_getAttributes): fix warning / bug.
6771 * libspi/*.[ch]: more headers, includes and over commenting.
6773 2001-11-20 Michael Meeks <michael@ximian.com>
6775 * libspi/*.[ch]: fixup headers, includes and over commenting.
6777 * libspi/image.c (impl__get_imageDescription): const
6778 correctness warning fix. remove redundant casting.
6780 * libspi/table.c (impl_getRowDescription): ditto.
6781 (impl_getColumnDescription): ditto.
6783 * libspi/libspi.h: add.
6785 2001-11-19 Michael Meeks <michael@ximian.com>
6787 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6789 * libspi/component.c (accessibility_component_get_type):
6790 rename to (spi_component_get_type): and macroify.
6791 (accessibility_component_init): rename to
6792 (spi_component_init): this
6793 (accessibility_component_class_init): rename to
6794 (spi_component_class_init): this
6796 * libspi/action.c (spi_action_get_type): kill, use the macro.
6798 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6801 * libspi/application.c (spi_application_object_event_listener),
6802 (impl_accessibility_application_register_object_event_listener):
6803 warning fixes / const understanding updates.
6805 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6808 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6810 * libspi/spi_accessible.c: Added docs and C bindings for
6811 AccessibleStateSet. (No implementations yet). Documentation
6812 coverage for C bindings now 100%. Made docs for event listeners
6817 boolean notifyListenersSync (in DeviceEventListener listener,
6818 in DeviceEvent event);
6820 oneway void notifyListenersAsync (in DeviceEventListener listener,
6821 in DeviceEvent event);
6823 Added DeviceEventListener and DeviceEvent structs (may deprecate
6824 KeyStroke and KeystrokeListener in favor of this generic
6825 event/listener framework for devices).
6827 * libspi/deviceeventcontroller.c:
6829 Changed some key listener code to take masks, etc., and paved the
6830 way for integration of toolkit/non-preemptive key events. Changed
6831 signatures of some internal methods.
6833 * at-bridge/bridge.c:
6834 Fixed regression connecting to interface signals, apparently
6835 caused by GTK+ changes.
6837 Added an internal bridge_state_listener to deal with
6838 property-change:accessible-state signals.
6840 Changed the key_listeners GList to store structs (including masks,
6841 etc.) instead of just CORBA_Objects (required for full
6842 implementation of key listener API).
6844 Connected the bridge to all currently supported Atk signals.
6845 Events now supported:
6846 object:property-change
6847 object:property-change:accessible-name
6848 object:property-change:accessible-state
6849 object:property-change:accessible-description
6850 object:property-change:accessible-parent
6851 object:property-change:accessible-value
6852 object:property-change:accessible-role
6853 object:property-change:accessible-table-caption
6854 object:property-change:accessible-table-column-description
6855 object:property-change:accessible-table-column-header
6856 object:property-change:accessible-table-row-description
6857 object:property-change:accessible-table-row-header
6858 object:property-change:accessible-table-summary
6859 object:children-changed
6860 object:visible-data-changed
6861 object:selection-changed
6862 object:text-selection-changed
6864 object:text-caret-moved
6866 object:row-reordered
6868 object:column-inserted
6869 object:column-reordered
6870 object:column-deleted
6871 object:model-changed
6873 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6875 * libspi/hyperlink.c,h:
6876 Fixed some broken stuff in hyperlink.
6878 * libspi/relation.h:
6879 * libspi/relation.c:
6880 * cspi/spi_accessible.c:
6881 Initial implementations of AccessibleRelation methods, and docs.
6883 * libspi/accessible.c:
6884 Fixed a bug that caused SEGV if an accessible
6885 object's description is NULL, and a client
6886 requests it. An empty string is now returned.
6888 * cspi/spi_editabletext.c:
6889 * cspi/spi_hypertext.c:
6891 * cspi/spi_hyperlink.c:
6895 Doc coverage now 95%.
6897 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6899 One last namespacing revision:
6900 * libspi/accessibleeventlistener.[ch]:
6901 Renamed SpiAccessibleEventListener to SpiEventListener,
6902 (no need for two namespaces ;-)
6904 And lots of documentation fixes:
6906 * docs/at-spi-docs.sgml:
6907 Fixed 'underscore vs. hyphen' bug that was preventing
6908 the gtk-doc API docs from being automatically generated.
6911 * cspi/spi-listener.h
6913 * cspi/spi_accessible.c
6915 * cspi/spi_application.c
6916 * cspi/spi_component.c
6917 * cspi/spi_editabletext.c
6919 * cspi/spi_hypertext.c
6921 * cspi/spi_registry.c
6922 * cspi/spi_selection.c
6926 * docs/at-spi-docs.sgml
6927 * docs/at-spi-sections.txt
6929 Added and fixed up gtk-doc documentation in cspi.
6931 Interfaces now (fully) documented (subject to revision and enhancement):
6933 Event Listener Support
6935 AccessibleApplication
6939 AccessibleEditableText
6946 AccessibleRelationSet
6951 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6953 * at-bridge/bridge.c:
6954 Initial work for toolkit-level key snooper connection by bridge.
6959 New typedefs and fixes to support new namespacing, and cleaner
6960 separation of cspi bindings from libspi bonobo implementation.
6961 Removed inconsistent and extraneous Spi* namespace prefix that
6962 had crept into cspi headers.
6963 Lots of comment fixes that sed had missed.
6965 * cspi/spi-roletypes.h:
6966 * cspi/spi-statetypes.h:
6967 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6968 to AccessibleRoleType.
6970 * libspi/accessibleeventlistener.h:
6971 Fixed minor namespacing weirdness.
6973 * libspi/deviceeventcontroller.c:
6974 Reordered some internal API for device listeners.
6975 Changed the key registry final boolean to 'is_system_global'
6976 rather than 'is_synchronous', which is more descriptive of its
6978 Added spi_device_event_controller_new().
6979 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6981 * libspi/keystrokelistener.[ch]:
6982 Namespaced KeystrokeListener to SpiKeystrokeListener.
6983 Changed uses of keymasks to use SPI_ prefix, and did other
6986 * libspi/keymasks.h:
6987 Namespaced keymask constants with SPI_ prefix.
6989 * libspi/registry.c:
6990 Some warning fixes, and knock-on fixes from namespace changes.
6993 Added rules for accessx-gui test program.
6995 * test/accessx-gui.c:
6996 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6997 utility. It doesn't actually use at-spi, but it's still cool and
7000 * test/keysynth-demo.c:
7004 Fixes so that these test clients work properly with the namespaced
7005 libraries. (Incompletely tested for technical reasons, fixes may follow)
7008 2001-11-13 Michael Meeks <michael@ximian.com>
7010 * libspi/application.c
7011 (impl_accessibility_application_get_version),
7012 (impl_accessibility_application_get_toolkit_name):
7014 (impl_accessibility_application_set_id),
7015 (impl_accessibility_application_get_id): remove
7016 redundant casting code.
7018 * libspi/action.c (impl_getDescription): fix warnings.
7020 * libspi/accessible.c
7021 (impl_accessibility_accessible_get_parent),
7022 (impl_accessibility_accessible_get_child_at_index),
7023 (impl_accessibility_accessible_get_state),
7024 (impl_accessibility_accessible_get_relation_set):
7025 warning fixes & include action.h
7027 2001-11-13 Michael Meeks <michael@ximian.com>
7029 * *.[ch] fix bits I screwed up:
7031 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7032 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7034 2001-11-13 Michael Meeks <michael@ximian.com>
7036 * *.[ch] Namespace libspi into spi_ and Spi.
7038 2001-13-11 Michael Meeks <michael@ximian.com>
7040 * Makefile.am: dist & install at-spi-1.0.pc
7042 * libspi/Makefile.am: install into at-spi-1.0
7044 * idl/Makefile.am (idldir): install into at-spi-1.0
7046 * at-spi-1.0.pc.in: add.
7048 * configure.in: build it.
7050 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7052 * test/keysynth-demo.c:
7053 Use a 'realize' signal-handler to set the WM properties for
7054 the virtual keyboard, rather than making it a "POPUP" type
7055 override-redirect window (thanks to anders carlsson for that
7058 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7061 * test/keysynth-demo.c:
7062 Added new test of key synthesis, which creates a simple
7063 (mouse-operated) onscreen keyboard. It inserts key events into
7064 the currently-focused window, thus it does not grab keyboard focus
7067 * cspi/spi_registry.c:
7068 Added C binding for AT-SPI generateKeyEvent.
7070 * libspi/deviceeventcontroller.c:
7071 Added call to XFilterEvent so that key listener works with XIM (we
7072 hope). Added event_synth_type to generateKeyEvent, so that we can
7073 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7074 synthesize a press/release pair for KeySyms.
7076 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7078 * libspi/Makefile.am:
7079 * registryd/Makefile.am:
7080 (temporary) hack to include libXtst in libspi and registryd.
7081 (Needed for keystroke synthesis, see below).
7084 Improved API for registerKeystrokeListener, in accordance with
7085 discussions with Gnopernicus team and X server research.
7087 * libspi/registry.c:
7088 * libspi/deviceeventcontroller.c:
7089 * libspi/accessible.c:
7090 * libspi/keystrokelistener.c:
7091 Changes and fixes to support keylisteners for potentially
7092 consumed key events (that is, 'passive grabs').
7093 Added implementation for generateKeyEvent() [untested].
7096 Changes to registerKeystrokeListener() API, as above.
7097 Added deregisterGlobalEventListenerAll(), and
7098 deregisterKeystrokeListener(), which are needed for clean exit of
7100 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7101 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7103 * cspi/spi_registry.c:
7104 Added implementations of function prototypes mentioned above.
7106 * registryd/registryd.c:
7107 Added the key listener event source as a g_timeout(), to allow
7108 receipt of key events that are not caught by GDK (since GDK
7109 doesn't support passive keygrabs, this was necessary).
7112 Changed to attach a keylistener to 'Alt' keys, and
7113 respond to the following keycommands: Alt-M (toggle magnifier);
7114 Alt-F (toggle speech); Alt-Q (quit).
7115 Added an exit routine to deregister the listeners, and a key
7116 listener that prints some key info to the console when a key
7117 matches the listener mask (and is thus received by the listener).
7119 * util/idl/Magnifier.idl:
7120 Changes to magnifier API to support multiple zoom regions,
7121 non-uniform scaling in x and y, markDirty, and a host of other
7122 features that would be useful to magnification.
7125 * util/mag_client.c:
7126 * util/mag_client.h:
7127 * util/mag_control.c:
7129 Source code changes to support the above IDL changes.
7132 As above, and also changes to use a (slower) generic conversion
7133 path for colormap conversions, since the fast RGB conversions have been
7134 reported to fail for 16-bit displays.
7136 2001-10-26 Michael Meeks <michael@ximian.com>
7138 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7140 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7142 * at-bridge/Makefile.am: fix LDFLAGS.
7144 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7146 * at-bridge/bridge.c:
7147 Re-worked listeners for toolkit events, now we have signal
7148 and property listeners. Added a private method
7149 register_atk_event_listeners(), which registers with the
7150 various atk and gtk signals we need to monitor in order to emit
7152 Added emission hook for AtkObject:property-change events, to
7153 support the 'property listeners'.
7154 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7157 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7158 which emit warnings and exit, respectively, if CORBA errors occur
7159 during remote calls, and we now use these methods to check most of
7160 our CORBA calls in the C bindings.
7162 * cspi/spi_accessible.c:
7163 Changed AccessibleSelection_refSelectedChild() to
7164 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7165 now increment refcounts.
7167 * cspi/spi_component.c:
7168 Fixed some long pointer casts (dangerous!) to pass pointers to
7169 CORBA_longs of the proper type to the CORBA stubs, and copy the
7170 data into the longs that were passed into the C bindings code.
7172 * at-bridge/bridge.c:
7174 * libspi/accessible.c:
7175 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7176 hyperlinks, AtkHyperlink is an object type.
7178 * libspi/application.c:
7179 Added various conversions to and from "generic" event types and
7180 atk-specific types; this is really part of the 'bridge'
7181 implementation but is valid for all AtkObject-based accessibility
7184 * libspi/editabletext.c:
7185 Fixed nasty bug wherein editable text's finalize method was
7186 unref'ing tha AtkObject reference that the text parent class was
7187 about to unref _again_. There was also a nasty inheritance bug
7188 that meant that the AccessibleEditableText class was corrupt.
7190 * libspi/selection.c:
7191 Provided implementations for some selection API that was broken.
7193 * idl/Application.idl:
7194 Added registerObjectEventListener () method.
7197 Fixed a number of return values that were Bonobo_Unknowns from
7198 bonobo_object_corba_objref(), which I
7199 forgot to dup before returning. Changed instances of
7200 bonobo_object_corba_objref (bonobo_object(o)) to
7201 BONOBO_OBJREF(o), for concision and clarity.
7203 2001-10-13 Louise Miller <louise.miller@sun.com>
7205 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7206 idl/Event.idl, idl/Registry.idl
7207 Changed these files to include Bonobo_Unknown.idl instead
7210 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7212 * libspi/component.c libspi/component.h:
7213 Fixed typo. Added assertions for object checks in
7214 AccessibleComponent code.
7216 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7218 * idl/Accessible.idl:
7219 Added 'isEqual (Accessible *object)'
7220 method for Accessible. (Not Yet Implemented).
7223 Changed signature of registerKeystrokeListener() to
7224 take a KeySet and KeyEventSeq so that specific keys and event
7225 types could be requested for monitoring, and added a flag
7226 is_synchronous so that either synchronous or asynchronous
7227 notification could be requested. (However this is not all
7228 implemented yet). This also meant adding two new typedefs,
7229 KeyEventSeq and KeySet.
7232 Added two new relations, RELATION_TOOLTIP_FOR and
7233 RELATION_LEAFNODE_OF.
7236 Added new state, STATE_HAS_TOOLTIP.
7238 * libspi/text.c, editabletext.c:
7239 Added new assertions to all casts of bonobo-objects from
7240 CORBA servants, to prevent Text API calls on non-text objects.
7241 Changed suspect casts of int-pointer types, so that we
7242 always send a valid CORBA_long pointer to the CORBA APIs that use
7243 in/out long parameters. We then have to copy from the CORBA_long
7244 into the regular long or int for return to the C bindings, or
7245 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7248 * libspi/deviceeventcontroller.c:
7249 Cleaned these sources up.
7251 Changed return type for getCharacterAtOffset to
7252 CORBA_unsigned_long, to allow for 32-bit characters.
7255 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7259 Fixed 'make dist' so that distro compiles...
7260 * libspi/keymasks.h:
7262 * cspi/spi-listener.c:
7263 KeystrokeListenerCB now returns a boolean.
7265 Added KeyEventType struct, and KeyStroke.
7266 Also added createKeystrokeListener(),
7267 KeystrokeListener_addCallback(),
7268 KeystrokeListener_removeCallback(), and added a keymask to
7269 registerKeystrokeListener().
7270 * cspi/spi_accessible.c:
7271 Changed numerous return types for interfaces from
7272 AccessibleComponent to Accessible<InterfaceName>; this was
7273 probably a cut-and-paste error.
7275 Implementations of new KeystrokeListener api (from spi.h,
7278 Changes to key modifier mapping.
7279 Created ControllerEventMask struct.
7280 Made DeviceEventController derive from Bonobo::Unknown.
7282 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7283 * libspi/deviceeventcontroller.c:
7284 Added a number of new internal (private) methods.
7285 * libspi/editabletext.c:
7286 * libspi/editabletext.h:
7287 Fixed a number of bugs related to the fact that
7288 editabletext inherits from text. Fixed the EditableText struct,
7289 the init() call, and use correct casts when calling Text methods
7290 from an EditableText object. Removed (duplicate) atko from the
7291 EditableText structure, we use the one in the parent Text
7292 structure via the casts mentioned above.
7293 * libspi/keystrokelistener.[ch]:
7294 * libspi/registry.c:
7295 Changes in support of keyboard handling (above).
7297 Keyboard handling, though partly functional, is still not
7298 recommended for at-spi client use as there is considerable
7299 work yet to be done.
7302 Changed some places where pointers to various int types
7303 are cast to be pointers to CORBA_long types and vice-versa:
7304 pointer casting is not safe so we pass pointers of the correct
7305 types and then cast the result before putting it into the target
7308 * libspi/text.h: minor typos corrected.
7310 We now speak not only the name of a Text element, but the
7311 first sentence of its content, when it receives focus.
7312 I also changed the text compression to 75% from 50%.
7313 * util/Accessibility_Util.server.in:
7314 Changed the default magnifier type to be a 3x vertical
7315 splitscreen magnifier (was previously a 2x horizontal one).
7317 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7319 * libspi/keystrokelistener.h:
7320 * libspi/keystrokelistener.c:
7321 Initial functional implementations of KeystrokeListener.
7324 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7326 Fixed string handling for NULL strings in libspi.
7327 Added spi_freeString to free strings returned by C bindings.
7329 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7331 * libspi/keystrokelistener.h:
7332 * libspi/keystrokelistener.c:
7333 Began (no-op) implementations of KeystrokeListener
7335 * libspi/deviceeventcontroller.c:
7336 * libspi/deviceeventcontroller.h:
7337 Began creating implementations of DeviceEventController,
7338 to handle keystroke and mouse event listening and
7340 * libspi/accessible.c:
7341 Stubbed-in the implementations for
7342 Accessibility_Accessible_getState and
7343 Accessibility_Accessible_getRelationSet.
7344 * libspi/registry.c:
7345 Improved de-registration process and fixed some bugs,
7346 deregistration now works correctly.
7348 Added initialization of applications list (to NULL).
7350 Reduced speech compression from 0.5 to 0.7, for demo.
7351 Changed call to gdk_window_set_decorations()
7352 to gtk_window_set_decorated().
7353 * at-bridge/bridge.c:
7354 Bridge now deregisters when app exits, via
7355 registration of a cleanup function
7356 with the g_atexit() call.
7357 Required making 'app' static, renamed 'this_app'.
7358 Fixed broken use of bonobo_init, passing argv wrongly.
7360 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7364 Created a new directory for
7365 accessibility-related utilities, primarily for
7366 testing and demo purposes, but with possible
7373 Onscreen magnifier utility that
7374 is implemented as a bonobo service.
7376 * util/mag_client.c:
7377 * util/mag_client.h:
7378 Client-side support (simple C bindings)
7379 for Magnification service
7381 * util/mag_control.c:
7382 Client program example for
7383 Magnification service
7385 * util/Accessibility_Magnifier.server.in:
7386 Bonobo-activation file for the
7387 Magnification service.
7390 * util/idl/Magnifier.idl:
7391 IDL defining the bonobo Magnification
7395 Modifications to use the bonobo-activated magnifier
7396 above, in place of trying to connect to an existing
7397 magnifier that uses socket-listening IPC.
7399 If env variable MAGNIFIER is set, a magnifier service
7400 will be started if one does not exist.
7402 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7404 * at-bridge/bridge.c:
7405 applied patch from Marc to build and run
7406 against new glib and gtk+ (seemed like a change
7407 to bonobo_init signature was made ?)
7409 made festival-server support turned off by default.
7410 Added support for a simple magnifier (off by default)
7411 which will be added to a 'util' directory later.
7412 * at-bridge/Makefile.am:
7413 Changed "application.h" header from a 'source'
7414 to a 'dependency' of libat-bridge.
7416 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7425 Added interface implementation c files to list of
7426 includes so they are included in libcspi.
7429 Changed prototype of AccessibleAction_doAction to return a
7431 Changed prototype of AccessibleTable_getCaption to
7432 return an Accessible.
7433 Changed prototype of AccessibleTable_getSelectedRows
7434 and AccessibleTable_getSelectedColumns to
7435 return a long (returns the number of selected rows
7436 or columns respectively).
7437 Changed name of AccessibleText_refRunAttributes to
7438 AccessibleText_getAttributes.
7439 Changed prototype of AccessibleText_getCharacterExtents to
7440 return a void rather than a boolean.
7441 Added support for a AccessibleCoordType parameter
7442 specifying what type of coordinates are desired.
7443 Added an AccessibleCordType parameter to
7444 AccessibleText_getPointAtOffset.
7446 * cspi/spi_accessible.c:
7447 Added code to return the outstanding interfaces from
7448 Accessible_queryInterface.
7450 * cspi/spi_action.c:
7452 Corrected call to getNActions to call the c binding
7455 * cspi/spi_editabletext.c:
7457 Changed name from setRunAttributes to setAttributes.
7459 * cspi/spi_hyperlink.c:
7461 Changed call to getNAnchors to correctly call the c
7462 binding for an attribute.
7464 * cspi/spi_hypertext.c:
7466 Changed getImageDescription to correctly call the
7467 binding for an attribute.
7469 * cspi/spi_selection.c:
7470 Changed getNSelectedChildren to correctly call the c
7471 binding for the attribute.
7472 Changed refSelectedChild to getSelectedChild.
7476 Changed getCaption to return an Accessible.
7477 Fixed calls which retrieve attributes.
7478 Changed refAt to getAccessibleAt.
7479 Changed getNSelectedRows and getNSelectedColumns to
7483 Changed getCharacterExtents and getPointAtOffset to accept an
7484 AccessibleCoordType.
7486 Changed calls which retrieve attributes.
7487 Changed refRunAttributes to getAttributes.
7492 * idl/Hyperlink.idl:
7493 Changed n_anchors attribute to nAnchors to keep naming
7494 convention consistent.
7497 Made Table inherit from Bonobo::Unknown.
7498 Added nSelectedColumns and nSelectedRows attributes.
7501 Made Value inherit from Bonobo::Unknown.
7503 * libspi/hyperlink.c:
7504 Change for nAnchors attributte name change.
7506 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7514 Added interface implementation c files to list of
7515 includes so they are included in libcspi.
7518 Changed prototype of AccessibleAction_doAction to return a
7520 Changed prototype of AccessibleTable_getCaption to
7521 return an Accessible.
7522 Changed prototype of AccessibleTable_getSelectedRows
7523 and AccessibleTable_getSelectedColumns to
7524 return a long (returns the number of selected rows
7525 or columns respectively).
7526 Changed name of AccessibleText_refRunAttributes to
7527 AccessibleText_getAttributes.
7528 Changed prototype of AccessibleText_getCharacterExtents to
7529 return a void rather than a boolean.
7530 Added support for a AccessibleCoordType parameter
7531 specifying what type of coordinates are desired.
7532 Added an AccessibleCordType parameter to
7533 AccessibleText_getPointAtOffset.
7535 * cspi/spi_accessible.c:
7536 Added code to return the outstanding interfaces from
7537 Accessible_queryInterface.
7539 * cspi/spi_action.c:
7541 Corrected call to getNActions to call the c binding
7544 * cspi/spi_editabletext.c:
7546 Changed name from setRunAttributes to setAttributes.
7548 * cspi/spi_hyperlink.c:
7550 Changed call to getNAnchors to correctly call the c
7551 binding for an attribute.
7553 * cspi/spi_hypertext.c:
7555 Changed getImageDescription to correctly call the
7556 binding for an attribute.
7558 * cspi/spi_selection.c:
7559 Changed getNSelectedChildren to correctly call the c
7560 binding for the attribute.
7561 Changed refSelectedChild to getSelectedChild.
7565 Changed getCaption to return an Accessible.
7566 Fixed calls which retrieve attributes.
7567 Changed refAt to getAccessibleAt.
7568 Changed getNSelectedRows and getNSelectedColumns to
7572 Changed getCharacterExtents and getPointAtOffset to accept an
7573 AccessibleCoordType.
7575 Changed calls which retrieve attributes.
7576 Changed refRunAttributes to getAttributes.
7581 * idl/Hyperlink.idl:
7582 Changed n_anchors attribute to nAnchors to keep naming
7583 convention consistent.
7586 Made Table inherit from Bonobo::Unknown.
7587 Added nSelectedColumns and nSelectedRows attributes.
7590 Made Value inherit from Bonobo::Unknown.
7592 * libspi/hyperlink.c:
7593 Change for nAnchors attributte name change.
7596 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7598 implementations-- made server implementations own AtkObject pointers
7599 rather than their respective AtkInterrface pointers to fix
7600 refcounting. AtkHyperlink is still broken.
7602 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7603 * cspi/spi_accessible.c:
7604 Added method Accessible_Role_getName(),
7605 and requisite string array (role_names).
7606 Added conversion string_from_corba_strin() call
7607 to Accessible_getName and _getDescription.
7608 * libspi/accessible.c:
7609 Added implementation for Accessible_getRole()
7611 Added festival support, used if environment variable
7614 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7616 * at-bridge/bridge.c:
7617 Now allocate Accessibility_Event using
7618 Accessibility_Event__alloc() instead of g_new0().
7619 * libspi/accessibleeventlistener.c:
7620 Initialize AccessibleEventListener->callbacks to NULL.
7621 Fixed accessible__event_listener_init() param, changed to
7622 "AccessibleEventListener *" type.
7623 Changed a bonobo_object_release_unref() call to
7624 Accessibility_Accessible_unref().
7625 * libspi/listener.c:
7626 Changed Bonobo_Unknown_unref to (equivalent)
7627 Accessibility_Accessible_unref.
7628 * libspi/registry.c:
7629 Changed bonobo_object_release_unref to
7630 Accessibility_Accessible_unref.
7632 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7635 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7636 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7637 spi-util.c spi-util.h
7638 Implementations for C bindings to remaining accessibility
7641 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7644 changed return value of Action from void to boolean to
7645 bring in line with ATK.
7648 Changed getText funcions to return "out" start and end offsets.
7649 Changed getAttributes to take and offset and return the start
7650 and end offset of the attribute run.
7651 Changed getOffsetAtPoint and getCharacterExtents to take an
7652 enum describing whether coordinates are window or screen.
7655 libspi/action.c libspi/action.h libspi/editabletext.c
7656 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7657 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7658 libspi/image.h libspi/selection.c libspi/selection.h
7659 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7660 libspi/value.c libspi/value.h
7661 Added server implementations for outstanding ATK interfaces
7662 not yet implemented.
7664 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7667 Added (missing) getName() method.
7668 Made nActions an attribute.
7669 * idl/EditableText.idl:
7670 Changed order of params in setAttributes.
7671 * idl/Hyperlink.idl:
7672 Removed getAnchor, added getURI.
7674 Changed attributes to methods, for efficiency
7675 (so that getting extents can be done in one call)
7676 * idl/Selection.idl:
7677 Changed nSelectedChildren to attribute, and re-indented.
7678 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7680 * idl/Text.idl: reformatted to match our coding style.
7681 (temporarily?) removed getRowColumnAtOffset().
7682 Changed text selection API to support multi-select and
7683 non-contiguous selections, as in ATK.
7684 * idl/Value.idl: changed some methods to attributes.
7686 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7688 * libspi/listener.c(impl_notify_event):
7689 BonoboUnkown_unref the source instead
7690 of bonobo_object_release_unref - the ORB
7691 handles the releasing.
7693 * configure.in: require ORBit-2.3.94 for
7696 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7698 Tagged CVS repository 'EA_1_0'.
7699 * README.EARLY_ACCESS:
7700 Alphabetized acknowledgements list, and
7702 Listed some known dependencies of at-spi.
7704 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7706 * docs/at-spi-docs.sgml:
7707 * docs/at-spi-sections.txt:
7708 * docs/at-spi-overrides.txt: (Added zero-length file)
7709 Documentation improvements - gtk-doc should build
7710 docs for all implemented C bindings now.
7713 * cspi/spi.c: (New file)
7714 * cspi/spi_event.c: (New file)
7715 * cspi/spi_registry.c: (New file)
7716 * cspi/spi_accessible.c: (New file)
7717 * cspi/spi_application.c: (New file)
7718 * cspi/spi_component.c: (New file)
7719 Split spi_main.c into six parts, and included them from
7720 "spi.c". This is a bit of a hack, probably temporary,
7721 but required by gtk-doc, apparently.
7723 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7726 * docs/at-spi-docs.sgml:
7727 * docs/at-spi-sections.txt:
7729 Initial checkins/modifications for gtk-doc generation.
7732 Added (missing) interface query methods to Accessible's C binding.
7734 Added GenericInterface type definition.
7736 Added query for AccessibleComponent interface to focus event handler.
7737 Added printout of bounding box for focussed component.
7738 * libspi/component.c:
7739 Added partial implementation for AccessibleComponent to C binding.
7740 * idl/Application.idl:
7741 * libspi/registry.c:
7742 * libspi/listener.c:
7743 * libspi/application.c:
7744 * libspi/application.h:
7745 Changed "ID" attribute type from string to long.
7747 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7751 Made method naming consistent: methods taking object args
7752 start with uppercase, other methods (except those using
7753 acronyms) start with lowercase. Underscores delimit between
7754 object names and method names:
7755 SPI_init() - uppercase since it starts with an acronym.
7756 getDesktopCount () - lowercase start since no object param0.
7757 Accessible_getName() - uppercase object type name, studlyCaps method
7761 Added gtk-doc documentation for all currently implemented
7762 methods in the C bindings API.
7764 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7766 * Makefile.am : changed build order to build test last.
7769 Changed "createEventListener" to "CreateEventListener".
7770 * libspi/accessibleeventlistener.c :
7771 Bugfix for addition of callbacks.
7772 * test/Makefile.am :
7773 * test/simple-at.c :
7774 Added new test that uses the C bindings API.
7776 * libspi/listener.c :
7777 * libspi/registry.c :
7778 * libspi/accessibleeventlistener.c :
7779 * at-bridge/bridge.c :
7780 Renamed member "target" of Accessibility_Event to "source",
7781 which is more descriptive.
7784 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7788 * cspi/Makefile.am :
7789 Added makefile support for at-spi/cspi directory.
7792 * cspi/spi-listener.h : (NEW FILE)
7793 Added support for/use of spi-listener.h.
7795 C bindings now build successfully, with no warnings.
7796 * libspi/accessibleeventlistener.h : (NEW FILE)
7797 * libspi/accessibleeventlistener.c : (NEW FILE)
7798 * libspi/Makefile.am :
7799 Added new object type "AccessibleEventListener"
7800 which inherits from Listener, and allows attachment
7801 of in-process callbacks (so that a client with a listening
7802 object instance can add functionality to the local
7803 implementation, dynamically).
7805 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7807 * libspi/accessible.c:
7808 Add implementation for get_index_in_parent().
7810 Added #include of "spi-roletypes.h", and
7811 added enumerated type AccessibleCoordType.
7812 Added definition for KeystrokeListener (function type).
7815 * cspi/spi-statetypes.h :
7816 * cspi/spi-roletypes.h :
7818 Added these headers, used by spi.h.
7820 Added code (NOTE: not yet built by make).
7822 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7824 * libspi/Makefile.am: generate imodule
7825 at the same time as other idl compiler
7828 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7829 * libspi/registry.c :
7830 * libspi/application.c :
7831 * idl/Application.idl :
7832 Made registration with toolkit an application method,
7833 which is required since each app has its own toolkit static
7834 environment. Thus the bridge must register for
7835 notification of toolkit events from each application in turn.
7836 Toolkit notifications are now successfully registered for, and
7837 sent to the listening at client.
7839 Changed toolkit event string to use hyphens rather than underscores.
7840 * libspi/listener.c :
7841 listner now gives more info in debug mode - it reports the
7842 name of the event received, as well as the name of the source.
7845 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7847 * libspi/registry.c :
7848 added more implementation for toolkit events.
7849 Fixed bug such that toolkit event registrations
7850 (via atk) use the whole event name string, not
7852 Removed a useless call to an ORBit_ method.
7853 * at-bridge/bridge.c :
7854 Removed unused local sbuf[] variable.
7856 We now register for Gtk:GtkWidget:button_press_event
7857 events as well as "focus:" events.
7859 Add some more API from Registry.idl that was missing,
7860 for keystroke listening, keystroke and mouse event
7861 synthesis, and enumeration of accessible desktops.
7863 2001-08-16 Michael Meeks <michael@ximian.com>
7865 * configure.in: use AM_GLIB_GNU_GETTEXT.
7867 * Makefile.am (SUBDIRS): kill intl.
7869 2001-08-15 Michael Meeks <michael@ximian.com>
7871 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7873 * configure.in: upd.
7875 * configure.in: depend on a recent bonobo-activation that
7876 will find our server files ...
7878 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7880 * libspi/accessible.c : accessible_new() :
7881 Now we add the Component interface via bonobo_object_add_interface,
7882 if the contained AtkObject implements AtkComponent.
7883 * libspi/accessible.h : now include "component.h"
7884 * libspi/component.h :
7885 * libspi/component.c : added files - implementation of
7886 bonobo wrapper object for Accessibility/Component
7887 * libspi/listener.c :
7888 Added test code to check for Accessibility/Component:1.0
7889 interface and report whether it is implemented by the
7891 * libspi/registry.c :
7892 Now we check for not only the hash of the whole event
7893 string before relaying the event, we also check the
7894 "minor" event string (without the detail string).
7895 This allows event listeners to be registered against
7896 all events of a certain major+minor type, or just
7897 against a specific major+minor+detail type.
7898 * libspi/accessible.c :
7899 Added implementations for Accessible:get_parent(),
7900 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7901 * libspi/registry.c :
7902 * libspi/listener.c :
7903 Replaced calls to Accessibility_Accessible_ref() and
7904 Accessibility_Accessible_unref() with
7905 calls to bonobo_object_dup_ref() and
7906 bonobo_object_release_unref(), so that the CORBA object
7907 is dup-ed and released when relayed, as well as the bonobo object.
7909 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7911 * libspi/Makefile.am,
7912 registryd/Makefile.am,
7913 at-bridge/Makefile.am.
7914 test/Makefile.am, configure.in:
7915 reverse previous changes.
7917 * /idl/Image.idl: fix typo.
7919 * test/Makefile.am: put DEBUG_FLAGS
7922 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7924 * test/app.c: use argv[0] instead of
7927 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7929 * libspi/Makefile.am,
7930 registryd/Makefile.am,
7931 at-bridge/Makefile.am.
7932 test/Makefile.am, configure.in:
7933 cleanup, replace individual LIBS/CFLAGS with
7934 AT_COMMON_{LIBS|CFLAGS}.
7938 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7940 * configure.in, libspi/Makefile.am:
7941 Change IDL path checking for bonobo-activation
7944 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7946 * registryd/registry.c : separated event listeners to use
7947 3 separate lists (focus, window, toolkit). Began testing
7948 event names against hashes before relaying events.
7949 * test/at.c : now register for events of type "focus:"
7950 * test/app.c : now generate events of type "focus:"
7951 * at-bridge/bridge.c : register with ATK for focus events,
7952 and we now relay those focus events to any "focus:" listeners.
7953 This now works with the bridge as a GTK_MODULE when running test/at.
7954 * libspi/registry.c :
7955 * libspi/listener.c :
7956 now we ref event sources before propagating, and unref on receipt.
7957 * libspi/registry.c :
7958 some changes to internal structs, to support event typestring hashes.
7959 * text/app.c : changed the way the appname is generated.
7960 * cspi : added directory that will hold the C bindings library for
7961 non-CORBA/bonobo-savvy clients.
7962 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7963 * idl/Component.idl : added in parameter to indicate coord system for
7964 geometry-related calls.
7965 * idl/Hyperlink.idl : added readonly n_links attribute
7966 * idl/Image.idl : changed methods to attributes.
7968 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7970 * at-bridge/Makefile.am: link against
7971 ../libspi/libspi.la instead of -lspi.
7973 * at-spi/test/app.c: include
7974 bonobo-activation.h. Use a default appname
7975 if one is not provided.
7977 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7979 * idl/Registry.idl : temporarily changed register_Application
7980 to oneway, to work around issue with initial registration
7982 * idl/Application.idl : changed attribute "id" from readonly
7983 to read-write, since it needs to be assigned by Registry.
7984 * registryd/registryd.c : added call to set application id
7986 * registryd/registry.c : changed de-registration procedure to
7987 use CORBA_Object_hash() to find matching object ref in application
7988 lists and listener lists.
7989 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7990 began distinguishing between event types (work in progress).
7992 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7995 * libspi/application.c:
7996 Added implementations for get/set id, get_toolkitName,
7998 * registryd/registryd.c :
8002 Converted from use of OAF to bonobo-activation.
8003 * libspi/desktop.h :
8004 * libspi/desktop.c :
8006 Removed references to atksimpleobject, since base atkobject
8007 implementation now provides functionality we need.
8008 * libspi/atksimpleobject.c :
8009 * libspi/atksimpleobject.h :
8014 * at-bridge/Makefile.am
8015 * at-bridge/bridge.c
8018 Added directory "bridge" and contents, and added dependencies
8019 in Makefile.am/configure.in.
8020 Initial checkin of "at-bridge".
8021 This code is a GTK_MODULE which automatically registers
8022 GTK+ apps with the accessibility registry, using an object
8023 reference to the root ATK object.
8025 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8027 * po/Makefile.in.in: Remove. Again. If this
8028 doesn't get autogenerated - you need to update
8031 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8033 * po/Makefile.in.in: Add. Again.
8035 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8037 * libspi/accessible.c : added support for 'description' property.
8038 * libspi/accessible.c
8040 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8041 (since the two are now equivalent in libbonobo)
8049 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8050 Bonobo::Unknown as does Accessibility::Accessible.
8051 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8052 interface with Bonobo::Stream, since it was redundant with it.
8053 (The Stream returned by a StreamableContext object is expected to
8054 implement only a subset of Bonobo::Stream)
8056 2001-07-28 Anders Carlsson <andersca@gnome.org>
8058 * libspi/accessible.c (accessible_object_finalize): Change
8059 g_free to g_object_unref since the AtkObject is a GObject.
8061 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8063 * idl/Accessibility.idl: add new IDL files
8066 * idl/Action.idl: Definitions of actionable UI object
8067 * idl/Component.idl: Definitions of UI component geometry, etc.
8068 * idl/Hyperlink.idl: Defs of hyperlink behavior
8069 * idl/Image.idl: Def of accessible image
8070 * idl/Selection.idl: Definition of UI object with selectable children
8071 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8072 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8073 * idl/Text.idl: Interface defs for UI elements with complex textual content
8074 * idl/Value.idl: Definition of UI element that is a value controller or display
8076 2001-07-27 Michael Meeks <michael@ximian.com>
8078 * po/Makefile.in.in: remove autogenerated file from CVS.
8080 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8083 * idl/Registry.idl: include guard.
8085 * idl/Accessibility.idl: Add, and include all the other IDL
8088 * idl/*.idl: remove mass of pragmas etc.
8090 2001-07-26 Michael Meeks <michael@ximian.com>
8092 * registryd/Makefile.am (registryd_SOURCES): remove
8095 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8097 * libspi/.cvsignore, registryd/.cvsignore,
8098 test/.cvsignore: updated.
8100 * po/Makefile.in.in: gettext update.
8102 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8104 * initial CVS checkin
8106 2001-06-29 Michael Meeks <michael@ximian.com>
8108 * configure.in: add AM_CONFIG_HEADER to gen config.h