1 2007-01-02 Bill Haneman <billh@gnome.org>
4 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
5 appending default attributes to a text attribute set.
8 2006-12-28 Li Yuan <li.yuan@sun.com>
10 * atk-bridge/bridge.c:
11 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
12 the second time, because spi_atk_emit_eventv will free any. Bug
15 2006-12-15 Li Yuan <li.yuan@sun.com>
17 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
19 2006-12-14 Li Yuan <li.yuan@sun.com>
22 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
23 (spi_atk_bridge_property_event_listener),
24 (spi_atk_bridge_signal_listener):
25 Free some CORBA objects to fix memory leak and crash.
27 2006-12-13 Li Yuan <li.yuan@sun.com>
29 Patch from Ariel Rios to fix #163132 and #377079.
30 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
31 (spi_atk_bridge_get_registry_ior):
32 Use g_warning instead of g_error and g_critical to avoid crash.
34 2006-12-11 Bill Haneman <bill.haneman@sun.com>
37 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
38 if there are no non-default attributes defined at the current offset.
41 2006-12-04 Bill Haneman <bill.haneman@sun.com>
43 * idl/Accessibility_Role.idl: Fixed the documentation for
44 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
46 2006-12-04 Bill Haneman <bill.haneman@sun.com>
48 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
50 2006-11-07 Bill Haneman <bill.haneman@sun.com>
52 Patches from Padraig O'Briain for bugs #361386 and #369377.
54 * registryd/registry.c:
55 (struct NotifyContext): Change the e_out
56 member from an Accessibility_Event struct to a pointer to
58 (notify_listeners_cb): Modify to use the new struct definition above.
59 Allows use of ORBit_copy_value instead of CORBA_any__copy.
61 * registryd/deviceeventcontroller.c:
62 (spi_dec_button_update_and_emit): Free the event's any_data
64 (spi_dec_mouse_check):Free the event details any struct
66 (spi_device_event_controller_forward_mouse_event): Free any.
67 (spi_device_event_controller_forward_key_event): Ditto.
69 2006-11-07 Bill Haneman <bill.haneman@sun.com>
71 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
72 Don't require gtk+ and gail for building most of at-spi
75 * registryd/registry-main.c (main): We now get te value of display
76 using the env var DISPLAY rather than using the gdk_display_get_default
77 to avoid dependancy of gdk. Also, once the registry is started, we set
78 the ior of the registry as an X property.
79 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
81 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
82 the registration was successfull.
83 (spi_atk_bridge_do_registration): This function now returns success
84 or not on activating the registry.
85 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
86 has been set in the X root window and return it if available.
87 (spi_atk_bridge_get_registry): We now get the registry using the IOR
88 saved as a X property rather than using the OAFID.
90 2006-10-01 Bill Haneman <bill.haneman@sun.com>
92 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
94 2006-09-25 Bill Haneman <bill.haneman@sun.com>
96 * registryd/registry.c:
97 (desktop_remove_application): Don't pass a ref to the
98 dead application with the event, since it's probably
99 defunct and will cause SEGV if we try to unref,
100 extract app name, etc.
103 2006-09-20 Bill Haneman <bill.haneman@sun.com>
105 Patch from Neo Liu <nian.liu@sun.com>,
108 * atk-bridge/bridge.c:
109 (spi_atk_bridge_document_event_listener): New, for
112 2006-08-30 Bill Haneman <bill.haneman@sun.com>
115 Changed some parameter names so as not to
116 collide with class names - allows IDL to be compiled with
117 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
119 2006-08-22 Bill Haneman <bill.haneman@sun.com>
121 * atk-bridge/bridge.c:
122 (spi_atk_bridge_signal_listener):
123 Patch from Ginn Chen, assign detail1 in children-changed
124 so that the child object can be assigned to the Any when the
125 at-spi event is emitted. Bug #350552.
127 * libspi/application.c:
128 (spi_application_finalize): Remove g_print debug output.
131 2006-08-21 Bill Haneman <bill.haneman@sun.com>
133 * configure.in: Revved to AT-SPI 1.7.11.
135 * libspi/accessible.c:
136 (spi_accessible_new): Aggregate Hyperlink interface
137 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
139 * libspi/hyperlink.c:
140 (spi_hyperlink_new): Don't aggregate Action a second time if this
141 interface is created for an AtkHyperlinkImpl object (i.e. for a
142 child Accessible, as opposed to the Hyperlink instance from
144 (get_hyperlink_from_servant): Obtain the hyperlink from
145 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
147 Patch section from Ginn Chen...
149 * cspi/spi_accessible.c:
150 (_cspi_accessible_set_from_sequence):
151 Changed g_newa to g_new0 on Ginn Chen's suggestion.
153 * libspi/accessible.c:
154 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
155 (spi_accessible_new): Add the Document interface if present.
158 (impl_getAttributes): Fixed to use AtkAttribute properly.
161 (impl_getAttributes, impl_getDefaultAttributes):
162 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
164 2006-08-17 Bill Haneman <bill.haneman@sun.com>
166 * cspi/spi-private.h, cspi/spi_accessible.c:
167 (_cspi_attribute_set_from_sequence): Renamed from
168 cspi_attribute_set_from_sequence, to suppress export.
171 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
172 inline docs, which was keeping the doc from appearing.
173 (SPIExceptionHandler): Doc this.
175 * cspi/spi_document.c:
176 Added inline gtk-docs cut-n-pasted from the doxygen
177 docs in the corresponding IDL files.
178 (AccessibleDocument_getAttributes): Fix the retval here.
180 * cspi/spi_streamablecontent.c:
181 Fixed some 'Since' tags that were accidentally doxygen-style.
184 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
185 docs from the IDL file.
187 * docs/reference/cspi/at-spi-cspi-docs.sgml:
188 Added entities for Document and StreamableContent interfaces.
190 * docs/reference/cspi/at-spi-cspi-sections.txt:
191 Added some docs that were present inline but not getting
194 2006-07-31 Bill Haneman <bill.haneman@sun.com>
197 (impl_getRangeExtents): Use the atk_text_get_range_extents
198 API instead of looping over character bounds, now that
200 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
201 (_spi_text_bounds_contain): Remove, not needed anymore.
202 (_spi_text_rect_union): Remove, not needed anymore.
204 2006-07-31 Bill Haneman <bill.haneman@sun.com>
206 * atk-bridge/bridge.c:
207 (spi_atk_emit_eventv): Fix the CORBA_free call which was
208 causing 64-bit troubles and memory leaks.
209 Special thanks to Alexander Larsson who finally seems to
210 have tracked down the problem, not just here but in
214 (spi_init_any_object): Make sure we copy the CORBA value
215 when initializing an object for passing as a CORBA_Any.
218 2006-07-21 Bill Haneman <billh@gnome.org>
220 * idl/Accessibility.idl:
221 Reverted pragma changes, this broke the build in some envs
222 including the Debian team's build and some tinderbox builds.
224 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
227 Revved to 1.7.10, and edited the Xevie check (bug #319994).
229 * idl/Accessibility.idl:
230 Reworked inclusion of Bonobo_Unknown.idl, to
231 avoid double-linking libs in the Bonobo environment.
232 Thanks to Michael Meeks for the workaround, see bug #313122.
234 * registryd/deviceeventcontroller.c:
235 (spi_controller_notify_keylisteners):
236 Set the SPI_NUMLOCK_MASK bit if the modifier
237 corresponding to the conceptual numlock state is set.
240 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
242 * idl/Accessibility_Selection.idl:
243 (deselectChild): New method.
245 * libspi/selection.c:
246 (impl_deselectChild): Implement the new IDL method.
249 (AccessibleSelection_deselectChild): Added new method.
251 * cspi/spi_selection.c:
252 (AccessibleSelection_deselectChild): New method implemented.
254 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
256 * cspi/bonobo/cspi-bonobo.c:
257 (cspi_init): Replace g_error with g_warning, prevent
258 SEGV if the registry cannot be activated. Bug #346393.
260 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
262 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
264 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
265 2006-07-12 Ariel Rios <arios@us.ibm.com>
269 * idl/Accessibility_Table.idl:
270 (getRowColumnExtentsAtIndex): New method for getting
271 selection status and extents in one API call.
274 (impl_getRowColumnExtentsAtIndex): Implementation of
276 (spi_table_class_init): Add above to epv.
280 (AccessibleTable_getRowColumnExtentsAtIndex): New
281 method, retrieves selection status and row/col extents
282 for a table cell in a single API call.
284 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
285 2006-07-12 Ariel Rios <arios@us.ibm.com>
287 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
290 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
291 New bindings for new methods defined in idl and libspi.
294 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
295 Added prototype functions.
298 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
300 (spi_text_class_init): Added previous methods.
303 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
304 * libspi/spi-private.h: Corrections.
306 2006-06-29 Bill Haneman <bill.haneman@sun.com>
308 Added Document interface (see bug #326520),
309 with work from Ariel Rios <arios@us.ibm.com>.
311 * configure.in: Bump to 1.7.8.
313 * libspi/Makefile.am: Added document.[ch] to sources
316 (SpiDocument, SpiDocumentClass):
317 New interface implementation.
318 (spi_document_get_type, spi_document_construct)
319 (spi_document_interface_new): New methods added.
320 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
321 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
322 Added macros for SpiDocument
326 (spi_document_interface_new): Get a
327 new document interface. New.
328 (get_document_from_servant): Get an AtkDocument from servant New.
329 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
330 Implementation of methods defined on idl.
331 (spi_document_class_init, spi_document_init)
332 Init methods for SpiDocument. new
334 * idl/Accessibility.idl: Added Accessibility_Document.idl.
336 * cspi/Makefile.am: Added spi_document.c to sources.
338 * cspi/spi_document.c:
339 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
340 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
341 (AccessibleDocument_getAttributes): Bindings for methods defined
344 * cspi/spi_accessible.c:
345 (Accessible_isDocument, Accessible_getDocument) New.
347 (Accessible_isDocument, Accessible_getDocument)
348 (AccessibleDocument_ref, AccessibleDocument_unref)
349 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
350 (AccessibleDocument_getAttributes): Bindings added.
352 * idl/Makefile.am: Added Accessibility_Document.idl to
355 2006-06-29 Bill Haneman <bill.haneman@sun.com>
357 * idl/Accessibility_Document.idl: New interface
358 for complex documents. First stage of fix for RFE
361 2006-06-27 Bill Haneman <bill.haneman@sun.com>
363 * libspi/streamablecontent.c:
364 (impl_content_stream_close):
365 Unref the GIOChannel on close.
367 2006-06-23 Bill Haneman <bill.haneman@sun.com>
369 * idl/Accessibility_Role.idl:
370 * libspi/accessiblerole.c:
371 * cspi/spi_accessible.c: Added ROLE_LINK,
372 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
373 Bug #345758 and bug #140635.
376 2006-06-22 Bill Haneman <bill.haneman@sun.com>
380 * idl/Accessibility_StreamableContent.idl:
381 Fix derivation of StreamableContent and ContentStream.
383 * cspi/spi_streamablecontent.c:
384 (accessible_content_stream_client_read):
385 Fix the datatype of the content stream used.
386 Interpret short reads as EOF, and stop trying to
387 read when we've fulfilled the request.
388 (AccessibleStreamableContent_getContentTypes):
389 Use g_strdup, not CORBA_string_dup, for the strings.
390 (AccessibleStreamableContent_open):
391 Correctly use the new getStream method for opening,
392 not the deprecated getContent method.
393 Use the object reference as the stream hash key.
394 Make note of the 'one stream per client per streamable'
395 limitation in the docs.
398 Add streamablecontent.h to the list of #includes.
400 * libspi/streamablecontent.c:
401 (impl_content_stream_read): Initialize the GError.
402 Allocate the incoming buffer if reading a fixed length of
403 data. Use g_memmove instead of memcpy.
404 (impl_accessibility_streamable_get_content_types):
405 Init typelist->_maximum. Only allocate the buffer if
406 there is a non-zero number of content types available.
407 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
409 * libspi/streamablecontent.h:
410 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
413 (SPI_IS_VALUE): Fix a typo in this macro too.
415 2006-06-16 Bill Haneman <bill.haneman@sun.com>
419 * idl/Accessibility_StreambleContent.idl:
420 Deprecate the Bonobo_Stream-based methods in favor of
421 a self-contained "ContentStream" interface. This should
422 allow us to remove BonoboStream dependencies entirely, since
423 there were no non-NIL implementations of the old methods anyway.
424 (ContentStream): New interface.
425 (ContentStream::SeekType): Enum.
426 (ContentStream::seek): New.
427 (ContentStream::read): New.
428 (ContentStream::close): New.
429 (getContent): Deprecate.
430 (getURI): New method, returns a URI pointing to the content, if available.
432 * libspi/streamablecontent.c:
433 (SpiContentStream): Internal object type definition used to
434 implement Accessibility::StreamableContent::ContentStream via
435 AtkStreamableContent's GIOChannel back-end.
436 (spi_content_stream_new, spi_content_stream_dispose): See above;
438 (impl_content_stream_seek, impl_content_stream_read):
439 (impl_content_stream_close): New, implementations of
441 (impl_accessibility_streamable_get_stream): Implement the
442 public method Accessibility::StreamableContent::getStream.
443 (impl_accessibility_streamable_get_uri): Implement the
444 public method Accessibility::StreamableContent::getURI.
446 * cspi/spi_streamablecontent.c:
447 (accessible_bonobo_stream_client_seek): Replaced by
448 (accessible_content_stream_client_seek).
449 (accessible_bonobo_stream_client_read): Replaced by
450 (accessible_content_stream_client_read).
451 (AccessibleStreamableContent_open):
452 (AccessibleStreamableContent_seek):
453 (AccessibleStreamableContent_read):
454 (AccessibleStreamableContent_close): Use the new 'getStream'
455 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
457 2006-06-15 Bill Haneman <bill.haneman@sun.com>
459 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
460 remove from other .idl files (except LoginHelper).
463 2006-06-14 Bill Haneman <bill.haneman@sun.com>
465 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
468 * configure.in, */Makefile.am: mingw patch, modified from
469 original patch by yselkowitz. Bug #314216.
471 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
472 for completeness. Bug #163111.
474 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
475 * libspi/util.c, registryd/registry-main.c:
476 Fix guint/char* casts.
477 Patch from chpe, bug #333883.
479 2006-06-12 Bill Haneman <bill.haneman@sun.com>
481 * configure.in: Require atk-1.12.0, to pick up
482 new API. (bug #344412).
484 * libspi-1.0-uninstalled.pc.in:
486 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
487 Fix for #341488 from Samual Thibault.
489 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
490 Thanks to Brian Pepple.
492 2006-06-09 Bill Haneman <bill.haneman@sun.com>
495 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
496 New, missing implementations of attribute reading methods
499 * cspi/spi.h, spi_value.c:
500 (AccessibleValue_getMinimumIncrement): New methods wrapping
501 the (formerly unimplemented) property from Value.idl.
504 (impl_get_minimumIncrement): Implementation for retrieving
505 the minimum valuator increment, (formerly unimplemented).
508 2006-06-09 Bill Haneman <bill.haneman@sun.com>
510 * idl/Accessibility_State.idl:
511 Added STATE_VISITED (bug #338369).
513 * cspi/spi_accessible.c:
514 (spi_state_to_corba) Fixed marshalling of new statetypes.
517 (spi_init_state_tables, impl_getStates):
518 Fixed conversion of new statetypes to/from ATK.
520 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
522 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
523 definitions/conversions for new roles from ATK.
525 * idl/Accessibility_Relation.idl:
527 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
528 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
529 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
531 * libspi/accessible.c: Fixed marshalling of new role types from
534 2006-04-17 Matthias Clasen <mclasen@redhat.com>
536 * revert my previous change
538 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
540 * configure.in: Remove obssolete no_NO locale
541 * po/no.po: And the translation.
543 2006-04-05 Matthias Clasen <mclasen@redhat.com>
545 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
546 memory-management error that caused crashes on x86_64.
549 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
551 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
553 2006-03-27 Bill Haneman <bill.haneman@sun.com>
555 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
556 to strip "cspi_*" from the symbol table.
558 * cspi/spi_streamablecontent.c:
559 (get_streams): Make this method static.
562 (_cspi_exception_throw): rename to cspi_exception_throw,
563 so we can strip it with the rest...
566 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
568 2006-03-27 Bill Haneman <bill.haneman@sun.com>
570 Add doxygen-generated IDL docs to tarball, and enable
571 doxygen during build/install when available. Bug #301345.
573 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
575 * docs/reference/Makefile.am: Add idl to SUBDIRS.
577 * docs/reference/idl/Makefile.am: Optionally use
578 doxygen to create docs.
580 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
582 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
584 2006-03-20 Bill Haneman <bill.haneman@sun.com>
587 (impl_get_selected_rows): Don't free the selection if it's
588 empty or has not been assigned; init it to NULL so you can tell.
589 Also, allow for zero selected rows.
590 (impl_getSelectedColumns): Ditto. Bug #319088.
592 2006-03-11 Vincent Untz <vuntz@gnome.org>
594 Leak fix for bug #334217.
596 * libspi/application.c: spi_application_toolkit_event_listener():
597 don't duplicate the string we pass as an argument to
598 spi_init_any_nil() since spi_init_any_nil() already does it
599 * registryd/deviceeventcontroller.c:
600 (spi_dec_button_update_and_emit): ditto
601 (spi_dec_mouse_check): ditto
602 (spi_dec_emit_modifier_event): ditto
603 (spi_device_event_controller_forward_mouse): ditto
604 * registryd/registry.c:
605 (desktop_add_application): ditto
606 (desktop_remove_application): ditto
608 2006-02-20 Bill Haneman <billh@gnome.org>
610 * configure.in: Rev to 1.7.6.
612 Leak fixes for bug #331924.
614 * atk-bridge/bridge.c:
615 (spi_atk_bridge_init_base): Don't dup the string, it's already
616 been dup-ed. Fixes a leak.
617 (spi_atk_emit_eventv): Move the CORBA_free call here,
618 instead of spi_atk_state_event_listener; fixes another leak.
619 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
620 notifying the registry; fixes another leak.
622 * registryd/registry.c:
623 (registry_flush_event_queue): Free the CORBA_any when
624 flushing the event, not just the string. Fixes another leak.
625 (registry_queue_event): Free the CORBA_any when dropping
626 events on the floor; fixes another leak.
629 (spi_init_any_object, spi_init_any_nil):
630 Always set _release to TRUE. Fixes another leak.
632 2006-02-20 Bill Haneman <billh@gnome.org>
634 * configure.in: Rev to 1.7.5.
635 Reinstate localization of this module. Thanks for Rodney
636 Dawes for fixing my patch.
638 * registryd/Makefile.am: Remove Accessibility_Registry.server
639 from dist, since it needs to be re-created at configure time.
642 2006-01-31 Bill Haneman <billh@gnome.org>
644 * configure.in: Rev to 1.7.4 (to include build fix below).
646 * idl/Makefile.am: Include Selector.idl in dist.
650 (cspi_internal_event_get_object): Handle case where
651 "object" isn't present, i.e. CORBA_TC_Object doesn't match
652 the EventDetails data.
653 (cspi_internal_event_get_text): Handle NULL string.
654 (cspi_internal_event_get_rect): Handle missing/empty rect
655 data, Accessibility_TC_RectBounds doesn't match any_data.
657 2006-01-30 Bill Haneman <billh@gnome.org>
661 * atk-bridge/bridge.c:
662 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
663 interface and use that when instantiating a new source
664 accessible. Better fix for bug #321814.
666 2006-01-27 Bill Haneman <billh@gnome.org>
668 * idl/Accessibility_Selector.idl: Added to the cvs repository.
670 * configure.in: Revved to 1.7.3.
672 2006-01-17 Bill Haneman <billh@gnome.org>
674 * configure.in: Revved to 1.7.2, re-dist to include docs.
676 2006-01-09 Bill Haneman <billh@gnome.org>
678 * configure.in: Removed po/Makefile.in inclusion, we do not need
681 * idl/Accessibility.idl: Improved documentation here, and for all
682 IDL in the 'GNOME::Accessibility' namespace.
684 * idl/Accessibility_Accessible.idl:
685 (LOCALE_TYPE): Added enum.
686 (AttributeSet): New, for returning multiple name/value attribute pairs.
687 (RoleSet): New, sequence of Roles, to be used in upcoming
689 (getAttributes): New API, allows retrieval of name/value pair
690 annotations for all kinds of Accessible objects. C.f.
691 Text:getAttributes, which is only for typographic/textual/semantic tags in
693 (getApplication): New, retrieves the host/containing Application
694 instance for an object (without having to walk up the whole tree).
696 * idl/Accessibility_Component.idl:
697 (getAlpha): New method, returns the alpha blending (aka 'opacity')
698 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
701 * idl/Accessibility_Event.idl:
702 (EventDetails): New struct definition, for encapsulating
703 commonly-queried information about emitted events. The use of
704 this structure in emitted events (in the 'any' member of
705 Accessibility_Event) should greatly reduce the number of
706 client-server roundtrips necessary.
708 * idl/Accessibility_Image.idl:
709 (imageLocale): New, a readonly attribute indicating the POSIX
710 LC_MESSAGES locale of the image and associated Alt/descriptive
713 * idl/Accessibility_Relation.idl:
714 (RELATION_PARENT_WINDOW_OF): Include, as complement to
717 * idl/Accessibility_Role.idl:
718 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
719 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
720 complex document and form support.
722 * idl/Accessibility_State.idl:
723 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
724 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
725 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
726 for support of complex documents and forms.
728 * idl/Accessibility_StreamableContent.idl:
729 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
730 allow old bonobo-stream interfaces to be deprecated in the next
733 * idl/Accessibility_Text.idl:
734 (getAttributeValue): New method, allows query-by-name of single
737 * libspi/accessible.c:
738 Added support for new roles. Implemented new methods
739 (impl_accessibility_accessible_get_application): New
740 (impl_accessibility_accessible_get_attributes): New
742 * libspi/component.c:
743 (impl_accessibility_component_get_alpha): New.
746 (impl_accessibility_image_get_locale): New.
748 * libspi/relation.c: Added support for new relation type.
750 * libspi/stateset.c: Added support for new state types.
753 (impl_getAttributeValue): New.
756 New prototypes for private methods
758 spi_init_any_object, spi_init_any_string,
761 * libspi/spi_event.c:
762 Use EventDetails in the event emission methods.
764 * cspi/spi-private.h:
765 (cspi_role_from_spi_role): Expose this adapter method, since
766 we need it in the bridge (see below).
769 (AccessibleEvent_getSourceName):
770 (AccessibleEvent_getSourceRole):
771 (AccessibleEvent_getSourceApplication):
772 (AccessibleEvent_getSourceDetails):
773 New methods for interrogating/demarshalling
774 event details (i.e. source's accessible name, role,
777 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
778 Make use of the new EventDetails struct in events, if present.
779 (AccessibleEvent_getSourceName)
780 (AccessibleEvent_getSourceRole)
781 (AccessibleEvent_getSourceApplication)
782 (AccessibleEvent_getSourceDetails): Implement the newly exposed
784 (Accessible_getAttributes): New, wraps
785 Accessibility_Accessible_getAttributes.
786 (Accessible_getHostApplication): New, wraps
787 Accessibility_Accessible_getApplication.
790 (AccessibleImage_getImageLocale): New wrapper for
791 Accessibility_Image_get_imageLocale.
793 * cspi/spi_component.c:
794 (AccessibleComponent_getAlpha): New wrapper for
795 Accessibility_Component_getAlpha.
797 * atk-bridge/bridge.c:
798 Use new prototyped for init_any methods.
799 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
800 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
801 (spi_atk_bridge_init_base): Wrappers
802 for spi_init_any_* methods, due to refactor; include extended
803 information in the Accessibility_EventDetails struct, for instance
804 accessible-name, Role, and containing Application.
806 * registryd/registry.c:
807 Use new event emission (with EventDetails).
809 * registryd/deviceeventcontroller.c:
810 Use new event emission (with EventDetails).
812 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
814 * configure.in: Generate po/Makefile.in
815 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
816 * cspi/spi_streamablecontent.c:
817 (accessible_bonobo_stream_client_seek),
818 (AccessibleStreamableContent_seek): Remove unused vars.
819 * libspi/application.c: Missing header.
820 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
821 * login-helper/login-helper.c: (login_helper_finalize),
822 (login_helper_init): Remove unused stuff
823 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
824 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
825 and surround some with #ifdef GRAB_BUTTON.
826 * test/event-listener-test.c: (main), (report_event),
827 (report_caret_event), (report_detail_event),
828 (report_detail1_event), (report_bounds_event), (report_text_event),
829 (report_text_selection_event),
830 (report_active_descendant_changed_event),
831 (report_children_changed_event), (report_name_changed_event),
832 (report_description_changed_event), (report_parent_changed_event),
833 (report_window_event), (report_table_summary_event),
834 (report_table_header_event), (report_table_caption_event),
835 (report_table_row_description_event),
836 (report_table_column_description_event), (timing_test_event):
837 Remove a bunch of unused variables and fix a slew of format specifiers
838 * test/key-listener-test.c: (report_all_key_event): Format specifier
839 * test/keypad-test.c: (print_key_event): Same
840 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
842 * test/screen-review-test.c: (main), (print_chunk_debug),
843 (review_buffer_get_text_chunk), (debug_chunk_list),
844 (string_guess_clip), (text_chunk_get_clipped_string),
845 (text_chunk_list_to_string), (get_screen_review_line_at):
846 Remove unused variables and fix format specifiers.
847 * test/simple-at.c: (report_text_event): Format specifier fix.
848 * test/stress-test.c: (main): Remove unused var.
850 2005-12-29 Abel Cheung <maddog@linuxhall.org>
852 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
853 (yes I know that's useless)
855 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
857 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
859 2005-11-17 Michael Meeks <michael.meeks@novell.com>
861 * atk-bridge/bridge.c (spi_atk_emit_eventv):
862 urgh-fix embarassing typo.
864 2005-11-16 Michael Meeks <michael.meeks@novell.com>
866 * atk-bridge/bridge.c (spi_atk_emit_eventv):
867 do a faster, less problematic _unref call on this local
868 object, rather than a slower (potentially cross-thread
869 complicated) CORBA call.
871 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
873 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
874 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
875 * registryd/deviceeventcontroller.c:
876 (spi_controller_notify_mouselisteners),
877 (impl_generate_keyboard_event):
878 * test/screen-review-test.c: (chunk_bounds_within):
879 * test/test-simple.c: (test_desktop): Remove some unused code
880 and fix compiler warnings. Closes bug #320049.
882 2005-10-27 Bill Haneman <bill.haneman@sun.com>
884 * registryd/deviceeventcontroller.c:
885 (spi_controller_notify_keylisteners): Check
886 to make sure the event listener has requested 'preemptive'
887 status before pre-empting an event.
889 2005-08-29 Bill Haneman <bill.haneman@sun.com>
891 * configure.in, README, NEWS: Release 1.6.5.
893 2005-07-25 Matthias Clasen <mclasen@redhat.com>
895 * test/window-listener-test.c: Fix a printf
896 format error. (#169453)
898 2005-07-15 Bill Haneman <bill.haneman@sun.com>
900 * tests/test-simple.c:
901 (key_listener_cb): Ensure that the keystring is dup'ed instead of
902 relying on the old string from the key event hanging around after
903 the event handler returns. Fixes broken 'make check'.
905 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
907 * Added Marathi (mr_IN) translations.
909 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
911 * cspi/bonobo/cspi-bonobo-listener.c:
912 (cspi_event_list_remove_by_cb): Fix the build.
914 2005-05-26 Michael Meeks <michael.meeks@novell.com>
916 * cspi/bonobo/cspi-bonobo-listener.c
917 (cspi_event_list_remove_by_cb): actually filter by callback.
919 2005-05-25 Bill Haneman <bill.haneman@sun.com>
921 * registryd/registry.c (remove_listener_cb):
922 Make deregistration filter rules match the event emission rules.
924 2005-05-25 Michael Meeks <michael.meeks@novell.com>
926 * registryd/registry.c (remove_listener_cb),
927 (impl_accessibility_registry_deregister_global_event_listener),
928 (impl_accessibility_registry_deregister_global_event_listener_all):
929 pass a closure to the remove callback to filter listeners more
930 accurately on remove.
932 2005-04-05 Bill Haneman <bill.haneman@sun.com>
934 * configure.in: Revved to 1.6.4.
935 Remember to put quotes around XEVIE_LIBS assignment.
936 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
939 * tests/event-listener-test.c: Tweaked the tests - more detail
940 from caret events, and some interrogation of AccessibleText APIs.
941 Commented-out the bounds-changed events by default, since they can
944 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
946 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
947 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
948 Same here. Closes bug #167806
950 2005-04-05 Bill Haneman <bill.haneman@sun.com>
952 * atk-bridge/bridge.c:
953 (spi_atk_bridge_signal_listener):
954 Free the any._value if any._release is TRUE,
955 since the ORB won't do it for us in this case
956 [because this method is not a skel].
959 2005-03-30 Steve Murphy <murf@e-tools.com>
961 * configure.in: Added "rw" to ALL_LINGUAS.
963 2005-03-29 Bill Haneman <bill.haneman@sun.com>
965 * configure.in: Improved check for HAVE_XEVIE, to detect
966 presence on XOrg, where -lXevie is a separate library.
968 2005-03-08 Bill Haneman <bill.haneman@sun.com>
970 * configure.in, NEWS, README: Revved to 1.6.3.
972 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
974 * configure.in: Added "xh" to ALL_LINGUAS.
976 2005-02-07 Bill Haneman <bill.haneman@sun.com>
978 * atk-bridge/bridge.c:
979 (atk_bridge_init): Added missing NULL in g_strconcat(),
980 also check for symlink before logging to
981 insecure directory. Thanks to meissner@suse.de.
983 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
985 * tests/login-helper-server-test.c: Add return call to main
986 function. Patch from Chris Lahey. Fixes bug #165129.
988 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
990 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
992 2004-12-09 Bill Haneman <billh@gnome.org>
994 * registryd/registry-main.c:
995 Added #define <string.h> for strrchr. (bug 160862).
996 Thanks to Vincent Berger for catching.
998 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1000 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1001 restart registry process if the registry process is found to have died
1002 and the current process is exiting.
1003 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1004 application if the registry process has died.
1005 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1006 does not return a registry object.
1007 (spi_atk_tidy_windows): Give up if the registry process has died.
1009 This fixes problems with hangs and crashes when logging out.
1011 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1013 * registryd/desktop.c: Add checking that we are not exiting before
1014 calling spi_desktop_remove_application in
1015 abnormal_application_termination. Fix for bug #152147.
1017 2004-12-02 Bill Haneman <billh@gnome.org>
1019 * configure.in, NEWS, README: Revved to 1.6.1.
1021 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1022 * atk-bridge/bridge.c:
1023 (atk_bridge_init): Save the pid when we start, to detect forks.
1024 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1025 if we're in a forked pid.
1027 2004-10-09 Bill Haneman <billh@gnome.org>
1029 * idl/Accessibility_LoginHelper.idl:
1030 Improved inline documentation.
1032 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1034 * configure.in: Added gl (Galician) to ALL_LINGUAS
1036 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1038 * libspi/accessible.c:
1039 (impl_accessibility_accessible_get_role_name),
1040 (impl_accessibility_accessible_get_local_role_name):
1041 NULL vs. 0 cleanups.
1042 * libspi/component.c:
1043 (impl_accessibility_component_get_accessible_at_point):
1045 * libspi/eventlistener.c: (spi_event_listener_new):
1047 * libspi/stateset.c: (impl_compare): More of the same
1048 * libspi/table.c: (impl_getRowDescription): Again.
1049 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1050 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1051 (impl_generate_keyboard_event): Same.
1052 * registryd/registry-main.c: (main): Same
1053 * test/event-listener-test.c: (test_exit): Same
1054 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1055 * test/keysynth-test.c: (test_key_synthesis): Same
1056 * test/login-helper-server-test.c: (main): Fix warning.
1057 * test/screen-review-test.c: (test_exit): Fix include.
1058 * test/simple-at.c: (simple_at_exit), (_festival_init):
1061 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1063 * configure.in, NEWS, README: Revved to 1.6.0.
1065 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1067 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1068 was missing the HTML docs.
1070 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1072 * configure.in: only cleanups:
1073 - better looking PKG_CHECK_MODULES() output,
1075 - declare in one common place required versions of other tools using
1078 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1080 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1081 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1082 required ATK version accordingly.
1084 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1086 * cspi/bonobo/cspi-bonobo.c:
1087 (cspi_display_name): Fix C99ism.
1088 * atk-bridge/bridge.c:
1089 (spi_display_name): Fix C99ism.
1090 Patch from Jens Granseuer, jensgr@gmx.net.
1092 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1094 * configure.in: Added "or" to ALL_LINGUAS.
1096 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1098 * configure.in, NEWS, README: Revved to 1.5.4.
1100 * registryd/registry-main.c:
1101 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1104 * cspi/bonobo/cspi-bonobo.c:
1105 (cspi_display_name): New convenience method, gets DISPLAY with
1106 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1107 (cspi_init): Set the activation env value above before getting
1110 * atk-bridge/bridge.c:
1111 (spi_display_name): Create the AT_SPI_DISPLAY activation
1112 environment for an app, based on the DISPLAY environment with the
1113 screen number stripped off.
1114 (atk_bridge_init): Allow redirection of error messages to a log.
1115 (spi_atk_bridge_get_registry): Call
1116 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1118 Fixes for bugs #149962, #136986, #144086.
1120 2004-08-16 Christian Rose <menthos@menthos.com>
1122 * configure.in: Added "bs" to ALL_LINGUAS.
1124 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1126 * configure.in: Added nb to ALL_LINGUAS.
1128 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1131 (SPI_init): Return error code '2' if the activated
1132 registry cannot be pinged. Fixes bug #147648.
1134 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1136 * registryd/deviceeventcontroller.c:
1137 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1138 rely on timer-poll instead, to avoid conflict with
1141 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1143 * configure.in: Revved to 1.5.3.
1145 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1147 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1149 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1151 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1153 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1155 * atk-bridge/bridge.c:
1156 (spi_atk_bridge_do_registration):
1157 Register with ATK for AtkComponent:bounds-changed events.
1158 (api_atk_bridge_signal_listener):
1159 Marshal the AtkRectangle info into the event notification
1160 for object:bounds-changed events.
1163 (spi_init_any_rect): New method, inits a corba struct of
1164 type Accessibility_BoundingBox from an AtkRectangle.
1166 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1169 (SPIRect): New struct definition.
1170 (SPI_freeRect): New declaration.
1171 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1174 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1175 implemented. Gets the bounding box data from the CORBA_any
1176 associated with a bounds-changed event notification.
1177 (cspi_internal_event_get_rect): New, used internally by above method.
1180 (SPI_freeRect): Implemented this new method, for freeing
1183 * test/event-listener-test.c:
1184 (main, report_bounds_event):
1185 Added a test for object:bounds-changed events.
1187 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1189 * test/login-helper-server-test.c:
1190 (main): Fix C99-ism. Thanks to Jens Granseuer.
1192 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1194 * libloginhelper-1.0.pc.in:
1195 * idl/Accessibility_LoginHelper.idl:
1196 * login-helper/Makefile.am:
1197 * login-helper/login-helper.[ch]:
1198 * test/login-helper-client-test.c:
1199 * test/login-helper-server-test.c: Added files missing from CVS.
1200 Files obtained from at-spi-1.5.2 tarball.
1202 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1204 * configure.in: Create login-helper/Makefile.
1205 Incremented micro version.
1207 * Makefile.am: Add login-helper subdir and pkgconfig data.
1209 * login-helper: New subdir.
1211 * libloginhelper-1.0.pc.in: New.
1213 * idl/Accessibility_LoginHelper.idl: New file, defines
1214 interface whereby authentication clients can identify agents which
1215 need access to services during the login process, e.g. screen lock
1218 * login-helper/Makefile.am : New.
1220 * login-helper/login-helper.[ch] : New, implementation of
1221 a LoginHelper base class. Services needing LoginHelper can subclass.
1223 * test/Makefile.am : Added test for login-helper, client and
1226 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1227 Use proper prefix in #include files.
1229 * test/login-helper-client-test.c: New.
1231 * test/login-helper-server-test.c: New.
1233 2004-05-27 Alexander Shopov <ash@contact.bg>
1235 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1237 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1239 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1240 is positive. This should make it easier to detect inapprorpiate unref
1243 2004-05-11 James Henstridge <james@daa.com.au>
1245 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1246 no-op and deprecated.
1248 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1250 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1252 2004-04-28 Bill Haneman <billh@gnome.org>
1254 * Makefile.am: Added --enable-gtk-doc to
1255 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1257 2004-04-19 Bill Haneman <billh@gnome.org>
1259 * configure.in: Revved to 1.5.1.
1261 * registryd/deviceeventcontroller.c:
1263 (DEControllerPrivateData): Added fields for
1264 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1265 (spi_dec_replace_map_keysym): New internal utility for
1266 replacing a keysym in the keymap - used to allow
1267 synthesis of individual characters which aren't in the
1269 (spi_dec_reset_reserved): New; resets the changed keysym value
1271 (keycode_for_keysym): We now try to deal with failed
1272 XKeysymToKeycode requests by changing a keymap value
1273 and returning a reserved keycode. We now take
1274 a DEController pointer as first arg.
1275 (spi_controller_register_with_devices): Call XkbGetMap with
1276 the XkbKeySymsMask. Find the highest keycode in the current
1277 keymap which doesn't have any grabs, and mark that one for
1278 temporary re-mapping when out-of-range KeySyms are synthesized.
1279 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1282 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1284 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1286 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1288 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1290 2004-03-24 Bill Haneman <billh@gnome.org>
1293 (AccessibleTable_addRowSelection),
1294 (AccessibleTable_addColumnSelection),
1295 (AccessibleTable_removeRowSelection),
1296 (AccessibleTable_removeColumnSelection):
1297 Add declarations for spi wrappers which were
1298 inadvertantly omitted. Fixes bug #133413.
1301 Revved to 1.5.0 (unstable series for GNOME 2.7).
1303 2004-03-24 Bill Haneman <billh@gnome.org>
1305 * atk-bridge/bridge.c:
1306 Bracketed some debug output in
1307 conditionals, to avoid printing it in normal use.
1310 * libspi/hyperlink.c:
1311 Don't cast 'object' to ATK_OBJECT when constructing
1312 an AtkAction interface for a hyperlink.
1313 See discussion in bug #120659.
1315 * test/key-listener-test.c:
1316 (report_all_key_event): Send output to stderr,
1317 not stdout, for consistency with the rest of the test callbacks.
1320 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1321 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1322 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1323 try incrementing the revision AFTER doing a dist, at least
1326 2004-03-22 Bill Haneman <billh@gnome.org>
1328 * configure.in: Revved to 1.4.0, libtool 9.14.9
1330 2004-03-17 Laszlo Peter <laca@sun.com>
1332 * libspi-1.0-uninstalled.pc.in: add idldir
1334 * cspi-1.0-uninstalled.pc.in: add idldir
1336 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1338 * configure.in: Added "en_GB" to ALL_LINGUAS
1340 2004-03-15 Bill Haneman <billh@gnome.org>
1342 * configure.in: Revved to 1.3.16,
1345 2004-03-15 Laszlo Peter <laca@sun.com>
1347 * libspi-1.0-uninstalled.pc.in: new file
1349 * cspi-1.0-uninstalled.pc.in: new file
1351 * configure.in: add the new pc files to AC_OUTPUT
1353 * Makefile.am: add the new pc files to EXTRA_DIST
1355 2004-03-12 Bill Haneman <billh@gnome.org>
1357 * atk-bridge/bridge.c:
1358 (spi_atk_bridge_key_listener):
1359 Make sure to return consumed=FALSE if snoop
1360 event is not dispatched to listener.
1363 2004-03-01 Bill Haneman <billh@gnome.org>
1365 * configure.in: Revved to 1.3.15,
1368 2004-03-07 Danilo Segan <dsegan@gmx.net>
1370 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1372 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1374 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1376 2004-03-01 Bill Haneman <billh@gnome.org>
1378 * configure.in: Revved to 1.3.14.
1381 (SPI_exit): Removed "bye-bye" exit message.
1382 Moved "leak" report to happen before the
1383 iteration over the leaked refs list.
1384 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1386 2004-02-24 Bill Haneman <billh@gnome.org>
1388 * configure.in: Revved to 1.3.13.
1390 * docs/reference/cspi/Makefile.am:
1391 Correct typo that was breaking the docs build.
1393 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1395 * autogen.sh: Require version 1.7 of automake.
1397 * configure.in: call GTK_DOC_CHECK([1.0])
1399 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1401 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1403 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1405 * test/Makefile.am: Remove use of CFLAGS.
1407 This fixes bug #132987.
1409 2004-02-11 Bill Haneman <billh@gnome.org>
1411 * reverted most of Tomasz' patch below, since it was breaking
1412 builds (see bug #134058).
1414 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1416 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1417 correct pass "make dist" (empty .. because seems no sach types in
1418 header files with gtk-doc markups).
1419 * docs/reference/cspi/Makefile.am, configure.in:
1420 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1421 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1422 * Makefile.am: added:
1423 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1424 for force correct pass generate documentation on "make distcheck".
1425 * libspi/Makefile.am: fixes for automake >= 1.6.
1426 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1427 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1430 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1432 * docs/reference/cspi/Makefile.am (install-data-local): Install
1433 index.sgml since the doc autobuilder on widget.gnome.org looks for
1436 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1438 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1441 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1443 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1445 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1447 * test/simple-at.c: Fixed null string problems that cause core
1448 dumping problems on Solaris.
1450 2004-01-12 Bill Haneman <billh@gnome.org>
1452 * configure.in: Incremented version to 1.3.11.
1454 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1456 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1457 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1460 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1462 * configure.in: Added "fa" to ALL_LINGUAS.
1464 2003-12-20 Arafat Medini <lumina@silverpen.de>
1466 * configure.in: Added "ar" to ALL_LINGUAS
1468 2003-12-16 Bill Haneman <billh@gnome.org>
1470 * registryd/registry-main.c:
1472 Set the reg_env DISPLAY variable before registering the
1473 activated registry service. Fixes bug #129479.
1475 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1477 * configure.in: Added "id" in ALL_LINGUAS
1478 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1480 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1482 * registryd/deviceeventcontroller.c (global_filter_fn):
1483 When an event is consumed discard any XEvents were added to
1484 the queue while dealing with the the event. This can happen if
1485 processing of the event takes a long time. Call XUngrabKeyboard
1486 if an event was discarded. This fixes bug $124837.
1487 Only call wait_for_release_event for a KeyPress.
1488 Use local variable display instead of spi_get_display().
1489 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1492 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1494 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1495 Allow for mask to contain values other than NumLock mask.
1498 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1500 * registryd/devieceventcontroller.c:
1501 (wait_for_release_event): Change first parameter from GdkEvent to
1503 (global_filter_fn); Correct call to wait_for_release_event.
1507 2003-12-08 Bill Haneman <billh@gnome.org>
1511 * registryd/ucs2keysym.c: New file.
1513 * registryd/deviceeventcontroller.c:
1514 (dec_keysym_for_unichar): Remove old partial implementation and
1515 replace with call to ucs2keysym(), which is much more complete.
1516 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1521 2003-12-05 Bill Haneman <billh@gnome.org>
1523 * configure.in: Version 1.3.9.
1525 * docs/reference/cspi/tmpl/spi_registry.sgml:
1526 Added reference to libspi/keymasks.h to the
1527 description of Registry queries: AccessibleKeyMaskType.
1530 2003-12-04 Bill Haneman <billh@gnome.org>
1532 Fix for bug #121974.
1534 * idl/Accessibility_Application.idl:
1535 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1536 setlocale's LC_TYPEs.
1537 (Accessibility::Application::getLocale): New method.
1538 Allows clients to query the locale, by type, of an app.
1541 * cspi/spi_application.c:
1542 (AccessibleApplication_getLocale): New method, wraps IDL above.
1544 * libspi/application.c:
1545 (spi_application_class_init): Init epv entry for getLocale.
1546 (impl_accessibility_application_get_locale): Impl for above.
1548 * test/test-simple.c:
1549 (test_application): Added assertion for getLocale, i.e.
1550 that the string from AccessibleApplication_getLocale (app, type)
1551 is the same as that from setlocale (type, NULL);
1553 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1555 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1556 the keyboard on a timeout intil the key state goes from pressed to
1557 released. Fixes bug #111429.
1559 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1561 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1562 root object so that it is present when a context menu in an
1563 out-of-process applet is popped up.
1564 (spi_atk_bridge_do_registration): Create acceessible application root
1565 object only if it does not exist.
1567 This fixes bug #125834.
1569 2003-12-01 Bill Haneman <billh@gnome.org>
1571 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1574 Added enum for AccessibleStreamableContentSeekType.
1575 (AccessibleStreamableContent_freeContentTypeList): New.
1577 * cspi/spi_streamablecontent.c:
1578 (accessible_bonobo_stream_client_seek): New private method.
1579 (AccessibleStreamableContent_seek): Implemented this method,
1580 using Bonobo_Stream_seek.
1581 (AccessibleStreamableContent_freeContentTypeList): New method
1582 for freeing the return value from
1583 AccessibleStreamableContent_getContentTypes.
1584 (stream_cache_item_free): Replaces stream_release; stop leaks.
1585 (stream_release): removed.
1586 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1587 free the memory properly.
1589 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1591 Fix for bug #116009.
1593 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1595 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1597 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1599 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1601 2003-12-01 Bill Haneman <billh@gnome.org>
1603 Fix for bug/rfe #127463.
1605 * idl/Accessibility_Accessible.idl:
1606 (getLocalizedRoleName): New.
1607 (unimplemented4): Removed (replaced by above).
1609 * libspi/accessible.c:
1610 (impl_accessibility_accessible_get_local_role_name): New.
1611 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1615 (Accessible_getLocalizedRoleName): New.
1617 * cspi/spi_accessible.c:
1618 (Accessible_getLocalizedRoleName): New.
1620 2003-12-01 Bill Haneman <billh@gnome.org>
1622 Fix for bug #118581.
1623 * idl/Accessibility_Text.idl:
1624 (getDefaultAttributes): New.
1625 (unimplemented4): Removed (replaced by above method).
1628 (impl_getDefaultAttributes): New method.
1629 (spi_text_class_init):
1630 initialize the get_default_attributes slot in the epv.
1633 (AccessibleText_getDefaultAttributes): New prototype.
1636 (AccessibleText_getDefaultAttributes): New method.
1638 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1640 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1641 write beyond the end of the table. Fixes bug #120473.
1643 2003-09-30 Christian Rose <menthos@menthos.com>
1645 * configure.in: Added "eu" to ALL_LINGUAS.
1647 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1649 * configure.in: ALL_LINGUAS: Added no.
1651 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1653 * configure.in: Added lt to ALL_LINGUAS.
1655 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1657 * atk-bridge/bridge.c:
1658 (atk_bridge_init): Register event listeners always even for
1659 out-of-process applet.
1660 (spi_atk_bridge_toplevel_added): Remove call to
1661 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1662 (spi_atk_bridge_toplevelk_removed): Remove call to
1663 spi_atk_deregister_event_listenersa as the listeners are now always
1665 (spi_atk_bridge_register_application): Remove call to
1666 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1668 This fixes bug #120991.
1670 * libspi/table.c (impl_getColumnDescription): Correct typo,
1671 pointed out by Bolian.Yin@sun.com.
1673 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1675 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1677 2003-09-08 Bill Haneman <billh@gnome.org>
1679 * configure.in: Revved to 1.3.7.
1681 This is the GNOME 2.4.0 release of at-spi.
1683 * docs/reference/cspi/Makefile.am:
1684 Removed spurious inclusion of 'index.sgml' in the
1685 html directory; this was breaking make distcheck and
1686 also some other build environments.
1688 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1690 * registryd/registry.[ch}:
1691 Add queue_handler_id and focus_object to SpiRegistry data structure.
1692 (registry_flush_event_queue): If event being discarded is
1693 "state-change:focused" store object as focus_object.
1694 (registry_start_queue): Remove queue handler and focus object
1696 (registry_discard_event): New function which discards a focus event
1697 if we had stored focus object in the registry.
1698 (registry_queue_event): Add new check that is_queueing is set as this
1699 function is reentrant.
1700 (registry_filer_event): Add call to registry_discard_event.
1702 This resolves issues raised in bug #108664.
1704 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1706 * configure.in: Added "bn" to ALL_LINGUAS.
1708 2003-09-04 Bill Haneman <billh@gnome.org>
1710 * cspi/spi_event.c: Documentation improvements for
1711 (SPI_registerAccessibleKeylistener).
1713 * docs/reference/tmpl/spi_registry.sgml:
1714 Documentation improvements for SpiAccessibleKeylistenerCB.
1716 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1718 * configure.in: Added "ro" to ALL_LINGUAS.
1721 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1723 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1724 not decremented to zero. Fixes bug #120725.
1726 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1728 * configure.in: Added "ja" to ALL_LINGUAS.
1730 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1732 * configure.in: Added "is" to ALL_LINGUAS.
1734 2003-08-22 Christian Rose <menthos@menthos.com>
1736 * configure.in: Added "nl" to ALL_LINGUAS.
1738 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1740 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1741 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1743 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1745 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1746 type for unspecified exception.
1747 * cspi_streamablecontect): Add include of string.h for memcpy.
1748 (stream_release): Correct call to bonobo_object_release_unref
1749 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1750 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1751 argument of _cspi_expection_throw.
1752 * libspi/hyperlink.c: Add include of libspi/action.h:
1753 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1754 * libspi/streamablecontent.c: add include of libspi/component.h.
1755 * regisrtyd/deviceeventcontroller.c:
1756 (spi_dec_translate_mask): Removed unused variable priv.
1757 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1758 * registryd/registry.c:
1759 (registry_filter_event): Remove unused variable queue_is-empty.
1760 (impl_registry_notify_event): Use correct modifier in fprintf call.
1762 This fixes compiler warnings reported in bug #120220.
1764 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1766 * registryd/registryd.c: Remove this file.
1768 2003-08-17 Sanlig Badral <badral@openmn.org>
1770 * configure.in: Added mn to ALL_LINGUAS.
1772 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1774 * configure.in: Added et to ALL_LINGUAS.
1776 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1778 * test/event-listener-test.c: Change active-descendant to
1779 active-descendant-changed.
1781 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1783 * configure.in: Added "fi" in ALL_LINGUAS.
1785 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1787 * configure.in: Added "hi" in ALL_LINGUAS.
1789 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1791 * configure.in: Revved to 1.3.6.
1795 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1797 * registryd/deviceeventcontroller.c
1798 (spi_device_event_controller_object_finalize): Fix typo in previous
1801 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1803 * registryd/deviceeventcontroller.c
1804 (spi_device_event_controller_object_finalize): Fix build on
1805 systems without XEvIE.
1807 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1809 * acconfig.h, configure.in, registryd/Makefile.am,
1810 registryd/devicecontoller.[ch]: Add XEViE support.
1812 2003-08-06 Wang Jian <lark@linux.net.cn>
1814 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1816 2003-08-06 Metin Amiroff<metin@karegen.com>
1818 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1820 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1822 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1823 MODIFIER_ALT in correct place.
1825 This fixes part of bug #118114.
1827 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1829 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1831 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1833 * configure.in: Added "ko" to ALL_LINGUAS.
1835 2003-07-28 Ole Laursen <olau@hardworking.dk>
1837 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1839 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1841 * configure.in: Added "sq" to ALL_LINGUAS.
1843 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1845 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1847 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1849 * configure.in: updated ALL_LINGUAS list
1851 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1853 * configure.in: Added Belarusian to ALL_LINGUAS.
1855 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1857 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1859 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1860 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1862 This fixes bug #116949.
1864 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1866 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1867 Correct CSPI to SPI in function documentation.
1869 This fixes bug #118054.
1871 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1873 * configure.in: Added Russian to ALL_LINGUAS.
1875 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1877 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1879 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1881 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1883 2003-07-10 Joel Brich <joel.brich@laposte.net>
1885 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1887 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1889 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1891 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1893 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1894 resources allocated for AccessibleEvent. See cspi_event().
1896 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1897 static variable streams to NULL.
1899 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1900 Update so that AcessibleEvent_ref will work.
1902 This fixes bug #116624.
1904 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1906 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1908 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1910 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1912 2003-07-02 Christian Neumair <chris@gnome-de.org>
1914 * configure.in: Added "de" (German) to ALL_LINGUAS.
1916 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1918 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1920 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1922 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1924 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1926 * configure.in: Added "pl" to ALL_LINGUAS.
1928 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1930 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1932 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1935 (get_action_from_servant):
1936 Removed assertion that action is implemented on an AtkObject.
1938 * libspi/hyperlink.c:
1939 (spi_hyperlink_new):
1940 Aggregate AccessibleAction interface on the hyperlink object if
1941 the object implements AtkAction. (This convention is used in
1944 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1946 * configure.in: Revved to 1.3.5.
1948 * registryd/Accessibility_Registry.server.in.in:
1949 Marked up appropriate strings for translation.
1951 * atk-bridge/bridge.c: Marked a couple of
1952 user-visible warnings for translation. Questionable
1953 whether they are really useful, but possibly so.
1956 2003-06-28 Christian Rose <menthos@menthos.com>
1958 * configure.in: Added "sv" to ALL_LINGUAS.
1960 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1962 * registryd/registry.c:
1963 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1964 (registry_defer_on_event): Defer focus: events, this is an
1965 improvement to the patch for bug #108664.
1967 * TODO: Update with 2.4/"Dev Complete" items.
1969 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1971 * atk-bridge/bridge.c:
1972 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1973 looks up signals once.
1974 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1975 if doing registration.
1976 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1977 when doing registration.
1979 This fixes bug #115014.
1981 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1983 * atk-bridge/bridge.c:
1984 (atk_bridge_init): Add signal handler for children-changed:remove on
1985 root when in a BonoboComponent.
1986 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1987 for first toplevel only other incrememt variable toplevels.
1988 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1989 application and remove listeners.
1990 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1992 (spi_atk_deregister_event_listeners): New function which removes
1994 (reinit_register_vars): New fuction which reinitializes variables.
1996 This fixes bug #111578.
1998 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2000 * configure.in: version 1.3.4.
2002 * cspi/spi_accessible.c:
2003 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2006 2003-06-13 Michael Meeks <michael@ximian.com>
2008 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2010 * cspi/spi_main.c (cspi_peek_ev): impl.
2012 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2014 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2016 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2018 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2019 SPI_ROLE_AUTOCOMPLETE
2021 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2023 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2024 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2026 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2028 * libspi/streamablecontent.h:
2029 * libspi/streamablecontent.c:
2030 New files, provide implementation/wrappers for
2031 Accessibility_StreamableContent.
2033 * cspi/spi_streamablecontent.c:
2034 Connected the C wrappers to the libspi C bindings.
2035 (AccessibleStreamableContent_close): New method.
2038 (AccessibleStreamableContent_close): New method, needed
2039 since we have an "open, [seek], read, close" model in cspi.
2041 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2043 Fix for #108664; Padraig's revision of my original patch.
2045 * registryd/registry.h:
2046 Added event queue list, is_queuing, and exit_notify_timeout
2047 to the registry struct.
2049 * registryd/registry.c:
2050 (registry_init): Initialize new struct from registry.h.
2051 (impl_registry_notify_event):
2052 Filter events before notifying, in case some need to be
2054 (registry_filter_event): New,
2055 we defer certain incoming events (for instance
2056 window:deactivate) because we may wish to hide
2057 or reject them based on pending events. This is
2058 mostly a workaround for bug #108664.
2059 (registry_queue_event, registry_start_queue): New.
2060 (registry_defer_on_event): Test event to see if it
2062 (registry_reset_on_event): Returns TRUE if the
2063 event should cause a queue reset.
2064 (registry_discard_on_event): Returns TRUE if the event
2065 should cause the previous queue contents to be discarded.
2066 (registry_timeout_flush_queue): Flushes the pending event
2067 queue if no reset/discard-triggering events have come in
2068 within the timeout period.
2069 (registry_emit_event): New.
2070 (registry_clone_notify_context): New, used when queueing the
2071 event notify contexts.
2073 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2075 * configure.in: Version revved to 1.3.2, lt 0.9.2
2076 Incremented ATK required version to 1.3.4.
2078 * cspi/spi_registry.c:
2079 (SPI_generateKeyEvent):
2080 We now pass the keystring along if it's non-null.
2082 * registryd/deviceeventcontroller.c:
2083 (keysym_mod_mask): New method, returns modifier mask
2084 required to generate a keysym from a given keycode.
2085 (dec_synth_keysym): New method.
2086 (dec_synth_keystring): New method.
2087 (dec_get_modifier_state): New method.
2088 (dec_lock_modifiers): New
2089 (dec_unlock_modifiers): New.
2090 (dec_keysym_for_unichar): New, rather brute-force
2091 conversion from UCS-4 to X KeySyms. Only works for
2092 Latin at the moment, with partial implementations for
2093 Greek, Hebrew, and (incomplete) Katakana.
2094 (impl_generate_keyboard_event): Now implement
2095 "KEYSTRING" synthesis and implement "KEYSYM"
2097 (keycode_from_keysym): Improved, passes a returned
2098 modmask value now if the corresponding param is non-NULL.
2100 Fixes bugs #92143 and #109776.
2103 * test/keysynth-test.c:
2104 New test program for key synthesis, to confirm fixes for
2108 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2110 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2112 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2113 Add line for RELATION_POPUP_FOR
2115 * docs/reference/cspi/tmpl/spi_relation.sgml:
2116 Add relation SPI_RELATION_POPUP_FOR
2118 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2119 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2121 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2123 * libspi/relation.c (spi_init_relation_type_table):
2124 Add line for RELATION_POPUP_FOR
2126 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2128 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2129 there are still windows which have not been deleted and emit
2130 window:deactivate, if necessary and window:destroy events.
2131 This fixes bug #114370. The change on June 5th was not correct.
2133 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2135 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2138 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2140 New methods for client exception handling and interception.
2141 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2142 (SPI_exceptionHandlerPop): You guessed it...
2143 (SPI_getSourceType): Return the type of object which offended.
2144 (SPI_getExceptionCode): Return an enum code telling, possibly,
2145 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2146 (SPIAccessibleException_getSource): get the source object for
2147 exceptions that come from Accessibles, if SPIExceptionSourceType is
2148 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2149 (SPIException_getDescription): New, returns a string description of
2150 the problem. [Not yet a stable ABI, strings are not frozen]
2152 * cspi/spi-private.h:
2153 Added implementation details of opaque SPIException
2157 Implementations of above. Also
2158 (_cspi_exception_throw): new private method that
2159 dispatches exceptions to handlers, called from cspi-bonobo.c
2161 * cspi/bonobo/cspi-bonobo.c:
2162 (cspi_check_ev): call _cspi_exception_throw.
2163 Don't print a warning message if the exception has been
2164 handled by _cspi_exception_throw.
2166 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2168 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2169 there are still windows which have not been deleted and emit
2170 window:deactivate, if necessary and window:destroy events.
2171 This fixes bug #114370.
2173 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2176 (cspi_accessible_is_a): Make non-fatal
2177 if the object reference is dead.
2179 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2181 * cspi/spi_main.c: #include <stdio.h>
2182 * test/simple-at.c: ditto
2183 * test/event-listener-test.c: ditto
2184 * test/screen-review-test.c: ditto
2186 2003-05-30 Michael Meeks <michael@ximian.com>
2188 * test/test-simple.c (main): use CORBA_ORB_perform_work
2189 instead of an unnecessary linc_ call.
2191 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2193 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2194 Add SPI_STATE_INDETERMINATE.
2196 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2199 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2201 * libspi/stateset.c (init_state_type_tables): Add support for
2204 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2206 * configure: Update versions of atk and gail required.
2207 This fixes bug #113268.
2209 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2211 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2213 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2215 * libspi/Makefile.am:
2216 Ensure headers are generated before being used by c sources.
2218 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2221 Simplified lt versioning rules.
2222 Incremented version to 1.3.0, to indicate that we're on the
2223 unstable branch now.
2225 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2227 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2228 Add MKDB_OPTIONS=--outtput-format=xml
2230 * docs/reference/cspi/at-spi-cspi-docs.sgml
2231 docs/reference/idl/at-spi-idl-docs.sgml:
2232 Convert to Docbook XML.
2234 This fixes bug #111793.
2236 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2238 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2239 AcccessibleKeyEventType, AccessibleKeyMaskType.
2241 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2243 * cspi/state-types.h: Add documentation for AccessibleState.
2245 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2246 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2247 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2248 AccessibleComponentLayer.
2250 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2253 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2255 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2256 Accessible. Add description of AccessibleEvent,
2257 AccessibleEventListenerCB.
2259 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2262 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2263 documentation. Add description of AccessibleKeystrokeListenerCB,
2264 AccessibleKeyEventMask, AccessibleModifierMaskType,
2265 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2266 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2268 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2271 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2274 This fixes bug #104730.
2276 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2278 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2279 Set is_text field of Accessibility_DeviceEvent data structure.
2281 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2282 is-text field of AccessibleDeviceEvent data structure.
2284 This addresses part of bug #108666.
2286 * registryd/devcieeventcontroller.c: Unset debug option.
2288 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2290 * cspi/accessible.c:
2291 (cpi_initial_relation_type_table): New function which initializes
2292 mapping between Accessibility_RelationType and AccessibleRelationType.
2293 (cspi_relation_type_from_spi_relation_type): New function which
2294 translates an Accessibility_RelationType into an AccessibleRelationType.
2295 (AccessibleRelation_getRelationType): Use
2296 cpi_relation_type_get_spi_relation_type to return correct value.
2297 (spi_state_to_corba): Return correct type for default case.
2299 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2300 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2302 * cspi/cspi-bonobo-listener.c:
2303 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2306 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2307 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2308 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2309 libspi/image.c, libspi/listener.c, libspi/selection.c,
2310 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2311 registryd/desktop.c, registryd/registry.c:
2312 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2314 * libspi/eventlistener.c
2315 Remove semicolon after BONOBO_TYPE_FUNC.
2317 * libspi/relation.c:
2318 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2319 (spi_init_relation_type_table): Initialize using correct type.
2321 * registryd/desktop.c:
2322 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2323 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2324 of Accessibility_KeyEventType.
2326 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2329 * tests/simple-at.c, tests/screen-review-test.c:
2330 Add include for <strings.h>.
2332 * tests.stress-test.c:
2333 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2335 These changes fix compiler warnings when using FORTE compiler on
2336 Solaris; fixes bug #107479.
2339 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2342 * configure.in: revved to 1.1.10
2344 * libspi/keymasks.h:
2345 (SPI_KEYMASK_NUMLOCK): Added.
2347 * registryd/deviceeventcontroller.c:
2348 (spi_key_event_matches_listener): AND with a smaller
2349 bitmask (as we should).
2350 (spi_dec_translate_mask):
2351 New method, sets the virtual NumLock modifier bit
2352 if numlock is on. Eventually it can handle other virtual
2353 modifier bits if needed, or other marshalling from
2354 at-spi modifier masks to platform (X) masks.
2355 (spi_dec_key_listener_new):
2356 Call spi_dec_translate_mask to set up virtual mod bits
2357 in the 'mask' field when creating a new listener struct.
2358 (spi_dec_emit_modifier_event):
2359 Set the virtual (i.e. NumLock) bits before emitting event.
2360 (spi_controller_register_with_devices):
2361 Query for the NumLock modifier 'physical' bit if Xkb is
2362 present, for use in above methods.
2366 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2368 * registryd/deviceeventcontroller.c:
2369 (spi_keystroke_from_x_key_event):
2370 Instead of checking to see if the keysym is
2371 printable, check the string from XLookupString
2372 if available, get the first unicode character from it,
2373 and call g_unichar_isprint to determine whether the
2374 is_text flag should be TRUE or FALSE.
2378 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2380 * atk-bridge/bridge.c: Add support for extended events
2381 * cspi/spi_event.c: Add documentation and implementation for
2383 * tests/event-listener-test.c: Add tests for extended events.
2385 This fixes bugs #100424 and #100426.
2387 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2389 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2390 of LT_CURRENT. This fixes bug #89350.
2392 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2394 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2395 number of signal parameter values before accessing them. This fixes
2398 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2400 * configure.in: Fixed duplicate inclusion of -lspi.
2401 * branched for gnome-2-2/HEAD.
2402 [created tag "gnome-2-2"]
2404 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2406 * configure.in: 1.1.9 release.
2409 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2411 [needed by GOK, to fix bugs 107985 and 107988]
2412 * registryd/deviceeventcontroller.c:
2413 (spi_dec_clear_unlatch_pending):
2414 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2415 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2416 (spi_dec_init_mouse_listener):Emit warning if mouse button
2418 (spi_device_event_controller_forward_mouse_event):
2419 Removed unnecessary parens from a conditional.
2420 (global_filter_fn):Added TODO comment.
2421 (impl_generate_keyboard_event):
2422 Cancel a pending relatch if a 'delatching' key was
2425 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2427 * atk-bridge/bridge.c:
2428 Change atk_signal_child_changed to atk_signal_children_changed.
2429 Reorganize code in spi_atk_bridge_signal_listener().
2431 * test/event-listener-test.c:
2432 Add children_changed_listener and report_children_changed_event()
2433 to test AccessibleChildEvent_getChildAccessible.
2435 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2437 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2438 g_strdup to CORBA_String_dup (bug #105291)
2440 * test/event-listener-test.c (report_text_event): Add call to
2443 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2445 * registryd/deviceeventcontroller.c:
2446 (spi_keystroke_from_x_key_event):
2447 Fix string and keysym return codes to match modifier state.
2450 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2452 * registryd/deviceeventcontroller.c:
2453 (spi_keystroke_from_x_key_event):
2454 Fix segv due to improper use of isprint(c). [bug #107254]
2456 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2459 (get_accessible_text_boundary_type):
2460 Move default return value to (new) default case in switch.
2461 (get_accessible_text_clip_type):
2462 Move default return value to (new) default case in switch.
2464 * libspi/application.c:
2465 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2466 Remove unused methods.
2467 (impl_accessibility_application_register_object_event_listener):
2468 Remove unused methods.
2471 Added #include of <math.h>.
2473 * registryd/deviceeventcontroller.c:
2474 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2475 we don't currently use this method.
2476 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2478 (impl_generate_key_event):
2479 Remove unused variables.
2480 (impl_generate_mouse_event):
2481 Initialize button to zero, just in case we get an invalid
2482 input. Added support for mouse buttons 4 and 5.
2483 (spi_device_event_controller_new):
2484 Removed unused variable declaration for 'private'.
2486 Added #include of <gdk/gdk.h>
2488 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2490 * configure.in: Update to work when X is not installed in expected
2491 location. Fixes bug #105836.
2493 * atk-bridge/bridge.c
2494 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2496 (spi_atk_register_event_listener): Add signal listener for
2498 (spi_atk_bridge_signal_listener): Event event when link-selected
2499 signal is emitted. (bug #104622)
2501 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2502 on returned string. (bug #105291)
2504 * test/event-listener-test.c: Add test for link-selected.
2506 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2508 * atk-bridge/Makefile.am: Correct typo in previous commit.
2510 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2512 * atk-bridge/Makefile.am: Allow for build directory to be different
2513 from source directory
2515 * registryd/Makefile.am: Allow for build directory to be different
2516 from source directory
2520 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2523 Fixed dependencies for libcspi so that libspi gets pulled in
2524 properly. Fixes 104741.
2528 Clean up inline docs a little.
2530 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2532 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2533 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2534 the AtkObject within an SpiDesktop.
2535 This addresses bug #101524.
2537 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2538 Remove call to gdk_init().
2540 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2541 so that Display is set when SpiDesktop is created.
2543 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2545 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2546 This fixes bug #102830.
2548 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2550 * test/test-simple.c: Update to take account of fact that GailButton
2551 now implements AtkText.
2552 (create_text_window): Set name on AtkObject for GtkEntry.
2553 (validate_accessible): Check accessible name before calling test_text().
2555 * libspi/Makefile.am: Fix problem with building outside of source
2556 directory. Bug #98120.
2558 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2559 typo in documentation comments. Bug #94275.
2561 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2563 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2565 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2568 Add includes to avoid compiler warnings on Solaris.
2569 (impl_getRangeExtents): Bug fix.
2571 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2573 Fix for 100944, [API addition approved by Gman and murrayc].
2580 * idl/Accessibility_Text.idl:
2581 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2582 (Text::getRangeExtents): New method for efficient
2583 bounds query of a text range.
2584 (Text::getBoundedRanges): New method for efficient
2585 clipping of text to bounding boxes.
2586 (unImplemented7, unImplemented8):
2587 Removed these padding methods to preserve bincompat.
2590 (impl_getRangeExtents): implementation of new IDL.
2591 (impl_getBoundedRanges): implementation of new IDL.
2592 (SpiTextRect): Internal use struct.
2593 (_spi_text_rect_union): internal method, calculates union of two
2594 SpiTextRect bounding rects.
2595 (_spi_text_range_seq_from_gslist): internal method, allows us
2596 to build our sequence efficiently as a gslist then convert it
2598 (_spi_bounds_contain): internal method, determines whether
2599 a text character is "in" or "out" of a clip rect according to
2600 values of TEXT_CLIP_TYPE.
2601 (spi_text_class_init): Initialize the new methods in the epv.
2604 (AccessibleTextClipType): New enum used by screen review api.
2605 (AccessibleTextRange): New struct used by screen review api.
2606 (AccessibleText_getRangeExtents):
2607 cspi binding for Accessibility_Text_getRangeExtents.
2608 (AccessibleText_getBoundedRanges):
2609 cspi binding for Accessibility_Text_getBoundedRanges.
2610 (AccessibleTextRange_freeRanges): convenience method.
2613 (AccessibleText_getRangeExtents):
2614 cspi binding for Accessibility_Text_getRangeExtents.
2615 (AccessibleText_getBoundedRanges):
2616 cspi binding for Accessibility_Text_getBoundedRanges.
2617 (AccessibleTextRange_freeRanges): convenience method.
2618 (get_accessible_text_clip_type): internal conversion method.
2619 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2621 * registryd/deviceeventcontroller.c:
2622 (spi_dec_mouse_check):
2623 Improved behavior for mouse:abs events
2624 [same granularity as mouse:rel events, and no
2625 events when mouse is idle].
2627 2002-12-16 Michael Meeks <michael@ximian.com>
2629 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2631 * libspi/stateset.c (state_spi_to_atk): split out
2632 ( fix several remote array bounds nasties )
2633 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2634 (impl_remove): make safe from array bounds issues.
2635 (spi_atk_state_from_spi_state): impl.
2637 * libspi/stateset.h (spi_state_set_cache_is_empty):
2638 add a set of wrapper defines to get layering right.
2640 * cspi/spi_accessible.c: update state set stuff to
2643 2002-12-14 Michael Meeks <michael@ximian.com>
2645 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2646 to avoid 2 roundtrips to the registry per key event
2647 (spi_atk_bridge_key_listener): upd.
2648 (deregister_application): release the dec.
2650 * registryd/registry.c (notify_listeners_cb):
2651 bin lots of re-enterant complexity - we no longer
2652 do a round-trip bonobo ref here, ensure that a single
2653 listener's exception failure won't poison all other
2655 (impl_registry_notify_event): bin obvious memory leak.
2657 2002-12-13 Michael Meeks <michael@ximian.com>
2659 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2660 init the ev so the error is meaningful.
2661 (spi_atk_bridge_key_listener): ditto.
2663 * cspi/spi_main.c (cspi_ev): init the ev so we start
2664 with a clean slate, otherwise the first exception
2665 kills us completely.
2667 * cspi/spi_text.c (get_accessible_text_boundary_type):
2668 add a fallthrough for no warnings.
2670 * cspi/spi_registry.c: prune unused warnings.
2672 * cspi/spi_main.c (cspi_object_take): fix
2673 mind-blowing brokenness ( by watching the compile
2676 * cspi/spi_accessible.c (Accessible_getStateSet):
2677 re-impl. to use an AtkStateSet.
2678 (spi_state_type_from_accessible_state),
2679 (init_state_table): bin these.
2681 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2683 (atk_state_set_from_accessibility_state_set): here.
2685 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2686 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2687 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2688 (AccessibleStateSet_add, AccessibleStateSet_remove),
2689 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2690 (AccessibleStateSet_isEmpty): re-write to use a local
2693 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2695 * configure.in: Revved to 1.1.7 (new keymask vals).
2697 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2699 * libspi/keymasks.h:
2700 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2702 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2705 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2706 to compare two CORBA_TypeCodes.
2707 (cspi_internal_event_add): Silence warning from FORTE compiler.
2709 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2710 avoid implicit declaration of functions.
2712 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2714 * atk-bridge/bridge.c:
2715 (spi_atk_bridge_init_event_type_consts): Store signal id for
2716 active-descendant-changed signal.
2717 (spi_atk_register_event_listeners): Add signal listener for
2718 active-descendant-changed signal,
2719 (spi_atk_bridge_signal_listener): Move code in function
2720 spi_atk-signal_emit_event() into this function.
2721 Add support for active-descendant-changed
2722 Update support for child-changed signal.
2723 (spi_bridge_window_event_listener): Silence warning.
2725 * libspi/spi_private.[ch]:
2726 (spi_init_any_object): Change second parameter from CORBA_Object to
2728 Omit call to CORBA_Object_duplicate().
2729 Set CORBA_any's _value to CORBA_Object*.
2731 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2737 (AccessibleEvent_ref, AccessibleEvent_unref):
2738 New methods, for persisting an event outside the emission context.
2739 Must be used if the new accessor methods are to be called
2740 outside of the event listener's callback.
2742 * cspi/bonobo/cspi-bonobo.c:
2743 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2744 as second parameter instead of NULL, so we can call
2745 cspi_check_ev afterwards.
2748 (cspi_object_take): New internal method,
2749 converts a CORBA_Object reference to a hard ref on
2750 an Accessible if possible, returning NULL if the object
2751 reference is invalid or an Accessible * otherwise.
2754 (AccessibleEvent_ref):
2755 Increment the event's internal private refcount, and
2756 add the event's internal struct to an internal cache
2757 if it's not already there.
2758 (AccessibleEvent_unref):
2759 Decrement the event's refcount and remove it from
2760 the cspi event cache if refcount==0.
2761 (cspi_event_compare): New private method.
2762 Compares two event structs via their ids. Used
2764 (cspi_internal_event_lookup): New private method.
2765 (cspi_internal_event_check): New private method,
2766 a 0-order sanity check for events to make sure their
2767 private data is intact.
2768 (cspi_internal_event_add, cspi_internal_event_remove):
2769 New private methods for managiing the event cache.
2771 * cspi/bonobo/cspi-bonobo-listener.c:
2773 Initialize the new private data elements (id, magic, ref_count).
2775 * atk-bridge/bridge.c:
2776 (spi_atk_bridge_signal_listener):
2777 Fixed bug #100530, passing wrong params to emission func.
2779 * registryd/deviceeventcontroller.c:
2780 (spi_dec_button_update_and_emit):
2781 Fixed type in mask bit operations; fix for #99799.
2783 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2785 Removed some of the more dangerous workarounds from
2786 previous commit; they are only needed by GOK, which
2787 in reality should be using another method to accomplish
2788 the goals. So on reconsideration some of the workarounds
2789 need to be reverted:
2791 * registryd/deviceeventcontroller.c:
2792 (spi_keycodes_contain, spi_dec_init_keycode_list):
2793 Removed these methods, used only by a nasty hack to try
2794 and detect whether a key synthesis should be allowed
2795 to reset the XKB latch state or not. This code was only
2796 required to work around an interaction between GOK,
2797 button events, and XKB.
2798 (impl_generate_key_event):
2799 Removed hack at end of key generation that tried to
2800 "do the right thing" if XKB latch keys were generated
2801 in the midst of button press/release pairs.
2804 Added a check for HAVE_XINPUT. Not normally used yet.
2806 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2808 Workarounds and fixes for mouse event/XKB interaction.
2810 * registryd/deviceeventcontroller.c:
2811 (spi_keycodes_contain, spi_dec_init_keycode_list):
2812 New internal methods.
2813 (spi_dec_set_unlatch_pending):
2814 Split the method that tells XKB to expect an
2815 unlatch (and revert it) out of the rest of the
2816 event handling code. This method is called by the
2817 two mouse event handlers (the poll and the filter).
2818 (spi_dec_update_and_emit, spi_dec_mouse_check):
2819 New methods split from spi_dec_poll_mouse_moved.
2820 The second one is now called from inside the filterFn
2821 when an XKB delatch event is received, to determine
2822 whether to revert the delatch or not.
2823 (spi_poll_mouse_moved): Refactor; also we can now
2824 properly handle the case where multiple button states
2825 have changed between polling cycles and we didn't get
2826 notified due to another client's grab.
2828 Synchronize the server while handling an XKB notification.
2829 Ugly, but apparently necessary to avoid nasty races.
2830 Check the mouse state on receipt of an XKB latch change,
2831 to decide whether to revert the latch or not. (Latches are
2832 reverted if there is an immediately preceding mouse button
2833 event that a client has consumed, in which case we don't want
2834 the user to see the side-effect of the event).
2835 (spi_device_event_controller_forward_mouse_event):
2836 Check for modifier events and fire before resetting mouse_mask_state,
2837 prevents losing modifier events.
2839 (impl_generate_keyboard_event):
2840 If we've just generated a keyboard event for a non-shift key,
2841 we don't want to revert the pending XKB latch.
2842 Otherwise, check the modifier state (via a call to
2843 spi_dev_mouse_check) and set the relatch mask to
2844 that state before returning.
2846 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2849 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2852 * atk-bridge/bridge.c:
2853 (spi_atk_register_event_listeners):
2854 Don't re-register for ATK events if the registry has died
2855 and the app needs to re-register; the ATK listeners are in
2856 process and doing so will cause duplicate emission.
2858 * registryd/deviceeventcontroller.c:
2859 (spi_poll_mouse_moved):
2860 Reformat the source, detect and emit multiple button-change
2861 events (i.e. if multiple buttons have changed between poll
2863 Add code to detect mouse-down events even when the pointer
2864 is grabbed; workaround for GOK bug 98420.
2865 (spi_controller_register_with_devices):
2866 Call XTestGrabControl with 'impervious' flag set to True,
2867 allows us to synthesize events and query the pointer even during
2868 an active grab by another client.
2869 (spi_device_event_controller_forward_mouse_event):
2870 Set the mouse_mask_state to the mouse_button_state from
2871 the intercepted event, to synchronize the grab listener with
2874 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2876 * cspi/spi_accessible.c:
2877 (AccessibleRole_getName):
2878 Added necessary strings for making this (deprecated)
2879 method work with the new role types.
2880 (init_role_table, role_table):
2881 Added definition of SPI_ROLE_APPLICATION.
2883 * libspi/spi-roletypes.h:
2884 Added SPI_ROLE_APPLICATION.
2886 * idl/Accessibility_Role.idl:
2887 Added ROLE_APPLICATION.
2889 * docs/reference/cspi/at-spi-cspi-decl.txt:
2890 Added SPI_ROLE_APPLICATION to docs.
2892 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2894 * cspi/spi_accessible.c
2895 (cspi_init_role_table): Do not write beyond end of role_table.
2896 (Accessible_getRole): Use correct type for value returned by
2897 Accessibility_Accessible_getRole().
2899 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2900 beyond end of role_table. (This fixes bug #98269)
2902 * libspi/application.c: Add include file spi-private.h for
2903 definition of spi_init_any_nil.
2905 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2909 * libspi/spi-private.h:
2910 Added DGB() macro, and extern int _dbg declaration.
2912 * registryd/registry.c:
2913 (definitions) storage for _dbg.
2914 (spi_registry_init):
2915 Get environment variable "AT_SPI_DEBUG".
2916 (spi_registry_set_debug):
2917 New method, to initialize _dbg value.
2918 (spi_listener_struct_new, spi_registry_object_finalize):
2919 (notify_listeners_cb):
2920 Changed fprintfs to use DBG and g_warning().
2922 * registryd/deviceeventcontroller.c:
2923 (_deregister_keygrab, spi_controller_register_device_listener):
2924 Changed debug/warning messages to use DBG macro.
2926 * libspi/listener.c:
2927 (impl_notify_event):
2928 Changed warning messages to use DBG macro and g_warning().
2930 * atk-bridge/bridge.c:
2931 (atk_bridge_init, spi_atk_bridge_get_registry):
2932 (spi_atk_bridge_exit_func):
2933 (spi_atk_bridge_property_event_listener):
2934 Changed status, warning, and error messages to use
2935 g_warning, g_message, and DBG macros.
2938 Read the state of the AT_SPI_DEBUG environment variable
2939 and set a local '_dbg' accordingly.
2941 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2943 FIXES for 98836, 98842, other bugs.
2946 Revved to 1.1.4, interface-age=4, binary-age=4.
2948 * registryd/deviceeventcontroller.c:
2950 Fixed crasher bug in last_mouse_pos initialization.
2952 * registryd/registry.c:
2953 (desktop_add_application, desktop_remove_application):
2954 Added (and then commented out) some support for
2955 object context marshalling. [TODO]
2957 * atk-bridge/bridge.c:
2958 (spi_atk_bridge_event_context_create):
2959 Commented out object context creation until it can
2960 be properly tested and debugged.
2962 * registryd/registry.c:
2963 (impl_registry_notify_event):
2964 Fixed crasher bug, we were calling
2965 spi_re_entrant_list_foreach () with an empty list.
2967 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2969 * idl/Accessibility_Action.idl:
2970 * idl/Accessibility_Component.idl:
2971 * idl/Accessibility_Desktop.idl:
2972 * idl/Accessibility_Event.idl:
2973 * idl/Accessibility_Hyperlink.idl:
2974 * idl/Accessibility_Image.idl:
2975 * idl/Accessibility_Relation.idl:
2976 * idl/Accessibility_Selection.idl:
2977 * idl/Accessibility_State.idl:
2978 * idl/Accessibility_Value.idl:
2979 Updated unimplemented slot count to minimum of
2980 four for all interfaces, for ABI freeze.
2982 * idl/Accessibility_EditableText.idl:
2983 * idl/Accessibility_Text.idl:
2984 Updated unimplemented slot count to six
2987 * idl/Accessibility_Registry.idl:
2988 Updated unimplemented slot count to six
2989 (also for DeviceEventController),
2992 * idl/Accessibility_Table.idl:
2993 Updated unimplemented slot count to eight,
2996 * idl/Accessibility_Event.idl:
2997 Added CORBA_any "any_data" member to Event struct.
2999 * idl/Accessibility_Event.idl:
3000 Added CORBA_any "any_data" member to Event struct.
3002 * atk-bridge/bridge.c:
3004 atk_signal_text_changed, atk_signal_child_changed,
3005 signal ids queried from gtype system.
3006 (AtkBridgeEventContextType): New enum.
3007 (AtkBridgeEventContextData): New struct.
3008 (AtkBridgeEventContext): New struct.
3009 (atk_bridge_init_event_type_consts):
3010 New method, initializes type contants for comparison
3011 prior to emit_eventv.
3012 (atk_bridge_event_context_init): New method,
3013 initializes a CORBA_any from an AtkBridgeEventContext.
3014 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3015 initialize the event.any_data struct.
3016 (spi_atk_bridge_event_context_create): New method,
3017 creates an AtkBridgeEventContext from signal/event info.
3018 (spi_atk_bridge_event_context_free): New method.
3019 (spi_atk_emit_eventv): Changed to take an
3020 AtkBridgeEventContext parameter. We now initialize
3021 the event.any_data member prior to notifying the
3022 Registry, via the AtkBridgeEventContext.
3023 (spi_atk_bridge_property_event_listener):
3024 (spi_atk_bridge_state_event_listener):
3025 Match emit_eventv signature.
3026 (spi_atk_bridge_object_event_listener):
3027 Match emit_eventv signature, and create an
3028 event context from the event details.
3029 Free the event context afterwards.
3030 (spi_atk_bridge_window_event_listener):
3031 Create an event context, pass it to the
3035 (AccessibleEvent_getContextString):
3036 (AccessibleEvent_getContextObject):
3037 New methods, allow query of AccessibleEvent objects
3038 for more context details (via the "any_data" member
3039 of the Event struct, above).
3042 Definitions for AccessibleEvent_getContextString
3043 and AccessibleEvent_getContextObject.
3045 * cspi/spi_listener.h:
3046 (InternalEvent): New struct.
3049 (AccessibleEvent_getContextString):
3050 (AccessibleEvent_getContextObject):
3051 Implementations of new methods, for obtaining
3052 additional context information from some event types.
3054 * cspi/spi_registry.c:
3055 (SPI_registerGlobalEventListener):
3056 Added mention of active-descendant-changed event in docs.
3058 * cspi/cspi-bonobo-listener.c:
3060 Marshal the any into the AccessibleEvent via
3063 * libspi/spi-private.h:
3064 #include <orbit/orbit.h>
3066 (spi_init_any_string):
3067 (spi_init_any_object):
3068 New convenience function declarations.
3072 (spi_init_any_string):
3073 (spi_init_any_object):
3074 New convenience function implementations.
3076 * registryd/deviceeventcontroller.c:
3077 (spi_poll_dec_mouse_moved):
3078 (spi_device_event_controller_forward_mous_event):
3079 Initialize any_data member of event.
3080 (spi_deregister_controller_device_listener):
3081 Fix incorrect param pass which was preventing deregistration.
3083 * registryd/registry.c:
3084 (desktop_add_application):
3085 (desktop_remove_application):
3086 Add object data to event's any_data before dispatch.
3088 Fix for error messages from GAIL.
3090 * test/event-listener-test.c:
3091 Test new ContextString and "any_data" API:
3092 (report_text_event): New method query and output context string.
3093 (main): register a new text listener with report_text_event
3096 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3098 Fixes for bugs 98127 and 97914.
3099 * cspi/spi-roletypes.h:
3100 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3102 * cspi/spi-statetypes.h:
3103 Added SPI_STATE_MANAGES_DESCENDANTS
3105 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3106 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3107 * cspi/spi_accessible.c:
3108 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3109 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3110 Accessibility_STATE_MANAGES_DESCENDANTS
3111 * libspi/accessible.c:
3112 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3113 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3114 As requested by Bill, I also cleaned up the alignment.
3115 * libspi/relation.c:
3116 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3117 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3118 * libspi/stateset.c:
3119 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3120 Accessibility_STATE_MANAGES_DESCENDANTS
3121 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3122 Document changes reflecting modifications to roles.
3123 * docs/reference/cspi/tmpl/spi_relation.sgml:
3124 Document changes reflecting modifications to relations.
3125 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3126 Document changes reflecting modifications to states.
3128 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3131 Revved to 1.1.3, interface-age=3, binary-age=3.
3132 Added REBUILD macro.
3135 Removed accessx-gui from the tests, since we have a nice
3136 keyboard accessibility capplet now :-)
3138 * test/keysynth-demo.c:
3139 (increment_scan): removed do-nothing default: case,
3142 * test/visual-bell.c:
3143 (main) : removed do-nothing default: case,
3146 * cspi/spi_action.c:
3147 (AccessibleAction_getKeyBinding_):
3148 Documented keybinding string format.
3152 (AccessibleText_getAttributes):
3153 Documented the text attribute string format.
3154 It's changed to use semicolon delimiters also,
3155 to prevent clashes with CSS attributes, but the old
3156 trick of looking for ", " strings will still work
3157 (as unreliably as ever). Fix for bug related to 97916.
3160 Include <cspi/bonobo/cspi-bonobo-listener.h>
3161 Fixes build warning.
3162 (SPI_freeAccessibleKeySet):
3163 (AccessibleKeystrokeListener_addCallback):
3164 (AccessibleKeystrokeListener_removeCallback):
3165 Modify to use AccessibleDeviceListener API internally,
3166 instead of AccessibleKeystrokeListener.
3168 * idl/Accessibility_Event.idl:
3169 Added two more empty slots to EventListener (for a total of four).
3171 * idl/Accessibility_Accessible.idl:
3172 Added four empty slots to Accessible interface.
3174 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3176 * idl/Accessibility_Registry.idl:
3177 (KeyEventType, EventType):
3178 Marked KeyEventType as deprecated; it duplicates
3179 functionality of EventType, which has been extended to
3180 include Mouse-button events.
3181 (KeyEventTypeSeq): defined in terms of EventType.
3182 (registerDeviceEventListener, deregisterDeviceEventListener):
3183 New methods, for managing listeners to device events,
3184 which potentially may consume them.
3187 Added definition for AccessibleDeviceListener.
3189 * cspi/spi-listener.h:
3190 (enum AccessibleDeviceEventType):
3191 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3192 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3193 for backwards compat.
3194 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3195 and typedef'd AccessibleKeystroke to it for back-compat.
3196 (AccessibleDeviceListenerCB):
3197 New function prototype typedef.
3200 (AccessibleDeviceEventMask): New typedef.
3201 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3202 (AccessibleKeyMaskType):
3203 Set equivalent to AccessibleModifierMaskType for back-compat.
3204 (SPI_createAccessibleKeystrokeListener):
3205 (AccessibleKeystrokeListener_unref):
3206 Deprecated in favor of equivalent (better-named) new API below..
3207 keystroke listeners are like all device listeners.
3208 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3209 New API names for old features :-).
3210 (AccessibleDeviceListener_addCallback):
3211 (AccessibleDeviceListener_removeCallback):
3212 (SPI_registerDeviceEventListener):
3213 (SPI_deregisterDeviceEventListener):
3217 (SPI_createAccessibleKeystrokeListener):
3218 Use new preferred API, cspi_device_listener_new() and
3219 cspi_device_listener_add_cb().
3220 (AccessibleKeystrokeListener_removeCallback):
3221 Use new preferred API, cspi_device_listener_remove_cb().
3222 (AccessibleKeystrokeListener_unref):
3223 Use new preferred API, cspi_device_listener_unref().
3224 (SPI_createAccessibleDeviceListener):
3225 (AccessibleDeviceListener_addCallback):
3226 (AccessibleDeviceListener_removeCallback):
3227 Implementation of new API.
3229 * cspi/spi_registry.c:
3230 (SPI_registerDeviceEventListener):
3231 (SPI_deregisterDeviceEventListener):
3232 Implementation of new API. Fixed memory leak and removed need to
3233 allocate EventTypeSeq (thanks Michael for catching this).
3234 Squashed a wayward CORBA_exception_free that shouldn't get called.
3236 * cspi/bonobo/cspi-bonobo-listener.c:
3238 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3239 (cspi_key_event): renamed to cspi_device_event().
3240 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3241 Extended to handle mouse button events as well as key events.
3242 (CSpiKeystrokeListener):
3243 Class superceded by CSpiDeviceListener.
3244 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3245 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3247 * cspi/bonobo/cspi-bonobo-listener.h:
3248 (CSpiKeystrokeListener):
3249 Class superceded by CSpiDeviceListener.
3250 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3251 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3253 * libspi/Makefile.am:
3254 Replaced keystrokelistener.h and keystrokelistener.c
3255 with devicelistener.h and devicelistener.c; keystrokelisener.h
3256 stub retained for back-compat.
3258 * libspi/keystrokelistener.c:
3262 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3264 * registryd/deviceeventcontroller.c:
3265 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3266 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3267 (DEControllerPrivateData): Added xkb settings data.
3268 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3269 button release events (which can't be captured via XGrabButton).
3270 Don't dispatch via the 'normal' event mechanism if the device event was
3272 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3273 Handle the typeseq data in its new location (see above).
3274 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3275 New methods, for "generic" device listeners.
3276 (spi_controller_register_device_listener):
3277 Now handle mouse event listeners as well as key listeners.
3278 (spi_controller_notify_mouselisteners):
3279 New internal method.
3280 (spi_device_event_controller_forward_mouse_event):
3281 Now we notify mouse device listeners as well as generating the
3282 non-consumable "mouse:" events.
3284 We must check and restore the XKB
3285 modifier map if we consume the event, since the act of triggering
3286 a mouse event will normally reset the XKB latch. This is required for
3288 (spi_controller_register_with_devices):
3289 Load the XKB settings when registering, and register for XKB
3290 state notify events.
3291 (spi_key_eventtype_seq_contains_event):
3292 Renamed spi_eventtype_seq_contains_event, since it's used
3293 internally for all device event types now.
3294 (spi_key_event_matches_listener):
3295 Uses spi_eventtype_seq_contains_event now.
3296 (spi_device_event_controller_object_finalize):
3297 Free the private data and the XkbKeyboard struct.
3298 (impl_register_device_listener, impl_deregister_device_listener):
3299 Implementation of new IDL.
3300 (spi_deregister_controller_device_listener):
3301 New internal method.
3302 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3303 More efficient implementation, we don't have to create a new
3304 XkbControls structure every time we query.
3305 (spi_device_event_controller_class_init):
3306 Initialize the epv entries for the new IDL. Assign the
3307 "spi-dec-private" quark.
3308 (spi_device_event_controller_init):
3309 Initialize the private data.
3310 (spi_device_event_controller_forward_key_event):
3311 Removed a bogus CORBA_exception_free() call.
3313 * registryd/deviceeventcontroller.h:
3314 Replaced inclusion of keystrokelistener.h with
3317 * test/event-listener-test.c:
3318 (report_mouse_event):
3321 Added mouse-event device listener.
3323 * test/test-simple.c:
3324 (create_test_window):
3325 Fixed regression (we were instantiating a GtkRange,
3326 which is now an abstract class). Also fixed to match
3327 existing AtkRole names, this seems to have changed in ATK
3328 awhile ago; too late now I think, and the new
3329 mechanism is at least elegant and consistent with the
3330 glib enum "nick" APIs.
3332 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3334 * idl/Accessibility_Relation.idl:
3335 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3336 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3337 * idl/Accessibility_Role.idl:
3338 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3339 * idl/Accessibility_State.idl:
3340 add STATE_MANAGES_DESCENDANTS
3341 * test/event-listener-test.c:
3342 Added a listener for active-descendant events.
3344 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3346 * atk-bridge/bridge.c
3347 (atk_bridge_init): If application is Bonobo component wait until top
3348 level is added before registering
3349 (spi_atk_bridge_do_registration): New function which contains code,
3350 formerly in atk_bridge_init, to do application registration.
3351 (spi_atk_bridge_toplevel_added): Signal called when top level
3352 added to Bonobo component
3354 This fixes bug #83134.
3356 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3358 * registryd/deviceeventcontroller.c
3359 Fixed compilation error caused by calling gettimeofday()
3362 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3367 Added template for HAVE_XKB.
3370 Changes to check for XKB, and to set the HAVE_XKB #define if it
3373 * libspi/listener.c:
3374 ()impl_notify_event): Make failure to get event source name
3377 * registryd/deviceeventcontroller.c:
3378 (#include): include X11/XKBlib.h.
3379 (DEControllerPrivateData) : New struct.
3380 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3382 (dec_synth_keycode_press) (dec_synth_keycode_release):
3383 New methods; split the key synthesis code into these methods.
3384 They check XKB settings before determining the "time" values to
3385 pass to Xtest; this fixes bug #95828.
3386 (impl_generate_keyboard_event): Changed to use methods above,
3387 instead of callng Xtest directly.
3388 (spi_device_event_controller_init): Initialize new privae struct s
3390 (spi_device_event_controllr_object_finalize):
3391 Free the (new) private data.
3393 * registryd/deviceeventcontroller.h:
3394 Add new gpointer to end of struct data.
3396 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3399 Incremented revision to 1.1.2, SONAME is still '.so', library
3400 extensions are ".so.0.0.2".
3402 * registryd/deviceeventcontroller.c:
3403 FIXES FOR #93592 and #95940.
3404 (statics): renamed mouse_button_state to mouse_mask_state,
3405 added key_modifier_mask.
3406 (spi_dec_poll_mouse_moved):
3407 Added key modifier checks, and emit "keyboard:modifiers"
3408 events when the key modifiers currently in use change.
3409 Also generate "mouse:abs" events periodically, even if the mouse
3410 is stationary (should we?).
3411 Alternatively we could generate "mouse:abs" events for either all
3412 mouse movements, or every 'nth' mouse movement, or at the
3413 beginning and end of every "active" mouse period.
3415 * test/event-listener-test.c:
3416 (main): Added listener for "keyboard:modifiers" events.
3418 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3420 * libspi/keymasks.h:
3421 Added key mask #defines for mouse buttons; e.g.
3422 SPI_KEYMASK_BUTTON1, etc.
3425 Incremented dependency on ATK to version 1.1.0. (This dependency
3426 is probably premature but will soon be real enough).
3428 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3430 * libspi/hyperlink.[ch]
3431 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3432 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3435 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3440 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3442 * registryd/deviceeventcontroller.c
3443 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3444 events to be ignored.
3445 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3446 keyboard_mode so that XAllowEvents() can be called.
3450 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3452 * cspi/spi-accessible.c: Correct names of roles returned by
3453 AccessibleRole_getName(). Fixes bug #95055.
3455 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3457 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3460 * registryd/registry.c
3461 (desktop_remove_application: Write diagnostic message to stderr for
3464 (impl_accessibility_registry_deregister_global_event_listener):
3465 Correct size of lists array. This addresses bug #94555).
3467 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3469 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3472 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3474 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3477 * registryd/registry.c (impl_registry_notify_event): Remove
3478 unnecessary call to parser_event_type().
3480 * docs/reference/cspi/tmpl/spi_component.sgml:
3481 Add reference to SPI_LAYER_WINDOW.
3483 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3485 * registryd/registry.c
3486 (desktop_add_application): Remove leak.
3487 (desktop_remove_application): Remove leak.
3488 (parser_event_type): Remove leak.
3490 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3492 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3493 bogus call to CORBA_string_dup(). Also removed unnecessary
3494 g_string_dup/g_free calls.
3496 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3498 * registryd/deviceeventcontroller.c:
3499 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3501 * test/event-listener-test.c:
3502 main: commented out three redundant listeners, to reduce output
3503 noise. (They still are potentially useful for testing).
3506 2002-09-13 Michael Meeks <michael@ximian.com>
3508 * Update all the copyrights to include Ximian.
3510 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3512 * cspi/spi.h: add SPI_LAYER_WINDOW.
3514 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3515 add Accessibility_LAYER_WINDOW case.
3517 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3519 * libspi/component.c: (impl_accessibility_component_get_layer):
3520 add ATK_LAYER_WINDOW case.
3522 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3524 * configure.in: incremented micro version.
3526 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3528 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3531 Clarified and reworded our commit policy.
3534 Started an API "todo" addition list for 2.2.
3537 (impl_getSelection):
3538 Free char pointer from atk_text_get_selection, which was being leaked.
3540 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3543 Small revision to author acknowledgement.
3545 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3547 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3548 If signal has detail add it to the type of the event.
3551 2002-08-12 Michael Meeks <michael@ximian.com>
3553 * test/test-simple.c (global_listener_cb): bin bogosity.
3554 (test_keylisteners): disable, still doesn't work reliably,
3555 certainly not on my system anyway.
3557 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3558 don't leak a reference on the DEC. This round-trip
3559 fetching of the DEC per keystroke sucks, it should be
3562 * cspi/spi-private.h,
3563 * cspi/cspi-lowlevel.h,
3564 * cspi/bonobo/cspi-bonobo-listener.[ch],
3565 * cspi/bonobo/cspi-bonobo.c: get the copyright
3566 notices better - there is still a large amount of
3567 work in at-spi falsely attributed solely to Sun.
3569 * cspi/spi_main.c (cspi_object_ref): kill bogus
3570 hash lookup, just increment the ref.
3571 (SPI_freeString): make explicit the fact that we
3572 handle NULL strings just fine.
3573 (report_leaked_ref): obey coding standards.
3574 (cspi_object_hash, cspi_object_equal): kill retval.
3575 (cspi_object_release): only release if not on loan.
3576 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3577 (cspi_object_borrow, cspi_object_return): impl.
3579 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3580 use cspi_object_borrow / return.
3582 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3584 * cspi/bonobo/cspi-bonobo-listener.c:
3586 Don't call cspi_oject_new() because this is creating a new Accessible
3587 every single time that an event is fired. This causes ATs like at-poke
3588 to nolonger recognise the source of the event and thus ignore it.
3589 Re-use the object from the cache, ref it and then unref it after the
3590 listeners have been called.
3592 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3594 * test/event-listener-test.c:
3595 Added command-line options to disable mouse events (m) and
3598 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3600 * configure.in: Update required versions of ATK, GTK+ and GAIL
3602 * cspi-1.0.pc.in: Add dependency for X include files
3605 * cspi/bonobo/Makefile.am:
3606 Add $(X_CFLAGS) so that X include files
3607 are picked up even if not in standard place (bug #71686)
3609 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3611 * registryd/deviceeventcontroller.c: fix for 84261
3612 (spi_dec_mouse_moved):
3613 Added test of mouse button mask, so that we can detect mouse
3614 button release. Unfortunately we can't otherwise detect mouse
3615 button release events without consuming the mouse press event,
3616 because of the way XGrabButton works. This means that our mouse
3617 release events have a latency dependent on the polling period
3618 while the mouse button is down. At least in this case we only
3619 have to poll while the button is down, and not at other times.
3620 If the button masks don't match with what the last press event
3621 reported, we report the appropriate button release event.
3622 (spi_dec_ungrab_mouse):
3623 New method (not yet called).
3624 (spi_device_event_controller_forward_mouse_event):
3625 New method, sends mouse press event from GdkFilter.
3626 (spi_dec_init_mouse_listener):
3627 Added code to call XGrabButton, redirecting mouse button events to
3628 the root window and our Gdk event loop.
3630 Added code to filter mouse button events, and reordered.
3632 * test/event-listener-test.c:
3634 Added registration for mouse events of type "mouse:button".
3636 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3638 * registryd/deviceeventcontroller.c: partial fix for 84261
3639 (spi_dec_poll_mouse_idle):
3640 New method, a timeout which checks to see if the mouse
3642 (spi_dec_poll_mouse_moving):
3643 A timeout to be called when mouse motion is underway.
3644 (spi_dec_poll_mouse_moved):
3645 A method which fires an event if the mouse has moved, and reports
3646 whether or not it did so.
3647 (spi_dec_init_mouse_listener):
3648 A method which sets up the timeouts above.
3649 (spi_device_event_controller_new):
3650 Now calls spi_dec_init_mouse_listener.
3652 * registryd/registry.c:
3653 (spi_registry_init):
3654 Now we initialize the device event controller when the registry is
3655 initialized, instead of waiting until a client has requested a key
3656 event notification; this is because we need the event controller
3657 for mouse events, but the mouse event registration API is a
3658 "registry" call and doesn't explicitly call the
3659 deviceeventcontroller.
3660 We now report mouse motion events with a 100 ms idle latency and
3661 a 20 ms granularity when motion is in progress.
3663 * test/event-listener-test.c:
3665 We now register the "detail listener" for events of type
3666 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3667 delivered only for the first mouse event received, and thereafter
3668 "mouse:abs" events are delivered.)
3670 * cspi/spi_registry.c:
3671 DOCS: Documented the above mouse event typestrings.
3673 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3675 Happy Summer Solstice...
3677 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3678 (spi_controller_notify_keylisteners):
3679 Changes to remove a listener from the listener list, freeing its
3680 open keygrabs, if a notification to that listener fails. This
3681 means that although a dead listener can continue to hold a passive
3682 keygrab, a maximum of one dispatch to such a listener can fail
3683 before the listener is removed from the list, thus the keygrab
3684 will be released on the next occurrence.
3685 As part of this fix:
3686 (spi_notify_keylisteners):
3687 Renamed to spi_controller_notify_keylisteners, as the controller
3688 instance must now be passed as an argument.
3689 The copied 'notify' GList is now a list of DEControllerKeyListener
3690 objects, since we need more than just the CORBA reference if a
3691 notify fails and we need to deregister the listener.
3692 (impl_notify_listeners_sync):
3693 (impl_notify_listeners_async):
3694 (spi_device_event_controller_forward_key_event):
3695 Modify use of notify_keylisteners in accordance with above
3697 (spi_deregister_controller_key_listener):
3698 New method introduced by refactoring, from
3699 impl_deregister_keystroke_listener.
3700 (impl_deregister_keystroke_listener):
3701 Call spi_deregister_controller_key_listener.
3702 (spi_key_listener_clone):
3703 New method to copy a key listner without doing a 'ref' on the
3704 remote object instance; used to create a notifier list.
3705 (spi_key_listener_data_free):
3706 New method, frees data without unreffing the source.
3708 (spi_key_listener_clone_free): new method.
3709 (spi_key_listener_free):
3710 refactored to call spi_key_listener_data_free.
3712 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3714 * registryd/registry.c: [fix for bug 86048]
3715 (notify_listeners_cb):
3716 Clear CORBA system exceptions which occur when notifying
3717 listeners, before returning to the source of the original event,
3718 since the event source doesn't care if the relayed notify failed.
3719 In other words, don't complain to the atk-bridge if the registry
3720 could not notify all its listeners, that's no fault of the
3721 application and thus should not appear to be an error from the
3722 application's perspective.
3724 * cspi/spi_main.c: [fix for bug 85980]
3726 Replaced use of bonobo_object_dup_ref with call to the wrapper
3727 method, csou_dup_ref (); this silences a compiler warning and
3728 provided more portability.
3730 Ping the registry before return, and restart if necessary.
3732 * cspi/bonobo/cspi-bonobo.c:
3734 New internal method.
3736 Fixed this method to return an object reference, as it should have
3739 * cspi/cspi-lowlevel.h:
3740 Added internal definition for cspi_ping() and fixed
3741 return type of cspi_dup_ref().
3744 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3746 * atk-bridge/bridge.c: [fix for bug 85305]
3747 (spi_atk_bridge_register_application):
3748 New method where the initial application registry calls have been
3749 moved; it allows an application to re-register in response to
3750 certain error conditions (such as a registry restart, see below).
3752 Moved some initialization code to the method
3753 spi_atk_bridge_get_registry, below.
3754 (spi_atk_bridge_get_registry):
3755 New, private accessor function for the Accessibility_Registry
3756 instance. If the registry has not been started before, or has
3757 died (as detected by failure of a CORBA exception), it is
3758 restarted before return, and spi_atk_bridge_register_application
3759 is called again to register with the new bridge instance.
3760 (spi_atk_emit_eventv):
3761 Set registry_died on error; use spi_atk_bridge_get_registry () to
3762 access the registry.
3764 * registryd/registry.c:
3765 (impl_accessibility_registry_register_global_event_listener):
3766 Set listener's event_type_quark to etype.minor instead of
3767 etype.major (fix for bug 84856).
3769 * test/event-listener-test.c:
3770 (report_detail_event):
3771 Change the output string so that user/tester can tell that the
3772 'detail listener' was called instead of the 'generic listener'.
3774 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3776 Fixes for bugs 84900, 84908, 84897, 84898.
3781 Revved version to 1.1.0
3782 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3783 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3785 * idl/Accessibility_Registry.idl:
3786 (EventListener::notifyEvent):
3787 Removed 'oneway' directive after extensive consulation with
3788 ORBit2 team and others. This means also that unref() of the event
3789 source can and should be done synchronously after emission, rather
3790 than remotely in the client, after servicing the notify call on
3793 NOTE: This change speeds up listener performance considerably, but
3794 introduces new latency on the application side. We may want to
3795 add an event queue to the atk-bridge.
3797 * atk-bridge/bridge.c:
3798 (spi_atk_bridge_focus_tracker):
3799 Do a local unref() on the event source after emission.
3801 * registryd/registry.c:
3802 (desktop_remove_application):
3803 Do an unref() on the event source after emission.
3804 (desktop_add_application):
3805 Do an unref() on the event source after emission.
3806 (notify_listeners_cb):
3807 When relaying an event, don't automatically add the event source
3808 to the local object cache, just CORBA_dup it instead. Likewise,
3809 if this method reenters, release the ref rather than calling
3811 (impl_registry_notify_event):
3812 No longer call remote unref() on the event source after dispatch.
3814 * libspi/eventlistener.c:
3815 (impl_accessible_event_notify_event):
3816 Removed remote unref ()
3818 * cspi/bonobo/cspi-bonobo-listener.c:
3820 We now call cspi_object_new() instead of cspi_object_add() on
3821 receipt of an event; thus we only have an implicit object ref
3822 while the cspi_event method is being executed. If we need to keep
3823 a reference to the object, the listener must call ref() on the
3824 object. Thus also we don't need to call cspi_object_unref() after
3825 invoking the listener callbacks in this method.
3829 New internal API for creating a new cspi object, without adding it
3830 to the object cache.
3832 Now uses cspi_object_new() to create the cspi object instance.
3834 Now checks to see if the object is in the internal object cache,
3835 and adds it if necessary before incrementing its refcount (note
3836 that new objects are added with a refcount of 1).
3837 (report_leaked_ref):
3838 New method which gives some information on leaked object instances
3839 if leak detection is turned on.
3841 * test/event-listener-test.c:
3842 (timing_test_event):
3843 New method, used for testing event delivery timing for special
3844 events of type "object:test". It reports elapsed time and
3845 events/sec every 500 events.
3847 Added a new listener, 'test listener', to check timing of event
3848 receipt as noted above.
3850 Added some timing output here also, reports elapsed time every 100
3853 * test/stress-test.c:
3854 Emit events of type "object:test", for use with "event-listener-test".
3856 * test/test-simple.c:
3857 (global_listener_cb):
3858 Call Accessible_ref() on the event source before calling
3859 validate_accessible, since the validation process does pointer
3860 comparisons on the event source, meaning that the event source
3861 needs to be added to the local object cache first. Any use of
3862 such pointer comparisons between Accessible objects requires that
3863 the caller hold an explicit reference to those objects.
3864 We also must therefore call Accessible_unref() when leaving this method.
3866 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3868 * registryd/deviceeventcontroller.c:
3869 (spi_controller_update_key_grabs):
3870 Fix for #84735, subsequent keygrab listeners not informed of
3871 registration failure.
3874 (spi_base_construct):
3875 Add an assertion on construct, to make sure the GObject passed in
3876 is really a GObject.
3878 Explicitly initialize object->gobj pointer to NULL;
3880 * cspi/bonobo/cspi-bonobo-listener.c:
3881 (cspi_object_add_ref):
3882 New method, can specify whether to dup-ref a bonobo object passed
3883 in if it's newly added to the object cache.
3885 Now calls cspi_object_add_ref with second param of "FALSE". This
3886 prevents us from doing a pointless dup-ref followed by
3887 release-unref for all those cases where the object is already in
3888 our object cache (fix for #85205).
3890 * atk-bridge/bridge.c:
3891 (spi_atk_bridge_idle_init):
3892 Removed this method, we don't need to initialize in an idle
3895 Changed to call spi_atk_register_event_listeners directly, not via an
3896 idle handler. (fix for #81139)
3897 (gnome_accessibility_module_shutdown):
3898 Removed conditional around deregistration of listeners, since we
3899 don't use the idle handler and thus have always registered when
3901 (spi_init_keystroke_from_atk_key_event):
3902 Changed references to Accessibility_KEY_PRESSED to
3903 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3905 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3907 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3912 * test/stress-test.c:
3915 (may have been an incomplete commit yesterday?)
3917 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3920 Added target for new stress-test.
3922 * test/stress-test.c:
3923 New test, sends 1000 focus notifies in quick succession.
3925 * test/key-listener-test.c:
3926 Now we report whether a keylistener registration
3927 request succeeded or failed.
3929 * test/event-listener-test.c:
3930 Uncommented some listeners which are now implemented.
3933 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3935 * registryd/deviceeventcontroller.c:
3936 (spi_controller_update_key_grabs):
3937 Fix for #82509, lack of failure notification when
3938 ALL_WINDOWS keygrabs fail due to XGrabKey
3939 failure: we synchronize the server when
3940 registering a passive grab, to make sure we get the
3941 error message before the call returns.
3943 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3945 * test/test-simple.c:
3947 Removed #ifdef KEY_IMPL_WORKS guards.
3948 (test_keylisteners):
3949 Removed #ifdef KEY_IMPL_WORKS guards.
3950 Fixed bug which was causing a hang waiting for a
3951 "press" event (which was already overwritten by a "release"
3952 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3954 Added code to set globals 'key_press_received' and
3955 'key_release_received'.
3958 Added section "1.1 API Proposed Additions" which
3959 lists API additions desired for at-spi-1.1 (only one so far).
3960 Updated TODO list a little.
3962 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3964 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3967 * configure.in: Revved to 1.0.0.
3969 * idl/Accessibility_Registry.idl:
3970 (registerKeystrokeListener):
3971 Added boolean return value.
3973 * registryd/registry.c:
3974 (notify_listeners_cb): Minor fix to debug output.
3976 * registryd/Accessibility_Registry.server.in.in:
3977 Revved version number in OAFIID to 1.0.
3979 * registryd/registryd.c:
3981 Use new OAFIID version.
3983 * cspi/bonobo/cspi-bonobo.c:
3985 Use new OAFIID version.
3991 * atk-bridge/bridge.c:
3993 Use new OAFIID version.
3995 * registryd/deviceeventcontroller.c:
3996 (impl_register_keystroke_listener):
3997 Added CORBA_boolean return value.
3998 (spi_controller_register_device_listener):
3999 Added gboolean return value.
4000 (spi_controller_register_global_keygrabs):
4001 Added gboolean return value.
4002 (spi_key_set_contains_key):
4003 Added implementation for many more control keys,
4004 for instance F1-F12, arrow keys, End, Home, Page_Up,
4006 [TODO: some still not implemented].
4008 * text/screen-review-test.c:
4009 (text_chunk_pad_string):
4010 New function: it provides mapping between coordinate
4011 positions of text chunks and character positions in the
4012 screen-review-line output string.
4013 (text_chunk_to_string):
4014 New function, calls text_chunk_pad_string with various
4015 pad/delimiter characters. Pushbuttons are delimited with
4016 square brackets, Frames with vertical 'pipe' lines, and
4017 other text with double quotes.
4018 (text_chunk_list_to_string):
4019 Calls new function text_chunk_to_string.
4020 (toplevel_composite):
4021 New function to composite layers CANVAS through
4022 POPUP in each toplevel (other layers are composited
4023 across toplevels, i.e. BACKGROUND and OVERLAY).
4024 (review_buffer_composite):
4025 Revise to use new methods.
4031 2002-05-31 Laszlo Peter <laca@sun.com>
4033 * configure.in: add the Xtst libdir to the runpath on Solaris,
4034 since it's not in the default library search path.
4036 2002-05-29 jacob berkman <jacob@ximian.com>
4038 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4040 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4042 * test/screen-review-test.c:
4043 (text_chunk_pad_string):
4044 Added method, which pads the string according to the
4045 text bounds of the chunk. It also takes a 3-character
4046 string as a param which indicates the characters to be
4047 used for start, padding, and end delimitation of the chunk.
4048 (text_chunk_to_string):
4049 Changed to use text_chunk_pad_string.
4051 * configure.in: Fixed bug in AC_OUTPUT that was
4052 causing path substitution in Accessibility_Registry.server
4055 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4057 * text/screen-review-test.c:
4058 (guess_string_clip):
4059 New method which attempts a best-guess at clipping
4060 text from components (like Java labels) which don't
4061 actually implement AccessibleText. This inaccurate
4062 clip is based on the assumption that the label is
4063 justified left-and-right, and monospaced.
4064 (text_chunk_get_clipped_string):
4065 We now call guess_string_clip() for text-containing
4066 components that don't implement AccessibleText.
4068 * test/screen-review-test.c:
4069 (review_buffer_get_text_chunk):
4070 We now pull "name" from labels if they do not implement
4071 AccessibleText (i.e. for Java labels).
4072 (get_screen_review_line_at):
4073 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4076 Replaceded AC_OUTPUT target
4077 registryd/Accessibility_Registry.server with
4078 registryd/Accessibility_Registry.server.in.
4080 * registryd/Accessibility_Registry.server.in:
4081 Removed (this is now a Makefile target).
4083 * registryd/Accessibility_Registry.server.in.in:
4084 Added (source for target above). We now use $(libexecdir) as
4085 prefix for the executable at-spi-registryd.
4087 * registry/Makefile.am:
4088 Now install at-spi-registryd into $(libexecdir), and build .server
4089 file with path (see above).
4091 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4093 * test/screen-review-test.c:
4094 (text_chunk_get_clipped_string):
4095 We now check to see if words fall within clip bounds
4096 before resorting to character-by-character clip bounds testing.
4098 * TODO: Added a section for "2.2 Proposed API Additions".
4100 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4102 * test/screen-review-test.c:
4104 Added a screen review benchmarking and test program to test
4107 * cspi/spi_accessible.c:
4109 Made some of the debug strings passed to cspi_check_ev a
4110 little more specific.
4112 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4114 * test/screen-review-test.c: Fix crashes in debug statements
4116 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4118 * test/screen-review-test.c: Added this file.
4120 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4122 * atk-bridge/bridge.c: changed "object:state-change" to
4123 "object:state-changed" to match docs.
4125 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4127 * atk-bridge/bridge.c: Hooked up state-change event details.
4129 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4131 * registryd/registry.c:
4132 Fixed quarking bug in event string parsing; now events with
4133 detail parameters get matched correctly to listeners.
4136 * util/idl/Magnifier.idl: remove.
4138 * util/*.[ch]: Remove.
4139 Magnification utilities and IDL are now in module gnome-mag.
4141 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4143 * registryd/deviceeventcontroller.c:
4144 Fixed bug in grab key conversion which was causing keycode grabs
4145 to be converted to AnyKey grabs.
4148 updated NEWS file to reflect recent spin-off of gnome-mag.
4150 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4152 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4153 busted AccessibleStateSet_compare. Removed redundant casts.
4155 * cspi/spi-action.c: Removed redundant casts.
4157 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4159 * cspi/spi_component.c: Fixed typos and casting error.
4161 * cspi/spi_editabletext.c: Removed redundant casts.
4163 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4165 * cspi/spi_hypertext.c: Eliminated redundant casts.
4167 * cspi/spi_image.c: Eliminated redundant casts.
4169 * cspi/spi_registry.c: Eliminated redundant casts.
4170 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4171 * cspi/spi_selection.c: Removed redundant casts.
4172 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4173 handling. Screen geometry and text offsets were being returned as 0
4174 on error which is technically valid-- changed these to return -1.
4175 Added marshaller for text boundary types to fix bug with boundary
4176 types being passed incorrectly to atk.
4178 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4181 * cspi/spi_registry.c:
4182 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4183 which was uncovered by the recent key changes.
4185 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4187 * test/event-listener-test.c:
4189 Added new test, "event-listener-test";
4190 this code does two things; it benchmarks traversal time
4191 for the accessible hierarchy for the first running accessible
4192 app, and it connects listeners for all supported event types.
4193 It is thus useful as an example event listener and for
4194 diagnostics/debugging of event generation.
4196 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4199 Removed unnecessary dependency on libutil.
4202 Revved micro version: 0.13.1
4204 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4207 Removed util/Makefile from targets.
4210 Removed util subdir from SUBDIRS (temporarily,
4211 pending removal of magnifier-only code
4215 #ifdef-ed out magnifier dependencies, since
4216 magnifier IDL, headers, and binary now live in
4217 module gnome-mag and we don't want at-spi to depend
4218 on gnome-mag. A magnifier demo which can run alongside
4219 simple-at is forthcoming in the gnome-mag module.
4221 NOTE: Split magnifier binary, IDL, and magnification
4222 activation code from at-spi into module gnome-mag.
4224 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4226 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4227 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4229 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4232 Revved to version 0.13.0
4234 * idl/Accessibility_Registry.idl:
4235 Changed definition of KeySet from sequence of longs to sequence of
4236 KeyDefinitions, and added KeyDefinition struct.
4237 Required for fix to bug 80616.
4239 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4240 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4241 to use new definition (see above).
4243 * registryd/deviceeventcontroller.c: handle_keygrab(),
4244 spi_keyset_contains_key():
4245 Changed to make use of new struct; this allows matching based on
4246 string key-name, for instance "Tab". This also allows matching of
4247 composed characters, non-alphanumeric characters in a way that
4248 doesn't involve dependencies on X keysym codes directly, etc.
4250 * test/key-listener-test.c:
4251 Added test for Alt-Tab key using "string" specification of keyset,
4252 and modified one of the tests to use a keycode-based keyset.
4253 Thus this test both tests and demonstrates the creation and use of
4254 keysets of three forms: specified via keycode array,
4255 keysym array, and string array. (The string case only contains a
4256 single string, i.e. a string array of length 1).
4259 Turned on PRINT_TREE option by default. Also fixed a
4260 string-freeing bug in the PRINT_TREE code.
4261 Added a listener to window:minimize events.
4263 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4265 * atk-bridge/bridge.c:
4266 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4267 for window:activate and window:deactiveate
4268 (atk_bridge_property_event_listener atk_bridge_signal_listener
4269 atk_bridge_window_event_listener) Tidy debug code
4271 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4273 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4274 Fixed handling for NULL return value from ATK.
4276 * libspi/action.c libspi/component.c libspi/editabletext.
4277 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4278 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4279 Removed redundant casts.
4281 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4282 Fixed off by one bug.
4284 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4285 function not present in idl)
4287 2002-05-02 jacob berkman <jacob@ximian.com>
4289 * atk-bridge/Makefile.am: make atk-bridge a real module
4291 2002-04-26 Radek Doulik <rodo@ximian.com>
4293 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4294 atk_state_types table
4296 2002-04-22 jacob berkman <jacob@ximian.com>
4299 * libspi/Makefile.am: add deps on the built files to help
4300 automake, and don't version the ORBit typelib
4302 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4304 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4305 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4306 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4307 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4308 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4309 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4310 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4311 libspi/accessible.h libspi/accessible.h libspi/base.h
4312 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4313 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4314 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4315 libspi/spi-private.h libspi/statetset.h libspi/table.h
4316 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4317 util/mag_client.h util/mag_control.c util/mag_image.c
4318 util/mag_image.h util/magnifier.c util/magnifier.h:
4319 Add missing file headers; standardize existing ones
4321 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4323 * atk-bridge/bridge.c: Added window event support.
4325 2002-04-18 Michael Meeks <michael@ximian.com>
4327 * libspi/relation.c (impl_getNTargets): impl.
4328 (impl_getTarget): impl.
4330 * libspi/Makefile.am: fix stateset install.
4332 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4335 Started putting useful info in this file.
4337 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4339 * atk-bridge/bridge.c:
4340 Propagate state-changed notifications to ATs
4342 * cspi/spi_registry.c: update docs to reflect actual behavior of
4343 state-change events.
4345 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4348 Incremented version to 0.12.1
4350 * util/mag_client.h:
4351 Add missing declaration for magnifier_exit,
4352 used by mag_control.c - Forte compiler didn't like
4353 the implicit redeclaration of the function :-(
4356 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4359 Revved version to 0.12 due to API change (see below).
4361 * cspi/spi-roletypes.h:
4362 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4363 definition from the inline docs, and added docs
4364 for SPI_ROLE_LAST_DEFINED.
4367 * cspi/spi_streamablecontent.c:
4368 Added missing seek_type parameter to
4369 (so far unused) method,
4370 AccessibleStreamableContent_seek().
4371 [ RT approval JodyG. ]
4374 Fixed docs for SPI_createAccessibleKeystrokeListener.
4376 * cspi/spi_registry.c:
4377 Fixed docs for SPI_KEYSET_ALL_KEYS.
4379 * docs/reference/cspi/at-spi-cspi-sections.txt:
4380 Added a number of missing APIs to SECTIONS.
4382 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4384 * registryd/Makefile.am:
4386 * cspi/bonobo/Makefile.am:
4387 Add $(X_LIBS) to makefiles.
4389 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4392 Revved version to 0.11.
4394 * libspi/component.c:
4395 Added implementation for grabFocus.
4397 * idl/Accessibility_Component.idl
4398 (Accessibility_Component_grabFocus):
4399 Made this method return boolean to indicate success or failure, to
4400 be consistent with cspi and the corresponding ATK method.
4402 * idl/Accessibility_Selection.idl
4403 (Accessibility_Selection_selectAll) :
4404 Made these methods return boolean to indicate success or
4405 failure, to be consistent with cspi and the corresponding ATK methods.
4407 * idl/Accessibility_EditableText.idl
4408 (Accessibility_EditableText_setTextContents,
4409 Accessibility_EditableText_insertText,
4410 Accessibility_EditableText_cutText,
4411 Accessibility_EditableText_deleteText,
4412 Accessibility_EditableText_pasteText):
4413 Made these methods return boolean to indicate
4416 * cspi/spi_editabletext.c:
4417 Made these methods return booleans.
4419 * libspi/selection.c:
4420 * libspi/component.c:
4421 * libspi/editabletext.c:
4422 Connected the boolean returns from ATK
4423 to the server-side code referenced above.
4425 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4427 * idl/Accessibility_Table.idl: Added missing methods,
4428 Accessibility_Table_addRowSelection,
4429 Accessibility_Table_addColumnSelection,
4430 Accessibility_Table_removeRowSelection,
4431 Accessibility_Table_removeColumnSelection.
4434 Added C wrappers for above IDL:
4435 AccessibleTable_addRowSelection,
4436 AccessibleTable_addColumnSelection,
4437 AccessibleTable_removeRowSelection,
4438 AccessibleTable_removeColumnSelection.
4441 Added server-side implementation code for IDL above, connecting
4442 to pre-existing ATK api.
4444 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4446 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4448 * libspi/accessible.c: Added implementation fo
4449 Accessibility_Accessible_get_state.
4451 * libspi/libspi.h: Added stateset.h to the list of includes.
4453 * libspi/stateset.c: Fixed broken implementation.
4455 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4458 Added implementation code for Accessibility_Magnifier_exit ().
4460 * util/mag_control.c:
4461 Added test code for above method; you can
4462 now kill an existing magnifier via
4463 ./mag_control q, from the util directory.
4465 * test/key-listener-test.c:
4467 Added a new test, for our key listener API.
4469 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4471 * test/app.c, test/keysynth-demo.c:
4473 Replace use of snprintf with g_snprintf.
4474 (fix for bugzilla 78249)
4476 2002-03-27 Michael Meeks <michael@ximian.com>
4480 * util/Makefile.am (INCLUDES): fix.
4481 (DONT_DIST_SOURCE): don't distribute the
4484 * libspi/Makefile.am (dist-hook): ditto.
4486 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4488 * libspi/hypertext.c:
4489 Fix warnings when yelp is used with atk-bridge
4491 2002-03-21 Michael Meeks <michael@ximian.com>
4493 * libspi/application.c (spi_application_new):
4494 use spi_accessible_construct so we use the AtkObject
4497 2002-03-19 Michael Meeks <michael@ximian.com>
4499 * registryd/registry.c (desktop_remove_application),
4500 (desktop_add_application): clean coding style.
4502 * registryd/desktop.c (spi_desktop_remove_application),
4503 (spi_desktop_add_application): kill re-enterency hazards.
4504 (spi_desktop_dispose): remove bogus redundant cast
4505 obscuring bug; fix bug too.
4506 (spi_desktop_init): make the desktop object immortal.
4508 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4511 Added a #define-guarded tree-traversal step
4512 when enumerating the apps (diagnostic tool).
4514 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4516 * idl/Accessibility_Role.idl:
4517 Added ROLE_DRAWING_AREA which seemed to be missing from the
4520 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4522 * cspi/spi-roletypes.h cspi/spi_accessible.c
4523 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4526 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4527 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4528 AT when applications are added and removed from the desktop. This
4529 reverts the previous broken implementation using the backing
4530 AtkObject for the SpiDesktop.
4532 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4534 * registryd/desktop.c: emit the "children-changed::add" and
4535 "children-changed::remove" signals on the backing ATK object for
4536 the desktop so AT can tell when applications are started and shut
4539 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4541 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4543 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4545 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4547 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4549 * cspi/state-types.h: synched with IDL and ATK
4551 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4553 * libspi/accessible.c
4554 (impl_accessibility_accessible_get_child_at_index):
4555 Change return value for g_return_if_fail ()
4556 to CORBA_OBJECT_NIL instead of "0" (!)
4558 * registryd/Makefile.am:
4559 * registryd/Accessibility_Register.server.in:
4560 Changed name of executable, "registryd",
4561 to something more informative:
4564 2002-03-13 Michael Meeks <michael@ximian.com>
4566 * atk-bridge/bridge.c (atk_bridge_init): don't register
4567 if we're in a bonobo-component, rather than a bonobo app.
4569 2002-03-13 Michael Meeks <michael@ximian.com>
4571 * atk-bridge/bridge.c (gtk_module_init): split
4572 out body to (atk_bridge_init): here, since otherwise
4573 we get symbol conflicts and oddness when invoked
4574 from (gnome_accessibility_module_init): here (upd.)
4576 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4579 New file. Explicitly allow "build sheriff" putbacks provided
4580 they are tested on Solaris.
4582 * docs/reference/cspi/Makefile.am:
4583 Added '-' to the "cp" command for index.sgml.
4584 ("patch by thomasvs, soon coming to a GUADEC near you")
4587 Incremented version number (0.9.0) for new release.
4588 Changed macro that checks for popt, to better detect
4589 obsolete versions of popt.
4592 Added X_LIBS to AC_SUBST, for applications
4593 that call Xlib API directly.
4596 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4599 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4602 Fix regression caused by hard-coding major
4603 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4606 * test/test-simple.c (test_editable_text),
4607 (test_test): revert previous change (error was
4608 a regression in gail which is now fixed).
4610 2002-03-04 Michael Meeks <michael@ximian.com>
4612 * test/test-simple.c (test_editable_text),
4613 (test_text): pass G_MAXINT instead of '-1' for
4614 whole string - is this a good thing !?
4616 * cspi/spi_accessible.c
4617 (Accessible_getRelationSet): fix crasher bug
4618 overwriting the end of the array.
4620 * test/test-simple.c (validate_accessible): free,
4621 not g_free returned relation set.
4623 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4625 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4626 implemented stateset support
4628 * idl/Accessibility_State.idl: Made necessary changes to
4629 the IDL to support state sets.
4631 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4633 * registryd/deviceeventcontroller.c:
4634 Added implementation for generateMouseEvent.
4636 * cspi/spi_registry.c:
4637 Connected new implementation for generateMouseEvent
4640 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4643 Incremented revision (but no change in public API
4644 outside of 'utils', which are not installed public yet.)
4646 * libspi/component.c:
4647 Changed to use atk_component API for layers and
4648 mdi_zorder, instead of deprecated atk_object API.
4650 Magnification Utility Enhancements:
4653 Added implementation of createZoomRegion, clearAllZoomRegions,
4654 resizeZoomRegion. Added new commandline argument
4655 "--no-initial-region". Note that clearAllZoomRegions doesn't
4656 unmap the old '0' region as it should (yet), and the other
4657 methods only work when creating/resizing a single region,
4658 which is "region 0".
4659 (Code for multiple region support will be added later.)
4662 Now we raise the magnifier window each time it's refreshed;
4663 this will help keep it on top.
4665 * util/mag_client.h:
4666 Added simple wrappers for above, used by mag_control.
4667 For general use, it's recommended to use the bonobo magnifier
4668 control API directly instead of using these wrappers.
4671 Moved ZoomRegionData from magnifier.c to this file.
4673 * util/mag_control.c:
4674 Added some code to exercise new IDL implementations.
4676 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4678 * libspi/text.c: Provide implementation for getAttributes.
4680 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4683 Incremented revision.
4685 * test/test-simple.c:
4686 Replaced use of deprecated g_main_iteration with
4687 g_main_context_iteration.
4689 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4692 Incremented revision for desktop alpha 2.
4694 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4696 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4699 * test/simple-at.c: include netinet/in.h.
4701 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4703 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4704 use NULL, not CORBA_OBJECT_NIL.
4706 * libspi/accessible.c:
4707 (impl_accessibility_accessible_get_relation_set):
4708 allocate the sequence correctly.
4710 * libspi/remoteobject.h: kill spi_remote_object_new.
4712 * test/test-simple.c: (validate_accessible): add code
4713 to test relation sets, now all we need is to figure
4714 out how to excercise this code path :/
4716 2002-01-18 Michael Meeks <michael@ximian.com>
4718 * test/test-simple.c
4719 (key_listener_cb): consume the key.
4720 (test_keylisteners): update.
4721 (main): wait for any pending unrefs on events.
4723 * registryd/deviceeventcontroller.c
4724 (spi_controller_update_key_grabs): only re-issue the
4725 grab on a key release.
4726 (spi_device_event_controller_forward_key_event):
4727 refresh the keygrabs before we notify the listeners,
4728 to reduce the X ungrab / re-grab race.
4729 (spi_controller_register_with_devices): remove
4730 XSelectInput - we do that with the gdk_window_ call.
4731 (_spi_controller_device_error_handler): return a value.
4732 s/GDK_DISPLAY/spi_get_display/
4734 2002-01-17 Michael Meeks <michael@ximian.com>
4736 * registryd/deviceeventcontroller.c
4737 (_deregister_keygrab): don't blow out the later
4740 * test/test-simple.c (test_keylisteners): do a
4741 more intelligent validation.
4743 2002-01-14 Michael Meeks <michael@ximian.com>
4745 * atk-bridge/bridge.c
4746 (gnome_accessibility_module_init),
4747 (gnome_accessibility_module_shutdown): impl.
4748 (gtk_module_init): protect vs. double inits.
4749 (add_signal_listener): impl.
4750 (spi_atk_bridge_state_event_listener): kill
4751 (deregister_application): split out of
4752 (spi_atk_bridge_exit_func): here.
4754 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4757 Added caret tracking when using magnifier, and
4758 now use text bounds for focus tracking of text elements, rather than
4759 the component bounds - this is helpful for short text fields in long
4760 table cells, at high magnification.
4762 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4764 * registryd/deviceeventcontroller.c:
4765 Regression fix for keylistener de-registration; global keygrabs
4766 were not being released when deregisterKeystrokeListener was
4767 called in cspi, since
4768 Accessibility_DeviceEventController_deregisterKeystrokeListener
4769 was called with a zero-length keyset. That is because the cspi
4770 method, SPI_deregisterKeystrokeListener, does not take a keyset
4771 parameter but instead should remove all the key grabs held be a
4773 The code in impl_deregister_keystroke_listener was changed to copy
4774 the keylist from the listener instance previously registered with
4775 the DeviceEventController before releasing the grabs.
4777 * registryd/registry.c:
4778 * registryd/deviceeventcontroller.c:
4779 * libspi/spi-private.h:
4781 Changed spelling of "re-enterant" to "re-entrant" globally.
4783 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4785 * test/test-simple.c:
4786 Changed key listeners test - the test was slightly mis-using the
4787 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4788 It now uses '=' as the key event listened to and generated,
4789 relying on a keysym match rather than assuming that keycode 33
4790 is always equal to keysym '!'.
4792 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4795 Changed simple-at to use a specific keyset, rather than
4796 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4797 manager, desktop, etc.
4799 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4801 * registryd/deviceeventcontroller.c:
4802 Replaced standard X error handler with a special handler that
4803 is non-fatal for failed keygrabs. This works around
4804 problems with keygrab clashes sometimes observed on
4806 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4807 mouse handling code as yet).
4809 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4812 Incremented revision for desktop alpha release.
4815 Fixed a couple of the more glaring errors (still not
4818 2002-01-11 Michael Meeks <michael@ximian.com>
4820 * registryd/deviceeventcontroller.c
4821 (spi_device_event_controller_forward_key_event): kill
4822 XUngrabKey / XKeyGrab race.
4823 (spi_controller_grab_keyboard): rename to
4824 (spi_controller_update_key_grabs): this, and deal
4825 with incremental adding / removing grabs more
4827 (_register_keygrab): ensure we're not pending a remove.
4828 (spi_grab_mask_free): impl.
4829 (spi_controller_register_global_keygrabs): split out
4831 (handle_keygrab): impl.
4832 (_deregister_keygrab): impl.
4833 (spi_controller_deregister_global_keygrabs): impl.
4834 (spi_controller_update_key_grabs): re-issue the grab if
4835 we just recieved a notification.
4837 * test/test-simple.c (key_listener_cb): remove debug.
4839 * registryd/deviceeventcontroller.c
4840 (spi_controller_register_device_listener): after
4841 registering a global keygrab, actualy register it !
4842 don't wait for a timeout; doh !
4844 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4845 to make it more readable / manipulable.
4846 s/grabmask/grab_mask/ s/refcount/ref_count/
4847 s/keyval/key_val/ s/modmask/mod_mask
4849 2002-01-08 Michael Meeks <michael@ximian.com>
4851 * registryd/deviceeventcontroller.c
4852 (spi_controller_register_with_devices): use gdk calls to
4854 (global_filter_fn): implement the filter.
4855 (spi_device_event_controller_check_key_event): rename to
4856 (spi_device_event_controller_forward_key_event): this & upd.
4857 (spi_get_display): replace with GDK_DISPLAY.
4859 * registryd/deviceeventcontroller.c
4860 (spi_controller_deregister_device_listener): unroll into
4861 (impl_deregister_keystroke_listener): here to simplify.
4862 (spi_controller_register_global_keygrabs): split cut and
4863 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4864 (spi_controller_deregister_device_listener): remove.
4865 (impl_register_mouse_listener): remove, no mouse listener
4866 support in at-spi-1.0
4868 * registryd/registry.c
4869 (_device_event_controller_hook): kill.
4870 (spi_registry_init): upd.
4872 * registryd/deviceeventcontroller.c
4873 (spi_device_event_controller_class_init): upd.
4874 (spi_check_key_event): merge into.
4875 (spi_device_event_controller_check_key_event):
4876 here and kill strange static ev init, don't leak
4877 the x_event - nor dynamicaly allocate it.
4879 * registryd/registry-main.c (main): re-direct
4880 timeout to remove strange vtable mess.
4882 * registryd/deviceeventcontroller.c
4883 (remove_listener_cb): impl.
4884 (spi_controller_deregister_device_listener):
4885 fix re-enterancy hazard.
4887 2002-01-07 Michael Meeks <michael@ximian.com>
4889 * registryd/deviceeventcontroller.c
4890 (spi_device_event_controller_new): upd.
4891 (impl_notify_listeners_sync): upd. debug.
4892 (spi_notify_keylisteners): fix re-enterancy hazards,
4893 prettify, remove O(n*n) iteration.
4894 (spi_controller_grab_keyboard): fix iteration.
4895 (spi_check_key_event): re-format to suit coding style.
4896 Clean all the warnings - we're warning free.
4898 * registryd/deviceeventcontroller.h:
4899 * registryd/registry.h: make mutualy referential with
4900 typesafe forward references instead of (!) void pointer
4903 2002-01-11 Michael Meeks <michael@ximian.com>
4905 * cspi/spi_accessible.c (role_names): add a role name
4906 to sync this array with the enum; and make the regression
4909 2002-01-10 Michael Meeks <michael@ximian.com>
4911 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4912 allow expansion of enumeration & kill warning.
4914 * test/test-simple.c (key_listener_cb): impl.
4915 (test_keylisteners): impl.
4917 * cspi/spi-listener.h: make listener signatures const
4918 on the provided (const) events.
4920 * test/keysynth-demo.c: upd. to const events.
4922 * test/simple-at.c: ditto.
4924 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4927 Rev the version to 0.5 (the previous tarball was named 0.4,
4928 even though the micro number was 3), so we need to rev upwards
4929 again for beta2/"desktop-alpha"
4932 Checked in a demo script, which requires editing before use!
4933 Proceed with caution.
4936 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4938 * cspi/spi_accessible.c:
4939 Add a couple of missing enum initializations, and fix some enum
4942 * cspi/spi_registry.c:
4943 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4945 * docs/reference/cspi/at-spi-cspi-sections.txt:
4946 Remove/fix a couple of broken document references.
4949 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4950 as Alt-Control to listen for commands, since on some systems
4951 Control-Alt may already be grabbed.
4953 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4956 Update version number to 0.4 for Beta2.
4958 * libspi/accessible.c, libspi/accessible.h:
4959 Expose spi_accessible_construct, to enable libgail-gnome
4960 construction from spi_accessible subtype.
4962 * utils/magnifier.c:
4963 Workaround for bug in some non-gnome-compliant window managers
4964 which made magnifier resize improperly.
4966 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4968 * libspi/accessible.c: (spi_accessible_new) :
4969 Move the test for SPI_IS_REMOTE_OBJECT to
4970 spi_accessible_new_return, fixing a bug and compile time warning.
4972 2002-01-08 Michael Meeks <michael@ximian.com>
4974 * registryd/registry.c (parse_event_type): remove strndup.
4976 * libspi/Makefile.am (libspi_la_SOURCES): remove
4977 sources already included in the headers section.
4979 * libspi/util.c: add.
4981 * libspi/spi-private.h: add.
4983 * registryd/registry.c: update to moved list iterators.
4985 2002-01-05 Michael Meeks <michael@ximian.com>
4987 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4989 * test/test-simple.c (main): ditto.
4991 2002-01-04 Michael Meeks <michael@ximian.com>
4993 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4994 redundant construct.
4996 * registryd/registry.c
4997 (get_listener_list): impl.
4998 (impl_accessibility_registry_register_global_event_listener):
4999 re-impl. to simplify using ~, remove dodgy const cast off.
5000 (parse_event_type): constify.
5001 (impl_accessibility_registry_deregister_global_event_listener_all):
5002 re-write, more efficiency and simplicity, kill re-enterancy
5004 (compare_listener_corbaref, compare_corba_objects),
5005 (compare_listener_quarks): define out.
5006 (impl_accessibility_registry_deregister_global_event_listener):
5007 re-write for effiency, and nail re-enterancy hazard.
5008 (impl_accessibility_registry_get_desktop_list): impl.
5009 (re_enterant_list_delete_link): impl.
5010 (re_enterant_list_foreach): impl.
5011 (remove_listener_cb): impl.
5012 (_registry_notify_listeners): kill.
5013 (notify_listeners_cb): impl.
5015 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5016 (SPI_getDesktopList): impl.
5018 * test/test-simple.c (test_desktop): test the methods.
5020 2002-01-03 Michael Meeks <michael@ximian.com>
5022 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5023 keystrings since we free them
5024 (SPI_freeAccessibleKeySet): in here.
5026 * libspi/accessible.c (spi_accessible_new): kill warning,
5027 wonder what is going on with the constructor here.
5029 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5031 * libspi/accessible.c (spi_accessible_new ()) :
5032 Added check to see if AtkObject is an SpiRemoteObject before
5033 creating an SpiAccessible.
5035 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5037 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5038 Enable keygrabs using the Control modifier, now that they are
5039 working properly (they were previously disabled).
5042 Change the command keygrab for this demo to "Control+Alt", so as
5043 to conflict with fewer other key commands on the system; this
5044 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5046 Removed a pointlessly-chatty keylistener for unshifted keys
5047 (shifted keys are still reported).
5049 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5051 * libspi/remoteobject.h:
5052 * libspi/remoteobject.c:
5053 Added definitions for special AtkObject subtype, required for
5054 support of remote components (specifically, used by BonoboControl
5055 accessibility implementation).
5057 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5059 * cspi/spi.h: synched relation types with ATK
5061 * cspi/spi_accessible.c: Added implementations of
5062 AcccessibleRelation_* methods
5064 * idl/Accessibility_Relation.idl: added getRelationTypeName
5065 method. Synched known relation types with ATK. Allowed for
5066 relation type extension with the RELATION_EXTENDED type.
5068 * libspi/relation.c: Provided implementations for
5069 AccessibleRelation methods.
5071 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5073 API tweaks for today's API 'freeze'.
5076 Added placeholder functions to allow future compatible expansion
5077 of the IDL interfaces.
5079 * idl/Accessibility_Registry.idl:
5080 Changed generateKeyEvent to generateKeyboardEvent. Changed
5081 signature of this method to accept an optional keystring in
5082 parameter (for complex text input synthesis) and changed use of
5083 simple 'boolean' parameter in registerKeystrokeListener to a
5084 struct, EventListenerMode.
5086 * cspi/spi_accessible.c:
5088 * cspi/spi_streamablecontent.c:
5089 Added references to AccessibleStreamableContent interface, and
5090 definition and implementation of AccessibleStreamableContent
5093 * cspi/spi_registry.c:
5095 Changed generateKeyEvent API to generateKeyboardEvent,
5096 taking a new (optional) keystring parameter to support complex
5101 Renamed directory (to better reflect its actual purpose, bridging
5102 from at-spi to ATK). The .so module is also now named
5105 * idl/Accessibility_Hypertext.idl:
5106 * libspi/accessible.c:
5107 * libspi/hypertext.h:
5108 * libspi/hypertext.c:
5109 Changed Accessibility_Hypertext to *not* derive from
5112 * cspi/spi_registry.c:
5113 Added list of legal event type names for 'window' events, which
5114 completes the registry event API.
5116 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5118 * at-bridge/bridge.c: Added registration for separate
5119 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5120 signals. If either of the first two parameters to the generic
5121 bridge signal handler are ints, they are passed on as event
5122 details. This allows an AT to determine what text was inserted.
5124 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5126 * registryd/deviceeventcontroller.c:
5127 Fixed regressions in generateKeyEvent caused by the removal of
5128 gdk_init from registryd; we now use pure X calls to connect to the
5129 display, which makes sense because deviceeventcontroller already
5130 uses a fair bit of X API (should eventually be migrated to a
5131 'portability layer').
5133 * registryd/desktop.c:
5134 Fixed minor regression in spi_desktop_init, changed the way the
5135 desktop name is being set to work with new spi_base API
5136 (gobject-based, rather than AtkObject-based).
5138 * registryd/Makefile.am:
5139 Minor revision of makefile to use XTST_LIBS variable rather than
5140 hard-wiring the Xtst LD_ADD element.
5142 * test/keysynth-demo.c:
5143 Tweaked an output message; added initialization of the
5144 'keystrings' member of the "switch listener" key_set.
5146 * libspi/relation.c:
5147 Squashed compile-time warning.
5149 * libspi/accessible.c:
5150 Cosmetic and formatting fixes, renamed a static method.
5152 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5154 * libspi/accessible.c
5156 * libspi/application.c
5159 * libspi/component.c
5160 * libspi/editabletext.c
5161 * libspi/hyperlink.c
5162 * libspi/hypertext.c
5164 * libspi/selection.c
5168 * registryd/desktop.c:
5169 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5171 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5173 * idl/Accessibility_Registry.idl:
5174 Added boolean member 'is_text' to DeviceEvent. This is for the
5175 use of key events, and helps prevent ambiguity between composed
5176 key strings and keysym names, since both may potentially be
5177 returned in the 'event_string' member.
5179 * at-bridge/bridge.c:
5180 * registryd/deviceeventcontroller.c:
5181 Use the 'is_text' member when notifying device event listeners.
5182 Knon issue: composed characters are not dealt with correctly by
5183 the global key listener implementation yet.
5185 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5187 * at-bridge/bridge.c:
5188 Namespaced local static methods to spi_atk_bridge_* where
5189 previously named bridge_*, and spi_* elsewhere.
5191 * at-bridge/bridge.c:
5192 * cspi/bonobo/cspi-bonobo-listener.c:
5193 Added demarshalling/conversion for string member of
5194 Accessibility_DeviceEvent to AccessibleKeystroke.
5196 * registryd/deviceeventcontroller.c:
5197 Added code to fill the Accessibility_DeviceEvent key string value
5198 member for global key events (i.e. from XGrabKey), to match
5199 behavior of Accessibility_DeviceEvent from the toolkit key events
5200 from the bridge. Fixed timestamp in global key event notifications.
5203 Added printout of key event's string value to
5204 report_ordinary_key_event, for demo/debugging purposes.
5206 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5208 * idl/Accessibility_Registry.idl:
5209 Removed Accessibility_KeyStroke structure in favor of generic
5210 Accessibility_DeviceEvent structure.
5211 Changed Accessibility_ControllerEventMask from a struct to an
5214 * at-bridge/bridge.c:
5215 Changed APIs to use DeviceEvent structure as above, and removed
5216 bogus casting between these event structures.
5218 * cspi/spi-listener.h:
5219 Added keystring member of AccessibleKeystroke structure, to enable
5220 matching on event "names" rather than only hardware codes and
5224 Added keystrings member of AccessibleKeySet struct, to allow
5225 matching on event names (as above).
5226 Added declarations for SPI_createAccessibleKeySet and
5227 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5228 event modmasks directly as unsigned ints rather than structs with
5229 refcounts, in the DeviceEventController methods.
5231 * cspi/spi_registry.c:
5232 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5234 * cspi/spi-roletypes.h:
5235 Added documentation of newly added SPI Roles.
5237 * cspi/bonobo/cspi-bonobo-listener.c:
5238 Changes in support of API changes above.
5240 * libspi/accessible.c:
5241 Converted APIs to use DeviceEvent structure (see IDL changes
5244 * registryd/deviceeventcontroller.c:
5245 Added DEControllerGrabMask structure to track keygrabs not only by
5246 modmask but by keyset as well; this allows us to do "global"
5247 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5248 grabbing on AnyKey and then filtering after-the-fact.
5249 Bugfixes for event filtration mean that we don't get false matches
5250 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5252 * registryd/deviceeventcontroller.c:
5253 Namespaced a number of static methods to use spi_ prefix. Major
5254 revision to internals of global (i.e. X) key grabs.
5256 * registryd/deviceeventcontroller.h:
5257 Removed keymask_list and added keygrabs_list to
5258 SpiDeviceEventController struct.
5261 Added use of SPI_createAccessibleKeySet API when creating a
5262 listener for only one key. Attach a listener to "shift spacebar
5263 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5264 X key event names to SPI key event names, so that listeners are
5265 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5267 * test/keysynth-demo.c:
5268 Changed (incorrect) use of X key event names (KeyPressed,
5269 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5272 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5274 * libspi/accessible.c:
5275 Convert all AtkRole enumerations to Accessibility_Role enums when
5276 getting a role from an AtkObject.
5278 * cspi/spi_accessible.c:
5279 Complete the conversion of Accessibility_Role enums at runtime to
5280 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5281 role enums correctly match those given in spi-roletypes.h.
5282 Re-synchronize the local names list for AccessibleRole_getName ().
5283 AccessibleRole_getName is now deprecated, since it duplicates the
5284 more reliable Accessible_getRoleName.
5285 Added some role types from Accessibility_Role.idl.
5287 * idl/Accessibility_Role.idl:
5288 Added some role types used by AtkRole.
5290 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5293 * cspi/spi_registry.c:
5295 * cspi/cspi-bonobo-listener.c:
5296 Namespaced all methods that did not begin with an "SPI_" or
5297 "Accessible" prefix to "SPI_".
5300 Homogenized internal function namespace to "cspi_" for statics.
5303 Patched tests to use the new CSPI API.
5305 * docs/reference/cspi/at-spi-cspi-sections.txt:
5306 Updated docs to reflect namespace changes, and added a number of
5307 methods to the documentation.
5309 * registryd/registry.c:
5310 Changed use of strings and string hashes in listener event
5311 matching and parse_event_string to use GQuark, which is guaranteed
5314 * registryd/registry.h:
5315 Squashed annoying warning.
5317 * idl/Accessibility_Role.idl:
5318 Extended range of available Accessibility_Role values.
5320 * cspi/spi_accessible.c:
5321 Re-ordered role names.
5323 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5325 * idl/Accessibility_Value.idl:
5326 Revert use of union back to CORBA_double, since the double type is
5327 more efficient and can contain the other types without loss of
5330 * idl/Accessibility_Accessible.idl:
5331 Added method Accessibility:Accessible:getRoleName, to complement
5332 Accessibility:Accessible:getRole.
5334 * cspi/spi_accessible.c:
5336 Added C binding for above, Accessible_getRoleName (), and changed
5337 signature of Accessible_getRole () to return an AccessibleRole.
5339 * cspi/spi-roletypes.h:
5340 Changed AccessibleRole_getName to return a char * instead of a
5341 const char *. This method is now at least temporarily deprecated
5342 in favor of asking Accessibles for their RoleNames directly.
5345 Revert to match Accessibility_Value.idl;
5349 Change signature of AccessibleValue methods to use double rather
5353 * cspi/spi_accessible.c:
5354 Changed Accessible_getRole to return an AccessibleRole enum rather
5355 than a UTF-8 string. The UTF-8 string can still be obtained via
5356 AccessibleRole_getName ().
5358 * test/test-simple.c:
5359 Add test_action. Small fixup to match API change to Accessible_getRole.
5362 Bugfix for get_action_from_servant ().
5364 2001-12-11 Michael Meeks <michael@ximian.com>
5366 * libspi/libspi.h: remove registry.h and
5367 desktop.h, deviceeventcontroller.h
5369 * libspi/Makefile.am: remove registry.[ch],
5370 desktop.[ch], deviceeventcontroller.[ch]
5372 * registryd/Makefile.am: add registry.[ch],
5373 desktop.[ch], rename registryd.c to registry-main.c.
5374 add deviceeventcontroller.[ch]
5376 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5379 Replace setenv() call with putenv ().
5381 * libspi/component.c:
5382 Bugfix in AccessibleComponent_getExtents (),
5385 2001-12-11 Michael Meeks <michael@ximian.com>
5387 * libspi/image.c (impl_getImageExtents): impl.
5388 (spi_image_class_init): upd.
5391 (AccessibleImage_getImageDescription): fix daft bug
5394 * test/test-simple.c (global_listener_cb): update
5395 to only quit if not --poke
5396 (main): catch --poke.
5397 (validate_accessible): upd. dumping, call test_image
5400 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5403 * idl/Accessibility.idl: update all IDL includes.
5405 * idl/*.idl - rename to namespace - this sucks, blame
5406 mjs' bad decision for oafd.
5408 * test/test-simple.c (create_test_window): add more tests.
5409 (create_tree): split this out.
5410 (validate_accessible): bugfix.
5412 2001-12-11 Michael Meeks <michael@ximian.com>
5414 * cspi/bonobo/cspi-bonobo-listener.c:
5415 (cspi_kestroke_listener_unref),
5416 (cspi_event_listener_unref): impl. undoing previous
5417 homenous environment - for Bill.
5419 * cspi/spi_table.c (long_seq_to_array): use
5422 * cspi/spi_main.c: split out all bonoboish bits into
5425 * cspi/spi-impl.h: upd. typedefs.
5427 * cspi/spi_registry.c: update to lowlevel API,
5428 return booleans to indicate success in some places.
5430 * cspi/spi_event.c: update to lowlevel API.
5432 * cspi/bonobo/Makefile.am: add.
5434 * cspi/bonobo/cspi-lowlevel.h: add
5436 * cspi/bonobo/cspi-bonobo.c: add
5438 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5440 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5441 (SUBDIRS): add bonobo, link in the libs.
5443 * cspi/spi-util.c: kill this file.
5445 * TODO: merge in my bits.
5447 2001-12-11 Michael Meeks <michael@ximian.com>
5449 * test/test-simple.c (test_value, test_table, main):
5450 remove unused variables causing warnings.
5452 * configure.in: cleanup checks - require gail.
5454 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5457 Changed Value interface to use SValue (scalars) rather than
5458 assuming all values are floats. This allows floats, doubles,
5459 longs, shorts, and unsigned values to be manipulated.
5460 Introduced Accessibility:SValue union.
5463 Updated to use new API above, and to work correctly with GValues
5464 of different types in AtkValue.
5467 Updated to use new API above. cspi's API is as yet unchanged.
5470 Updated the Value revision action item.
5472 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5474 * test/test-simple.c:
5475 Added test_table (GtkTreeView widget in test window to follow).
5476 Un-commented test_value, added GtkRange widget.
5477 Added GtkTreeView widget with GtkListStore. It passes regression
5478 test but leaks one SPI object for some reason.
5481 Fixed bug in impl__set_currentValue.
5483 2001-12-10 Michael Meeks <michael@ximian.com>
5485 * cspi/spi_text.c: audit for exception handling,
5486 tolerating NULL object references safely etc.
5488 * cspi/spi_value.c: ditto.
5490 * cspi/spi_table.c (AccessibleTable_getSummary),
5491 (AccessibleTable_getAccessibleAt),
5492 (AccessibleTable_getRowHeader),
5493 (AccessibleTable_getColumnHeader),
5494 (AccessibleTable_getCaption): fix bugs hidden by
5496 (long_seq_to_array): impl.
5497 (AccessibleTable_getSelectedRows),
5498 (AccessibleTable_getSelectedColumns): use it.
5500 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5503 Added a TODO list (rough and short for now).
5505 * cspi/spi_hyperlink.c:
5506 * cspi/spi_hypertext.c:
5507 Fixed macro name typos, and remove use of obsolete macro in
5508 AccessibleHyperlink_getLink.
5510 * cspi/spi_action.c:
5511 * cspi/spi_accessible.c:
5512 * cspi/spi_application.c:
5513 * cspi/spi_component.c:
5514 * cspi/spi_selection.c:
5517 Documentation fixes (removed return values from ref/unref methods).
5519 2001-12-10 Michael Meeks <michael@ximian.com>
5521 * cspi/spi_action.c: audit for exception handling,
5522 tolerating NULL object references safely etc.
5524 * cspi/spi_accessible.c: ditto.
5526 * cspi/spi_component.c: ditto.
5528 * cspi/spi_editabletext.c: ditto.
5530 * cspi/spi_hyperlink.c: ditto.
5532 * cspi/spi_hypertext.c: ditto.
5534 * cspi/spi_image.c: ditto.
5536 * cspi/spi_selection.c: ditto.
5538 2001-12-10 Michael Meeks <michael@ximian.com>
5540 * configure.in: use cspi/libspi.pc.in instead.
5542 * Makefile.am (pkgconfig_DATA): upd. to match.
5544 * test/simple-at.c (report_focus_event): kill hacks around
5545 bad return values, use putenv not setenv
5547 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5548 fire ChildGone - I killed it.
5550 * libspi/component.c
5551 (impl_accessibility_component_get_extents): remove
5554 * idl/Accessible.idl: kill ChildGone exception.
5556 * cspi/*.[ch]: kill int return from ref / unref.
5558 * cspi/spi_main.c (cspi_object_add_check): fold into
5559 (cspi_object_add): here.
5561 * cspi/spi_component.c (AccessibleComponent_getExtents):
5562 handle exceptions elegantly.
5564 * cspi/spi-private.h (cspi_check_ev_return),
5565 (cspi_return_if_fail): impl.
5567 * cspi/spi_accessible.c: use extensively.
5568 (AccessibleStateSet_equals): add direct compare check.
5570 * cspi/spi_selection.c: tolerate NULL objs, and check
5571 exceptions before return.
5573 * cspi/spi-util.c (cspi_warn_ev): rename to
5574 (cspi_check_ev): this & don't pass ev in; no point.
5576 2001-12-10 Michael Meeks <michael@ximian.com>
5578 * test/test-simple.c: use putenv not setenv
5579 (get_environment_vars): more chatty if you're not using
5582 * test/simple-at.c: do the setenv so more people see the
5585 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5587 * libspi/registry.c:
5588 Changed check of CORBA_environment on notification to be a warning
5589 instead of an error for the moment, since we can recover from this
5590 error when caused by a queued notification from a dead app.
5593 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5594 used by all current implementors of AtkValue), and coerce to
5595 CORBA_float. (Proper general case fix may require change to Value.idl).
5597 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5601 * cspi/spi_accessible.c:
5602 Documentation fixes: added user_data params to documentation for
5603 listeners and callbacks.
5605 * cspi/spi_accessible.c:
5606 Changed AccessibleStateSet_compare to return a
5607 StateSet rather than return the difference set into a third parameter.
5610 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5613 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5614 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5618 Remove subdirectory po from SUBDIRS for now.
5620 * at-bridge/bridge.c:
5621 Beefed up a couple of debug printouts.
5622 One-line fix for signal notification name formatting.
5624 * libspi/accessible.c:
5625 Added assertion to spi_accessible_new ().
5627 * libspi/application.c:
5628 Put #ifdef qualifiers around a printf.
5631 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5633 * registryd/Makefile.am:
5635 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5636 INTLTOOL_SERVER_RULE macro.
5639 Added an event listener for several ATK signals, for
5640 testing and debugging. Removed a few g_warnings.
5641 Added test output if focussed item implements the Value interface.
5643 * test/test-simple.c:
5644 Added test_value () function (known not to pass at the moment, so
5645 not actually called yet.
5647 2001-12-08 Michael Meeks <michael@ximian.com>
5649 * at-bridge/bridge.c (bridge_focus_tracker),
5650 (emit_eventv): fix the same ref. leak.
5651 (register_atk_event_listeners): don't leak.
5653 * cspi/spi-listener-impl.c (cspi_event): more
5654 protection from client code.
5656 * test/test-simple.c (test_desktop): unref the app.
5658 * test/Makefile.am: upd. TESTS.
5660 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5662 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5664 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5666 * cspi/spi_registry.c: constify in strings.
5667 (deregisterGlobalEventListenerAll): don't release the ref.
5669 * cspi/spi.h: start removing redundant / conflicting
5670 gtkdoc comments, making the API readable at a glance :-)
5672 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5674 * test/keysynth-demo.c (keysynth_exit, main): upd.
5676 * test/simple-at.c (main, simple_at_exit): upd.
5678 * test/test-simple.c (unutterable_horror): kill.
5679 (utterable_normal_derefs): kill.
5680 (main): upd & do a setenv before gtk_init, so that we
5681 can use memprof - and to save the pain of remembering
5682 this, if we're running under memprof - don't exit.
5684 * cspi/spi_main.c (SPI_exit): return exit status
5686 (SPI_event_quit): impl.
5687 (SPI_event_main): simplify.
5688 (cspi_is_gnome_app): kill.
5689 (SPI_init): kill isGNOMEapp arg.
5691 * at-bridge/bridge.c (register_atk_event_listeners):
5692 re-instate the unref.
5693 (bridge_exit_func): don't re-activate the registry,
5694 protect vs. theoretical re-entry, use the
5695 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5696 assert a clean shutdown - for regression tests.
5698 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5700 * configure.in: Comment out dummy i18n support for now,
5701 otherwise it fails to build.
5702 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5703 EXTRA_DIST. They are missing in tarball.
5705 2001-12-07 Michael Meeks <michael@ximian.com>
5707 * util/magnifier.c: kill bonobo activation reg. race.
5709 * libspi/component.c
5710 (impl_accessibility_component_get_extents): make it match
5713 * libspi/registry.c (_registry_notify_listeners):
5714 re-remove X headers & reconcile conflicts.
5715 (spi_listener_struct_free): bad conflict resolve.
5716 (impl_accessibility_registry_register_application):
5717 more bad merging fixed.
5718 (impl_accessibility_registry_deregister_application): ditto.
5719 (spi_registry_new): ditto.
5720 (spi_registry_init): don't have an applications field.
5722 [ merge fixups2 branch to here ]
5723 2001-12-07 Michael Meeks <michael@ximian.com>
5725 * test/simple-at.c (report_focus_event),
5726 (report_focussed_accessible): remove g_warning debug.
5728 2001-12-07 Michael Meeks <michael@ximian.com>
5730 * test/test-simple.c (validate_tree): comment out some checks.
5731 (test_desktop): app now not registered idly - horay.
5733 2001-12-07 Michael Meeks <michael@ximian.com>
5735 * cspi/spi_registry.c
5736 (registerAccessibleKeystrokeListener): clean, stop it leaking
5737 great swathes of memory, and device event controller references.
5738 ensure we always pass valid sequences.
5739 (deregisterAccessibleKeystrokeListener): ditto.
5740 (generateKeyEvent): upd.
5742 * at-bridge/bridge.c (bridge_key_listener): handle
5743 registry dead exception gracefully.
5744 (bridge_focus_tracker, emit_eventv): free ev.
5746 * test/simple-at.c (report_focus_event): fix polarity.
5748 * libspi/application.c (notify_listeners): kill the ev
5749 argument, and make sure we init the ev we use.
5750 (spi_application_object_event_listener): split out a chunk
5751 (get_atk_object_ref): here & fixup.
5752 (reverse_lookup_name_for_toolkit_event): make const.
5753 (spi_application_toolkit_event_listener): fixup, kill leaks
5756 * at-bridge/bridge.c (register_atk_event_listeners):
5757 don't unref the noop object - causes grief.
5759 * libspi/registry.c: remove the X headers.
5760 turn off the debug churn.
5762 * libspi/accessible.c (spi_accessible_new_return): only
5763 release the ref if we are supposed to [doh]
5765 * test/simple-at.c (report_button_press, report_focus_event):
5766 guard vs. unexpected exit.
5768 * at-bridge/bridge.c (gtk_module_init): prune printf.
5769 (bridge_exit_func): fix app unref.
5771 * libspi/Makefile.am: don't install registry or desktop.h
5773 * libspi/*.h: update includes.
5775 * libspi/application.h: don't include ourself, or
5776 other redundant headers.
5778 2001-12-06 Michael Meeks <michael@ximian.com>
5780 * libspi/accessible.c
5781 (get_accessible_from_servant): impl.
5782 Upd. all CORBA impl.s to use it killing cut and paste.
5784 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5786 (SPI_init): register atexit cleanup handler here.
5788 2001-12-06 Michael Meeks <michael@ximian.com>
5790 * at-bridge/bridge.c (gtk_module_init): g_error on
5791 activation exception
5793 2001-12-06 Michael Meeks <michael@ximian.com>
5795 * at-bridge/bridge.c (gtk_module_init): some sort of
5796 confusing merge clash - reverted.
5797 (bridge_idle_init): ditto.
5799 * test/test-simple.c (main, utterable_normal_derefs):
5800 merge from Bill - somehow not committed.
5802 2001-12-06 Michael Meeks <michael@ximian.com>
5804 * libspi/value.c (spi_value_class_init): upd.
5805 (spi_value_finalize): kill.
5807 * libspi/table.c (spi_table_finalize): kill.
5808 (spi_table_interface_new): upd.
5809 (spi_table_class_init): upd.
5810 (get_table_from_servant): impl.
5811 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5813 * libspi/selection.c (spi_selection_finalize): kill.
5814 (spi_selection_interface_new): upd.
5815 (spi_selection_class_init): upd.
5816 (get_selection_from_servant): impl.
5817 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5819 * libspi/relation.c (spi_relation_finalize): kill.
5820 (spi_relation_class_init, spi_relation_new): upd
5822 * libspi/image.c (spi_image_finalize): kill.
5823 (spi_image_class_init): upd.
5824 (spi_image_interface_new): upd.
5825 (get_image_from_servant): impl.
5826 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5828 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5829 (spi_hyperlink_finalize): kill.
5830 (spi_hyperlink_new): upd.
5831 (get_hyperlink_from_servant): impl.
5832 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5834 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5835 (spi_hypertext_finalize): kill.
5836 (spi_hypertext_class_init): upd.
5837 (get_hypertext_from_servant): impl.
5838 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5840 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5841 (spi_editable_text_interface_new): upd.
5842 (get_editable_text_from_servant): impl.
5843 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5845 * libspi/text.c (get_text_from_servant): impl.
5846 All impls - update to use it killing more cut and paste,
5847 also fix bad string returns on duff args ( a somewhat
5848 impossible case to handle - but hey ).
5849 (spi_text_construct): impl.
5850 (spi_text_interface_new): upd.
5851 (spi_text_object_finalize): kill.
5853 * libspi/component.c
5854 (accessibility_component_object_finalize): kill.
5855 (spi_component_class_init): upd.
5856 (get_component_from_servant): impl. helper to kill cut & paste.
5857 (impl_accessibility_component_contains):
5858 (impl_accessibility_component_get_accessible_at_point):
5859 (impl_accessibility_component_get_position):
5860 (impl_accessibility_component_get_extents):
5861 (impl_accessibility_component_get_mdi_z_order):
5862 (impl_accessibility_component_get_layer):
5863 (spi_component_interface_new): upd.
5865 * libspi/action.c (spi_action_finalize): kill.
5866 (spi_action_class_init): upd. inherit from SpiObject.
5867 (spi_action_interface_new): upd.
5868 (get_action_from_servant): impl. helper to reduce cut & paste.
5869 (impl_getKeyBinding, impl_getName, impl_doAction),
5870 (impl_getDescription): Use it everywhere.
5872 * cspi/spi_main.c (get_live_refs): a pointer hash.
5873 (spi_object_hash, spi_object_equal): comment out.
5874 There are issues with CORBA object hashing that need
5877 * libspi/application.c (spi_application_init),
5878 (spi_application_new): upd.
5880 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5881 (spi_accessible_class_init): upd.
5882 s/accessible/object/ in epv methods.
5884 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5886 * at-bridge/bridge.c:
5887 Reorder the bridge initialization into the bridge gtk_module_init,
5888 an immediate call to bridge_register_app, and an idle_add for
5889 register_atk_event_listeners (the only code that *must* wait until
5890 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5891 the activation, creates the application's Accessible object, and
5892 queues the bridge_idle_init function. Restored call to
5893 Accessibility_Registry_deregisterApplication().
5894 Prior to making this call we obtain a new reference to the
5895 registry, which is a temporary hack that helps us handle apps that
5896 shut down the bonobo mainloop before we get there.
5898 * libspi/registry.c:
5899 Fix string leakage in debug block, and don't segv if a an app
5900 dies before its event notifications have been propagated.
5903 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5904 as stopgap measure until we get proper exception handling when
5905 objects die during or before interrogation.
5909 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5910 Also changed default value of is_gnome_app to TRUE.
5913 * test/keysynth-demo.c:
5914 Changed use of SPI_init and SPI_event_main to reflect API change above.
5917 Made report_focus_event check the warning value from getName
5918 before reporting on focussed accessible; simplifies handling of
5919 notifications from dead objects.
5921 * test/test-simple.c: (Changes not in this patch since source is
5924 2001-12-05 Michael Meeks <michael@ximian.com>
5926 * registryd/registryd.c (main): protect against
5927 bonobo-activation startup race condition.
5929 * cspi/spi_main.c (cspi_object_add_check): cope
5930 with the exception elegantly.
5932 * idl/Accessible.idl: decl. ChildGone
5934 * libspi/desktop.c (spi_desktop_dispose): impl.
5935 (spi_desktop_class_init): upd.
5936 (spi_desktop_add_application),
5937 (spi_desktop_remove_application),
5938 (abnormal_application_termination): impl.
5939 (impl_desktop_get_child_at_index): re-impl.
5942 (impl_accessibility_registry_deregister_application),
5943 (impl_accessibility_registry_register_application):
5944 kill excessive debug clutter.
5946 * test/test-simple.c (test_misc): test some NULL
5947 tolerance. (main): upd.
5949 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5950 implements no interfaces - so let's not crash.
5952 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5954 * libspi/accessible.c (spi_accessible_new_return): impl.
5955 helper to calm the cut and paste, to cope with
5956 NULL AtkObjects effectively and efficiently, and to kill
5957 the referencing bugs.
5959 * libspi/table.c (impl_getAccessibleAt),
5960 (impl_getRowHeader, impl_getColumnHeader): upd.
5962 * libspi/hyperlink.c (impl_getObject): upd.
5964 * libspi/accessible.c
5965 (impl_accessibility_accessible_get_child_at_index): upd.
5967 * libspi/component.c
5968 (impl_accessibility_component_get_accessible_at_point): upd.
5970 * test/test-simple.c (test_editable_text, test_text): impl.
5973 * cspi/spi_editabletext.c
5974 (AccessibleEditableText_insertText): constify.
5976 * test/test-simple.c (focus_me): make more robust.
5978 * libspi/accessible.c: remove some printfs in methods that
5979 we test and work fine, so we can get a clean tree dump.
5981 * test/test-simple.c (validate_accessible),
5982 (validate_tree): make tree dumping pretty too.
5984 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5985 it builds without debug on.
5987 * test/test-simple.c (validate_accessible): fix the most
5990 * cspi/spi_main.c (spi_object_release): leave the nicely
5991 blanked memory around if in debug mode.
5993 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5995 [committed to fixups2]
5996 2001-12-05 Michael Meeks <michael@ximian.com>
5998 * libspi/editabletext.c
5999 (spi_editable_text_class_init): g_type_class_peek_parent,
6000 not interface peek - so we finalize cleanly.
6002 * libspi/accessible.c (spi_accessible_new): kill debug.
6004 * test/test-simple.c (validate_accessible): fix ref.
6005 leak, print strings before freeing them; sigh, comment a
6006 chunk out due to strangeness.
6007 (validate_tree): unref the child after use.
6009 * cspi/spi_component.c (AccessibleComponent_getLayer):
6010 add missing break statement, switch on zlayer not the
6011 uninitialized retval.
6013 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6014 before (possibly re-entering) remote unref.
6016 * test/simple-at.c (main): unref the desktop.
6018 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6021 * cspi/spi_main.c (cspi_accessible_is_a): here to
6022 isolate bonobo API usage more.
6024 * libspi/registry.c (impl_accessibility_registry_register_application):
6025 prune bogus comment.
6027 2001-12-04 Michael Meeks <michael@ximian.com>
6029 * test/test-simple.c (validate_tree): upd.
6030 IndexInParent check to make it more lucid.
6031 (validate_accessible): dump the tree.
6033 * libspi/accessible.c (de_register_public_ref),
6034 (get_public_refs): impl.
6035 (spi_accessible_new): make more efficient & intuitive.
6036 Now IndexInParent check works.
6038 2001-12-04 Michael Meeks <michael@ximian.com>
6040 * cspi/spi-util.h: remove.
6042 * cspi/spi.h: move SPI_freeString here
6044 * libspi/component.c (impl_accessibility_component_get_layer):
6046 (impl_accessibility_component_get_mdi_z_order): ditto,
6047 return -1 on error - is this ok ?
6049 * test/test-simple.c (test_application): impl.
6051 * cspi/spi_accessible.c (Accessible_getApplication),
6052 (Accessible_isApplication): impl.
6054 * libspi/registry.c (spi_listener_struct_free): release
6055 the CORBA reference too.
6057 * libspi/accessible.c
6058 (impl_accessibility_accessible_get_parent): fix ref leak.
6060 * libspi/registry.c (spi_registry_new): make the registry
6061 immortal - we don't want it to go away ever.
6063 * libspi/application.c
6064 (spi_accessible_application_finalize): impl. cleanup.
6066 * cspi/spi_registry.c
6067 (deregisterGlobalEventListenerAll),
6068 (deregisterGlobalEventListener),
6069 (deregisterAccessibleKeystrokeListener): fix ref leak.
6071 * cspi/spi_main.c (SPI_init): remove redundant ref.
6073 * test/test-simple.c (unutterable_horror): impl. to force a
6078 (impl_accessibility_registry_deregister_application): release
6079 the application when we de-register it.
6081 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6082 until we have the infastructure to get it right.
6084 2001-12-03 Michael Meeks <michael@ximian.com>
6086 * libspi/Makefile.am: only build eventlistener.[ch]
6088 * libspi/accessible.c
6089 (impl_accessibility_accessible_get_child_at_index): don't leak.
6091 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6092 before we hit the idle handler.
6094 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6095 debugging than exit.
6097 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6099 * libspi/listener.c (impl_notify_event): check source
6100 not NIL before unref.
6102 * libspi/registry.c (impl_registry_notify_event): ditto.
6104 * libspi/eventlistener.c
6105 (impl_accessible_event_notify_event): unref the source.
6107 * libspi/accessibleeventlistener.c
6108 (impl_accessible_event_notify_event): unref the source.
6110 * idl/Event.idl: remove 'hash_id' attribute - of no
6113 * libspi/application.c (notify_listeners): upd list
6115 (spi_application_object_event_listener),
6116 (spi_application_toolkit_event_listener): upd to do correct
6120 (_registry_notify_listeners): update.
6121 (parse_event_type): this method also leaks like a sieve.
6122 (impl_accessibility_registry_deregister_global_event_listener):
6123 fix ETYPE_WINDOW case.
6125 * libspi/application.c
6126 (impl_accessibility_application_register_object_event_listener):
6129 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6131 * libspi/hypertext.c (impl_getLink): ditto.
6133 * cspi/spi_main.c (cspi_object_add): remove
6134 bogus CORBA_Object_duplicate.
6136 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6139 * cspi/spi_accessible.c
6140 (Accessible_getRelationSet): fix leak / referencing issue.
6142 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6143 (cspi_object_add, cspi_object_unref): upd.
6144 (spi_object_release, get_live_refs): impl.
6145 (cspi_cleanup): simplify.
6147 * *.[ch]: s/boolean/SpiBoolean/
6149 * cspi/spi_accessible.c (role_names): actualy order so it
6150 corresponds with the enum !
6152 * test/test-simple.c (test_roles): check some role strings
6153 vs. enums to detect offset errors.
6155 2001-12-01 Michael Meeks <michael@ximian.com>
6157 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6159 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6161 (Accessible_getChildAtIndex): use cspi_add_check so we
6162 check the ev before using a (possibly) invalid value.
6164 * libspi/accessible.c
6165 (impl_accessibility_accessible_get_parent): don't segv
6168 * at-bridge/bridge.c (gtk_module_init): upd.
6169 (bridge_property_event_listener): don't leak strings
6171 (bridge_state_event_listener),
6172 (bridge_property_event_listener): don't use a static
6173 buffer in case of recursive event emission &
6174 re-enterancy - split out the swathe of cut and paste
6176 (emit_eventv): and fix 2 ref leaks here & comply to the
6178 (bridge_register_app): rename to
6179 (bridge_idle_init): this and kill arg parsing, split
6180 various inits & bonobo-activation registration to module
6181 init time, kill referencing error.
6182 (bridge_exit_func): fix the same leak.
6183 (bridge_focus_tracker): don't leak event structures
6185 (bridge_signal_listener): more leakage and cut & paste
6187 (bridge_key_listener): return the result - FIXME is
6188 this polarity correct ?
6189 (accessibility_keystroke_from_atk_key_event): rename
6190 (accessibility_init_keystroke_from_atk_key_event): and stop
6192 (gtk_module_init): return a value - not that it is checked by
6194 (bridge_key_listener): register my horror at casting between
6195 IDL defined structs.
6196 (bridge_get_registry): kill - not used.
6198 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6200 * test/test-simple.c (test_roles): impl.
6201 (test_desktop, validate_accessible, validate_tree): impl.
6203 * cspi/spi_accessible.c (role_names): fixup bogus
6204 MAX_ROLES setup, make constants const for efficient linkage
6205 (AccessibleRole_getName): conform to coding style, make
6208 2001-11-30 Michael Meeks <michael@ximian.com>
6210 * cspi/spi.h: add missing prototype.
6212 * libspi/registry.c (spi_listener_struct_new): fix sig.
6214 * test/Makefile.am: add test-simple
6216 * test/test-simple.c: add
6218 * test/test.sh: add.
6220 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6222 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6223 do it straight - since otherwise we often get an activation race.
6225 [ work before Bill duplicated a chunk of it ... ]
6226 2001-11-30 Michael Meeks <michael@ximian.com>
6228 * libspi/keystrokelistener.c
6229 (spi_keystroke_listener_class_init): fixup arg
6232 * libspi/eventlistener.c
6233 (spi_event_listener_class_init): ditto.
6235 * tests/test.sh: add.
6237 * cspi/spi-listener-impl.h: update macros.
6239 * cspi/spi-listener-impl.c
6240 (cspi_event_listener_remove_callback): add
6241 correct pre-conditions.
6243 * cspi/spi_main.c (SPI_exit): guard vs. double
6244 exits, exit the mainloop nicely.
6245 (SPI_event_main): make more sense.
6246 (SPI_init): move the atexit evilness here so we
6247 always do it (yuck).
6248 (SPI_event_main): upd.
6250 * test/simple-at.c: update for listener changes.
6252 * registryd/registryd.c (main): prune kruft.
6254 * libspi/libspi.h: upd.
6256 * libspi/eventlistener.[ch]: rename broken macros.
6258 * libspi/accessibleeventlistener.[ch]: remove.
6260 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6262 * test/test-simple.c: Add - automated tests.
6264 * cspi/spi-listener-impl.c (cspi_event),
6265 (cspi_key_event): add user_data to invoke.
6266 (cspi_keystroke_listener_finalize): impl.
6267 (cspi_keystroke_listener_class_init): upd.
6270 (createAccessibleEventListener),
6271 (AccessibleEventListener_addCallback),
6272 (createAccessibleKeystrokeListener),
6273 (AccessibleKeystrokeListener_addCallback): upd.
6275 * libspi/deviceeventcontroller.c
6276 (spi_device_event_controller_check_key_event): add public proto.
6279 (impl_accessibility_registry_deregister_global_event_listener):
6280 always init listeners.
6281 (_registry_notify_listeners): yes it is.
6283 * cspi/spi-listener-impl.c (cspi_key_event):
6285 (cspi_event_listener_finalize): impl.
6286 (cspi_event_listener_class_init): hook up.
6287 (event_handler_new, event_handler_free),
6288 (event_list_remove_by_callback): impl.
6289 (cspi_event_listener_remove_callback),
6290 (cspi_keystroke_listener_remove_callback),
6291 (cspi_keystroke_listener_add_callback),
6292 (cspi_event_listener_add_callback): upd.
6294 * libspi/keystrokelistener.c
6295 (keystroke_listener_object_finalize): kill
6296 (spi_keystroke_listener_class_init): upd.
6297 (spi_keystroke_listener_add_callback),
6298 (spi_keystroke_listener_remove_callback): kill,
6300 (impl_key_event): prune drasticaly.
6302 * libspi/eventlistener.c
6303 (spi_event_listener_add_callback),
6304 (spi_event_listener_remove_callback): kill, use
6306 (impl_accessible_event_notify_event): upd.
6307 (spi_event_listener_object_finalize): remove.
6309 * libspi/Makefile.am: use eventlistener.[ch]
6311 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6313 * libspi/registry.c (_registry_notify_listeners):
6314 Changed listener loop iteration to use preferred convention.
6315 Got rid of string memory leaks caused be calling g_strconcat
6316 inside function calls.
6318 * libspi/registry.c (parse_event_type):
6319 Stopped g_strconcat memory leaks, free the g_strsplit return,
6320 g_strdup the split pieces when used, etc.
6322 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6325 Change method 'compare' to return a 'difference set' rather than
6326 taking a StateSet as an out parameter (more Java-friendly).
6328 * idl/Accessible.idl:
6329 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6331 * idl/Component.idl:
6333 Changed methods 'getExtents' and 'getImageExtents' in these
6334 interfaces to return a BoundingBox structure.
6335 (getPosition and getSize are redundant and possibly should be
6336 removed, rather than creating a corresponding Point struct.)
6338 * cspi/spi_component.c:
6339 Modify implementation of getExtents to reflect the above IDL
6344 Add (missing) AccessibleImage_getExtents () API.
6346 * docs/reference/cspi/at-spi-cspi-sections.txt:
6347 Added AccessibleImage_getImageExtents () to docs.
6349 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6351 * idl/Component.idl:
6352 Added two methods, getLayer () and getMDIZOrder (), to reflect
6353 the new ATK methods atk_object_get_layer and
6354 atk_object_get_mdi_z_order. (Which arguably should be part of the
6355 AtkComponent API and AtkObject). Also added an enum,
6356 ComponentLayer, for the first method's return value.
6358 * libspi/component.c:
6359 Added implementations for these methods.
6361 * cspi/spi_component.c:
6363 Added cspi binding methods for above,
6364 AccessibleComponent_getLayer() and
6365 AccessibleComponent_getMDIZOrder().
6366 Added cspi enum 'AccessibleComponentLayer'.
6368 * docs/reference/cspi/at-spi-cspi-sections.txt:
6369 Added above methods to docs.
6373 Changed typedef for 'boolean' type (and all references to it) to
6374 SPIBoolean, to avoid keyword clashes with C++.
6377 Changed usages of 'boolean' to SPIBoolean.
6379 * test/keysynth-demo.c:
6380 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6381 app), except where SPIBoolean is required by the callbacks API.
6383 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6385 * cspi/spi_registry.c:
6386 Removed obsolete X event loop for passive keygrabs (which now
6389 * registryd/registryd.c:
6390 Removed unnecessary call to gdk_init() [cruft]. This also allows
6391 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6394 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6396 * docs/reference/cspi:
6397 Included docs for SPI_freeString in generated documentation.
6400 Renamed spi_freeString to SPI_freeString, for consistency. Added
6401 documentation for this function.
6404 Renamed spi_freeString to SPI_freeString, for consistency.
6405 Removed obsolete method declaration string_from_corba_string.
6407 * test/keysynth-demo.c:
6408 Small tweak to comments.
6411 Stopped leaking the strings returned from CSPI.
6413 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6415 Merged Michael's branch (see his ChangeLog entries below).
6417 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6418 bridge is alive, release on exit.
6420 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6421 Fix type check macro.
6424 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6427 Added is_gnome_app static, and method cspi_is_gnome_app(),
6428 so we can call the appropriate shutdown routine at exit in SPI_exit.
6430 * cspi/spi_main.c (cspi_object_ref):
6431 Duplicate the corba object passed in, since we're keeping it around.
6433 * cspi/SPI_exit.c, cspi_cleanup:
6434 Moved the releasing of the live refs to its own function, so we
6435 can put it in g_atexit (). Call the appropriate shutdown API
6436 depending on whethe calling client is a gnome app or not
6437 (bonobo_main_quit or CORBA_ORB_shutdown).
6439 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6440 Unref the listener when this method is called, after
6441 deregistration. Updated the API docs to note this behavior.
6443 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6444 Bugfixes: Ref the bonobo object when returning a parent or child
6445 reference, or an AccessibleRelation. Generally made sure
6446 BonoboObject refcount is incremented whenever we return an
6449 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6450 Fixed typo/bug in signal declaration.
6452 * libspi/accessibleeventlistener.h:
6455 * libspi/application.c (spi_application_new):
6456 Fixed leak in initialization.
6459 Remembered to increment bonobo-object refcount when returning
6460 children (applications) from desktop object.
6461 Added (empty) finalize method.
6463 * libspi/deviceeventcontroller.c:
6464 Hold a ref to listeners inside DEControllerKeyListeners.
6465 Added dec_key_listener_free() method. Use prepend instead of
6466 append in key_listener list. Fixed some refcount madness and
6467 leaks in the listener registration/deregistration - deregistration
6468 now calls dec_key_listener_free() on listeners, and on the
6469 temporarily constructed dec_key_listener() used to perform the search/match.
6471 * libspi/hypertext.c (spi_hypertest_finalize):
6472 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6473 class. Also fixed spi_hypertext_interface_new() and
6474 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6476 * libspi/hypertext.h:
6477 Removed pointless and duplicate AtkObject pointer from
6480 * libspi/keystrokelistener.c:
6481 Fixed incorrect type of keystroke_listener_parent_class,
6482 renamed keystroke_listener_object_finalize to
6483 spi_keystroke_listener_object_finalize.
6484 Fixed typo in signal declaration
6485 (spi_keystroke_listener_class_init).
6487 * libspi/registry.c:
6488 Added funcsions spi_listener_struct_new() and
6489 spi_listener_struct_free() to help with memory management issues.
6490 We also now use these methods instead of gnew + poking stuff into
6491 the struct, and to decrement listener counts/free the listeners
6492 when deregistering them.
6493 Fix more refcount bugs in getDesktop() and
6494 getDeviceEventController().
6497 De-ref the desktop after enumerating the applications. Explicitly
6498 decrement the refcounts on the created listeners on exit (using
6499 _unref for keystroke listeners, and via the
6500 deregisterGlobalEventListenerAll command for other event
6503 2001-11-27 Michael Meeks <michael@ximian.com>
6505 * cspi/spi-listener.h: fixup enum.
6507 2001-11-27 Michael Meeks <michael@ximian.com>
6509 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6510 (cspi_keystroke_listener_new): Use the cspi variants.
6512 2001-11-26 Michael Meeks <michael@ximian.com>
6514 * test/keysynth-demo.c: fix 2 compile warnings, missing
6517 * test/simple-at.c (report_focussed_accessible),
6518 (report_focus_event, report_button_press),
6519 (check_property_change, is_command_key),
6520 (report_ordinary_key_event, report_command_key_event): upd.
6522 * util/mag_client.h: include pre-requisites.
6524 * libspi/accessibleeventlistener.c
6525 (spi_event_listener_object_finalize): free any lingering
6528 * libspi/keystrokelistener.c
6529 (keystroke_listener_object_finalize): ditto.
6531 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6532 callbacks, with cspi types.
6534 * cspi/spi_event.c (createAccessibleEventListener): chain to
6535 (AccessibleEventListener_addCallback): here.
6536 (createAccessibleKeystrokeListener): chain to
6537 (AccessibleKeystrokeListener_addCallback): here.
6539 * libspi/keystrokelistener.c
6540 (spi_keystroke_listener_class_init): add signal.
6541 (impl_key_event): emit the event.
6542 (boolean_handled_accumulator): impl.
6543 (marshal_BOOLEAN__POINTER): add, gack.
6545 * libspi/accessibleeventlistener.c
6546 (spi_event_listener_class_init): add signal.
6547 (impl_accessible_event_notify_event): emit the signal &
6548 make the loop efficient.
6549 (spi_event_listener_add_callback): prepend the callback.
6551 * libspi/accessibleeventlistener.h: add an 'event' signal,
6552 decl type on callback.
6554 * libspi/keystrokelistener.h: ditto.
6556 * cspi/spi-listener.h: make methods typesafe and
6557 make them use the new event typedefs.
6559 * test/simple-at.c (report_focussed_accessible):
6560 include mag_client.h
6561 Use *(void *)text_interface not the other thing.
6563 * configure.in: add gtk to registryd bits - since we use
6566 * util/magnifier.c: include libbonobo.h
6568 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6570 * test/keysynth-demo.c:
6571 Turned this into a simple scanning keyboard, to demonstrate the
6572 use of g_timeout_add () as a means of creating timers for
6573 scanning, and the use of GtkStyle for visually indicating when
6574 virtual keyboard elements are selected.
6576 keysynth-demo now listens to any keyboard keys with zero-valued
6577 keycodes (i.e. 'unused' keys) and interprets them as
6580 Reworked the shiftlatch code so that shift-down state isn't held
6581 for long periods (it's only synthesized immediately prior to
6582 the keysynth event it's modifying). Note that shiftlatch in this
6583 demo is a convenience, not intended to take the place of AccessX
6584 which is the better choice for getting 'sticky' modifier keys.
6586 * libspi/deviceeventcontroller.c:
6587 * at-bridge/bridge.c:
6588 * cspi/spi_registry.c:
6589 Removed some debug print stuff, and put other verbosity in #ifdef
6594 Implemented some more of the magnifier IDL for the simple
6595 magnifier: namely, getZoomRegionParams.
6596 Added mag_x and mag_y members to MagnifierData struct, aid of this
6598 Added GtkWindow::realize signal handler to magnifier, to keep it
6599 from receiving keyboard focus from the WM.
6601 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6603 * cspi/spi-private.h: my guess at what michael forgot
6604 before he ran off to NZ :-)
6606 2001-11-23 Michael Meeks <michael@ximian.com>
6608 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6609 comment out non existant method invoke so we link.
6611 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6612 use bonobo_exception_get_text for more friendly warnings.
6614 * cspi/spi.c (Obj_Add): move into spi_main & rename
6615 spi_object_add; kill spi.c
6617 * cspi/spi_registry.c
6618 (deregisterGlobalEventListener),
6619 (deregisterGlobalEventListenerAll),
6620 (registerGlobalEventListener): fix exception leaks.
6622 * cspi/spi_main.c (spi_exception): impl. helper, so we
6623 don't leak exceptions.
6625 * cspi/spi_selection.c
6626 (AccessibleSelection_deselectSelectedChild): return the
6629 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6630 (spi_registry): ditto.
6631 (SPI_init): guard against double inits.
6633 * cspi/*.c: use spi_ev (), and spi_registry () where
6634 appropriate - a temporary hack until we have something
6635 better. Use spi_object_add
6637 2001-11-22 Michael Meeks <michael@ximian.com>
6639 * cspi/Makefile.am: re organise, install the headers.
6641 * cspi/*.h: add G_BEGIN/END_DECLS
6643 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6646 Added non-preemptive keylistener for key events with no modifiers
6647 and shift-only modifier.
6649 * libspi/keystrokelistener.c:
6650 Removed some verbose diagnostics printout.
6652 * cspi/spi_registry.c:
6653 Fixed a bug that caused all key listeners to be registered as
6656 * libspi/deviceeventcontroller.c:
6657 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6658 for non-preemptive key masks.
6661 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6663 * docs/reference/idl/at-spi-idl-docs.sgml:
6664 * docs/reference/idl/at-spi-idl-sections.txt:
6665 * docs/reference/idl/at-spi-idl-overrides.txt:
6666 Added missing files.
6668 * docs/reference/Makefile.am:
6669 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6670 to scan the IDL files :-(
6675 Added .cvsignore files.
6677 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6679 * libspi/deviceeventcontroller.c:
6680 * libspi/keystrokelistener.c:
6682 * cspi/spi_registry.c:
6683 Added filters for KeySets, KeyEventSeq, and event types to key
6684 event dispatching, so listeners should only receive those events
6685 that they requested :-)
6687 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6692 * docs/reference:Makefile.am:
6693 * docs/reference/cspi:
6694 * docs/reference/cspi:Makefile.am:
6695 * docs/reference/cspi:tmpl:
6696 * docs/reference/cspi:tmpl:*.sgml:
6697 * docs/reference/idl:
6698 * docs/reference/idl:Makefile.am:
6699 * docs/reference/idl:at-spi-idl-sections.txt:
6700 * docs/reference/idl:at-spi-idl-docs.sgml:
6701 * docs/reference/idl:tmpl:
6702 * docs/reference/idl:tmpl:*.sgml:
6704 Restructured docs directory to allow separate 'reference' docs
6705 section, and forked idl and cspi docs. Added the sgml template
6706 files to CVS. Added the first sections/structural sgml for the
6709 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6711 * configure.in, libspi/Makefile.am: find libXtst.
6713 2001-11-21 Michael Meeks <michael@ximian.com>
6715 * test/accessx-gui.c: s/spi_value/value/ - doh.
6717 * libspi/base.[ch]: add.
6719 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6721 * idl/Accessible.idl:
6722 * idl/Application.idl:
6725 Started gtk-doc cleanup on IDL.
6727 * libspi/deviceeventcontroller.c:
6728 Added and connected non-preemptive key notification from the
6729 toolkits (in addition to the pre-emptive support from XServer
6730 which we had before, but which causes 'focus flashing'). Filters
6731 are presently limited to key modifiers and global/non-global,
6732 KeySets are presently ignored, as are KeyEvent masks.
6734 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6735 structs into the persistant structure rather than just storing
6736 pointers to things that might not persist across servant
6739 The XGrabKey call now does async keygrabs, because synchronous
6740 ones were deadlocking with GDK_event code in a very nasty way.
6742 Added boolean to internal method notify_keylisteners, to indicate
6743 whether the event came from the 'toolkit source' or the 'global
6744 (XServer) source' - this is used in the notification process to
6745 determine which listeners to send the event to.
6747 deviceeventcontroller.c is now warning-free.
6749 * libspi/registry.c:
6750 Fixed regression in application de-registration.
6751 Also fixed some really brain-dead weirdness having to do with
6752 event dispatching - event structs are now duplicated before being
6753 re-marshalled in the dispatch to listeners. This also fixes a
6754 Solaris build problem.
6757 2001-11-20 Michael Meeks <michael@ximian.com>
6760 (impl_accessibility_registry_deregister_global_event_listener):
6763 * libspi/deviceeventcontroller.c
6764 (spi_device_event_controller_check_key_event): return
6765 FALSE on no virtual method.
6767 * libspi/*..h: make includes work on a correctly pathed install.
6769 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6771 * libspi/application.h: kill unused ( and whacked out )
6772 gboolean *spi_application_set_id (AtkObject *app, long id);
6774 2001-11-20 Michael Meeks <michael@ximian.com>
6776 * libspi/*.[ch]: further convert to bonobo's type func
6777 macros, remove redundnant casts etc.
6779 * libspi/text.c s/accessibility_text/spi_text/g,
6780 re-order to de-cruft.
6782 * libspi/hypertext.c: re-order to kill a huge slew
6783 of redundant forward decls.
6785 * libspi/relation.c: ditto.
6787 * libspi/image.c: ditto.
6789 * */.cvsignore: update
6791 2001-11-20 Michael Meeks <michael@ximian.com>
6793 * libspi/deviceeventcontroller.c
6794 (_controller_register_with_devices): use g_getenv,
6795 kill stdlib.h include.
6797 * libspi/keystrokelistener.c
6798 (spi_keystroke_listener_get_type): kill
6799 (spi_keystroke_listener_class_init),
6800 (spi_keystroke_listener_init): rename to this.
6802 * libspi/text.c (impl_getAttributes): fix warning / bug.
6804 * libspi/*.[ch]: more headers, includes and over commenting.
6806 2001-11-20 Michael Meeks <michael@ximian.com>
6808 * libspi/*.[ch]: fixup headers, includes and over commenting.
6810 * libspi/image.c (impl__get_imageDescription): const
6811 correctness warning fix. remove redundant casting.
6813 * libspi/table.c (impl_getRowDescription): ditto.
6814 (impl_getColumnDescription): ditto.
6816 * libspi/libspi.h: add.
6818 2001-11-19 Michael Meeks <michael@ximian.com>
6820 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6822 * libspi/component.c (accessibility_component_get_type):
6823 rename to (spi_component_get_type): and macroify.
6824 (accessibility_component_init): rename to
6825 (spi_component_init): this
6826 (accessibility_component_class_init): rename to
6827 (spi_component_class_init): this
6829 * libspi/action.c (spi_action_get_type): kill, use the macro.
6831 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6834 * libspi/application.c (spi_application_object_event_listener),
6835 (impl_accessibility_application_register_object_event_listener):
6836 warning fixes / const understanding updates.
6838 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6841 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6843 * libspi/spi_accessible.c: Added docs and C bindings for
6844 AccessibleStateSet. (No implementations yet). Documentation
6845 coverage for C bindings now 100%. Made docs for event listeners
6850 boolean notifyListenersSync (in DeviceEventListener listener,
6851 in DeviceEvent event);
6853 oneway void notifyListenersAsync (in DeviceEventListener listener,
6854 in DeviceEvent event);
6856 Added DeviceEventListener and DeviceEvent structs (may deprecate
6857 KeyStroke and KeystrokeListener in favor of this generic
6858 event/listener framework for devices).
6860 * libspi/deviceeventcontroller.c:
6862 Changed some key listener code to take masks, etc., and paved the
6863 way for integration of toolkit/non-preemptive key events. Changed
6864 signatures of some internal methods.
6866 * at-bridge/bridge.c:
6867 Fixed regression connecting to interface signals, apparently
6868 caused by GTK+ changes.
6870 Added an internal bridge_state_listener to deal with
6871 property-change:accessible-state signals.
6873 Changed the key_listeners GList to store structs (including masks,
6874 etc.) instead of just CORBA_Objects (required for full
6875 implementation of key listener API).
6877 Connected the bridge to all currently supported Atk signals.
6878 Events now supported:
6879 object:property-change
6880 object:property-change:accessible-name
6881 object:property-change:accessible-state
6882 object:property-change:accessible-description
6883 object:property-change:accessible-parent
6884 object:property-change:accessible-value
6885 object:property-change:accessible-role
6886 object:property-change:accessible-table-caption
6887 object:property-change:accessible-table-column-description
6888 object:property-change:accessible-table-column-header
6889 object:property-change:accessible-table-row-description
6890 object:property-change:accessible-table-row-header
6891 object:property-change:accessible-table-summary
6892 object:children-changed
6893 object:visible-data-changed
6894 object:selection-changed
6895 object:text-selection-changed
6897 object:text-caret-moved
6899 object:row-reordered
6901 object:column-inserted
6902 object:column-reordered
6903 object:column-deleted
6904 object:model-changed
6906 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6908 * libspi/hyperlink.c,h:
6909 Fixed some broken stuff in hyperlink.
6911 * libspi/relation.h:
6912 * libspi/relation.c:
6913 * cspi/spi_accessible.c:
6914 Initial implementations of AccessibleRelation methods, and docs.
6916 * libspi/accessible.c:
6917 Fixed a bug that caused SEGV if an accessible
6918 object's description is NULL, and a client
6919 requests it. An empty string is now returned.
6921 * cspi/spi_editabletext.c:
6922 * cspi/spi_hypertext.c:
6924 * cspi/spi_hyperlink.c:
6928 Doc coverage now 95%.
6930 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6932 One last namespacing revision:
6933 * libspi/accessibleeventlistener.[ch]:
6934 Renamed SpiAccessibleEventListener to SpiEventListener,
6935 (no need for two namespaces ;-)
6937 And lots of documentation fixes:
6939 * docs/at-spi-docs.sgml:
6940 Fixed 'underscore vs. hyphen' bug that was preventing
6941 the gtk-doc API docs from being automatically generated.
6944 * cspi/spi-listener.h
6946 * cspi/spi_accessible.c
6948 * cspi/spi_application.c
6949 * cspi/spi_component.c
6950 * cspi/spi_editabletext.c
6952 * cspi/spi_hypertext.c
6954 * cspi/spi_registry.c
6955 * cspi/spi_selection.c
6959 * docs/at-spi-docs.sgml
6960 * docs/at-spi-sections.txt
6962 Added and fixed up gtk-doc documentation in cspi.
6964 Interfaces now (fully) documented (subject to revision and enhancement):
6966 Event Listener Support
6968 AccessibleApplication
6972 AccessibleEditableText
6979 AccessibleRelationSet
6984 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6986 * at-bridge/bridge.c:
6987 Initial work for toolkit-level key snooper connection by bridge.
6992 New typedefs and fixes to support new namespacing, and cleaner
6993 separation of cspi bindings from libspi bonobo implementation.
6994 Removed inconsistent and extraneous Spi* namespace prefix that
6995 had crept into cspi headers.
6996 Lots of comment fixes that sed had missed.
6998 * cspi/spi-roletypes.h:
6999 * cspi/spi-statetypes.h:
7000 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7001 to AccessibleRoleType.
7003 * libspi/accessibleeventlistener.h:
7004 Fixed minor namespacing weirdness.
7006 * libspi/deviceeventcontroller.c:
7007 Reordered some internal API for device listeners.
7008 Changed the key registry final boolean to 'is_system_global'
7009 rather than 'is_synchronous', which is more descriptive of its
7011 Added spi_device_event_controller_new().
7012 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7014 * libspi/keystrokelistener.[ch]:
7015 Namespaced KeystrokeListener to SpiKeystrokeListener.
7016 Changed uses of keymasks to use SPI_ prefix, and did other
7019 * libspi/keymasks.h:
7020 Namespaced keymask constants with SPI_ prefix.
7022 * libspi/registry.c:
7023 Some warning fixes, and knock-on fixes from namespace changes.
7026 Added rules for accessx-gui test program.
7028 * test/accessx-gui.c:
7029 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7030 utility. It doesn't actually use at-spi, but it's still cool and
7033 * test/keysynth-demo.c:
7037 Fixes so that these test clients work properly with the namespaced
7038 libraries. (Incompletely tested for technical reasons, fixes may follow)
7041 2001-11-13 Michael Meeks <michael@ximian.com>
7043 * libspi/application.c
7044 (impl_accessibility_application_get_version),
7045 (impl_accessibility_application_get_toolkit_name):
7047 (impl_accessibility_application_set_id),
7048 (impl_accessibility_application_get_id): remove
7049 redundant casting code.
7051 * libspi/action.c (impl_getDescription): fix warnings.
7053 * libspi/accessible.c
7054 (impl_accessibility_accessible_get_parent),
7055 (impl_accessibility_accessible_get_child_at_index),
7056 (impl_accessibility_accessible_get_state),
7057 (impl_accessibility_accessible_get_relation_set):
7058 warning fixes & include action.h
7060 2001-11-13 Michael Meeks <michael@ximian.com>
7062 * *.[ch] fix bits I screwed up:
7064 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7065 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7067 2001-11-13 Michael Meeks <michael@ximian.com>
7069 * *.[ch] Namespace libspi into spi_ and Spi.
7071 2001-13-11 Michael Meeks <michael@ximian.com>
7073 * Makefile.am: dist & install at-spi-1.0.pc
7075 * libspi/Makefile.am: install into at-spi-1.0
7077 * idl/Makefile.am (idldir): install into at-spi-1.0
7079 * at-spi-1.0.pc.in: add.
7081 * configure.in: build it.
7083 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7085 * test/keysynth-demo.c:
7086 Use a 'realize' signal-handler to set the WM properties for
7087 the virtual keyboard, rather than making it a "POPUP" type
7088 override-redirect window (thanks to anders carlsson for that
7091 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7094 * test/keysynth-demo.c:
7095 Added new test of key synthesis, which creates a simple
7096 (mouse-operated) onscreen keyboard. It inserts key events into
7097 the currently-focused window, thus it does not grab keyboard focus
7100 * cspi/spi_registry.c:
7101 Added C binding for AT-SPI generateKeyEvent.
7103 * libspi/deviceeventcontroller.c:
7104 Added call to XFilterEvent so that key listener works with XIM (we
7105 hope). Added event_synth_type to generateKeyEvent, so that we can
7106 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7107 synthesize a press/release pair for KeySyms.
7109 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7111 * libspi/Makefile.am:
7112 * registryd/Makefile.am:
7113 (temporary) hack to include libXtst in libspi and registryd.
7114 (Needed for keystroke synthesis, see below).
7117 Improved API for registerKeystrokeListener, in accordance with
7118 discussions with Gnopernicus team and X server research.
7120 * libspi/registry.c:
7121 * libspi/deviceeventcontroller.c:
7122 * libspi/accessible.c:
7123 * libspi/keystrokelistener.c:
7124 Changes and fixes to support keylisteners for potentially
7125 consumed key events (that is, 'passive grabs').
7126 Added implementation for generateKeyEvent() [untested].
7129 Changes to registerKeystrokeListener() API, as above.
7130 Added deregisterGlobalEventListenerAll(), and
7131 deregisterKeystrokeListener(), which are needed for clean exit of
7133 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7134 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7136 * cspi/spi_registry.c:
7137 Added implementations of function prototypes mentioned above.
7139 * registryd/registryd.c:
7140 Added the key listener event source as a g_timeout(), to allow
7141 receipt of key events that are not caught by GDK (since GDK
7142 doesn't support passive keygrabs, this was necessary).
7145 Changed to attach a keylistener to 'Alt' keys, and
7146 respond to the following keycommands: Alt-M (toggle magnifier);
7147 Alt-F (toggle speech); Alt-Q (quit).
7148 Added an exit routine to deregister the listeners, and a key
7149 listener that prints some key info to the console when a key
7150 matches the listener mask (and is thus received by the listener).
7152 * util/idl/Magnifier.idl:
7153 Changes to magnifier API to support multiple zoom regions,
7154 non-uniform scaling in x and y, markDirty, and a host of other
7155 features that would be useful to magnification.
7158 * util/mag_client.c:
7159 * util/mag_client.h:
7160 * util/mag_control.c:
7162 Source code changes to support the above IDL changes.
7165 As above, and also changes to use a (slower) generic conversion
7166 path for colormap conversions, since the fast RGB conversions have been
7167 reported to fail for 16-bit displays.
7169 2001-10-26 Michael Meeks <michael@ximian.com>
7171 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7173 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7175 * at-bridge/Makefile.am: fix LDFLAGS.
7177 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7179 * at-bridge/bridge.c:
7180 Re-worked listeners for toolkit events, now we have signal
7181 and property listeners. Added a private method
7182 register_atk_event_listeners(), which registers with the
7183 various atk and gtk signals we need to monitor in order to emit
7185 Added emission hook for AtkObject:property-change events, to
7186 support the 'property listeners'.
7187 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7190 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7191 which emit warnings and exit, respectively, if CORBA errors occur
7192 during remote calls, and we now use these methods to check most of
7193 our CORBA calls in the C bindings.
7195 * cspi/spi_accessible.c:
7196 Changed AccessibleSelection_refSelectedChild() to
7197 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7198 now increment refcounts.
7200 * cspi/spi_component.c:
7201 Fixed some long pointer casts (dangerous!) to pass pointers to
7202 CORBA_longs of the proper type to the CORBA stubs, and copy the
7203 data into the longs that were passed into the C bindings code.
7205 * at-bridge/bridge.c:
7207 * libspi/accessible.c:
7208 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7209 hyperlinks, AtkHyperlink is an object type.
7211 * libspi/application.c:
7212 Added various conversions to and from "generic" event types and
7213 atk-specific types; this is really part of the 'bridge'
7214 implementation but is valid for all AtkObject-based accessibility
7217 * libspi/editabletext.c:
7218 Fixed nasty bug wherein editable text's finalize method was
7219 unref'ing tha AtkObject reference that the text parent class was
7220 about to unref _again_. There was also a nasty inheritance bug
7221 that meant that the AccessibleEditableText class was corrupt.
7223 * libspi/selection.c:
7224 Provided implementations for some selection API that was broken.
7226 * idl/Application.idl:
7227 Added registerObjectEventListener () method.
7230 Fixed a number of return values that were Bonobo_Unknowns from
7231 bonobo_object_corba_objref(), which I
7232 forgot to dup before returning. Changed instances of
7233 bonobo_object_corba_objref (bonobo_object(o)) to
7234 BONOBO_OBJREF(o), for concision and clarity.
7236 2001-10-13 Louise Miller <louise.miller@sun.com>
7238 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7239 idl/Event.idl, idl/Registry.idl
7240 Changed these files to include Bonobo_Unknown.idl instead
7243 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7245 * libspi/component.c libspi/component.h:
7246 Fixed typo. Added assertions for object checks in
7247 AccessibleComponent code.
7249 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7251 * idl/Accessible.idl:
7252 Added 'isEqual (Accessible *object)'
7253 method for Accessible. (Not Yet Implemented).
7256 Changed signature of registerKeystrokeListener() to
7257 take a KeySet and KeyEventSeq so that specific keys and event
7258 types could be requested for monitoring, and added a flag
7259 is_synchronous so that either synchronous or asynchronous
7260 notification could be requested. (However this is not all
7261 implemented yet). This also meant adding two new typedefs,
7262 KeyEventSeq and KeySet.
7265 Added two new relations, RELATION_TOOLTIP_FOR and
7266 RELATION_LEAFNODE_OF.
7269 Added new state, STATE_HAS_TOOLTIP.
7271 * libspi/text.c, editabletext.c:
7272 Added new assertions to all casts of bonobo-objects from
7273 CORBA servants, to prevent Text API calls on non-text objects.
7274 Changed suspect casts of int-pointer types, so that we
7275 always send a valid CORBA_long pointer to the CORBA APIs that use
7276 in/out long parameters. We then have to copy from the CORBA_long
7277 into the regular long or int for return to the C bindings, or
7278 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7281 * libspi/deviceeventcontroller.c:
7282 Cleaned these sources up.
7284 Changed return type for getCharacterAtOffset to
7285 CORBA_unsigned_long, to allow for 32-bit characters.
7288 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7292 Fixed 'make dist' so that distro compiles...
7293 * libspi/keymasks.h:
7295 * cspi/spi-listener.c:
7296 KeystrokeListenerCB now returns a boolean.
7298 Added KeyEventType struct, and KeyStroke.
7299 Also added createKeystrokeListener(),
7300 KeystrokeListener_addCallback(),
7301 KeystrokeListener_removeCallback(), and added a keymask to
7302 registerKeystrokeListener().
7303 * cspi/spi_accessible.c:
7304 Changed numerous return types for interfaces from
7305 AccessibleComponent to Accessible<InterfaceName>; this was
7306 probably a cut-and-paste error.
7308 Implementations of new KeystrokeListener api (from spi.h,
7311 Changes to key modifier mapping.
7312 Created ControllerEventMask struct.
7313 Made DeviceEventController derive from Bonobo::Unknown.
7315 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7316 * libspi/deviceeventcontroller.c:
7317 Added a number of new internal (private) methods.
7318 * libspi/editabletext.c:
7319 * libspi/editabletext.h:
7320 Fixed a number of bugs related to the fact that
7321 editabletext inherits from text. Fixed the EditableText struct,
7322 the init() call, and use correct casts when calling Text methods
7323 from an EditableText object. Removed (duplicate) atko from the
7324 EditableText structure, we use the one in the parent Text
7325 structure via the casts mentioned above.
7326 * libspi/keystrokelistener.[ch]:
7327 * libspi/registry.c:
7328 Changes in support of keyboard handling (above).
7330 Keyboard handling, though partly functional, is still not
7331 recommended for at-spi client use as there is considerable
7332 work yet to be done.
7335 Changed some places where pointers to various int types
7336 are cast to be pointers to CORBA_long types and vice-versa:
7337 pointer casting is not safe so we pass pointers of the correct
7338 types and then cast the result before putting it into the target
7341 * libspi/text.h: minor typos corrected.
7343 We now speak not only the name of a Text element, but the
7344 first sentence of its content, when it receives focus.
7345 I also changed the text compression to 75% from 50%.
7346 * util/Accessibility_Util.server.in:
7347 Changed the default magnifier type to be a 3x vertical
7348 splitscreen magnifier (was previously a 2x horizontal one).
7350 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7352 * libspi/keystrokelistener.h:
7353 * libspi/keystrokelistener.c:
7354 Initial functional implementations of KeystrokeListener.
7357 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7359 Fixed string handling for NULL strings in libspi.
7360 Added spi_freeString to free strings returned by C bindings.
7362 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7364 * libspi/keystrokelistener.h:
7365 * libspi/keystrokelistener.c:
7366 Began (no-op) implementations of KeystrokeListener
7368 * libspi/deviceeventcontroller.c:
7369 * libspi/deviceeventcontroller.h:
7370 Began creating implementations of DeviceEventController,
7371 to handle keystroke and mouse event listening and
7373 * libspi/accessible.c:
7374 Stubbed-in the implementations for
7375 Accessibility_Accessible_getState and
7376 Accessibility_Accessible_getRelationSet.
7377 * libspi/registry.c:
7378 Improved de-registration process and fixed some bugs,
7379 deregistration now works correctly.
7381 Added initialization of applications list (to NULL).
7383 Reduced speech compression from 0.5 to 0.7, for demo.
7384 Changed call to gdk_window_set_decorations()
7385 to gtk_window_set_decorated().
7386 * at-bridge/bridge.c:
7387 Bridge now deregisters when app exits, via
7388 registration of a cleanup function
7389 with the g_atexit() call.
7390 Required making 'app' static, renamed 'this_app'.
7391 Fixed broken use of bonobo_init, passing argv wrongly.
7393 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7397 Created a new directory for
7398 accessibility-related utilities, primarily for
7399 testing and demo purposes, but with possible
7406 Onscreen magnifier utility that
7407 is implemented as a bonobo service.
7409 * util/mag_client.c:
7410 * util/mag_client.h:
7411 Client-side support (simple C bindings)
7412 for Magnification service
7414 * util/mag_control.c:
7415 Client program example for
7416 Magnification service
7418 * util/Accessibility_Magnifier.server.in:
7419 Bonobo-activation file for the
7420 Magnification service.
7423 * util/idl/Magnifier.idl:
7424 IDL defining the bonobo Magnification
7428 Modifications to use the bonobo-activated magnifier
7429 above, in place of trying to connect to an existing
7430 magnifier that uses socket-listening IPC.
7432 If env variable MAGNIFIER is set, a magnifier service
7433 will be started if one does not exist.
7435 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7437 * at-bridge/bridge.c:
7438 applied patch from Marc to build and run
7439 against new glib and gtk+ (seemed like a change
7440 to bonobo_init signature was made ?)
7442 made festival-server support turned off by default.
7443 Added support for a simple magnifier (off by default)
7444 which will be added to a 'util' directory later.
7445 * at-bridge/Makefile.am:
7446 Changed "application.h" header from a 'source'
7447 to a 'dependency' of libat-bridge.
7449 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7458 Added interface implementation c files to list of
7459 includes so they are included in libcspi.
7462 Changed prototype of AccessibleAction_doAction to return a
7464 Changed prototype of AccessibleTable_getCaption to
7465 return an Accessible.
7466 Changed prototype of AccessibleTable_getSelectedRows
7467 and AccessibleTable_getSelectedColumns to
7468 return a long (returns the number of selected rows
7469 or columns respectively).
7470 Changed name of AccessibleText_refRunAttributes to
7471 AccessibleText_getAttributes.
7472 Changed prototype of AccessibleText_getCharacterExtents to
7473 return a void rather than a boolean.
7474 Added support for a AccessibleCoordType parameter
7475 specifying what type of coordinates are desired.
7476 Added an AccessibleCordType parameter to
7477 AccessibleText_getPointAtOffset.
7479 * cspi/spi_accessible.c:
7480 Added code to return the outstanding interfaces from
7481 Accessible_queryInterface.
7483 * cspi/spi_action.c:
7485 Corrected call to getNActions to call the c binding
7488 * cspi/spi_editabletext.c:
7490 Changed name from setRunAttributes to setAttributes.
7492 * cspi/spi_hyperlink.c:
7494 Changed call to getNAnchors to correctly call the c
7495 binding for an attribute.
7497 * cspi/spi_hypertext.c:
7499 Changed getImageDescription to correctly call the
7500 binding for an attribute.
7502 * cspi/spi_selection.c:
7503 Changed getNSelectedChildren to correctly call the c
7504 binding for the attribute.
7505 Changed refSelectedChild to getSelectedChild.
7509 Changed getCaption to return an Accessible.
7510 Fixed calls which retrieve attributes.
7511 Changed refAt to getAccessibleAt.
7512 Changed getNSelectedRows and getNSelectedColumns to
7516 Changed getCharacterExtents and getPointAtOffset to accept an
7517 AccessibleCoordType.
7519 Changed calls which retrieve attributes.
7520 Changed refRunAttributes to getAttributes.
7525 * idl/Hyperlink.idl:
7526 Changed n_anchors attribute to nAnchors to keep naming
7527 convention consistent.
7530 Made Table inherit from Bonobo::Unknown.
7531 Added nSelectedColumns and nSelectedRows attributes.
7534 Made Value inherit from Bonobo::Unknown.
7536 * libspi/hyperlink.c:
7537 Change for nAnchors attributte name change.
7539 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7547 Added interface implementation c files to list of
7548 includes so they are included in libcspi.
7551 Changed prototype of AccessibleAction_doAction to return a
7553 Changed prototype of AccessibleTable_getCaption to
7554 return an Accessible.
7555 Changed prototype of AccessibleTable_getSelectedRows
7556 and AccessibleTable_getSelectedColumns to
7557 return a long (returns the number of selected rows
7558 or columns respectively).
7559 Changed name of AccessibleText_refRunAttributes to
7560 AccessibleText_getAttributes.
7561 Changed prototype of AccessibleText_getCharacterExtents to
7562 return a void rather than a boolean.
7563 Added support for a AccessibleCoordType parameter
7564 specifying what type of coordinates are desired.
7565 Added an AccessibleCordType parameter to
7566 AccessibleText_getPointAtOffset.
7568 * cspi/spi_accessible.c:
7569 Added code to return the outstanding interfaces from
7570 Accessible_queryInterface.
7572 * cspi/spi_action.c:
7574 Corrected call to getNActions to call the c binding
7577 * cspi/spi_editabletext.c:
7579 Changed name from setRunAttributes to setAttributes.
7581 * cspi/spi_hyperlink.c:
7583 Changed call to getNAnchors to correctly call the c
7584 binding for an attribute.
7586 * cspi/spi_hypertext.c:
7588 Changed getImageDescription to correctly call the
7589 binding for an attribute.
7591 * cspi/spi_selection.c:
7592 Changed getNSelectedChildren to correctly call the c
7593 binding for the attribute.
7594 Changed refSelectedChild to getSelectedChild.
7598 Changed getCaption to return an Accessible.
7599 Fixed calls which retrieve attributes.
7600 Changed refAt to getAccessibleAt.
7601 Changed getNSelectedRows and getNSelectedColumns to
7605 Changed getCharacterExtents and getPointAtOffset to accept an
7606 AccessibleCoordType.
7608 Changed calls which retrieve attributes.
7609 Changed refRunAttributes to getAttributes.
7614 * idl/Hyperlink.idl:
7615 Changed n_anchors attribute to nAnchors to keep naming
7616 convention consistent.
7619 Made Table inherit from Bonobo::Unknown.
7620 Added nSelectedColumns and nSelectedRows attributes.
7623 Made Value inherit from Bonobo::Unknown.
7625 * libspi/hyperlink.c:
7626 Change for nAnchors attributte name change.
7629 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7631 implementations-- made server implementations own AtkObject pointers
7632 rather than their respective AtkInterrface pointers to fix
7633 refcounting. AtkHyperlink is still broken.
7635 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7636 * cspi/spi_accessible.c:
7637 Added method Accessible_Role_getName(),
7638 and requisite string array (role_names).
7639 Added conversion string_from_corba_strin() call
7640 to Accessible_getName and _getDescription.
7641 * libspi/accessible.c:
7642 Added implementation for Accessible_getRole()
7644 Added festival support, used if environment variable
7647 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7649 * at-bridge/bridge.c:
7650 Now allocate Accessibility_Event using
7651 Accessibility_Event__alloc() instead of g_new0().
7652 * libspi/accessibleeventlistener.c:
7653 Initialize AccessibleEventListener->callbacks to NULL.
7654 Fixed accessible__event_listener_init() param, changed to
7655 "AccessibleEventListener *" type.
7656 Changed a bonobo_object_release_unref() call to
7657 Accessibility_Accessible_unref().
7658 * libspi/listener.c:
7659 Changed Bonobo_Unknown_unref to (equivalent)
7660 Accessibility_Accessible_unref.
7661 * libspi/registry.c:
7662 Changed bonobo_object_release_unref to
7663 Accessibility_Accessible_unref.
7665 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7668 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7669 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7670 spi-util.c spi-util.h
7671 Implementations for C bindings to remaining accessibility
7674 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7677 changed return value of Action from void to boolean to
7678 bring in line with ATK.
7681 Changed getText funcions to return "out" start and end offsets.
7682 Changed getAttributes to take and offset and return the start
7683 and end offset of the attribute run.
7684 Changed getOffsetAtPoint and getCharacterExtents to take an
7685 enum describing whether coordinates are window or screen.
7688 libspi/action.c libspi/action.h libspi/editabletext.c
7689 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7690 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7691 libspi/image.h libspi/selection.c libspi/selection.h
7692 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7693 libspi/value.c libspi/value.h
7694 Added server implementations for outstanding ATK interfaces
7695 not yet implemented.
7697 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7700 Added (missing) getName() method.
7701 Made nActions an attribute.
7702 * idl/EditableText.idl:
7703 Changed order of params in setAttributes.
7704 * idl/Hyperlink.idl:
7705 Removed getAnchor, added getURI.
7707 Changed attributes to methods, for efficiency
7708 (so that getting extents can be done in one call)
7709 * idl/Selection.idl:
7710 Changed nSelectedChildren to attribute, and re-indented.
7711 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7713 * idl/Text.idl: reformatted to match our coding style.
7714 (temporarily?) removed getRowColumnAtOffset().
7715 Changed text selection API to support multi-select and
7716 non-contiguous selections, as in ATK.
7717 * idl/Value.idl: changed some methods to attributes.
7719 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7721 * libspi/listener.c(impl_notify_event):
7722 BonoboUnkown_unref the source instead
7723 of bonobo_object_release_unref - the ORB
7724 handles the releasing.
7726 * configure.in: require ORBit-2.3.94 for
7729 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7731 Tagged CVS repository 'EA_1_0'.
7732 * README.EARLY_ACCESS:
7733 Alphabetized acknowledgements list, and
7735 Listed some known dependencies of at-spi.
7737 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7739 * docs/at-spi-docs.sgml:
7740 * docs/at-spi-sections.txt:
7741 * docs/at-spi-overrides.txt: (Added zero-length file)
7742 Documentation improvements - gtk-doc should build
7743 docs for all implemented C bindings now.
7746 * cspi/spi.c: (New file)
7747 * cspi/spi_event.c: (New file)
7748 * cspi/spi_registry.c: (New file)
7749 * cspi/spi_accessible.c: (New file)
7750 * cspi/spi_application.c: (New file)
7751 * cspi/spi_component.c: (New file)
7752 Split spi_main.c into six parts, and included them from
7753 "spi.c". This is a bit of a hack, probably temporary,
7754 but required by gtk-doc, apparently.
7756 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7759 * docs/at-spi-docs.sgml:
7760 * docs/at-spi-sections.txt:
7762 Initial checkins/modifications for gtk-doc generation.
7765 Added (missing) interface query methods to Accessible's C binding.
7767 Added GenericInterface type definition.
7769 Added query for AccessibleComponent interface to focus event handler.
7770 Added printout of bounding box for focussed component.
7771 * libspi/component.c:
7772 Added partial implementation for AccessibleComponent to C binding.
7773 * idl/Application.idl:
7774 * libspi/registry.c:
7775 * libspi/listener.c:
7776 * libspi/application.c:
7777 * libspi/application.h:
7778 Changed "ID" attribute type from string to long.
7780 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7784 Made method naming consistent: methods taking object args
7785 start with uppercase, other methods (except those using
7786 acronyms) start with lowercase. Underscores delimit between
7787 object names and method names:
7788 SPI_init() - uppercase since it starts with an acronym.
7789 getDesktopCount () - lowercase start since no object param0.
7790 Accessible_getName() - uppercase object type name, studlyCaps method
7794 Added gtk-doc documentation for all currently implemented
7795 methods in the C bindings API.
7797 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7799 * Makefile.am : changed build order to build test last.
7802 Changed "createEventListener" to "CreateEventListener".
7803 * libspi/accessibleeventlistener.c :
7804 Bugfix for addition of callbacks.
7805 * test/Makefile.am :
7806 * test/simple-at.c :
7807 Added new test that uses the C bindings API.
7809 * libspi/listener.c :
7810 * libspi/registry.c :
7811 * libspi/accessibleeventlistener.c :
7812 * at-bridge/bridge.c :
7813 Renamed member "target" of Accessibility_Event to "source",
7814 which is more descriptive.
7817 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7821 * cspi/Makefile.am :
7822 Added makefile support for at-spi/cspi directory.
7825 * cspi/spi-listener.h : (NEW FILE)
7826 Added support for/use of spi-listener.h.
7828 C bindings now build successfully, with no warnings.
7829 * libspi/accessibleeventlistener.h : (NEW FILE)
7830 * libspi/accessibleeventlistener.c : (NEW FILE)
7831 * libspi/Makefile.am :
7832 Added new object type "AccessibleEventListener"
7833 which inherits from Listener, and allows attachment
7834 of in-process callbacks (so that a client with a listening
7835 object instance can add functionality to the local
7836 implementation, dynamically).
7838 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7840 * libspi/accessible.c:
7841 Add implementation for get_index_in_parent().
7843 Added #include of "spi-roletypes.h", and
7844 added enumerated type AccessibleCoordType.
7845 Added definition for KeystrokeListener (function type).
7848 * cspi/spi-statetypes.h :
7849 * cspi/spi-roletypes.h :
7851 Added these headers, used by spi.h.
7853 Added code (NOTE: not yet built by make).
7855 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7857 * libspi/Makefile.am: generate imodule
7858 at the same time as other idl compiler
7861 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7862 * libspi/registry.c :
7863 * libspi/application.c :
7864 * idl/Application.idl :
7865 Made registration with toolkit an application method,
7866 which is required since each app has its own toolkit static
7867 environment. Thus the bridge must register for
7868 notification of toolkit events from each application in turn.
7869 Toolkit notifications are now successfully registered for, and
7870 sent to the listening at client.
7872 Changed toolkit event string to use hyphens rather than underscores.
7873 * libspi/listener.c :
7874 listner now gives more info in debug mode - it reports the
7875 name of the event received, as well as the name of the source.
7878 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7880 * libspi/registry.c :
7881 added more implementation for toolkit events.
7882 Fixed bug such that toolkit event registrations
7883 (via atk) use the whole event name string, not
7885 Removed a useless call to an ORBit_ method.
7886 * at-bridge/bridge.c :
7887 Removed unused local sbuf[] variable.
7889 We now register for Gtk:GtkWidget:button_press_event
7890 events as well as "focus:" events.
7892 Add some more API from Registry.idl that was missing,
7893 for keystroke listening, keystroke and mouse event
7894 synthesis, and enumeration of accessible desktops.
7896 2001-08-16 Michael Meeks <michael@ximian.com>
7898 * configure.in: use AM_GLIB_GNU_GETTEXT.
7900 * Makefile.am (SUBDIRS): kill intl.
7902 2001-08-15 Michael Meeks <michael@ximian.com>
7904 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7906 * configure.in: upd.
7908 * configure.in: depend on a recent bonobo-activation that
7909 will find our server files ...
7911 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7913 * libspi/accessible.c : accessible_new() :
7914 Now we add the Component interface via bonobo_object_add_interface,
7915 if the contained AtkObject implements AtkComponent.
7916 * libspi/accessible.h : now include "component.h"
7917 * libspi/component.h :
7918 * libspi/component.c : added files - implementation of
7919 bonobo wrapper object for Accessibility/Component
7920 * libspi/listener.c :
7921 Added test code to check for Accessibility/Component:1.0
7922 interface and report whether it is implemented by the
7924 * libspi/registry.c :
7925 Now we check for not only the hash of the whole event
7926 string before relaying the event, we also check the
7927 "minor" event string (without the detail string).
7928 This allows event listeners to be registered against
7929 all events of a certain major+minor type, or just
7930 against a specific major+minor+detail type.
7931 * libspi/accessible.c :
7932 Added implementations for Accessible:get_parent(),
7933 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7934 * libspi/registry.c :
7935 * libspi/listener.c :
7936 Replaced calls to Accessibility_Accessible_ref() and
7937 Accessibility_Accessible_unref() with
7938 calls to bonobo_object_dup_ref() and
7939 bonobo_object_release_unref(), so that the CORBA object
7940 is dup-ed and released when relayed, as well as the bonobo object.
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 reverse previous changes.
7950 * /idl/Image.idl: fix typo.
7952 * test/Makefile.am: put DEBUG_FLAGS
7955 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7957 * test/app.c: use argv[0] instead of
7960 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7962 * libspi/Makefile.am,
7963 registryd/Makefile.am,
7964 at-bridge/Makefile.am.
7965 test/Makefile.am, configure.in:
7966 cleanup, replace individual LIBS/CFLAGS with
7967 AT_COMMON_{LIBS|CFLAGS}.
7971 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7973 * configure.in, libspi/Makefile.am:
7974 Change IDL path checking for bonobo-activation
7977 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7979 * registryd/registry.c : separated event listeners to use
7980 3 separate lists (focus, window, toolkit). Began testing
7981 event names against hashes before relaying events.
7982 * test/at.c : now register for events of type "focus:"
7983 * test/app.c : now generate events of type "focus:"
7984 * at-bridge/bridge.c : register with ATK for focus events,
7985 and we now relay those focus events to any "focus:" listeners.
7986 This now works with the bridge as a GTK_MODULE when running test/at.
7987 * libspi/registry.c :
7988 * libspi/listener.c :
7989 now we ref event sources before propagating, and unref on receipt.
7990 * libspi/registry.c :
7991 some changes to internal structs, to support event typestring hashes.
7992 * text/app.c : changed the way the appname is generated.
7993 * cspi : added directory that will hold the C bindings library for
7994 non-CORBA/bonobo-savvy clients.
7995 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7996 * idl/Component.idl : added in parameter to indicate coord system for
7997 geometry-related calls.
7998 * idl/Hyperlink.idl : added readonly n_links attribute
7999 * idl/Image.idl : changed methods to attributes.
8001 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8003 * at-bridge/Makefile.am: link against
8004 ../libspi/libspi.la instead of -lspi.
8006 * at-spi/test/app.c: include
8007 bonobo-activation.h. Use a default appname
8008 if one is not provided.
8010 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8012 * idl/Registry.idl : temporarily changed register_Application
8013 to oneway, to work around issue with initial registration
8015 * idl/Application.idl : changed attribute "id" from readonly
8016 to read-write, since it needs to be assigned by Registry.
8017 * registryd/registryd.c : added call to set application id
8019 * registryd/registry.c : changed de-registration procedure to
8020 use CORBA_Object_hash() to find matching object ref in application
8021 lists and listener lists.
8022 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8023 began distinguishing between event types (work in progress).
8025 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8028 * libspi/application.c:
8029 Added implementations for get/set id, get_toolkitName,
8031 * registryd/registryd.c :
8035 Converted from use of OAF to bonobo-activation.
8036 * libspi/desktop.h :
8037 * libspi/desktop.c :
8039 Removed references to atksimpleobject, since base atkobject
8040 implementation now provides functionality we need.
8041 * libspi/atksimpleobject.c :
8042 * libspi/atksimpleobject.h :
8047 * at-bridge/Makefile.am
8048 * at-bridge/bridge.c
8051 Added directory "bridge" and contents, and added dependencies
8052 in Makefile.am/configure.in.
8053 Initial checkin of "at-bridge".
8054 This code is a GTK_MODULE which automatically registers
8055 GTK+ apps with the accessibility registry, using an object
8056 reference to the root ATK object.
8058 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8060 * po/Makefile.in.in: Remove. Again. If this
8061 doesn't get autogenerated - you need to update
8064 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8066 * po/Makefile.in.in: Add. Again.
8068 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8070 * libspi/accessible.c : added support for 'description' property.
8071 * libspi/accessible.c
8073 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8074 (since the two are now equivalent in libbonobo)
8082 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8083 Bonobo::Unknown as does Accessibility::Accessible.
8084 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8085 interface with Bonobo::Stream, since it was redundant with it.
8086 (The Stream returned by a StreamableContext object is expected to
8087 implement only a subset of Bonobo::Stream)
8089 2001-07-28 Anders Carlsson <andersca@gnome.org>
8091 * libspi/accessible.c (accessible_object_finalize): Change
8092 g_free to g_object_unref since the AtkObject is a GObject.
8094 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8096 * idl/Accessibility.idl: add new IDL files
8099 * idl/Action.idl: Definitions of actionable UI object
8100 * idl/Component.idl: Definitions of UI component geometry, etc.
8101 * idl/Hyperlink.idl: Defs of hyperlink behavior
8102 * idl/Image.idl: Def of accessible image
8103 * idl/Selection.idl: Definition of UI object with selectable children
8104 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8105 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8106 * idl/Text.idl: Interface defs for UI elements with complex textual content
8107 * idl/Value.idl: Definition of UI element that is a value controller or display
8109 2001-07-27 Michael Meeks <michael@ximian.com>
8111 * po/Makefile.in.in: remove autogenerated file from CVS.
8113 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8116 * idl/Registry.idl: include guard.
8118 * idl/Accessibility.idl: Add, and include all the other IDL
8121 * idl/*.idl: remove mass of pragmas etc.
8123 2001-07-26 Michael Meeks <michael@ximian.com>
8125 * registryd/Makefile.am (registryd_SOURCES): remove
8128 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8130 * libspi/.cvsignore, registryd/.cvsignore,
8131 test/.cvsignore: updated.
8133 * po/Makefile.in.in: gettext update.
8135 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8137 * initial CVS checkin
8139 2001-06-29 Michael Meeks <michael@ximian.com>
8141 * configure.in: add AM_CONFIG_HEADER to gen config.h