1 2006-12-14 Li Yuan <li.yuan@sun.com>
4 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
5 (spi_atk_bridge_property_event_listener),
6 (spi_atk_bridge_signal_listener):
7 Free some CORBA objects to fix memory leak and crash.
9 2006-12-13 Li Yuan <li.yuan@sun.com>
11 Patch from Ariel Rios to fix #163132 and #377079.
12 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
13 (spi_atk_bridge_get_registry_ior):
14 Use g_warning instead of g_error and g_critical to avoid crash.
16 2006-12-11 Bill Haneman <bill.haneman@sun.com>
19 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
20 if there are no non-default attributes defined at the current offset.
23 2006-12-04 Bill Haneman <bill.haneman@sun.com>
25 * idl/Accessibility_Role.idl: Fixed the documentation for
26 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
28 2006-12-04 Bill Haneman <bill.haneman@sun.com>
30 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
32 2006-11-07 Bill Haneman <bill.haneman@sun.com>
34 Patches from Padraig O'Briain for bugs #361386 and #369377.
36 * registryd/registry.c:
37 (struct NotifyContext): Change the e_out
38 member from an Accessibility_Event struct to a pointer to
40 (notify_listeners_cb): Modify to use the new struct definition above.
41 Allows use of ORBit_copy_value instead of CORBA_any__copy.
43 * registryd/deviceeventcontroller.c:
44 (spi_dec_button_update_and_emit): Free the event's any_data
46 (spi_dec_mouse_check):Free the event details any struct
48 (spi_device_event_controller_forward_mouse_event): Free any.
49 (spi_device_event_controller_forward_key_event): Ditto.
51 2006-11-07 Bill Haneman <bill.haneman@sun.com>
53 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
54 Don't require gtk+ and gail for building most of at-spi
57 * registryd/registry-main.c (main): We now get te value of display
58 using the env var DISPLAY rather than using the gdk_display_get_default
59 to avoid dependancy of gdk. Also, once the registry is started, we set
60 the ior of the registry as an X property.
61 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
63 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
64 the registration was successfull.
65 (spi_atk_bridge_do_registration): This function now returns success
66 or not on activating the registry.
67 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
68 has been set in the X root window and return it if available.
69 (spi_atk_bridge_get_registry): We now get the registry using the IOR
70 saved as a X property rather than using the OAFID.
72 2006-10-01 Bill Haneman <bill.haneman@sun.com>
74 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
76 2006-09-25 Bill Haneman <bill.haneman@sun.com>
78 * registryd/registry.c:
79 (desktop_remove_application): Don't pass a ref to the
80 dead application with the event, since it's probably
81 defunct and will cause SEGV if we try to unref,
82 extract app name, etc.
85 2006-09-20 Bill Haneman <bill.haneman@sun.com>
87 Patch from Neo Liu <nian.liu@sun.com>,
90 * atk-bridge/bridge.c:
91 (spi_atk_bridge_document_event_listener): New, for
94 2006-08-30 Bill Haneman <bill.haneman@sun.com>
97 Changed some parameter names so as not to
98 collide with class names - allows IDL to be compiled with
99 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
101 2006-08-22 Bill Haneman <bill.haneman@sun.com>
103 * atk-bridge/bridge.c:
104 (spi_atk_bridge_signal_listener):
105 Patch from Ginn Chen, assign detail1 in children-changed
106 so that the child object can be assigned to the Any when the
107 at-spi event is emitted. Bug #350552.
109 * libspi/application.c:
110 (spi_application_finalize): Remove g_print debug output.
113 2006-08-21 Bill Haneman <bill.haneman@sun.com>
115 * configure.in: Revved to AT-SPI 1.7.11.
117 * libspi/accessible.c:
118 (spi_accessible_new): Aggregate Hyperlink interface
119 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
121 * libspi/hyperlink.c:
122 (spi_hyperlink_new): Don't aggregate Action a second time if this
123 interface is created for an AtkHyperlinkImpl object (i.e. for a
124 child Accessible, as opposed to the Hyperlink instance from
126 (get_hyperlink_from_servant): Obtain the hyperlink from
127 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
129 Patch section from Ginn Chen...
131 * cspi/spi_accessible.c:
132 (_cspi_accessible_set_from_sequence):
133 Changed g_newa to g_new0 on Ginn Chen's suggestion.
135 * libspi/accessible.c:
136 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
137 (spi_accessible_new): Add the Document interface if present.
140 (impl_getAttributes): Fixed to use AtkAttribute properly.
143 (impl_getAttributes, impl_getDefaultAttributes):
144 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
146 2006-08-17 Bill Haneman <bill.haneman@sun.com>
148 * cspi/spi-private.h, cspi/spi_accessible.c:
149 (_cspi_attribute_set_from_sequence): Renamed from
150 cspi_attribute_set_from_sequence, to suppress export.
153 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
154 inline docs, which was keeping the doc from appearing.
155 (SPIExceptionHandler): Doc this.
157 * cspi/spi_document.c:
158 Added inline gtk-docs cut-n-pasted from the doxygen
159 docs in the corresponding IDL files.
160 (AccessibleDocument_getAttributes): Fix the retval here.
162 * cspi/spi_streamablecontent.c:
163 Fixed some 'Since' tags that were accidentally doxygen-style.
166 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
167 docs from the IDL file.
169 * docs/reference/cspi/at-spi-cspi-docs.sgml:
170 Added entities for Document and StreamableContent interfaces.
172 * docs/reference/cspi/at-spi-cspi-sections.txt:
173 Added some docs that were present inline but not getting
176 2006-07-31 Bill Haneman <bill.haneman@sun.com>
179 (impl_getRangeExtents): Use the atk_text_get_range_extents
180 API instead of looping over character bounds, now that
182 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
183 (_spi_text_bounds_contain): Remove, not needed anymore.
184 (_spi_text_rect_union): Remove, not needed anymore.
186 2006-07-31 Bill Haneman <bill.haneman@sun.com>
188 * atk-bridge/bridge.c:
189 (spi_atk_emit_eventv): Fix the CORBA_free call which was
190 causing 64-bit troubles and memory leaks.
191 Special thanks to Alexander Larsson who finally seems to
192 have tracked down the problem, not just here but in
196 (spi_init_any_object): Make sure we copy the CORBA value
197 when initializing an object for passing as a CORBA_Any.
200 2006-07-21 Bill Haneman <billh@gnome.org>
202 * idl/Accessibility.idl:
203 Reverted pragma changes, this broke the build in some envs
204 including the Debian team's build and some tinderbox builds.
206 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
209 Revved to 1.7.10, and edited the Xevie check (bug #319994).
211 * idl/Accessibility.idl:
212 Reworked inclusion of Bonobo_Unknown.idl, to
213 avoid double-linking libs in the Bonobo environment.
214 Thanks to Michael Meeks for the workaround, see bug #313122.
216 * registryd/deviceeventcontroller.c:
217 (spi_controller_notify_keylisteners):
218 Set the SPI_NUMLOCK_MASK bit if the modifier
219 corresponding to the conceptual numlock state is set.
222 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
224 * idl/Accessibility_Selection.idl:
225 (deselectChild): New method.
227 * libspi/selection.c:
228 (impl_deselectChild): Implement the new IDL method.
231 (AccessibleSelection_deselectChild): Added new method.
233 * cspi/spi_selection.c:
234 (AccessibleSelection_deselectChild): New method implemented.
236 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
238 * cspi/bonobo/cspi-bonobo.c:
239 (cspi_init): Replace g_error with g_warning, prevent
240 SEGV if the registry cannot be activated. Bug #346393.
242 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
244 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
246 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
247 2006-07-12 Ariel Rios <arios@us.ibm.com>
251 * idl/Accessibility_Table.idl:
252 (getRowColumnExtentsAtIndex): New method for getting
253 selection status and extents in one API call.
256 (impl_getRowColumnExtentsAtIndex): Implementation of
258 (spi_table_class_init): Add above to epv.
262 (AccessibleTable_getRowColumnExtentsAtIndex): New
263 method, retrieves selection status and row/col extents
264 for a table cell in a single API call.
266 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
267 2006-07-12 Ariel Rios <arios@us.ibm.com>
269 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
272 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
273 New bindings for new methods defined in idl and libspi.
276 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
277 Added prototype functions.
280 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
282 (spi_text_class_init): Added previous methods.
285 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
286 * libspi/spi-private.h: Corrections.
288 2006-06-29 Bill Haneman <bill.haneman@sun.com>
290 Added Document interface (see bug #326520),
291 with work from Ariel Rios <arios@us.ibm.com>.
293 * configure.in: Bump to 1.7.8.
295 * libspi/Makefile.am: Added document.[ch] to sources
298 (SpiDocument, SpiDocumentClass):
299 New interface implementation.
300 (spi_document_get_type, spi_document_construct)
301 (spi_document_interface_new): New methods added.
302 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
303 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
304 Added macros for SpiDocument
308 (spi_document_interface_new): Get a
309 new document interface. New.
310 (get_document_from_servant): Get an AtkDocument from servant New.
311 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
312 Implementation of methods defined on idl.
313 (spi_document_class_init, spi_document_init)
314 Init methods for SpiDocument. new
316 * idl/Accessibility.idl: Added Accessibility_Document.idl.
318 * cspi/Makefile.am: Added spi_document.c to sources.
320 * cspi/spi_document.c:
321 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
322 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
323 (AccessibleDocument_getAttributes): Bindings for methods defined
326 * cspi/spi_accessible.c:
327 (Accessible_isDocument, Accessible_getDocument) New.
329 (Accessible_isDocument, Accessible_getDocument)
330 (AccessibleDocument_ref, AccessibleDocument_unref)
331 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
332 (AccessibleDocument_getAttributes): Bindings added.
334 * idl/Makefile.am: Added Accessibility_Document.idl to
337 2006-06-29 Bill Haneman <bill.haneman@sun.com>
339 * idl/Accessibility_Document.idl: New interface
340 for complex documents. First stage of fix for RFE
343 2006-06-27 Bill Haneman <bill.haneman@sun.com>
345 * libspi/streamablecontent.c:
346 (impl_content_stream_close):
347 Unref the GIOChannel on close.
349 2006-06-23 Bill Haneman <bill.haneman@sun.com>
351 * idl/Accessibility_Role.idl:
352 * libspi/accessiblerole.c:
353 * cspi/spi_accessible.c: Added ROLE_LINK,
354 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
355 Bug #345758 and bug #140635.
358 2006-06-22 Bill Haneman <bill.haneman@sun.com>
362 * idl/Accessibility_StreamableContent.idl:
363 Fix derivation of StreamableContent and ContentStream.
365 * cspi/spi_streamablecontent.c:
366 (accessible_content_stream_client_read):
367 Fix the datatype of the content stream used.
368 Interpret short reads as EOF, and stop trying to
369 read when we've fulfilled the request.
370 (AccessibleStreamableContent_getContentTypes):
371 Use g_strdup, not CORBA_string_dup, for the strings.
372 (AccessibleStreamableContent_open):
373 Correctly use the new getStream method for opening,
374 not the deprecated getContent method.
375 Use the object reference as the stream hash key.
376 Make note of the 'one stream per client per streamable'
377 limitation in the docs.
380 Add streamablecontent.h to the list of #includes.
382 * libspi/streamablecontent.c:
383 (impl_content_stream_read): Initialize the GError.
384 Allocate the incoming buffer if reading a fixed length of
385 data. Use g_memmove instead of memcpy.
386 (impl_accessibility_streamable_get_content_types):
387 Init typelist->_maximum. Only allocate the buffer if
388 there is a non-zero number of content types available.
389 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
391 * libspi/streamablecontent.h:
392 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
395 (SPI_IS_VALUE): Fix a typo in this macro too.
397 2006-06-16 Bill Haneman <bill.haneman@sun.com>
401 * idl/Accessibility_StreambleContent.idl:
402 Deprecate the Bonobo_Stream-based methods in favor of
403 a self-contained "ContentStream" interface. This should
404 allow us to remove BonoboStream dependencies entirely, since
405 there were no non-NIL implementations of the old methods anyway.
406 (ContentStream): New interface.
407 (ContentStream::SeekType): Enum.
408 (ContentStream::seek): New.
409 (ContentStream::read): New.
410 (ContentStream::close): New.
411 (getContent): Deprecate.
412 (getURI): New method, returns a URI pointing to the content, if available.
414 * libspi/streamablecontent.c:
415 (SpiContentStream): Internal object type definition used to
416 implement Accessibility::StreamableContent::ContentStream via
417 AtkStreamableContent's GIOChannel back-end.
418 (spi_content_stream_new, spi_content_stream_dispose): See above;
420 (impl_content_stream_seek, impl_content_stream_read):
421 (impl_content_stream_close): New, implementations of
423 (impl_accessibility_streamable_get_stream): Implement the
424 public method Accessibility::StreamableContent::getStream.
425 (impl_accessibility_streamable_get_uri): Implement the
426 public method Accessibility::StreamableContent::getURI.
428 * cspi/spi_streamablecontent.c:
429 (accessible_bonobo_stream_client_seek): Replaced by
430 (accessible_content_stream_client_seek).
431 (accessible_bonobo_stream_client_read): Replaced by
432 (accessible_content_stream_client_read).
433 (AccessibleStreamableContent_open):
434 (AccessibleStreamableContent_seek):
435 (AccessibleStreamableContent_read):
436 (AccessibleStreamableContent_close): Use the new 'getStream'
437 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
439 2006-06-15 Bill Haneman <bill.haneman@sun.com>
441 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
442 remove from other .idl files (except LoginHelper).
445 2006-06-14 Bill Haneman <bill.haneman@sun.com>
447 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
450 * configure.in, */Makefile.am: mingw patch, modified from
451 original patch by yselkowitz. Bug #314216.
453 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
454 for completeness. Bug #163111.
456 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
457 * libspi/util.c, registryd/registry-main.c:
458 Fix guint/char* casts.
459 Patch from chpe, bug #333883.
461 2006-06-12 Bill Haneman <bill.haneman@sun.com>
463 * configure.in: Require atk-1.12.0, to pick up
464 new API. (bug #344412).
466 * libspi-1.0-uninstalled.pc.in:
468 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
469 Fix for #341488 from Samual Thibault.
471 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
472 Thanks to Brian Pepple.
474 2006-06-09 Bill Haneman <bill.haneman@sun.com>
477 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
478 New, missing implementations of attribute reading methods
481 * cspi/spi.h, spi_value.c:
482 (AccessibleValue_getMinimumIncrement): New methods wrapping
483 the (formerly unimplemented) property from Value.idl.
486 (impl_get_minimumIncrement): Implementation for retrieving
487 the minimum valuator increment, (formerly unimplemented).
490 2006-06-09 Bill Haneman <bill.haneman@sun.com>
492 * idl/Accessibility_State.idl:
493 Added STATE_VISITED (bug #338369).
495 * cspi/spi_accessible.c:
496 (spi_state_to_corba) Fixed marshalling of new statetypes.
499 (spi_init_state_tables, impl_getStates):
500 Fixed conversion of new statetypes to/from ATK.
502 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
504 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
505 definitions/conversions for new roles from ATK.
507 * idl/Accessibility_Relation.idl:
509 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
510 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
511 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
513 * libspi/accessible.c: Fixed marshalling of new role types from
516 2006-04-17 Matthias Clasen <mclasen@redhat.com>
518 * revert my previous change
520 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
522 * configure.in: Remove obssolete no_NO locale
523 * po/no.po: And the translation.
525 2006-04-05 Matthias Clasen <mclasen@redhat.com>
527 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
528 memory-management error that caused crashes on x86_64.
531 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
533 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
535 2006-03-27 Bill Haneman <bill.haneman@sun.com>
537 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
538 to strip "cspi_*" from the symbol table.
540 * cspi/spi_streamablecontent.c:
541 (get_streams): Make this method static.
544 (_cspi_exception_throw): rename to cspi_exception_throw,
545 so we can strip it with the rest...
548 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
550 2006-03-27 Bill Haneman <bill.haneman@sun.com>
552 Add doxygen-generated IDL docs to tarball, and enable
553 doxygen during build/install when available. Bug #301345.
555 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
557 * docs/reference/Makefile.am: Add idl to SUBDIRS.
559 * docs/reference/idl/Makefile.am: Optionally use
560 doxygen to create docs.
562 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
564 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
566 2006-03-20 Bill Haneman <bill.haneman@sun.com>
569 (impl_get_selected_rows): Don't free the selection if it's
570 empty or has not been assigned; init it to NULL so you can tell.
571 Also, allow for zero selected rows.
572 (impl_getSelectedColumns): Ditto. Bug #319088.
574 2006-03-11 Vincent Untz <vuntz@gnome.org>
576 Leak fix for bug #334217.
578 * libspi/application.c: spi_application_toolkit_event_listener():
579 don't duplicate the string we pass as an argument to
580 spi_init_any_nil() since spi_init_any_nil() already does it
581 * registryd/deviceeventcontroller.c:
582 (spi_dec_button_update_and_emit): ditto
583 (spi_dec_mouse_check): ditto
584 (spi_dec_emit_modifier_event): ditto
585 (spi_device_event_controller_forward_mouse): ditto
586 * registryd/registry.c:
587 (desktop_add_application): ditto
588 (desktop_remove_application): ditto
590 2006-02-20 Bill Haneman <billh@gnome.org>
592 * configure.in: Rev to 1.7.6.
594 Leak fixes for bug #331924.
596 * atk-bridge/bridge.c:
597 (spi_atk_bridge_init_base): Don't dup the string, it's already
598 been dup-ed. Fixes a leak.
599 (spi_atk_emit_eventv): Move the CORBA_free call here,
600 instead of spi_atk_state_event_listener; fixes another leak.
601 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
602 notifying the registry; fixes another leak.
604 * registryd/registry.c:
605 (registry_flush_event_queue): Free the CORBA_any when
606 flushing the event, not just the string. Fixes another leak.
607 (registry_queue_event): Free the CORBA_any when dropping
608 events on the floor; fixes another leak.
611 (spi_init_any_object, spi_init_any_nil):
612 Always set _release to TRUE. Fixes another leak.
614 2006-02-20 Bill Haneman <billh@gnome.org>
616 * configure.in: Rev to 1.7.5.
617 Reinstate localization of this module. Thanks for Rodney
618 Dawes for fixing my patch.
620 * registryd/Makefile.am: Remove Accessibility_Registry.server
621 from dist, since it needs to be re-created at configure time.
624 2006-01-31 Bill Haneman <billh@gnome.org>
626 * configure.in: Rev to 1.7.4 (to include build fix below).
628 * idl/Makefile.am: Include Selector.idl in dist.
632 (cspi_internal_event_get_object): Handle case where
633 "object" isn't present, i.e. CORBA_TC_Object doesn't match
634 the EventDetails data.
635 (cspi_internal_event_get_text): Handle NULL string.
636 (cspi_internal_event_get_rect): Handle missing/empty rect
637 data, Accessibility_TC_RectBounds doesn't match any_data.
639 2006-01-30 Bill Haneman <billh@gnome.org>
643 * atk-bridge/bridge.c:
644 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
645 interface and use that when instantiating a new source
646 accessible. Better fix for bug #321814.
648 2006-01-27 Bill Haneman <billh@gnome.org>
650 * idl/Accessibility_Selector.idl: Added to the cvs repository.
652 * configure.in: Revved to 1.7.3.
654 2006-01-17 Bill Haneman <billh@gnome.org>
656 * configure.in: Revved to 1.7.2, re-dist to include docs.
658 2006-01-09 Bill Haneman <billh@gnome.org>
660 * configure.in: Removed po/Makefile.in inclusion, we do not need
663 * idl/Accessibility.idl: Improved documentation here, and for all
664 IDL in the 'GNOME::Accessibility' namespace.
666 * idl/Accessibility_Accessible.idl:
667 (LOCALE_TYPE): Added enum.
668 (AttributeSet): New, for returning multiple name/value attribute pairs.
669 (RoleSet): New, sequence of Roles, to be used in upcoming
671 (getAttributes): New API, allows retrieval of name/value pair
672 annotations for all kinds of Accessible objects. C.f.
673 Text:getAttributes, which is only for typographic/textual/semantic tags in
675 (getApplication): New, retrieves the host/containing Application
676 instance for an object (without having to walk up the whole tree).
678 * idl/Accessibility_Component.idl:
679 (getAlpha): New method, returns the alpha blending (aka 'opacity')
680 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
683 * idl/Accessibility_Event.idl:
684 (EventDetails): New struct definition, for encapsulating
685 commonly-queried information about emitted events. The use of
686 this structure in emitted events (in the 'any' member of
687 Accessibility_Event) should greatly reduce the number of
688 client-server roundtrips necessary.
690 * idl/Accessibility_Image.idl:
691 (imageLocale): New, a readonly attribute indicating the POSIX
692 LC_MESSAGES locale of the image and associated Alt/descriptive
695 * idl/Accessibility_Relation.idl:
696 (RELATION_PARENT_WINDOW_OF): Include, as complement to
699 * idl/Accessibility_Role.idl:
700 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
701 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
702 complex document and form support.
704 * idl/Accessibility_State.idl:
705 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
706 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
707 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
708 for support of complex documents and forms.
710 * idl/Accessibility_StreamableContent.idl:
711 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
712 allow old bonobo-stream interfaces to be deprecated in the next
715 * idl/Accessibility_Text.idl:
716 (getAttributeValue): New method, allows query-by-name of single
719 * libspi/accessible.c:
720 Added support for new roles. Implemented new methods
721 (impl_accessibility_accessible_get_application): New
722 (impl_accessibility_accessible_get_attributes): New
724 * libspi/component.c:
725 (impl_accessibility_component_get_alpha): New.
728 (impl_accessibility_image_get_locale): New.
730 * libspi/relation.c: Added support for new relation type.
732 * libspi/stateset.c: Added support for new state types.
735 (impl_getAttributeValue): New.
738 New prototypes for private methods
740 spi_init_any_object, spi_init_any_string,
743 * libspi/spi_event.c:
744 Use EventDetails in the event emission methods.
746 * cspi/spi-private.h:
747 (cspi_role_from_spi_role): Expose this adapter method, since
748 we need it in the bridge (see below).
751 (AccessibleEvent_getSourceName):
752 (AccessibleEvent_getSourceRole):
753 (AccessibleEvent_getSourceApplication):
754 (AccessibleEvent_getSourceDetails):
755 New methods for interrogating/demarshalling
756 event details (i.e. source's accessible name, role,
759 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
760 Make use of the new EventDetails struct in events, if present.
761 (AccessibleEvent_getSourceName)
762 (AccessibleEvent_getSourceRole)
763 (AccessibleEvent_getSourceApplication)
764 (AccessibleEvent_getSourceDetails): Implement the newly exposed
766 (Accessible_getAttributes): New, wraps
767 Accessibility_Accessible_getAttributes.
768 (Accessible_getHostApplication): New, wraps
769 Accessibility_Accessible_getApplication.
772 (AccessibleImage_getImageLocale): New wrapper for
773 Accessibility_Image_get_imageLocale.
775 * cspi/spi_component.c:
776 (AccessibleComponent_getAlpha): New wrapper for
777 Accessibility_Component_getAlpha.
779 * atk-bridge/bridge.c:
780 Use new prototyped for init_any methods.
781 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
782 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
783 (spi_atk_bridge_init_base): Wrappers
784 for spi_init_any_* methods, due to refactor; include extended
785 information in the Accessibility_EventDetails struct, for instance
786 accessible-name, Role, and containing Application.
788 * registryd/registry.c:
789 Use new event emission (with EventDetails).
791 * registryd/deviceeventcontroller.c:
792 Use new event emission (with EventDetails).
794 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
796 * configure.in: Generate po/Makefile.in
797 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
798 * cspi/spi_streamablecontent.c:
799 (accessible_bonobo_stream_client_seek),
800 (AccessibleStreamableContent_seek): Remove unused vars.
801 * libspi/application.c: Missing header.
802 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
803 * login-helper/login-helper.c: (login_helper_finalize),
804 (login_helper_init): Remove unused stuff
805 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
806 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
807 and surround some with #ifdef GRAB_BUTTON.
808 * test/event-listener-test.c: (main), (report_event),
809 (report_caret_event), (report_detail_event),
810 (report_detail1_event), (report_bounds_event), (report_text_event),
811 (report_text_selection_event),
812 (report_active_descendant_changed_event),
813 (report_children_changed_event), (report_name_changed_event),
814 (report_description_changed_event), (report_parent_changed_event),
815 (report_window_event), (report_table_summary_event),
816 (report_table_header_event), (report_table_caption_event),
817 (report_table_row_description_event),
818 (report_table_column_description_event), (timing_test_event):
819 Remove a bunch of unused variables and fix a slew of format specifiers
820 * test/key-listener-test.c: (report_all_key_event): Format specifier
821 * test/keypad-test.c: (print_key_event): Same
822 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
824 * test/screen-review-test.c: (main), (print_chunk_debug),
825 (review_buffer_get_text_chunk), (debug_chunk_list),
826 (string_guess_clip), (text_chunk_get_clipped_string),
827 (text_chunk_list_to_string), (get_screen_review_line_at):
828 Remove unused variables and fix format specifiers.
829 * test/simple-at.c: (report_text_event): Format specifier fix.
830 * test/stress-test.c: (main): Remove unused var.
832 2005-12-29 Abel Cheung <maddog@linuxhall.org>
834 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
835 (yes I know that's useless)
837 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
839 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
841 2005-11-17 Michael Meeks <michael.meeks@novell.com>
843 * atk-bridge/bridge.c (spi_atk_emit_eventv):
844 urgh-fix embarassing typo.
846 2005-11-16 Michael Meeks <michael.meeks@novell.com>
848 * atk-bridge/bridge.c (spi_atk_emit_eventv):
849 do a faster, less problematic _unref call on this local
850 object, rather than a slower (potentially cross-thread
851 complicated) CORBA call.
853 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
855 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
856 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
857 * registryd/deviceeventcontroller.c:
858 (spi_controller_notify_mouselisteners),
859 (impl_generate_keyboard_event):
860 * test/screen-review-test.c: (chunk_bounds_within):
861 * test/test-simple.c: (test_desktop): Remove some unused code
862 and fix compiler warnings. Closes bug #320049.
864 2005-10-27 Bill Haneman <bill.haneman@sun.com>
866 * registryd/deviceeventcontroller.c:
867 (spi_controller_notify_keylisteners): Check
868 to make sure the event listener has requested 'preemptive'
869 status before pre-empting an event.
871 2005-08-29 Bill Haneman <bill.haneman@sun.com>
873 * configure.in, README, NEWS: Release 1.6.5.
875 2005-07-25 Matthias Clasen <mclasen@redhat.com>
877 * test/window-listener-test.c: Fix a printf
878 format error. (#169453)
880 2005-07-15 Bill Haneman <bill.haneman@sun.com>
882 * tests/test-simple.c:
883 (key_listener_cb): Ensure that the keystring is dup'ed instead of
884 relying on the old string from the key event hanging around after
885 the event handler returns. Fixes broken 'make check'.
887 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
889 * Added Marathi (mr_IN) translations.
891 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
893 * cspi/bonobo/cspi-bonobo-listener.c:
894 (cspi_event_list_remove_by_cb): Fix the build.
896 2005-05-26 Michael Meeks <michael.meeks@novell.com>
898 * cspi/bonobo/cspi-bonobo-listener.c
899 (cspi_event_list_remove_by_cb): actually filter by callback.
901 2005-05-25 Bill Haneman <bill.haneman@sun.com>
903 * registryd/registry.c (remove_listener_cb):
904 Make deregistration filter rules match the event emission rules.
906 2005-05-25 Michael Meeks <michael.meeks@novell.com>
908 * registryd/registry.c (remove_listener_cb),
909 (impl_accessibility_registry_deregister_global_event_listener),
910 (impl_accessibility_registry_deregister_global_event_listener_all):
911 pass a closure to the remove callback to filter listeners more
912 accurately on remove.
914 2005-04-05 Bill Haneman <bill.haneman@sun.com>
916 * configure.in: Revved to 1.6.4.
917 Remember to put quotes around XEVIE_LIBS assignment.
918 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
921 * tests/event-listener-test.c: Tweaked the tests - more detail
922 from caret events, and some interrogation of AccessibleText APIs.
923 Commented-out the bounds-changed events by default, since they can
926 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
928 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
929 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
930 Same here. Closes bug #167806
932 2005-04-05 Bill Haneman <bill.haneman@sun.com>
934 * atk-bridge/bridge.c:
935 (spi_atk_bridge_signal_listener):
936 Free the any._value if any._release is TRUE,
937 since the ORB won't do it for us in this case
938 [because this method is not a skel].
941 2005-03-30 Steve Murphy <murf@e-tools.com>
943 * configure.in: Added "rw" to ALL_LINGUAS.
945 2005-03-29 Bill Haneman <bill.haneman@sun.com>
947 * configure.in: Improved check for HAVE_XEVIE, to detect
948 presence on XOrg, where -lXevie is a separate library.
950 2005-03-08 Bill Haneman <bill.haneman@sun.com>
952 * configure.in, NEWS, README: Revved to 1.6.3.
954 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
956 * configure.in: Added "xh" to ALL_LINGUAS.
958 2005-02-07 Bill Haneman <bill.haneman@sun.com>
960 * atk-bridge/bridge.c:
961 (atk_bridge_init): Added missing NULL in g_strconcat(),
962 also check for symlink before logging to
963 insecure directory. Thanks to meissner@suse.de.
965 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
967 * tests/login-helper-server-test.c: Add return call to main
968 function. Patch from Chris Lahey. Fixes bug #165129.
970 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
972 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
974 2004-12-09 Bill Haneman <billh@gnome.org>
976 * registryd/registry-main.c:
977 Added #define <string.h> for strrchr. (bug 160862).
978 Thanks to Vincent Berger for catching.
980 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
982 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
983 restart registry process if the registry process is found to have died
984 and the current process is exiting.
985 (spi_atk_bridge_exit_func): Do not attempt to deregister the
986 application if the registry process has died.
987 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
988 does not return a registry object.
989 (spi_atk_tidy_windows): Give up if the registry process has died.
991 This fixes problems with hangs and crashes when logging out.
993 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
995 * registryd/desktop.c: Add checking that we are not exiting before
996 calling spi_desktop_remove_application in
997 abnormal_application_termination. Fix for bug #152147.
999 2004-12-02 Bill Haneman <billh@gnome.org>
1001 * configure.in, NEWS, README: Revved to 1.6.1.
1003 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1004 * atk-bridge/bridge.c:
1005 (atk_bridge_init): Save the pid when we start, to detect forks.
1006 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1007 if we're in a forked pid.
1009 2004-10-09 Bill Haneman <billh@gnome.org>
1011 * idl/Accessibility_LoginHelper.idl:
1012 Improved inline documentation.
1014 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1016 * configure.in: Added gl (Galician) to ALL_LINGUAS
1018 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1020 * libspi/accessible.c:
1021 (impl_accessibility_accessible_get_role_name),
1022 (impl_accessibility_accessible_get_local_role_name):
1023 NULL vs. 0 cleanups.
1024 * libspi/component.c:
1025 (impl_accessibility_component_get_accessible_at_point):
1027 * libspi/eventlistener.c: (spi_event_listener_new):
1029 * libspi/stateset.c: (impl_compare): More of the same
1030 * libspi/table.c: (impl_getRowDescription): Again.
1031 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1032 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1033 (impl_generate_keyboard_event): Same.
1034 * registryd/registry-main.c: (main): Same
1035 * test/event-listener-test.c: (test_exit): Same
1036 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1037 * test/keysynth-test.c: (test_key_synthesis): Same
1038 * test/login-helper-server-test.c: (main): Fix warning.
1039 * test/screen-review-test.c: (test_exit): Fix include.
1040 * test/simple-at.c: (simple_at_exit), (_festival_init):
1043 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1045 * configure.in, NEWS, README: Revved to 1.6.0.
1047 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1049 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1050 was missing the HTML docs.
1052 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1054 * configure.in: only cleanups:
1055 - better looking PKG_CHECK_MODULES() output,
1057 - declare in one common place required versions of other tools using
1060 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1062 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1063 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1064 required ATK version accordingly.
1066 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1068 * cspi/bonobo/cspi-bonobo.c:
1069 (cspi_display_name): Fix C99ism.
1070 * atk-bridge/bridge.c:
1071 (spi_display_name): Fix C99ism.
1072 Patch from Jens Granseuer, jensgr@gmx.net.
1074 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1076 * configure.in: Added "or" to ALL_LINGUAS.
1078 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1080 * configure.in, NEWS, README: Revved to 1.5.4.
1082 * registryd/registry-main.c:
1083 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1086 * cspi/bonobo/cspi-bonobo.c:
1087 (cspi_display_name): New convenience method, gets DISPLAY with
1088 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1089 (cspi_init): Set the activation env value above before getting
1092 * atk-bridge/bridge.c:
1093 (spi_display_name): Create the AT_SPI_DISPLAY activation
1094 environment for an app, based on the DISPLAY environment with the
1095 screen number stripped off.
1096 (atk_bridge_init): Allow redirection of error messages to a log.
1097 (spi_atk_bridge_get_registry): Call
1098 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1100 Fixes for bugs #149962, #136986, #144086.
1102 2004-08-16 Christian Rose <menthos@menthos.com>
1104 * configure.in: Added "bs" to ALL_LINGUAS.
1106 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1108 * configure.in: Added nb to ALL_LINGUAS.
1110 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1113 (SPI_init): Return error code '2' if the activated
1114 registry cannot be pinged. Fixes bug #147648.
1116 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1118 * registryd/deviceeventcontroller.c:
1119 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1120 rely on timer-poll instead, to avoid conflict with
1123 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1125 * configure.in: Revved to 1.5.3.
1127 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1129 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1131 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1133 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1135 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1137 * atk-bridge/bridge.c:
1138 (spi_atk_bridge_do_registration):
1139 Register with ATK for AtkComponent:bounds-changed events.
1140 (api_atk_bridge_signal_listener):
1141 Marshal the AtkRectangle info into the event notification
1142 for object:bounds-changed events.
1145 (spi_init_any_rect): New method, inits a corba struct of
1146 type Accessibility_BoundingBox from an AtkRectangle.
1148 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1151 (SPIRect): New struct definition.
1152 (SPI_freeRect): New declaration.
1153 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1156 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1157 implemented. Gets the bounding box data from the CORBA_any
1158 associated with a bounds-changed event notification.
1159 (cspi_internal_event_get_rect): New, used internally by above method.
1162 (SPI_freeRect): Implemented this new method, for freeing
1165 * test/event-listener-test.c:
1166 (main, report_bounds_event):
1167 Added a test for object:bounds-changed events.
1169 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1171 * test/login-helper-server-test.c:
1172 (main): Fix C99-ism. Thanks to Jens Granseuer.
1174 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1176 * libloginhelper-1.0.pc.in:
1177 * idl/Accessibility_LoginHelper.idl:
1178 * login-helper/Makefile.am:
1179 * login-helper/login-helper.[ch]:
1180 * test/login-helper-client-test.c:
1181 * test/login-helper-server-test.c: Added files missing from CVS.
1182 Files obtained from at-spi-1.5.2 tarball.
1184 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1186 * configure.in: Create login-helper/Makefile.
1187 Incremented micro version.
1189 * Makefile.am: Add login-helper subdir and pkgconfig data.
1191 * login-helper: New subdir.
1193 * libloginhelper-1.0.pc.in: New.
1195 * idl/Accessibility_LoginHelper.idl: New file, defines
1196 interface whereby authentication clients can identify agents which
1197 need access to services during the login process, e.g. screen lock
1200 * login-helper/Makefile.am : New.
1202 * login-helper/login-helper.[ch] : New, implementation of
1203 a LoginHelper base class. Services needing LoginHelper can subclass.
1205 * test/Makefile.am : Added test for login-helper, client and
1208 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1209 Use proper prefix in #include files.
1211 * test/login-helper-client-test.c: New.
1213 * test/login-helper-server-test.c: New.
1215 2004-05-27 Alexander Shopov <ash@contact.bg>
1217 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1219 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1221 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1222 is positive. This should make it easier to detect inapprorpiate unref
1225 2004-05-11 James Henstridge <james@daa.com.au>
1227 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1228 no-op and deprecated.
1230 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1232 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1234 2004-04-28 Bill Haneman <billh@gnome.org>
1236 * Makefile.am: Added --enable-gtk-doc to
1237 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1239 2004-04-19 Bill Haneman <billh@gnome.org>
1241 * configure.in: Revved to 1.5.1.
1243 * registryd/deviceeventcontroller.c:
1245 (DEControllerPrivateData): Added fields for
1246 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1247 (spi_dec_replace_map_keysym): New internal utility for
1248 replacing a keysym in the keymap - used to allow
1249 synthesis of individual characters which aren't in the
1251 (spi_dec_reset_reserved): New; resets the changed keysym value
1253 (keycode_for_keysym): We now try to deal with failed
1254 XKeysymToKeycode requests by changing a keymap value
1255 and returning a reserved keycode. We now take
1256 a DEController pointer as first arg.
1257 (spi_controller_register_with_devices): Call XkbGetMap with
1258 the XkbKeySymsMask. Find the highest keycode in the current
1259 keymap which doesn't have any grabs, and mark that one for
1260 temporary re-mapping when out-of-range KeySyms are synthesized.
1261 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1264 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1266 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1268 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1270 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1272 2004-03-24 Bill Haneman <billh@gnome.org>
1275 (AccessibleTable_addRowSelection),
1276 (AccessibleTable_addColumnSelection),
1277 (AccessibleTable_removeRowSelection),
1278 (AccessibleTable_removeColumnSelection):
1279 Add declarations for spi wrappers which were
1280 inadvertantly omitted. Fixes bug #133413.
1283 Revved to 1.5.0 (unstable series for GNOME 2.7).
1285 2004-03-24 Bill Haneman <billh@gnome.org>
1287 * atk-bridge/bridge.c:
1288 Bracketed some debug output in
1289 conditionals, to avoid printing it in normal use.
1292 * libspi/hyperlink.c:
1293 Don't cast 'object' to ATK_OBJECT when constructing
1294 an AtkAction interface for a hyperlink.
1295 See discussion in bug #120659.
1297 * test/key-listener-test.c:
1298 (report_all_key_event): Send output to stderr,
1299 not stdout, for consistency with the rest of the test callbacks.
1302 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1303 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1304 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1305 try incrementing the revision AFTER doing a dist, at least
1308 2004-03-22 Bill Haneman <billh@gnome.org>
1310 * configure.in: Revved to 1.4.0, libtool 9.14.9
1312 2004-03-17 Laszlo Peter <laca@sun.com>
1314 * libspi-1.0-uninstalled.pc.in: add idldir
1316 * cspi-1.0-uninstalled.pc.in: add idldir
1318 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1320 * configure.in: Added "en_GB" to ALL_LINGUAS
1322 2004-03-15 Bill Haneman <billh@gnome.org>
1324 * configure.in: Revved to 1.3.16,
1327 2004-03-15 Laszlo Peter <laca@sun.com>
1329 * libspi-1.0-uninstalled.pc.in: new file
1331 * cspi-1.0-uninstalled.pc.in: new file
1333 * configure.in: add the new pc files to AC_OUTPUT
1335 * Makefile.am: add the new pc files to EXTRA_DIST
1337 2004-03-12 Bill Haneman <billh@gnome.org>
1339 * atk-bridge/bridge.c:
1340 (spi_atk_bridge_key_listener):
1341 Make sure to return consumed=FALSE if snoop
1342 event is not dispatched to listener.
1345 2004-03-01 Bill Haneman <billh@gnome.org>
1347 * configure.in: Revved to 1.3.15,
1350 2004-03-07 Danilo Segan <dsegan@gmx.net>
1352 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1354 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1356 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1358 2004-03-01 Bill Haneman <billh@gnome.org>
1360 * configure.in: Revved to 1.3.14.
1363 (SPI_exit): Removed "bye-bye" exit message.
1364 Moved "leak" report to happen before the
1365 iteration over the leaked refs list.
1366 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1368 2004-02-24 Bill Haneman <billh@gnome.org>
1370 * configure.in: Revved to 1.3.13.
1372 * docs/reference/cspi/Makefile.am:
1373 Correct typo that was breaking the docs build.
1375 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1377 * autogen.sh: Require version 1.7 of automake.
1379 * configure.in: call GTK_DOC_CHECK([1.0])
1381 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1383 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1385 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1387 * test/Makefile.am: Remove use of CFLAGS.
1389 This fixes bug #132987.
1391 2004-02-11 Bill Haneman <billh@gnome.org>
1393 * reverted most of Tomasz' patch below, since it was breaking
1394 builds (see bug #134058).
1396 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1398 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1399 correct pass "make dist" (empty .. because seems no sach types in
1400 header files with gtk-doc markups).
1401 * docs/reference/cspi/Makefile.am, configure.in:
1402 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1403 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1404 * Makefile.am: added:
1405 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1406 for force correct pass generate documentation on "make distcheck".
1407 * libspi/Makefile.am: fixes for automake >= 1.6.
1408 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1409 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1412 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1414 * docs/reference/cspi/Makefile.am (install-data-local): Install
1415 index.sgml since the doc autobuilder on widget.gnome.org looks for
1418 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1420 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1423 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1425 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1427 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1429 * test/simple-at.c: Fixed null string problems that cause core
1430 dumping problems on Solaris.
1432 2004-01-12 Bill Haneman <billh@gnome.org>
1434 * configure.in: Incremented version to 1.3.11.
1436 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1438 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1439 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1442 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1444 * configure.in: Added "fa" to ALL_LINGUAS.
1446 2003-12-20 Arafat Medini <lumina@silverpen.de>
1448 * configure.in: Added "ar" to ALL_LINGUAS
1450 2003-12-16 Bill Haneman <billh@gnome.org>
1452 * registryd/registry-main.c:
1454 Set the reg_env DISPLAY variable before registering the
1455 activated registry service. Fixes bug #129479.
1457 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1459 * configure.in: Added "id" in ALL_LINGUAS
1460 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1462 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1464 * registryd/deviceeventcontroller.c (global_filter_fn):
1465 When an event is consumed discard any XEvents were added to
1466 the queue while dealing with the the event. This can happen if
1467 processing of the event takes a long time. Call XUngrabKeyboard
1468 if an event was discarded. This fixes bug $124837.
1469 Only call wait_for_release_event for a KeyPress.
1470 Use local variable display instead of spi_get_display().
1471 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1474 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1476 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1477 Allow for mask to contain values other than NumLock mask.
1480 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1482 * registryd/devieceventcontroller.c:
1483 (wait_for_release_event): Change first parameter from GdkEvent to
1485 (global_filter_fn); Correct call to wait_for_release_event.
1489 2003-12-08 Bill Haneman <billh@gnome.org>
1493 * registryd/ucs2keysym.c: New file.
1495 * registryd/deviceeventcontroller.c:
1496 (dec_keysym_for_unichar): Remove old partial implementation and
1497 replace with call to ucs2keysym(), which is much more complete.
1498 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1503 2003-12-05 Bill Haneman <billh@gnome.org>
1505 * configure.in: Version 1.3.9.
1507 * docs/reference/cspi/tmpl/spi_registry.sgml:
1508 Added reference to libspi/keymasks.h to the
1509 description of Registry queries: AccessibleKeyMaskType.
1512 2003-12-04 Bill Haneman <billh@gnome.org>
1514 Fix for bug #121974.
1516 * idl/Accessibility_Application.idl:
1517 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1518 setlocale's LC_TYPEs.
1519 (Accessibility::Application::getLocale): New method.
1520 Allows clients to query the locale, by type, of an app.
1523 * cspi/spi_application.c:
1524 (AccessibleApplication_getLocale): New method, wraps IDL above.
1526 * libspi/application.c:
1527 (spi_application_class_init): Init epv entry for getLocale.
1528 (impl_accessibility_application_get_locale): Impl for above.
1530 * test/test-simple.c:
1531 (test_application): Added assertion for getLocale, i.e.
1532 that the string from AccessibleApplication_getLocale (app, type)
1533 is the same as that from setlocale (type, NULL);
1535 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1537 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1538 the keyboard on a timeout intil the key state goes from pressed to
1539 released. Fixes bug #111429.
1541 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1543 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1544 root object so that it is present when a context menu in an
1545 out-of-process applet is popped up.
1546 (spi_atk_bridge_do_registration): Create acceessible application root
1547 object only if it does not exist.
1549 This fixes bug #125834.
1551 2003-12-01 Bill Haneman <billh@gnome.org>
1553 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1556 Added enum for AccessibleStreamableContentSeekType.
1557 (AccessibleStreamableContent_freeContentTypeList): New.
1559 * cspi/spi_streamablecontent.c:
1560 (accessible_bonobo_stream_client_seek): New private method.
1561 (AccessibleStreamableContent_seek): Implemented this method,
1562 using Bonobo_Stream_seek.
1563 (AccessibleStreamableContent_freeContentTypeList): New method
1564 for freeing the return value from
1565 AccessibleStreamableContent_getContentTypes.
1566 (stream_cache_item_free): Replaces stream_release; stop leaks.
1567 (stream_release): removed.
1568 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1569 free the memory properly.
1571 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1573 Fix for bug #116009.
1575 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1577 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1579 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1581 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1583 2003-12-01 Bill Haneman <billh@gnome.org>
1585 Fix for bug/rfe #127463.
1587 * idl/Accessibility_Accessible.idl:
1588 (getLocalizedRoleName): New.
1589 (unimplemented4): Removed (replaced by above).
1591 * libspi/accessible.c:
1592 (impl_accessibility_accessible_get_local_role_name): New.
1593 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1597 (Accessible_getLocalizedRoleName): New.
1599 * cspi/spi_accessible.c:
1600 (Accessible_getLocalizedRoleName): New.
1602 2003-12-01 Bill Haneman <billh@gnome.org>
1604 Fix for bug #118581.
1605 * idl/Accessibility_Text.idl:
1606 (getDefaultAttributes): New.
1607 (unimplemented4): Removed (replaced by above method).
1610 (impl_getDefaultAttributes): New method.
1611 (spi_text_class_init):
1612 initialize the get_default_attributes slot in the epv.
1615 (AccessibleText_getDefaultAttributes): New prototype.
1618 (AccessibleText_getDefaultAttributes): New method.
1620 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1622 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1623 write beyond the end of the table. Fixes bug #120473.
1625 2003-09-30 Christian Rose <menthos@menthos.com>
1627 * configure.in: Added "eu" to ALL_LINGUAS.
1629 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1631 * configure.in: ALL_LINGUAS: Added no.
1633 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1635 * configure.in: Added lt to ALL_LINGUAS.
1637 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1639 * atk-bridge/bridge.c:
1640 (atk_bridge_init): Register event listeners always even for
1641 out-of-process applet.
1642 (spi_atk_bridge_toplevel_added): Remove call to
1643 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1644 (spi_atk_bridge_toplevelk_removed): Remove call to
1645 spi_atk_deregister_event_listenersa as the listeners are now always
1647 (spi_atk_bridge_register_application): Remove call to
1648 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1650 This fixes bug #120991.
1652 * libspi/table.c (impl_getColumnDescription): Correct typo,
1653 pointed out by Bolian.Yin@sun.com.
1655 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1657 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1659 2003-09-08 Bill Haneman <billh@gnome.org>
1661 * configure.in: Revved to 1.3.7.
1663 This is the GNOME 2.4.0 release of at-spi.
1665 * docs/reference/cspi/Makefile.am:
1666 Removed spurious inclusion of 'index.sgml' in the
1667 html directory; this was breaking make distcheck and
1668 also some other build environments.
1670 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1672 * registryd/registry.[ch}:
1673 Add queue_handler_id and focus_object to SpiRegistry data structure.
1674 (registry_flush_event_queue): If event being discarded is
1675 "state-change:focused" store object as focus_object.
1676 (registry_start_queue): Remove queue handler and focus object
1678 (registry_discard_event): New function which discards a focus event
1679 if we had stored focus object in the registry.
1680 (registry_queue_event): Add new check that is_queueing is set as this
1681 function is reentrant.
1682 (registry_filer_event): Add call to registry_discard_event.
1684 This resolves issues raised in bug #108664.
1686 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1688 * configure.in: Added "bn" to ALL_LINGUAS.
1690 2003-09-04 Bill Haneman <billh@gnome.org>
1692 * cspi/spi_event.c: Documentation improvements for
1693 (SPI_registerAccessibleKeylistener).
1695 * docs/reference/tmpl/spi_registry.sgml:
1696 Documentation improvements for SpiAccessibleKeylistenerCB.
1698 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1700 * configure.in: Added "ro" to ALL_LINGUAS.
1703 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1705 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1706 not decremented to zero. Fixes bug #120725.
1708 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1710 * configure.in: Added "ja" to ALL_LINGUAS.
1712 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1714 * configure.in: Added "is" to ALL_LINGUAS.
1716 2003-08-22 Christian Rose <menthos@menthos.com>
1718 * configure.in: Added "nl" to ALL_LINGUAS.
1720 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1722 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1723 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1725 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1727 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1728 type for unspecified exception.
1729 * cspi_streamablecontect): Add include of string.h for memcpy.
1730 (stream_release): Correct call to bonobo_object_release_unref
1731 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1732 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1733 argument of _cspi_expection_throw.
1734 * libspi/hyperlink.c: Add include of libspi/action.h:
1735 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1736 * libspi/streamablecontent.c: add include of libspi/component.h.
1737 * regisrtyd/deviceeventcontroller.c:
1738 (spi_dec_translate_mask): Removed unused variable priv.
1739 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1740 * registryd/registry.c:
1741 (registry_filter_event): Remove unused variable queue_is-empty.
1742 (impl_registry_notify_event): Use correct modifier in fprintf call.
1744 This fixes compiler warnings reported in bug #120220.
1746 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1748 * registryd/registryd.c: Remove this file.
1750 2003-08-17 Sanlig Badral <badral@openmn.org>
1752 * configure.in: Added mn to ALL_LINGUAS.
1754 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1756 * configure.in: Added et to ALL_LINGUAS.
1758 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1760 * test/event-listener-test.c: Change active-descendant to
1761 active-descendant-changed.
1763 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1765 * configure.in: Added "fi" in ALL_LINGUAS.
1767 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1769 * configure.in: Added "hi" in ALL_LINGUAS.
1771 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1773 * configure.in: Revved to 1.3.6.
1777 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1779 * registryd/deviceeventcontroller.c
1780 (spi_device_event_controller_object_finalize): Fix typo in previous
1783 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1785 * registryd/deviceeventcontroller.c
1786 (spi_device_event_controller_object_finalize): Fix build on
1787 systems without XEvIE.
1789 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1791 * acconfig.h, configure.in, registryd/Makefile.am,
1792 registryd/devicecontoller.[ch]: Add XEViE support.
1794 2003-08-06 Wang Jian <lark@linux.net.cn>
1796 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1798 2003-08-06 Metin Amiroff<metin@karegen.com>
1800 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1802 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1804 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1805 MODIFIER_ALT in correct place.
1807 This fixes part of bug #118114.
1809 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1811 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1813 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1815 * configure.in: Added "ko" to ALL_LINGUAS.
1817 2003-07-28 Ole Laursen <olau@hardworking.dk>
1819 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1821 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1823 * configure.in: Added "sq" to ALL_LINGUAS.
1825 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1827 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1829 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1831 * configure.in: updated ALL_LINGUAS list
1833 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1835 * configure.in: Added Belarusian to ALL_LINGUAS.
1837 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1839 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1841 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1842 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1844 This fixes bug #116949.
1846 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1848 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1849 Correct CSPI to SPI in function documentation.
1851 This fixes bug #118054.
1853 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1855 * configure.in: Added Russian to ALL_LINGUAS.
1857 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1859 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1861 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1863 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1865 2003-07-10 Joel Brich <joel.brich@laposte.net>
1867 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1869 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1871 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1873 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1875 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1876 resources allocated for AccessibleEvent. See cspi_event().
1878 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1879 static variable streams to NULL.
1881 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1882 Update so that AcessibleEvent_ref will work.
1884 This fixes bug #116624.
1886 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1888 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1890 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1892 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1894 2003-07-02 Christian Neumair <chris@gnome-de.org>
1896 * configure.in: Added "de" (German) to ALL_LINGUAS.
1898 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1900 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1902 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1904 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1906 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1908 * configure.in: Added "pl" to ALL_LINGUAS.
1910 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1912 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1914 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1917 (get_action_from_servant):
1918 Removed assertion that action is implemented on an AtkObject.
1920 * libspi/hyperlink.c:
1921 (spi_hyperlink_new):
1922 Aggregate AccessibleAction interface on the hyperlink object if
1923 the object implements AtkAction. (This convention is used in
1926 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1928 * configure.in: Revved to 1.3.5.
1930 * registryd/Accessibility_Registry.server.in.in:
1931 Marked up appropriate strings for translation.
1933 * atk-bridge/bridge.c: Marked a couple of
1934 user-visible warnings for translation. Questionable
1935 whether they are really useful, but possibly so.
1938 2003-06-28 Christian Rose <menthos@menthos.com>
1940 * configure.in: Added "sv" to ALL_LINGUAS.
1942 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1944 * registryd/registry.c:
1945 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1946 (registry_defer_on_event): Defer focus: events, this is an
1947 improvement to the patch for bug #108664.
1949 * TODO: Update with 2.4/"Dev Complete" items.
1951 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1953 * atk-bridge/bridge.c:
1954 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1955 looks up signals once.
1956 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1957 if doing registration.
1958 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1959 when doing registration.
1961 This fixes bug #115014.
1963 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1965 * atk-bridge/bridge.c:
1966 (atk_bridge_init): Add signal handler for children-changed:remove on
1967 root when in a BonoboComponent.
1968 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1969 for first toplevel only other incrememt variable toplevels.
1970 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1971 application and remove listeners.
1972 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1974 (spi_atk_deregister_event_listeners): New function which removes
1976 (reinit_register_vars): New fuction which reinitializes variables.
1978 This fixes bug #111578.
1980 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1982 * configure.in: version 1.3.4.
1984 * cspi/spi_accessible.c:
1985 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1988 2003-06-13 Michael Meeks <michael@ximian.com>
1990 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1992 * cspi/spi_main.c (cspi_peek_ev): impl.
1994 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1996 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1998 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2000 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2001 SPI_ROLE_AUTOCOMPLETE
2003 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2005 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2006 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2008 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2010 * libspi/streamablecontent.h:
2011 * libspi/streamablecontent.c:
2012 New files, provide implementation/wrappers for
2013 Accessibility_StreamableContent.
2015 * cspi/spi_streamablecontent.c:
2016 Connected the C wrappers to the libspi C bindings.
2017 (AccessibleStreamableContent_close): New method.
2020 (AccessibleStreamableContent_close): New method, needed
2021 since we have an "open, [seek], read, close" model in cspi.
2023 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2025 Fix for #108664; Padraig's revision of my original patch.
2027 * registryd/registry.h:
2028 Added event queue list, is_queuing, and exit_notify_timeout
2029 to the registry struct.
2031 * registryd/registry.c:
2032 (registry_init): Initialize new struct from registry.h.
2033 (impl_registry_notify_event):
2034 Filter events before notifying, in case some need to be
2036 (registry_filter_event): New,
2037 we defer certain incoming events (for instance
2038 window:deactivate) because we may wish to hide
2039 or reject them based on pending events. This is
2040 mostly a workaround for bug #108664.
2041 (registry_queue_event, registry_start_queue): New.
2042 (registry_defer_on_event): Test event to see if it
2044 (registry_reset_on_event): Returns TRUE if the
2045 event should cause a queue reset.
2046 (registry_discard_on_event): Returns TRUE if the event
2047 should cause the previous queue contents to be discarded.
2048 (registry_timeout_flush_queue): Flushes the pending event
2049 queue if no reset/discard-triggering events have come in
2050 within the timeout period.
2051 (registry_emit_event): New.
2052 (registry_clone_notify_context): New, used when queueing the
2053 event notify contexts.
2055 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2057 * configure.in: Version revved to 1.3.2, lt 0.9.2
2058 Incremented ATK required version to 1.3.4.
2060 * cspi/spi_registry.c:
2061 (SPI_generateKeyEvent):
2062 We now pass the keystring along if it's non-null.
2064 * registryd/deviceeventcontroller.c:
2065 (keysym_mod_mask): New method, returns modifier mask
2066 required to generate a keysym from a given keycode.
2067 (dec_synth_keysym): New method.
2068 (dec_synth_keystring): New method.
2069 (dec_get_modifier_state): New method.
2070 (dec_lock_modifiers): New
2071 (dec_unlock_modifiers): New.
2072 (dec_keysym_for_unichar): New, rather brute-force
2073 conversion from UCS-4 to X KeySyms. Only works for
2074 Latin at the moment, with partial implementations for
2075 Greek, Hebrew, and (incomplete) Katakana.
2076 (impl_generate_keyboard_event): Now implement
2077 "KEYSTRING" synthesis and implement "KEYSYM"
2079 (keycode_from_keysym): Improved, passes a returned
2080 modmask value now if the corresponding param is non-NULL.
2082 Fixes bugs #92143 and #109776.
2085 * test/keysynth-test.c:
2086 New test program for key synthesis, to confirm fixes for
2090 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2092 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2094 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2095 Add line for RELATION_POPUP_FOR
2097 * docs/reference/cspi/tmpl/spi_relation.sgml:
2098 Add relation SPI_RELATION_POPUP_FOR
2100 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2101 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2103 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2105 * libspi/relation.c (spi_init_relation_type_table):
2106 Add line for RELATION_POPUP_FOR
2108 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2110 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2111 there are still windows which have not been deleted and emit
2112 window:deactivate, if necessary and window:destroy events.
2113 This fixes bug #114370. The change on June 5th was not correct.
2115 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2117 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2120 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2122 New methods for client exception handling and interception.
2123 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2124 (SPI_exceptionHandlerPop): You guessed it...
2125 (SPI_getSourceType): Return the type of object which offended.
2126 (SPI_getExceptionCode): Return an enum code telling, possibly,
2127 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2128 (SPIAccessibleException_getSource): get the source object for
2129 exceptions that come from Accessibles, if SPIExceptionSourceType is
2130 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2131 (SPIException_getDescription): New, returns a string description of
2132 the problem. [Not yet a stable ABI, strings are not frozen]
2134 * cspi/spi-private.h:
2135 Added implementation details of opaque SPIException
2139 Implementations of above. Also
2140 (_cspi_exception_throw): new private method that
2141 dispatches exceptions to handlers, called from cspi-bonobo.c
2143 * cspi/bonobo/cspi-bonobo.c:
2144 (cspi_check_ev): call _cspi_exception_throw.
2145 Don't print a warning message if the exception has been
2146 handled by _cspi_exception_throw.
2148 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2150 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2151 there are still windows which have not been deleted and emit
2152 window:deactivate, if necessary and window:destroy events.
2153 This fixes bug #114370.
2155 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2158 (cspi_accessible_is_a): Make non-fatal
2159 if the object reference is dead.
2161 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2163 * cspi/spi_main.c: #include <stdio.h>
2164 * test/simple-at.c: ditto
2165 * test/event-listener-test.c: ditto
2166 * test/screen-review-test.c: ditto
2168 2003-05-30 Michael Meeks <michael@ximian.com>
2170 * test/test-simple.c (main): use CORBA_ORB_perform_work
2171 instead of an unnecessary linc_ call.
2173 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2175 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2176 Add SPI_STATE_INDETERMINATE.
2178 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2181 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2183 * libspi/stateset.c (init_state_type_tables): Add support for
2186 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2188 * configure: Update versions of atk and gail required.
2189 This fixes bug #113268.
2191 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2193 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2195 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2197 * libspi/Makefile.am:
2198 Ensure headers are generated before being used by c sources.
2200 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2203 Simplified lt versioning rules.
2204 Incremented version to 1.3.0, to indicate that we're on the
2205 unstable branch now.
2207 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2209 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2210 Add MKDB_OPTIONS=--outtput-format=xml
2212 * docs/reference/cspi/at-spi-cspi-docs.sgml
2213 docs/reference/idl/at-spi-idl-docs.sgml:
2214 Convert to Docbook XML.
2216 This fixes bug #111793.
2218 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2220 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2221 AcccessibleKeyEventType, AccessibleKeyMaskType.
2223 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2225 * cspi/state-types.h: Add documentation for AccessibleState.
2227 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2228 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2229 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2230 AccessibleComponentLayer.
2232 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2235 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2237 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2238 Accessible. Add description of AccessibleEvent,
2239 AccessibleEventListenerCB.
2241 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2244 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2245 documentation. Add description of AccessibleKeystrokeListenerCB,
2246 AccessibleKeyEventMask, AccessibleModifierMaskType,
2247 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2248 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2250 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2253 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2256 This fixes bug #104730.
2258 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2260 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2261 Set is_text field of Accessibility_DeviceEvent data structure.
2263 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2264 is-text field of AccessibleDeviceEvent data structure.
2266 This addresses part of bug #108666.
2268 * registryd/devcieeventcontroller.c: Unset debug option.
2270 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2272 * cspi/accessible.c:
2273 (cpi_initial_relation_type_table): New function which initializes
2274 mapping between Accessibility_RelationType and AccessibleRelationType.
2275 (cspi_relation_type_from_spi_relation_type): New function which
2276 translates an Accessibility_RelationType into an AccessibleRelationType.
2277 (AccessibleRelation_getRelationType): Use
2278 cpi_relation_type_get_spi_relation_type to return correct value.
2279 (spi_state_to_corba): Return correct type for default case.
2281 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2282 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2284 * cspi/cspi-bonobo-listener.c:
2285 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2288 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2289 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2290 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2291 libspi/image.c, libspi/listener.c, libspi/selection.c,
2292 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2293 registryd/desktop.c, registryd/registry.c:
2294 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2296 * libspi/eventlistener.c
2297 Remove semicolon after BONOBO_TYPE_FUNC.
2299 * libspi/relation.c:
2300 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2301 (spi_init_relation_type_table): Initialize using correct type.
2303 * registryd/desktop.c:
2304 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2305 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2306 of Accessibility_KeyEventType.
2308 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2311 * tests/simple-at.c, tests/screen-review-test.c:
2312 Add include for <strings.h>.
2314 * tests.stress-test.c:
2315 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2317 These changes fix compiler warnings when using FORTE compiler on
2318 Solaris; fixes bug #107479.
2321 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2324 * configure.in: revved to 1.1.10
2326 * libspi/keymasks.h:
2327 (SPI_KEYMASK_NUMLOCK): Added.
2329 * registryd/deviceeventcontroller.c:
2330 (spi_key_event_matches_listener): AND with a smaller
2331 bitmask (as we should).
2332 (spi_dec_translate_mask):
2333 New method, sets the virtual NumLock modifier bit
2334 if numlock is on. Eventually it can handle other virtual
2335 modifier bits if needed, or other marshalling from
2336 at-spi modifier masks to platform (X) masks.
2337 (spi_dec_key_listener_new):
2338 Call spi_dec_translate_mask to set up virtual mod bits
2339 in the 'mask' field when creating a new listener struct.
2340 (spi_dec_emit_modifier_event):
2341 Set the virtual (i.e. NumLock) bits before emitting event.
2342 (spi_controller_register_with_devices):
2343 Query for the NumLock modifier 'physical' bit if Xkb is
2344 present, for use in above methods.
2348 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2350 * registryd/deviceeventcontroller.c:
2351 (spi_keystroke_from_x_key_event):
2352 Instead of checking to see if the keysym is
2353 printable, check the string from XLookupString
2354 if available, get the first unicode character from it,
2355 and call g_unichar_isprint to determine whether the
2356 is_text flag should be TRUE or FALSE.
2360 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2362 * atk-bridge/bridge.c: Add support for extended events
2363 * cspi/spi_event.c: Add documentation and implementation for
2365 * tests/event-listener-test.c: Add tests for extended events.
2367 This fixes bugs #100424 and #100426.
2369 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2371 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2372 of LT_CURRENT. This fixes bug #89350.
2374 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2376 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2377 number of signal parameter values before accessing them. This fixes
2380 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2382 * configure.in: Fixed duplicate inclusion of -lspi.
2383 * branched for gnome-2-2/HEAD.
2384 [created tag "gnome-2-2"]
2386 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2388 * configure.in: 1.1.9 release.
2391 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2393 [needed by GOK, to fix bugs 107985 and 107988]
2394 * registryd/deviceeventcontroller.c:
2395 (spi_dec_clear_unlatch_pending):
2396 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2397 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2398 (spi_dec_init_mouse_listener):Emit warning if mouse button
2400 (spi_device_event_controller_forward_mouse_event):
2401 Removed unnecessary parens from a conditional.
2402 (global_filter_fn):Added TODO comment.
2403 (impl_generate_keyboard_event):
2404 Cancel a pending relatch if a 'delatching' key was
2407 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2409 * atk-bridge/bridge.c:
2410 Change atk_signal_child_changed to atk_signal_children_changed.
2411 Reorganize code in spi_atk_bridge_signal_listener().
2413 * test/event-listener-test.c:
2414 Add children_changed_listener and report_children_changed_event()
2415 to test AccessibleChildEvent_getChildAccessible.
2417 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2419 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2420 g_strdup to CORBA_String_dup (bug #105291)
2422 * test/event-listener-test.c (report_text_event): Add call to
2425 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2427 * registryd/deviceeventcontroller.c:
2428 (spi_keystroke_from_x_key_event):
2429 Fix string and keysym return codes to match modifier state.
2432 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2434 * registryd/deviceeventcontroller.c:
2435 (spi_keystroke_from_x_key_event):
2436 Fix segv due to improper use of isprint(c). [bug #107254]
2438 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2441 (get_accessible_text_boundary_type):
2442 Move default return value to (new) default case in switch.
2443 (get_accessible_text_clip_type):
2444 Move default return value to (new) default case in switch.
2446 * libspi/application.c:
2447 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2448 Remove unused methods.
2449 (impl_accessibility_application_register_object_event_listener):
2450 Remove unused methods.
2453 Added #include of <math.h>.
2455 * registryd/deviceeventcontroller.c:
2456 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2457 we don't currently use this method.
2458 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2460 (impl_generate_key_event):
2461 Remove unused variables.
2462 (impl_generate_mouse_event):
2463 Initialize button to zero, just in case we get an invalid
2464 input. Added support for mouse buttons 4 and 5.
2465 (spi_device_event_controller_new):
2466 Removed unused variable declaration for 'private'.
2468 Added #include of <gdk/gdk.h>
2470 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2472 * configure.in: Update to work when X is not installed in expected
2473 location. Fixes bug #105836.
2475 * atk-bridge/bridge.c
2476 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2478 (spi_atk_register_event_listener): Add signal listener for
2480 (spi_atk_bridge_signal_listener): Event event when link-selected
2481 signal is emitted. (bug #104622)
2483 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2484 on returned string. (bug #105291)
2486 * test/event-listener-test.c: Add test for link-selected.
2488 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2490 * atk-bridge/Makefile.am: Correct typo in previous commit.
2492 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2494 * atk-bridge/Makefile.am: Allow for build directory to be different
2495 from source directory
2497 * registryd/Makefile.am: Allow for build directory to be different
2498 from source directory
2502 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2505 Fixed dependencies for libcspi so that libspi gets pulled in
2506 properly. Fixes 104741.
2510 Clean up inline docs a little.
2512 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2514 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2515 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2516 the AtkObject within an SpiDesktop.
2517 This addresses bug #101524.
2519 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2520 Remove call to gdk_init().
2522 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2523 so that Display is set when SpiDesktop is created.
2525 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2527 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2528 This fixes bug #102830.
2530 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2532 * test/test-simple.c: Update to take account of fact that GailButton
2533 now implements AtkText.
2534 (create_text_window): Set name on AtkObject for GtkEntry.
2535 (validate_accessible): Check accessible name before calling test_text().
2537 * libspi/Makefile.am: Fix problem with building outside of source
2538 directory. Bug #98120.
2540 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2541 typo in documentation comments. Bug #94275.
2543 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2545 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2547 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2550 Add includes to avoid compiler warnings on Solaris.
2551 (impl_getRangeExtents): Bug fix.
2553 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2555 Fix for 100944, [API addition approved by Gman and murrayc].
2562 * idl/Accessibility_Text.idl:
2563 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2564 (Text::getRangeExtents): New method for efficient
2565 bounds query of a text range.
2566 (Text::getBoundedRanges): New method for efficient
2567 clipping of text to bounding boxes.
2568 (unImplemented7, unImplemented8):
2569 Removed these padding methods to preserve bincompat.
2572 (impl_getRangeExtents): implementation of new IDL.
2573 (impl_getBoundedRanges): implementation of new IDL.
2574 (SpiTextRect): Internal use struct.
2575 (_spi_text_rect_union): internal method, calculates union of two
2576 SpiTextRect bounding rects.
2577 (_spi_text_range_seq_from_gslist): internal method, allows us
2578 to build our sequence efficiently as a gslist then convert it
2580 (_spi_bounds_contain): internal method, determines whether
2581 a text character is "in" or "out" of a clip rect according to
2582 values of TEXT_CLIP_TYPE.
2583 (spi_text_class_init): Initialize the new methods in the epv.
2586 (AccessibleTextClipType): New enum used by screen review api.
2587 (AccessibleTextRange): New struct used by screen review api.
2588 (AccessibleText_getRangeExtents):
2589 cspi binding for Accessibility_Text_getRangeExtents.
2590 (AccessibleText_getBoundedRanges):
2591 cspi binding for Accessibility_Text_getBoundedRanges.
2592 (AccessibleTextRange_freeRanges): convenience method.
2595 (AccessibleText_getRangeExtents):
2596 cspi binding for Accessibility_Text_getRangeExtents.
2597 (AccessibleText_getBoundedRanges):
2598 cspi binding for Accessibility_Text_getBoundedRanges.
2599 (AccessibleTextRange_freeRanges): convenience method.
2600 (get_accessible_text_clip_type): internal conversion method.
2601 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2603 * registryd/deviceeventcontroller.c:
2604 (spi_dec_mouse_check):
2605 Improved behavior for mouse:abs events
2606 [same granularity as mouse:rel events, and no
2607 events when mouse is idle].
2609 2002-12-16 Michael Meeks <michael@ximian.com>
2611 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2613 * libspi/stateset.c (state_spi_to_atk): split out
2614 ( fix several remote array bounds nasties )
2615 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2616 (impl_remove): make safe from array bounds issues.
2617 (spi_atk_state_from_spi_state): impl.
2619 * libspi/stateset.h (spi_state_set_cache_is_empty):
2620 add a set of wrapper defines to get layering right.
2622 * cspi/spi_accessible.c: update state set stuff to
2625 2002-12-14 Michael Meeks <michael@ximian.com>
2627 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2628 to avoid 2 roundtrips to the registry per key event
2629 (spi_atk_bridge_key_listener): upd.
2630 (deregister_application): release the dec.
2632 * registryd/registry.c (notify_listeners_cb):
2633 bin lots of re-enterant complexity - we no longer
2634 do a round-trip bonobo ref here, ensure that a single
2635 listener's exception failure won't poison all other
2637 (impl_registry_notify_event): bin obvious memory leak.
2639 2002-12-13 Michael Meeks <michael@ximian.com>
2641 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2642 init the ev so the error is meaningful.
2643 (spi_atk_bridge_key_listener): ditto.
2645 * cspi/spi_main.c (cspi_ev): init the ev so we start
2646 with a clean slate, otherwise the first exception
2647 kills us completely.
2649 * cspi/spi_text.c (get_accessible_text_boundary_type):
2650 add a fallthrough for no warnings.
2652 * cspi/spi_registry.c: prune unused warnings.
2654 * cspi/spi_main.c (cspi_object_take): fix
2655 mind-blowing brokenness ( by watching the compile
2658 * cspi/spi_accessible.c (Accessible_getStateSet):
2659 re-impl. to use an AtkStateSet.
2660 (spi_state_type_from_accessible_state),
2661 (init_state_table): bin these.
2663 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2665 (atk_state_set_from_accessibility_state_set): here.
2667 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2668 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2669 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2670 (AccessibleStateSet_add, AccessibleStateSet_remove),
2671 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2672 (AccessibleStateSet_isEmpty): re-write to use a local
2675 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2677 * configure.in: Revved to 1.1.7 (new keymask vals).
2679 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2681 * libspi/keymasks.h:
2682 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2684 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2687 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2688 to compare two CORBA_TypeCodes.
2689 (cspi_internal_event_add): Silence warning from FORTE compiler.
2691 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2692 avoid implicit declaration of functions.
2694 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2696 * atk-bridge/bridge.c:
2697 (spi_atk_bridge_init_event_type_consts): Store signal id for
2698 active-descendant-changed signal.
2699 (spi_atk_register_event_listeners): Add signal listener for
2700 active-descendant-changed signal,
2701 (spi_atk_bridge_signal_listener): Move code in function
2702 spi_atk-signal_emit_event() into this function.
2703 Add support for active-descendant-changed
2704 Update support for child-changed signal.
2705 (spi_bridge_window_event_listener): Silence warning.
2707 * libspi/spi_private.[ch]:
2708 (spi_init_any_object): Change second parameter from CORBA_Object to
2710 Omit call to CORBA_Object_duplicate().
2711 Set CORBA_any's _value to CORBA_Object*.
2713 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2719 (AccessibleEvent_ref, AccessibleEvent_unref):
2720 New methods, for persisting an event outside the emission context.
2721 Must be used if the new accessor methods are to be called
2722 outside of the event listener's callback.
2724 * cspi/bonobo/cspi-bonobo.c:
2725 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2726 as second parameter instead of NULL, so we can call
2727 cspi_check_ev afterwards.
2730 (cspi_object_take): New internal method,
2731 converts a CORBA_Object reference to a hard ref on
2732 an Accessible if possible, returning NULL if the object
2733 reference is invalid or an Accessible * otherwise.
2736 (AccessibleEvent_ref):
2737 Increment the event's internal private refcount, and
2738 add the event's internal struct to an internal cache
2739 if it's not already there.
2740 (AccessibleEvent_unref):
2741 Decrement the event's refcount and remove it from
2742 the cspi event cache if refcount==0.
2743 (cspi_event_compare): New private method.
2744 Compares two event structs via their ids. Used
2746 (cspi_internal_event_lookup): New private method.
2747 (cspi_internal_event_check): New private method,
2748 a 0-order sanity check for events to make sure their
2749 private data is intact.
2750 (cspi_internal_event_add, cspi_internal_event_remove):
2751 New private methods for managiing the event cache.
2753 * cspi/bonobo/cspi-bonobo-listener.c:
2755 Initialize the new private data elements (id, magic, ref_count).
2757 * atk-bridge/bridge.c:
2758 (spi_atk_bridge_signal_listener):
2759 Fixed bug #100530, passing wrong params to emission func.
2761 * registryd/deviceeventcontroller.c:
2762 (spi_dec_button_update_and_emit):
2763 Fixed type in mask bit operations; fix for #99799.
2765 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2767 Removed some of the more dangerous workarounds from
2768 previous commit; they are only needed by GOK, which
2769 in reality should be using another method to accomplish
2770 the goals. So on reconsideration some of the workarounds
2771 need to be reverted:
2773 * registryd/deviceeventcontroller.c:
2774 (spi_keycodes_contain, spi_dec_init_keycode_list):
2775 Removed these methods, used only by a nasty hack to try
2776 and detect whether a key synthesis should be allowed
2777 to reset the XKB latch state or not. This code was only
2778 required to work around an interaction between GOK,
2779 button events, and XKB.
2780 (impl_generate_key_event):
2781 Removed hack at end of key generation that tried to
2782 "do the right thing" if XKB latch keys were generated
2783 in the midst of button press/release pairs.
2786 Added a check for HAVE_XINPUT. Not normally used yet.
2788 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2790 Workarounds and fixes for mouse event/XKB interaction.
2792 * registryd/deviceeventcontroller.c:
2793 (spi_keycodes_contain, spi_dec_init_keycode_list):
2794 New internal methods.
2795 (spi_dec_set_unlatch_pending):
2796 Split the method that tells XKB to expect an
2797 unlatch (and revert it) out of the rest of the
2798 event handling code. This method is called by the
2799 two mouse event handlers (the poll and the filter).
2800 (spi_dec_update_and_emit, spi_dec_mouse_check):
2801 New methods split from spi_dec_poll_mouse_moved.
2802 The second one is now called from inside the filterFn
2803 when an XKB delatch event is received, to determine
2804 whether to revert the delatch or not.
2805 (spi_poll_mouse_moved): Refactor; also we can now
2806 properly handle the case where multiple button states
2807 have changed between polling cycles and we didn't get
2808 notified due to another client's grab.
2810 Synchronize the server while handling an XKB notification.
2811 Ugly, but apparently necessary to avoid nasty races.
2812 Check the mouse state on receipt of an XKB latch change,
2813 to decide whether to revert the latch or not. (Latches are
2814 reverted if there is an immediately preceding mouse button
2815 event that a client has consumed, in which case we don't want
2816 the user to see the side-effect of the event).
2817 (spi_device_event_controller_forward_mouse_event):
2818 Check for modifier events and fire before resetting mouse_mask_state,
2819 prevents losing modifier events.
2821 (impl_generate_keyboard_event):
2822 If we've just generated a keyboard event for a non-shift key,
2823 we don't want to revert the pending XKB latch.
2824 Otherwise, check the modifier state (via a call to
2825 spi_dev_mouse_check) and set the relatch mask to
2826 that state before returning.
2828 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2831 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2834 * atk-bridge/bridge.c:
2835 (spi_atk_register_event_listeners):
2836 Don't re-register for ATK events if the registry has died
2837 and the app needs to re-register; the ATK listeners are in
2838 process and doing so will cause duplicate emission.
2840 * registryd/deviceeventcontroller.c:
2841 (spi_poll_mouse_moved):
2842 Reformat the source, detect and emit multiple button-change
2843 events (i.e. if multiple buttons have changed between poll
2845 Add code to detect mouse-down events even when the pointer
2846 is grabbed; workaround for GOK bug 98420.
2847 (spi_controller_register_with_devices):
2848 Call XTestGrabControl with 'impervious' flag set to True,
2849 allows us to synthesize events and query the pointer even during
2850 an active grab by another client.
2851 (spi_device_event_controller_forward_mouse_event):
2852 Set the mouse_mask_state to the mouse_button_state from
2853 the intercepted event, to synchronize the grab listener with
2856 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2858 * cspi/spi_accessible.c:
2859 (AccessibleRole_getName):
2860 Added necessary strings for making this (deprecated)
2861 method work with the new role types.
2862 (init_role_table, role_table):
2863 Added definition of SPI_ROLE_APPLICATION.
2865 * libspi/spi-roletypes.h:
2866 Added SPI_ROLE_APPLICATION.
2868 * idl/Accessibility_Role.idl:
2869 Added ROLE_APPLICATION.
2871 * docs/reference/cspi/at-spi-cspi-decl.txt:
2872 Added SPI_ROLE_APPLICATION to docs.
2874 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2876 * cspi/spi_accessible.c
2877 (cspi_init_role_table): Do not write beyond end of role_table.
2878 (Accessible_getRole): Use correct type for value returned by
2879 Accessibility_Accessible_getRole().
2881 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2882 beyond end of role_table. (This fixes bug #98269)
2884 * libspi/application.c: Add include file spi-private.h for
2885 definition of spi_init_any_nil.
2887 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2891 * libspi/spi-private.h:
2892 Added DGB() macro, and extern int _dbg declaration.
2894 * registryd/registry.c:
2895 (definitions) storage for _dbg.
2896 (spi_registry_init):
2897 Get environment variable "AT_SPI_DEBUG".
2898 (spi_registry_set_debug):
2899 New method, to initialize _dbg value.
2900 (spi_listener_struct_new, spi_registry_object_finalize):
2901 (notify_listeners_cb):
2902 Changed fprintfs to use DBG and g_warning().
2904 * registryd/deviceeventcontroller.c:
2905 (_deregister_keygrab, spi_controller_register_device_listener):
2906 Changed debug/warning messages to use DBG macro.
2908 * libspi/listener.c:
2909 (impl_notify_event):
2910 Changed warning messages to use DBG macro and g_warning().
2912 * atk-bridge/bridge.c:
2913 (atk_bridge_init, spi_atk_bridge_get_registry):
2914 (spi_atk_bridge_exit_func):
2915 (spi_atk_bridge_property_event_listener):
2916 Changed status, warning, and error messages to use
2917 g_warning, g_message, and DBG macros.
2920 Read the state of the AT_SPI_DEBUG environment variable
2921 and set a local '_dbg' accordingly.
2923 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2925 FIXES for 98836, 98842, other bugs.
2928 Revved to 1.1.4, interface-age=4, binary-age=4.
2930 * registryd/deviceeventcontroller.c:
2932 Fixed crasher bug in last_mouse_pos initialization.
2934 * registryd/registry.c:
2935 (desktop_add_application, desktop_remove_application):
2936 Added (and then commented out) some support for
2937 object context marshalling. [TODO]
2939 * atk-bridge/bridge.c:
2940 (spi_atk_bridge_event_context_create):
2941 Commented out object context creation until it can
2942 be properly tested and debugged.
2944 * registryd/registry.c:
2945 (impl_registry_notify_event):
2946 Fixed crasher bug, we were calling
2947 spi_re_entrant_list_foreach () with an empty list.
2949 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2951 * idl/Accessibility_Action.idl:
2952 * idl/Accessibility_Component.idl:
2953 * idl/Accessibility_Desktop.idl:
2954 * idl/Accessibility_Event.idl:
2955 * idl/Accessibility_Hyperlink.idl:
2956 * idl/Accessibility_Image.idl:
2957 * idl/Accessibility_Relation.idl:
2958 * idl/Accessibility_Selection.idl:
2959 * idl/Accessibility_State.idl:
2960 * idl/Accessibility_Value.idl:
2961 Updated unimplemented slot count to minimum of
2962 four for all interfaces, for ABI freeze.
2964 * idl/Accessibility_EditableText.idl:
2965 * idl/Accessibility_Text.idl:
2966 Updated unimplemented slot count to six
2969 * idl/Accessibility_Registry.idl:
2970 Updated unimplemented slot count to six
2971 (also for DeviceEventController),
2974 * idl/Accessibility_Table.idl:
2975 Updated unimplemented slot count to eight,
2978 * idl/Accessibility_Event.idl:
2979 Added CORBA_any "any_data" member to Event struct.
2981 * idl/Accessibility_Event.idl:
2982 Added CORBA_any "any_data" member to Event struct.
2984 * atk-bridge/bridge.c:
2986 atk_signal_text_changed, atk_signal_child_changed,
2987 signal ids queried from gtype system.
2988 (AtkBridgeEventContextType): New enum.
2989 (AtkBridgeEventContextData): New struct.
2990 (AtkBridgeEventContext): New struct.
2991 (atk_bridge_init_event_type_consts):
2992 New method, initializes type contants for comparison
2993 prior to emit_eventv.
2994 (atk_bridge_event_context_init): New method,
2995 initializes a CORBA_any from an AtkBridgeEventContext.
2996 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2997 initialize the event.any_data struct.
2998 (spi_atk_bridge_event_context_create): New method,
2999 creates an AtkBridgeEventContext from signal/event info.
3000 (spi_atk_bridge_event_context_free): New method.
3001 (spi_atk_emit_eventv): Changed to take an
3002 AtkBridgeEventContext parameter. We now initialize
3003 the event.any_data member prior to notifying the
3004 Registry, via the AtkBridgeEventContext.
3005 (spi_atk_bridge_property_event_listener):
3006 (spi_atk_bridge_state_event_listener):
3007 Match emit_eventv signature.
3008 (spi_atk_bridge_object_event_listener):
3009 Match emit_eventv signature, and create an
3010 event context from the event details.
3011 Free the event context afterwards.
3012 (spi_atk_bridge_window_event_listener):
3013 Create an event context, pass it to the
3017 (AccessibleEvent_getContextString):
3018 (AccessibleEvent_getContextObject):
3019 New methods, allow query of AccessibleEvent objects
3020 for more context details (via the "any_data" member
3021 of the Event struct, above).
3024 Definitions for AccessibleEvent_getContextString
3025 and AccessibleEvent_getContextObject.
3027 * cspi/spi_listener.h:
3028 (InternalEvent): New struct.
3031 (AccessibleEvent_getContextString):
3032 (AccessibleEvent_getContextObject):
3033 Implementations of new methods, for obtaining
3034 additional context information from some event types.
3036 * cspi/spi_registry.c:
3037 (SPI_registerGlobalEventListener):
3038 Added mention of active-descendant-changed event in docs.
3040 * cspi/cspi-bonobo-listener.c:
3042 Marshal the any into the AccessibleEvent via
3045 * libspi/spi-private.h:
3046 #include <orbit/orbit.h>
3048 (spi_init_any_string):
3049 (spi_init_any_object):
3050 New convenience function declarations.
3054 (spi_init_any_string):
3055 (spi_init_any_object):
3056 New convenience function implementations.
3058 * registryd/deviceeventcontroller.c:
3059 (spi_poll_dec_mouse_moved):
3060 (spi_device_event_controller_forward_mous_event):
3061 Initialize any_data member of event.
3062 (spi_deregister_controller_device_listener):
3063 Fix incorrect param pass which was preventing deregistration.
3065 * registryd/registry.c:
3066 (desktop_add_application):
3067 (desktop_remove_application):
3068 Add object data to event's any_data before dispatch.
3070 Fix for error messages from GAIL.
3072 * test/event-listener-test.c:
3073 Test new ContextString and "any_data" API:
3074 (report_text_event): New method query and output context string.
3075 (main): register a new text listener with report_text_event
3078 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3080 Fixes for bugs 98127 and 97914.
3081 * cspi/spi-roletypes.h:
3082 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3084 * cspi/spi-statetypes.h:
3085 Added SPI_STATE_MANAGES_DESCENDANTS
3087 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3088 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3089 * cspi/spi_accessible.c:
3090 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3091 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3092 Accessibility_STATE_MANAGES_DESCENDANTS
3093 * libspi/accessible.c:
3094 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3095 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3096 As requested by Bill, I also cleaned up the alignment.
3097 * libspi/relation.c:
3098 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3099 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3100 * libspi/stateset.c:
3101 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3102 Accessibility_STATE_MANAGES_DESCENDANTS
3103 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3104 Document changes reflecting modifications to roles.
3105 * docs/reference/cspi/tmpl/spi_relation.sgml:
3106 Document changes reflecting modifications to relations.
3107 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3108 Document changes reflecting modifications to states.
3110 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3113 Revved to 1.1.3, interface-age=3, binary-age=3.
3114 Added REBUILD macro.
3117 Removed accessx-gui from the tests, since we have a nice
3118 keyboard accessibility capplet now :-)
3120 * test/keysynth-demo.c:
3121 (increment_scan): removed do-nothing default: case,
3124 * test/visual-bell.c:
3125 (main) : removed do-nothing default: case,
3128 * cspi/spi_action.c:
3129 (AccessibleAction_getKeyBinding_):
3130 Documented keybinding string format.
3134 (AccessibleText_getAttributes):
3135 Documented the text attribute string format.
3136 It's changed to use semicolon delimiters also,
3137 to prevent clashes with CSS attributes, but the old
3138 trick of looking for ", " strings will still work
3139 (as unreliably as ever). Fix for bug related to 97916.
3142 Include <cspi/bonobo/cspi-bonobo-listener.h>
3143 Fixes build warning.
3144 (SPI_freeAccessibleKeySet):
3145 (AccessibleKeystrokeListener_addCallback):
3146 (AccessibleKeystrokeListener_removeCallback):
3147 Modify to use AccessibleDeviceListener API internally,
3148 instead of AccessibleKeystrokeListener.
3150 * idl/Accessibility_Event.idl:
3151 Added two more empty slots to EventListener (for a total of four).
3153 * idl/Accessibility_Accessible.idl:
3154 Added four empty slots to Accessible interface.
3156 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3158 * idl/Accessibility_Registry.idl:
3159 (KeyEventType, EventType):
3160 Marked KeyEventType as deprecated; it duplicates
3161 functionality of EventType, which has been extended to
3162 include Mouse-button events.
3163 (KeyEventTypeSeq): defined in terms of EventType.
3164 (registerDeviceEventListener, deregisterDeviceEventListener):
3165 New methods, for managing listeners to device events,
3166 which potentially may consume them.
3169 Added definition for AccessibleDeviceListener.
3171 * cspi/spi-listener.h:
3172 (enum AccessibleDeviceEventType):
3173 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3174 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3175 for backwards compat.
3176 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3177 and typedef'd AccessibleKeystroke to it for back-compat.
3178 (AccessibleDeviceListenerCB):
3179 New function prototype typedef.
3182 (AccessibleDeviceEventMask): New typedef.
3183 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3184 (AccessibleKeyMaskType):
3185 Set equivalent to AccessibleModifierMaskType for back-compat.
3186 (SPI_createAccessibleKeystrokeListener):
3187 (AccessibleKeystrokeListener_unref):
3188 Deprecated in favor of equivalent (better-named) new API below..
3189 keystroke listeners are like all device listeners.
3190 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3191 New API names for old features :-).
3192 (AccessibleDeviceListener_addCallback):
3193 (AccessibleDeviceListener_removeCallback):
3194 (SPI_registerDeviceEventListener):
3195 (SPI_deregisterDeviceEventListener):
3199 (SPI_createAccessibleKeystrokeListener):
3200 Use new preferred API, cspi_device_listener_new() and
3201 cspi_device_listener_add_cb().
3202 (AccessibleKeystrokeListener_removeCallback):
3203 Use new preferred API, cspi_device_listener_remove_cb().
3204 (AccessibleKeystrokeListener_unref):
3205 Use new preferred API, cspi_device_listener_unref().
3206 (SPI_createAccessibleDeviceListener):
3207 (AccessibleDeviceListener_addCallback):
3208 (AccessibleDeviceListener_removeCallback):
3209 Implementation of new API.
3211 * cspi/spi_registry.c:
3212 (SPI_registerDeviceEventListener):
3213 (SPI_deregisterDeviceEventListener):
3214 Implementation of new API. Fixed memory leak and removed need to
3215 allocate EventTypeSeq (thanks Michael for catching this).
3216 Squashed a wayward CORBA_exception_free that shouldn't get called.
3218 * cspi/bonobo/cspi-bonobo-listener.c:
3220 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3221 (cspi_key_event): renamed to cspi_device_event().
3222 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3223 Extended to handle mouse button events as well as key events.
3224 (CSpiKeystrokeListener):
3225 Class superceded by CSpiDeviceListener.
3226 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3227 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3229 * cspi/bonobo/cspi-bonobo-listener.h:
3230 (CSpiKeystrokeListener):
3231 Class superceded by CSpiDeviceListener.
3232 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3233 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3235 * libspi/Makefile.am:
3236 Replaced keystrokelistener.h and keystrokelistener.c
3237 with devicelistener.h and devicelistener.c; keystrokelisener.h
3238 stub retained for back-compat.
3240 * libspi/keystrokelistener.c:
3244 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3246 * registryd/deviceeventcontroller.c:
3247 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3248 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3249 (DEControllerPrivateData): Added xkb settings data.
3250 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3251 button release events (which can't be captured via XGrabButton).
3252 Don't dispatch via the 'normal' event mechanism if the device event was
3254 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3255 Handle the typeseq data in its new location (see above).
3256 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3257 New methods, for "generic" device listeners.
3258 (spi_controller_register_device_listener):
3259 Now handle mouse event listeners as well as key listeners.
3260 (spi_controller_notify_mouselisteners):
3261 New internal method.
3262 (spi_device_event_controller_forward_mouse_event):
3263 Now we notify mouse device listeners as well as generating the
3264 non-consumable "mouse:" events.
3266 We must check and restore the XKB
3267 modifier map if we consume the event, since the act of triggering
3268 a mouse event will normally reset the XKB latch. This is required for
3270 (spi_controller_register_with_devices):
3271 Load the XKB settings when registering, and register for XKB
3272 state notify events.
3273 (spi_key_eventtype_seq_contains_event):
3274 Renamed spi_eventtype_seq_contains_event, since it's used
3275 internally for all device event types now.
3276 (spi_key_event_matches_listener):
3277 Uses spi_eventtype_seq_contains_event now.
3278 (spi_device_event_controller_object_finalize):
3279 Free the private data and the XkbKeyboard struct.
3280 (impl_register_device_listener, impl_deregister_device_listener):
3281 Implementation of new IDL.
3282 (spi_deregister_controller_device_listener):
3283 New internal method.
3284 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3285 More efficient implementation, we don't have to create a new
3286 XkbControls structure every time we query.
3287 (spi_device_event_controller_class_init):
3288 Initialize the epv entries for the new IDL. Assign the
3289 "spi-dec-private" quark.
3290 (spi_device_event_controller_init):
3291 Initialize the private data.
3292 (spi_device_event_controller_forward_key_event):
3293 Removed a bogus CORBA_exception_free() call.
3295 * registryd/deviceeventcontroller.h:
3296 Replaced inclusion of keystrokelistener.h with
3299 * test/event-listener-test.c:
3300 (report_mouse_event):
3303 Added mouse-event device listener.
3305 * test/test-simple.c:
3306 (create_test_window):
3307 Fixed regression (we were instantiating a GtkRange,
3308 which is now an abstract class). Also fixed to match
3309 existing AtkRole names, this seems to have changed in ATK
3310 awhile ago; too late now I think, and the new
3311 mechanism is at least elegant and consistent with the
3312 glib enum "nick" APIs.
3314 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3316 * idl/Accessibility_Relation.idl:
3317 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3318 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3319 * idl/Accessibility_Role.idl:
3320 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3321 * idl/Accessibility_State.idl:
3322 add STATE_MANAGES_DESCENDANTS
3323 * test/event-listener-test.c:
3324 Added a listener for active-descendant events.
3326 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3328 * atk-bridge/bridge.c
3329 (atk_bridge_init): If application is Bonobo component wait until top
3330 level is added before registering
3331 (spi_atk_bridge_do_registration): New function which contains code,
3332 formerly in atk_bridge_init, to do application registration.
3333 (spi_atk_bridge_toplevel_added): Signal called when top level
3334 added to Bonobo component
3336 This fixes bug #83134.
3338 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3340 * registryd/deviceeventcontroller.c
3341 Fixed compilation error caused by calling gettimeofday()
3344 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3349 Added template for HAVE_XKB.
3352 Changes to check for XKB, and to set the HAVE_XKB #define if it
3355 * libspi/listener.c:
3356 ()impl_notify_event): Make failure to get event source name
3359 * registryd/deviceeventcontroller.c:
3360 (#include): include X11/XKBlib.h.
3361 (DEControllerPrivateData) : New struct.
3362 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3364 (dec_synth_keycode_press) (dec_synth_keycode_release):
3365 New methods; split the key synthesis code into these methods.
3366 They check XKB settings before determining the "time" values to
3367 pass to Xtest; this fixes bug #95828.
3368 (impl_generate_keyboard_event): Changed to use methods above,
3369 instead of callng Xtest directly.
3370 (spi_device_event_controller_init): Initialize new privae struct s
3372 (spi_device_event_controllr_object_finalize):
3373 Free the (new) private data.
3375 * registryd/deviceeventcontroller.h:
3376 Add new gpointer to end of struct data.
3378 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3381 Incremented revision to 1.1.2, SONAME is still '.so', library
3382 extensions are ".so.0.0.2".
3384 * registryd/deviceeventcontroller.c:
3385 FIXES FOR #93592 and #95940.
3386 (statics): renamed mouse_button_state to mouse_mask_state,
3387 added key_modifier_mask.
3388 (spi_dec_poll_mouse_moved):
3389 Added key modifier checks, and emit "keyboard:modifiers"
3390 events when the key modifiers currently in use change.
3391 Also generate "mouse:abs" events periodically, even if the mouse
3392 is stationary (should we?).
3393 Alternatively we could generate "mouse:abs" events for either all
3394 mouse movements, or every 'nth' mouse movement, or at the
3395 beginning and end of every "active" mouse period.
3397 * test/event-listener-test.c:
3398 (main): Added listener for "keyboard:modifiers" events.
3400 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3402 * libspi/keymasks.h:
3403 Added key mask #defines for mouse buttons; e.g.
3404 SPI_KEYMASK_BUTTON1, etc.
3407 Incremented dependency on ATK to version 1.1.0. (This dependency
3408 is probably premature but will soon be real enough).
3410 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3412 * libspi/hyperlink.[ch]
3413 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3414 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3417 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3422 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3424 * registryd/deviceeventcontroller.c
3425 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3426 events to be ignored.
3427 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3428 keyboard_mode so that XAllowEvents() can be called.
3432 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3434 * cspi/spi-accessible.c: Correct names of roles returned by
3435 AccessibleRole_getName(). Fixes bug #95055.
3437 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3439 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3442 * registryd/registry.c
3443 (desktop_remove_application: Write diagnostic message to stderr for
3446 (impl_accessibility_registry_deregister_global_event_listener):
3447 Correct size of lists array. This addresses bug #94555).
3449 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3451 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3454 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3456 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3459 * registryd/registry.c (impl_registry_notify_event): Remove
3460 unnecessary call to parser_event_type().
3462 * docs/reference/cspi/tmpl/spi_component.sgml:
3463 Add reference to SPI_LAYER_WINDOW.
3465 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3467 * registryd/registry.c
3468 (desktop_add_application): Remove leak.
3469 (desktop_remove_application): Remove leak.
3470 (parser_event_type): Remove leak.
3472 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3474 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3475 bogus call to CORBA_string_dup(). Also removed unnecessary
3476 g_string_dup/g_free calls.
3478 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3480 * registryd/deviceeventcontroller.c:
3481 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3483 * test/event-listener-test.c:
3484 main: commented out three redundant listeners, to reduce output
3485 noise. (They still are potentially useful for testing).
3488 2002-09-13 Michael Meeks <michael@ximian.com>
3490 * Update all the copyrights to include Ximian.
3492 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3494 * cspi/spi.h: add SPI_LAYER_WINDOW.
3496 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3497 add Accessibility_LAYER_WINDOW case.
3499 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3501 * libspi/component.c: (impl_accessibility_component_get_layer):
3502 add ATK_LAYER_WINDOW case.
3504 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3506 * configure.in: incremented micro version.
3508 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3510 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3513 Clarified and reworded our commit policy.
3516 Started an API "todo" addition list for 2.2.
3519 (impl_getSelection):
3520 Free char pointer from atk_text_get_selection, which was being leaked.
3522 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3525 Small revision to author acknowledgement.
3527 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3529 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3530 If signal has detail add it to the type of the event.
3533 2002-08-12 Michael Meeks <michael@ximian.com>
3535 * test/test-simple.c (global_listener_cb): bin bogosity.
3536 (test_keylisteners): disable, still doesn't work reliably,
3537 certainly not on my system anyway.
3539 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3540 don't leak a reference on the DEC. This round-trip
3541 fetching of the DEC per keystroke sucks, it should be
3544 * cspi/spi-private.h,
3545 * cspi/cspi-lowlevel.h,
3546 * cspi/bonobo/cspi-bonobo-listener.[ch],
3547 * cspi/bonobo/cspi-bonobo.c: get the copyright
3548 notices better - there is still a large amount of
3549 work in at-spi falsely attributed solely to Sun.
3551 * cspi/spi_main.c (cspi_object_ref): kill bogus
3552 hash lookup, just increment the ref.
3553 (SPI_freeString): make explicit the fact that we
3554 handle NULL strings just fine.
3555 (report_leaked_ref): obey coding standards.
3556 (cspi_object_hash, cspi_object_equal): kill retval.
3557 (cspi_object_release): only release if not on loan.
3558 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3559 (cspi_object_borrow, cspi_object_return): impl.
3561 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3562 use cspi_object_borrow / return.
3564 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3566 * cspi/bonobo/cspi-bonobo-listener.c:
3568 Don't call cspi_oject_new() because this is creating a new Accessible
3569 every single time that an event is fired. This causes ATs like at-poke
3570 to nolonger recognise the source of the event and thus ignore it.
3571 Re-use the object from the cache, ref it and then unref it after the
3572 listeners have been called.
3574 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3576 * test/event-listener-test.c:
3577 Added command-line options to disable mouse events (m) and
3580 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3582 * configure.in: Update required versions of ATK, GTK+ and GAIL
3584 * cspi-1.0.pc.in: Add dependency for X include files
3587 * cspi/bonobo/Makefile.am:
3588 Add $(X_CFLAGS) so that X include files
3589 are picked up even if not in standard place (bug #71686)
3591 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3593 * registryd/deviceeventcontroller.c: fix for 84261
3594 (spi_dec_mouse_moved):
3595 Added test of mouse button mask, so that we can detect mouse
3596 button release. Unfortunately we can't otherwise detect mouse
3597 button release events without consuming the mouse press event,
3598 because of the way XGrabButton works. This means that our mouse
3599 release events have a latency dependent on the polling period
3600 while the mouse button is down. At least in this case we only
3601 have to poll while the button is down, and not at other times.
3602 If the button masks don't match with what the last press event
3603 reported, we report the appropriate button release event.
3604 (spi_dec_ungrab_mouse):
3605 New method (not yet called).
3606 (spi_device_event_controller_forward_mouse_event):
3607 New method, sends mouse press event from GdkFilter.
3608 (spi_dec_init_mouse_listener):
3609 Added code to call XGrabButton, redirecting mouse button events to
3610 the root window and our Gdk event loop.
3612 Added code to filter mouse button events, and reordered.
3614 * test/event-listener-test.c:
3616 Added registration for mouse events of type "mouse:button".
3618 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3620 * registryd/deviceeventcontroller.c: partial fix for 84261
3621 (spi_dec_poll_mouse_idle):
3622 New method, a timeout which checks to see if the mouse
3624 (spi_dec_poll_mouse_moving):
3625 A timeout to be called when mouse motion is underway.
3626 (spi_dec_poll_mouse_moved):
3627 A method which fires an event if the mouse has moved, and reports
3628 whether or not it did so.
3629 (spi_dec_init_mouse_listener):
3630 A method which sets up the timeouts above.
3631 (spi_device_event_controller_new):
3632 Now calls spi_dec_init_mouse_listener.
3634 * registryd/registry.c:
3635 (spi_registry_init):
3636 Now we initialize the device event controller when the registry is
3637 initialized, instead of waiting until a client has requested a key
3638 event notification; this is because we need the event controller
3639 for mouse events, but the mouse event registration API is a
3640 "registry" call and doesn't explicitly call the
3641 deviceeventcontroller.
3642 We now report mouse motion events with a 100 ms idle latency and
3643 a 20 ms granularity when motion is in progress.
3645 * test/event-listener-test.c:
3647 We now register the "detail listener" for events of type
3648 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3649 delivered only for the first mouse event received, and thereafter
3650 "mouse:abs" events are delivered.)
3652 * cspi/spi_registry.c:
3653 DOCS: Documented the above mouse event typestrings.
3655 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3657 Happy Summer Solstice...
3659 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3660 (spi_controller_notify_keylisteners):
3661 Changes to remove a listener from the listener list, freeing its
3662 open keygrabs, if a notification to that listener fails. This
3663 means that although a dead listener can continue to hold a passive
3664 keygrab, a maximum of one dispatch to such a listener can fail
3665 before the listener is removed from the list, thus the keygrab
3666 will be released on the next occurrence.
3667 As part of this fix:
3668 (spi_notify_keylisteners):
3669 Renamed to spi_controller_notify_keylisteners, as the controller
3670 instance must now be passed as an argument.
3671 The copied 'notify' GList is now a list of DEControllerKeyListener
3672 objects, since we need more than just the CORBA reference if a
3673 notify fails and we need to deregister the listener.
3674 (impl_notify_listeners_sync):
3675 (impl_notify_listeners_async):
3676 (spi_device_event_controller_forward_key_event):
3677 Modify use of notify_keylisteners in accordance with above
3679 (spi_deregister_controller_key_listener):
3680 New method introduced by refactoring, from
3681 impl_deregister_keystroke_listener.
3682 (impl_deregister_keystroke_listener):
3683 Call spi_deregister_controller_key_listener.
3684 (spi_key_listener_clone):
3685 New method to copy a key listner without doing a 'ref' on the
3686 remote object instance; used to create a notifier list.
3687 (spi_key_listener_data_free):
3688 New method, frees data without unreffing the source.
3690 (spi_key_listener_clone_free): new method.
3691 (spi_key_listener_free):
3692 refactored to call spi_key_listener_data_free.
3694 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3696 * registryd/registry.c: [fix for bug 86048]
3697 (notify_listeners_cb):
3698 Clear CORBA system exceptions which occur when notifying
3699 listeners, before returning to the source of the original event,
3700 since the event source doesn't care if the relayed notify failed.
3701 In other words, don't complain to the atk-bridge if the registry
3702 could not notify all its listeners, that's no fault of the
3703 application and thus should not appear to be an error from the
3704 application's perspective.
3706 * cspi/spi_main.c: [fix for bug 85980]
3708 Replaced use of bonobo_object_dup_ref with call to the wrapper
3709 method, csou_dup_ref (); this silences a compiler warning and
3710 provided more portability.
3712 Ping the registry before return, and restart if necessary.
3714 * cspi/bonobo/cspi-bonobo.c:
3716 New internal method.
3718 Fixed this method to return an object reference, as it should have
3721 * cspi/cspi-lowlevel.h:
3722 Added internal definition for cspi_ping() and fixed
3723 return type of cspi_dup_ref().
3726 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3728 * atk-bridge/bridge.c: [fix for bug 85305]
3729 (spi_atk_bridge_register_application):
3730 New method where the initial application registry calls have been
3731 moved; it allows an application to re-register in response to
3732 certain error conditions (such as a registry restart, see below).
3734 Moved some initialization code to the method
3735 spi_atk_bridge_get_registry, below.
3736 (spi_atk_bridge_get_registry):
3737 New, private accessor function for the Accessibility_Registry
3738 instance. If the registry has not been started before, or has
3739 died (as detected by failure of a CORBA exception), it is
3740 restarted before return, and spi_atk_bridge_register_application
3741 is called again to register with the new bridge instance.
3742 (spi_atk_emit_eventv):
3743 Set registry_died on error; use spi_atk_bridge_get_registry () to
3744 access the registry.
3746 * registryd/registry.c:
3747 (impl_accessibility_registry_register_global_event_listener):
3748 Set listener's event_type_quark to etype.minor instead of
3749 etype.major (fix for bug 84856).
3751 * test/event-listener-test.c:
3752 (report_detail_event):
3753 Change the output string so that user/tester can tell that the
3754 'detail listener' was called instead of the 'generic listener'.
3756 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3758 Fixes for bugs 84900, 84908, 84897, 84898.
3763 Revved version to 1.1.0
3764 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3765 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3767 * idl/Accessibility_Registry.idl:
3768 (EventListener::notifyEvent):
3769 Removed 'oneway' directive after extensive consulation with
3770 ORBit2 team and others. This means also that unref() of the event
3771 source can and should be done synchronously after emission, rather
3772 than remotely in the client, after servicing the notify call on
3775 NOTE: This change speeds up listener performance considerably, but
3776 introduces new latency on the application side. We may want to
3777 add an event queue to the atk-bridge.
3779 * atk-bridge/bridge.c:
3780 (spi_atk_bridge_focus_tracker):
3781 Do a local unref() on the event source after emission.
3783 * registryd/registry.c:
3784 (desktop_remove_application):
3785 Do an unref() on the event source after emission.
3786 (desktop_add_application):
3787 Do an unref() on the event source after emission.
3788 (notify_listeners_cb):
3789 When relaying an event, don't automatically add the event source
3790 to the local object cache, just CORBA_dup it instead. Likewise,
3791 if this method reenters, release the ref rather than calling
3793 (impl_registry_notify_event):
3794 No longer call remote unref() on the event source after dispatch.
3796 * libspi/eventlistener.c:
3797 (impl_accessible_event_notify_event):
3798 Removed remote unref ()
3800 * cspi/bonobo/cspi-bonobo-listener.c:
3802 We now call cspi_object_new() instead of cspi_object_add() on
3803 receipt of an event; thus we only have an implicit object ref
3804 while the cspi_event method is being executed. If we need to keep
3805 a reference to the object, the listener must call ref() on the
3806 object. Thus also we don't need to call cspi_object_unref() after
3807 invoking the listener callbacks in this method.
3811 New internal API for creating a new cspi object, without adding it
3812 to the object cache.
3814 Now uses cspi_object_new() to create the cspi object instance.
3816 Now checks to see if the object is in the internal object cache,
3817 and adds it if necessary before incrementing its refcount (note
3818 that new objects are added with a refcount of 1).
3819 (report_leaked_ref):
3820 New method which gives some information on leaked object instances
3821 if leak detection is turned on.
3823 * test/event-listener-test.c:
3824 (timing_test_event):
3825 New method, used for testing event delivery timing for special
3826 events of type "object:test". It reports elapsed time and
3827 events/sec every 500 events.
3829 Added a new listener, 'test listener', to check timing of event
3830 receipt as noted above.
3832 Added some timing output here also, reports elapsed time every 100
3835 * test/stress-test.c:
3836 Emit events of type "object:test", for use with "event-listener-test".
3838 * test/test-simple.c:
3839 (global_listener_cb):
3840 Call Accessible_ref() on the event source before calling
3841 validate_accessible, since the validation process does pointer
3842 comparisons on the event source, meaning that the event source
3843 needs to be added to the local object cache first. Any use of
3844 such pointer comparisons between Accessible objects requires that
3845 the caller hold an explicit reference to those objects.
3846 We also must therefore call Accessible_unref() when leaving this method.
3848 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3850 * registryd/deviceeventcontroller.c:
3851 (spi_controller_update_key_grabs):
3852 Fix for #84735, subsequent keygrab listeners not informed of
3853 registration failure.
3856 (spi_base_construct):
3857 Add an assertion on construct, to make sure the GObject passed in
3858 is really a GObject.
3860 Explicitly initialize object->gobj pointer to NULL;
3862 * cspi/bonobo/cspi-bonobo-listener.c:
3863 (cspi_object_add_ref):
3864 New method, can specify whether to dup-ref a bonobo object passed
3865 in if it's newly added to the object cache.
3867 Now calls cspi_object_add_ref with second param of "FALSE". This
3868 prevents us from doing a pointless dup-ref followed by
3869 release-unref for all those cases where the object is already in
3870 our object cache (fix for #85205).
3872 * atk-bridge/bridge.c:
3873 (spi_atk_bridge_idle_init):
3874 Removed this method, we don't need to initialize in an idle
3877 Changed to call spi_atk_register_event_listeners directly, not via an
3878 idle handler. (fix for #81139)
3879 (gnome_accessibility_module_shutdown):
3880 Removed conditional around deregistration of listeners, since we
3881 don't use the idle handler and thus have always registered when
3883 (spi_init_keystroke_from_atk_key_event):
3884 Changed references to Accessibility_KEY_PRESSED to
3885 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3887 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3889 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3894 * test/stress-test.c:
3897 (may have been an incomplete commit yesterday?)
3899 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3902 Added target for new stress-test.
3904 * test/stress-test.c:
3905 New test, sends 1000 focus notifies in quick succession.
3907 * test/key-listener-test.c:
3908 Now we report whether a keylistener registration
3909 request succeeded or failed.
3911 * test/event-listener-test.c:
3912 Uncommented some listeners which are now implemented.
3915 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3917 * registryd/deviceeventcontroller.c:
3918 (spi_controller_update_key_grabs):
3919 Fix for #82509, lack of failure notification when
3920 ALL_WINDOWS keygrabs fail due to XGrabKey
3921 failure: we synchronize the server when
3922 registering a passive grab, to make sure we get the
3923 error message before the call returns.
3925 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3927 * test/test-simple.c:
3929 Removed #ifdef KEY_IMPL_WORKS guards.
3930 (test_keylisteners):
3931 Removed #ifdef KEY_IMPL_WORKS guards.
3932 Fixed bug which was causing a hang waiting for a
3933 "press" event (which was already overwritten by a "release"
3934 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3936 Added code to set globals 'key_press_received' and
3937 'key_release_received'.
3940 Added section "1.1 API Proposed Additions" which
3941 lists API additions desired for at-spi-1.1 (only one so far).
3942 Updated TODO list a little.
3944 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3946 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3949 * configure.in: Revved to 1.0.0.
3951 * idl/Accessibility_Registry.idl:
3952 (registerKeystrokeListener):
3953 Added boolean return value.
3955 * registryd/registry.c:
3956 (notify_listeners_cb): Minor fix to debug output.
3958 * registryd/Accessibility_Registry.server.in.in:
3959 Revved version number in OAFIID to 1.0.
3961 * registryd/registryd.c:
3963 Use new OAFIID version.
3965 * cspi/bonobo/cspi-bonobo.c:
3967 Use new OAFIID version.
3973 * atk-bridge/bridge.c:
3975 Use new OAFIID version.
3977 * registryd/deviceeventcontroller.c:
3978 (impl_register_keystroke_listener):
3979 Added CORBA_boolean return value.
3980 (spi_controller_register_device_listener):
3981 Added gboolean return value.
3982 (spi_controller_register_global_keygrabs):
3983 Added gboolean return value.
3984 (spi_key_set_contains_key):
3985 Added implementation for many more control keys,
3986 for instance F1-F12, arrow keys, End, Home, Page_Up,
3988 [TODO: some still not implemented].
3990 * text/screen-review-test.c:
3991 (text_chunk_pad_string):
3992 New function: it provides mapping between coordinate
3993 positions of text chunks and character positions in the
3994 screen-review-line output string.
3995 (text_chunk_to_string):
3996 New function, calls text_chunk_pad_string with various
3997 pad/delimiter characters. Pushbuttons are delimited with
3998 square brackets, Frames with vertical 'pipe' lines, and
3999 other text with double quotes.
4000 (text_chunk_list_to_string):
4001 Calls new function text_chunk_to_string.
4002 (toplevel_composite):
4003 New function to composite layers CANVAS through
4004 POPUP in each toplevel (other layers are composited
4005 across toplevels, i.e. BACKGROUND and OVERLAY).
4006 (review_buffer_composite):
4007 Revise to use new methods.
4013 2002-05-31 Laszlo Peter <laca@sun.com>
4015 * configure.in: add the Xtst libdir to the runpath on Solaris,
4016 since it's not in the default library search path.
4018 2002-05-29 jacob berkman <jacob@ximian.com>
4020 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4022 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4024 * test/screen-review-test.c:
4025 (text_chunk_pad_string):
4026 Added method, which pads the string according to the
4027 text bounds of the chunk. It also takes a 3-character
4028 string as a param which indicates the characters to be
4029 used for start, padding, and end delimitation of the chunk.
4030 (text_chunk_to_string):
4031 Changed to use text_chunk_pad_string.
4033 * configure.in: Fixed bug in AC_OUTPUT that was
4034 causing path substitution in Accessibility_Registry.server
4037 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4039 * text/screen-review-test.c:
4040 (guess_string_clip):
4041 New method which attempts a best-guess at clipping
4042 text from components (like Java labels) which don't
4043 actually implement AccessibleText. This inaccurate
4044 clip is based on the assumption that the label is
4045 justified left-and-right, and monospaced.
4046 (text_chunk_get_clipped_string):
4047 We now call guess_string_clip() for text-containing
4048 components that don't implement AccessibleText.
4050 * test/screen-review-test.c:
4051 (review_buffer_get_text_chunk):
4052 We now pull "name" from labels if they do not implement
4053 AccessibleText (i.e. for Java labels).
4054 (get_screen_review_line_at):
4055 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4058 Replaceded AC_OUTPUT target
4059 registryd/Accessibility_Registry.server with
4060 registryd/Accessibility_Registry.server.in.
4062 * registryd/Accessibility_Registry.server.in:
4063 Removed (this is now a Makefile target).
4065 * registryd/Accessibility_Registry.server.in.in:
4066 Added (source for target above). We now use $(libexecdir) as
4067 prefix for the executable at-spi-registryd.
4069 * registry/Makefile.am:
4070 Now install at-spi-registryd into $(libexecdir), and build .server
4071 file with path (see above).
4073 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4075 * test/screen-review-test.c:
4076 (text_chunk_get_clipped_string):
4077 We now check to see if words fall within clip bounds
4078 before resorting to character-by-character clip bounds testing.
4080 * TODO: Added a section for "2.2 Proposed API Additions".
4082 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4084 * test/screen-review-test.c:
4086 Added a screen review benchmarking and test program to test
4089 * cspi/spi_accessible.c:
4091 Made some of the debug strings passed to cspi_check_ev a
4092 little more specific.
4094 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4096 * test/screen-review-test.c: Fix crashes in debug statements
4098 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4100 * test/screen-review-test.c: Added this file.
4102 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4104 * atk-bridge/bridge.c: changed "object:state-change" to
4105 "object:state-changed" to match docs.
4107 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4109 * atk-bridge/bridge.c: Hooked up state-change event details.
4111 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4113 * registryd/registry.c:
4114 Fixed quarking bug in event string parsing; now events with
4115 detail parameters get matched correctly to listeners.
4118 * util/idl/Magnifier.idl: remove.
4120 * util/*.[ch]: Remove.
4121 Magnification utilities and IDL are now in module gnome-mag.
4123 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4125 * registryd/deviceeventcontroller.c:
4126 Fixed bug in grab key conversion which was causing keycode grabs
4127 to be converted to AnyKey grabs.
4130 updated NEWS file to reflect recent spin-off of gnome-mag.
4132 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4134 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4135 busted AccessibleStateSet_compare. Removed redundant casts.
4137 * cspi/spi-action.c: Removed redundant casts.
4139 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4141 * cspi/spi_component.c: Fixed typos and casting error.
4143 * cspi/spi_editabletext.c: Removed redundant casts.
4145 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4147 * cspi/spi_hypertext.c: Eliminated redundant casts.
4149 * cspi/spi_image.c: Eliminated redundant casts.
4151 * cspi/spi_registry.c: Eliminated redundant casts.
4152 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4153 * cspi/spi_selection.c: Removed redundant casts.
4154 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4155 handling. Screen geometry and text offsets were being returned as 0
4156 on error which is technically valid-- changed these to return -1.
4157 Added marshaller for text boundary types to fix bug with boundary
4158 types being passed incorrectly to atk.
4160 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4163 * cspi/spi_registry.c:
4164 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4165 which was uncovered by the recent key changes.
4167 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4169 * test/event-listener-test.c:
4171 Added new test, "event-listener-test";
4172 this code does two things; it benchmarks traversal time
4173 for the accessible hierarchy for the first running accessible
4174 app, and it connects listeners for all supported event types.
4175 It is thus useful as an example event listener and for
4176 diagnostics/debugging of event generation.
4178 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4181 Removed unnecessary dependency on libutil.
4184 Revved micro version: 0.13.1
4186 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4189 Removed util/Makefile from targets.
4192 Removed util subdir from SUBDIRS (temporarily,
4193 pending removal of magnifier-only code
4197 #ifdef-ed out magnifier dependencies, since
4198 magnifier IDL, headers, and binary now live in
4199 module gnome-mag and we don't want at-spi to depend
4200 on gnome-mag. A magnifier demo which can run alongside
4201 simple-at is forthcoming in the gnome-mag module.
4203 NOTE: Split magnifier binary, IDL, and magnification
4204 activation code from at-spi into module gnome-mag.
4206 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4208 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4209 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4211 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4214 Revved to version 0.13.0
4216 * idl/Accessibility_Registry.idl:
4217 Changed definition of KeySet from sequence of longs to sequence of
4218 KeyDefinitions, and added KeyDefinition struct.
4219 Required for fix to bug 80616.
4221 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4222 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4223 to use new definition (see above).
4225 * registryd/deviceeventcontroller.c: handle_keygrab(),
4226 spi_keyset_contains_key():
4227 Changed to make use of new struct; this allows matching based on
4228 string key-name, for instance "Tab". This also allows matching of
4229 composed characters, non-alphanumeric characters in a way that
4230 doesn't involve dependencies on X keysym codes directly, etc.
4232 * test/key-listener-test.c:
4233 Added test for Alt-Tab key using "string" specification of keyset,
4234 and modified one of the tests to use a keycode-based keyset.
4235 Thus this test both tests and demonstrates the creation and use of
4236 keysets of three forms: specified via keycode array,
4237 keysym array, and string array. (The string case only contains a
4238 single string, i.e. a string array of length 1).
4241 Turned on PRINT_TREE option by default. Also fixed a
4242 string-freeing bug in the PRINT_TREE code.
4243 Added a listener to window:minimize events.
4245 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4247 * atk-bridge/bridge.c:
4248 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4249 for window:activate and window:deactiveate
4250 (atk_bridge_property_event_listener atk_bridge_signal_listener
4251 atk_bridge_window_event_listener) Tidy debug code
4253 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4255 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4256 Fixed handling for NULL return value from ATK.
4258 * libspi/action.c libspi/component.c libspi/editabletext.
4259 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4260 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4261 Removed redundant casts.
4263 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4264 Fixed off by one bug.
4266 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4267 function not present in idl)
4269 2002-05-02 jacob berkman <jacob@ximian.com>
4271 * atk-bridge/Makefile.am: make atk-bridge a real module
4273 2002-04-26 Radek Doulik <rodo@ximian.com>
4275 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4276 atk_state_types table
4278 2002-04-22 jacob berkman <jacob@ximian.com>
4281 * libspi/Makefile.am: add deps on the built files to help
4282 automake, and don't version the ORBit typelib
4284 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4286 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4287 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4288 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4289 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4290 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4291 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4292 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4293 libspi/accessible.h libspi/accessible.h libspi/base.h
4294 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4295 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4296 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4297 libspi/spi-private.h libspi/statetset.h libspi/table.h
4298 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4299 util/mag_client.h util/mag_control.c util/mag_image.c
4300 util/mag_image.h util/magnifier.c util/magnifier.h:
4301 Add missing file headers; standardize existing ones
4303 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4305 * atk-bridge/bridge.c: Added window event support.
4307 2002-04-18 Michael Meeks <michael@ximian.com>
4309 * libspi/relation.c (impl_getNTargets): impl.
4310 (impl_getTarget): impl.
4312 * libspi/Makefile.am: fix stateset install.
4314 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4317 Started putting useful info in this file.
4319 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4321 * atk-bridge/bridge.c:
4322 Propagate state-changed notifications to ATs
4324 * cspi/spi_registry.c: update docs to reflect actual behavior of
4325 state-change events.
4327 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4330 Incremented version to 0.12.1
4332 * util/mag_client.h:
4333 Add missing declaration for magnifier_exit,
4334 used by mag_control.c - Forte compiler didn't like
4335 the implicit redeclaration of the function :-(
4338 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4341 Revved version to 0.12 due to API change (see below).
4343 * cspi/spi-roletypes.h:
4344 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4345 definition from the inline docs, and added docs
4346 for SPI_ROLE_LAST_DEFINED.
4349 * cspi/spi_streamablecontent.c:
4350 Added missing seek_type parameter to
4351 (so far unused) method,
4352 AccessibleStreamableContent_seek().
4353 [ RT approval JodyG. ]
4356 Fixed docs for SPI_createAccessibleKeystrokeListener.
4358 * cspi/spi_registry.c:
4359 Fixed docs for SPI_KEYSET_ALL_KEYS.
4361 * docs/reference/cspi/at-spi-cspi-sections.txt:
4362 Added a number of missing APIs to SECTIONS.
4364 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4366 * registryd/Makefile.am:
4368 * cspi/bonobo/Makefile.am:
4369 Add $(X_LIBS) to makefiles.
4371 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4374 Revved version to 0.11.
4376 * libspi/component.c:
4377 Added implementation for grabFocus.
4379 * idl/Accessibility_Component.idl
4380 (Accessibility_Component_grabFocus):
4381 Made this method return boolean to indicate success or failure, to
4382 be consistent with cspi and the corresponding ATK method.
4384 * idl/Accessibility_Selection.idl
4385 (Accessibility_Selection_selectAll) :
4386 Made these methods return boolean to indicate success or
4387 failure, to be consistent with cspi and the corresponding ATK methods.
4389 * idl/Accessibility_EditableText.idl
4390 (Accessibility_EditableText_setTextContents,
4391 Accessibility_EditableText_insertText,
4392 Accessibility_EditableText_cutText,
4393 Accessibility_EditableText_deleteText,
4394 Accessibility_EditableText_pasteText):
4395 Made these methods return boolean to indicate
4398 * cspi/spi_editabletext.c:
4399 Made these methods return booleans.
4401 * libspi/selection.c:
4402 * libspi/component.c:
4403 * libspi/editabletext.c:
4404 Connected the boolean returns from ATK
4405 to the server-side code referenced above.
4407 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4409 * idl/Accessibility_Table.idl: Added missing methods,
4410 Accessibility_Table_addRowSelection,
4411 Accessibility_Table_addColumnSelection,
4412 Accessibility_Table_removeRowSelection,
4413 Accessibility_Table_removeColumnSelection.
4416 Added C wrappers for above IDL:
4417 AccessibleTable_addRowSelection,
4418 AccessibleTable_addColumnSelection,
4419 AccessibleTable_removeRowSelection,
4420 AccessibleTable_removeColumnSelection.
4423 Added server-side implementation code for IDL above, connecting
4424 to pre-existing ATK api.
4426 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4428 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4430 * libspi/accessible.c: Added implementation fo
4431 Accessibility_Accessible_get_state.
4433 * libspi/libspi.h: Added stateset.h to the list of includes.
4435 * libspi/stateset.c: Fixed broken implementation.
4437 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4440 Added implementation code for Accessibility_Magnifier_exit ().
4442 * util/mag_control.c:
4443 Added test code for above method; you can
4444 now kill an existing magnifier via
4445 ./mag_control q, from the util directory.
4447 * test/key-listener-test.c:
4449 Added a new test, for our key listener API.
4451 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4453 * test/app.c, test/keysynth-demo.c:
4455 Replace use of snprintf with g_snprintf.
4456 (fix for bugzilla 78249)
4458 2002-03-27 Michael Meeks <michael@ximian.com>
4462 * util/Makefile.am (INCLUDES): fix.
4463 (DONT_DIST_SOURCE): don't distribute the
4466 * libspi/Makefile.am (dist-hook): ditto.
4468 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4470 * libspi/hypertext.c:
4471 Fix warnings when yelp is used with atk-bridge
4473 2002-03-21 Michael Meeks <michael@ximian.com>
4475 * libspi/application.c (spi_application_new):
4476 use spi_accessible_construct so we use the AtkObject
4479 2002-03-19 Michael Meeks <michael@ximian.com>
4481 * registryd/registry.c (desktop_remove_application),
4482 (desktop_add_application): clean coding style.
4484 * registryd/desktop.c (spi_desktop_remove_application),
4485 (spi_desktop_add_application): kill re-enterency hazards.
4486 (spi_desktop_dispose): remove bogus redundant cast
4487 obscuring bug; fix bug too.
4488 (spi_desktop_init): make the desktop object immortal.
4490 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4493 Added a #define-guarded tree-traversal step
4494 when enumerating the apps (diagnostic tool).
4496 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4498 * idl/Accessibility_Role.idl:
4499 Added ROLE_DRAWING_AREA which seemed to be missing from the
4502 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4504 * cspi/spi-roletypes.h cspi/spi_accessible.c
4505 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4508 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4509 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4510 AT when applications are added and removed from the desktop. This
4511 reverts the previous broken implementation using the backing
4512 AtkObject for the SpiDesktop.
4514 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4516 * registryd/desktop.c: emit the "children-changed::add" and
4517 "children-changed::remove" signals on the backing ATK object for
4518 the desktop so AT can tell when applications are started and shut
4521 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4523 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4525 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4527 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4529 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4531 * cspi/state-types.h: synched with IDL and ATK
4533 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4535 * libspi/accessible.c
4536 (impl_accessibility_accessible_get_child_at_index):
4537 Change return value for g_return_if_fail ()
4538 to CORBA_OBJECT_NIL instead of "0" (!)
4540 * registryd/Makefile.am:
4541 * registryd/Accessibility_Register.server.in:
4542 Changed name of executable, "registryd",
4543 to something more informative:
4546 2002-03-13 Michael Meeks <michael@ximian.com>
4548 * atk-bridge/bridge.c (atk_bridge_init): don't register
4549 if we're in a bonobo-component, rather than a bonobo app.
4551 2002-03-13 Michael Meeks <michael@ximian.com>
4553 * atk-bridge/bridge.c (gtk_module_init): split
4554 out body to (atk_bridge_init): here, since otherwise
4555 we get symbol conflicts and oddness when invoked
4556 from (gnome_accessibility_module_init): here (upd.)
4558 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4561 New file. Explicitly allow "build sheriff" putbacks provided
4562 they are tested on Solaris.
4564 * docs/reference/cspi/Makefile.am:
4565 Added '-' to the "cp" command for index.sgml.
4566 ("patch by thomasvs, soon coming to a GUADEC near you")
4569 Incremented version number (0.9.0) for new release.
4570 Changed macro that checks for popt, to better detect
4571 obsolete versions of popt.
4574 Added X_LIBS to AC_SUBST, for applications
4575 that call Xlib API directly.
4578 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4581 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4584 Fix regression caused by hard-coding major
4585 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4588 * test/test-simple.c (test_editable_text),
4589 (test_test): revert previous change (error was
4590 a regression in gail which is now fixed).
4592 2002-03-04 Michael Meeks <michael@ximian.com>
4594 * test/test-simple.c (test_editable_text),
4595 (test_text): pass G_MAXINT instead of '-1' for
4596 whole string - is this a good thing !?
4598 * cspi/spi_accessible.c
4599 (Accessible_getRelationSet): fix crasher bug
4600 overwriting the end of the array.
4602 * test/test-simple.c (validate_accessible): free,
4603 not g_free returned relation set.
4605 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4607 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4608 implemented stateset support
4610 * idl/Accessibility_State.idl: Made necessary changes to
4611 the IDL to support state sets.
4613 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4615 * registryd/deviceeventcontroller.c:
4616 Added implementation for generateMouseEvent.
4618 * cspi/spi_registry.c:
4619 Connected new implementation for generateMouseEvent
4622 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4625 Incremented revision (but no change in public API
4626 outside of 'utils', which are not installed public yet.)
4628 * libspi/component.c:
4629 Changed to use atk_component API for layers and
4630 mdi_zorder, instead of deprecated atk_object API.
4632 Magnification Utility Enhancements:
4635 Added implementation of createZoomRegion, clearAllZoomRegions,
4636 resizeZoomRegion. Added new commandline argument
4637 "--no-initial-region". Note that clearAllZoomRegions doesn't
4638 unmap the old '0' region as it should (yet), and the other
4639 methods only work when creating/resizing a single region,
4640 which is "region 0".
4641 (Code for multiple region support will be added later.)
4644 Now we raise the magnifier window each time it's refreshed;
4645 this will help keep it on top.
4647 * util/mag_client.h:
4648 Added simple wrappers for above, used by mag_control.
4649 For general use, it's recommended to use the bonobo magnifier
4650 control API directly instead of using these wrappers.
4653 Moved ZoomRegionData from magnifier.c to this file.
4655 * util/mag_control.c:
4656 Added some code to exercise new IDL implementations.
4658 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4660 * libspi/text.c: Provide implementation for getAttributes.
4662 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4665 Incremented revision.
4667 * test/test-simple.c:
4668 Replaced use of deprecated g_main_iteration with
4669 g_main_context_iteration.
4671 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4674 Incremented revision for desktop alpha 2.
4676 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4678 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4681 * test/simple-at.c: include netinet/in.h.
4683 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4685 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4686 use NULL, not CORBA_OBJECT_NIL.
4688 * libspi/accessible.c:
4689 (impl_accessibility_accessible_get_relation_set):
4690 allocate the sequence correctly.
4692 * libspi/remoteobject.h: kill spi_remote_object_new.
4694 * test/test-simple.c: (validate_accessible): add code
4695 to test relation sets, now all we need is to figure
4696 out how to excercise this code path :/
4698 2002-01-18 Michael Meeks <michael@ximian.com>
4700 * test/test-simple.c
4701 (key_listener_cb): consume the key.
4702 (test_keylisteners): update.
4703 (main): wait for any pending unrefs on events.
4705 * registryd/deviceeventcontroller.c
4706 (spi_controller_update_key_grabs): only re-issue the
4707 grab on a key release.
4708 (spi_device_event_controller_forward_key_event):
4709 refresh the keygrabs before we notify the listeners,
4710 to reduce the X ungrab / re-grab race.
4711 (spi_controller_register_with_devices): remove
4712 XSelectInput - we do that with the gdk_window_ call.
4713 (_spi_controller_device_error_handler): return a value.
4714 s/GDK_DISPLAY/spi_get_display/
4716 2002-01-17 Michael Meeks <michael@ximian.com>
4718 * registryd/deviceeventcontroller.c
4719 (_deregister_keygrab): don't blow out the later
4722 * test/test-simple.c (test_keylisteners): do a
4723 more intelligent validation.
4725 2002-01-14 Michael Meeks <michael@ximian.com>
4727 * atk-bridge/bridge.c
4728 (gnome_accessibility_module_init),
4729 (gnome_accessibility_module_shutdown): impl.
4730 (gtk_module_init): protect vs. double inits.
4731 (add_signal_listener): impl.
4732 (spi_atk_bridge_state_event_listener): kill
4733 (deregister_application): split out of
4734 (spi_atk_bridge_exit_func): here.
4736 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4739 Added caret tracking when using magnifier, and
4740 now use text bounds for focus tracking of text elements, rather than
4741 the component bounds - this is helpful for short text fields in long
4742 table cells, at high magnification.
4744 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4746 * registryd/deviceeventcontroller.c:
4747 Regression fix for keylistener de-registration; global keygrabs
4748 were not being released when deregisterKeystrokeListener was
4749 called in cspi, since
4750 Accessibility_DeviceEventController_deregisterKeystrokeListener
4751 was called with a zero-length keyset. That is because the cspi
4752 method, SPI_deregisterKeystrokeListener, does not take a keyset
4753 parameter but instead should remove all the key grabs held be a
4755 The code in impl_deregister_keystroke_listener was changed to copy
4756 the keylist from the listener instance previously registered with
4757 the DeviceEventController before releasing the grabs.
4759 * registryd/registry.c:
4760 * registryd/deviceeventcontroller.c:
4761 * libspi/spi-private.h:
4763 Changed spelling of "re-enterant" to "re-entrant" globally.
4765 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4767 * test/test-simple.c:
4768 Changed key listeners test - the test was slightly mis-using the
4769 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4770 It now uses '=' as the key event listened to and generated,
4771 relying on a keysym match rather than assuming that keycode 33
4772 is always equal to keysym '!'.
4774 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4777 Changed simple-at to use a specific keyset, rather than
4778 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4779 manager, desktop, etc.
4781 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4783 * registryd/deviceeventcontroller.c:
4784 Replaced standard X error handler with a special handler that
4785 is non-fatal for failed keygrabs. This works around
4786 problems with keygrab clashes sometimes observed on
4788 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4789 mouse handling code as yet).
4791 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4794 Incremented revision for desktop alpha release.
4797 Fixed a couple of the more glaring errors (still not
4800 2002-01-11 Michael Meeks <michael@ximian.com>
4802 * registryd/deviceeventcontroller.c
4803 (spi_device_event_controller_forward_key_event): kill
4804 XUngrabKey / XKeyGrab race.
4805 (spi_controller_grab_keyboard): rename to
4806 (spi_controller_update_key_grabs): this, and deal
4807 with incremental adding / removing grabs more
4809 (_register_keygrab): ensure we're not pending a remove.
4810 (spi_grab_mask_free): impl.
4811 (spi_controller_register_global_keygrabs): split out
4813 (handle_keygrab): impl.
4814 (_deregister_keygrab): impl.
4815 (spi_controller_deregister_global_keygrabs): impl.
4816 (spi_controller_update_key_grabs): re-issue the grab if
4817 we just recieved a notification.
4819 * test/test-simple.c (key_listener_cb): remove debug.
4821 * registryd/deviceeventcontroller.c
4822 (spi_controller_register_device_listener): after
4823 registering a global keygrab, actualy register it !
4824 don't wait for a timeout; doh !
4826 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4827 to make it more readable / manipulable.
4828 s/grabmask/grab_mask/ s/refcount/ref_count/
4829 s/keyval/key_val/ s/modmask/mod_mask
4831 2002-01-08 Michael Meeks <michael@ximian.com>
4833 * registryd/deviceeventcontroller.c
4834 (spi_controller_register_with_devices): use gdk calls to
4836 (global_filter_fn): implement the filter.
4837 (spi_device_event_controller_check_key_event): rename to
4838 (spi_device_event_controller_forward_key_event): this & upd.
4839 (spi_get_display): replace with GDK_DISPLAY.
4841 * registryd/deviceeventcontroller.c
4842 (spi_controller_deregister_device_listener): unroll into
4843 (impl_deregister_keystroke_listener): here to simplify.
4844 (spi_controller_register_global_keygrabs): split cut and
4845 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4846 (spi_controller_deregister_device_listener): remove.
4847 (impl_register_mouse_listener): remove, no mouse listener
4848 support in at-spi-1.0
4850 * registryd/registry.c
4851 (_device_event_controller_hook): kill.
4852 (spi_registry_init): upd.
4854 * registryd/deviceeventcontroller.c
4855 (spi_device_event_controller_class_init): upd.
4856 (spi_check_key_event): merge into.
4857 (spi_device_event_controller_check_key_event):
4858 here and kill strange static ev init, don't leak
4859 the x_event - nor dynamicaly allocate it.
4861 * registryd/registry-main.c (main): re-direct
4862 timeout to remove strange vtable mess.
4864 * registryd/deviceeventcontroller.c
4865 (remove_listener_cb): impl.
4866 (spi_controller_deregister_device_listener):
4867 fix re-enterancy hazard.
4869 2002-01-07 Michael Meeks <michael@ximian.com>
4871 * registryd/deviceeventcontroller.c
4872 (spi_device_event_controller_new): upd.
4873 (impl_notify_listeners_sync): upd. debug.
4874 (spi_notify_keylisteners): fix re-enterancy hazards,
4875 prettify, remove O(n*n) iteration.
4876 (spi_controller_grab_keyboard): fix iteration.
4877 (spi_check_key_event): re-format to suit coding style.
4878 Clean all the warnings - we're warning free.
4880 * registryd/deviceeventcontroller.h:
4881 * registryd/registry.h: make mutualy referential with
4882 typesafe forward references instead of (!) void pointer
4885 2002-01-11 Michael Meeks <michael@ximian.com>
4887 * cspi/spi_accessible.c (role_names): add a role name
4888 to sync this array with the enum; and make the regression
4891 2002-01-10 Michael Meeks <michael@ximian.com>
4893 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4894 allow expansion of enumeration & kill warning.
4896 * test/test-simple.c (key_listener_cb): impl.
4897 (test_keylisteners): impl.
4899 * cspi/spi-listener.h: make listener signatures const
4900 on the provided (const) events.
4902 * test/keysynth-demo.c: upd. to const events.
4904 * test/simple-at.c: ditto.
4906 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4909 Rev the version to 0.5 (the previous tarball was named 0.4,
4910 even though the micro number was 3), so we need to rev upwards
4911 again for beta2/"desktop-alpha"
4914 Checked in a demo script, which requires editing before use!
4915 Proceed with caution.
4918 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4920 * cspi/spi_accessible.c:
4921 Add a couple of missing enum initializations, and fix some enum
4924 * cspi/spi_registry.c:
4925 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4927 * docs/reference/cspi/at-spi-cspi-sections.txt:
4928 Remove/fix a couple of broken document references.
4931 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4932 as Alt-Control to listen for commands, since on some systems
4933 Control-Alt may already be grabbed.
4935 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4938 Update version number to 0.4 for Beta2.
4940 * libspi/accessible.c, libspi/accessible.h:
4941 Expose spi_accessible_construct, to enable libgail-gnome
4942 construction from spi_accessible subtype.
4944 * utils/magnifier.c:
4945 Workaround for bug in some non-gnome-compliant window managers
4946 which made magnifier resize improperly.
4948 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4950 * libspi/accessible.c: (spi_accessible_new) :
4951 Move the test for SPI_IS_REMOTE_OBJECT to
4952 spi_accessible_new_return, fixing a bug and compile time warning.
4954 2002-01-08 Michael Meeks <michael@ximian.com>
4956 * registryd/registry.c (parse_event_type): remove strndup.
4958 * libspi/Makefile.am (libspi_la_SOURCES): remove
4959 sources already included in the headers section.
4961 * libspi/util.c: add.
4963 * libspi/spi-private.h: add.
4965 * registryd/registry.c: update to moved list iterators.
4967 2002-01-05 Michael Meeks <michael@ximian.com>
4969 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4971 * test/test-simple.c (main): ditto.
4973 2002-01-04 Michael Meeks <michael@ximian.com>
4975 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4976 redundant construct.
4978 * registryd/registry.c
4979 (get_listener_list): impl.
4980 (impl_accessibility_registry_register_global_event_listener):
4981 re-impl. to simplify using ~, remove dodgy const cast off.
4982 (parse_event_type): constify.
4983 (impl_accessibility_registry_deregister_global_event_listener_all):
4984 re-write, more efficiency and simplicity, kill re-enterancy
4986 (compare_listener_corbaref, compare_corba_objects),
4987 (compare_listener_quarks): define out.
4988 (impl_accessibility_registry_deregister_global_event_listener):
4989 re-write for effiency, and nail re-enterancy hazard.
4990 (impl_accessibility_registry_get_desktop_list): impl.
4991 (re_enterant_list_delete_link): impl.
4992 (re_enterant_list_foreach): impl.
4993 (remove_listener_cb): impl.
4994 (_registry_notify_listeners): kill.
4995 (notify_listeners_cb): impl.
4997 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4998 (SPI_getDesktopList): impl.
5000 * test/test-simple.c (test_desktop): test the methods.
5002 2002-01-03 Michael Meeks <michael@ximian.com>
5004 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5005 keystrings since we free them
5006 (SPI_freeAccessibleKeySet): in here.
5008 * libspi/accessible.c (spi_accessible_new): kill warning,
5009 wonder what is going on with the constructor here.
5011 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5013 * libspi/accessible.c (spi_accessible_new ()) :
5014 Added check to see if AtkObject is an SpiRemoteObject before
5015 creating an SpiAccessible.
5017 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5019 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5020 Enable keygrabs using the Control modifier, now that they are
5021 working properly (they were previously disabled).
5024 Change the command keygrab for this demo to "Control+Alt", so as
5025 to conflict with fewer other key commands on the system; this
5026 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5028 Removed a pointlessly-chatty keylistener for unshifted keys
5029 (shifted keys are still reported).
5031 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5033 * libspi/remoteobject.h:
5034 * libspi/remoteobject.c:
5035 Added definitions for special AtkObject subtype, required for
5036 support of remote components (specifically, used by BonoboControl
5037 accessibility implementation).
5039 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5041 * cspi/spi.h: synched relation types with ATK
5043 * cspi/spi_accessible.c: Added implementations of
5044 AcccessibleRelation_* methods
5046 * idl/Accessibility_Relation.idl: added getRelationTypeName
5047 method. Synched known relation types with ATK. Allowed for
5048 relation type extension with the RELATION_EXTENDED type.
5050 * libspi/relation.c: Provided implementations for
5051 AccessibleRelation methods.
5053 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5055 API tweaks for today's API 'freeze'.
5058 Added placeholder functions to allow future compatible expansion
5059 of the IDL interfaces.
5061 * idl/Accessibility_Registry.idl:
5062 Changed generateKeyEvent to generateKeyboardEvent. Changed
5063 signature of this method to accept an optional keystring in
5064 parameter (for complex text input synthesis) and changed use of
5065 simple 'boolean' parameter in registerKeystrokeListener to a
5066 struct, EventListenerMode.
5068 * cspi/spi_accessible.c:
5070 * cspi/spi_streamablecontent.c:
5071 Added references to AccessibleStreamableContent interface, and
5072 definition and implementation of AccessibleStreamableContent
5075 * cspi/spi_registry.c:
5077 Changed generateKeyEvent API to generateKeyboardEvent,
5078 taking a new (optional) keystring parameter to support complex
5083 Renamed directory (to better reflect its actual purpose, bridging
5084 from at-spi to ATK). The .so module is also now named
5087 * idl/Accessibility_Hypertext.idl:
5088 * libspi/accessible.c:
5089 * libspi/hypertext.h:
5090 * libspi/hypertext.c:
5091 Changed Accessibility_Hypertext to *not* derive from
5094 * cspi/spi_registry.c:
5095 Added list of legal event type names for 'window' events, which
5096 completes the registry event API.
5098 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5100 * at-bridge/bridge.c: Added registration for separate
5101 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5102 signals. If either of the first two parameters to the generic
5103 bridge signal handler are ints, they are passed on as event
5104 details. This allows an AT to determine what text was inserted.
5106 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5108 * registryd/deviceeventcontroller.c:
5109 Fixed regressions in generateKeyEvent caused by the removal of
5110 gdk_init from registryd; we now use pure X calls to connect to the
5111 display, which makes sense because deviceeventcontroller already
5112 uses a fair bit of X API (should eventually be migrated to a
5113 'portability layer').
5115 * registryd/desktop.c:
5116 Fixed minor regression in spi_desktop_init, changed the way the
5117 desktop name is being set to work with new spi_base API
5118 (gobject-based, rather than AtkObject-based).
5120 * registryd/Makefile.am:
5121 Minor revision of makefile to use XTST_LIBS variable rather than
5122 hard-wiring the Xtst LD_ADD element.
5124 * test/keysynth-demo.c:
5125 Tweaked an output message; added initialization of the
5126 'keystrings' member of the "switch listener" key_set.
5128 * libspi/relation.c:
5129 Squashed compile-time warning.
5131 * libspi/accessible.c:
5132 Cosmetic and formatting fixes, renamed a static method.
5134 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5136 * libspi/accessible.c
5138 * libspi/application.c
5141 * libspi/component.c
5142 * libspi/editabletext.c
5143 * libspi/hyperlink.c
5144 * libspi/hypertext.c
5146 * libspi/selection.c
5150 * registryd/desktop.c:
5151 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5153 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5155 * idl/Accessibility_Registry.idl:
5156 Added boolean member 'is_text' to DeviceEvent. This is for the
5157 use of key events, and helps prevent ambiguity between composed
5158 key strings and keysym names, since both may potentially be
5159 returned in the 'event_string' member.
5161 * at-bridge/bridge.c:
5162 * registryd/deviceeventcontroller.c:
5163 Use the 'is_text' member when notifying device event listeners.
5164 Knon issue: composed characters are not dealt with correctly by
5165 the global key listener implementation yet.
5167 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5169 * at-bridge/bridge.c:
5170 Namespaced local static methods to spi_atk_bridge_* where
5171 previously named bridge_*, and spi_* elsewhere.
5173 * at-bridge/bridge.c:
5174 * cspi/bonobo/cspi-bonobo-listener.c:
5175 Added demarshalling/conversion for string member of
5176 Accessibility_DeviceEvent to AccessibleKeystroke.
5178 * registryd/deviceeventcontroller.c:
5179 Added code to fill the Accessibility_DeviceEvent key string value
5180 member for global key events (i.e. from XGrabKey), to match
5181 behavior of Accessibility_DeviceEvent from the toolkit key events
5182 from the bridge. Fixed timestamp in global key event notifications.
5185 Added printout of key event's string value to
5186 report_ordinary_key_event, for demo/debugging purposes.
5188 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5190 * idl/Accessibility_Registry.idl:
5191 Removed Accessibility_KeyStroke structure in favor of generic
5192 Accessibility_DeviceEvent structure.
5193 Changed Accessibility_ControllerEventMask from a struct to an
5196 * at-bridge/bridge.c:
5197 Changed APIs to use DeviceEvent structure as above, and removed
5198 bogus casting between these event structures.
5200 * cspi/spi-listener.h:
5201 Added keystring member of AccessibleKeystroke structure, to enable
5202 matching on event "names" rather than only hardware codes and
5206 Added keystrings member of AccessibleKeySet struct, to allow
5207 matching on event names (as above).
5208 Added declarations for SPI_createAccessibleKeySet and
5209 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5210 event modmasks directly as unsigned ints rather than structs with
5211 refcounts, in the DeviceEventController methods.
5213 * cspi/spi_registry.c:
5214 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5216 * cspi/spi-roletypes.h:
5217 Added documentation of newly added SPI Roles.
5219 * cspi/bonobo/cspi-bonobo-listener.c:
5220 Changes in support of API changes above.
5222 * libspi/accessible.c:
5223 Converted APIs to use DeviceEvent structure (see IDL changes
5226 * registryd/deviceeventcontroller.c:
5227 Added DEControllerGrabMask structure to track keygrabs not only by
5228 modmask but by keyset as well; this allows us to do "global"
5229 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5230 grabbing on AnyKey and then filtering after-the-fact.
5231 Bugfixes for event filtration mean that we don't get false matches
5232 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5234 * registryd/deviceeventcontroller.c:
5235 Namespaced a number of static methods to use spi_ prefix. Major
5236 revision to internals of global (i.e. X) key grabs.
5238 * registryd/deviceeventcontroller.h:
5239 Removed keymask_list and added keygrabs_list to
5240 SpiDeviceEventController struct.
5243 Added use of SPI_createAccessibleKeySet API when creating a
5244 listener for only one key. Attach a listener to "shift spacebar
5245 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5246 X key event names to SPI key event names, so that listeners are
5247 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5249 * test/keysynth-demo.c:
5250 Changed (incorrect) use of X key event names (KeyPressed,
5251 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5254 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5256 * libspi/accessible.c:
5257 Convert all AtkRole enumerations to Accessibility_Role enums when
5258 getting a role from an AtkObject.
5260 * cspi/spi_accessible.c:
5261 Complete the conversion of Accessibility_Role enums at runtime to
5262 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5263 role enums correctly match those given in spi-roletypes.h.
5264 Re-synchronize the local names list for AccessibleRole_getName ().
5265 AccessibleRole_getName is now deprecated, since it duplicates the
5266 more reliable Accessible_getRoleName.
5267 Added some role types from Accessibility_Role.idl.
5269 * idl/Accessibility_Role.idl:
5270 Added some role types used by AtkRole.
5272 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5275 * cspi/spi_registry.c:
5277 * cspi/cspi-bonobo-listener.c:
5278 Namespaced all methods that did not begin with an "SPI_" or
5279 "Accessible" prefix to "SPI_".
5282 Homogenized internal function namespace to "cspi_" for statics.
5285 Patched tests to use the new CSPI API.
5287 * docs/reference/cspi/at-spi-cspi-sections.txt:
5288 Updated docs to reflect namespace changes, and added a number of
5289 methods to the documentation.
5291 * registryd/registry.c:
5292 Changed use of strings and string hashes in listener event
5293 matching and parse_event_string to use GQuark, which is guaranteed
5296 * registryd/registry.h:
5297 Squashed annoying warning.
5299 * idl/Accessibility_Role.idl:
5300 Extended range of available Accessibility_Role values.
5302 * cspi/spi_accessible.c:
5303 Re-ordered role names.
5305 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5307 * idl/Accessibility_Value.idl:
5308 Revert use of union back to CORBA_double, since the double type is
5309 more efficient and can contain the other types without loss of
5312 * idl/Accessibility_Accessible.idl:
5313 Added method Accessibility:Accessible:getRoleName, to complement
5314 Accessibility:Accessible:getRole.
5316 * cspi/spi_accessible.c:
5318 Added C binding for above, Accessible_getRoleName (), and changed
5319 signature of Accessible_getRole () to return an AccessibleRole.
5321 * cspi/spi-roletypes.h:
5322 Changed AccessibleRole_getName to return a char * instead of a
5323 const char *. This method is now at least temporarily deprecated
5324 in favor of asking Accessibles for their RoleNames directly.
5327 Revert to match Accessibility_Value.idl;
5331 Change signature of AccessibleValue methods to use double rather
5335 * cspi/spi_accessible.c:
5336 Changed Accessible_getRole to return an AccessibleRole enum rather
5337 than a UTF-8 string. The UTF-8 string can still be obtained via
5338 AccessibleRole_getName ().
5340 * test/test-simple.c:
5341 Add test_action. Small fixup to match API change to Accessible_getRole.
5344 Bugfix for get_action_from_servant ().
5346 2001-12-11 Michael Meeks <michael@ximian.com>
5348 * libspi/libspi.h: remove registry.h and
5349 desktop.h, deviceeventcontroller.h
5351 * libspi/Makefile.am: remove registry.[ch],
5352 desktop.[ch], deviceeventcontroller.[ch]
5354 * registryd/Makefile.am: add registry.[ch],
5355 desktop.[ch], rename registryd.c to registry-main.c.
5356 add deviceeventcontroller.[ch]
5358 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5361 Replace setenv() call with putenv ().
5363 * libspi/component.c:
5364 Bugfix in AccessibleComponent_getExtents (),
5367 2001-12-11 Michael Meeks <michael@ximian.com>
5369 * libspi/image.c (impl_getImageExtents): impl.
5370 (spi_image_class_init): upd.
5373 (AccessibleImage_getImageDescription): fix daft bug
5376 * test/test-simple.c (global_listener_cb): update
5377 to only quit if not --poke
5378 (main): catch --poke.
5379 (validate_accessible): upd. dumping, call test_image
5382 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5385 * idl/Accessibility.idl: update all IDL includes.
5387 * idl/*.idl - rename to namespace - this sucks, blame
5388 mjs' bad decision for oafd.
5390 * test/test-simple.c (create_test_window): add more tests.
5391 (create_tree): split this out.
5392 (validate_accessible): bugfix.
5394 2001-12-11 Michael Meeks <michael@ximian.com>
5396 * cspi/bonobo/cspi-bonobo-listener.c:
5397 (cspi_kestroke_listener_unref),
5398 (cspi_event_listener_unref): impl. undoing previous
5399 homenous environment - for Bill.
5401 * cspi/spi_table.c (long_seq_to_array): use
5404 * cspi/spi_main.c: split out all bonoboish bits into
5407 * cspi/spi-impl.h: upd. typedefs.
5409 * cspi/spi_registry.c: update to lowlevel API,
5410 return booleans to indicate success in some places.
5412 * cspi/spi_event.c: update to lowlevel API.
5414 * cspi/bonobo/Makefile.am: add.
5416 * cspi/bonobo/cspi-lowlevel.h: add
5418 * cspi/bonobo/cspi-bonobo.c: add
5420 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5422 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5423 (SUBDIRS): add bonobo, link in the libs.
5425 * cspi/spi-util.c: kill this file.
5427 * TODO: merge in my bits.
5429 2001-12-11 Michael Meeks <michael@ximian.com>
5431 * test/test-simple.c (test_value, test_table, main):
5432 remove unused variables causing warnings.
5434 * configure.in: cleanup checks - require gail.
5436 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5439 Changed Value interface to use SValue (scalars) rather than
5440 assuming all values are floats. This allows floats, doubles,
5441 longs, shorts, and unsigned values to be manipulated.
5442 Introduced Accessibility:SValue union.
5445 Updated to use new API above, and to work correctly with GValues
5446 of different types in AtkValue.
5449 Updated to use new API above. cspi's API is as yet unchanged.
5452 Updated the Value revision action item.
5454 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5456 * test/test-simple.c:
5457 Added test_table (GtkTreeView widget in test window to follow).
5458 Un-commented test_value, added GtkRange widget.
5459 Added GtkTreeView widget with GtkListStore. It passes regression
5460 test but leaks one SPI object for some reason.
5463 Fixed bug in impl__set_currentValue.
5465 2001-12-10 Michael Meeks <michael@ximian.com>
5467 * cspi/spi_text.c: audit for exception handling,
5468 tolerating NULL object references safely etc.
5470 * cspi/spi_value.c: ditto.
5472 * cspi/spi_table.c (AccessibleTable_getSummary),
5473 (AccessibleTable_getAccessibleAt),
5474 (AccessibleTable_getRowHeader),
5475 (AccessibleTable_getColumnHeader),
5476 (AccessibleTable_getCaption): fix bugs hidden by
5478 (long_seq_to_array): impl.
5479 (AccessibleTable_getSelectedRows),
5480 (AccessibleTable_getSelectedColumns): use it.
5482 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5485 Added a TODO list (rough and short for now).
5487 * cspi/spi_hyperlink.c:
5488 * cspi/spi_hypertext.c:
5489 Fixed macro name typos, and remove use of obsolete macro in
5490 AccessibleHyperlink_getLink.
5492 * cspi/spi_action.c:
5493 * cspi/spi_accessible.c:
5494 * cspi/spi_application.c:
5495 * cspi/spi_component.c:
5496 * cspi/spi_selection.c:
5499 Documentation fixes (removed return values from ref/unref methods).
5501 2001-12-10 Michael Meeks <michael@ximian.com>
5503 * cspi/spi_action.c: audit for exception handling,
5504 tolerating NULL object references safely etc.
5506 * cspi/spi_accessible.c: ditto.
5508 * cspi/spi_component.c: ditto.
5510 * cspi/spi_editabletext.c: ditto.
5512 * cspi/spi_hyperlink.c: ditto.
5514 * cspi/spi_hypertext.c: ditto.
5516 * cspi/spi_image.c: ditto.
5518 * cspi/spi_selection.c: ditto.
5520 2001-12-10 Michael Meeks <michael@ximian.com>
5522 * configure.in: use cspi/libspi.pc.in instead.
5524 * Makefile.am (pkgconfig_DATA): upd. to match.
5526 * test/simple-at.c (report_focus_event): kill hacks around
5527 bad return values, use putenv not setenv
5529 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5530 fire ChildGone - I killed it.
5532 * libspi/component.c
5533 (impl_accessibility_component_get_extents): remove
5536 * idl/Accessible.idl: kill ChildGone exception.
5538 * cspi/*.[ch]: kill int return from ref / unref.
5540 * cspi/spi_main.c (cspi_object_add_check): fold into
5541 (cspi_object_add): here.
5543 * cspi/spi_component.c (AccessibleComponent_getExtents):
5544 handle exceptions elegantly.
5546 * cspi/spi-private.h (cspi_check_ev_return),
5547 (cspi_return_if_fail): impl.
5549 * cspi/spi_accessible.c: use extensively.
5550 (AccessibleStateSet_equals): add direct compare check.
5552 * cspi/spi_selection.c: tolerate NULL objs, and check
5553 exceptions before return.
5555 * cspi/spi-util.c (cspi_warn_ev): rename to
5556 (cspi_check_ev): this & don't pass ev in; no point.
5558 2001-12-10 Michael Meeks <michael@ximian.com>
5560 * test/test-simple.c: use putenv not setenv
5561 (get_environment_vars): more chatty if you're not using
5564 * test/simple-at.c: do the setenv so more people see the
5567 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5569 * libspi/registry.c:
5570 Changed check of CORBA_environment on notification to be a warning
5571 instead of an error for the moment, since we can recover from this
5572 error when caused by a queued notification from a dead app.
5575 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5576 used by all current implementors of AtkValue), and coerce to
5577 CORBA_float. (Proper general case fix may require change to Value.idl).
5579 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5583 * cspi/spi_accessible.c:
5584 Documentation fixes: added user_data params to documentation for
5585 listeners and callbacks.
5587 * cspi/spi_accessible.c:
5588 Changed AccessibleStateSet_compare to return a
5589 StateSet rather than return the difference set into a third parameter.
5592 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5595 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5596 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5600 Remove subdirectory po from SUBDIRS for now.
5602 * at-bridge/bridge.c:
5603 Beefed up a couple of debug printouts.
5604 One-line fix for signal notification name formatting.
5606 * libspi/accessible.c:
5607 Added assertion to spi_accessible_new ().
5609 * libspi/application.c:
5610 Put #ifdef qualifiers around a printf.
5613 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5615 * registryd/Makefile.am:
5617 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5618 INTLTOOL_SERVER_RULE macro.
5621 Added an event listener for several ATK signals, for
5622 testing and debugging. Removed a few g_warnings.
5623 Added test output if focussed item implements the Value interface.
5625 * test/test-simple.c:
5626 Added test_value () function (known not to pass at the moment, so
5627 not actually called yet.
5629 2001-12-08 Michael Meeks <michael@ximian.com>
5631 * at-bridge/bridge.c (bridge_focus_tracker),
5632 (emit_eventv): fix the same ref. leak.
5633 (register_atk_event_listeners): don't leak.
5635 * cspi/spi-listener-impl.c (cspi_event): more
5636 protection from client code.
5638 * test/test-simple.c (test_desktop): unref the app.
5640 * test/Makefile.am: upd. TESTS.
5642 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5644 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5646 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5648 * cspi/spi_registry.c: constify in strings.
5649 (deregisterGlobalEventListenerAll): don't release the ref.
5651 * cspi/spi.h: start removing redundant / conflicting
5652 gtkdoc comments, making the API readable at a glance :-)
5654 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5656 * test/keysynth-demo.c (keysynth_exit, main): upd.
5658 * test/simple-at.c (main, simple_at_exit): upd.
5660 * test/test-simple.c (unutterable_horror): kill.
5661 (utterable_normal_derefs): kill.
5662 (main): upd & do a setenv before gtk_init, so that we
5663 can use memprof - and to save the pain of remembering
5664 this, if we're running under memprof - don't exit.
5666 * cspi/spi_main.c (SPI_exit): return exit status
5668 (SPI_event_quit): impl.
5669 (SPI_event_main): simplify.
5670 (cspi_is_gnome_app): kill.
5671 (SPI_init): kill isGNOMEapp arg.
5673 * at-bridge/bridge.c (register_atk_event_listeners):
5674 re-instate the unref.
5675 (bridge_exit_func): don't re-activate the registry,
5676 protect vs. theoretical re-entry, use the
5677 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5678 assert a clean shutdown - for regression tests.
5680 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5682 * configure.in: Comment out dummy i18n support for now,
5683 otherwise it fails to build.
5684 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5685 EXTRA_DIST. They are missing in tarball.
5687 2001-12-07 Michael Meeks <michael@ximian.com>
5689 * util/magnifier.c: kill bonobo activation reg. race.
5691 * libspi/component.c
5692 (impl_accessibility_component_get_extents): make it match
5695 * libspi/registry.c (_registry_notify_listeners):
5696 re-remove X headers & reconcile conflicts.
5697 (spi_listener_struct_free): bad conflict resolve.
5698 (impl_accessibility_registry_register_application):
5699 more bad merging fixed.
5700 (impl_accessibility_registry_deregister_application): ditto.
5701 (spi_registry_new): ditto.
5702 (spi_registry_init): don't have an applications field.
5704 [ merge fixups2 branch to here ]
5705 2001-12-07 Michael Meeks <michael@ximian.com>
5707 * test/simple-at.c (report_focus_event),
5708 (report_focussed_accessible): remove g_warning debug.
5710 2001-12-07 Michael Meeks <michael@ximian.com>
5712 * test/test-simple.c (validate_tree): comment out some checks.
5713 (test_desktop): app now not registered idly - horay.
5715 2001-12-07 Michael Meeks <michael@ximian.com>
5717 * cspi/spi_registry.c
5718 (registerAccessibleKeystrokeListener): clean, stop it leaking
5719 great swathes of memory, and device event controller references.
5720 ensure we always pass valid sequences.
5721 (deregisterAccessibleKeystrokeListener): ditto.
5722 (generateKeyEvent): upd.
5724 * at-bridge/bridge.c (bridge_key_listener): handle
5725 registry dead exception gracefully.
5726 (bridge_focus_tracker, emit_eventv): free ev.
5728 * test/simple-at.c (report_focus_event): fix polarity.
5730 * libspi/application.c (notify_listeners): kill the ev
5731 argument, and make sure we init the ev we use.
5732 (spi_application_object_event_listener): split out a chunk
5733 (get_atk_object_ref): here & fixup.
5734 (reverse_lookup_name_for_toolkit_event): make const.
5735 (spi_application_toolkit_event_listener): fixup, kill leaks
5738 * at-bridge/bridge.c (register_atk_event_listeners):
5739 don't unref the noop object - causes grief.
5741 * libspi/registry.c: remove the X headers.
5742 turn off the debug churn.
5744 * libspi/accessible.c (spi_accessible_new_return): only
5745 release the ref if we are supposed to [doh]
5747 * test/simple-at.c (report_button_press, report_focus_event):
5748 guard vs. unexpected exit.
5750 * at-bridge/bridge.c (gtk_module_init): prune printf.
5751 (bridge_exit_func): fix app unref.
5753 * libspi/Makefile.am: don't install registry or desktop.h
5755 * libspi/*.h: update includes.
5757 * libspi/application.h: don't include ourself, or
5758 other redundant headers.
5760 2001-12-06 Michael Meeks <michael@ximian.com>
5762 * libspi/accessible.c
5763 (get_accessible_from_servant): impl.
5764 Upd. all CORBA impl.s to use it killing cut and paste.
5766 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5768 (SPI_init): register atexit cleanup handler here.
5770 2001-12-06 Michael Meeks <michael@ximian.com>
5772 * at-bridge/bridge.c (gtk_module_init): g_error on
5773 activation exception
5775 2001-12-06 Michael Meeks <michael@ximian.com>
5777 * at-bridge/bridge.c (gtk_module_init): some sort of
5778 confusing merge clash - reverted.
5779 (bridge_idle_init): ditto.
5781 * test/test-simple.c (main, utterable_normal_derefs):
5782 merge from Bill - somehow not committed.
5784 2001-12-06 Michael Meeks <michael@ximian.com>
5786 * libspi/value.c (spi_value_class_init): upd.
5787 (spi_value_finalize): kill.
5789 * libspi/table.c (spi_table_finalize): kill.
5790 (spi_table_interface_new): upd.
5791 (spi_table_class_init): upd.
5792 (get_table_from_servant): impl.
5793 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5795 * libspi/selection.c (spi_selection_finalize): kill.
5796 (spi_selection_interface_new): upd.
5797 (spi_selection_class_init): upd.
5798 (get_selection_from_servant): impl.
5799 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5801 * libspi/relation.c (spi_relation_finalize): kill.
5802 (spi_relation_class_init, spi_relation_new): upd
5804 * libspi/image.c (spi_image_finalize): kill.
5805 (spi_image_class_init): upd.
5806 (spi_image_interface_new): upd.
5807 (get_image_from_servant): impl.
5808 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5810 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5811 (spi_hyperlink_finalize): kill.
5812 (spi_hyperlink_new): upd.
5813 (get_hyperlink_from_servant): impl.
5814 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5816 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5817 (spi_hypertext_finalize): kill.
5818 (spi_hypertext_class_init): upd.
5819 (get_hypertext_from_servant): impl.
5820 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5822 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5823 (spi_editable_text_interface_new): upd.
5824 (get_editable_text_from_servant): impl.
5825 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5827 * libspi/text.c (get_text_from_servant): impl.
5828 All impls - update to use it killing more cut and paste,
5829 also fix bad string returns on duff args ( a somewhat
5830 impossible case to handle - but hey ).
5831 (spi_text_construct): impl.
5832 (spi_text_interface_new): upd.
5833 (spi_text_object_finalize): kill.
5835 * libspi/component.c
5836 (accessibility_component_object_finalize): kill.
5837 (spi_component_class_init): upd.
5838 (get_component_from_servant): impl. helper to kill cut & paste.
5839 (impl_accessibility_component_contains):
5840 (impl_accessibility_component_get_accessible_at_point):
5841 (impl_accessibility_component_get_position):
5842 (impl_accessibility_component_get_extents):
5843 (impl_accessibility_component_get_mdi_z_order):
5844 (impl_accessibility_component_get_layer):
5845 (spi_component_interface_new): upd.
5847 * libspi/action.c (spi_action_finalize): kill.
5848 (spi_action_class_init): upd. inherit from SpiObject.
5849 (spi_action_interface_new): upd.
5850 (get_action_from_servant): impl. helper to reduce cut & paste.
5851 (impl_getKeyBinding, impl_getName, impl_doAction),
5852 (impl_getDescription): Use it everywhere.
5854 * cspi/spi_main.c (get_live_refs): a pointer hash.
5855 (spi_object_hash, spi_object_equal): comment out.
5856 There are issues with CORBA object hashing that need
5859 * libspi/application.c (spi_application_init),
5860 (spi_application_new): upd.
5862 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5863 (spi_accessible_class_init): upd.
5864 s/accessible/object/ in epv methods.
5866 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5868 * at-bridge/bridge.c:
5869 Reorder the bridge initialization into the bridge gtk_module_init,
5870 an immediate call to bridge_register_app, and an idle_add for
5871 register_atk_event_listeners (the only code that *must* wait until
5872 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5873 the activation, creates the application's Accessible object, and
5874 queues the bridge_idle_init function. Restored call to
5875 Accessibility_Registry_deregisterApplication().
5876 Prior to making this call we obtain a new reference to the
5877 registry, which is a temporary hack that helps us handle apps that
5878 shut down the bonobo mainloop before we get there.
5880 * libspi/registry.c:
5881 Fix string leakage in debug block, and don't segv if a an app
5882 dies before its event notifications have been propagated.
5885 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5886 as stopgap measure until we get proper exception handling when
5887 objects die during or before interrogation.
5891 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5892 Also changed default value of is_gnome_app to TRUE.
5895 * test/keysynth-demo.c:
5896 Changed use of SPI_init and SPI_event_main to reflect API change above.
5899 Made report_focus_event check the warning value from getName
5900 before reporting on focussed accessible; simplifies handling of
5901 notifications from dead objects.
5903 * test/test-simple.c: (Changes not in this patch since source is
5906 2001-12-05 Michael Meeks <michael@ximian.com>
5908 * registryd/registryd.c (main): protect against
5909 bonobo-activation startup race condition.
5911 * cspi/spi_main.c (cspi_object_add_check): cope
5912 with the exception elegantly.
5914 * idl/Accessible.idl: decl. ChildGone
5916 * libspi/desktop.c (spi_desktop_dispose): impl.
5917 (spi_desktop_class_init): upd.
5918 (spi_desktop_add_application),
5919 (spi_desktop_remove_application),
5920 (abnormal_application_termination): impl.
5921 (impl_desktop_get_child_at_index): re-impl.
5924 (impl_accessibility_registry_deregister_application),
5925 (impl_accessibility_registry_register_application):
5926 kill excessive debug clutter.
5928 * test/test-simple.c (test_misc): test some NULL
5929 tolerance. (main): upd.
5931 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5932 implements no interfaces - so let's not crash.
5934 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5936 * libspi/accessible.c (spi_accessible_new_return): impl.
5937 helper to calm the cut and paste, to cope with
5938 NULL AtkObjects effectively and efficiently, and to kill
5939 the referencing bugs.
5941 * libspi/table.c (impl_getAccessibleAt),
5942 (impl_getRowHeader, impl_getColumnHeader): upd.
5944 * libspi/hyperlink.c (impl_getObject): upd.
5946 * libspi/accessible.c
5947 (impl_accessibility_accessible_get_child_at_index): upd.
5949 * libspi/component.c
5950 (impl_accessibility_component_get_accessible_at_point): upd.
5952 * test/test-simple.c (test_editable_text, test_text): impl.
5955 * cspi/spi_editabletext.c
5956 (AccessibleEditableText_insertText): constify.
5958 * test/test-simple.c (focus_me): make more robust.
5960 * libspi/accessible.c: remove some printfs in methods that
5961 we test and work fine, so we can get a clean tree dump.
5963 * test/test-simple.c (validate_accessible),
5964 (validate_tree): make tree dumping pretty too.
5966 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5967 it builds without debug on.
5969 * test/test-simple.c (validate_accessible): fix the most
5972 * cspi/spi_main.c (spi_object_release): leave the nicely
5973 blanked memory around if in debug mode.
5975 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5977 [committed to fixups2]
5978 2001-12-05 Michael Meeks <michael@ximian.com>
5980 * libspi/editabletext.c
5981 (spi_editable_text_class_init): g_type_class_peek_parent,
5982 not interface peek - so we finalize cleanly.
5984 * libspi/accessible.c (spi_accessible_new): kill debug.
5986 * test/test-simple.c (validate_accessible): fix ref.
5987 leak, print strings before freeing them; sigh, comment a
5988 chunk out due to strangeness.
5989 (validate_tree): unref the child after use.
5991 * cspi/spi_component.c (AccessibleComponent_getLayer):
5992 add missing break statement, switch on zlayer not the
5993 uninitialized retval.
5995 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5996 before (possibly re-entering) remote unref.
5998 * test/simple-at.c (main): unref the desktop.
6000 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6003 * cspi/spi_main.c (cspi_accessible_is_a): here to
6004 isolate bonobo API usage more.
6006 * libspi/registry.c (impl_accessibility_registry_register_application):
6007 prune bogus comment.
6009 2001-12-04 Michael Meeks <michael@ximian.com>
6011 * test/test-simple.c (validate_tree): upd.
6012 IndexInParent check to make it more lucid.
6013 (validate_accessible): dump the tree.
6015 * libspi/accessible.c (de_register_public_ref),
6016 (get_public_refs): impl.
6017 (spi_accessible_new): make more efficient & intuitive.
6018 Now IndexInParent check works.
6020 2001-12-04 Michael Meeks <michael@ximian.com>
6022 * cspi/spi-util.h: remove.
6024 * cspi/spi.h: move SPI_freeString here
6026 * libspi/component.c (impl_accessibility_component_get_layer):
6028 (impl_accessibility_component_get_mdi_z_order): ditto,
6029 return -1 on error - is this ok ?
6031 * test/test-simple.c (test_application): impl.
6033 * cspi/spi_accessible.c (Accessible_getApplication),
6034 (Accessible_isApplication): impl.
6036 * libspi/registry.c (spi_listener_struct_free): release
6037 the CORBA reference too.
6039 * libspi/accessible.c
6040 (impl_accessibility_accessible_get_parent): fix ref leak.
6042 * libspi/registry.c (spi_registry_new): make the registry
6043 immortal - we don't want it to go away ever.
6045 * libspi/application.c
6046 (spi_accessible_application_finalize): impl. cleanup.
6048 * cspi/spi_registry.c
6049 (deregisterGlobalEventListenerAll),
6050 (deregisterGlobalEventListener),
6051 (deregisterAccessibleKeystrokeListener): fix ref leak.
6053 * cspi/spi_main.c (SPI_init): remove redundant ref.
6055 * test/test-simple.c (unutterable_horror): impl. to force a
6060 (impl_accessibility_registry_deregister_application): release
6061 the application when we de-register it.
6063 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6064 until we have the infastructure to get it right.
6066 2001-12-03 Michael Meeks <michael@ximian.com>
6068 * libspi/Makefile.am: only build eventlistener.[ch]
6070 * libspi/accessible.c
6071 (impl_accessibility_accessible_get_child_at_index): don't leak.
6073 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6074 before we hit the idle handler.
6076 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6077 debugging than exit.
6079 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6081 * libspi/listener.c (impl_notify_event): check source
6082 not NIL before unref.
6084 * libspi/registry.c (impl_registry_notify_event): ditto.
6086 * libspi/eventlistener.c
6087 (impl_accessible_event_notify_event): unref the source.
6089 * libspi/accessibleeventlistener.c
6090 (impl_accessible_event_notify_event): unref the source.
6092 * idl/Event.idl: remove 'hash_id' attribute - of no
6095 * libspi/application.c (notify_listeners): upd list
6097 (spi_application_object_event_listener),
6098 (spi_application_toolkit_event_listener): upd to do correct
6102 (_registry_notify_listeners): update.
6103 (parse_event_type): this method also leaks like a sieve.
6104 (impl_accessibility_registry_deregister_global_event_listener):
6105 fix ETYPE_WINDOW case.
6107 * libspi/application.c
6108 (impl_accessibility_application_register_object_event_listener):
6111 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6113 * libspi/hypertext.c (impl_getLink): ditto.
6115 * cspi/spi_main.c (cspi_object_add): remove
6116 bogus CORBA_Object_duplicate.
6118 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6121 * cspi/spi_accessible.c
6122 (Accessible_getRelationSet): fix leak / referencing issue.
6124 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6125 (cspi_object_add, cspi_object_unref): upd.
6126 (spi_object_release, get_live_refs): impl.
6127 (cspi_cleanup): simplify.
6129 * *.[ch]: s/boolean/SpiBoolean/
6131 * cspi/spi_accessible.c (role_names): actualy order so it
6132 corresponds with the enum !
6134 * test/test-simple.c (test_roles): check some role strings
6135 vs. enums to detect offset errors.
6137 2001-12-01 Michael Meeks <michael@ximian.com>
6139 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6141 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6143 (Accessible_getChildAtIndex): use cspi_add_check so we
6144 check the ev before using a (possibly) invalid value.
6146 * libspi/accessible.c
6147 (impl_accessibility_accessible_get_parent): don't segv
6150 * at-bridge/bridge.c (gtk_module_init): upd.
6151 (bridge_property_event_listener): don't leak strings
6153 (bridge_state_event_listener),
6154 (bridge_property_event_listener): don't use a static
6155 buffer in case of recursive event emission &
6156 re-enterancy - split out the swathe of cut and paste
6158 (emit_eventv): and fix 2 ref leaks here & comply to the
6160 (bridge_register_app): rename to
6161 (bridge_idle_init): this and kill arg parsing, split
6162 various inits & bonobo-activation registration to module
6163 init time, kill referencing error.
6164 (bridge_exit_func): fix the same leak.
6165 (bridge_focus_tracker): don't leak event structures
6167 (bridge_signal_listener): more leakage and cut & paste
6169 (bridge_key_listener): return the result - FIXME is
6170 this polarity correct ?
6171 (accessibility_keystroke_from_atk_key_event): rename
6172 (accessibility_init_keystroke_from_atk_key_event): and stop
6174 (gtk_module_init): return a value - not that it is checked by
6176 (bridge_key_listener): register my horror at casting between
6177 IDL defined structs.
6178 (bridge_get_registry): kill - not used.
6180 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6182 * test/test-simple.c (test_roles): impl.
6183 (test_desktop, validate_accessible, validate_tree): impl.
6185 * cspi/spi_accessible.c (role_names): fixup bogus
6186 MAX_ROLES setup, make constants const for efficient linkage
6187 (AccessibleRole_getName): conform to coding style, make
6190 2001-11-30 Michael Meeks <michael@ximian.com>
6192 * cspi/spi.h: add missing prototype.
6194 * libspi/registry.c (spi_listener_struct_new): fix sig.
6196 * test/Makefile.am: add test-simple
6198 * test/test-simple.c: add
6200 * test/test.sh: add.
6202 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6204 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6205 do it straight - since otherwise we often get an activation race.
6207 [ work before Bill duplicated a chunk of it ... ]
6208 2001-11-30 Michael Meeks <michael@ximian.com>
6210 * libspi/keystrokelistener.c
6211 (spi_keystroke_listener_class_init): fixup arg
6214 * libspi/eventlistener.c
6215 (spi_event_listener_class_init): ditto.
6217 * tests/test.sh: add.
6219 * cspi/spi-listener-impl.h: update macros.
6221 * cspi/spi-listener-impl.c
6222 (cspi_event_listener_remove_callback): add
6223 correct pre-conditions.
6225 * cspi/spi_main.c (SPI_exit): guard vs. double
6226 exits, exit the mainloop nicely.
6227 (SPI_event_main): make more sense.
6228 (SPI_init): move the atexit evilness here so we
6229 always do it (yuck).
6230 (SPI_event_main): upd.
6232 * test/simple-at.c: update for listener changes.
6234 * registryd/registryd.c (main): prune kruft.
6236 * libspi/libspi.h: upd.
6238 * libspi/eventlistener.[ch]: rename broken macros.
6240 * libspi/accessibleeventlistener.[ch]: remove.
6242 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6244 * test/test-simple.c: Add - automated tests.
6246 * cspi/spi-listener-impl.c (cspi_event),
6247 (cspi_key_event): add user_data to invoke.
6248 (cspi_keystroke_listener_finalize): impl.
6249 (cspi_keystroke_listener_class_init): upd.
6252 (createAccessibleEventListener),
6253 (AccessibleEventListener_addCallback),
6254 (createAccessibleKeystrokeListener),
6255 (AccessibleKeystrokeListener_addCallback): upd.
6257 * libspi/deviceeventcontroller.c
6258 (spi_device_event_controller_check_key_event): add public proto.
6261 (impl_accessibility_registry_deregister_global_event_listener):
6262 always init listeners.
6263 (_registry_notify_listeners): yes it is.
6265 * cspi/spi-listener-impl.c (cspi_key_event):
6267 (cspi_event_listener_finalize): impl.
6268 (cspi_event_listener_class_init): hook up.
6269 (event_handler_new, event_handler_free),
6270 (event_list_remove_by_callback): impl.
6271 (cspi_event_listener_remove_callback),
6272 (cspi_keystroke_listener_remove_callback),
6273 (cspi_keystroke_listener_add_callback),
6274 (cspi_event_listener_add_callback): upd.
6276 * libspi/keystrokelistener.c
6277 (keystroke_listener_object_finalize): kill
6278 (spi_keystroke_listener_class_init): upd.
6279 (spi_keystroke_listener_add_callback),
6280 (spi_keystroke_listener_remove_callback): kill,
6282 (impl_key_event): prune drasticaly.
6284 * libspi/eventlistener.c
6285 (spi_event_listener_add_callback),
6286 (spi_event_listener_remove_callback): kill, use
6288 (impl_accessible_event_notify_event): upd.
6289 (spi_event_listener_object_finalize): remove.
6291 * libspi/Makefile.am: use eventlistener.[ch]
6293 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6295 * libspi/registry.c (_registry_notify_listeners):
6296 Changed listener loop iteration to use preferred convention.
6297 Got rid of string memory leaks caused be calling g_strconcat
6298 inside function calls.
6300 * libspi/registry.c (parse_event_type):
6301 Stopped g_strconcat memory leaks, free the g_strsplit return,
6302 g_strdup the split pieces when used, etc.
6304 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6307 Change method 'compare' to return a 'difference set' rather than
6308 taking a StateSet as an out parameter (more Java-friendly).
6310 * idl/Accessible.idl:
6311 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6313 * idl/Component.idl:
6315 Changed methods 'getExtents' and 'getImageExtents' in these
6316 interfaces to return a BoundingBox structure.
6317 (getPosition and getSize are redundant and possibly should be
6318 removed, rather than creating a corresponding Point struct.)
6320 * cspi/spi_component.c:
6321 Modify implementation of getExtents to reflect the above IDL
6326 Add (missing) AccessibleImage_getExtents () API.
6328 * docs/reference/cspi/at-spi-cspi-sections.txt:
6329 Added AccessibleImage_getImageExtents () to docs.
6331 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6333 * idl/Component.idl:
6334 Added two methods, getLayer () and getMDIZOrder (), to reflect
6335 the new ATK methods atk_object_get_layer and
6336 atk_object_get_mdi_z_order. (Which arguably should be part of the
6337 AtkComponent API and AtkObject). Also added an enum,
6338 ComponentLayer, for the first method's return value.
6340 * libspi/component.c:
6341 Added implementations for these methods.
6343 * cspi/spi_component.c:
6345 Added cspi binding methods for above,
6346 AccessibleComponent_getLayer() and
6347 AccessibleComponent_getMDIZOrder().
6348 Added cspi enum 'AccessibleComponentLayer'.
6350 * docs/reference/cspi/at-spi-cspi-sections.txt:
6351 Added above methods to docs.
6355 Changed typedef for 'boolean' type (and all references to it) to
6356 SPIBoolean, to avoid keyword clashes with C++.
6359 Changed usages of 'boolean' to SPIBoolean.
6361 * test/keysynth-demo.c:
6362 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6363 app), except where SPIBoolean is required by the callbacks API.
6365 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6367 * cspi/spi_registry.c:
6368 Removed obsolete X event loop for passive keygrabs (which now
6371 * registryd/registryd.c:
6372 Removed unnecessary call to gdk_init() [cruft]. This also allows
6373 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6376 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6378 * docs/reference/cspi:
6379 Included docs for SPI_freeString in generated documentation.
6382 Renamed spi_freeString to SPI_freeString, for consistency. Added
6383 documentation for this function.
6386 Renamed spi_freeString to SPI_freeString, for consistency.
6387 Removed obsolete method declaration string_from_corba_string.
6389 * test/keysynth-demo.c:
6390 Small tweak to comments.
6393 Stopped leaking the strings returned from CSPI.
6395 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6397 Merged Michael's branch (see his ChangeLog entries below).
6399 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6400 bridge is alive, release on exit.
6402 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6403 Fix type check macro.
6406 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6409 Added is_gnome_app static, and method cspi_is_gnome_app(),
6410 so we can call the appropriate shutdown routine at exit in SPI_exit.
6412 * cspi/spi_main.c (cspi_object_ref):
6413 Duplicate the corba object passed in, since we're keeping it around.
6415 * cspi/SPI_exit.c, cspi_cleanup:
6416 Moved the releasing of the live refs to its own function, so we
6417 can put it in g_atexit (). Call the appropriate shutdown API
6418 depending on whethe calling client is a gnome app or not
6419 (bonobo_main_quit or CORBA_ORB_shutdown).
6421 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6422 Unref the listener when this method is called, after
6423 deregistration. Updated the API docs to note this behavior.
6425 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6426 Bugfixes: Ref the bonobo object when returning a parent or child
6427 reference, or an AccessibleRelation. Generally made sure
6428 BonoboObject refcount is incremented whenever we return an
6431 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6432 Fixed typo/bug in signal declaration.
6434 * libspi/accessibleeventlistener.h:
6437 * libspi/application.c (spi_application_new):
6438 Fixed leak in initialization.
6441 Remembered to increment bonobo-object refcount when returning
6442 children (applications) from desktop object.
6443 Added (empty) finalize method.
6445 * libspi/deviceeventcontroller.c:
6446 Hold a ref to listeners inside DEControllerKeyListeners.
6447 Added dec_key_listener_free() method. Use prepend instead of
6448 append in key_listener list. Fixed some refcount madness and
6449 leaks in the listener registration/deregistration - deregistration
6450 now calls dec_key_listener_free() on listeners, and on the
6451 temporarily constructed dec_key_listener() used to perform the search/match.
6453 * libspi/hypertext.c (spi_hypertest_finalize):
6454 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6455 class. Also fixed spi_hypertext_interface_new() and
6456 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6458 * libspi/hypertext.h:
6459 Removed pointless and duplicate AtkObject pointer from
6462 * libspi/keystrokelistener.c:
6463 Fixed incorrect type of keystroke_listener_parent_class,
6464 renamed keystroke_listener_object_finalize to
6465 spi_keystroke_listener_object_finalize.
6466 Fixed typo in signal declaration
6467 (spi_keystroke_listener_class_init).
6469 * libspi/registry.c:
6470 Added funcsions spi_listener_struct_new() and
6471 spi_listener_struct_free() to help with memory management issues.
6472 We also now use these methods instead of gnew + poking stuff into
6473 the struct, and to decrement listener counts/free the listeners
6474 when deregistering them.
6475 Fix more refcount bugs in getDesktop() and
6476 getDeviceEventController().
6479 De-ref the desktop after enumerating the applications. Explicitly
6480 decrement the refcounts on the created listeners on exit (using
6481 _unref for keystroke listeners, and via the
6482 deregisterGlobalEventListenerAll command for other event
6485 2001-11-27 Michael Meeks <michael@ximian.com>
6487 * cspi/spi-listener.h: fixup enum.
6489 2001-11-27 Michael Meeks <michael@ximian.com>
6491 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6492 (cspi_keystroke_listener_new): Use the cspi variants.
6494 2001-11-26 Michael Meeks <michael@ximian.com>
6496 * test/keysynth-demo.c: fix 2 compile warnings, missing
6499 * test/simple-at.c (report_focussed_accessible),
6500 (report_focus_event, report_button_press),
6501 (check_property_change, is_command_key),
6502 (report_ordinary_key_event, report_command_key_event): upd.
6504 * util/mag_client.h: include pre-requisites.
6506 * libspi/accessibleeventlistener.c
6507 (spi_event_listener_object_finalize): free any lingering
6510 * libspi/keystrokelistener.c
6511 (keystroke_listener_object_finalize): ditto.
6513 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6514 callbacks, with cspi types.
6516 * cspi/spi_event.c (createAccessibleEventListener): chain to
6517 (AccessibleEventListener_addCallback): here.
6518 (createAccessibleKeystrokeListener): chain to
6519 (AccessibleKeystrokeListener_addCallback): here.
6521 * libspi/keystrokelistener.c
6522 (spi_keystroke_listener_class_init): add signal.
6523 (impl_key_event): emit the event.
6524 (boolean_handled_accumulator): impl.
6525 (marshal_BOOLEAN__POINTER): add, gack.
6527 * libspi/accessibleeventlistener.c
6528 (spi_event_listener_class_init): add signal.
6529 (impl_accessible_event_notify_event): emit the signal &
6530 make the loop efficient.
6531 (spi_event_listener_add_callback): prepend the callback.
6533 * libspi/accessibleeventlistener.h: add an 'event' signal,
6534 decl type on callback.
6536 * libspi/keystrokelistener.h: ditto.
6538 * cspi/spi-listener.h: make methods typesafe and
6539 make them use the new event typedefs.
6541 * test/simple-at.c (report_focussed_accessible):
6542 include mag_client.h
6543 Use *(void *)text_interface not the other thing.
6545 * configure.in: add gtk to registryd bits - since we use
6548 * util/magnifier.c: include libbonobo.h
6550 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6552 * test/keysynth-demo.c:
6553 Turned this into a simple scanning keyboard, to demonstrate the
6554 use of g_timeout_add () as a means of creating timers for
6555 scanning, and the use of GtkStyle for visually indicating when
6556 virtual keyboard elements are selected.
6558 keysynth-demo now listens to any keyboard keys with zero-valued
6559 keycodes (i.e. 'unused' keys) and interprets them as
6562 Reworked the shiftlatch code so that shift-down state isn't held
6563 for long periods (it's only synthesized immediately prior to
6564 the keysynth event it's modifying). Note that shiftlatch in this
6565 demo is a convenience, not intended to take the place of AccessX
6566 which is the better choice for getting 'sticky' modifier keys.
6568 * libspi/deviceeventcontroller.c:
6569 * at-bridge/bridge.c:
6570 * cspi/spi_registry.c:
6571 Removed some debug print stuff, and put other verbosity in #ifdef
6576 Implemented some more of the magnifier IDL for the simple
6577 magnifier: namely, getZoomRegionParams.
6578 Added mag_x and mag_y members to MagnifierData struct, aid of this
6580 Added GtkWindow::realize signal handler to magnifier, to keep it
6581 from receiving keyboard focus from the WM.
6583 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6585 * cspi/spi-private.h: my guess at what michael forgot
6586 before he ran off to NZ :-)
6588 2001-11-23 Michael Meeks <michael@ximian.com>
6590 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6591 comment out non existant method invoke so we link.
6593 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6594 use bonobo_exception_get_text for more friendly warnings.
6596 * cspi/spi.c (Obj_Add): move into spi_main & rename
6597 spi_object_add; kill spi.c
6599 * cspi/spi_registry.c
6600 (deregisterGlobalEventListener),
6601 (deregisterGlobalEventListenerAll),
6602 (registerGlobalEventListener): fix exception leaks.
6604 * cspi/spi_main.c (spi_exception): impl. helper, so we
6605 don't leak exceptions.
6607 * cspi/spi_selection.c
6608 (AccessibleSelection_deselectSelectedChild): return the
6611 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6612 (spi_registry): ditto.
6613 (SPI_init): guard against double inits.
6615 * cspi/*.c: use spi_ev (), and spi_registry () where
6616 appropriate - a temporary hack until we have something
6617 better. Use spi_object_add
6619 2001-11-22 Michael Meeks <michael@ximian.com>
6621 * cspi/Makefile.am: re organise, install the headers.
6623 * cspi/*.h: add G_BEGIN/END_DECLS
6625 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6628 Added non-preemptive keylistener for key events with no modifiers
6629 and shift-only modifier.
6631 * libspi/keystrokelistener.c:
6632 Removed some verbose diagnostics printout.
6634 * cspi/spi_registry.c:
6635 Fixed a bug that caused all key listeners to be registered as
6638 * libspi/deviceeventcontroller.c:
6639 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6640 for non-preemptive key masks.
6643 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6645 * docs/reference/idl/at-spi-idl-docs.sgml:
6646 * docs/reference/idl/at-spi-idl-sections.txt:
6647 * docs/reference/idl/at-spi-idl-overrides.txt:
6648 Added missing files.
6650 * docs/reference/Makefile.am:
6651 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6652 to scan the IDL files :-(
6657 Added .cvsignore files.
6659 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6661 * libspi/deviceeventcontroller.c:
6662 * libspi/keystrokelistener.c:
6664 * cspi/spi_registry.c:
6665 Added filters for KeySets, KeyEventSeq, and event types to key
6666 event dispatching, so listeners should only receive those events
6667 that they requested :-)
6669 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6674 * docs/reference:Makefile.am:
6675 * docs/reference/cspi:
6676 * docs/reference/cspi:Makefile.am:
6677 * docs/reference/cspi:tmpl:
6678 * docs/reference/cspi:tmpl:*.sgml:
6679 * docs/reference/idl:
6680 * docs/reference/idl:Makefile.am:
6681 * docs/reference/idl:at-spi-idl-sections.txt:
6682 * docs/reference/idl:at-spi-idl-docs.sgml:
6683 * docs/reference/idl:tmpl:
6684 * docs/reference/idl:tmpl:*.sgml:
6686 Restructured docs directory to allow separate 'reference' docs
6687 section, and forked idl and cspi docs. Added the sgml template
6688 files to CVS. Added the first sections/structural sgml for the
6691 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6693 * configure.in, libspi/Makefile.am: find libXtst.
6695 2001-11-21 Michael Meeks <michael@ximian.com>
6697 * test/accessx-gui.c: s/spi_value/value/ - doh.
6699 * libspi/base.[ch]: add.
6701 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6703 * idl/Accessible.idl:
6704 * idl/Application.idl:
6707 Started gtk-doc cleanup on IDL.
6709 * libspi/deviceeventcontroller.c:
6710 Added and connected non-preemptive key notification from the
6711 toolkits (in addition to the pre-emptive support from XServer
6712 which we had before, but which causes 'focus flashing'). Filters
6713 are presently limited to key modifiers and global/non-global,
6714 KeySets are presently ignored, as are KeyEvent masks.
6716 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6717 structs into the persistant structure rather than just storing
6718 pointers to things that might not persist across servant
6721 The XGrabKey call now does async keygrabs, because synchronous
6722 ones were deadlocking with GDK_event code in a very nasty way.
6724 Added boolean to internal method notify_keylisteners, to indicate
6725 whether the event came from the 'toolkit source' or the 'global
6726 (XServer) source' - this is used in the notification process to
6727 determine which listeners to send the event to.
6729 deviceeventcontroller.c is now warning-free.
6731 * libspi/registry.c:
6732 Fixed regression in application de-registration.
6733 Also fixed some really brain-dead weirdness having to do with
6734 event dispatching - event structs are now duplicated before being
6735 re-marshalled in the dispatch to listeners. This also fixes a
6736 Solaris build problem.
6739 2001-11-20 Michael Meeks <michael@ximian.com>
6742 (impl_accessibility_registry_deregister_global_event_listener):
6745 * libspi/deviceeventcontroller.c
6746 (spi_device_event_controller_check_key_event): return
6747 FALSE on no virtual method.
6749 * libspi/*..h: make includes work on a correctly pathed install.
6751 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6753 * libspi/application.h: kill unused ( and whacked out )
6754 gboolean *spi_application_set_id (AtkObject *app, long id);
6756 2001-11-20 Michael Meeks <michael@ximian.com>
6758 * libspi/*.[ch]: further convert to bonobo's type func
6759 macros, remove redundnant casts etc.
6761 * libspi/text.c s/accessibility_text/spi_text/g,
6762 re-order to de-cruft.
6764 * libspi/hypertext.c: re-order to kill a huge slew
6765 of redundant forward decls.
6767 * libspi/relation.c: ditto.
6769 * libspi/image.c: ditto.
6771 * */.cvsignore: update
6773 2001-11-20 Michael Meeks <michael@ximian.com>
6775 * libspi/deviceeventcontroller.c
6776 (_controller_register_with_devices): use g_getenv,
6777 kill stdlib.h include.
6779 * libspi/keystrokelistener.c
6780 (spi_keystroke_listener_get_type): kill
6781 (spi_keystroke_listener_class_init),
6782 (spi_keystroke_listener_init): rename to this.
6784 * libspi/text.c (impl_getAttributes): fix warning / bug.
6786 * libspi/*.[ch]: more headers, includes and over commenting.
6788 2001-11-20 Michael Meeks <michael@ximian.com>
6790 * libspi/*.[ch]: fixup headers, includes and over commenting.
6792 * libspi/image.c (impl__get_imageDescription): const
6793 correctness warning fix. remove redundant casting.
6795 * libspi/table.c (impl_getRowDescription): ditto.
6796 (impl_getColumnDescription): ditto.
6798 * libspi/libspi.h: add.
6800 2001-11-19 Michael Meeks <michael@ximian.com>
6802 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6804 * libspi/component.c (accessibility_component_get_type):
6805 rename to (spi_component_get_type): and macroify.
6806 (accessibility_component_init): rename to
6807 (spi_component_init): this
6808 (accessibility_component_class_init): rename to
6809 (spi_component_class_init): this
6811 * libspi/action.c (spi_action_get_type): kill, use the macro.
6813 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6816 * libspi/application.c (spi_application_object_event_listener),
6817 (impl_accessibility_application_register_object_event_listener):
6818 warning fixes / const understanding updates.
6820 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6823 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6825 * libspi/spi_accessible.c: Added docs and C bindings for
6826 AccessibleStateSet. (No implementations yet). Documentation
6827 coverage for C bindings now 100%. Made docs for event listeners
6832 boolean notifyListenersSync (in DeviceEventListener listener,
6833 in DeviceEvent event);
6835 oneway void notifyListenersAsync (in DeviceEventListener listener,
6836 in DeviceEvent event);
6838 Added DeviceEventListener and DeviceEvent structs (may deprecate
6839 KeyStroke and KeystrokeListener in favor of this generic
6840 event/listener framework for devices).
6842 * libspi/deviceeventcontroller.c:
6844 Changed some key listener code to take masks, etc., and paved the
6845 way for integration of toolkit/non-preemptive key events. Changed
6846 signatures of some internal methods.
6848 * at-bridge/bridge.c:
6849 Fixed regression connecting to interface signals, apparently
6850 caused by GTK+ changes.
6852 Added an internal bridge_state_listener to deal with
6853 property-change:accessible-state signals.
6855 Changed the key_listeners GList to store structs (including masks,
6856 etc.) instead of just CORBA_Objects (required for full
6857 implementation of key listener API).
6859 Connected the bridge to all currently supported Atk signals.
6860 Events now supported:
6861 object:property-change
6862 object:property-change:accessible-name
6863 object:property-change:accessible-state
6864 object:property-change:accessible-description
6865 object:property-change:accessible-parent
6866 object:property-change:accessible-value
6867 object:property-change:accessible-role
6868 object:property-change:accessible-table-caption
6869 object:property-change:accessible-table-column-description
6870 object:property-change:accessible-table-column-header
6871 object:property-change:accessible-table-row-description
6872 object:property-change:accessible-table-row-header
6873 object:property-change:accessible-table-summary
6874 object:children-changed
6875 object:visible-data-changed
6876 object:selection-changed
6877 object:text-selection-changed
6879 object:text-caret-moved
6881 object:row-reordered
6883 object:column-inserted
6884 object:column-reordered
6885 object:column-deleted
6886 object:model-changed
6888 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6890 * libspi/hyperlink.c,h:
6891 Fixed some broken stuff in hyperlink.
6893 * libspi/relation.h:
6894 * libspi/relation.c:
6895 * cspi/spi_accessible.c:
6896 Initial implementations of AccessibleRelation methods, and docs.
6898 * libspi/accessible.c:
6899 Fixed a bug that caused SEGV if an accessible
6900 object's description is NULL, and a client
6901 requests it. An empty string is now returned.
6903 * cspi/spi_editabletext.c:
6904 * cspi/spi_hypertext.c:
6906 * cspi/spi_hyperlink.c:
6910 Doc coverage now 95%.
6912 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6914 One last namespacing revision:
6915 * libspi/accessibleeventlistener.[ch]:
6916 Renamed SpiAccessibleEventListener to SpiEventListener,
6917 (no need for two namespaces ;-)
6919 And lots of documentation fixes:
6921 * docs/at-spi-docs.sgml:
6922 Fixed 'underscore vs. hyphen' bug that was preventing
6923 the gtk-doc API docs from being automatically generated.
6926 * cspi/spi-listener.h
6928 * cspi/spi_accessible.c
6930 * cspi/spi_application.c
6931 * cspi/spi_component.c
6932 * cspi/spi_editabletext.c
6934 * cspi/spi_hypertext.c
6936 * cspi/spi_registry.c
6937 * cspi/spi_selection.c
6941 * docs/at-spi-docs.sgml
6942 * docs/at-spi-sections.txt
6944 Added and fixed up gtk-doc documentation in cspi.
6946 Interfaces now (fully) documented (subject to revision and enhancement):
6948 Event Listener Support
6950 AccessibleApplication
6954 AccessibleEditableText
6961 AccessibleRelationSet
6966 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6968 * at-bridge/bridge.c:
6969 Initial work for toolkit-level key snooper connection by bridge.
6974 New typedefs and fixes to support new namespacing, and cleaner
6975 separation of cspi bindings from libspi bonobo implementation.
6976 Removed inconsistent and extraneous Spi* namespace prefix that
6977 had crept into cspi headers.
6978 Lots of comment fixes that sed had missed.
6980 * cspi/spi-roletypes.h:
6981 * cspi/spi-statetypes.h:
6982 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6983 to AccessibleRoleType.
6985 * libspi/accessibleeventlistener.h:
6986 Fixed minor namespacing weirdness.
6988 * libspi/deviceeventcontroller.c:
6989 Reordered some internal API for device listeners.
6990 Changed the key registry final boolean to 'is_system_global'
6991 rather than 'is_synchronous', which is more descriptive of its
6993 Added spi_device_event_controller_new().
6994 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6996 * libspi/keystrokelistener.[ch]:
6997 Namespaced KeystrokeListener to SpiKeystrokeListener.
6998 Changed uses of keymasks to use SPI_ prefix, and did other
7001 * libspi/keymasks.h:
7002 Namespaced keymask constants with SPI_ prefix.
7004 * libspi/registry.c:
7005 Some warning fixes, and knock-on fixes from namespace changes.
7008 Added rules for accessx-gui test program.
7010 * test/accessx-gui.c:
7011 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7012 utility. It doesn't actually use at-spi, but it's still cool and
7015 * test/keysynth-demo.c:
7019 Fixes so that these test clients work properly with the namespaced
7020 libraries. (Incompletely tested for technical reasons, fixes may follow)
7023 2001-11-13 Michael Meeks <michael@ximian.com>
7025 * libspi/application.c
7026 (impl_accessibility_application_get_version),
7027 (impl_accessibility_application_get_toolkit_name):
7029 (impl_accessibility_application_set_id),
7030 (impl_accessibility_application_get_id): remove
7031 redundant casting code.
7033 * libspi/action.c (impl_getDescription): fix warnings.
7035 * libspi/accessible.c
7036 (impl_accessibility_accessible_get_parent),
7037 (impl_accessibility_accessible_get_child_at_index),
7038 (impl_accessibility_accessible_get_state),
7039 (impl_accessibility_accessible_get_relation_set):
7040 warning fixes & include action.h
7042 2001-11-13 Michael Meeks <michael@ximian.com>
7044 * *.[ch] fix bits I screwed up:
7046 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7047 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7049 2001-11-13 Michael Meeks <michael@ximian.com>
7051 * *.[ch] Namespace libspi into spi_ and Spi.
7053 2001-13-11 Michael Meeks <michael@ximian.com>
7055 * Makefile.am: dist & install at-spi-1.0.pc
7057 * libspi/Makefile.am: install into at-spi-1.0
7059 * idl/Makefile.am (idldir): install into at-spi-1.0
7061 * at-spi-1.0.pc.in: add.
7063 * configure.in: build it.
7065 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7067 * test/keysynth-demo.c:
7068 Use a 'realize' signal-handler to set the WM properties for
7069 the virtual keyboard, rather than making it a "POPUP" type
7070 override-redirect window (thanks to anders carlsson for that
7073 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7076 * test/keysynth-demo.c:
7077 Added new test of key synthesis, which creates a simple
7078 (mouse-operated) onscreen keyboard. It inserts key events into
7079 the currently-focused window, thus it does not grab keyboard focus
7082 * cspi/spi_registry.c:
7083 Added C binding for AT-SPI generateKeyEvent.
7085 * libspi/deviceeventcontroller.c:
7086 Added call to XFilterEvent so that key listener works with XIM (we
7087 hope). Added event_synth_type to generateKeyEvent, so that we can
7088 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7089 synthesize a press/release pair for KeySyms.
7091 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7093 * libspi/Makefile.am:
7094 * registryd/Makefile.am:
7095 (temporary) hack to include libXtst in libspi and registryd.
7096 (Needed for keystroke synthesis, see below).
7099 Improved API for registerKeystrokeListener, in accordance with
7100 discussions with Gnopernicus team and X server research.
7102 * libspi/registry.c:
7103 * libspi/deviceeventcontroller.c:
7104 * libspi/accessible.c:
7105 * libspi/keystrokelistener.c:
7106 Changes and fixes to support keylisteners for potentially
7107 consumed key events (that is, 'passive grabs').
7108 Added implementation for generateKeyEvent() [untested].
7111 Changes to registerKeystrokeListener() API, as above.
7112 Added deregisterGlobalEventListenerAll(), and
7113 deregisterKeystrokeListener(), which are needed for clean exit of
7115 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7116 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7118 * cspi/spi_registry.c:
7119 Added implementations of function prototypes mentioned above.
7121 * registryd/registryd.c:
7122 Added the key listener event source as a g_timeout(), to allow
7123 receipt of key events that are not caught by GDK (since GDK
7124 doesn't support passive keygrabs, this was necessary).
7127 Changed to attach a keylistener to 'Alt' keys, and
7128 respond to the following keycommands: Alt-M (toggle magnifier);
7129 Alt-F (toggle speech); Alt-Q (quit).
7130 Added an exit routine to deregister the listeners, and a key
7131 listener that prints some key info to the console when a key
7132 matches the listener mask (and is thus received by the listener).
7134 * util/idl/Magnifier.idl:
7135 Changes to magnifier API to support multiple zoom regions,
7136 non-uniform scaling in x and y, markDirty, and a host of other
7137 features that would be useful to magnification.
7140 * util/mag_client.c:
7141 * util/mag_client.h:
7142 * util/mag_control.c:
7144 Source code changes to support the above IDL changes.
7147 As above, and also changes to use a (slower) generic conversion
7148 path for colormap conversions, since the fast RGB conversions have been
7149 reported to fail for 16-bit displays.
7151 2001-10-26 Michael Meeks <michael@ximian.com>
7153 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7155 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7157 * at-bridge/Makefile.am: fix LDFLAGS.
7159 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7161 * at-bridge/bridge.c:
7162 Re-worked listeners for toolkit events, now we have signal
7163 and property listeners. Added a private method
7164 register_atk_event_listeners(), which registers with the
7165 various atk and gtk signals we need to monitor in order to emit
7167 Added emission hook for AtkObject:property-change events, to
7168 support the 'property listeners'.
7169 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7172 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7173 which emit warnings and exit, respectively, if CORBA errors occur
7174 during remote calls, and we now use these methods to check most of
7175 our CORBA calls in the C bindings.
7177 * cspi/spi_accessible.c:
7178 Changed AccessibleSelection_refSelectedChild() to
7179 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7180 now increment refcounts.
7182 * cspi/spi_component.c:
7183 Fixed some long pointer casts (dangerous!) to pass pointers to
7184 CORBA_longs of the proper type to the CORBA stubs, and copy the
7185 data into the longs that were passed into the C bindings code.
7187 * at-bridge/bridge.c:
7189 * libspi/accessible.c:
7190 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7191 hyperlinks, AtkHyperlink is an object type.
7193 * libspi/application.c:
7194 Added various conversions to and from "generic" event types and
7195 atk-specific types; this is really part of the 'bridge'
7196 implementation but is valid for all AtkObject-based accessibility
7199 * libspi/editabletext.c:
7200 Fixed nasty bug wherein editable text's finalize method was
7201 unref'ing tha AtkObject reference that the text parent class was
7202 about to unref _again_. There was also a nasty inheritance bug
7203 that meant that the AccessibleEditableText class was corrupt.
7205 * libspi/selection.c:
7206 Provided implementations for some selection API that was broken.
7208 * idl/Application.idl:
7209 Added registerObjectEventListener () method.
7212 Fixed a number of return values that were Bonobo_Unknowns from
7213 bonobo_object_corba_objref(), which I
7214 forgot to dup before returning. Changed instances of
7215 bonobo_object_corba_objref (bonobo_object(o)) to
7216 BONOBO_OBJREF(o), for concision and clarity.
7218 2001-10-13 Louise Miller <louise.miller@sun.com>
7220 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7221 idl/Event.idl, idl/Registry.idl
7222 Changed these files to include Bonobo_Unknown.idl instead
7225 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7227 * libspi/component.c libspi/component.h:
7228 Fixed typo. Added assertions for object checks in
7229 AccessibleComponent code.
7231 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7233 * idl/Accessible.idl:
7234 Added 'isEqual (Accessible *object)'
7235 method for Accessible. (Not Yet Implemented).
7238 Changed signature of registerKeystrokeListener() to
7239 take a KeySet and KeyEventSeq so that specific keys and event
7240 types could be requested for monitoring, and added a flag
7241 is_synchronous so that either synchronous or asynchronous
7242 notification could be requested. (However this is not all
7243 implemented yet). This also meant adding two new typedefs,
7244 KeyEventSeq and KeySet.
7247 Added two new relations, RELATION_TOOLTIP_FOR and
7248 RELATION_LEAFNODE_OF.
7251 Added new state, STATE_HAS_TOOLTIP.
7253 * libspi/text.c, editabletext.c:
7254 Added new assertions to all casts of bonobo-objects from
7255 CORBA servants, to prevent Text API calls on non-text objects.
7256 Changed suspect casts of int-pointer types, so that we
7257 always send a valid CORBA_long pointer to the CORBA APIs that use
7258 in/out long parameters. We then have to copy from the CORBA_long
7259 into the regular long or int for return to the C bindings, or
7260 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7263 * libspi/deviceeventcontroller.c:
7264 Cleaned these sources up.
7266 Changed return type for getCharacterAtOffset to
7267 CORBA_unsigned_long, to allow for 32-bit characters.
7270 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7274 Fixed 'make dist' so that distro compiles...
7275 * libspi/keymasks.h:
7277 * cspi/spi-listener.c:
7278 KeystrokeListenerCB now returns a boolean.
7280 Added KeyEventType struct, and KeyStroke.
7281 Also added createKeystrokeListener(),
7282 KeystrokeListener_addCallback(),
7283 KeystrokeListener_removeCallback(), and added a keymask to
7284 registerKeystrokeListener().
7285 * cspi/spi_accessible.c:
7286 Changed numerous return types for interfaces from
7287 AccessibleComponent to Accessible<InterfaceName>; this was
7288 probably a cut-and-paste error.
7290 Implementations of new KeystrokeListener api (from spi.h,
7293 Changes to key modifier mapping.
7294 Created ControllerEventMask struct.
7295 Made DeviceEventController derive from Bonobo::Unknown.
7297 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7298 * libspi/deviceeventcontroller.c:
7299 Added a number of new internal (private) methods.
7300 * libspi/editabletext.c:
7301 * libspi/editabletext.h:
7302 Fixed a number of bugs related to the fact that
7303 editabletext inherits from text. Fixed the EditableText struct,
7304 the init() call, and use correct casts when calling Text methods
7305 from an EditableText object. Removed (duplicate) atko from the
7306 EditableText structure, we use the one in the parent Text
7307 structure via the casts mentioned above.
7308 * libspi/keystrokelistener.[ch]:
7309 * libspi/registry.c:
7310 Changes in support of keyboard handling (above).
7312 Keyboard handling, though partly functional, is still not
7313 recommended for at-spi client use as there is considerable
7314 work yet to be done.
7317 Changed some places where pointers to various int types
7318 are cast to be pointers to CORBA_long types and vice-versa:
7319 pointer casting is not safe so we pass pointers of the correct
7320 types and then cast the result before putting it into the target
7323 * libspi/text.h: minor typos corrected.
7325 We now speak not only the name of a Text element, but the
7326 first sentence of its content, when it receives focus.
7327 I also changed the text compression to 75% from 50%.
7328 * util/Accessibility_Util.server.in:
7329 Changed the default magnifier type to be a 3x vertical
7330 splitscreen magnifier (was previously a 2x horizontal one).
7332 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7334 * libspi/keystrokelistener.h:
7335 * libspi/keystrokelistener.c:
7336 Initial functional implementations of KeystrokeListener.
7339 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7341 Fixed string handling for NULL strings in libspi.
7342 Added spi_freeString to free strings returned by C bindings.
7344 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7346 * libspi/keystrokelistener.h:
7347 * libspi/keystrokelistener.c:
7348 Began (no-op) implementations of KeystrokeListener
7350 * libspi/deviceeventcontroller.c:
7351 * libspi/deviceeventcontroller.h:
7352 Began creating implementations of DeviceEventController,
7353 to handle keystroke and mouse event listening and
7355 * libspi/accessible.c:
7356 Stubbed-in the implementations for
7357 Accessibility_Accessible_getState and
7358 Accessibility_Accessible_getRelationSet.
7359 * libspi/registry.c:
7360 Improved de-registration process and fixed some bugs,
7361 deregistration now works correctly.
7363 Added initialization of applications list (to NULL).
7365 Reduced speech compression from 0.5 to 0.7, for demo.
7366 Changed call to gdk_window_set_decorations()
7367 to gtk_window_set_decorated().
7368 * at-bridge/bridge.c:
7369 Bridge now deregisters when app exits, via
7370 registration of a cleanup function
7371 with the g_atexit() call.
7372 Required making 'app' static, renamed 'this_app'.
7373 Fixed broken use of bonobo_init, passing argv wrongly.
7375 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7379 Created a new directory for
7380 accessibility-related utilities, primarily for
7381 testing and demo purposes, but with possible
7388 Onscreen magnifier utility that
7389 is implemented as a bonobo service.
7391 * util/mag_client.c:
7392 * util/mag_client.h:
7393 Client-side support (simple C bindings)
7394 for Magnification service
7396 * util/mag_control.c:
7397 Client program example for
7398 Magnification service
7400 * util/Accessibility_Magnifier.server.in:
7401 Bonobo-activation file for the
7402 Magnification service.
7405 * util/idl/Magnifier.idl:
7406 IDL defining the bonobo Magnification
7410 Modifications to use the bonobo-activated magnifier
7411 above, in place of trying to connect to an existing
7412 magnifier that uses socket-listening IPC.
7414 If env variable MAGNIFIER is set, a magnifier service
7415 will be started if one does not exist.
7417 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7419 * at-bridge/bridge.c:
7420 applied patch from Marc to build and run
7421 against new glib and gtk+ (seemed like a change
7422 to bonobo_init signature was made ?)
7424 made festival-server support turned off by default.
7425 Added support for a simple magnifier (off by default)
7426 which will be added to a 'util' directory later.
7427 * at-bridge/Makefile.am:
7428 Changed "application.h" header from a 'source'
7429 to a 'dependency' of libat-bridge.
7431 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7440 Added interface implementation c files to list of
7441 includes so they are included in libcspi.
7444 Changed prototype of AccessibleAction_doAction to return a
7446 Changed prototype of AccessibleTable_getCaption to
7447 return an Accessible.
7448 Changed prototype of AccessibleTable_getSelectedRows
7449 and AccessibleTable_getSelectedColumns to
7450 return a long (returns the number of selected rows
7451 or columns respectively).
7452 Changed name of AccessibleText_refRunAttributes to
7453 AccessibleText_getAttributes.
7454 Changed prototype of AccessibleText_getCharacterExtents to
7455 return a void rather than a boolean.
7456 Added support for a AccessibleCoordType parameter
7457 specifying what type of coordinates are desired.
7458 Added an AccessibleCordType parameter to
7459 AccessibleText_getPointAtOffset.
7461 * cspi/spi_accessible.c:
7462 Added code to return the outstanding interfaces from
7463 Accessible_queryInterface.
7465 * cspi/spi_action.c:
7467 Corrected call to getNActions to call the c binding
7470 * cspi/spi_editabletext.c:
7472 Changed name from setRunAttributes to setAttributes.
7474 * cspi/spi_hyperlink.c:
7476 Changed call to getNAnchors to correctly call the c
7477 binding for an attribute.
7479 * cspi/spi_hypertext.c:
7481 Changed getImageDescription to correctly call the
7482 binding for an attribute.
7484 * cspi/spi_selection.c:
7485 Changed getNSelectedChildren to correctly call the c
7486 binding for the attribute.
7487 Changed refSelectedChild to getSelectedChild.
7491 Changed getCaption to return an Accessible.
7492 Fixed calls which retrieve attributes.
7493 Changed refAt to getAccessibleAt.
7494 Changed getNSelectedRows and getNSelectedColumns to
7498 Changed getCharacterExtents and getPointAtOffset to accept an
7499 AccessibleCoordType.
7501 Changed calls which retrieve attributes.
7502 Changed refRunAttributes to getAttributes.
7507 * idl/Hyperlink.idl:
7508 Changed n_anchors attribute to nAnchors to keep naming
7509 convention consistent.
7512 Made Table inherit from Bonobo::Unknown.
7513 Added nSelectedColumns and nSelectedRows attributes.
7516 Made Value inherit from Bonobo::Unknown.
7518 * libspi/hyperlink.c:
7519 Change for nAnchors attributte name change.
7521 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7529 Added interface implementation c files to list of
7530 includes so they are included in libcspi.
7533 Changed prototype of AccessibleAction_doAction to return a
7535 Changed prototype of AccessibleTable_getCaption to
7536 return an Accessible.
7537 Changed prototype of AccessibleTable_getSelectedRows
7538 and AccessibleTable_getSelectedColumns to
7539 return a long (returns the number of selected rows
7540 or columns respectively).
7541 Changed name of AccessibleText_refRunAttributes to
7542 AccessibleText_getAttributes.
7543 Changed prototype of AccessibleText_getCharacterExtents to
7544 return a void rather than a boolean.
7545 Added support for a AccessibleCoordType parameter
7546 specifying what type of coordinates are desired.
7547 Added an AccessibleCordType parameter to
7548 AccessibleText_getPointAtOffset.
7550 * cspi/spi_accessible.c:
7551 Added code to return the outstanding interfaces from
7552 Accessible_queryInterface.
7554 * cspi/spi_action.c:
7556 Corrected call to getNActions to call the c binding
7559 * cspi/spi_editabletext.c:
7561 Changed name from setRunAttributes to setAttributes.
7563 * cspi/spi_hyperlink.c:
7565 Changed call to getNAnchors to correctly call the c
7566 binding for an attribute.
7568 * cspi/spi_hypertext.c:
7570 Changed getImageDescription to correctly call the
7571 binding for an attribute.
7573 * cspi/spi_selection.c:
7574 Changed getNSelectedChildren to correctly call the c
7575 binding for the attribute.
7576 Changed refSelectedChild to getSelectedChild.
7580 Changed getCaption to return an Accessible.
7581 Fixed calls which retrieve attributes.
7582 Changed refAt to getAccessibleAt.
7583 Changed getNSelectedRows and getNSelectedColumns to
7587 Changed getCharacterExtents and getPointAtOffset to accept an
7588 AccessibleCoordType.
7590 Changed calls which retrieve attributes.
7591 Changed refRunAttributes to getAttributes.
7596 * idl/Hyperlink.idl:
7597 Changed n_anchors attribute to nAnchors to keep naming
7598 convention consistent.
7601 Made Table inherit from Bonobo::Unknown.
7602 Added nSelectedColumns and nSelectedRows attributes.
7605 Made Value inherit from Bonobo::Unknown.
7607 * libspi/hyperlink.c:
7608 Change for nAnchors attributte name change.
7611 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7613 implementations-- made server implementations own AtkObject pointers
7614 rather than their respective AtkInterrface pointers to fix
7615 refcounting. AtkHyperlink is still broken.
7617 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7618 * cspi/spi_accessible.c:
7619 Added method Accessible_Role_getName(),
7620 and requisite string array (role_names).
7621 Added conversion string_from_corba_strin() call
7622 to Accessible_getName and _getDescription.
7623 * libspi/accessible.c:
7624 Added implementation for Accessible_getRole()
7626 Added festival support, used if environment variable
7629 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7631 * at-bridge/bridge.c:
7632 Now allocate Accessibility_Event using
7633 Accessibility_Event__alloc() instead of g_new0().
7634 * libspi/accessibleeventlistener.c:
7635 Initialize AccessibleEventListener->callbacks to NULL.
7636 Fixed accessible__event_listener_init() param, changed to
7637 "AccessibleEventListener *" type.
7638 Changed a bonobo_object_release_unref() call to
7639 Accessibility_Accessible_unref().
7640 * libspi/listener.c:
7641 Changed Bonobo_Unknown_unref to (equivalent)
7642 Accessibility_Accessible_unref.
7643 * libspi/registry.c:
7644 Changed bonobo_object_release_unref to
7645 Accessibility_Accessible_unref.
7647 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7650 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7651 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7652 spi-util.c spi-util.h
7653 Implementations for C bindings to remaining accessibility
7656 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7659 changed return value of Action from void to boolean to
7660 bring in line with ATK.
7663 Changed getText funcions to return "out" start and end offsets.
7664 Changed getAttributes to take and offset and return the start
7665 and end offset of the attribute run.
7666 Changed getOffsetAtPoint and getCharacterExtents to take an
7667 enum describing whether coordinates are window or screen.
7670 libspi/action.c libspi/action.h libspi/editabletext.c
7671 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7672 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7673 libspi/image.h libspi/selection.c libspi/selection.h
7674 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7675 libspi/value.c libspi/value.h
7676 Added server implementations for outstanding ATK interfaces
7677 not yet implemented.
7679 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7682 Added (missing) getName() method.
7683 Made nActions an attribute.
7684 * idl/EditableText.idl:
7685 Changed order of params in setAttributes.
7686 * idl/Hyperlink.idl:
7687 Removed getAnchor, added getURI.
7689 Changed attributes to methods, for efficiency
7690 (so that getting extents can be done in one call)
7691 * idl/Selection.idl:
7692 Changed nSelectedChildren to attribute, and re-indented.
7693 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7695 * idl/Text.idl: reformatted to match our coding style.
7696 (temporarily?) removed getRowColumnAtOffset().
7697 Changed text selection API to support multi-select and
7698 non-contiguous selections, as in ATK.
7699 * idl/Value.idl: changed some methods to attributes.
7701 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7703 * libspi/listener.c(impl_notify_event):
7704 BonoboUnkown_unref the source instead
7705 of bonobo_object_release_unref - the ORB
7706 handles the releasing.
7708 * configure.in: require ORBit-2.3.94 for
7711 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7713 Tagged CVS repository 'EA_1_0'.
7714 * README.EARLY_ACCESS:
7715 Alphabetized acknowledgements list, and
7717 Listed some known dependencies of at-spi.
7719 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7721 * docs/at-spi-docs.sgml:
7722 * docs/at-spi-sections.txt:
7723 * docs/at-spi-overrides.txt: (Added zero-length file)
7724 Documentation improvements - gtk-doc should build
7725 docs for all implemented C bindings now.
7728 * cspi/spi.c: (New file)
7729 * cspi/spi_event.c: (New file)
7730 * cspi/spi_registry.c: (New file)
7731 * cspi/spi_accessible.c: (New file)
7732 * cspi/spi_application.c: (New file)
7733 * cspi/spi_component.c: (New file)
7734 Split spi_main.c into six parts, and included them from
7735 "spi.c". This is a bit of a hack, probably temporary,
7736 but required by gtk-doc, apparently.
7738 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7741 * docs/at-spi-docs.sgml:
7742 * docs/at-spi-sections.txt:
7744 Initial checkins/modifications for gtk-doc generation.
7747 Added (missing) interface query methods to Accessible's C binding.
7749 Added GenericInterface type definition.
7751 Added query for AccessibleComponent interface to focus event handler.
7752 Added printout of bounding box for focussed component.
7753 * libspi/component.c:
7754 Added partial implementation for AccessibleComponent to C binding.
7755 * idl/Application.idl:
7756 * libspi/registry.c:
7757 * libspi/listener.c:
7758 * libspi/application.c:
7759 * libspi/application.h:
7760 Changed "ID" attribute type from string to long.
7762 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7766 Made method naming consistent: methods taking object args
7767 start with uppercase, other methods (except those using
7768 acronyms) start with lowercase. Underscores delimit between
7769 object names and method names:
7770 SPI_init() - uppercase since it starts with an acronym.
7771 getDesktopCount () - lowercase start since no object param0.
7772 Accessible_getName() - uppercase object type name, studlyCaps method
7776 Added gtk-doc documentation for all currently implemented
7777 methods in the C bindings API.
7779 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7781 * Makefile.am : changed build order to build test last.
7784 Changed "createEventListener" to "CreateEventListener".
7785 * libspi/accessibleeventlistener.c :
7786 Bugfix for addition of callbacks.
7787 * test/Makefile.am :
7788 * test/simple-at.c :
7789 Added new test that uses the C bindings API.
7791 * libspi/listener.c :
7792 * libspi/registry.c :
7793 * libspi/accessibleeventlistener.c :
7794 * at-bridge/bridge.c :
7795 Renamed member "target" of Accessibility_Event to "source",
7796 which is more descriptive.
7799 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7803 * cspi/Makefile.am :
7804 Added makefile support for at-spi/cspi directory.
7807 * cspi/spi-listener.h : (NEW FILE)
7808 Added support for/use of spi-listener.h.
7810 C bindings now build successfully, with no warnings.
7811 * libspi/accessibleeventlistener.h : (NEW FILE)
7812 * libspi/accessibleeventlistener.c : (NEW FILE)
7813 * libspi/Makefile.am :
7814 Added new object type "AccessibleEventListener"
7815 which inherits from Listener, and allows attachment
7816 of in-process callbacks (so that a client with a listening
7817 object instance can add functionality to the local
7818 implementation, dynamically).
7820 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7822 * libspi/accessible.c:
7823 Add implementation for get_index_in_parent().
7825 Added #include of "spi-roletypes.h", and
7826 added enumerated type AccessibleCoordType.
7827 Added definition for KeystrokeListener (function type).
7830 * cspi/spi-statetypes.h :
7831 * cspi/spi-roletypes.h :
7833 Added these headers, used by spi.h.
7835 Added code (NOTE: not yet built by make).
7837 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7839 * libspi/Makefile.am: generate imodule
7840 at the same time as other idl compiler
7843 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7844 * libspi/registry.c :
7845 * libspi/application.c :
7846 * idl/Application.idl :
7847 Made registration with toolkit an application method,
7848 which is required since each app has its own toolkit static
7849 environment. Thus the bridge must register for
7850 notification of toolkit events from each application in turn.
7851 Toolkit notifications are now successfully registered for, and
7852 sent to the listening at client.
7854 Changed toolkit event string to use hyphens rather than underscores.
7855 * libspi/listener.c :
7856 listner now gives more info in debug mode - it reports the
7857 name of the event received, as well as the name of the source.
7860 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7862 * libspi/registry.c :
7863 added more implementation for toolkit events.
7864 Fixed bug such that toolkit event registrations
7865 (via atk) use the whole event name string, not
7867 Removed a useless call to an ORBit_ method.
7868 * at-bridge/bridge.c :
7869 Removed unused local sbuf[] variable.
7871 We now register for Gtk:GtkWidget:button_press_event
7872 events as well as "focus:" events.
7874 Add some more API from Registry.idl that was missing,
7875 for keystroke listening, keystroke and mouse event
7876 synthesis, and enumeration of accessible desktops.
7878 2001-08-16 Michael Meeks <michael@ximian.com>
7880 * configure.in: use AM_GLIB_GNU_GETTEXT.
7882 * Makefile.am (SUBDIRS): kill intl.
7884 2001-08-15 Michael Meeks <michael@ximian.com>
7886 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7888 * configure.in: upd.
7890 * configure.in: depend on a recent bonobo-activation that
7891 will find our server files ...
7893 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7895 * libspi/accessible.c : accessible_new() :
7896 Now we add the Component interface via bonobo_object_add_interface,
7897 if the contained AtkObject implements AtkComponent.
7898 * libspi/accessible.h : now include "component.h"
7899 * libspi/component.h :
7900 * libspi/component.c : added files - implementation of
7901 bonobo wrapper object for Accessibility/Component
7902 * libspi/listener.c :
7903 Added test code to check for Accessibility/Component:1.0
7904 interface and report whether it is implemented by the
7906 * libspi/registry.c :
7907 Now we check for not only the hash of the whole event
7908 string before relaying the event, we also check the
7909 "minor" event string (without the detail string).
7910 This allows event listeners to be registered against
7911 all events of a certain major+minor type, or just
7912 against a specific major+minor+detail type.
7913 * libspi/accessible.c :
7914 Added implementations for Accessible:get_parent(),
7915 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7916 * libspi/registry.c :
7917 * libspi/listener.c :
7918 Replaced calls to Accessibility_Accessible_ref() and
7919 Accessibility_Accessible_unref() with
7920 calls to bonobo_object_dup_ref() and
7921 bonobo_object_release_unref(), so that the CORBA object
7922 is dup-ed and released when relayed, as well as the bonobo object.
7924 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7926 * libspi/Makefile.am,
7927 registryd/Makefile.am,
7928 at-bridge/Makefile.am.
7929 test/Makefile.am, configure.in:
7930 reverse previous changes.
7932 * /idl/Image.idl: fix typo.
7934 * test/Makefile.am: put DEBUG_FLAGS
7937 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7939 * test/app.c: use argv[0] instead of
7942 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7944 * libspi/Makefile.am,
7945 registryd/Makefile.am,
7946 at-bridge/Makefile.am.
7947 test/Makefile.am, configure.in:
7948 cleanup, replace individual LIBS/CFLAGS with
7949 AT_COMMON_{LIBS|CFLAGS}.
7953 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7955 * configure.in, libspi/Makefile.am:
7956 Change IDL path checking for bonobo-activation
7959 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7961 * registryd/registry.c : separated event listeners to use
7962 3 separate lists (focus, window, toolkit). Began testing
7963 event names against hashes before relaying events.
7964 * test/at.c : now register for events of type "focus:"
7965 * test/app.c : now generate events of type "focus:"
7966 * at-bridge/bridge.c : register with ATK for focus events,
7967 and we now relay those focus events to any "focus:" listeners.
7968 This now works with the bridge as a GTK_MODULE when running test/at.
7969 * libspi/registry.c :
7970 * libspi/listener.c :
7971 now we ref event sources before propagating, and unref on receipt.
7972 * libspi/registry.c :
7973 some changes to internal structs, to support event typestring hashes.
7974 * text/app.c : changed the way the appname is generated.
7975 * cspi : added directory that will hold the C bindings library for
7976 non-CORBA/bonobo-savvy clients.
7977 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7978 * idl/Component.idl : added in parameter to indicate coord system for
7979 geometry-related calls.
7980 * idl/Hyperlink.idl : added readonly n_links attribute
7981 * idl/Image.idl : changed methods to attributes.
7983 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7985 * at-bridge/Makefile.am: link against
7986 ../libspi/libspi.la instead of -lspi.
7988 * at-spi/test/app.c: include
7989 bonobo-activation.h. Use a default appname
7990 if one is not provided.
7992 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7994 * idl/Registry.idl : temporarily changed register_Application
7995 to oneway, to work around issue with initial registration
7997 * idl/Application.idl : changed attribute "id" from readonly
7998 to read-write, since it needs to be assigned by Registry.
7999 * registryd/registryd.c : added call to set application id
8001 * registryd/registry.c : changed de-registration procedure to
8002 use CORBA_Object_hash() to find matching object ref in application
8003 lists and listener lists.
8004 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8005 began distinguishing between event types (work in progress).
8007 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8010 * libspi/application.c:
8011 Added implementations for get/set id, get_toolkitName,
8013 * registryd/registryd.c :
8017 Converted from use of OAF to bonobo-activation.
8018 * libspi/desktop.h :
8019 * libspi/desktop.c :
8021 Removed references to atksimpleobject, since base atkobject
8022 implementation now provides functionality we need.
8023 * libspi/atksimpleobject.c :
8024 * libspi/atksimpleobject.h :
8029 * at-bridge/Makefile.am
8030 * at-bridge/bridge.c
8033 Added directory "bridge" and contents, and added dependencies
8034 in Makefile.am/configure.in.
8035 Initial checkin of "at-bridge".
8036 This code is a GTK_MODULE which automatically registers
8037 GTK+ apps with the accessibility registry, using an object
8038 reference to the root ATK object.
8040 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8042 * po/Makefile.in.in: Remove. Again. If this
8043 doesn't get autogenerated - you need to update
8046 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8048 * po/Makefile.in.in: Add. Again.
8050 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8052 * libspi/accessible.c : added support for 'description' property.
8053 * libspi/accessible.c
8055 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8056 (since the two are now equivalent in libbonobo)
8064 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8065 Bonobo::Unknown as does Accessibility::Accessible.
8066 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8067 interface with Bonobo::Stream, since it was redundant with it.
8068 (The Stream returned by a StreamableContext object is expected to
8069 implement only a subset of Bonobo::Stream)
8071 2001-07-28 Anders Carlsson <andersca@gnome.org>
8073 * libspi/accessible.c (accessible_object_finalize): Change
8074 g_free to g_object_unref since the AtkObject is a GObject.
8076 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8078 * idl/Accessibility.idl: add new IDL files
8081 * idl/Action.idl: Definitions of actionable UI object
8082 * idl/Component.idl: Definitions of UI component geometry, etc.
8083 * idl/Hyperlink.idl: Defs of hyperlink behavior
8084 * idl/Image.idl: Def of accessible image
8085 * idl/Selection.idl: Definition of UI object with selectable children
8086 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8087 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8088 * idl/Text.idl: Interface defs for UI elements with complex textual content
8089 * idl/Value.idl: Definition of UI element that is a value controller or display
8091 2001-07-27 Michael Meeks <michael@ximian.com>
8093 * po/Makefile.in.in: remove autogenerated file from CVS.
8095 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8098 * idl/Registry.idl: include guard.
8100 * idl/Accessibility.idl: Add, and include all the other IDL
8103 * idl/*.idl: remove mass of pragmas etc.
8105 2001-07-26 Michael Meeks <michael@ximian.com>
8107 * registryd/Makefile.am (registryd_SOURCES): remove
8110 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8112 * libspi/.cvsignore, registryd/.cvsignore,
8113 test/.cvsignore: updated.
8115 * po/Makefile.in.in: gettext update.
8117 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8119 * initial CVS checkin
8121 2001-06-29 Michael Meeks <michael@ximian.com>
8123 * configure.in: add AM_CONFIG_HEADER to gen config.h