1 2007-01-19 Li Yuan <li.yuan@sun.com>
4 (atk_bridge_init), (spi_atk_bridge_register_application),
5 (deregister_application), (spi_atk_bridge_focus_tracker),
7 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
10 2007-01-08 Li Yuan <li.yuan@sun.com>
12 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
14 2007-01-08 Li Yuan <li.yuan@sun.com>
16 * registryd/registry-main.c:
17 (main): set registry ior only when register server successfully.
18 * atk-bridge/bridge.c:
19 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
20 Bug #372988, #381670. Fix memory leak.
22 2007-01-02 Bill Haneman <billh@gnome.org>
25 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
26 appending default attributes to a text attribute set.
29 2006-12-28 Li Yuan <li.yuan@sun.com>
31 * atk-bridge/bridge.c:
32 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
33 the second time, because spi_atk_emit_eventv will free any. Bug
36 2006-12-15 Li Yuan <li.yuan@sun.com>
38 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
40 2006-12-14 Li Yuan <li.yuan@sun.com>
43 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
44 (spi_atk_bridge_property_event_listener),
45 (spi_atk_bridge_signal_listener):
46 Free some CORBA objects to fix memory leak and crash.
48 2006-12-13 Li Yuan <li.yuan@sun.com>
50 Patch from Ariel Rios to fix #163132 and #377079.
51 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
52 (spi_atk_bridge_get_registry_ior):
53 Use g_warning instead of g_error and g_critical to avoid crash.
55 2006-12-11 Bill Haneman <bill.haneman@sun.com>
58 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
59 if there are no non-default attributes defined at the current offset.
62 2006-12-04 Bill Haneman <bill.haneman@sun.com>
64 * idl/Accessibility_Role.idl: Fixed the documentation for
65 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
67 2006-12-04 Bill Haneman <bill.haneman@sun.com>
69 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
71 2006-11-07 Bill Haneman <bill.haneman@sun.com>
73 Patches from Padraig O'Briain for bugs #361386 and #369377.
75 * registryd/registry.c:
76 (struct NotifyContext): Change the e_out
77 member from an Accessibility_Event struct to a pointer to
79 (notify_listeners_cb): Modify to use the new struct definition above.
80 Allows use of ORBit_copy_value instead of CORBA_any__copy.
82 * registryd/deviceeventcontroller.c:
83 (spi_dec_button_update_and_emit): Free the event's any_data
85 (spi_dec_mouse_check):Free the event details any struct
87 (spi_device_event_controller_forward_mouse_event): Free any.
88 (spi_device_event_controller_forward_key_event): Ditto.
90 2006-11-07 Bill Haneman <bill.haneman@sun.com>
92 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
93 Don't require gtk+ and gail for building most of at-spi
96 * registryd/registry-main.c (main): We now get te value of display
97 using the env var DISPLAY rather than using the gdk_display_get_default
98 to avoid dependancy of gdk. Also, once the registry is started, we set
99 the ior of the registry as an X property.
100 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
102 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
103 the registration was successfull.
104 (spi_atk_bridge_do_registration): This function now returns success
105 or not on activating the registry.
106 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
107 has been set in the X root window and return it if available.
108 (spi_atk_bridge_get_registry): We now get the registry using the IOR
109 saved as a X property rather than using the OAFID.
111 2006-10-01 Bill Haneman <bill.haneman@sun.com>
113 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
115 2006-09-25 Bill Haneman <bill.haneman@sun.com>
117 * registryd/registry.c:
118 (desktop_remove_application): Don't pass a ref to the
119 dead application with the event, since it's probably
120 defunct and will cause SEGV if we try to unref,
121 extract app name, etc.
124 2006-09-20 Bill Haneman <bill.haneman@sun.com>
126 Patch from Neo Liu <nian.liu@sun.com>,
129 * atk-bridge/bridge.c:
130 (spi_atk_bridge_document_event_listener): New, for
133 2006-08-30 Bill Haneman <bill.haneman@sun.com>
136 Changed some parameter names so as not to
137 collide with class names - allows IDL to be compiled with
138 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
140 2006-08-22 Bill Haneman <bill.haneman@sun.com>
142 * atk-bridge/bridge.c:
143 (spi_atk_bridge_signal_listener):
144 Patch from Ginn Chen, assign detail1 in children-changed
145 so that the child object can be assigned to the Any when the
146 at-spi event is emitted. Bug #350552.
148 * libspi/application.c:
149 (spi_application_finalize): Remove g_print debug output.
152 2006-08-21 Bill Haneman <bill.haneman@sun.com>
154 * configure.in: Revved to AT-SPI 1.7.11.
156 * libspi/accessible.c:
157 (spi_accessible_new): Aggregate Hyperlink interface
158 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
160 * libspi/hyperlink.c:
161 (spi_hyperlink_new): Don't aggregate Action a second time if this
162 interface is created for an AtkHyperlinkImpl object (i.e. for a
163 child Accessible, as opposed to the Hyperlink instance from
165 (get_hyperlink_from_servant): Obtain the hyperlink from
166 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
168 Patch section from Ginn Chen...
170 * cspi/spi_accessible.c:
171 (_cspi_accessible_set_from_sequence):
172 Changed g_newa to g_new0 on Ginn Chen's suggestion.
174 * libspi/accessible.c:
175 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
176 (spi_accessible_new): Add the Document interface if present.
179 (impl_getAttributes): Fixed to use AtkAttribute properly.
182 (impl_getAttributes, impl_getDefaultAttributes):
183 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
185 2006-08-17 Bill Haneman <bill.haneman@sun.com>
187 * cspi/spi-private.h, cspi/spi_accessible.c:
188 (_cspi_attribute_set_from_sequence): Renamed from
189 cspi_attribute_set_from_sequence, to suppress export.
192 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
193 inline docs, which was keeping the doc from appearing.
194 (SPIExceptionHandler): Doc this.
196 * cspi/spi_document.c:
197 Added inline gtk-docs cut-n-pasted from the doxygen
198 docs in the corresponding IDL files.
199 (AccessibleDocument_getAttributes): Fix the retval here.
201 * cspi/spi_streamablecontent.c:
202 Fixed some 'Since' tags that were accidentally doxygen-style.
205 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
206 docs from the IDL file.
208 * docs/reference/cspi/at-spi-cspi-docs.sgml:
209 Added entities for Document and StreamableContent interfaces.
211 * docs/reference/cspi/at-spi-cspi-sections.txt:
212 Added some docs that were present inline but not getting
215 2006-07-31 Bill Haneman <bill.haneman@sun.com>
218 (impl_getRangeExtents): Use the atk_text_get_range_extents
219 API instead of looping over character bounds, now that
221 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
222 (_spi_text_bounds_contain): Remove, not needed anymore.
223 (_spi_text_rect_union): Remove, not needed anymore.
225 2006-07-31 Bill Haneman <bill.haneman@sun.com>
227 * atk-bridge/bridge.c:
228 (spi_atk_emit_eventv): Fix the CORBA_free call which was
229 causing 64-bit troubles and memory leaks.
230 Special thanks to Alexander Larsson who finally seems to
231 have tracked down the problem, not just here but in
235 (spi_init_any_object): Make sure we copy the CORBA value
236 when initializing an object for passing as a CORBA_Any.
239 2006-07-21 Bill Haneman <billh@gnome.org>
241 * idl/Accessibility.idl:
242 Reverted pragma changes, this broke the build in some envs
243 including the Debian team's build and some tinderbox builds.
245 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
248 Revved to 1.7.10, and edited the Xevie check (bug #319994).
250 * idl/Accessibility.idl:
251 Reworked inclusion of Bonobo_Unknown.idl, to
252 avoid double-linking libs in the Bonobo environment.
253 Thanks to Michael Meeks for the workaround, see bug #313122.
255 * registryd/deviceeventcontroller.c:
256 (spi_controller_notify_keylisteners):
257 Set the SPI_NUMLOCK_MASK bit if the modifier
258 corresponding to the conceptual numlock state is set.
261 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
263 * idl/Accessibility_Selection.idl:
264 (deselectChild): New method.
266 * libspi/selection.c:
267 (impl_deselectChild): Implement the new IDL method.
270 (AccessibleSelection_deselectChild): Added new method.
272 * cspi/spi_selection.c:
273 (AccessibleSelection_deselectChild): New method implemented.
275 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
277 * cspi/bonobo/cspi-bonobo.c:
278 (cspi_init): Replace g_error with g_warning, prevent
279 SEGV if the registry cannot be activated. Bug #346393.
281 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
283 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
285 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
286 2006-07-12 Ariel Rios <arios@us.ibm.com>
290 * idl/Accessibility_Table.idl:
291 (getRowColumnExtentsAtIndex): New method for getting
292 selection status and extents in one API call.
295 (impl_getRowColumnExtentsAtIndex): Implementation of
297 (spi_table_class_init): Add above to epv.
301 (AccessibleTable_getRowColumnExtentsAtIndex): New
302 method, retrieves selection status and row/col extents
303 for a table cell in a single API call.
305 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
306 2006-07-12 Ariel Rios <arios@us.ibm.com>
308 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
311 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
312 New bindings for new methods defined in idl and libspi.
315 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
316 Added prototype functions.
319 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
321 (spi_text_class_init): Added previous methods.
324 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
325 * libspi/spi-private.h: Corrections.
327 2006-06-29 Bill Haneman <bill.haneman@sun.com>
329 Added Document interface (see bug #326520),
330 with work from Ariel Rios <arios@us.ibm.com>.
332 * configure.in: Bump to 1.7.8.
334 * libspi/Makefile.am: Added document.[ch] to sources
337 (SpiDocument, SpiDocumentClass):
338 New interface implementation.
339 (spi_document_get_type, spi_document_construct)
340 (spi_document_interface_new): New methods added.
341 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
342 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
343 Added macros for SpiDocument
347 (spi_document_interface_new): Get a
348 new document interface. New.
349 (get_document_from_servant): Get an AtkDocument from servant New.
350 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
351 Implementation of methods defined on idl.
352 (spi_document_class_init, spi_document_init)
353 Init methods for SpiDocument. new
355 * idl/Accessibility.idl: Added Accessibility_Document.idl.
357 * cspi/Makefile.am: Added spi_document.c to sources.
359 * cspi/spi_document.c:
360 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
361 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
362 (AccessibleDocument_getAttributes): Bindings for methods defined
365 * cspi/spi_accessible.c:
366 (Accessible_isDocument, Accessible_getDocument) New.
368 (Accessible_isDocument, Accessible_getDocument)
369 (AccessibleDocument_ref, AccessibleDocument_unref)
370 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
371 (AccessibleDocument_getAttributes): Bindings added.
373 * idl/Makefile.am: Added Accessibility_Document.idl to
376 2006-06-29 Bill Haneman <bill.haneman@sun.com>
378 * idl/Accessibility_Document.idl: New interface
379 for complex documents. First stage of fix for RFE
382 2006-06-27 Bill Haneman <bill.haneman@sun.com>
384 * libspi/streamablecontent.c:
385 (impl_content_stream_close):
386 Unref the GIOChannel on close.
388 2006-06-23 Bill Haneman <bill.haneman@sun.com>
390 * idl/Accessibility_Role.idl:
391 * libspi/accessiblerole.c:
392 * cspi/spi_accessible.c: Added ROLE_LINK,
393 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
394 Bug #345758 and bug #140635.
397 2006-06-22 Bill Haneman <bill.haneman@sun.com>
401 * idl/Accessibility_StreamableContent.idl:
402 Fix derivation of StreamableContent and ContentStream.
404 * cspi/spi_streamablecontent.c:
405 (accessible_content_stream_client_read):
406 Fix the datatype of the content stream used.
407 Interpret short reads as EOF, and stop trying to
408 read when we've fulfilled the request.
409 (AccessibleStreamableContent_getContentTypes):
410 Use g_strdup, not CORBA_string_dup, for the strings.
411 (AccessibleStreamableContent_open):
412 Correctly use the new getStream method for opening,
413 not the deprecated getContent method.
414 Use the object reference as the stream hash key.
415 Make note of the 'one stream per client per streamable'
416 limitation in the docs.
419 Add streamablecontent.h to the list of #includes.
421 * libspi/streamablecontent.c:
422 (impl_content_stream_read): Initialize the GError.
423 Allocate the incoming buffer if reading a fixed length of
424 data. Use g_memmove instead of memcpy.
425 (impl_accessibility_streamable_get_content_types):
426 Init typelist->_maximum. Only allocate the buffer if
427 there is a non-zero number of content types available.
428 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
430 * libspi/streamablecontent.h:
431 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
434 (SPI_IS_VALUE): Fix a typo in this macro too.
436 2006-06-16 Bill Haneman <bill.haneman@sun.com>
440 * idl/Accessibility_StreambleContent.idl:
441 Deprecate the Bonobo_Stream-based methods in favor of
442 a self-contained "ContentStream" interface. This should
443 allow us to remove BonoboStream dependencies entirely, since
444 there were no non-NIL implementations of the old methods anyway.
445 (ContentStream): New interface.
446 (ContentStream::SeekType): Enum.
447 (ContentStream::seek): New.
448 (ContentStream::read): New.
449 (ContentStream::close): New.
450 (getContent): Deprecate.
451 (getURI): New method, returns a URI pointing to the content, if available.
453 * libspi/streamablecontent.c:
454 (SpiContentStream): Internal object type definition used to
455 implement Accessibility::StreamableContent::ContentStream via
456 AtkStreamableContent's GIOChannel back-end.
457 (spi_content_stream_new, spi_content_stream_dispose): See above;
459 (impl_content_stream_seek, impl_content_stream_read):
460 (impl_content_stream_close): New, implementations of
462 (impl_accessibility_streamable_get_stream): Implement the
463 public method Accessibility::StreamableContent::getStream.
464 (impl_accessibility_streamable_get_uri): Implement the
465 public method Accessibility::StreamableContent::getURI.
467 * cspi/spi_streamablecontent.c:
468 (accessible_bonobo_stream_client_seek): Replaced by
469 (accessible_content_stream_client_seek).
470 (accessible_bonobo_stream_client_read): Replaced by
471 (accessible_content_stream_client_read).
472 (AccessibleStreamableContent_open):
473 (AccessibleStreamableContent_seek):
474 (AccessibleStreamableContent_read):
475 (AccessibleStreamableContent_close): Use the new 'getStream'
476 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
478 2006-06-15 Bill Haneman <bill.haneman@sun.com>
480 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
481 remove from other .idl files (except LoginHelper).
484 2006-06-14 Bill Haneman <bill.haneman@sun.com>
486 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
489 * configure.in, */Makefile.am: mingw patch, modified from
490 original patch by yselkowitz. Bug #314216.
492 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
493 for completeness. Bug #163111.
495 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
496 * libspi/util.c, registryd/registry-main.c:
497 Fix guint/char* casts.
498 Patch from chpe, bug #333883.
500 2006-06-12 Bill Haneman <bill.haneman@sun.com>
502 * configure.in: Require atk-1.12.0, to pick up
503 new API. (bug #344412).
505 * libspi-1.0-uninstalled.pc.in:
507 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
508 Fix for #341488 from Samual Thibault.
510 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
511 Thanks to Brian Pepple.
513 2006-06-09 Bill Haneman <bill.haneman@sun.com>
516 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
517 New, missing implementations of attribute reading methods
520 * cspi/spi.h, spi_value.c:
521 (AccessibleValue_getMinimumIncrement): New methods wrapping
522 the (formerly unimplemented) property from Value.idl.
525 (impl_get_minimumIncrement): Implementation for retrieving
526 the minimum valuator increment, (formerly unimplemented).
529 2006-06-09 Bill Haneman <bill.haneman@sun.com>
531 * idl/Accessibility_State.idl:
532 Added STATE_VISITED (bug #338369).
534 * cspi/spi_accessible.c:
535 (spi_state_to_corba) Fixed marshalling of new statetypes.
538 (spi_init_state_tables, impl_getStates):
539 Fixed conversion of new statetypes to/from ATK.
541 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
543 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
544 definitions/conversions for new roles from ATK.
546 * idl/Accessibility_Relation.idl:
548 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
549 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
550 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
552 * libspi/accessible.c: Fixed marshalling of new role types from
555 2006-04-17 Matthias Clasen <mclasen@redhat.com>
557 * revert my previous change
559 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
561 * configure.in: Remove obssolete no_NO locale
562 * po/no.po: And the translation.
564 2006-04-05 Matthias Clasen <mclasen@redhat.com>
566 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
567 memory-management error that caused crashes on x86_64.
570 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
572 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
574 2006-03-27 Bill Haneman <bill.haneman@sun.com>
576 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
577 to strip "cspi_*" from the symbol table.
579 * cspi/spi_streamablecontent.c:
580 (get_streams): Make this method static.
583 (_cspi_exception_throw): rename to cspi_exception_throw,
584 so we can strip it with the rest...
587 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
589 2006-03-27 Bill Haneman <bill.haneman@sun.com>
591 Add doxygen-generated IDL docs to tarball, and enable
592 doxygen during build/install when available. Bug #301345.
594 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
596 * docs/reference/Makefile.am: Add idl to SUBDIRS.
598 * docs/reference/idl/Makefile.am: Optionally use
599 doxygen to create docs.
601 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
603 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
605 2006-03-20 Bill Haneman <bill.haneman@sun.com>
608 (impl_get_selected_rows): Don't free the selection if it's
609 empty or has not been assigned; init it to NULL so you can tell.
610 Also, allow for zero selected rows.
611 (impl_getSelectedColumns): Ditto. Bug #319088.
613 2006-03-11 Vincent Untz <vuntz@gnome.org>
615 Leak fix for bug #334217.
617 * libspi/application.c: spi_application_toolkit_event_listener():
618 don't duplicate the string we pass as an argument to
619 spi_init_any_nil() since spi_init_any_nil() already does it
620 * registryd/deviceeventcontroller.c:
621 (spi_dec_button_update_and_emit): ditto
622 (spi_dec_mouse_check): ditto
623 (spi_dec_emit_modifier_event): ditto
624 (spi_device_event_controller_forward_mouse): ditto
625 * registryd/registry.c:
626 (desktop_add_application): ditto
627 (desktop_remove_application): ditto
629 2006-02-20 Bill Haneman <billh@gnome.org>
631 * configure.in: Rev to 1.7.6.
633 Leak fixes for bug #331924.
635 * atk-bridge/bridge.c:
636 (spi_atk_bridge_init_base): Don't dup the string, it's already
637 been dup-ed. Fixes a leak.
638 (spi_atk_emit_eventv): Move the CORBA_free call here,
639 instead of spi_atk_state_event_listener; fixes another leak.
640 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
641 notifying the registry; fixes another leak.
643 * registryd/registry.c:
644 (registry_flush_event_queue): Free the CORBA_any when
645 flushing the event, not just the string. Fixes another leak.
646 (registry_queue_event): Free the CORBA_any when dropping
647 events on the floor; fixes another leak.
650 (spi_init_any_object, spi_init_any_nil):
651 Always set _release to TRUE. Fixes another leak.
653 2006-02-20 Bill Haneman <billh@gnome.org>
655 * configure.in: Rev to 1.7.5.
656 Reinstate localization of this module. Thanks for Rodney
657 Dawes for fixing my patch.
659 * registryd/Makefile.am: Remove Accessibility_Registry.server
660 from dist, since it needs to be re-created at configure time.
663 2006-01-31 Bill Haneman <billh@gnome.org>
665 * configure.in: Rev to 1.7.4 (to include build fix below).
667 * idl/Makefile.am: Include Selector.idl in dist.
671 (cspi_internal_event_get_object): Handle case where
672 "object" isn't present, i.e. CORBA_TC_Object doesn't match
673 the EventDetails data.
674 (cspi_internal_event_get_text): Handle NULL string.
675 (cspi_internal_event_get_rect): Handle missing/empty rect
676 data, Accessibility_TC_RectBounds doesn't match any_data.
678 2006-01-30 Bill Haneman <billh@gnome.org>
682 * atk-bridge/bridge.c:
683 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
684 interface and use that when instantiating a new source
685 accessible. Better fix for bug #321814.
687 2006-01-27 Bill Haneman <billh@gnome.org>
689 * idl/Accessibility_Selector.idl: Added to the cvs repository.
691 * configure.in: Revved to 1.7.3.
693 2006-01-17 Bill Haneman <billh@gnome.org>
695 * configure.in: Revved to 1.7.2, re-dist to include docs.
697 2006-01-09 Bill Haneman <billh@gnome.org>
699 * configure.in: Removed po/Makefile.in inclusion, we do not need
702 * idl/Accessibility.idl: Improved documentation here, and for all
703 IDL in the 'GNOME::Accessibility' namespace.
705 * idl/Accessibility_Accessible.idl:
706 (LOCALE_TYPE): Added enum.
707 (AttributeSet): New, for returning multiple name/value attribute pairs.
708 (RoleSet): New, sequence of Roles, to be used in upcoming
710 (getAttributes): New API, allows retrieval of name/value pair
711 annotations for all kinds of Accessible objects. C.f.
712 Text:getAttributes, which is only for typographic/textual/semantic tags in
714 (getApplication): New, retrieves the host/containing Application
715 instance for an object (without having to walk up the whole tree).
717 * idl/Accessibility_Component.idl:
718 (getAlpha): New method, returns the alpha blending (aka 'opacity')
719 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
722 * idl/Accessibility_Event.idl:
723 (EventDetails): New struct definition, for encapsulating
724 commonly-queried information about emitted events. The use of
725 this structure in emitted events (in the 'any' member of
726 Accessibility_Event) should greatly reduce the number of
727 client-server roundtrips necessary.
729 * idl/Accessibility_Image.idl:
730 (imageLocale): New, a readonly attribute indicating the POSIX
731 LC_MESSAGES locale of the image and associated Alt/descriptive
734 * idl/Accessibility_Relation.idl:
735 (RELATION_PARENT_WINDOW_OF): Include, as complement to
738 * idl/Accessibility_Role.idl:
739 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
740 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
741 complex document and form support.
743 * idl/Accessibility_State.idl:
744 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
745 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
746 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
747 for support of complex documents and forms.
749 * idl/Accessibility_StreamableContent.idl:
750 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
751 allow old bonobo-stream interfaces to be deprecated in the next
754 * idl/Accessibility_Text.idl:
755 (getAttributeValue): New method, allows query-by-name of single
758 * libspi/accessible.c:
759 Added support for new roles. Implemented new methods
760 (impl_accessibility_accessible_get_application): New
761 (impl_accessibility_accessible_get_attributes): New
763 * libspi/component.c:
764 (impl_accessibility_component_get_alpha): New.
767 (impl_accessibility_image_get_locale): New.
769 * libspi/relation.c: Added support for new relation type.
771 * libspi/stateset.c: Added support for new state types.
774 (impl_getAttributeValue): New.
777 New prototypes for private methods
779 spi_init_any_object, spi_init_any_string,
782 * libspi/spi_event.c:
783 Use EventDetails in the event emission methods.
785 * cspi/spi-private.h:
786 (cspi_role_from_spi_role): Expose this adapter method, since
787 we need it in the bridge (see below).
790 (AccessibleEvent_getSourceName):
791 (AccessibleEvent_getSourceRole):
792 (AccessibleEvent_getSourceApplication):
793 (AccessibleEvent_getSourceDetails):
794 New methods for interrogating/demarshalling
795 event details (i.e. source's accessible name, role,
798 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
799 Make use of the new EventDetails struct in events, if present.
800 (AccessibleEvent_getSourceName)
801 (AccessibleEvent_getSourceRole)
802 (AccessibleEvent_getSourceApplication)
803 (AccessibleEvent_getSourceDetails): Implement the newly exposed
805 (Accessible_getAttributes): New, wraps
806 Accessibility_Accessible_getAttributes.
807 (Accessible_getHostApplication): New, wraps
808 Accessibility_Accessible_getApplication.
811 (AccessibleImage_getImageLocale): New wrapper for
812 Accessibility_Image_get_imageLocale.
814 * cspi/spi_component.c:
815 (AccessibleComponent_getAlpha): New wrapper for
816 Accessibility_Component_getAlpha.
818 * atk-bridge/bridge.c:
819 Use new prototyped for init_any methods.
820 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
821 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
822 (spi_atk_bridge_init_base): Wrappers
823 for spi_init_any_* methods, due to refactor; include extended
824 information in the Accessibility_EventDetails struct, for instance
825 accessible-name, Role, and containing Application.
827 * registryd/registry.c:
828 Use new event emission (with EventDetails).
830 * registryd/deviceeventcontroller.c:
831 Use new event emission (with EventDetails).
833 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
835 * configure.in: Generate po/Makefile.in
836 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
837 * cspi/spi_streamablecontent.c:
838 (accessible_bonobo_stream_client_seek),
839 (AccessibleStreamableContent_seek): Remove unused vars.
840 * libspi/application.c: Missing header.
841 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
842 * login-helper/login-helper.c: (login_helper_finalize),
843 (login_helper_init): Remove unused stuff
844 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
845 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
846 and surround some with #ifdef GRAB_BUTTON.
847 * test/event-listener-test.c: (main), (report_event),
848 (report_caret_event), (report_detail_event),
849 (report_detail1_event), (report_bounds_event), (report_text_event),
850 (report_text_selection_event),
851 (report_active_descendant_changed_event),
852 (report_children_changed_event), (report_name_changed_event),
853 (report_description_changed_event), (report_parent_changed_event),
854 (report_window_event), (report_table_summary_event),
855 (report_table_header_event), (report_table_caption_event),
856 (report_table_row_description_event),
857 (report_table_column_description_event), (timing_test_event):
858 Remove a bunch of unused variables and fix a slew of format specifiers
859 * test/key-listener-test.c: (report_all_key_event): Format specifier
860 * test/keypad-test.c: (print_key_event): Same
861 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
863 * test/screen-review-test.c: (main), (print_chunk_debug),
864 (review_buffer_get_text_chunk), (debug_chunk_list),
865 (string_guess_clip), (text_chunk_get_clipped_string),
866 (text_chunk_list_to_string), (get_screen_review_line_at):
867 Remove unused variables and fix format specifiers.
868 * test/simple-at.c: (report_text_event): Format specifier fix.
869 * test/stress-test.c: (main): Remove unused var.
871 2005-12-29 Abel Cheung <maddog@linuxhall.org>
873 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
874 (yes I know that's useless)
876 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
878 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
880 2005-11-17 Michael Meeks <michael.meeks@novell.com>
882 * atk-bridge/bridge.c (spi_atk_emit_eventv):
883 urgh-fix embarassing typo.
885 2005-11-16 Michael Meeks <michael.meeks@novell.com>
887 * atk-bridge/bridge.c (spi_atk_emit_eventv):
888 do a faster, less problematic _unref call on this local
889 object, rather than a slower (potentially cross-thread
890 complicated) CORBA call.
892 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
894 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
895 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
896 * registryd/deviceeventcontroller.c:
897 (spi_controller_notify_mouselisteners),
898 (impl_generate_keyboard_event):
899 * test/screen-review-test.c: (chunk_bounds_within):
900 * test/test-simple.c: (test_desktop): Remove some unused code
901 and fix compiler warnings. Closes bug #320049.
903 2005-10-27 Bill Haneman <bill.haneman@sun.com>
905 * registryd/deviceeventcontroller.c:
906 (spi_controller_notify_keylisteners): Check
907 to make sure the event listener has requested 'preemptive'
908 status before pre-empting an event.
910 2005-08-29 Bill Haneman <bill.haneman@sun.com>
912 * configure.in, README, NEWS: Release 1.6.5.
914 2005-07-25 Matthias Clasen <mclasen@redhat.com>
916 * test/window-listener-test.c: Fix a printf
917 format error. (#169453)
919 2005-07-15 Bill Haneman <bill.haneman@sun.com>
921 * tests/test-simple.c:
922 (key_listener_cb): Ensure that the keystring is dup'ed instead of
923 relying on the old string from the key event hanging around after
924 the event handler returns. Fixes broken 'make check'.
926 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
928 * Added Marathi (mr_IN) translations.
930 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
932 * cspi/bonobo/cspi-bonobo-listener.c:
933 (cspi_event_list_remove_by_cb): Fix the build.
935 2005-05-26 Michael Meeks <michael.meeks@novell.com>
937 * cspi/bonobo/cspi-bonobo-listener.c
938 (cspi_event_list_remove_by_cb): actually filter by callback.
940 2005-05-25 Bill Haneman <bill.haneman@sun.com>
942 * registryd/registry.c (remove_listener_cb):
943 Make deregistration filter rules match the event emission rules.
945 2005-05-25 Michael Meeks <michael.meeks@novell.com>
947 * registryd/registry.c (remove_listener_cb),
948 (impl_accessibility_registry_deregister_global_event_listener),
949 (impl_accessibility_registry_deregister_global_event_listener_all):
950 pass a closure to the remove callback to filter listeners more
951 accurately on remove.
953 2005-04-05 Bill Haneman <bill.haneman@sun.com>
955 * configure.in: Revved to 1.6.4.
956 Remember to put quotes around XEVIE_LIBS assignment.
957 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
960 * tests/event-listener-test.c: Tweaked the tests - more detail
961 from caret events, and some interrogation of AccessibleText APIs.
962 Commented-out the bounds-changed events by default, since they can
965 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
967 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
968 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
969 Same here. Closes bug #167806
971 2005-04-05 Bill Haneman <bill.haneman@sun.com>
973 * atk-bridge/bridge.c:
974 (spi_atk_bridge_signal_listener):
975 Free the any._value if any._release is TRUE,
976 since the ORB won't do it for us in this case
977 [because this method is not a skel].
980 2005-03-30 Steve Murphy <murf@e-tools.com>
982 * configure.in: Added "rw" to ALL_LINGUAS.
984 2005-03-29 Bill Haneman <bill.haneman@sun.com>
986 * configure.in: Improved check for HAVE_XEVIE, to detect
987 presence on XOrg, where -lXevie is a separate library.
989 2005-03-08 Bill Haneman <bill.haneman@sun.com>
991 * configure.in, NEWS, README: Revved to 1.6.3.
993 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
995 * configure.in: Added "xh" to ALL_LINGUAS.
997 2005-02-07 Bill Haneman <bill.haneman@sun.com>
999 * atk-bridge/bridge.c:
1000 (atk_bridge_init): Added missing NULL in g_strconcat(),
1001 also check for symlink before logging to
1002 insecure directory. Thanks to meissner@suse.de.
1004 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1006 * tests/login-helper-server-test.c: Add return call to main
1007 function. Patch from Chris Lahey. Fixes bug #165129.
1009 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1011 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1013 2004-12-09 Bill Haneman <billh@gnome.org>
1015 * registryd/registry-main.c:
1016 Added #define <string.h> for strrchr. (bug 160862).
1017 Thanks to Vincent Berger for catching.
1019 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1021 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1022 restart registry process if the registry process is found to have died
1023 and the current process is exiting.
1024 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1025 application if the registry process has died.
1026 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1027 does not return a registry object.
1028 (spi_atk_tidy_windows): Give up if the registry process has died.
1030 This fixes problems with hangs and crashes when logging out.
1032 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1034 * registryd/desktop.c: Add checking that we are not exiting before
1035 calling spi_desktop_remove_application in
1036 abnormal_application_termination. Fix for bug #152147.
1038 2004-12-02 Bill Haneman <billh@gnome.org>
1040 * configure.in, NEWS, README: Revved to 1.6.1.
1042 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1043 * atk-bridge/bridge.c:
1044 (atk_bridge_init): Save the pid when we start, to detect forks.
1045 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1046 if we're in a forked pid.
1048 2004-10-09 Bill Haneman <billh@gnome.org>
1050 * idl/Accessibility_LoginHelper.idl:
1051 Improved inline documentation.
1053 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1055 * configure.in: Added gl (Galician) to ALL_LINGUAS
1057 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1059 * libspi/accessible.c:
1060 (impl_accessibility_accessible_get_role_name),
1061 (impl_accessibility_accessible_get_local_role_name):
1062 NULL vs. 0 cleanups.
1063 * libspi/component.c:
1064 (impl_accessibility_component_get_accessible_at_point):
1066 * libspi/eventlistener.c: (spi_event_listener_new):
1068 * libspi/stateset.c: (impl_compare): More of the same
1069 * libspi/table.c: (impl_getRowDescription): Again.
1070 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1071 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1072 (impl_generate_keyboard_event): Same.
1073 * registryd/registry-main.c: (main): Same
1074 * test/event-listener-test.c: (test_exit): Same
1075 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1076 * test/keysynth-test.c: (test_key_synthesis): Same
1077 * test/login-helper-server-test.c: (main): Fix warning.
1078 * test/screen-review-test.c: (test_exit): Fix include.
1079 * test/simple-at.c: (simple_at_exit), (_festival_init):
1082 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1084 * configure.in, NEWS, README: Revved to 1.6.0.
1086 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1088 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1089 was missing the HTML docs.
1091 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1093 * configure.in: only cleanups:
1094 - better looking PKG_CHECK_MODULES() output,
1096 - declare in one common place required versions of other tools using
1099 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1101 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1102 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1103 required ATK version accordingly.
1105 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1107 * cspi/bonobo/cspi-bonobo.c:
1108 (cspi_display_name): Fix C99ism.
1109 * atk-bridge/bridge.c:
1110 (spi_display_name): Fix C99ism.
1111 Patch from Jens Granseuer, jensgr@gmx.net.
1113 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1115 * configure.in: Added "or" to ALL_LINGUAS.
1117 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1119 * configure.in, NEWS, README: Revved to 1.5.4.
1121 * registryd/registry-main.c:
1122 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1125 * cspi/bonobo/cspi-bonobo.c:
1126 (cspi_display_name): New convenience method, gets DISPLAY with
1127 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1128 (cspi_init): Set the activation env value above before getting
1131 * atk-bridge/bridge.c:
1132 (spi_display_name): Create the AT_SPI_DISPLAY activation
1133 environment for an app, based on the DISPLAY environment with the
1134 screen number stripped off.
1135 (atk_bridge_init): Allow redirection of error messages to a log.
1136 (spi_atk_bridge_get_registry): Call
1137 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1139 Fixes for bugs #149962, #136986, #144086.
1141 2004-08-16 Christian Rose <menthos@menthos.com>
1143 * configure.in: Added "bs" to ALL_LINGUAS.
1145 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1147 * configure.in: Added nb to ALL_LINGUAS.
1149 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1152 (SPI_init): Return error code '2' if the activated
1153 registry cannot be pinged. Fixes bug #147648.
1155 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1157 * registryd/deviceeventcontroller.c:
1158 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1159 rely on timer-poll instead, to avoid conflict with
1162 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1164 * configure.in: Revved to 1.5.3.
1166 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1168 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1170 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1172 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1174 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1176 * atk-bridge/bridge.c:
1177 (spi_atk_bridge_do_registration):
1178 Register with ATK for AtkComponent:bounds-changed events.
1179 (api_atk_bridge_signal_listener):
1180 Marshal the AtkRectangle info into the event notification
1181 for object:bounds-changed events.
1184 (spi_init_any_rect): New method, inits a corba struct of
1185 type Accessibility_BoundingBox from an AtkRectangle.
1187 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1190 (SPIRect): New struct definition.
1191 (SPI_freeRect): New declaration.
1192 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1195 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1196 implemented. Gets the bounding box data from the CORBA_any
1197 associated with a bounds-changed event notification.
1198 (cspi_internal_event_get_rect): New, used internally by above method.
1201 (SPI_freeRect): Implemented this new method, for freeing
1204 * test/event-listener-test.c:
1205 (main, report_bounds_event):
1206 Added a test for object:bounds-changed events.
1208 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1210 * test/login-helper-server-test.c:
1211 (main): Fix C99-ism. Thanks to Jens Granseuer.
1213 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1215 * libloginhelper-1.0.pc.in:
1216 * idl/Accessibility_LoginHelper.idl:
1217 * login-helper/Makefile.am:
1218 * login-helper/login-helper.[ch]:
1219 * test/login-helper-client-test.c:
1220 * test/login-helper-server-test.c: Added files missing from CVS.
1221 Files obtained from at-spi-1.5.2 tarball.
1223 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1225 * configure.in: Create login-helper/Makefile.
1226 Incremented micro version.
1228 * Makefile.am: Add login-helper subdir and pkgconfig data.
1230 * login-helper: New subdir.
1232 * libloginhelper-1.0.pc.in: New.
1234 * idl/Accessibility_LoginHelper.idl: New file, defines
1235 interface whereby authentication clients can identify agents which
1236 need access to services during the login process, e.g. screen lock
1239 * login-helper/Makefile.am : New.
1241 * login-helper/login-helper.[ch] : New, implementation of
1242 a LoginHelper base class. Services needing LoginHelper can subclass.
1244 * test/Makefile.am : Added test for login-helper, client and
1247 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1248 Use proper prefix in #include files.
1250 * test/login-helper-client-test.c: New.
1252 * test/login-helper-server-test.c: New.
1254 2004-05-27 Alexander Shopov <ash@contact.bg>
1256 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1258 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1260 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1261 is positive. This should make it easier to detect inapprorpiate unref
1264 2004-05-11 James Henstridge <james@daa.com.au>
1266 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1267 no-op and deprecated.
1269 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1271 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1273 2004-04-28 Bill Haneman <billh@gnome.org>
1275 * Makefile.am: Added --enable-gtk-doc to
1276 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1278 2004-04-19 Bill Haneman <billh@gnome.org>
1280 * configure.in: Revved to 1.5.1.
1282 * registryd/deviceeventcontroller.c:
1284 (DEControllerPrivateData): Added fields for
1285 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1286 (spi_dec_replace_map_keysym): New internal utility for
1287 replacing a keysym in the keymap - used to allow
1288 synthesis of individual characters which aren't in the
1290 (spi_dec_reset_reserved): New; resets the changed keysym value
1292 (keycode_for_keysym): We now try to deal with failed
1293 XKeysymToKeycode requests by changing a keymap value
1294 and returning a reserved keycode. We now take
1295 a DEController pointer as first arg.
1296 (spi_controller_register_with_devices): Call XkbGetMap with
1297 the XkbKeySymsMask. Find the highest keycode in the current
1298 keymap which doesn't have any grabs, and mark that one for
1299 temporary re-mapping when out-of-range KeySyms are synthesized.
1300 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1303 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1305 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1307 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1309 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1311 2004-03-24 Bill Haneman <billh@gnome.org>
1314 (AccessibleTable_addRowSelection),
1315 (AccessibleTable_addColumnSelection),
1316 (AccessibleTable_removeRowSelection),
1317 (AccessibleTable_removeColumnSelection):
1318 Add declarations for spi wrappers which were
1319 inadvertantly omitted. Fixes bug #133413.
1322 Revved to 1.5.0 (unstable series for GNOME 2.7).
1324 2004-03-24 Bill Haneman <billh@gnome.org>
1326 * atk-bridge/bridge.c:
1327 Bracketed some debug output in
1328 conditionals, to avoid printing it in normal use.
1331 * libspi/hyperlink.c:
1332 Don't cast 'object' to ATK_OBJECT when constructing
1333 an AtkAction interface for a hyperlink.
1334 See discussion in bug #120659.
1336 * test/key-listener-test.c:
1337 (report_all_key_event): Send output to stderr,
1338 not stdout, for consistency with the rest of the test callbacks.
1341 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1342 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1343 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1344 try incrementing the revision AFTER doing a dist, at least
1347 2004-03-22 Bill Haneman <billh@gnome.org>
1349 * configure.in: Revved to 1.4.0, libtool 9.14.9
1351 2004-03-17 Laszlo Peter <laca@sun.com>
1353 * libspi-1.0-uninstalled.pc.in: add idldir
1355 * cspi-1.0-uninstalled.pc.in: add idldir
1357 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1359 * configure.in: Added "en_GB" to ALL_LINGUAS
1361 2004-03-15 Bill Haneman <billh@gnome.org>
1363 * configure.in: Revved to 1.3.16,
1366 2004-03-15 Laszlo Peter <laca@sun.com>
1368 * libspi-1.0-uninstalled.pc.in: new file
1370 * cspi-1.0-uninstalled.pc.in: new file
1372 * configure.in: add the new pc files to AC_OUTPUT
1374 * Makefile.am: add the new pc files to EXTRA_DIST
1376 2004-03-12 Bill Haneman <billh@gnome.org>
1378 * atk-bridge/bridge.c:
1379 (spi_atk_bridge_key_listener):
1380 Make sure to return consumed=FALSE if snoop
1381 event is not dispatched to listener.
1384 2004-03-01 Bill Haneman <billh@gnome.org>
1386 * configure.in: Revved to 1.3.15,
1389 2004-03-07 Danilo Segan <dsegan@gmx.net>
1391 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1393 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1395 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1397 2004-03-01 Bill Haneman <billh@gnome.org>
1399 * configure.in: Revved to 1.3.14.
1402 (SPI_exit): Removed "bye-bye" exit message.
1403 Moved "leak" report to happen before the
1404 iteration over the leaked refs list.
1405 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1407 2004-02-24 Bill Haneman <billh@gnome.org>
1409 * configure.in: Revved to 1.3.13.
1411 * docs/reference/cspi/Makefile.am:
1412 Correct typo that was breaking the docs build.
1414 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1416 * autogen.sh: Require version 1.7 of automake.
1418 * configure.in: call GTK_DOC_CHECK([1.0])
1420 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1422 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1424 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1426 * test/Makefile.am: Remove use of CFLAGS.
1428 This fixes bug #132987.
1430 2004-02-11 Bill Haneman <billh@gnome.org>
1432 * reverted most of Tomasz' patch below, since it was breaking
1433 builds (see bug #134058).
1435 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1437 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1438 correct pass "make dist" (empty .. because seems no sach types in
1439 header files with gtk-doc markups).
1440 * docs/reference/cspi/Makefile.am, configure.in:
1441 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1442 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1443 * Makefile.am: added:
1444 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1445 for force correct pass generate documentation on "make distcheck".
1446 * libspi/Makefile.am: fixes for automake >= 1.6.
1447 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1448 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1451 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1453 * docs/reference/cspi/Makefile.am (install-data-local): Install
1454 index.sgml since the doc autobuilder on widget.gnome.org looks for
1457 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1459 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1462 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1464 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1466 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1468 * test/simple-at.c: Fixed null string problems that cause core
1469 dumping problems on Solaris.
1471 2004-01-12 Bill Haneman <billh@gnome.org>
1473 * configure.in: Incremented version to 1.3.11.
1475 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1477 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1478 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1481 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1483 * configure.in: Added "fa" to ALL_LINGUAS.
1485 2003-12-20 Arafat Medini <lumina@silverpen.de>
1487 * configure.in: Added "ar" to ALL_LINGUAS
1489 2003-12-16 Bill Haneman <billh@gnome.org>
1491 * registryd/registry-main.c:
1493 Set the reg_env DISPLAY variable before registering the
1494 activated registry service. Fixes bug #129479.
1496 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1498 * configure.in: Added "id" in ALL_LINGUAS
1499 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1501 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1503 * registryd/deviceeventcontroller.c (global_filter_fn):
1504 When an event is consumed discard any XEvents were added to
1505 the queue while dealing with the the event. This can happen if
1506 processing of the event takes a long time. Call XUngrabKeyboard
1507 if an event was discarded. This fixes bug $124837.
1508 Only call wait_for_release_event for a KeyPress.
1509 Use local variable display instead of spi_get_display().
1510 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1513 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1515 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1516 Allow for mask to contain values other than NumLock mask.
1519 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1521 * registryd/devieceventcontroller.c:
1522 (wait_for_release_event): Change first parameter from GdkEvent to
1524 (global_filter_fn); Correct call to wait_for_release_event.
1528 2003-12-08 Bill Haneman <billh@gnome.org>
1532 * registryd/ucs2keysym.c: New file.
1534 * registryd/deviceeventcontroller.c:
1535 (dec_keysym_for_unichar): Remove old partial implementation and
1536 replace with call to ucs2keysym(), which is much more complete.
1537 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1542 2003-12-05 Bill Haneman <billh@gnome.org>
1544 * configure.in: Version 1.3.9.
1546 * docs/reference/cspi/tmpl/spi_registry.sgml:
1547 Added reference to libspi/keymasks.h to the
1548 description of Registry queries: AccessibleKeyMaskType.
1551 2003-12-04 Bill Haneman <billh@gnome.org>
1553 Fix for bug #121974.
1555 * idl/Accessibility_Application.idl:
1556 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1557 setlocale's LC_TYPEs.
1558 (Accessibility::Application::getLocale): New method.
1559 Allows clients to query the locale, by type, of an app.
1562 * cspi/spi_application.c:
1563 (AccessibleApplication_getLocale): New method, wraps IDL above.
1565 * libspi/application.c:
1566 (spi_application_class_init): Init epv entry for getLocale.
1567 (impl_accessibility_application_get_locale): Impl for above.
1569 * test/test-simple.c:
1570 (test_application): Added assertion for getLocale, i.e.
1571 that the string from AccessibleApplication_getLocale (app, type)
1572 is the same as that from setlocale (type, NULL);
1574 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1576 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1577 the keyboard on a timeout intil the key state goes from pressed to
1578 released. Fixes bug #111429.
1580 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1582 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1583 root object so that it is present when a context menu in an
1584 out-of-process applet is popped up.
1585 (spi_atk_bridge_do_registration): Create acceessible application root
1586 object only if it does not exist.
1588 This fixes bug #125834.
1590 2003-12-01 Bill Haneman <billh@gnome.org>
1592 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1595 Added enum for AccessibleStreamableContentSeekType.
1596 (AccessibleStreamableContent_freeContentTypeList): New.
1598 * cspi/spi_streamablecontent.c:
1599 (accessible_bonobo_stream_client_seek): New private method.
1600 (AccessibleStreamableContent_seek): Implemented this method,
1601 using Bonobo_Stream_seek.
1602 (AccessibleStreamableContent_freeContentTypeList): New method
1603 for freeing the return value from
1604 AccessibleStreamableContent_getContentTypes.
1605 (stream_cache_item_free): Replaces stream_release; stop leaks.
1606 (stream_release): removed.
1607 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1608 free the memory properly.
1610 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1612 Fix for bug #116009.
1614 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1616 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1618 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1620 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1622 2003-12-01 Bill Haneman <billh@gnome.org>
1624 Fix for bug/rfe #127463.
1626 * idl/Accessibility_Accessible.idl:
1627 (getLocalizedRoleName): New.
1628 (unimplemented4): Removed (replaced by above).
1630 * libspi/accessible.c:
1631 (impl_accessibility_accessible_get_local_role_name): New.
1632 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1636 (Accessible_getLocalizedRoleName): New.
1638 * cspi/spi_accessible.c:
1639 (Accessible_getLocalizedRoleName): New.
1641 2003-12-01 Bill Haneman <billh@gnome.org>
1643 Fix for bug #118581.
1644 * idl/Accessibility_Text.idl:
1645 (getDefaultAttributes): New.
1646 (unimplemented4): Removed (replaced by above method).
1649 (impl_getDefaultAttributes): New method.
1650 (spi_text_class_init):
1651 initialize the get_default_attributes slot in the epv.
1654 (AccessibleText_getDefaultAttributes): New prototype.
1657 (AccessibleText_getDefaultAttributes): New method.
1659 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1661 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1662 write beyond the end of the table. Fixes bug #120473.
1664 2003-09-30 Christian Rose <menthos@menthos.com>
1666 * configure.in: Added "eu" to ALL_LINGUAS.
1668 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1670 * configure.in: ALL_LINGUAS: Added no.
1672 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1674 * configure.in: Added lt to ALL_LINGUAS.
1676 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1678 * atk-bridge/bridge.c:
1679 (atk_bridge_init): Register event listeners always even for
1680 out-of-process applet.
1681 (spi_atk_bridge_toplevel_added): Remove call to
1682 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1683 (spi_atk_bridge_toplevelk_removed): Remove call to
1684 spi_atk_deregister_event_listenersa as the listeners are now always
1686 (spi_atk_bridge_register_application): Remove call to
1687 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1689 This fixes bug #120991.
1691 * libspi/table.c (impl_getColumnDescription): Correct typo,
1692 pointed out by Bolian.Yin@sun.com.
1694 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1696 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1698 2003-09-08 Bill Haneman <billh@gnome.org>
1700 * configure.in: Revved to 1.3.7.
1702 This is the GNOME 2.4.0 release of at-spi.
1704 * docs/reference/cspi/Makefile.am:
1705 Removed spurious inclusion of 'index.sgml' in the
1706 html directory; this was breaking make distcheck and
1707 also some other build environments.
1709 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1711 * registryd/registry.[ch}:
1712 Add queue_handler_id and focus_object to SpiRegistry data structure.
1713 (registry_flush_event_queue): If event being discarded is
1714 "state-change:focused" store object as focus_object.
1715 (registry_start_queue): Remove queue handler and focus object
1717 (registry_discard_event): New function which discards a focus event
1718 if we had stored focus object in the registry.
1719 (registry_queue_event): Add new check that is_queueing is set as this
1720 function is reentrant.
1721 (registry_filer_event): Add call to registry_discard_event.
1723 This resolves issues raised in bug #108664.
1725 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1727 * configure.in: Added "bn" to ALL_LINGUAS.
1729 2003-09-04 Bill Haneman <billh@gnome.org>
1731 * cspi/spi_event.c: Documentation improvements for
1732 (SPI_registerAccessibleKeylistener).
1734 * docs/reference/tmpl/spi_registry.sgml:
1735 Documentation improvements for SpiAccessibleKeylistenerCB.
1737 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1739 * configure.in: Added "ro" to ALL_LINGUAS.
1742 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1744 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1745 not decremented to zero. Fixes bug #120725.
1747 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1749 * configure.in: Added "ja" to ALL_LINGUAS.
1751 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1753 * configure.in: Added "is" to ALL_LINGUAS.
1755 2003-08-22 Christian Rose <menthos@menthos.com>
1757 * configure.in: Added "nl" to ALL_LINGUAS.
1759 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1761 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1762 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1764 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1766 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1767 type for unspecified exception.
1768 * cspi_streamablecontect): Add include of string.h for memcpy.
1769 (stream_release): Correct call to bonobo_object_release_unref
1770 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1771 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1772 argument of _cspi_expection_throw.
1773 * libspi/hyperlink.c: Add include of libspi/action.h:
1774 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1775 * libspi/streamablecontent.c: add include of libspi/component.h.
1776 * regisrtyd/deviceeventcontroller.c:
1777 (spi_dec_translate_mask): Removed unused variable priv.
1778 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1779 * registryd/registry.c:
1780 (registry_filter_event): Remove unused variable queue_is-empty.
1781 (impl_registry_notify_event): Use correct modifier in fprintf call.
1783 This fixes compiler warnings reported in bug #120220.
1785 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1787 * registryd/registryd.c: Remove this file.
1789 2003-08-17 Sanlig Badral <badral@openmn.org>
1791 * configure.in: Added mn to ALL_LINGUAS.
1793 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1795 * configure.in: Added et to ALL_LINGUAS.
1797 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1799 * test/event-listener-test.c: Change active-descendant to
1800 active-descendant-changed.
1802 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1804 * configure.in: Added "fi" in ALL_LINGUAS.
1806 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1808 * configure.in: Added "hi" in ALL_LINGUAS.
1810 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1812 * configure.in: Revved to 1.3.6.
1816 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1818 * registryd/deviceeventcontroller.c
1819 (spi_device_event_controller_object_finalize): Fix typo in previous
1822 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1824 * registryd/deviceeventcontroller.c
1825 (spi_device_event_controller_object_finalize): Fix build on
1826 systems without XEvIE.
1828 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1830 * acconfig.h, configure.in, registryd/Makefile.am,
1831 registryd/devicecontoller.[ch]: Add XEViE support.
1833 2003-08-06 Wang Jian <lark@linux.net.cn>
1835 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1837 2003-08-06 Metin Amiroff<metin@karegen.com>
1839 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1841 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1843 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1844 MODIFIER_ALT in correct place.
1846 This fixes part of bug #118114.
1848 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1850 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1852 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1854 * configure.in: Added "ko" to ALL_LINGUAS.
1856 2003-07-28 Ole Laursen <olau@hardworking.dk>
1858 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1860 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1862 * configure.in: Added "sq" to ALL_LINGUAS.
1864 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1866 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1868 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1870 * configure.in: updated ALL_LINGUAS list
1872 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1874 * configure.in: Added Belarusian to ALL_LINGUAS.
1876 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1878 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1880 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1881 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1883 This fixes bug #116949.
1885 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1887 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1888 Correct CSPI to SPI in function documentation.
1890 This fixes bug #118054.
1892 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1894 * configure.in: Added Russian to ALL_LINGUAS.
1896 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1898 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1900 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1902 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1904 2003-07-10 Joel Brich <joel.brich@laposte.net>
1906 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1908 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1910 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1912 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1914 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1915 resources allocated for AccessibleEvent. See cspi_event().
1917 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1918 static variable streams to NULL.
1920 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1921 Update so that AcessibleEvent_ref will work.
1923 This fixes bug #116624.
1925 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1927 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1929 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1931 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1933 2003-07-02 Christian Neumair <chris@gnome-de.org>
1935 * configure.in: Added "de" (German) to ALL_LINGUAS.
1937 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1939 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1941 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1943 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1945 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1947 * configure.in: Added "pl" to ALL_LINGUAS.
1949 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1951 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1953 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1956 (get_action_from_servant):
1957 Removed assertion that action is implemented on an AtkObject.
1959 * libspi/hyperlink.c:
1960 (spi_hyperlink_new):
1961 Aggregate AccessibleAction interface on the hyperlink object if
1962 the object implements AtkAction. (This convention is used in
1965 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1967 * configure.in: Revved to 1.3.5.
1969 * registryd/Accessibility_Registry.server.in.in:
1970 Marked up appropriate strings for translation.
1972 * atk-bridge/bridge.c: Marked a couple of
1973 user-visible warnings for translation. Questionable
1974 whether they are really useful, but possibly so.
1977 2003-06-28 Christian Rose <menthos@menthos.com>
1979 * configure.in: Added "sv" to ALL_LINGUAS.
1981 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1983 * registryd/registry.c:
1984 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1985 (registry_defer_on_event): Defer focus: events, this is an
1986 improvement to the patch for bug #108664.
1988 * TODO: Update with 2.4/"Dev Complete" items.
1990 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1992 * atk-bridge/bridge.c:
1993 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1994 looks up signals once.
1995 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1996 if doing registration.
1997 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1998 when doing registration.
2000 This fixes bug #115014.
2002 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2004 * atk-bridge/bridge.c:
2005 (atk_bridge_init): Add signal handler for children-changed:remove on
2006 root when in a BonoboComponent.
2007 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2008 for first toplevel only other incrememt variable toplevels.
2009 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2010 application and remove listeners.
2011 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2013 (spi_atk_deregister_event_listeners): New function which removes
2015 (reinit_register_vars): New fuction which reinitializes variables.
2017 This fixes bug #111578.
2019 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2021 * configure.in: version 1.3.4.
2023 * cspi/spi_accessible.c:
2024 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2027 2003-06-13 Michael Meeks <michael@ximian.com>
2029 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2031 * cspi/spi_main.c (cspi_peek_ev): impl.
2033 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2035 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2037 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2039 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2040 SPI_ROLE_AUTOCOMPLETE
2042 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2044 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2045 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2047 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2049 * libspi/streamablecontent.h:
2050 * libspi/streamablecontent.c:
2051 New files, provide implementation/wrappers for
2052 Accessibility_StreamableContent.
2054 * cspi/spi_streamablecontent.c:
2055 Connected the C wrappers to the libspi C bindings.
2056 (AccessibleStreamableContent_close): New method.
2059 (AccessibleStreamableContent_close): New method, needed
2060 since we have an "open, [seek], read, close" model in cspi.
2062 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2064 Fix for #108664; Padraig's revision of my original patch.
2066 * registryd/registry.h:
2067 Added event queue list, is_queuing, and exit_notify_timeout
2068 to the registry struct.
2070 * registryd/registry.c:
2071 (registry_init): Initialize new struct from registry.h.
2072 (impl_registry_notify_event):
2073 Filter events before notifying, in case some need to be
2075 (registry_filter_event): New,
2076 we defer certain incoming events (for instance
2077 window:deactivate) because we may wish to hide
2078 or reject them based on pending events. This is
2079 mostly a workaround for bug #108664.
2080 (registry_queue_event, registry_start_queue): New.
2081 (registry_defer_on_event): Test event to see if it
2083 (registry_reset_on_event): Returns TRUE if the
2084 event should cause a queue reset.
2085 (registry_discard_on_event): Returns TRUE if the event
2086 should cause the previous queue contents to be discarded.
2087 (registry_timeout_flush_queue): Flushes the pending event
2088 queue if no reset/discard-triggering events have come in
2089 within the timeout period.
2090 (registry_emit_event): New.
2091 (registry_clone_notify_context): New, used when queueing the
2092 event notify contexts.
2094 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2096 * configure.in: Version revved to 1.3.2, lt 0.9.2
2097 Incremented ATK required version to 1.3.4.
2099 * cspi/spi_registry.c:
2100 (SPI_generateKeyEvent):
2101 We now pass the keystring along if it's non-null.
2103 * registryd/deviceeventcontroller.c:
2104 (keysym_mod_mask): New method, returns modifier mask
2105 required to generate a keysym from a given keycode.
2106 (dec_synth_keysym): New method.
2107 (dec_synth_keystring): New method.
2108 (dec_get_modifier_state): New method.
2109 (dec_lock_modifiers): New
2110 (dec_unlock_modifiers): New.
2111 (dec_keysym_for_unichar): New, rather brute-force
2112 conversion from UCS-4 to X KeySyms. Only works for
2113 Latin at the moment, with partial implementations for
2114 Greek, Hebrew, and (incomplete) Katakana.
2115 (impl_generate_keyboard_event): Now implement
2116 "KEYSTRING" synthesis and implement "KEYSYM"
2118 (keycode_from_keysym): Improved, passes a returned
2119 modmask value now if the corresponding param is non-NULL.
2121 Fixes bugs #92143 and #109776.
2124 * test/keysynth-test.c:
2125 New test program for key synthesis, to confirm fixes for
2129 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2131 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2133 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2134 Add line for RELATION_POPUP_FOR
2136 * docs/reference/cspi/tmpl/spi_relation.sgml:
2137 Add relation SPI_RELATION_POPUP_FOR
2139 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2140 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2142 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2144 * libspi/relation.c (spi_init_relation_type_table):
2145 Add line for RELATION_POPUP_FOR
2147 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2149 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2150 there are still windows which have not been deleted and emit
2151 window:deactivate, if necessary and window:destroy events.
2152 This fixes bug #114370. The change on June 5th was not correct.
2154 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2156 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2159 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2161 New methods for client exception handling and interception.
2162 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2163 (SPI_exceptionHandlerPop): You guessed it...
2164 (SPI_getSourceType): Return the type of object which offended.
2165 (SPI_getExceptionCode): Return an enum code telling, possibly,
2166 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2167 (SPIAccessibleException_getSource): get the source object for
2168 exceptions that come from Accessibles, if SPIExceptionSourceType is
2169 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2170 (SPIException_getDescription): New, returns a string description of
2171 the problem. [Not yet a stable ABI, strings are not frozen]
2173 * cspi/spi-private.h:
2174 Added implementation details of opaque SPIException
2178 Implementations of above. Also
2179 (_cspi_exception_throw): new private method that
2180 dispatches exceptions to handlers, called from cspi-bonobo.c
2182 * cspi/bonobo/cspi-bonobo.c:
2183 (cspi_check_ev): call _cspi_exception_throw.
2184 Don't print a warning message if the exception has been
2185 handled by _cspi_exception_throw.
2187 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2189 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2190 there are still windows which have not been deleted and emit
2191 window:deactivate, if necessary and window:destroy events.
2192 This fixes bug #114370.
2194 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2197 (cspi_accessible_is_a): Make non-fatal
2198 if the object reference is dead.
2200 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2202 * cspi/spi_main.c: #include <stdio.h>
2203 * test/simple-at.c: ditto
2204 * test/event-listener-test.c: ditto
2205 * test/screen-review-test.c: ditto
2207 2003-05-30 Michael Meeks <michael@ximian.com>
2209 * test/test-simple.c (main): use CORBA_ORB_perform_work
2210 instead of an unnecessary linc_ call.
2212 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2214 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2215 Add SPI_STATE_INDETERMINATE.
2217 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2220 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2222 * libspi/stateset.c (init_state_type_tables): Add support for
2225 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2227 * configure: Update versions of atk and gail required.
2228 This fixes bug #113268.
2230 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2232 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2234 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2236 * libspi/Makefile.am:
2237 Ensure headers are generated before being used by c sources.
2239 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2242 Simplified lt versioning rules.
2243 Incremented version to 1.3.0, to indicate that we're on the
2244 unstable branch now.
2246 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2248 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2249 Add MKDB_OPTIONS=--outtput-format=xml
2251 * docs/reference/cspi/at-spi-cspi-docs.sgml
2252 docs/reference/idl/at-spi-idl-docs.sgml:
2253 Convert to Docbook XML.
2255 This fixes bug #111793.
2257 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2259 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2260 AcccessibleKeyEventType, AccessibleKeyMaskType.
2262 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2264 * cspi/state-types.h: Add documentation for AccessibleState.
2266 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2267 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2268 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2269 AccessibleComponentLayer.
2271 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2274 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2276 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2277 Accessible. Add description of AccessibleEvent,
2278 AccessibleEventListenerCB.
2280 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2283 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2284 documentation. Add description of AccessibleKeystrokeListenerCB,
2285 AccessibleKeyEventMask, AccessibleModifierMaskType,
2286 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2287 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2289 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2292 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2295 This fixes bug #104730.
2297 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2299 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2300 Set is_text field of Accessibility_DeviceEvent data structure.
2302 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2303 is-text field of AccessibleDeviceEvent data structure.
2305 This addresses part of bug #108666.
2307 * registryd/devcieeventcontroller.c: Unset debug option.
2309 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2311 * cspi/accessible.c:
2312 (cpi_initial_relation_type_table): New function which initializes
2313 mapping between Accessibility_RelationType and AccessibleRelationType.
2314 (cspi_relation_type_from_spi_relation_type): New function which
2315 translates an Accessibility_RelationType into an AccessibleRelationType.
2316 (AccessibleRelation_getRelationType): Use
2317 cpi_relation_type_get_spi_relation_type to return correct value.
2318 (spi_state_to_corba): Return correct type for default case.
2320 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2321 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2323 * cspi/cspi-bonobo-listener.c:
2324 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2327 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2328 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2329 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2330 libspi/image.c, libspi/listener.c, libspi/selection.c,
2331 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2332 registryd/desktop.c, registryd/registry.c:
2333 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2335 * libspi/eventlistener.c
2336 Remove semicolon after BONOBO_TYPE_FUNC.
2338 * libspi/relation.c:
2339 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2340 (spi_init_relation_type_table): Initialize using correct type.
2342 * registryd/desktop.c:
2343 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2344 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2345 of Accessibility_KeyEventType.
2347 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2350 * tests/simple-at.c, tests/screen-review-test.c:
2351 Add include for <strings.h>.
2353 * tests.stress-test.c:
2354 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2356 These changes fix compiler warnings when using FORTE compiler on
2357 Solaris; fixes bug #107479.
2360 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2363 * configure.in: revved to 1.1.10
2365 * libspi/keymasks.h:
2366 (SPI_KEYMASK_NUMLOCK): Added.
2368 * registryd/deviceeventcontroller.c:
2369 (spi_key_event_matches_listener): AND with a smaller
2370 bitmask (as we should).
2371 (spi_dec_translate_mask):
2372 New method, sets the virtual NumLock modifier bit
2373 if numlock is on. Eventually it can handle other virtual
2374 modifier bits if needed, or other marshalling from
2375 at-spi modifier masks to platform (X) masks.
2376 (spi_dec_key_listener_new):
2377 Call spi_dec_translate_mask to set up virtual mod bits
2378 in the 'mask' field when creating a new listener struct.
2379 (spi_dec_emit_modifier_event):
2380 Set the virtual (i.e. NumLock) bits before emitting event.
2381 (spi_controller_register_with_devices):
2382 Query for the NumLock modifier 'physical' bit if Xkb is
2383 present, for use in above methods.
2387 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2389 * registryd/deviceeventcontroller.c:
2390 (spi_keystroke_from_x_key_event):
2391 Instead of checking to see if the keysym is
2392 printable, check the string from XLookupString
2393 if available, get the first unicode character from it,
2394 and call g_unichar_isprint to determine whether the
2395 is_text flag should be TRUE or FALSE.
2399 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2401 * atk-bridge/bridge.c: Add support for extended events
2402 * cspi/spi_event.c: Add documentation and implementation for
2404 * tests/event-listener-test.c: Add tests for extended events.
2406 This fixes bugs #100424 and #100426.
2408 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2410 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2411 of LT_CURRENT. This fixes bug #89350.
2413 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2415 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2416 number of signal parameter values before accessing them. This fixes
2419 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2421 * configure.in: Fixed duplicate inclusion of -lspi.
2422 * branched for gnome-2-2/HEAD.
2423 [created tag "gnome-2-2"]
2425 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2427 * configure.in: 1.1.9 release.
2430 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2432 [needed by GOK, to fix bugs 107985 and 107988]
2433 * registryd/deviceeventcontroller.c:
2434 (spi_dec_clear_unlatch_pending):
2435 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2436 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2437 (spi_dec_init_mouse_listener):Emit warning if mouse button
2439 (spi_device_event_controller_forward_mouse_event):
2440 Removed unnecessary parens from a conditional.
2441 (global_filter_fn):Added TODO comment.
2442 (impl_generate_keyboard_event):
2443 Cancel a pending relatch if a 'delatching' key was
2446 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2448 * atk-bridge/bridge.c:
2449 Change atk_signal_child_changed to atk_signal_children_changed.
2450 Reorganize code in spi_atk_bridge_signal_listener().
2452 * test/event-listener-test.c:
2453 Add children_changed_listener and report_children_changed_event()
2454 to test AccessibleChildEvent_getChildAccessible.
2456 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2458 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2459 g_strdup to CORBA_String_dup (bug #105291)
2461 * test/event-listener-test.c (report_text_event): Add call to
2464 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2466 * registryd/deviceeventcontroller.c:
2467 (spi_keystroke_from_x_key_event):
2468 Fix string and keysym return codes to match modifier state.
2471 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2473 * registryd/deviceeventcontroller.c:
2474 (spi_keystroke_from_x_key_event):
2475 Fix segv due to improper use of isprint(c). [bug #107254]
2477 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2480 (get_accessible_text_boundary_type):
2481 Move default return value to (new) default case in switch.
2482 (get_accessible_text_clip_type):
2483 Move default return value to (new) default case in switch.
2485 * libspi/application.c:
2486 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2487 Remove unused methods.
2488 (impl_accessibility_application_register_object_event_listener):
2489 Remove unused methods.
2492 Added #include of <math.h>.
2494 * registryd/deviceeventcontroller.c:
2495 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2496 we don't currently use this method.
2497 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2499 (impl_generate_key_event):
2500 Remove unused variables.
2501 (impl_generate_mouse_event):
2502 Initialize button to zero, just in case we get an invalid
2503 input. Added support for mouse buttons 4 and 5.
2504 (spi_device_event_controller_new):
2505 Removed unused variable declaration for 'private'.
2507 Added #include of <gdk/gdk.h>
2509 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2511 * configure.in: Update to work when X is not installed in expected
2512 location. Fixes bug #105836.
2514 * atk-bridge/bridge.c
2515 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2517 (spi_atk_register_event_listener): Add signal listener for
2519 (spi_atk_bridge_signal_listener): Event event when link-selected
2520 signal is emitted. (bug #104622)
2522 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2523 on returned string. (bug #105291)
2525 * test/event-listener-test.c: Add test for link-selected.
2527 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2529 * atk-bridge/Makefile.am: Correct typo in previous commit.
2531 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2533 * atk-bridge/Makefile.am: Allow for build directory to be different
2534 from source directory
2536 * registryd/Makefile.am: Allow for build directory to be different
2537 from source directory
2541 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2544 Fixed dependencies for libcspi so that libspi gets pulled in
2545 properly. Fixes 104741.
2549 Clean up inline docs a little.
2551 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2553 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2554 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2555 the AtkObject within an SpiDesktop.
2556 This addresses bug #101524.
2558 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2559 Remove call to gdk_init().
2561 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2562 so that Display is set when SpiDesktop is created.
2564 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2566 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2567 This fixes bug #102830.
2569 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2571 * test/test-simple.c: Update to take account of fact that GailButton
2572 now implements AtkText.
2573 (create_text_window): Set name on AtkObject for GtkEntry.
2574 (validate_accessible): Check accessible name before calling test_text().
2576 * libspi/Makefile.am: Fix problem with building outside of source
2577 directory. Bug #98120.
2579 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2580 typo in documentation comments. Bug #94275.
2582 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2584 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2586 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2589 Add includes to avoid compiler warnings on Solaris.
2590 (impl_getRangeExtents): Bug fix.
2592 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2594 Fix for 100944, [API addition approved by Gman and murrayc].
2601 * idl/Accessibility_Text.idl:
2602 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2603 (Text::getRangeExtents): New method for efficient
2604 bounds query of a text range.
2605 (Text::getBoundedRanges): New method for efficient
2606 clipping of text to bounding boxes.
2607 (unImplemented7, unImplemented8):
2608 Removed these padding methods to preserve bincompat.
2611 (impl_getRangeExtents): implementation of new IDL.
2612 (impl_getBoundedRanges): implementation of new IDL.
2613 (SpiTextRect): Internal use struct.
2614 (_spi_text_rect_union): internal method, calculates union of two
2615 SpiTextRect bounding rects.
2616 (_spi_text_range_seq_from_gslist): internal method, allows us
2617 to build our sequence efficiently as a gslist then convert it
2619 (_spi_bounds_contain): internal method, determines whether
2620 a text character is "in" or "out" of a clip rect according to
2621 values of TEXT_CLIP_TYPE.
2622 (spi_text_class_init): Initialize the new methods in the epv.
2625 (AccessibleTextClipType): New enum used by screen review api.
2626 (AccessibleTextRange): New struct used by screen review api.
2627 (AccessibleText_getRangeExtents):
2628 cspi binding for Accessibility_Text_getRangeExtents.
2629 (AccessibleText_getBoundedRanges):
2630 cspi binding for Accessibility_Text_getBoundedRanges.
2631 (AccessibleTextRange_freeRanges): convenience method.
2634 (AccessibleText_getRangeExtents):
2635 cspi binding for Accessibility_Text_getRangeExtents.
2636 (AccessibleText_getBoundedRanges):
2637 cspi binding for Accessibility_Text_getBoundedRanges.
2638 (AccessibleTextRange_freeRanges): convenience method.
2639 (get_accessible_text_clip_type): internal conversion method.
2640 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2642 * registryd/deviceeventcontroller.c:
2643 (spi_dec_mouse_check):
2644 Improved behavior for mouse:abs events
2645 [same granularity as mouse:rel events, and no
2646 events when mouse is idle].
2648 2002-12-16 Michael Meeks <michael@ximian.com>
2650 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2652 * libspi/stateset.c (state_spi_to_atk): split out
2653 ( fix several remote array bounds nasties )
2654 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2655 (impl_remove): make safe from array bounds issues.
2656 (spi_atk_state_from_spi_state): impl.
2658 * libspi/stateset.h (spi_state_set_cache_is_empty):
2659 add a set of wrapper defines to get layering right.
2661 * cspi/spi_accessible.c: update state set stuff to
2664 2002-12-14 Michael Meeks <michael@ximian.com>
2666 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2667 to avoid 2 roundtrips to the registry per key event
2668 (spi_atk_bridge_key_listener): upd.
2669 (deregister_application): release the dec.
2671 * registryd/registry.c (notify_listeners_cb):
2672 bin lots of re-enterant complexity - we no longer
2673 do a round-trip bonobo ref here, ensure that a single
2674 listener's exception failure won't poison all other
2676 (impl_registry_notify_event): bin obvious memory leak.
2678 2002-12-13 Michael Meeks <michael@ximian.com>
2680 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2681 init the ev so the error is meaningful.
2682 (spi_atk_bridge_key_listener): ditto.
2684 * cspi/spi_main.c (cspi_ev): init the ev so we start
2685 with a clean slate, otherwise the first exception
2686 kills us completely.
2688 * cspi/spi_text.c (get_accessible_text_boundary_type):
2689 add a fallthrough for no warnings.
2691 * cspi/spi_registry.c: prune unused warnings.
2693 * cspi/spi_main.c (cspi_object_take): fix
2694 mind-blowing brokenness ( by watching the compile
2697 * cspi/spi_accessible.c (Accessible_getStateSet):
2698 re-impl. to use an AtkStateSet.
2699 (spi_state_type_from_accessible_state),
2700 (init_state_table): bin these.
2702 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2704 (atk_state_set_from_accessibility_state_set): here.
2706 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2707 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2708 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2709 (AccessibleStateSet_add, AccessibleStateSet_remove),
2710 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2711 (AccessibleStateSet_isEmpty): re-write to use a local
2714 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2716 * configure.in: Revved to 1.1.7 (new keymask vals).
2718 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2720 * libspi/keymasks.h:
2721 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2723 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2726 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2727 to compare two CORBA_TypeCodes.
2728 (cspi_internal_event_add): Silence warning from FORTE compiler.
2730 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2731 avoid implicit declaration of functions.
2733 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2735 * atk-bridge/bridge.c:
2736 (spi_atk_bridge_init_event_type_consts): Store signal id for
2737 active-descendant-changed signal.
2738 (spi_atk_register_event_listeners): Add signal listener for
2739 active-descendant-changed signal,
2740 (spi_atk_bridge_signal_listener): Move code in function
2741 spi_atk-signal_emit_event() into this function.
2742 Add support for active-descendant-changed
2743 Update support for child-changed signal.
2744 (spi_bridge_window_event_listener): Silence warning.
2746 * libspi/spi_private.[ch]:
2747 (spi_init_any_object): Change second parameter from CORBA_Object to
2749 Omit call to CORBA_Object_duplicate().
2750 Set CORBA_any's _value to CORBA_Object*.
2752 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2758 (AccessibleEvent_ref, AccessibleEvent_unref):
2759 New methods, for persisting an event outside the emission context.
2760 Must be used if the new accessor methods are to be called
2761 outside of the event listener's callback.
2763 * cspi/bonobo/cspi-bonobo.c:
2764 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2765 as second parameter instead of NULL, so we can call
2766 cspi_check_ev afterwards.
2769 (cspi_object_take): New internal method,
2770 converts a CORBA_Object reference to a hard ref on
2771 an Accessible if possible, returning NULL if the object
2772 reference is invalid or an Accessible * otherwise.
2775 (AccessibleEvent_ref):
2776 Increment the event's internal private refcount, and
2777 add the event's internal struct to an internal cache
2778 if it's not already there.
2779 (AccessibleEvent_unref):
2780 Decrement the event's refcount and remove it from
2781 the cspi event cache if refcount==0.
2782 (cspi_event_compare): New private method.
2783 Compares two event structs via their ids. Used
2785 (cspi_internal_event_lookup): New private method.
2786 (cspi_internal_event_check): New private method,
2787 a 0-order sanity check for events to make sure their
2788 private data is intact.
2789 (cspi_internal_event_add, cspi_internal_event_remove):
2790 New private methods for managiing the event cache.
2792 * cspi/bonobo/cspi-bonobo-listener.c:
2794 Initialize the new private data elements (id, magic, ref_count).
2796 * atk-bridge/bridge.c:
2797 (spi_atk_bridge_signal_listener):
2798 Fixed bug #100530, passing wrong params to emission func.
2800 * registryd/deviceeventcontroller.c:
2801 (spi_dec_button_update_and_emit):
2802 Fixed type in mask bit operations; fix for #99799.
2804 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2806 Removed some of the more dangerous workarounds from
2807 previous commit; they are only needed by GOK, which
2808 in reality should be using another method to accomplish
2809 the goals. So on reconsideration some of the workarounds
2810 need to be reverted:
2812 * registryd/deviceeventcontroller.c:
2813 (spi_keycodes_contain, spi_dec_init_keycode_list):
2814 Removed these methods, used only by a nasty hack to try
2815 and detect whether a key synthesis should be allowed
2816 to reset the XKB latch state or not. This code was only
2817 required to work around an interaction between GOK,
2818 button events, and XKB.
2819 (impl_generate_key_event):
2820 Removed hack at end of key generation that tried to
2821 "do the right thing" if XKB latch keys were generated
2822 in the midst of button press/release pairs.
2825 Added a check for HAVE_XINPUT. Not normally used yet.
2827 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2829 Workarounds and fixes for mouse event/XKB interaction.
2831 * registryd/deviceeventcontroller.c:
2832 (spi_keycodes_contain, spi_dec_init_keycode_list):
2833 New internal methods.
2834 (spi_dec_set_unlatch_pending):
2835 Split the method that tells XKB to expect an
2836 unlatch (and revert it) out of the rest of the
2837 event handling code. This method is called by the
2838 two mouse event handlers (the poll and the filter).
2839 (spi_dec_update_and_emit, spi_dec_mouse_check):
2840 New methods split from spi_dec_poll_mouse_moved.
2841 The second one is now called from inside the filterFn
2842 when an XKB delatch event is received, to determine
2843 whether to revert the delatch or not.
2844 (spi_poll_mouse_moved): Refactor; also we can now
2845 properly handle the case where multiple button states
2846 have changed between polling cycles and we didn't get
2847 notified due to another client's grab.
2849 Synchronize the server while handling an XKB notification.
2850 Ugly, but apparently necessary to avoid nasty races.
2851 Check the mouse state on receipt of an XKB latch change,
2852 to decide whether to revert the latch or not. (Latches are
2853 reverted if there is an immediately preceding mouse button
2854 event that a client has consumed, in which case we don't want
2855 the user to see the side-effect of the event).
2856 (spi_device_event_controller_forward_mouse_event):
2857 Check for modifier events and fire before resetting mouse_mask_state,
2858 prevents losing modifier events.
2860 (impl_generate_keyboard_event):
2861 If we've just generated a keyboard event for a non-shift key,
2862 we don't want to revert the pending XKB latch.
2863 Otherwise, check the modifier state (via a call to
2864 spi_dev_mouse_check) and set the relatch mask to
2865 that state before returning.
2867 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2870 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2873 * atk-bridge/bridge.c:
2874 (spi_atk_register_event_listeners):
2875 Don't re-register for ATK events if the registry has died
2876 and the app needs to re-register; the ATK listeners are in
2877 process and doing so will cause duplicate emission.
2879 * registryd/deviceeventcontroller.c:
2880 (spi_poll_mouse_moved):
2881 Reformat the source, detect and emit multiple button-change
2882 events (i.e. if multiple buttons have changed between poll
2884 Add code to detect mouse-down events even when the pointer
2885 is grabbed; workaround for GOK bug 98420.
2886 (spi_controller_register_with_devices):
2887 Call XTestGrabControl with 'impervious' flag set to True,
2888 allows us to synthesize events and query the pointer even during
2889 an active grab by another client.
2890 (spi_device_event_controller_forward_mouse_event):
2891 Set the mouse_mask_state to the mouse_button_state from
2892 the intercepted event, to synchronize the grab listener with
2895 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2897 * cspi/spi_accessible.c:
2898 (AccessibleRole_getName):
2899 Added necessary strings for making this (deprecated)
2900 method work with the new role types.
2901 (init_role_table, role_table):
2902 Added definition of SPI_ROLE_APPLICATION.
2904 * libspi/spi-roletypes.h:
2905 Added SPI_ROLE_APPLICATION.
2907 * idl/Accessibility_Role.idl:
2908 Added ROLE_APPLICATION.
2910 * docs/reference/cspi/at-spi-cspi-decl.txt:
2911 Added SPI_ROLE_APPLICATION to docs.
2913 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2915 * cspi/spi_accessible.c
2916 (cspi_init_role_table): Do not write beyond end of role_table.
2917 (Accessible_getRole): Use correct type for value returned by
2918 Accessibility_Accessible_getRole().
2920 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2921 beyond end of role_table. (This fixes bug #98269)
2923 * libspi/application.c: Add include file spi-private.h for
2924 definition of spi_init_any_nil.
2926 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2930 * libspi/spi-private.h:
2931 Added DGB() macro, and extern int _dbg declaration.
2933 * registryd/registry.c:
2934 (definitions) storage for _dbg.
2935 (spi_registry_init):
2936 Get environment variable "AT_SPI_DEBUG".
2937 (spi_registry_set_debug):
2938 New method, to initialize _dbg value.
2939 (spi_listener_struct_new, spi_registry_object_finalize):
2940 (notify_listeners_cb):
2941 Changed fprintfs to use DBG and g_warning().
2943 * registryd/deviceeventcontroller.c:
2944 (_deregister_keygrab, spi_controller_register_device_listener):
2945 Changed debug/warning messages to use DBG macro.
2947 * libspi/listener.c:
2948 (impl_notify_event):
2949 Changed warning messages to use DBG macro and g_warning().
2951 * atk-bridge/bridge.c:
2952 (atk_bridge_init, spi_atk_bridge_get_registry):
2953 (spi_atk_bridge_exit_func):
2954 (spi_atk_bridge_property_event_listener):
2955 Changed status, warning, and error messages to use
2956 g_warning, g_message, and DBG macros.
2959 Read the state of the AT_SPI_DEBUG environment variable
2960 and set a local '_dbg' accordingly.
2962 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2964 FIXES for 98836, 98842, other bugs.
2967 Revved to 1.1.4, interface-age=4, binary-age=4.
2969 * registryd/deviceeventcontroller.c:
2971 Fixed crasher bug in last_mouse_pos initialization.
2973 * registryd/registry.c:
2974 (desktop_add_application, desktop_remove_application):
2975 Added (and then commented out) some support for
2976 object context marshalling. [TODO]
2978 * atk-bridge/bridge.c:
2979 (spi_atk_bridge_event_context_create):
2980 Commented out object context creation until it can
2981 be properly tested and debugged.
2983 * registryd/registry.c:
2984 (impl_registry_notify_event):
2985 Fixed crasher bug, we were calling
2986 spi_re_entrant_list_foreach () with an empty list.
2988 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2990 * idl/Accessibility_Action.idl:
2991 * idl/Accessibility_Component.idl:
2992 * idl/Accessibility_Desktop.idl:
2993 * idl/Accessibility_Event.idl:
2994 * idl/Accessibility_Hyperlink.idl:
2995 * idl/Accessibility_Image.idl:
2996 * idl/Accessibility_Relation.idl:
2997 * idl/Accessibility_Selection.idl:
2998 * idl/Accessibility_State.idl:
2999 * idl/Accessibility_Value.idl:
3000 Updated unimplemented slot count to minimum of
3001 four for all interfaces, for ABI freeze.
3003 * idl/Accessibility_EditableText.idl:
3004 * idl/Accessibility_Text.idl:
3005 Updated unimplemented slot count to six
3008 * idl/Accessibility_Registry.idl:
3009 Updated unimplemented slot count to six
3010 (also for DeviceEventController),
3013 * idl/Accessibility_Table.idl:
3014 Updated unimplemented slot count to eight,
3017 * idl/Accessibility_Event.idl:
3018 Added CORBA_any "any_data" member to Event struct.
3020 * idl/Accessibility_Event.idl:
3021 Added CORBA_any "any_data" member to Event struct.
3023 * atk-bridge/bridge.c:
3025 atk_signal_text_changed, atk_signal_child_changed,
3026 signal ids queried from gtype system.
3027 (AtkBridgeEventContextType): New enum.
3028 (AtkBridgeEventContextData): New struct.
3029 (AtkBridgeEventContext): New struct.
3030 (atk_bridge_init_event_type_consts):
3031 New method, initializes type contants for comparison
3032 prior to emit_eventv.
3033 (atk_bridge_event_context_init): New method,
3034 initializes a CORBA_any from an AtkBridgeEventContext.
3035 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3036 initialize the event.any_data struct.
3037 (spi_atk_bridge_event_context_create): New method,
3038 creates an AtkBridgeEventContext from signal/event info.
3039 (spi_atk_bridge_event_context_free): New method.
3040 (spi_atk_emit_eventv): Changed to take an
3041 AtkBridgeEventContext parameter. We now initialize
3042 the event.any_data member prior to notifying the
3043 Registry, via the AtkBridgeEventContext.
3044 (spi_atk_bridge_property_event_listener):
3045 (spi_atk_bridge_state_event_listener):
3046 Match emit_eventv signature.
3047 (spi_atk_bridge_object_event_listener):
3048 Match emit_eventv signature, and create an
3049 event context from the event details.
3050 Free the event context afterwards.
3051 (spi_atk_bridge_window_event_listener):
3052 Create an event context, pass it to the
3056 (AccessibleEvent_getContextString):
3057 (AccessibleEvent_getContextObject):
3058 New methods, allow query of AccessibleEvent objects
3059 for more context details (via the "any_data" member
3060 of the Event struct, above).
3063 Definitions for AccessibleEvent_getContextString
3064 and AccessibleEvent_getContextObject.
3066 * cspi/spi_listener.h:
3067 (InternalEvent): New struct.
3070 (AccessibleEvent_getContextString):
3071 (AccessibleEvent_getContextObject):
3072 Implementations of new methods, for obtaining
3073 additional context information from some event types.
3075 * cspi/spi_registry.c:
3076 (SPI_registerGlobalEventListener):
3077 Added mention of active-descendant-changed event in docs.
3079 * cspi/cspi-bonobo-listener.c:
3081 Marshal the any into the AccessibleEvent via
3084 * libspi/spi-private.h:
3085 #include <orbit/orbit.h>
3087 (spi_init_any_string):
3088 (spi_init_any_object):
3089 New convenience function declarations.
3093 (spi_init_any_string):
3094 (spi_init_any_object):
3095 New convenience function implementations.
3097 * registryd/deviceeventcontroller.c:
3098 (spi_poll_dec_mouse_moved):
3099 (spi_device_event_controller_forward_mous_event):
3100 Initialize any_data member of event.
3101 (spi_deregister_controller_device_listener):
3102 Fix incorrect param pass which was preventing deregistration.
3104 * registryd/registry.c:
3105 (desktop_add_application):
3106 (desktop_remove_application):
3107 Add object data to event's any_data before dispatch.
3109 Fix for error messages from GAIL.
3111 * test/event-listener-test.c:
3112 Test new ContextString and "any_data" API:
3113 (report_text_event): New method query and output context string.
3114 (main): register a new text listener with report_text_event
3117 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3119 Fixes for bugs 98127 and 97914.
3120 * cspi/spi-roletypes.h:
3121 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3123 * cspi/spi-statetypes.h:
3124 Added SPI_STATE_MANAGES_DESCENDANTS
3126 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3127 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3128 * cspi/spi_accessible.c:
3129 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3130 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3131 Accessibility_STATE_MANAGES_DESCENDANTS
3132 * libspi/accessible.c:
3133 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3134 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3135 As requested by Bill, I also cleaned up the alignment.
3136 * libspi/relation.c:
3137 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3138 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3139 * libspi/stateset.c:
3140 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3141 Accessibility_STATE_MANAGES_DESCENDANTS
3142 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3143 Document changes reflecting modifications to roles.
3144 * docs/reference/cspi/tmpl/spi_relation.sgml:
3145 Document changes reflecting modifications to relations.
3146 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3147 Document changes reflecting modifications to states.
3149 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3152 Revved to 1.1.3, interface-age=3, binary-age=3.
3153 Added REBUILD macro.
3156 Removed accessx-gui from the tests, since we have a nice
3157 keyboard accessibility capplet now :-)
3159 * test/keysynth-demo.c:
3160 (increment_scan): removed do-nothing default: case,
3163 * test/visual-bell.c:
3164 (main) : removed do-nothing default: case,
3167 * cspi/spi_action.c:
3168 (AccessibleAction_getKeyBinding_):
3169 Documented keybinding string format.
3173 (AccessibleText_getAttributes):
3174 Documented the text attribute string format.
3175 It's changed to use semicolon delimiters also,
3176 to prevent clashes with CSS attributes, but the old
3177 trick of looking for ", " strings will still work
3178 (as unreliably as ever). Fix for bug related to 97916.
3181 Include <cspi/bonobo/cspi-bonobo-listener.h>
3182 Fixes build warning.
3183 (SPI_freeAccessibleKeySet):
3184 (AccessibleKeystrokeListener_addCallback):
3185 (AccessibleKeystrokeListener_removeCallback):
3186 Modify to use AccessibleDeviceListener API internally,
3187 instead of AccessibleKeystrokeListener.
3189 * idl/Accessibility_Event.idl:
3190 Added two more empty slots to EventListener (for a total of four).
3192 * idl/Accessibility_Accessible.idl:
3193 Added four empty slots to Accessible interface.
3195 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3197 * idl/Accessibility_Registry.idl:
3198 (KeyEventType, EventType):
3199 Marked KeyEventType as deprecated; it duplicates
3200 functionality of EventType, which has been extended to
3201 include Mouse-button events.
3202 (KeyEventTypeSeq): defined in terms of EventType.
3203 (registerDeviceEventListener, deregisterDeviceEventListener):
3204 New methods, for managing listeners to device events,
3205 which potentially may consume them.
3208 Added definition for AccessibleDeviceListener.
3210 * cspi/spi-listener.h:
3211 (enum AccessibleDeviceEventType):
3212 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3213 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3214 for backwards compat.
3215 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3216 and typedef'd AccessibleKeystroke to it for back-compat.
3217 (AccessibleDeviceListenerCB):
3218 New function prototype typedef.
3221 (AccessibleDeviceEventMask): New typedef.
3222 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3223 (AccessibleKeyMaskType):
3224 Set equivalent to AccessibleModifierMaskType for back-compat.
3225 (SPI_createAccessibleKeystrokeListener):
3226 (AccessibleKeystrokeListener_unref):
3227 Deprecated in favor of equivalent (better-named) new API below..
3228 keystroke listeners are like all device listeners.
3229 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3230 New API names for old features :-).
3231 (AccessibleDeviceListener_addCallback):
3232 (AccessibleDeviceListener_removeCallback):
3233 (SPI_registerDeviceEventListener):
3234 (SPI_deregisterDeviceEventListener):
3238 (SPI_createAccessibleKeystrokeListener):
3239 Use new preferred API, cspi_device_listener_new() and
3240 cspi_device_listener_add_cb().
3241 (AccessibleKeystrokeListener_removeCallback):
3242 Use new preferred API, cspi_device_listener_remove_cb().
3243 (AccessibleKeystrokeListener_unref):
3244 Use new preferred API, cspi_device_listener_unref().
3245 (SPI_createAccessibleDeviceListener):
3246 (AccessibleDeviceListener_addCallback):
3247 (AccessibleDeviceListener_removeCallback):
3248 Implementation of new API.
3250 * cspi/spi_registry.c:
3251 (SPI_registerDeviceEventListener):
3252 (SPI_deregisterDeviceEventListener):
3253 Implementation of new API. Fixed memory leak and removed need to
3254 allocate EventTypeSeq (thanks Michael for catching this).
3255 Squashed a wayward CORBA_exception_free that shouldn't get called.
3257 * cspi/bonobo/cspi-bonobo-listener.c:
3259 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3260 (cspi_key_event): renamed to cspi_device_event().
3261 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3262 Extended to handle mouse button events as well as key events.
3263 (CSpiKeystrokeListener):
3264 Class superceded by CSpiDeviceListener.
3265 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3266 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3268 * cspi/bonobo/cspi-bonobo-listener.h:
3269 (CSpiKeystrokeListener):
3270 Class superceded by CSpiDeviceListener.
3271 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3272 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3274 * libspi/Makefile.am:
3275 Replaced keystrokelistener.h and keystrokelistener.c
3276 with devicelistener.h and devicelistener.c; keystrokelisener.h
3277 stub retained for back-compat.
3279 * libspi/keystrokelistener.c:
3283 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3285 * registryd/deviceeventcontroller.c:
3286 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3287 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3288 (DEControllerPrivateData): Added xkb settings data.
3289 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3290 button release events (which can't be captured via XGrabButton).
3291 Don't dispatch via the 'normal' event mechanism if the device event was
3293 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3294 Handle the typeseq data in its new location (see above).
3295 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3296 New methods, for "generic" device listeners.
3297 (spi_controller_register_device_listener):
3298 Now handle mouse event listeners as well as key listeners.
3299 (spi_controller_notify_mouselisteners):
3300 New internal method.
3301 (spi_device_event_controller_forward_mouse_event):
3302 Now we notify mouse device listeners as well as generating the
3303 non-consumable "mouse:" events.
3305 We must check and restore the XKB
3306 modifier map if we consume the event, since the act of triggering
3307 a mouse event will normally reset the XKB latch. This is required for
3309 (spi_controller_register_with_devices):
3310 Load the XKB settings when registering, and register for XKB
3311 state notify events.
3312 (spi_key_eventtype_seq_contains_event):
3313 Renamed spi_eventtype_seq_contains_event, since it's used
3314 internally for all device event types now.
3315 (spi_key_event_matches_listener):
3316 Uses spi_eventtype_seq_contains_event now.
3317 (spi_device_event_controller_object_finalize):
3318 Free the private data and the XkbKeyboard struct.
3319 (impl_register_device_listener, impl_deregister_device_listener):
3320 Implementation of new IDL.
3321 (spi_deregister_controller_device_listener):
3322 New internal method.
3323 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3324 More efficient implementation, we don't have to create a new
3325 XkbControls structure every time we query.
3326 (spi_device_event_controller_class_init):
3327 Initialize the epv entries for the new IDL. Assign the
3328 "spi-dec-private" quark.
3329 (spi_device_event_controller_init):
3330 Initialize the private data.
3331 (spi_device_event_controller_forward_key_event):
3332 Removed a bogus CORBA_exception_free() call.
3334 * registryd/deviceeventcontroller.h:
3335 Replaced inclusion of keystrokelistener.h with
3338 * test/event-listener-test.c:
3339 (report_mouse_event):
3342 Added mouse-event device listener.
3344 * test/test-simple.c:
3345 (create_test_window):
3346 Fixed regression (we were instantiating a GtkRange,
3347 which is now an abstract class). Also fixed to match
3348 existing AtkRole names, this seems to have changed in ATK
3349 awhile ago; too late now I think, and the new
3350 mechanism is at least elegant and consistent with the
3351 glib enum "nick" APIs.
3353 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3355 * idl/Accessibility_Relation.idl:
3356 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3357 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3358 * idl/Accessibility_Role.idl:
3359 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3360 * idl/Accessibility_State.idl:
3361 add STATE_MANAGES_DESCENDANTS
3362 * test/event-listener-test.c:
3363 Added a listener for active-descendant events.
3365 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3367 * atk-bridge/bridge.c
3368 (atk_bridge_init): If application is Bonobo component wait until top
3369 level is added before registering
3370 (spi_atk_bridge_do_registration): New function which contains code,
3371 formerly in atk_bridge_init, to do application registration.
3372 (spi_atk_bridge_toplevel_added): Signal called when top level
3373 added to Bonobo component
3375 This fixes bug #83134.
3377 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3379 * registryd/deviceeventcontroller.c
3380 Fixed compilation error caused by calling gettimeofday()
3383 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3388 Added template for HAVE_XKB.
3391 Changes to check for XKB, and to set the HAVE_XKB #define if it
3394 * libspi/listener.c:
3395 ()impl_notify_event): Make failure to get event source name
3398 * registryd/deviceeventcontroller.c:
3399 (#include): include X11/XKBlib.h.
3400 (DEControllerPrivateData) : New struct.
3401 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3403 (dec_synth_keycode_press) (dec_synth_keycode_release):
3404 New methods; split the key synthesis code into these methods.
3405 They check XKB settings before determining the "time" values to
3406 pass to Xtest; this fixes bug #95828.
3407 (impl_generate_keyboard_event): Changed to use methods above,
3408 instead of callng Xtest directly.
3409 (spi_device_event_controller_init): Initialize new privae struct s
3411 (spi_device_event_controllr_object_finalize):
3412 Free the (new) private data.
3414 * registryd/deviceeventcontroller.h:
3415 Add new gpointer to end of struct data.
3417 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3420 Incremented revision to 1.1.2, SONAME is still '.so', library
3421 extensions are ".so.0.0.2".
3423 * registryd/deviceeventcontroller.c:
3424 FIXES FOR #93592 and #95940.
3425 (statics): renamed mouse_button_state to mouse_mask_state,
3426 added key_modifier_mask.
3427 (spi_dec_poll_mouse_moved):
3428 Added key modifier checks, and emit "keyboard:modifiers"
3429 events when the key modifiers currently in use change.
3430 Also generate "mouse:abs" events periodically, even if the mouse
3431 is stationary (should we?).
3432 Alternatively we could generate "mouse:abs" events for either all
3433 mouse movements, or every 'nth' mouse movement, or at the
3434 beginning and end of every "active" mouse period.
3436 * test/event-listener-test.c:
3437 (main): Added listener for "keyboard:modifiers" events.
3439 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3441 * libspi/keymasks.h:
3442 Added key mask #defines for mouse buttons; e.g.
3443 SPI_KEYMASK_BUTTON1, etc.
3446 Incremented dependency on ATK to version 1.1.0. (This dependency
3447 is probably premature but will soon be real enough).
3449 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3451 * libspi/hyperlink.[ch]
3452 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3453 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3456 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3461 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3463 * registryd/deviceeventcontroller.c
3464 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3465 events to be ignored.
3466 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3467 keyboard_mode so that XAllowEvents() can be called.
3471 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3473 * cspi/spi-accessible.c: Correct names of roles returned by
3474 AccessibleRole_getName(). Fixes bug #95055.
3476 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3478 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3481 * registryd/registry.c
3482 (desktop_remove_application: Write diagnostic message to stderr for
3485 (impl_accessibility_registry_deregister_global_event_listener):
3486 Correct size of lists array. This addresses bug #94555).
3488 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3490 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3493 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3495 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3498 * registryd/registry.c (impl_registry_notify_event): Remove
3499 unnecessary call to parser_event_type().
3501 * docs/reference/cspi/tmpl/spi_component.sgml:
3502 Add reference to SPI_LAYER_WINDOW.
3504 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3506 * registryd/registry.c
3507 (desktop_add_application): Remove leak.
3508 (desktop_remove_application): Remove leak.
3509 (parser_event_type): Remove leak.
3511 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3513 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3514 bogus call to CORBA_string_dup(). Also removed unnecessary
3515 g_string_dup/g_free calls.
3517 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3519 * registryd/deviceeventcontroller.c:
3520 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3522 * test/event-listener-test.c:
3523 main: commented out three redundant listeners, to reduce output
3524 noise. (They still are potentially useful for testing).
3527 2002-09-13 Michael Meeks <michael@ximian.com>
3529 * Update all the copyrights to include Ximian.
3531 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3533 * cspi/spi.h: add SPI_LAYER_WINDOW.
3535 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3536 add Accessibility_LAYER_WINDOW case.
3538 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3540 * libspi/component.c: (impl_accessibility_component_get_layer):
3541 add ATK_LAYER_WINDOW case.
3543 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3545 * configure.in: incremented micro version.
3547 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3549 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3552 Clarified and reworded our commit policy.
3555 Started an API "todo" addition list for 2.2.
3558 (impl_getSelection):
3559 Free char pointer from atk_text_get_selection, which was being leaked.
3561 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3564 Small revision to author acknowledgement.
3566 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3568 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3569 If signal has detail add it to the type of the event.
3572 2002-08-12 Michael Meeks <michael@ximian.com>
3574 * test/test-simple.c (global_listener_cb): bin bogosity.
3575 (test_keylisteners): disable, still doesn't work reliably,
3576 certainly not on my system anyway.
3578 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3579 don't leak a reference on the DEC. This round-trip
3580 fetching of the DEC per keystroke sucks, it should be
3583 * cspi/spi-private.h,
3584 * cspi/cspi-lowlevel.h,
3585 * cspi/bonobo/cspi-bonobo-listener.[ch],
3586 * cspi/bonobo/cspi-bonobo.c: get the copyright
3587 notices better - there is still a large amount of
3588 work in at-spi falsely attributed solely to Sun.
3590 * cspi/spi_main.c (cspi_object_ref): kill bogus
3591 hash lookup, just increment the ref.
3592 (SPI_freeString): make explicit the fact that we
3593 handle NULL strings just fine.
3594 (report_leaked_ref): obey coding standards.
3595 (cspi_object_hash, cspi_object_equal): kill retval.
3596 (cspi_object_release): only release if not on loan.
3597 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3598 (cspi_object_borrow, cspi_object_return): impl.
3600 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3601 use cspi_object_borrow / return.
3603 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3605 * cspi/bonobo/cspi-bonobo-listener.c:
3607 Don't call cspi_oject_new() because this is creating a new Accessible
3608 every single time that an event is fired. This causes ATs like at-poke
3609 to nolonger recognise the source of the event and thus ignore it.
3610 Re-use the object from the cache, ref it and then unref it after the
3611 listeners have been called.
3613 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3615 * test/event-listener-test.c:
3616 Added command-line options to disable mouse events (m) and
3619 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3621 * configure.in: Update required versions of ATK, GTK+ and GAIL
3623 * cspi-1.0.pc.in: Add dependency for X include files
3626 * cspi/bonobo/Makefile.am:
3627 Add $(X_CFLAGS) so that X include files
3628 are picked up even if not in standard place (bug #71686)
3630 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3632 * registryd/deviceeventcontroller.c: fix for 84261
3633 (spi_dec_mouse_moved):
3634 Added test of mouse button mask, so that we can detect mouse
3635 button release. Unfortunately we can't otherwise detect mouse
3636 button release events without consuming the mouse press event,
3637 because of the way XGrabButton works. This means that our mouse
3638 release events have a latency dependent on the polling period
3639 while the mouse button is down. At least in this case we only
3640 have to poll while the button is down, and not at other times.
3641 If the button masks don't match with what the last press event
3642 reported, we report the appropriate button release event.
3643 (spi_dec_ungrab_mouse):
3644 New method (not yet called).
3645 (spi_device_event_controller_forward_mouse_event):
3646 New method, sends mouse press event from GdkFilter.
3647 (spi_dec_init_mouse_listener):
3648 Added code to call XGrabButton, redirecting mouse button events to
3649 the root window and our Gdk event loop.
3651 Added code to filter mouse button events, and reordered.
3653 * test/event-listener-test.c:
3655 Added registration for mouse events of type "mouse:button".
3657 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3659 * registryd/deviceeventcontroller.c: partial fix for 84261
3660 (spi_dec_poll_mouse_idle):
3661 New method, a timeout which checks to see if the mouse
3663 (spi_dec_poll_mouse_moving):
3664 A timeout to be called when mouse motion is underway.
3665 (spi_dec_poll_mouse_moved):
3666 A method which fires an event if the mouse has moved, and reports
3667 whether or not it did so.
3668 (spi_dec_init_mouse_listener):
3669 A method which sets up the timeouts above.
3670 (spi_device_event_controller_new):
3671 Now calls spi_dec_init_mouse_listener.
3673 * registryd/registry.c:
3674 (spi_registry_init):
3675 Now we initialize the device event controller when the registry is
3676 initialized, instead of waiting until a client has requested a key
3677 event notification; this is because we need the event controller
3678 for mouse events, but the mouse event registration API is a
3679 "registry" call and doesn't explicitly call the
3680 deviceeventcontroller.
3681 We now report mouse motion events with a 100 ms idle latency and
3682 a 20 ms granularity when motion is in progress.
3684 * test/event-listener-test.c:
3686 We now register the "detail listener" for events of type
3687 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3688 delivered only for the first mouse event received, and thereafter
3689 "mouse:abs" events are delivered.)
3691 * cspi/spi_registry.c:
3692 DOCS: Documented the above mouse event typestrings.
3694 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3696 Happy Summer Solstice...
3698 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3699 (spi_controller_notify_keylisteners):
3700 Changes to remove a listener from the listener list, freeing its
3701 open keygrabs, if a notification to that listener fails. This
3702 means that although a dead listener can continue to hold a passive
3703 keygrab, a maximum of one dispatch to such a listener can fail
3704 before the listener is removed from the list, thus the keygrab
3705 will be released on the next occurrence.
3706 As part of this fix:
3707 (spi_notify_keylisteners):
3708 Renamed to spi_controller_notify_keylisteners, as the controller
3709 instance must now be passed as an argument.
3710 The copied 'notify' GList is now a list of DEControllerKeyListener
3711 objects, since we need more than just the CORBA reference if a
3712 notify fails and we need to deregister the listener.
3713 (impl_notify_listeners_sync):
3714 (impl_notify_listeners_async):
3715 (spi_device_event_controller_forward_key_event):
3716 Modify use of notify_keylisteners in accordance with above
3718 (spi_deregister_controller_key_listener):
3719 New method introduced by refactoring, from
3720 impl_deregister_keystroke_listener.
3721 (impl_deregister_keystroke_listener):
3722 Call spi_deregister_controller_key_listener.
3723 (spi_key_listener_clone):
3724 New method to copy a key listner without doing a 'ref' on the
3725 remote object instance; used to create a notifier list.
3726 (spi_key_listener_data_free):
3727 New method, frees data without unreffing the source.
3729 (spi_key_listener_clone_free): new method.
3730 (spi_key_listener_free):
3731 refactored to call spi_key_listener_data_free.
3733 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3735 * registryd/registry.c: [fix for bug 86048]
3736 (notify_listeners_cb):
3737 Clear CORBA system exceptions which occur when notifying
3738 listeners, before returning to the source of the original event,
3739 since the event source doesn't care if the relayed notify failed.
3740 In other words, don't complain to the atk-bridge if the registry
3741 could not notify all its listeners, that's no fault of the
3742 application and thus should not appear to be an error from the
3743 application's perspective.
3745 * cspi/spi_main.c: [fix for bug 85980]
3747 Replaced use of bonobo_object_dup_ref with call to the wrapper
3748 method, csou_dup_ref (); this silences a compiler warning and
3749 provided more portability.
3751 Ping the registry before return, and restart if necessary.
3753 * cspi/bonobo/cspi-bonobo.c:
3755 New internal method.
3757 Fixed this method to return an object reference, as it should have
3760 * cspi/cspi-lowlevel.h:
3761 Added internal definition for cspi_ping() and fixed
3762 return type of cspi_dup_ref().
3765 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3767 * atk-bridge/bridge.c: [fix for bug 85305]
3768 (spi_atk_bridge_register_application):
3769 New method where the initial application registry calls have been
3770 moved; it allows an application to re-register in response to
3771 certain error conditions (such as a registry restart, see below).
3773 Moved some initialization code to the method
3774 spi_atk_bridge_get_registry, below.
3775 (spi_atk_bridge_get_registry):
3776 New, private accessor function for the Accessibility_Registry
3777 instance. If the registry has not been started before, or has
3778 died (as detected by failure of a CORBA exception), it is
3779 restarted before return, and spi_atk_bridge_register_application
3780 is called again to register with the new bridge instance.
3781 (spi_atk_emit_eventv):
3782 Set registry_died on error; use spi_atk_bridge_get_registry () to
3783 access the registry.
3785 * registryd/registry.c:
3786 (impl_accessibility_registry_register_global_event_listener):
3787 Set listener's event_type_quark to etype.minor instead of
3788 etype.major (fix for bug 84856).
3790 * test/event-listener-test.c:
3791 (report_detail_event):
3792 Change the output string so that user/tester can tell that the
3793 'detail listener' was called instead of the 'generic listener'.
3795 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3797 Fixes for bugs 84900, 84908, 84897, 84898.
3802 Revved version to 1.1.0
3803 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3804 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3806 * idl/Accessibility_Registry.idl:
3807 (EventListener::notifyEvent):
3808 Removed 'oneway' directive after extensive consulation with
3809 ORBit2 team and others. This means also that unref() of the event
3810 source can and should be done synchronously after emission, rather
3811 than remotely in the client, after servicing the notify call on
3814 NOTE: This change speeds up listener performance considerably, but
3815 introduces new latency on the application side. We may want to
3816 add an event queue to the atk-bridge.
3818 * atk-bridge/bridge.c:
3819 (spi_atk_bridge_focus_tracker):
3820 Do a local unref() on the event source after emission.
3822 * registryd/registry.c:
3823 (desktop_remove_application):
3824 Do an unref() on the event source after emission.
3825 (desktop_add_application):
3826 Do an unref() on the event source after emission.
3827 (notify_listeners_cb):
3828 When relaying an event, don't automatically add the event source
3829 to the local object cache, just CORBA_dup it instead. Likewise,
3830 if this method reenters, release the ref rather than calling
3832 (impl_registry_notify_event):
3833 No longer call remote unref() on the event source after dispatch.
3835 * libspi/eventlistener.c:
3836 (impl_accessible_event_notify_event):
3837 Removed remote unref ()
3839 * cspi/bonobo/cspi-bonobo-listener.c:
3841 We now call cspi_object_new() instead of cspi_object_add() on
3842 receipt of an event; thus we only have an implicit object ref
3843 while the cspi_event method is being executed. If we need to keep
3844 a reference to the object, the listener must call ref() on the
3845 object. Thus also we don't need to call cspi_object_unref() after
3846 invoking the listener callbacks in this method.
3850 New internal API for creating a new cspi object, without adding it
3851 to the object cache.
3853 Now uses cspi_object_new() to create the cspi object instance.
3855 Now checks to see if the object is in the internal object cache,
3856 and adds it if necessary before incrementing its refcount (note
3857 that new objects are added with a refcount of 1).
3858 (report_leaked_ref):
3859 New method which gives some information on leaked object instances
3860 if leak detection is turned on.
3862 * test/event-listener-test.c:
3863 (timing_test_event):
3864 New method, used for testing event delivery timing for special
3865 events of type "object:test". It reports elapsed time and
3866 events/sec every 500 events.
3868 Added a new listener, 'test listener', to check timing of event
3869 receipt as noted above.
3871 Added some timing output here also, reports elapsed time every 100
3874 * test/stress-test.c:
3875 Emit events of type "object:test", for use with "event-listener-test".
3877 * test/test-simple.c:
3878 (global_listener_cb):
3879 Call Accessible_ref() on the event source before calling
3880 validate_accessible, since the validation process does pointer
3881 comparisons on the event source, meaning that the event source
3882 needs to be added to the local object cache first. Any use of
3883 such pointer comparisons between Accessible objects requires that
3884 the caller hold an explicit reference to those objects.
3885 We also must therefore call Accessible_unref() when leaving this method.
3887 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3889 * registryd/deviceeventcontroller.c:
3890 (spi_controller_update_key_grabs):
3891 Fix for #84735, subsequent keygrab listeners not informed of
3892 registration failure.
3895 (spi_base_construct):
3896 Add an assertion on construct, to make sure the GObject passed in
3897 is really a GObject.
3899 Explicitly initialize object->gobj pointer to NULL;
3901 * cspi/bonobo/cspi-bonobo-listener.c:
3902 (cspi_object_add_ref):
3903 New method, can specify whether to dup-ref a bonobo object passed
3904 in if it's newly added to the object cache.
3906 Now calls cspi_object_add_ref with second param of "FALSE". This
3907 prevents us from doing a pointless dup-ref followed by
3908 release-unref for all those cases where the object is already in
3909 our object cache (fix for #85205).
3911 * atk-bridge/bridge.c:
3912 (spi_atk_bridge_idle_init):
3913 Removed this method, we don't need to initialize in an idle
3916 Changed to call spi_atk_register_event_listeners directly, not via an
3917 idle handler. (fix for #81139)
3918 (gnome_accessibility_module_shutdown):
3919 Removed conditional around deregistration of listeners, since we
3920 don't use the idle handler and thus have always registered when
3922 (spi_init_keystroke_from_atk_key_event):
3923 Changed references to Accessibility_KEY_PRESSED to
3924 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3926 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3928 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3933 * test/stress-test.c:
3936 (may have been an incomplete commit yesterday?)
3938 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3941 Added target for new stress-test.
3943 * test/stress-test.c:
3944 New test, sends 1000 focus notifies in quick succession.
3946 * test/key-listener-test.c:
3947 Now we report whether a keylistener registration
3948 request succeeded or failed.
3950 * test/event-listener-test.c:
3951 Uncommented some listeners which are now implemented.
3954 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3956 * registryd/deviceeventcontroller.c:
3957 (spi_controller_update_key_grabs):
3958 Fix for #82509, lack of failure notification when
3959 ALL_WINDOWS keygrabs fail due to XGrabKey
3960 failure: we synchronize the server when
3961 registering a passive grab, to make sure we get the
3962 error message before the call returns.
3964 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3966 * test/test-simple.c:
3968 Removed #ifdef KEY_IMPL_WORKS guards.
3969 (test_keylisteners):
3970 Removed #ifdef KEY_IMPL_WORKS guards.
3971 Fixed bug which was causing a hang waiting for a
3972 "press" event (which was already overwritten by a "release"
3973 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3975 Added code to set globals 'key_press_received' and
3976 'key_release_received'.
3979 Added section "1.1 API Proposed Additions" which
3980 lists API additions desired for at-spi-1.1 (only one so far).
3981 Updated TODO list a little.
3983 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3985 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3988 * configure.in: Revved to 1.0.0.
3990 * idl/Accessibility_Registry.idl:
3991 (registerKeystrokeListener):
3992 Added boolean return value.
3994 * registryd/registry.c:
3995 (notify_listeners_cb): Minor fix to debug output.
3997 * registryd/Accessibility_Registry.server.in.in:
3998 Revved version number in OAFIID to 1.0.
4000 * registryd/registryd.c:
4002 Use new OAFIID version.
4004 * cspi/bonobo/cspi-bonobo.c:
4006 Use new OAFIID version.
4012 * atk-bridge/bridge.c:
4014 Use new OAFIID version.
4016 * registryd/deviceeventcontroller.c:
4017 (impl_register_keystroke_listener):
4018 Added CORBA_boolean return value.
4019 (spi_controller_register_device_listener):
4020 Added gboolean return value.
4021 (spi_controller_register_global_keygrabs):
4022 Added gboolean return value.
4023 (spi_key_set_contains_key):
4024 Added implementation for many more control keys,
4025 for instance F1-F12, arrow keys, End, Home, Page_Up,
4027 [TODO: some still not implemented].
4029 * text/screen-review-test.c:
4030 (text_chunk_pad_string):
4031 New function: it provides mapping between coordinate
4032 positions of text chunks and character positions in the
4033 screen-review-line output string.
4034 (text_chunk_to_string):
4035 New function, calls text_chunk_pad_string with various
4036 pad/delimiter characters. Pushbuttons are delimited with
4037 square brackets, Frames with vertical 'pipe' lines, and
4038 other text with double quotes.
4039 (text_chunk_list_to_string):
4040 Calls new function text_chunk_to_string.
4041 (toplevel_composite):
4042 New function to composite layers CANVAS through
4043 POPUP in each toplevel (other layers are composited
4044 across toplevels, i.e. BACKGROUND and OVERLAY).
4045 (review_buffer_composite):
4046 Revise to use new methods.
4052 2002-05-31 Laszlo Peter <laca@sun.com>
4054 * configure.in: add the Xtst libdir to the runpath on Solaris,
4055 since it's not in the default library search path.
4057 2002-05-29 jacob berkman <jacob@ximian.com>
4059 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4061 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4063 * test/screen-review-test.c:
4064 (text_chunk_pad_string):
4065 Added method, which pads the string according to the
4066 text bounds of the chunk. It also takes a 3-character
4067 string as a param which indicates the characters to be
4068 used for start, padding, and end delimitation of the chunk.
4069 (text_chunk_to_string):
4070 Changed to use text_chunk_pad_string.
4072 * configure.in: Fixed bug in AC_OUTPUT that was
4073 causing path substitution in Accessibility_Registry.server
4076 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4078 * text/screen-review-test.c:
4079 (guess_string_clip):
4080 New method which attempts a best-guess at clipping
4081 text from components (like Java labels) which don't
4082 actually implement AccessibleText. This inaccurate
4083 clip is based on the assumption that the label is
4084 justified left-and-right, and monospaced.
4085 (text_chunk_get_clipped_string):
4086 We now call guess_string_clip() for text-containing
4087 components that don't implement AccessibleText.
4089 * test/screen-review-test.c:
4090 (review_buffer_get_text_chunk):
4091 We now pull "name" from labels if they do not implement
4092 AccessibleText (i.e. for Java labels).
4093 (get_screen_review_line_at):
4094 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4097 Replaceded AC_OUTPUT target
4098 registryd/Accessibility_Registry.server with
4099 registryd/Accessibility_Registry.server.in.
4101 * registryd/Accessibility_Registry.server.in:
4102 Removed (this is now a Makefile target).
4104 * registryd/Accessibility_Registry.server.in.in:
4105 Added (source for target above). We now use $(libexecdir) as
4106 prefix for the executable at-spi-registryd.
4108 * registry/Makefile.am:
4109 Now install at-spi-registryd into $(libexecdir), and build .server
4110 file with path (see above).
4112 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4114 * test/screen-review-test.c:
4115 (text_chunk_get_clipped_string):
4116 We now check to see if words fall within clip bounds
4117 before resorting to character-by-character clip bounds testing.
4119 * TODO: Added a section for "2.2 Proposed API Additions".
4121 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4123 * test/screen-review-test.c:
4125 Added a screen review benchmarking and test program to test
4128 * cspi/spi_accessible.c:
4130 Made some of the debug strings passed to cspi_check_ev a
4131 little more specific.
4133 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4135 * test/screen-review-test.c: Fix crashes in debug statements
4137 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4139 * test/screen-review-test.c: Added this file.
4141 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4143 * atk-bridge/bridge.c: changed "object:state-change" to
4144 "object:state-changed" to match docs.
4146 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4148 * atk-bridge/bridge.c: Hooked up state-change event details.
4150 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4152 * registryd/registry.c:
4153 Fixed quarking bug in event string parsing; now events with
4154 detail parameters get matched correctly to listeners.
4157 * util/idl/Magnifier.idl: remove.
4159 * util/*.[ch]: Remove.
4160 Magnification utilities and IDL are now in module gnome-mag.
4162 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4164 * registryd/deviceeventcontroller.c:
4165 Fixed bug in grab key conversion which was causing keycode grabs
4166 to be converted to AnyKey grabs.
4169 updated NEWS file to reflect recent spin-off of gnome-mag.
4171 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4173 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4174 busted AccessibleStateSet_compare. Removed redundant casts.
4176 * cspi/spi-action.c: Removed redundant casts.
4178 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4180 * cspi/spi_component.c: Fixed typos and casting error.
4182 * cspi/spi_editabletext.c: Removed redundant casts.
4184 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4186 * cspi/spi_hypertext.c: Eliminated redundant casts.
4188 * cspi/spi_image.c: Eliminated redundant casts.
4190 * cspi/spi_registry.c: Eliminated redundant casts.
4191 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4192 * cspi/spi_selection.c: Removed redundant casts.
4193 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4194 handling. Screen geometry and text offsets were being returned as 0
4195 on error which is technically valid-- changed these to return -1.
4196 Added marshaller for text boundary types to fix bug with boundary
4197 types being passed incorrectly to atk.
4199 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4202 * cspi/spi_registry.c:
4203 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4204 which was uncovered by the recent key changes.
4206 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4208 * test/event-listener-test.c:
4210 Added new test, "event-listener-test";
4211 this code does two things; it benchmarks traversal time
4212 for the accessible hierarchy for the first running accessible
4213 app, and it connects listeners for all supported event types.
4214 It is thus useful as an example event listener and for
4215 diagnostics/debugging of event generation.
4217 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4220 Removed unnecessary dependency on libutil.
4223 Revved micro version: 0.13.1
4225 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4228 Removed util/Makefile from targets.
4231 Removed util subdir from SUBDIRS (temporarily,
4232 pending removal of magnifier-only code
4236 #ifdef-ed out magnifier dependencies, since
4237 magnifier IDL, headers, and binary now live in
4238 module gnome-mag and we don't want at-spi to depend
4239 on gnome-mag. A magnifier demo which can run alongside
4240 simple-at is forthcoming in the gnome-mag module.
4242 NOTE: Split magnifier binary, IDL, and magnification
4243 activation code from at-spi into module gnome-mag.
4245 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4247 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4248 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4250 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4253 Revved to version 0.13.0
4255 * idl/Accessibility_Registry.idl:
4256 Changed definition of KeySet from sequence of longs to sequence of
4257 KeyDefinitions, and added KeyDefinition struct.
4258 Required for fix to bug 80616.
4260 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4261 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4262 to use new definition (see above).
4264 * registryd/deviceeventcontroller.c: handle_keygrab(),
4265 spi_keyset_contains_key():
4266 Changed to make use of new struct; this allows matching based on
4267 string key-name, for instance "Tab". This also allows matching of
4268 composed characters, non-alphanumeric characters in a way that
4269 doesn't involve dependencies on X keysym codes directly, etc.
4271 * test/key-listener-test.c:
4272 Added test for Alt-Tab key using "string" specification of keyset,
4273 and modified one of the tests to use a keycode-based keyset.
4274 Thus this test both tests and demonstrates the creation and use of
4275 keysets of three forms: specified via keycode array,
4276 keysym array, and string array. (The string case only contains a
4277 single string, i.e. a string array of length 1).
4280 Turned on PRINT_TREE option by default. Also fixed a
4281 string-freeing bug in the PRINT_TREE code.
4282 Added a listener to window:minimize events.
4284 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4286 * atk-bridge/bridge.c:
4287 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4288 for window:activate and window:deactiveate
4289 (atk_bridge_property_event_listener atk_bridge_signal_listener
4290 atk_bridge_window_event_listener) Tidy debug code
4292 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4294 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4295 Fixed handling for NULL return value from ATK.
4297 * libspi/action.c libspi/component.c libspi/editabletext.
4298 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4299 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4300 Removed redundant casts.
4302 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4303 Fixed off by one bug.
4305 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4306 function not present in idl)
4308 2002-05-02 jacob berkman <jacob@ximian.com>
4310 * atk-bridge/Makefile.am: make atk-bridge a real module
4312 2002-04-26 Radek Doulik <rodo@ximian.com>
4314 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4315 atk_state_types table
4317 2002-04-22 jacob berkman <jacob@ximian.com>
4320 * libspi/Makefile.am: add deps on the built files to help
4321 automake, and don't version the ORBit typelib
4323 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4325 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4326 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4327 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4328 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4329 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4330 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4331 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4332 libspi/accessible.h libspi/accessible.h libspi/base.h
4333 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4334 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4335 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4336 libspi/spi-private.h libspi/statetset.h libspi/table.h
4337 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4338 util/mag_client.h util/mag_control.c util/mag_image.c
4339 util/mag_image.h util/magnifier.c util/magnifier.h:
4340 Add missing file headers; standardize existing ones
4342 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4344 * atk-bridge/bridge.c: Added window event support.
4346 2002-04-18 Michael Meeks <michael@ximian.com>
4348 * libspi/relation.c (impl_getNTargets): impl.
4349 (impl_getTarget): impl.
4351 * libspi/Makefile.am: fix stateset install.
4353 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4356 Started putting useful info in this file.
4358 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4360 * atk-bridge/bridge.c:
4361 Propagate state-changed notifications to ATs
4363 * cspi/spi_registry.c: update docs to reflect actual behavior of
4364 state-change events.
4366 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4369 Incremented version to 0.12.1
4371 * util/mag_client.h:
4372 Add missing declaration for magnifier_exit,
4373 used by mag_control.c - Forte compiler didn't like
4374 the implicit redeclaration of the function :-(
4377 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4380 Revved version to 0.12 due to API change (see below).
4382 * cspi/spi-roletypes.h:
4383 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4384 definition from the inline docs, and added docs
4385 for SPI_ROLE_LAST_DEFINED.
4388 * cspi/spi_streamablecontent.c:
4389 Added missing seek_type parameter to
4390 (so far unused) method,
4391 AccessibleStreamableContent_seek().
4392 [ RT approval JodyG. ]
4395 Fixed docs for SPI_createAccessibleKeystrokeListener.
4397 * cspi/spi_registry.c:
4398 Fixed docs for SPI_KEYSET_ALL_KEYS.
4400 * docs/reference/cspi/at-spi-cspi-sections.txt:
4401 Added a number of missing APIs to SECTIONS.
4403 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4405 * registryd/Makefile.am:
4407 * cspi/bonobo/Makefile.am:
4408 Add $(X_LIBS) to makefiles.
4410 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4413 Revved version to 0.11.
4415 * libspi/component.c:
4416 Added implementation for grabFocus.
4418 * idl/Accessibility_Component.idl
4419 (Accessibility_Component_grabFocus):
4420 Made this method return boolean to indicate success or failure, to
4421 be consistent with cspi and the corresponding ATK method.
4423 * idl/Accessibility_Selection.idl
4424 (Accessibility_Selection_selectAll) :
4425 Made these methods return boolean to indicate success or
4426 failure, to be consistent with cspi and the corresponding ATK methods.
4428 * idl/Accessibility_EditableText.idl
4429 (Accessibility_EditableText_setTextContents,
4430 Accessibility_EditableText_insertText,
4431 Accessibility_EditableText_cutText,
4432 Accessibility_EditableText_deleteText,
4433 Accessibility_EditableText_pasteText):
4434 Made these methods return boolean to indicate
4437 * cspi/spi_editabletext.c:
4438 Made these methods return booleans.
4440 * libspi/selection.c:
4441 * libspi/component.c:
4442 * libspi/editabletext.c:
4443 Connected the boolean returns from ATK
4444 to the server-side code referenced above.
4446 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4448 * idl/Accessibility_Table.idl: Added missing methods,
4449 Accessibility_Table_addRowSelection,
4450 Accessibility_Table_addColumnSelection,
4451 Accessibility_Table_removeRowSelection,
4452 Accessibility_Table_removeColumnSelection.
4455 Added C wrappers for above IDL:
4456 AccessibleTable_addRowSelection,
4457 AccessibleTable_addColumnSelection,
4458 AccessibleTable_removeRowSelection,
4459 AccessibleTable_removeColumnSelection.
4462 Added server-side implementation code for IDL above, connecting
4463 to pre-existing ATK api.
4465 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4467 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4469 * libspi/accessible.c: Added implementation fo
4470 Accessibility_Accessible_get_state.
4472 * libspi/libspi.h: Added stateset.h to the list of includes.
4474 * libspi/stateset.c: Fixed broken implementation.
4476 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4479 Added implementation code for Accessibility_Magnifier_exit ().
4481 * util/mag_control.c:
4482 Added test code for above method; you can
4483 now kill an existing magnifier via
4484 ./mag_control q, from the util directory.
4486 * test/key-listener-test.c:
4488 Added a new test, for our key listener API.
4490 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4492 * test/app.c, test/keysynth-demo.c:
4494 Replace use of snprintf with g_snprintf.
4495 (fix for bugzilla 78249)
4497 2002-03-27 Michael Meeks <michael@ximian.com>
4501 * util/Makefile.am (INCLUDES): fix.
4502 (DONT_DIST_SOURCE): don't distribute the
4505 * libspi/Makefile.am (dist-hook): ditto.
4507 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4509 * libspi/hypertext.c:
4510 Fix warnings when yelp is used with atk-bridge
4512 2002-03-21 Michael Meeks <michael@ximian.com>
4514 * libspi/application.c (spi_application_new):
4515 use spi_accessible_construct so we use the AtkObject
4518 2002-03-19 Michael Meeks <michael@ximian.com>
4520 * registryd/registry.c (desktop_remove_application),
4521 (desktop_add_application): clean coding style.
4523 * registryd/desktop.c (spi_desktop_remove_application),
4524 (spi_desktop_add_application): kill re-enterency hazards.
4525 (spi_desktop_dispose): remove bogus redundant cast
4526 obscuring bug; fix bug too.
4527 (spi_desktop_init): make the desktop object immortal.
4529 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4532 Added a #define-guarded tree-traversal step
4533 when enumerating the apps (diagnostic tool).
4535 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4537 * idl/Accessibility_Role.idl:
4538 Added ROLE_DRAWING_AREA which seemed to be missing from the
4541 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4543 * cspi/spi-roletypes.h cspi/spi_accessible.c
4544 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4547 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4548 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4549 AT when applications are added and removed from the desktop. This
4550 reverts the previous broken implementation using the backing
4551 AtkObject for the SpiDesktop.
4553 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4555 * registryd/desktop.c: emit the "children-changed::add" and
4556 "children-changed::remove" signals on the backing ATK object for
4557 the desktop so AT can tell when applications are started and shut
4560 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4562 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4564 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4566 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4568 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4570 * cspi/state-types.h: synched with IDL and ATK
4572 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4574 * libspi/accessible.c
4575 (impl_accessibility_accessible_get_child_at_index):
4576 Change return value for g_return_if_fail ()
4577 to CORBA_OBJECT_NIL instead of "0" (!)
4579 * registryd/Makefile.am:
4580 * registryd/Accessibility_Register.server.in:
4581 Changed name of executable, "registryd",
4582 to something more informative:
4585 2002-03-13 Michael Meeks <michael@ximian.com>
4587 * atk-bridge/bridge.c (atk_bridge_init): don't register
4588 if we're in a bonobo-component, rather than a bonobo app.
4590 2002-03-13 Michael Meeks <michael@ximian.com>
4592 * atk-bridge/bridge.c (gtk_module_init): split
4593 out body to (atk_bridge_init): here, since otherwise
4594 we get symbol conflicts and oddness when invoked
4595 from (gnome_accessibility_module_init): here (upd.)
4597 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4600 New file. Explicitly allow "build sheriff" putbacks provided
4601 they are tested on Solaris.
4603 * docs/reference/cspi/Makefile.am:
4604 Added '-' to the "cp" command for index.sgml.
4605 ("patch by thomasvs, soon coming to a GUADEC near you")
4608 Incremented version number (0.9.0) for new release.
4609 Changed macro that checks for popt, to better detect
4610 obsolete versions of popt.
4613 Added X_LIBS to AC_SUBST, for applications
4614 that call Xlib API directly.
4617 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4620 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4623 Fix regression caused by hard-coding major
4624 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4627 * test/test-simple.c (test_editable_text),
4628 (test_test): revert previous change (error was
4629 a regression in gail which is now fixed).
4631 2002-03-04 Michael Meeks <michael@ximian.com>
4633 * test/test-simple.c (test_editable_text),
4634 (test_text): pass G_MAXINT instead of '-1' for
4635 whole string - is this a good thing !?
4637 * cspi/spi_accessible.c
4638 (Accessible_getRelationSet): fix crasher bug
4639 overwriting the end of the array.
4641 * test/test-simple.c (validate_accessible): free,
4642 not g_free returned relation set.
4644 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4646 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4647 implemented stateset support
4649 * idl/Accessibility_State.idl: Made necessary changes to
4650 the IDL to support state sets.
4652 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4654 * registryd/deviceeventcontroller.c:
4655 Added implementation for generateMouseEvent.
4657 * cspi/spi_registry.c:
4658 Connected new implementation for generateMouseEvent
4661 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4664 Incremented revision (but no change in public API
4665 outside of 'utils', which are not installed public yet.)
4667 * libspi/component.c:
4668 Changed to use atk_component API for layers and
4669 mdi_zorder, instead of deprecated atk_object API.
4671 Magnification Utility Enhancements:
4674 Added implementation of createZoomRegion, clearAllZoomRegions,
4675 resizeZoomRegion. Added new commandline argument
4676 "--no-initial-region". Note that clearAllZoomRegions doesn't
4677 unmap the old '0' region as it should (yet), and the other
4678 methods only work when creating/resizing a single region,
4679 which is "region 0".
4680 (Code for multiple region support will be added later.)
4683 Now we raise the magnifier window each time it's refreshed;
4684 this will help keep it on top.
4686 * util/mag_client.h:
4687 Added simple wrappers for above, used by mag_control.
4688 For general use, it's recommended to use the bonobo magnifier
4689 control API directly instead of using these wrappers.
4692 Moved ZoomRegionData from magnifier.c to this file.
4694 * util/mag_control.c:
4695 Added some code to exercise new IDL implementations.
4697 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4699 * libspi/text.c: Provide implementation for getAttributes.
4701 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4704 Incremented revision.
4706 * test/test-simple.c:
4707 Replaced use of deprecated g_main_iteration with
4708 g_main_context_iteration.
4710 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4713 Incremented revision for desktop alpha 2.
4715 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4717 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4720 * test/simple-at.c: include netinet/in.h.
4722 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4724 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4725 use NULL, not CORBA_OBJECT_NIL.
4727 * libspi/accessible.c:
4728 (impl_accessibility_accessible_get_relation_set):
4729 allocate the sequence correctly.
4731 * libspi/remoteobject.h: kill spi_remote_object_new.
4733 * test/test-simple.c: (validate_accessible): add code
4734 to test relation sets, now all we need is to figure
4735 out how to excercise this code path :/
4737 2002-01-18 Michael Meeks <michael@ximian.com>
4739 * test/test-simple.c
4740 (key_listener_cb): consume the key.
4741 (test_keylisteners): update.
4742 (main): wait for any pending unrefs on events.
4744 * registryd/deviceeventcontroller.c
4745 (spi_controller_update_key_grabs): only re-issue the
4746 grab on a key release.
4747 (spi_device_event_controller_forward_key_event):
4748 refresh the keygrabs before we notify the listeners,
4749 to reduce the X ungrab / re-grab race.
4750 (spi_controller_register_with_devices): remove
4751 XSelectInput - we do that with the gdk_window_ call.
4752 (_spi_controller_device_error_handler): return a value.
4753 s/GDK_DISPLAY/spi_get_display/
4755 2002-01-17 Michael Meeks <michael@ximian.com>
4757 * registryd/deviceeventcontroller.c
4758 (_deregister_keygrab): don't blow out the later
4761 * test/test-simple.c (test_keylisteners): do a
4762 more intelligent validation.
4764 2002-01-14 Michael Meeks <michael@ximian.com>
4766 * atk-bridge/bridge.c
4767 (gnome_accessibility_module_init),
4768 (gnome_accessibility_module_shutdown): impl.
4769 (gtk_module_init): protect vs. double inits.
4770 (add_signal_listener): impl.
4771 (spi_atk_bridge_state_event_listener): kill
4772 (deregister_application): split out of
4773 (spi_atk_bridge_exit_func): here.
4775 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4778 Added caret tracking when using magnifier, and
4779 now use text bounds for focus tracking of text elements, rather than
4780 the component bounds - this is helpful for short text fields in long
4781 table cells, at high magnification.
4783 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4785 * registryd/deviceeventcontroller.c:
4786 Regression fix for keylistener de-registration; global keygrabs
4787 were not being released when deregisterKeystrokeListener was
4788 called in cspi, since
4789 Accessibility_DeviceEventController_deregisterKeystrokeListener
4790 was called with a zero-length keyset. That is because the cspi
4791 method, SPI_deregisterKeystrokeListener, does not take a keyset
4792 parameter but instead should remove all the key grabs held be a
4794 The code in impl_deregister_keystroke_listener was changed to copy
4795 the keylist from the listener instance previously registered with
4796 the DeviceEventController before releasing the grabs.
4798 * registryd/registry.c:
4799 * registryd/deviceeventcontroller.c:
4800 * libspi/spi-private.h:
4802 Changed spelling of "re-enterant" to "re-entrant" globally.
4804 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4806 * test/test-simple.c:
4807 Changed key listeners test - the test was slightly mis-using the
4808 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4809 It now uses '=' as the key event listened to and generated,
4810 relying on a keysym match rather than assuming that keycode 33
4811 is always equal to keysym '!'.
4813 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4816 Changed simple-at to use a specific keyset, rather than
4817 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4818 manager, desktop, etc.
4820 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4822 * registryd/deviceeventcontroller.c:
4823 Replaced standard X error handler with a special handler that
4824 is non-fatal for failed keygrabs. This works around
4825 problems with keygrab clashes sometimes observed on
4827 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4828 mouse handling code as yet).
4830 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4833 Incremented revision for desktop alpha release.
4836 Fixed a couple of the more glaring errors (still not
4839 2002-01-11 Michael Meeks <michael@ximian.com>
4841 * registryd/deviceeventcontroller.c
4842 (spi_device_event_controller_forward_key_event): kill
4843 XUngrabKey / XKeyGrab race.
4844 (spi_controller_grab_keyboard): rename to
4845 (spi_controller_update_key_grabs): this, and deal
4846 with incremental adding / removing grabs more
4848 (_register_keygrab): ensure we're not pending a remove.
4849 (spi_grab_mask_free): impl.
4850 (spi_controller_register_global_keygrabs): split out
4852 (handle_keygrab): impl.
4853 (_deregister_keygrab): impl.
4854 (spi_controller_deregister_global_keygrabs): impl.
4855 (spi_controller_update_key_grabs): re-issue the grab if
4856 we just recieved a notification.
4858 * test/test-simple.c (key_listener_cb): remove debug.
4860 * registryd/deviceeventcontroller.c
4861 (spi_controller_register_device_listener): after
4862 registering a global keygrab, actualy register it !
4863 don't wait for a timeout; doh !
4865 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4866 to make it more readable / manipulable.
4867 s/grabmask/grab_mask/ s/refcount/ref_count/
4868 s/keyval/key_val/ s/modmask/mod_mask
4870 2002-01-08 Michael Meeks <michael@ximian.com>
4872 * registryd/deviceeventcontroller.c
4873 (spi_controller_register_with_devices): use gdk calls to
4875 (global_filter_fn): implement the filter.
4876 (spi_device_event_controller_check_key_event): rename to
4877 (spi_device_event_controller_forward_key_event): this & upd.
4878 (spi_get_display): replace with GDK_DISPLAY.
4880 * registryd/deviceeventcontroller.c
4881 (spi_controller_deregister_device_listener): unroll into
4882 (impl_deregister_keystroke_listener): here to simplify.
4883 (spi_controller_register_global_keygrabs): split cut and
4884 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4885 (spi_controller_deregister_device_listener): remove.
4886 (impl_register_mouse_listener): remove, no mouse listener
4887 support in at-spi-1.0
4889 * registryd/registry.c
4890 (_device_event_controller_hook): kill.
4891 (spi_registry_init): upd.
4893 * registryd/deviceeventcontroller.c
4894 (spi_device_event_controller_class_init): upd.
4895 (spi_check_key_event): merge into.
4896 (spi_device_event_controller_check_key_event):
4897 here and kill strange static ev init, don't leak
4898 the x_event - nor dynamicaly allocate it.
4900 * registryd/registry-main.c (main): re-direct
4901 timeout to remove strange vtable mess.
4903 * registryd/deviceeventcontroller.c
4904 (remove_listener_cb): impl.
4905 (spi_controller_deregister_device_listener):
4906 fix re-enterancy hazard.
4908 2002-01-07 Michael Meeks <michael@ximian.com>
4910 * registryd/deviceeventcontroller.c
4911 (spi_device_event_controller_new): upd.
4912 (impl_notify_listeners_sync): upd. debug.
4913 (spi_notify_keylisteners): fix re-enterancy hazards,
4914 prettify, remove O(n*n) iteration.
4915 (spi_controller_grab_keyboard): fix iteration.
4916 (spi_check_key_event): re-format to suit coding style.
4917 Clean all the warnings - we're warning free.
4919 * registryd/deviceeventcontroller.h:
4920 * registryd/registry.h: make mutualy referential with
4921 typesafe forward references instead of (!) void pointer
4924 2002-01-11 Michael Meeks <michael@ximian.com>
4926 * cspi/spi_accessible.c (role_names): add a role name
4927 to sync this array with the enum; and make the regression
4930 2002-01-10 Michael Meeks <michael@ximian.com>
4932 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4933 allow expansion of enumeration & kill warning.
4935 * test/test-simple.c (key_listener_cb): impl.
4936 (test_keylisteners): impl.
4938 * cspi/spi-listener.h: make listener signatures const
4939 on the provided (const) events.
4941 * test/keysynth-demo.c: upd. to const events.
4943 * test/simple-at.c: ditto.
4945 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4948 Rev the version to 0.5 (the previous tarball was named 0.4,
4949 even though the micro number was 3), so we need to rev upwards
4950 again for beta2/"desktop-alpha"
4953 Checked in a demo script, which requires editing before use!
4954 Proceed with caution.
4957 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4959 * cspi/spi_accessible.c:
4960 Add a couple of missing enum initializations, and fix some enum
4963 * cspi/spi_registry.c:
4964 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4966 * docs/reference/cspi/at-spi-cspi-sections.txt:
4967 Remove/fix a couple of broken document references.
4970 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4971 as Alt-Control to listen for commands, since on some systems
4972 Control-Alt may already be grabbed.
4974 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4977 Update version number to 0.4 for Beta2.
4979 * libspi/accessible.c, libspi/accessible.h:
4980 Expose spi_accessible_construct, to enable libgail-gnome
4981 construction from spi_accessible subtype.
4983 * utils/magnifier.c:
4984 Workaround for bug in some non-gnome-compliant window managers
4985 which made magnifier resize improperly.
4987 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4989 * libspi/accessible.c: (spi_accessible_new) :
4990 Move the test for SPI_IS_REMOTE_OBJECT to
4991 spi_accessible_new_return, fixing a bug and compile time warning.
4993 2002-01-08 Michael Meeks <michael@ximian.com>
4995 * registryd/registry.c (parse_event_type): remove strndup.
4997 * libspi/Makefile.am (libspi_la_SOURCES): remove
4998 sources already included in the headers section.
5000 * libspi/util.c: add.
5002 * libspi/spi-private.h: add.
5004 * registryd/registry.c: update to moved list iterators.
5006 2002-01-05 Michael Meeks <michael@ximian.com>
5008 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5010 * test/test-simple.c (main): ditto.
5012 2002-01-04 Michael Meeks <michael@ximian.com>
5014 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5015 redundant construct.
5017 * registryd/registry.c
5018 (get_listener_list): impl.
5019 (impl_accessibility_registry_register_global_event_listener):
5020 re-impl. to simplify using ~, remove dodgy const cast off.
5021 (parse_event_type): constify.
5022 (impl_accessibility_registry_deregister_global_event_listener_all):
5023 re-write, more efficiency and simplicity, kill re-enterancy
5025 (compare_listener_corbaref, compare_corba_objects),
5026 (compare_listener_quarks): define out.
5027 (impl_accessibility_registry_deregister_global_event_listener):
5028 re-write for effiency, and nail re-enterancy hazard.
5029 (impl_accessibility_registry_get_desktop_list): impl.
5030 (re_enterant_list_delete_link): impl.
5031 (re_enterant_list_foreach): impl.
5032 (remove_listener_cb): impl.
5033 (_registry_notify_listeners): kill.
5034 (notify_listeners_cb): impl.
5036 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5037 (SPI_getDesktopList): impl.
5039 * test/test-simple.c (test_desktop): test the methods.
5041 2002-01-03 Michael Meeks <michael@ximian.com>
5043 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5044 keystrings since we free them
5045 (SPI_freeAccessibleKeySet): in here.
5047 * libspi/accessible.c (spi_accessible_new): kill warning,
5048 wonder what is going on with the constructor here.
5050 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5052 * libspi/accessible.c (spi_accessible_new ()) :
5053 Added check to see if AtkObject is an SpiRemoteObject before
5054 creating an SpiAccessible.
5056 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5058 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5059 Enable keygrabs using the Control modifier, now that they are
5060 working properly (they were previously disabled).
5063 Change the command keygrab for this demo to "Control+Alt", so as
5064 to conflict with fewer other key commands on the system; this
5065 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5067 Removed a pointlessly-chatty keylistener for unshifted keys
5068 (shifted keys are still reported).
5070 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5072 * libspi/remoteobject.h:
5073 * libspi/remoteobject.c:
5074 Added definitions for special AtkObject subtype, required for
5075 support of remote components (specifically, used by BonoboControl
5076 accessibility implementation).
5078 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5080 * cspi/spi.h: synched relation types with ATK
5082 * cspi/spi_accessible.c: Added implementations of
5083 AcccessibleRelation_* methods
5085 * idl/Accessibility_Relation.idl: added getRelationTypeName
5086 method. Synched known relation types with ATK. Allowed for
5087 relation type extension with the RELATION_EXTENDED type.
5089 * libspi/relation.c: Provided implementations for
5090 AccessibleRelation methods.
5092 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5094 API tweaks for today's API 'freeze'.
5097 Added placeholder functions to allow future compatible expansion
5098 of the IDL interfaces.
5100 * idl/Accessibility_Registry.idl:
5101 Changed generateKeyEvent to generateKeyboardEvent. Changed
5102 signature of this method to accept an optional keystring in
5103 parameter (for complex text input synthesis) and changed use of
5104 simple 'boolean' parameter in registerKeystrokeListener to a
5105 struct, EventListenerMode.
5107 * cspi/spi_accessible.c:
5109 * cspi/spi_streamablecontent.c:
5110 Added references to AccessibleStreamableContent interface, and
5111 definition and implementation of AccessibleStreamableContent
5114 * cspi/spi_registry.c:
5116 Changed generateKeyEvent API to generateKeyboardEvent,
5117 taking a new (optional) keystring parameter to support complex
5122 Renamed directory (to better reflect its actual purpose, bridging
5123 from at-spi to ATK). The .so module is also now named
5126 * idl/Accessibility_Hypertext.idl:
5127 * libspi/accessible.c:
5128 * libspi/hypertext.h:
5129 * libspi/hypertext.c:
5130 Changed Accessibility_Hypertext to *not* derive from
5133 * cspi/spi_registry.c:
5134 Added list of legal event type names for 'window' events, which
5135 completes the registry event API.
5137 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5139 * at-bridge/bridge.c: Added registration for separate
5140 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5141 signals. If either of the first two parameters to the generic
5142 bridge signal handler are ints, they are passed on as event
5143 details. This allows an AT to determine what text was inserted.
5145 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5147 * registryd/deviceeventcontroller.c:
5148 Fixed regressions in generateKeyEvent caused by the removal of
5149 gdk_init from registryd; we now use pure X calls to connect to the
5150 display, which makes sense because deviceeventcontroller already
5151 uses a fair bit of X API (should eventually be migrated to a
5152 'portability layer').
5154 * registryd/desktop.c:
5155 Fixed minor regression in spi_desktop_init, changed the way the
5156 desktop name is being set to work with new spi_base API
5157 (gobject-based, rather than AtkObject-based).
5159 * registryd/Makefile.am:
5160 Minor revision of makefile to use XTST_LIBS variable rather than
5161 hard-wiring the Xtst LD_ADD element.
5163 * test/keysynth-demo.c:
5164 Tweaked an output message; added initialization of the
5165 'keystrings' member of the "switch listener" key_set.
5167 * libspi/relation.c:
5168 Squashed compile-time warning.
5170 * libspi/accessible.c:
5171 Cosmetic and formatting fixes, renamed a static method.
5173 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5175 * libspi/accessible.c
5177 * libspi/application.c
5180 * libspi/component.c
5181 * libspi/editabletext.c
5182 * libspi/hyperlink.c
5183 * libspi/hypertext.c
5185 * libspi/selection.c
5189 * registryd/desktop.c:
5190 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5192 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5194 * idl/Accessibility_Registry.idl:
5195 Added boolean member 'is_text' to DeviceEvent. This is for the
5196 use of key events, and helps prevent ambiguity between composed
5197 key strings and keysym names, since both may potentially be
5198 returned in the 'event_string' member.
5200 * at-bridge/bridge.c:
5201 * registryd/deviceeventcontroller.c:
5202 Use the 'is_text' member when notifying device event listeners.
5203 Knon issue: composed characters are not dealt with correctly by
5204 the global key listener implementation yet.
5206 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5208 * at-bridge/bridge.c:
5209 Namespaced local static methods to spi_atk_bridge_* where
5210 previously named bridge_*, and spi_* elsewhere.
5212 * at-bridge/bridge.c:
5213 * cspi/bonobo/cspi-bonobo-listener.c:
5214 Added demarshalling/conversion for string member of
5215 Accessibility_DeviceEvent to AccessibleKeystroke.
5217 * registryd/deviceeventcontroller.c:
5218 Added code to fill the Accessibility_DeviceEvent key string value
5219 member for global key events (i.e. from XGrabKey), to match
5220 behavior of Accessibility_DeviceEvent from the toolkit key events
5221 from the bridge. Fixed timestamp in global key event notifications.
5224 Added printout of key event's string value to
5225 report_ordinary_key_event, for demo/debugging purposes.
5227 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5229 * idl/Accessibility_Registry.idl:
5230 Removed Accessibility_KeyStroke structure in favor of generic
5231 Accessibility_DeviceEvent structure.
5232 Changed Accessibility_ControllerEventMask from a struct to an
5235 * at-bridge/bridge.c:
5236 Changed APIs to use DeviceEvent structure as above, and removed
5237 bogus casting between these event structures.
5239 * cspi/spi-listener.h:
5240 Added keystring member of AccessibleKeystroke structure, to enable
5241 matching on event "names" rather than only hardware codes and
5245 Added keystrings member of AccessibleKeySet struct, to allow
5246 matching on event names (as above).
5247 Added declarations for SPI_createAccessibleKeySet and
5248 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5249 event modmasks directly as unsigned ints rather than structs with
5250 refcounts, in the DeviceEventController methods.
5252 * cspi/spi_registry.c:
5253 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5255 * cspi/spi-roletypes.h:
5256 Added documentation of newly added SPI Roles.
5258 * cspi/bonobo/cspi-bonobo-listener.c:
5259 Changes in support of API changes above.
5261 * libspi/accessible.c:
5262 Converted APIs to use DeviceEvent structure (see IDL changes
5265 * registryd/deviceeventcontroller.c:
5266 Added DEControllerGrabMask structure to track keygrabs not only by
5267 modmask but by keyset as well; this allows us to do "global"
5268 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5269 grabbing on AnyKey and then filtering after-the-fact.
5270 Bugfixes for event filtration mean that we don't get false matches
5271 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5273 * registryd/deviceeventcontroller.c:
5274 Namespaced a number of static methods to use spi_ prefix. Major
5275 revision to internals of global (i.e. X) key grabs.
5277 * registryd/deviceeventcontroller.h:
5278 Removed keymask_list and added keygrabs_list to
5279 SpiDeviceEventController struct.
5282 Added use of SPI_createAccessibleKeySet API when creating a
5283 listener for only one key. Attach a listener to "shift spacebar
5284 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5285 X key event names to SPI key event names, so that listeners are
5286 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5288 * test/keysynth-demo.c:
5289 Changed (incorrect) use of X key event names (KeyPressed,
5290 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5293 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5295 * libspi/accessible.c:
5296 Convert all AtkRole enumerations to Accessibility_Role enums when
5297 getting a role from an AtkObject.
5299 * cspi/spi_accessible.c:
5300 Complete the conversion of Accessibility_Role enums at runtime to
5301 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5302 role enums correctly match those given in spi-roletypes.h.
5303 Re-synchronize the local names list for AccessibleRole_getName ().
5304 AccessibleRole_getName is now deprecated, since it duplicates the
5305 more reliable Accessible_getRoleName.
5306 Added some role types from Accessibility_Role.idl.
5308 * idl/Accessibility_Role.idl:
5309 Added some role types used by AtkRole.
5311 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5314 * cspi/spi_registry.c:
5316 * cspi/cspi-bonobo-listener.c:
5317 Namespaced all methods that did not begin with an "SPI_" or
5318 "Accessible" prefix to "SPI_".
5321 Homogenized internal function namespace to "cspi_" for statics.
5324 Patched tests to use the new CSPI API.
5326 * docs/reference/cspi/at-spi-cspi-sections.txt:
5327 Updated docs to reflect namespace changes, and added a number of
5328 methods to the documentation.
5330 * registryd/registry.c:
5331 Changed use of strings and string hashes in listener event
5332 matching and parse_event_string to use GQuark, which is guaranteed
5335 * registryd/registry.h:
5336 Squashed annoying warning.
5338 * idl/Accessibility_Role.idl:
5339 Extended range of available Accessibility_Role values.
5341 * cspi/spi_accessible.c:
5342 Re-ordered role names.
5344 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5346 * idl/Accessibility_Value.idl:
5347 Revert use of union back to CORBA_double, since the double type is
5348 more efficient and can contain the other types without loss of
5351 * idl/Accessibility_Accessible.idl:
5352 Added method Accessibility:Accessible:getRoleName, to complement
5353 Accessibility:Accessible:getRole.
5355 * cspi/spi_accessible.c:
5357 Added C binding for above, Accessible_getRoleName (), and changed
5358 signature of Accessible_getRole () to return an AccessibleRole.
5360 * cspi/spi-roletypes.h:
5361 Changed AccessibleRole_getName to return a char * instead of a
5362 const char *. This method is now at least temporarily deprecated
5363 in favor of asking Accessibles for their RoleNames directly.
5366 Revert to match Accessibility_Value.idl;
5370 Change signature of AccessibleValue methods to use double rather
5374 * cspi/spi_accessible.c:
5375 Changed Accessible_getRole to return an AccessibleRole enum rather
5376 than a UTF-8 string. The UTF-8 string can still be obtained via
5377 AccessibleRole_getName ().
5379 * test/test-simple.c:
5380 Add test_action. Small fixup to match API change to Accessible_getRole.
5383 Bugfix for get_action_from_servant ().
5385 2001-12-11 Michael Meeks <michael@ximian.com>
5387 * libspi/libspi.h: remove registry.h and
5388 desktop.h, deviceeventcontroller.h
5390 * libspi/Makefile.am: remove registry.[ch],
5391 desktop.[ch], deviceeventcontroller.[ch]
5393 * registryd/Makefile.am: add registry.[ch],
5394 desktop.[ch], rename registryd.c to registry-main.c.
5395 add deviceeventcontroller.[ch]
5397 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5400 Replace setenv() call with putenv ().
5402 * libspi/component.c:
5403 Bugfix in AccessibleComponent_getExtents (),
5406 2001-12-11 Michael Meeks <michael@ximian.com>
5408 * libspi/image.c (impl_getImageExtents): impl.
5409 (spi_image_class_init): upd.
5412 (AccessibleImage_getImageDescription): fix daft bug
5415 * test/test-simple.c (global_listener_cb): update
5416 to only quit if not --poke
5417 (main): catch --poke.
5418 (validate_accessible): upd. dumping, call test_image
5421 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5424 * idl/Accessibility.idl: update all IDL includes.
5426 * idl/*.idl - rename to namespace - this sucks, blame
5427 mjs' bad decision for oafd.
5429 * test/test-simple.c (create_test_window): add more tests.
5430 (create_tree): split this out.
5431 (validate_accessible): bugfix.
5433 2001-12-11 Michael Meeks <michael@ximian.com>
5435 * cspi/bonobo/cspi-bonobo-listener.c:
5436 (cspi_kestroke_listener_unref),
5437 (cspi_event_listener_unref): impl. undoing previous
5438 homenous environment - for Bill.
5440 * cspi/spi_table.c (long_seq_to_array): use
5443 * cspi/spi_main.c: split out all bonoboish bits into
5446 * cspi/spi-impl.h: upd. typedefs.
5448 * cspi/spi_registry.c: update to lowlevel API,
5449 return booleans to indicate success in some places.
5451 * cspi/spi_event.c: update to lowlevel API.
5453 * cspi/bonobo/Makefile.am: add.
5455 * cspi/bonobo/cspi-lowlevel.h: add
5457 * cspi/bonobo/cspi-bonobo.c: add
5459 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5461 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5462 (SUBDIRS): add bonobo, link in the libs.
5464 * cspi/spi-util.c: kill this file.
5466 * TODO: merge in my bits.
5468 2001-12-11 Michael Meeks <michael@ximian.com>
5470 * test/test-simple.c (test_value, test_table, main):
5471 remove unused variables causing warnings.
5473 * configure.in: cleanup checks - require gail.
5475 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5478 Changed Value interface to use SValue (scalars) rather than
5479 assuming all values are floats. This allows floats, doubles,
5480 longs, shorts, and unsigned values to be manipulated.
5481 Introduced Accessibility:SValue union.
5484 Updated to use new API above, and to work correctly with GValues
5485 of different types in AtkValue.
5488 Updated to use new API above. cspi's API is as yet unchanged.
5491 Updated the Value revision action item.
5493 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5495 * test/test-simple.c:
5496 Added test_table (GtkTreeView widget in test window to follow).
5497 Un-commented test_value, added GtkRange widget.
5498 Added GtkTreeView widget with GtkListStore. It passes regression
5499 test but leaks one SPI object for some reason.
5502 Fixed bug in impl__set_currentValue.
5504 2001-12-10 Michael Meeks <michael@ximian.com>
5506 * cspi/spi_text.c: audit for exception handling,
5507 tolerating NULL object references safely etc.
5509 * cspi/spi_value.c: ditto.
5511 * cspi/spi_table.c (AccessibleTable_getSummary),
5512 (AccessibleTable_getAccessibleAt),
5513 (AccessibleTable_getRowHeader),
5514 (AccessibleTable_getColumnHeader),
5515 (AccessibleTable_getCaption): fix bugs hidden by
5517 (long_seq_to_array): impl.
5518 (AccessibleTable_getSelectedRows),
5519 (AccessibleTable_getSelectedColumns): use it.
5521 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5524 Added a TODO list (rough and short for now).
5526 * cspi/spi_hyperlink.c:
5527 * cspi/spi_hypertext.c:
5528 Fixed macro name typos, and remove use of obsolete macro in
5529 AccessibleHyperlink_getLink.
5531 * cspi/spi_action.c:
5532 * cspi/spi_accessible.c:
5533 * cspi/spi_application.c:
5534 * cspi/spi_component.c:
5535 * cspi/spi_selection.c:
5538 Documentation fixes (removed return values from ref/unref methods).
5540 2001-12-10 Michael Meeks <michael@ximian.com>
5542 * cspi/spi_action.c: audit for exception handling,
5543 tolerating NULL object references safely etc.
5545 * cspi/spi_accessible.c: ditto.
5547 * cspi/spi_component.c: ditto.
5549 * cspi/spi_editabletext.c: ditto.
5551 * cspi/spi_hyperlink.c: ditto.
5553 * cspi/spi_hypertext.c: ditto.
5555 * cspi/spi_image.c: ditto.
5557 * cspi/spi_selection.c: ditto.
5559 2001-12-10 Michael Meeks <michael@ximian.com>
5561 * configure.in: use cspi/libspi.pc.in instead.
5563 * Makefile.am (pkgconfig_DATA): upd. to match.
5565 * test/simple-at.c (report_focus_event): kill hacks around
5566 bad return values, use putenv not setenv
5568 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5569 fire ChildGone - I killed it.
5571 * libspi/component.c
5572 (impl_accessibility_component_get_extents): remove
5575 * idl/Accessible.idl: kill ChildGone exception.
5577 * cspi/*.[ch]: kill int return from ref / unref.
5579 * cspi/spi_main.c (cspi_object_add_check): fold into
5580 (cspi_object_add): here.
5582 * cspi/spi_component.c (AccessibleComponent_getExtents):
5583 handle exceptions elegantly.
5585 * cspi/spi-private.h (cspi_check_ev_return),
5586 (cspi_return_if_fail): impl.
5588 * cspi/spi_accessible.c: use extensively.
5589 (AccessibleStateSet_equals): add direct compare check.
5591 * cspi/spi_selection.c: tolerate NULL objs, and check
5592 exceptions before return.
5594 * cspi/spi-util.c (cspi_warn_ev): rename to
5595 (cspi_check_ev): this & don't pass ev in; no point.
5597 2001-12-10 Michael Meeks <michael@ximian.com>
5599 * test/test-simple.c: use putenv not setenv
5600 (get_environment_vars): more chatty if you're not using
5603 * test/simple-at.c: do the setenv so more people see the
5606 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5608 * libspi/registry.c:
5609 Changed check of CORBA_environment on notification to be a warning
5610 instead of an error for the moment, since we can recover from this
5611 error when caused by a queued notification from a dead app.
5614 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5615 used by all current implementors of AtkValue), and coerce to
5616 CORBA_float. (Proper general case fix may require change to Value.idl).
5618 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5622 * cspi/spi_accessible.c:
5623 Documentation fixes: added user_data params to documentation for
5624 listeners and callbacks.
5626 * cspi/spi_accessible.c:
5627 Changed AccessibleStateSet_compare to return a
5628 StateSet rather than return the difference set into a third parameter.
5631 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5634 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5635 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5639 Remove subdirectory po from SUBDIRS for now.
5641 * at-bridge/bridge.c:
5642 Beefed up a couple of debug printouts.
5643 One-line fix for signal notification name formatting.
5645 * libspi/accessible.c:
5646 Added assertion to spi_accessible_new ().
5648 * libspi/application.c:
5649 Put #ifdef qualifiers around a printf.
5652 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5654 * registryd/Makefile.am:
5656 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5657 INTLTOOL_SERVER_RULE macro.
5660 Added an event listener for several ATK signals, for
5661 testing and debugging. Removed a few g_warnings.
5662 Added test output if focussed item implements the Value interface.
5664 * test/test-simple.c:
5665 Added test_value () function (known not to pass at the moment, so
5666 not actually called yet.
5668 2001-12-08 Michael Meeks <michael@ximian.com>
5670 * at-bridge/bridge.c (bridge_focus_tracker),
5671 (emit_eventv): fix the same ref. leak.
5672 (register_atk_event_listeners): don't leak.
5674 * cspi/spi-listener-impl.c (cspi_event): more
5675 protection from client code.
5677 * test/test-simple.c (test_desktop): unref the app.
5679 * test/Makefile.am: upd. TESTS.
5681 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5683 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5685 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5687 * cspi/spi_registry.c: constify in strings.
5688 (deregisterGlobalEventListenerAll): don't release the ref.
5690 * cspi/spi.h: start removing redundant / conflicting
5691 gtkdoc comments, making the API readable at a glance :-)
5693 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5695 * test/keysynth-demo.c (keysynth_exit, main): upd.
5697 * test/simple-at.c (main, simple_at_exit): upd.
5699 * test/test-simple.c (unutterable_horror): kill.
5700 (utterable_normal_derefs): kill.
5701 (main): upd & do a setenv before gtk_init, so that we
5702 can use memprof - and to save the pain of remembering
5703 this, if we're running under memprof - don't exit.
5705 * cspi/spi_main.c (SPI_exit): return exit status
5707 (SPI_event_quit): impl.
5708 (SPI_event_main): simplify.
5709 (cspi_is_gnome_app): kill.
5710 (SPI_init): kill isGNOMEapp arg.
5712 * at-bridge/bridge.c (register_atk_event_listeners):
5713 re-instate the unref.
5714 (bridge_exit_func): don't re-activate the registry,
5715 protect vs. theoretical re-entry, use the
5716 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5717 assert a clean shutdown - for regression tests.
5719 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5721 * configure.in: Comment out dummy i18n support for now,
5722 otherwise it fails to build.
5723 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5724 EXTRA_DIST. They are missing in tarball.
5726 2001-12-07 Michael Meeks <michael@ximian.com>
5728 * util/magnifier.c: kill bonobo activation reg. race.
5730 * libspi/component.c
5731 (impl_accessibility_component_get_extents): make it match
5734 * libspi/registry.c (_registry_notify_listeners):
5735 re-remove X headers & reconcile conflicts.
5736 (spi_listener_struct_free): bad conflict resolve.
5737 (impl_accessibility_registry_register_application):
5738 more bad merging fixed.
5739 (impl_accessibility_registry_deregister_application): ditto.
5740 (spi_registry_new): ditto.
5741 (spi_registry_init): don't have an applications field.
5743 [ merge fixups2 branch to here ]
5744 2001-12-07 Michael Meeks <michael@ximian.com>
5746 * test/simple-at.c (report_focus_event),
5747 (report_focussed_accessible): remove g_warning debug.
5749 2001-12-07 Michael Meeks <michael@ximian.com>
5751 * test/test-simple.c (validate_tree): comment out some checks.
5752 (test_desktop): app now not registered idly - horay.
5754 2001-12-07 Michael Meeks <michael@ximian.com>
5756 * cspi/spi_registry.c
5757 (registerAccessibleKeystrokeListener): clean, stop it leaking
5758 great swathes of memory, and device event controller references.
5759 ensure we always pass valid sequences.
5760 (deregisterAccessibleKeystrokeListener): ditto.
5761 (generateKeyEvent): upd.
5763 * at-bridge/bridge.c (bridge_key_listener): handle
5764 registry dead exception gracefully.
5765 (bridge_focus_tracker, emit_eventv): free ev.
5767 * test/simple-at.c (report_focus_event): fix polarity.
5769 * libspi/application.c (notify_listeners): kill the ev
5770 argument, and make sure we init the ev we use.
5771 (spi_application_object_event_listener): split out a chunk
5772 (get_atk_object_ref): here & fixup.
5773 (reverse_lookup_name_for_toolkit_event): make const.
5774 (spi_application_toolkit_event_listener): fixup, kill leaks
5777 * at-bridge/bridge.c (register_atk_event_listeners):
5778 don't unref the noop object - causes grief.
5780 * libspi/registry.c: remove the X headers.
5781 turn off the debug churn.
5783 * libspi/accessible.c (spi_accessible_new_return): only
5784 release the ref if we are supposed to [doh]
5786 * test/simple-at.c (report_button_press, report_focus_event):
5787 guard vs. unexpected exit.
5789 * at-bridge/bridge.c (gtk_module_init): prune printf.
5790 (bridge_exit_func): fix app unref.
5792 * libspi/Makefile.am: don't install registry or desktop.h
5794 * libspi/*.h: update includes.
5796 * libspi/application.h: don't include ourself, or
5797 other redundant headers.
5799 2001-12-06 Michael Meeks <michael@ximian.com>
5801 * libspi/accessible.c
5802 (get_accessible_from_servant): impl.
5803 Upd. all CORBA impl.s to use it killing cut and paste.
5805 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5807 (SPI_init): register atexit cleanup handler here.
5809 2001-12-06 Michael Meeks <michael@ximian.com>
5811 * at-bridge/bridge.c (gtk_module_init): g_error on
5812 activation exception
5814 2001-12-06 Michael Meeks <michael@ximian.com>
5816 * at-bridge/bridge.c (gtk_module_init): some sort of
5817 confusing merge clash - reverted.
5818 (bridge_idle_init): ditto.
5820 * test/test-simple.c (main, utterable_normal_derefs):
5821 merge from Bill - somehow not committed.
5823 2001-12-06 Michael Meeks <michael@ximian.com>
5825 * libspi/value.c (spi_value_class_init): upd.
5826 (spi_value_finalize): kill.
5828 * libspi/table.c (spi_table_finalize): kill.
5829 (spi_table_interface_new): upd.
5830 (spi_table_class_init): upd.
5831 (get_table_from_servant): impl.
5832 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5834 * libspi/selection.c (spi_selection_finalize): kill.
5835 (spi_selection_interface_new): upd.
5836 (spi_selection_class_init): upd.
5837 (get_selection_from_servant): impl.
5838 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5840 * libspi/relation.c (spi_relation_finalize): kill.
5841 (spi_relation_class_init, spi_relation_new): upd
5843 * libspi/image.c (spi_image_finalize): kill.
5844 (spi_image_class_init): upd.
5845 (spi_image_interface_new): upd.
5846 (get_image_from_servant): impl.
5847 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5849 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5850 (spi_hyperlink_finalize): kill.
5851 (spi_hyperlink_new): upd.
5852 (get_hyperlink_from_servant): impl.
5853 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5855 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5856 (spi_hypertext_finalize): kill.
5857 (spi_hypertext_class_init): upd.
5858 (get_hypertext_from_servant): impl.
5859 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5861 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5862 (spi_editable_text_interface_new): upd.
5863 (get_editable_text_from_servant): impl.
5864 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5866 * libspi/text.c (get_text_from_servant): impl.
5867 All impls - update to use it killing more cut and paste,
5868 also fix bad string returns on duff args ( a somewhat
5869 impossible case to handle - but hey ).
5870 (spi_text_construct): impl.
5871 (spi_text_interface_new): upd.
5872 (spi_text_object_finalize): kill.
5874 * libspi/component.c
5875 (accessibility_component_object_finalize): kill.
5876 (spi_component_class_init): upd.
5877 (get_component_from_servant): impl. helper to kill cut & paste.
5878 (impl_accessibility_component_contains):
5879 (impl_accessibility_component_get_accessible_at_point):
5880 (impl_accessibility_component_get_position):
5881 (impl_accessibility_component_get_extents):
5882 (impl_accessibility_component_get_mdi_z_order):
5883 (impl_accessibility_component_get_layer):
5884 (spi_component_interface_new): upd.
5886 * libspi/action.c (spi_action_finalize): kill.
5887 (spi_action_class_init): upd. inherit from SpiObject.
5888 (spi_action_interface_new): upd.
5889 (get_action_from_servant): impl. helper to reduce cut & paste.
5890 (impl_getKeyBinding, impl_getName, impl_doAction),
5891 (impl_getDescription): Use it everywhere.
5893 * cspi/spi_main.c (get_live_refs): a pointer hash.
5894 (spi_object_hash, spi_object_equal): comment out.
5895 There are issues with CORBA object hashing that need
5898 * libspi/application.c (spi_application_init),
5899 (spi_application_new): upd.
5901 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5902 (spi_accessible_class_init): upd.
5903 s/accessible/object/ in epv methods.
5905 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5907 * at-bridge/bridge.c:
5908 Reorder the bridge initialization into the bridge gtk_module_init,
5909 an immediate call to bridge_register_app, and an idle_add for
5910 register_atk_event_listeners (the only code that *must* wait until
5911 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5912 the activation, creates the application's Accessible object, and
5913 queues the bridge_idle_init function. Restored call to
5914 Accessibility_Registry_deregisterApplication().
5915 Prior to making this call we obtain a new reference to the
5916 registry, which is a temporary hack that helps us handle apps that
5917 shut down the bonobo mainloop before we get there.
5919 * libspi/registry.c:
5920 Fix string leakage in debug block, and don't segv if a an app
5921 dies before its event notifications have been propagated.
5924 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5925 as stopgap measure until we get proper exception handling when
5926 objects die during or before interrogation.
5930 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5931 Also changed default value of is_gnome_app to TRUE.
5934 * test/keysynth-demo.c:
5935 Changed use of SPI_init and SPI_event_main to reflect API change above.
5938 Made report_focus_event check the warning value from getName
5939 before reporting on focussed accessible; simplifies handling of
5940 notifications from dead objects.
5942 * test/test-simple.c: (Changes not in this patch since source is
5945 2001-12-05 Michael Meeks <michael@ximian.com>
5947 * registryd/registryd.c (main): protect against
5948 bonobo-activation startup race condition.
5950 * cspi/spi_main.c (cspi_object_add_check): cope
5951 with the exception elegantly.
5953 * idl/Accessible.idl: decl. ChildGone
5955 * libspi/desktop.c (spi_desktop_dispose): impl.
5956 (spi_desktop_class_init): upd.
5957 (spi_desktop_add_application),
5958 (spi_desktop_remove_application),
5959 (abnormal_application_termination): impl.
5960 (impl_desktop_get_child_at_index): re-impl.
5963 (impl_accessibility_registry_deregister_application),
5964 (impl_accessibility_registry_register_application):
5965 kill excessive debug clutter.
5967 * test/test-simple.c (test_misc): test some NULL
5968 tolerance. (main): upd.
5970 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5971 implements no interfaces - so let's not crash.
5973 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5975 * libspi/accessible.c (spi_accessible_new_return): impl.
5976 helper to calm the cut and paste, to cope with
5977 NULL AtkObjects effectively and efficiently, and to kill
5978 the referencing bugs.
5980 * libspi/table.c (impl_getAccessibleAt),
5981 (impl_getRowHeader, impl_getColumnHeader): upd.
5983 * libspi/hyperlink.c (impl_getObject): upd.
5985 * libspi/accessible.c
5986 (impl_accessibility_accessible_get_child_at_index): upd.
5988 * libspi/component.c
5989 (impl_accessibility_component_get_accessible_at_point): upd.
5991 * test/test-simple.c (test_editable_text, test_text): impl.
5994 * cspi/spi_editabletext.c
5995 (AccessibleEditableText_insertText): constify.
5997 * test/test-simple.c (focus_me): make more robust.
5999 * libspi/accessible.c: remove some printfs in methods that
6000 we test and work fine, so we can get a clean tree dump.
6002 * test/test-simple.c (validate_accessible),
6003 (validate_tree): make tree dumping pretty too.
6005 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6006 it builds without debug on.
6008 * test/test-simple.c (validate_accessible): fix the most
6011 * cspi/spi_main.c (spi_object_release): leave the nicely
6012 blanked memory around if in debug mode.
6014 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6016 [committed to fixups2]
6017 2001-12-05 Michael Meeks <michael@ximian.com>
6019 * libspi/editabletext.c
6020 (spi_editable_text_class_init): g_type_class_peek_parent,
6021 not interface peek - so we finalize cleanly.
6023 * libspi/accessible.c (spi_accessible_new): kill debug.
6025 * test/test-simple.c (validate_accessible): fix ref.
6026 leak, print strings before freeing them; sigh, comment a
6027 chunk out due to strangeness.
6028 (validate_tree): unref the child after use.
6030 * cspi/spi_component.c (AccessibleComponent_getLayer):
6031 add missing break statement, switch on zlayer not the
6032 uninitialized retval.
6034 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6035 before (possibly re-entering) remote unref.
6037 * test/simple-at.c (main): unref the desktop.
6039 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6042 * cspi/spi_main.c (cspi_accessible_is_a): here to
6043 isolate bonobo API usage more.
6045 * libspi/registry.c (impl_accessibility_registry_register_application):
6046 prune bogus comment.
6048 2001-12-04 Michael Meeks <michael@ximian.com>
6050 * test/test-simple.c (validate_tree): upd.
6051 IndexInParent check to make it more lucid.
6052 (validate_accessible): dump the tree.
6054 * libspi/accessible.c (de_register_public_ref),
6055 (get_public_refs): impl.
6056 (spi_accessible_new): make more efficient & intuitive.
6057 Now IndexInParent check works.
6059 2001-12-04 Michael Meeks <michael@ximian.com>
6061 * cspi/spi-util.h: remove.
6063 * cspi/spi.h: move SPI_freeString here
6065 * libspi/component.c (impl_accessibility_component_get_layer):
6067 (impl_accessibility_component_get_mdi_z_order): ditto,
6068 return -1 on error - is this ok ?
6070 * test/test-simple.c (test_application): impl.
6072 * cspi/spi_accessible.c (Accessible_getApplication),
6073 (Accessible_isApplication): impl.
6075 * libspi/registry.c (spi_listener_struct_free): release
6076 the CORBA reference too.
6078 * libspi/accessible.c
6079 (impl_accessibility_accessible_get_parent): fix ref leak.
6081 * libspi/registry.c (spi_registry_new): make the registry
6082 immortal - we don't want it to go away ever.
6084 * libspi/application.c
6085 (spi_accessible_application_finalize): impl. cleanup.
6087 * cspi/spi_registry.c
6088 (deregisterGlobalEventListenerAll),
6089 (deregisterGlobalEventListener),
6090 (deregisterAccessibleKeystrokeListener): fix ref leak.
6092 * cspi/spi_main.c (SPI_init): remove redundant ref.
6094 * test/test-simple.c (unutterable_horror): impl. to force a
6099 (impl_accessibility_registry_deregister_application): release
6100 the application when we de-register it.
6102 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6103 until we have the infastructure to get it right.
6105 2001-12-03 Michael Meeks <michael@ximian.com>
6107 * libspi/Makefile.am: only build eventlistener.[ch]
6109 * libspi/accessible.c
6110 (impl_accessibility_accessible_get_child_at_index): don't leak.
6112 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6113 before we hit the idle handler.
6115 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6116 debugging than exit.
6118 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6120 * libspi/listener.c (impl_notify_event): check source
6121 not NIL before unref.
6123 * libspi/registry.c (impl_registry_notify_event): ditto.
6125 * libspi/eventlistener.c
6126 (impl_accessible_event_notify_event): unref the source.
6128 * libspi/accessibleeventlistener.c
6129 (impl_accessible_event_notify_event): unref the source.
6131 * idl/Event.idl: remove 'hash_id' attribute - of no
6134 * libspi/application.c (notify_listeners): upd list
6136 (spi_application_object_event_listener),
6137 (spi_application_toolkit_event_listener): upd to do correct
6141 (_registry_notify_listeners): update.
6142 (parse_event_type): this method also leaks like a sieve.
6143 (impl_accessibility_registry_deregister_global_event_listener):
6144 fix ETYPE_WINDOW case.
6146 * libspi/application.c
6147 (impl_accessibility_application_register_object_event_listener):
6150 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6152 * libspi/hypertext.c (impl_getLink): ditto.
6154 * cspi/spi_main.c (cspi_object_add): remove
6155 bogus CORBA_Object_duplicate.
6157 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6160 * cspi/spi_accessible.c
6161 (Accessible_getRelationSet): fix leak / referencing issue.
6163 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6164 (cspi_object_add, cspi_object_unref): upd.
6165 (spi_object_release, get_live_refs): impl.
6166 (cspi_cleanup): simplify.
6168 * *.[ch]: s/boolean/SpiBoolean/
6170 * cspi/spi_accessible.c (role_names): actualy order so it
6171 corresponds with the enum !
6173 * test/test-simple.c (test_roles): check some role strings
6174 vs. enums to detect offset errors.
6176 2001-12-01 Michael Meeks <michael@ximian.com>
6178 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6180 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6182 (Accessible_getChildAtIndex): use cspi_add_check so we
6183 check the ev before using a (possibly) invalid value.
6185 * libspi/accessible.c
6186 (impl_accessibility_accessible_get_parent): don't segv
6189 * at-bridge/bridge.c (gtk_module_init): upd.
6190 (bridge_property_event_listener): don't leak strings
6192 (bridge_state_event_listener),
6193 (bridge_property_event_listener): don't use a static
6194 buffer in case of recursive event emission &
6195 re-enterancy - split out the swathe of cut and paste
6197 (emit_eventv): and fix 2 ref leaks here & comply to the
6199 (bridge_register_app): rename to
6200 (bridge_idle_init): this and kill arg parsing, split
6201 various inits & bonobo-activation registration to module
6202 init time, kill referencing error.
6203 (bridge_exit_func): fix the same leak.
6204 (bridge_focus_tracker): don't leak event structures
6206 (bridge_signal_listener): more leakage and cut & paste
6208 (bridge_key_listener): return the result - FIXME is
6209 this polarity correct ?
6210 (accessibility_keystroke_from_atk_key_event): rename
6211 (accessibility_init_keystroke_from_atk_key_event): and stop
6213 (gtk_module_init): return a value - not that it is checked by
6215 (bridge_key_listener): register my horror at casting between
6216 IDL defined structs.
6217 (bridge_get_registry): kill - not used.
6219 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6221 * test/test-simple.c (test_roles): impl.
6222 (test_desktop, validate_accessible, validate_tree): impl.
6224 * cspi/spi_accessible.c (role_names): fixup bogus
6225 MAX_ROLES setup, make constants const for efficient linkage
6226 (AccessibleRole_getName): conform to coding style, make
6229 2001-11-30 Michael Meeks <michael@ximian.com>
6231 * cspi/spi.h: add missing prototype.
6233 * libspi/registry.c (spi_listener_struct_new): fix sig.
6235 * test/Makefile.am: add test-simple
6237 * test/test-simple.c: add
6239 * test/test.sh: add.
6241 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6243 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6244 do it straight - since otherwise we often get an activation race.
6246 [ work before Bill duplicated a chunk of it ... ]
6247 2001-11-30 Michael Meeks <michael@ximian.com>
6249 * libspi/keystrokelistener.c
6250 (spi_keystroke_listener_class_init): fixup arg
6253 * libspi/eventlistener.c
6254 (spi_event_listener_class_init): ditto.
6256 * tests/test.sh: add.
6258 * cspi/spi-listener-impl.h: update macros.
6260 * cspi/spi-listener-impl.c
6261 (cspi_event_listener_remove_callback): add
6262 correct pre-conditions.
6264 * cspi/spi_main.c (SPI_exit): guard vs. double
6265 exits, exit the mainloop nicely.
6266 (SPI_event_main): make more sense.
6267 (SPI_init): move the atexit evilness here so we
6268 always do it (yuck).
6269 (SPI_event_main): upd.
6271 * test/simple-at.c: update for listener changes.
6273 * registryd/registryd.c (main): prune kruft.
6275 * libspi/libspi.h: upd.
6277 * libspi/eventlistener.[ch]: rename broken macros.
6279 * libspi/accessibleeventlistener.[ch]: remove.
6281 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6283 * test/test-simple.c: Add - automated tests.
6285 * cspi/spi-listener-impl.c (cspi_event),
6286 (cspi_key_event): add user_data to invoke.
6287 (cspi_keystroke_listener_finalize): impl.
6288 (cspi_keystroke_listener_class_init): upd.
6291 (createAccessibleEventListener),
6292 (AccessibleEventListener_addCallback),
6293 (createAccessibleKeystrokeListener),
6294 (AccessibleKeystrokeListener_addCallback): upd.
6296 * libspi/deviceeventcontroller.c
6297 (spi_device_event_controller_check_key_event): add public proto.
6300 (impl_accessibility_registry_deregister_global_event_listener):
6301 always init listeners.
6302 (_registry_notify_listeners): yes it is.
6304 * cspi/spi-listener-impl.c (cspi_key_event):
6306 (cspi_event_listener_finalize): impl.
6307 (cspi_event_listener_class_init): hook up.
6308 (event_handler_new, event_handler_free),
6309 (event_list_remove_by_callback): impl.
6310 (cspi_event_listener_remove_callback),
6311 (cspi_keystroke_listener_remove_callback),
6312 (cspi_keystroke_listener_add_callback),
6313 (cspi_event_listener_add_callback): upd.
6315 * libspi/keystrokelistener.c
6316 (keystroke_listener_object_finalize): kill
6317 (spi_keystroke_listener_class_init): upd.
6318 (spi_keystroke_listener_add_callback),
6319 (spi_keystroke_listener_remove_callback): kill,
6321 (impl_key_event): prune drasticaly.
6323 * libspi/eventlistener.c
6324 (spi_event_listener_add_callback),
6325 (spi_event_listener_remove_callback): kill, use
6327 (impl_accessible_event_notify_event): upd.
6328 (spi_event_listener_object_finalize): remove.
6330 * libspi/Makefile.am: use eventlistener.[ch]
6332 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6334 * libspi/registry.c (_registry_notify_listeners):
6335 Changed listener loop iteration to use preferred convention.
6336 Got rid of string memory leaks caused be calling g_strconcat
6337 inside function calls.
6339 * libspi/registry.c (parse_event_type):
6340 Stopped g_strconcat memory leaks, free the g_strsplit return,
6341 g_strdup the split pieces when used, etc.
6343 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6346 Change method 'compare' to return a 'difference set' rather than
6347 taking a StateSet as an out parameter (more Java-friendly).
6349 * idl/Accessible.idl:
6350 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6352 * idl/Component.idl:
6354 Changed methods 'getExtents' and 'getImageExtents' in these
6355 interfaces to return a BoundingBox structure.
6356 (getPosition and getSize are redundant and possibly should be
6357 removed, rather than creating a corresponding Point struct.)
6359 * cspi/spi_component.c:
6360 Modify implementation of getExtents to reflect the above IDL
6365 Add (missing) AccessibleImage_getExtents () API.
6367 * docs/reference/cspi/at-spi-cspi-sections.txt:
6368 Added AccessibleImage_getImageExtents () to docs.
6370 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6372 * idl/Component.idl:
6373 Added two methods, getLayer () and getMDIZOrder (), to reflect
6374 the new ATK methods atk_object_get_layer and
6375 atk_object_get_mdi_z_order. (Which arguably should be part of the
6376 AtkComponent API and AtkObject). Also added an enum,
6377 ComponentLayer, for the first method's return value.
6379 * libspi/component.c:
6380 Added implementations for these methods.
6382 * cspi/spi_component.c:
6384 Added cspi binding methods for above,
6385 AccessibleComponent_getLayer() and
6386 AccessibleComponent_getMDIZOrder().
6387 Added cspi enum 'AccessibleComponentLayer'.
6389 * docs/reference/cspi/at-spi-cspi-sections.txt:
6390 Added above methods to docs.
6394 Changed typedef for 'boolean' type (and all references to it) to
6395 SPIBoolean, to avoid keyword clashes with C++.
6398 Changed usages of 'boolean' to SPIBoolean.
6400 * test/keysynth-demo.c:
6401 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6402 app), except where SPIBoolean is required by the callbacks API.
6404 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6406 * cspi/spi_registry.c:
6407 Removed obsolete X event loop for passive keygrabs (which now
6410 * registryd/registryd.c:
6411 Removed unnecessary call to gdk_init() [cruft]. This also allows
6412 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6415 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6417 * docs/reference/cspi:
6418 Included docs for SPI_freeString in generated documentation.
6421 Renamed spi_freeString to SPI_freeString, for consistency. Added
6422 documentation for this function.
6425 Renamed spi_freeString to SPI_freeString, for consistency.
6426 Removed obsolete method declaration string_from_corba_string.
6428 * test/keysynth-demo.c:
6429 Small tweak to comments.
6432 Stopped leaking the strings returned from CSPI.
6434 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6436 Merged Michael's branch (see his ChangeLog entries below).
6438 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6439 bridge is alive, release on exit.
6441 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6442 Fix type check macro.
6445 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6448 Added is_gnome_app static, and method cspi_is_gnome_app(),
6449 so we can call the appropriate shutdown routine at exit in SPI_exit.
6451 * cspi/spi_main.c (cspi_object_ref):
6452 Duplicate the corba object passed in, since we're keeping it around.
6454 * cspi/SPI_exit.c, cspi_cleanup:
6455 Moved the releasing of the live refs to its own function, so we
6456 can put it in g_atexit (). Call the appropriate shutdown API
6457 depending on whethe calling client is a gnome app or not
6458 (bonobo_main_quit or CORBA_ORB_shutdown).
6460 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6461 Unref the listener when this method is called, after
6462 deregistration. Updated the API docs to note this behavior.
6464 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6465 Bugfixes: Ref the bonobo object when returning a parent or child
6466 reference, or an AccessibleRelation. Generally made sure
6467 BonoboObject refcount is incremented whenever we return an
6470 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6471 Fixed typo/bug in signal declaration.
6473 * libspi/accessibleeventlistener.h:
6476 * libspi/application.c (spi_application_new):
6477 Fixed leak in initialization.
6480 Remembered to increment bonobo-object refcount when returning
6481 children (applications) from desktop object.
6482 Added (empty) finalize method.
6484 * libspi/deviceeventcontroller.c:
6485 Hold a ref to listeners inside DEControllerKeyListeners.
6486 Added dec_key_listener_free() method. Use prepend instead of
6487 append in key_listener list. Fixed some refcount madness and
6488 leaks in the listener registration/deregistration - deregistration
6489 now calls dec_key_listener_free() on listeners, and on the
6490 temporarily constructed dec_key_listener() used to perform the search/match.
6492 * libspi/hypertext.c (spi_hypertest_finalize):
6493 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6494 class. Also fixed spi_hypertext_interface_new() and
6495 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6497 * libspi/hypertext.h:
6498 Removed pointless and duplicate AtkObject pointer from
6501 * libspi/keystrokelistener.c:
6502 Fixed incorrect type of keystroke_listener_parent_class,
6503 renamed keystroke_listener_object_finalize to
6504 spi_keystroke_listener_object_finalize.
6505 Fixed typo in signal declaration
6506 (spi_keystroke_listener_class_init).
6508 * libspi/registry.c:
6509 Added funcsions spi_listener_struct_new() and
6510 spi_listener_struct_free() to help with memory management issues.
6511 We also now use these methods instead of gnew + poking stuff into
6512 the struct, and to decrement listener counts/free the listeners
6513 when deregistering them.
6514 Fix more refcount bugs in getDesktop() and
6515 getDeviceEventController().
6518 De-ref the desktop after enumerating the applications. Explicitly
6519 decrement the refcounts on the created listeners on exit (using
6520 _unref for keystroke listeners, and via the
6521 deregisterGlobalEventListenerAll command for other event
6524 2001-11-27 Michael Meeks <michael@ximian.com>
6526 * cspi/spi-listener.h: fixup enum.
6528 2001-11-27 Michael Meeks <michael@ximian.com>
6530 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6531 (cspi_keystroke_listener_new): Use the cspi variants.
6533 2001-11-26 Michael Meeks <michael@ximian.com>
6535 * test/keysynth-demo.c: fix 2 compile warnings, missing
6538 * test/simple-at.c (report_focussed_accessible),
6539 (report_focus_event, report_button_press),
6540 (check_property_change, is_command_key),
6541 (report_ordinary_key_event, report_command_key_event): upd.
6543 * util/mag_client.h: include pre-requisites.
6545 * libspi/accessibleeventlistener.c
6546 (spi_event_listener_object_finalize): free any lingering
6549 * libspi/keystrokelistener.c
6550 (keystroke_listener_object_finalize): ditto.
6552 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6553 callbacks, with cspi types.
6555 * cspi/spi_event.c (createAccessibleEventListener): chain to
6556 (AccessibleEventListener_addCallback): here.
6557 (createAccessibleKeystrokeListener): chain to
6558 (AccessibleKeystrokeListener_addCallback): here.
6560 * libspi/keystrokelistener.c
6561 (spi_keystroke_listener_class_init): add signal.
6562 (impl_key_event): emit the event.
6563 (boolean_handled_accumulator): impl.
6564 (marshal_BOOLEAN__POINTER): add, gack.
6566 * libspi/accessibleeventlistener.c
6567 (spi_event_listener_class_init): add signal.
6568 (impl_accessible_event_notify_event): emit the signal &
6569 make the loop efficient.
6570 (spi_event_listener_add_callback): prepend the callback.
6572 * libspi/accessibleeventlistener.h: add an 'event' signal,
6573 decl type on callback.
6575 * libspi/keystrokelistener.h: ditto.
6577 * cspi/spi-listener.h: make methods typesafe and
6578 make them use the new event typedefs.
6580 * test/simple-at.c (report_focussed_accessible):
6581 include mag_client.h
6582 Use *(void *)text_interface not the other thing.
6584 * configure.in: add gtk to registryd bits - since we use
6587 * util/magnifier.c: include libbonobo.h
6589 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6591 * test/keysynth-demo.c:
6592 Turned this into a simple scanning keyboard, to demonstrate the
6593 use of g_timeout_add () as a means of creating timers for
6594 scanning, and the use of GtkStyle for visually indicating when
6595 virtual keyboard elements are selected.
6597 keysynth-demo now listens to any keyboard keys with zero-valued
6598 keycodes (i.e. 'unused' keys) and interprets them as
6601 Reworked the shiftlatch code so that shift-down state isn't held
6602 for long periods (it's only synthesized immediately prior to
6603 the keysynth event it's modifying). Note that shiftlatch in this
6604 demo is a convenience, not intended to take the place of AccessX
6605 which is the better choice for getting 'sticky' modifier keys.
6607 * libspi/deviceeventcontroller.c:
6608 * at-bridge/bridge.c:
6609 * cspi/spi_registry.c:
6610 Removed some debug print stuff, and put other verbosity in #ifdef
6615 Implemented some more of the magnifier IDL for the simple
6616 magnifier: namely, getZoomRegionParams.
6617 Added mag_x and mag_y members to MagnifierData struct, aid of this
6619 Added GtkWindow::realize signal handler to magnifier, to keep it
6620 from receiving keyboard focus from the WM.
6622 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6624 * cspi/spi-private.h: my guess at what michael forgot
6625 before he ran off to NZ :-)
6627 2001-11-23 Michael Meeks <michael@ximian.com>
6629 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6630 comment out non existant method invoke so we link.
6632 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6633 use bonobo_exception_get_text for more friendly warnings.
6635 * cspi/spi.c (Obj_Add): move into spi_main & rename
6636 spi_object_add; kill spi.c
6638 * cspi/spi_registry.c
6639 (deregisterGlobalEventListener),
6640 (deregisterGlobalEventListenerAll),
6641 (registerGlobalEventListener): fix exception leaks.
6643 * cspi/spi_main.c (spi_exception): impl. helper, so we
6644 don't leak exceptions.
6646 * cspi/spi_selection.c
6647 (AccessibleSelection_deselectSelectedChild): return the
6650 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6651 (spi_registry): ditto.
6652 (SPI_init): guard against double inits.
6654 * cspi/*.c: use spi_ev (), and spi_registry () where
6655 appropriate - a temporary hack until we have something
6656 better. Use spi_object_add
6658 2001-11-22 Michael Meeks <michael@ximian.com>
6660 * cspi/Makefile.am: re organise, install the headers.
6662 * cspi/*.h: add G_BEGIN/END_DECLS
6664 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6667 Added non-preemptive keylistener for key events with no modifiers
6668 and shift-only modifier.
6670 * libspi/keystrokelistener.c:
6671 Removed some verbose diagnostics printout.
6673 * cspi/spi_registry.c:
6674 Fixed a bug that caused all key listeners to be registered as
6677 * libspi/deviceeventcontroller.c:
6678 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6679 for non-preemptive key masks.
6682 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6684 * docs/reference/idl/at-spi-idl-docs.sgml:
6685 * docs/reference/idl/at-spi-idl-sections.txt:
6686 * docs/reference/idl/at-spi-idl-overrides.txt:
6687 Added missing files.
6689 * docs/reference/Makefile.am:
6690 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6691 to scan the IDL files :-(
6696 Added .cvsignore files.
6698 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6700 * libspi/deviceeventcontroller.c:
6701 * libspi/keystrokelistener.c:
6703 * cspi/spi_registry.c:
6704 Added filters for KeySets, KeyEventSeq, and event types to key
6705 event dispatching, so listeners should only receive those events
6706 that they requested :-)
6708 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6713 * docs/reference:Makefile.am:
6714 * docs/reference/cspi:
6715 * docs/reference/cspi:Makefile.am:
6716 * docs/reference/cspi:tmpl:
6717 * docs/reference/cspi:tmpl:*.sgml:
6718 * docs/reference/idl:
6719 * docs/reference/idl:Makefile.am:
6720 * docs/reference/idl:at-spi-idl-sections.txt:
6721 * docs/reference/idl:at-spi-idl-docs.sgml:
6722 * docs/reference/idl:tmpl:
6723 * docs/reference/idl:tmpl:*.sgml:
6725 Restructured docs directory to allow separate 'reference' docs
6726 section, and forked idl and cspi docs. Added the sgml template
6727 files to CVS. Added the first sections/structural sgml for the
6730 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6732 * configure.in, libspi/Makefile.am: find libXtst.
6734 2001-11-21 Michael Meeks <michael@ximian.com>
6736 * test/accessx-gui.c: s/spi_value/value/ - doh.
6738 * libspi/base.[ch]: add.
6740 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6742 * idl/Accessible.idl:
6743 * idl/Application.idl:
6746 Started gtk-doc cleanup on IDL.
6748 * libspi/deviceeventcontroller.c:
6749 Added and connected non-preemptive key notification from the
6750 toolkits (in addition to the pre-emptive support from XServer
6751 which we had before, but which causes 'focus flashing'). Filters
6752 are presently limited to key modifiers and global/non-global,
6753 KeySets are presently ignored, as are KeyEvent masks.
6755 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6756 structs into the persistant structure rather than just storing
6757 pointers to things that might not persist across servant
6760 The XGrabKey call now does async keygrabs, because synchronous
6761 ones were deadlocking with GDK_event code in a very nasty way.
6763 Added boolean to internal method notify_keylisteners, to indicate
6764 whether the event came from the 'toolkit source' or the 'global
6765 (XServer) source' - this is used in the notification process to
6766 determine which listeners to send the event to.
6768 deviceeventcontroller.c is now warning-free.
6770 * libspi/registry.c:
6771 Fixed regression in application de-registration.
6772 Also fixed some really brain-dead weirdness having to do with
6773 event dispatching - event structs are now duplicated before being
6774 re-marshalled in the dispatch to listeners. This also fixes a
6775 Solaris build problem.
6778 2001-11-20 Michael Meeks <michael@ximian.com>
6781 (impl_accessibility_registry_deregister_global_event_listener):
6784 * libspi/deviceeventcontroller.c
6785 (spi_device_event_controller_check_key_event): return
6786 FALSE on no virtual method.
6788 * libspi/*..h: make includes work on a correctly pathed install.
6790 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6792 * libspi/application.h: kill unused ( and whacked out )
6793 gboolean *spi_application_set_id (AtkObject *app, long id);
6795 2001-11-20 Michael Meeks <michael@ximian.com>
6797 * libspi/*.[ch]: further convert to bonobo's type func
6798 macros, remove redundnant casts etc.
6800 * libspi/text.c s/accessibility_text/spi_text/g,
6801 re-order to de-cruft.
6803 * libspi/hypertext.c: re-order to kill a huge slew
6804 of redundant forward decls.
6806 * libspi/relation.c: ditto.
6808 * libspi/image.c: ditto.
6810 * */.cvsignore: update
6812 2001-11-20 Michael Meeks <michael@ximian.com>
6814 * libspi/deviceeventcontroller.c
6815 (_controller_register_with_devices): use g_getenv,
6816 kill stdlib.h include.
6818 * libspi/keystrokelistener.c
6819 (spi_keystroke_listener_get_type): kill
6820 (spi_keystroke_listener_class_init),
6821 (spi_keystroke_listener_init): rename to this.
6823 * libspi/text.c (impl_getAttributes): fix warning / bug.
6825 * libspi/*.[ch]: more headers, includes and over commenting.
6827 2001-11-20 Michael Meeks <michael@ximian.com>
6829 * libspi/*.[ch]: fixup headers, includes and over commenting.
6831 * libspi/image.c (impl__get_imageDescription): const
6832 correctness warning fix. remove redundant casting.
6834 * libspi/table.c (impl_getRowDescription): ditto.
6835 (impl_getColumnDescription): ditto.
6837 * libspi/libspi.h: add.
6839 2001-11-19 Michael Meeks <michael@ximian.com>
6841 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6843 * libspi/component.c (accessibility_component_get_type):
6844 rename to (spi_component_get_type): and macroify.
6845 (accessibility_component_init): rename to
6846 (spi_component_init): this
6847 (accessibility_component_class_init): rename to
6848 (spi_component_class_init): this
6850 * libspi/action.c (spi_action_get_type): kill, use the macro.
6852 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6855 * libspi/application.c (spi_application_object_event_listener),
6856 (impl_accessibility_application_register_object_event_listener):
6857 warning fixes / const understanding updates.
6859 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6862 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6864 * libspi/spi_accessible.c: Added docs and C bindings for
6865 AccessibleStateSet. (No implementations yet). Documentation
6866 coverage for C bindings now 100%. Made docs for event listeners
6871 boolean notifyListenersSync (in DeviceEventListener listener,
6872 in DeviceEvent event);
6874 oneway void notifyListenersAsync (in DeviceEventListener listener,
6875 in DeviceEvent event);
6877 Added DeviceEventListener and DeviceEvent structs (may deprecate
6878 KeyStroke and KeystrokeListener in favor of this generic
6879 event/listener framework for devices).
6881 * libspi/deviceeventcontroller.c:
6883 Changed some key listener code to take masks, etc., and paved the
6884 way for integration of toolkit/non-preemptive key events. Changed
6885 signatures of some internal methods.
6887 * at-bridge/bridge.c:
6888 Fixed regression connecting to interface signals, apparently
6889 caused by GTK+ changes.
6891 Added an internal bridge_state_listener to deal with
6892 property-change:accessible-state signals.
6894 Changed the key_listeners GList to store structs (including masks,
6895 etc.) instead of just CORBA_Objects (required for full
6896 implementation of key listener API).
6898 Connected the bridge to all currently supported Atk signals.
6899 Events now supported:
6900 object:property-change
6901 object:property-change:accessible-name
6902 object:property-change:accessible-state
6903 object:property-change:accessible-description
6904 object:property-change:accessible-parent
6905 object:property-change:accessible-value
6906 object:property-change:accessible-role
6907 object:property-change:accessible-table-caption
6908 object:property-change:accessible-table-column-description
6909 object:property-change:accessible-table-column-header
6910 object:property-change:accessible-table-row-description
6911 object:property-change:accessible-table-row-header
6912 object:property-change:accessible-table-summary
6913 object:children-changed
6914 object:visible-data-changed
6915 object:selection-changed
6916 object:text-selection-changed
6918 object:text-caret-moved
6920 object:row-reordered
6922 object:column-inserted
6923 object:column-reordered
6924 object:column-deleted
6925 object:model-changed
6927 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6929 * libspi/hyperlink.c,h:
6930 Fixed some broken stuff in hyperlink.
6932 * libspi/relation.h:
6933 * libspi/relation.c:
6934 * cspi/spi_accessible.c:
6935 Initial implementations of AccessibleRelation methods, and docs.
6937 * libspi/accessible.c:
6938 Fixed a bug that caused SEGV if an accessible
6939 object's description is NULL, and a client
6940 requests it. An empty string is now returned.
6942 * cspi/spi_editabletext.c:
6943 * cspi/spi_hypertext.c:
6945 * cspi/spi_hyperlink.c:
6949 Doc coverage now 95%.
6951 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6953 One last namespacing revision:
6954 * libspi/accessibleeventlistener.[ch]:
6955 Renamed SpiAccessibleEventListener to SpiEventListener,
6956 (no need for two namespaces ;-)
6958 And lots of documentation fixes:
6960 * docs/at-spi-docs.sgml:
6961 Fixed 'underscore vs. hyphen' bug that was preventing
6962 the gtk-doc API docs from being automatically generated.
6965 * cspi/spi-listener.h
6967 * cspi/spi_accessible.c
6969 * cspi/spi_application.c
6970 * cspi/spi_component.c
6971 * cspi/spi_editabletext.c
6973 * cspi/spi_hypertext.c
6975 * cspi/spi_registry.c
6976 * cspi/spi_selection.c
6980 * docs/at-spi-docs.sgml
6981 * docs/at-spi-sections.txt
6983 Added and fixed up gtk-doc documentation in cspi.
6985 Interfaces now (fully) documented (subject to revision and enhancement):
6987 Event Listener Support
6989 AccessibleApplication
6993 AccessibleEditableText
7000 AccessibleRelationSet
7005 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7007 * at-bridge/bridge.c:
7008 Initial work for toolkit-level key snooper connection by bridge.
7013 New typedefs and fixes to support new namespacing, and cleaner
7014 separation of cspi bindings from libspi bonobo implementation.
7015 Removed inconsistent and extraneous Spi* namespace prefix that
7016 had crept into cspi headers.
7017 Lots of comment fixes that sed had missed.
7019 * cspi/spi-roletypes.h:
7020 * cspi/spi-statetypes.h:
7021 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7022 to AccessibleRoleType.
7024 * libspi/accessibleeventlistener.h:
7025 Fixed minor namespacing weirdness.
7027 * libspi/deviceeventcontroller.c:
7028 Reordered some internal API for device listeners.
7029 Changed the key registry final boolean to 'is_system_global'
7030 rather than 'is_synchronous', which is more descriptive of its
7032 Added spi_device_event_controller_new().
7033 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7035 * libspi/keystrokelistener.[ch]:
7036 Namespaced KeystrokeListener to SpiKeystrokeListener.
7037 Changed uses of keymasks to use SPI_ prefix, and did other
7040 * libspi/keymasks.h:
7041 Namespaced keymask constants with SPI_ prefix.
7043 * libspi/registry.c:
7044 Some warning fixes, and knock-on fixes from namespace changes.
7047 Added rules for accessx-gui test program.
7049 * test/accessx-gui.c:
7050 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7051 utility. It doesn't actually use at-spi, but it's still cool and
7054 * test/keysynth-demo.c:
7058 Fixes so that these test clients work properly with the namespaced
7059 libraries. (Incompletely tested for technical reasons, fixes may follow)
7062 2001-11-13 Michael Meeks <michael@ximian.com>
7064 * libspi/application.c
7065 (impl_accessibility_application_get_version),
7066 (impl_accessibility_application_get_toolkit_name):
7068 (impl_accessibility_application_set_id),
7069 (impl_accessibility_application_get_id): remove
7070 redundant casting code.
7072 * libspi/action.c (impl_getDescription): fix warnings.
7074 * libspi/accessible.c
7075 (impl_accessibility_accessible_get_parent),
7076 (impl_accessibility_accessible_get_child_at_index),
7077 (impl_accessibility_accessible_get_state),
7078 (impl_accessibility_accessible_get_relation_set):
7079 warning fixes & include action.h
7081 2001-11-13 Michael Meeks <michael@ximian.com>
7083 * *.[ch] fix bits I screwed up:
7085 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7086 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7088 2001-11-13 Michael Meeks <michael@ximian.com>
7090 * *.[ch] Namespace libspi into spi_ and Spi.
7092 2001-13-11 Michael Meeks <michael@ximian.com>
7094 * Makefile.am: dist & install at-spi-1.0.pc
7096 * libspi/Makefile.am: install into at-spi-1.0
7098 * idl/Makefile.am (idldir): install into at-spi-1.0
7100 * at-spi-1.0.pc.in: add.
7102 * configure.in: build it.
7104 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7106 * test/keysynth-demo.c:
7107 Use a 'realize' signal-handler to set the WM properties for
7108 the virtual keyboard, rather than making it a "POPUP" type
7109 override-redirect window (thanks to anders carlsson for that
7112 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7115 * test/keysynth-demo.c:
7116 Added new test of key synthesis, which creates a simple
7117 (mouse-operated) onscreen keyboard. It inserts key events into
7118 the currently-focused window, thus it does not grab keyboard focus
7121 * cspi/spi_registry.c:
7122 Added C binding for AT-SPI generateKeyEvent.
7124 * libspi/deviceeventcontroller.c:
7125 Added call to XFilterEvent so that key listener works with XIM (we
7126 hope). Added event_synth_type to generateKeyEvent, so that we can
7127 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7128 synthesize a press/release pair for KeySyms.
7130 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7132 * libspi/Makefile.am:
7133 * registryd/Makefile.am:
7134 (temporary) hack to include libXtst in libspi and registryd.
7135 (Needed for keystroke synthesis, see below).
7138 Improved API for registerKeystrokeListener, in accordance with
7139 discussions with Gnopernicus team and X server research.
7141 * libspi/registry.c:
7142 * libspi/deviceeventcontroller.c:
7143 * libspi/accessible.c:
7144 * libspi/keystrokelistener.c:
7145 Changes and fixes to support keylisteners for potentially
7146 consumed key events (that is, 'passive grabs').
7147 Added implementation for generateKeyEvent() [untested].
7150 Changes to registerKeystrokeListener() API, as above.
7151 Added deregisterGlobalEventListenerAll(), and
7152 deregisterKeystrokeListener(), which are needed for clean exit of
7154 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7155 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7157 * cspi/spi_registry.c:
7158 Added implementations of function prototypes mentioned above.
7160 * registryd/registryd.c:
7161 Added the key listener event source as a g_timeout(), to allow
7162 receipt of key events that are not caught by GDK (since GDK
7163 doesn't support passive keygrabs, this was necessary).
7166 Changed to attach a keylistener to 'Alt' keys, and
7167 respond to the following keycommands: Alt-M (toggle magnifier);
7168 Alt-F (toggle speech); Alt-Q (quit).
7169 Added an exit routine to deregister the listeners, and a key
7170 listener that prints some key info to the console when a key
7171 matches the listener mask (and is thus received by the listener).
7173 * util/idl/Magnifier.idl:
7174 Changes to magnifier API to support multiple zoom regions,
7175 non-uniform scaling in x and y, markDirty, and a host of other
7176 features that would be useful to magnification.
7179 * util/mag_client.c:
7180 * util/mag_client.h:
7181 * util/mag_control.c:
7183 Source code changes to support the above IDL changes.
7186 As above, and also changes to use a (slower) generic conversion
7187 path for colormap conversions, since the fast RGB conversions have been
7188 reported to fail for 16-bit displays.
7190 2001-10-26 Michael Meeks <michael@ximian.com>
7192 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7194 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7196 * at-bridge/Makefile.am: fix LDFLAGS.
7198 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7200 * at-bridge/bridge.c:
7201 Re-worked listeners for toolkit events, now we have signal
7202 and property listeners. Added a private method
7203 register_atk_event_listeners(), which registers with the
7204 various atk and gtk signals we need to monitor in order to emit
7206 Added emission hook for AtkObject:property-change events, to
7207 support the 'property listeners'.
7208 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7211 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7212 which emit warnings and exit, respectively, if CORBA errors occur
7213 during remote calls, and we now use these methods to check most of
7214 our CORBA calls in the C bindings.
7216 * cspi/spi_accessible.c:
7217 Changed AccessibleSelection_refSelectedChild() to
7218 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7219 now increment refcounts.
7221 * cspi/spi_component.c:
7222 Fixed some long pointer casts (dangerous!) to pass pointers to
7223 CORBA_longs of the proper type to the CORBA stubs, and copy the
7224 data into the longs that were passed into the C bindings code.
7226 * at-bridge/bridge.c:
7228 * libspi/accessible.c:
7229 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7230 hyperlinks, AtkHyperlink is an object type.
7232 * libspi/application.c:
7233 Added various conversions to and from "generic" event types and
7234 atk-specific types; this is really part of the 'bridge'
7235 implementation but is valid for all AtkObject-based accessibility
7238 * libspi/editabletext.c:
7239 Fixed nasty bug wherein editable text's finalize method was
7240 unref'ing tha AtkObject reference that the text parent class was
7241 about to unref _again_. There was also a nasty inheritance bug
7242 that meant that the AccessibleEditableText class was corrupt.
7244 * libspi/selection.c:
7245 Provided implementations for some selection API that was broken.
7247 * idl/Application.idl:
7248 Added registerObjectEventListener () method.
7251 Fixed a number of return values that were Bonobo_Unknowns from
7252 bonobo_object_corba_objref(), which I
7253 forgot to dup before returning. Changed instances of
7254 bonobo_object_corba_objref (bonobo_object(o)) to
7255 BONOBO_OBJREF(o), for concision and clarity.
7257 2001-10-13 Louise Miller <louise.miller@sun.com>
7259 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7260 idl/Event.idl, idl/Registry.idl
7261 Changed these files to include Bonobo_Unknown.idl instead
7264 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7266 * libspi/component.c libspi/component.h:
7267 Fixed typo. Added assertions for object checks in
7268 AccessibleComponent code.
7270 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7272 * idl/Accessible.idl:
7273 Added 'isEqual (Accessible *object)'
7274 method for Accessible. (Not Yet Implemented).
7277 Changed signature of registerKeystrokeListener() to
7278 take a KeySet and KeyEventSeq so that specific keys and event
7279 types could be requested for monitoring, and added a flag
7280 is_synchronous so that either synchronous or asynchronous
7281 notification could be requested. (However this is not all
7282 implemented yet). This also meant adding two new typedefs,
7283 KeyEventSeq and KeySet.
7286 Added two new relations, RELATION_TOOLTIP_FOR and
7287 RELATION_LEAFNODE_OF.
7290 Added new state, STATE_HAS_TOOLTIP.
7292 * libspi/text.c, editabletext.c:
7293 Added new assertions to all casts of bonobo-objects from
7294 CORBA servants, to prevent Text API calls on non-text objects.
7295 Changed suspect casts of int-pointer types, so that we
7296 always send a valid CORBA_long pointer to the CORBA APIs that use
7297 in/out long parameters. We then have to copy from the CORBA_long
7298 into the regular long or int for return to the C bindings, or
7299 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7302 * libspi/deviceeventcontroller.c:
7303 Cleaned these sources up.
7305 Changed return type for getCharacterAtOffset to
7306 CORBA_unsigned_long, to allow for 32-bit characters.
7309 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7313 Fixed 'make dist' so that distro compiles...
7314 * libspi/keymasks.h:
7316 * cspi/spi-listener.c:
7317 KeystrokeListenerCB now returns a boolean.
7319 Added KeyEventType struct, and KeyStroke.
7320 Also added createKeystrokeListener(),
7321 KeystrokeListener_addCallback(),
7322 KeystrokeListener_removeCallback(), and added a keymask to
7323 registerKeystrokeListener().
7324 * cspi/spi_accessible.c:
7325 Changed numerous return types for interfaces from
7326 AccessibleComponent to Accessible<InterfaceName>; this was
7327 probably a cut-and-paste error.
7329 Implementations of new KeystrokeListener api (from spi.h,
7332 Changes to key modifier mapping.
7333 Created ControllerEventMask struct.
7334 Made DeviceEventController derive from Bonobo::Unknown.
7336 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7337 * libspi/deviceeventcontroller.c:
7338 Added a number of new internal (private) methods.
7339 * libspi/editabletext.c:
7340 * libspi/editabletext.h:
7341 Fixed a number of bugs related to the fact that
7342 editabletext inherits from text. Fixed the EditableText struct,
7343 the init() call, and use correct casts when calling Text methods
7344 from an EditableText object. Removed (duplicate) atko from the
7345 EditableText structure, we use the one in the parent Text
7346 structure via the casts mentioned above.
7347 * libspi/keystrokelistener.[ch]:
7348 * libspi/registry.c:
7349 Changes in support of keyboard handling (above).
7351 Keyboard handling, though partly functional, is still not
7352 recommended for at-spi client use as there is considerable
7353 work yet to be done.
7356 Changed some places where pointers to various int types
7357 are cast to be pointers to CORBA_long types and vice-versa:
7358 pointer casting is not safe so we pass pointers of the correct
7359 types and then cast the result before putting it into the target
7362 * libspi/text.h: minor typos corrected.
7364 We now speak not only the name of a Text element, but the
7365 first sentence of its content, when it receives focus.
7366 I also changed the text compression to 75% from 50%.
7367 * util/Accessibility_Util.server.in:
7368 Changed the default magnifier type to be a 3x vertical
7369 splitscreen magnifier (was previously a 2x horizontal one).
7371 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7373 * libspi/keystrokelistener.h:
7374 * libspi/keystrokelistener.c:
7375 Initial functional implementations of KeystrokeListener.
7378 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7380 Fixed string handling for NULL strings in libspi.
7381 Added spi_freeString to free strings returned by C bindings.
7383 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7385 * libspi/keystrokelistener.h:
7386 * libspi/keystrokelistener.c:
7387 Began (no-op) implementations of KeystrokeListener
7389 * libspi/deviceeventcontroller.c:
7390 * libspi/deviceeventcontroller.h:
7391 Began creating implementations of DeviceEventController,
7392 to handle keystroke and mouse event listening and
7394 * libspi/accessible.c:
7395 Stubbed-in the implementations for
7396 Accessibility_Accessible_getState and
7397 Accessibility_Accessible_getRelationSet.
7398 * libspi/registry.c:
7399 Improved de-registration process and fixed some bugs,
7400 deregistration now works correctly.
7402 Added initialization of applications list (to NULL).
7404 Reduced speech compression from 0.5 to 0.7, for demo.
7405 Changed call to gdk_window_set_decorations()
7406 to gtk_window_set_decorated().
7407 * at-bridge/bridge.c:
7408 Bridge now deregisters when app exits, via
7409 registration of a cleanup function
7410 with the g_atexit() call.
7411 Required making 'app' static, renamed 'this_app'.
7412 Fixed broken use of bonobo_init, passing argv wrongly.
7414 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7418 Created a new directory for
7419 accessibility-related utilities, primarily for
7420 testing and demo purposes, but with possible
7427 Onscreen magnifier utility that
7428 is implemented as a bonobo service.
7430 * util/mag_client.c:
7431 * util/mag_client.h:
7432 Client-side support (simple C bindings)
7433 for Magnification service
7435 * util/mag_control.c:
7436 Client program example for
7437 Magnification service
7439 * util/Accessibility_Magnifier.server.in:
7440 Bonobo-activation file for the
7441 Magnification service.
7444 * util/idl/Magnifier.idl:
7445 IDL defining the bonobo Magnification
7449 Modifications to use the bonobo-activated magnifier
7450 above, in place of trying to connect to an existing
7451 magnifier that uses socket-listening IPC.
7453 If env variable MAGNIFIER is set, a magnifier service
7454 will be started if one does not exist.
7456 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7458 * at-bridge/bridge.c:
7459 applied patch from Marc to build and run
7460 against new glib and gtk+ (seemed like a change
7461 to bonobo_init signature was made ?)
7463 made festival-server support turned off by default.
7464 Added support for a simple magnifier (off by default)
7465 which will be added to a 'util' directory later.
7466 * at-bridge/Makefile.am:
7467 Changed "application.h" header from a 'source'
7468 to a 'dependency' of libat-bridge.
7470 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7479 Added interface implementation c files to list of
7480 includes so they are included in libcspi.
7483 Changed prototype of AccessibleAction_doAction to return a
7485 Changed prototype of AccessibleTable_getCaption to
7486 return an Accessible.
7487 Changed prototype of AccessibleTable_getSelectedRows
7488 and AccessibleTable_getSelectedColumns to
7489 return a long (returns the number of selected rows
7490 or columns respectively).
7491 Changed name of AccessibleText_refRunAttributes to
7492 AccessibleText_getAttributes.
7493 Changed prototype of AccessibleText_getCharacterExtents to
7494 return a void rather than a boolean.
7495 Added support for a AccessibleCoordType parameter
7496 specifying what type of coordinates are desired.
7497 Added an AccessibleCordType parameter to
7498 AccessibleText_getPointAtOffset.
7500 * cspi/spi_accessible.c:
7501 Added code to return the outstanding interfaces from
7502 Accessible_queryInterface.
7504 * cspi/spi_action.c:
7506 Corrected call to getNActions to call the c binding
7509 * cspi/spi_editabletext.c:
7511 Changed name from setRunAttributes to setAttributes.
7513 * cspi/spi_hyperlink.c:
7515 Changed call to getNAnchors to correctly call the c
7516 binding for an attribute.
7518 * cspi/spi_hypertext.c:
7520 Changed getImageDescription to correctly call the
7521 binding for an attribute.
7523 * cspi/spi_selection.c:
7524 Changed getNSelectedChildren to correctly call the c
7525 binding for the attribute.
7526 Changed refSelectedChild to getSelectedChild.
7530 Changed getCaption to return an Accessible.
7531 Fixed calls which retrieve attributes.
7532 Changed refAt to getAccessibleAt.
7533 Changed getNSelectedRows and getNSelectedColumns to
7537 Changed getCharacterExtents and getPointAtOffset to accept an
7538 AccessibleCoordType.
7540 Changed calls which retrieve attributes.
7541 Changed refRunAttributes to getAttributes.
7546 * idl/Hyperlink.idl:
7547 Changed n_anchors attribute to nAnchors to keep naming
7548 convention consistent.
7551 Made Table inherit from Bonobo::Unknown.
7552 Added nSelectedColumns and nSelectedRows attributes.
7555 Made Value inherit from Bonobo::Unknown.
7557 * libspi/hyperlink.c:
7558 Change for nAnchors attributte name change.
7560 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7568 Added interface implementation c files to list of
7569 includes so they are included in libcspi.
7572 Changed prototype of AccessibleAction_doAction to return a
7574 Changed prototype of AccessibleTable_getCaption to
7575 return an Accessible.
7576 Changed prototype of AccessibleTable_getSelectedRows
7577 and AccessibleTable_getSelectedColumns to
7578 return a long (returns the number of selected rows
7579 or columns respectively).
7580 Changed name of AccessibleText_refRunAttributes to
7581 AccessibleText_getAttributes.
7582 Changed prototype of AccessibleText_getCharacterExtents to
7583 return a void rather than a boolean.
7584 Added support for a AccessibleCoordType parameter
7585 specifying what type of coordinates are desired.
7586 Added an AccessibleCordType parameter to
7587 AccessibleText_getPointAtOffset.
7589 * cspi/spi_accessible.c:
7590 Added code to return the outstanding interfaces from
7591 Accessible_queryInterface.
7593 * cspi/spi_action.c:
7595 Corrected call to getNActions to call the c binding
7598 * cspi/spi_editabletext.c:
7600 Changed name from setRunAttributes to setAttributes.
7602 * cspi/spi_hyperlink.c:
7604 Changed call to getNAnchors to correctly call the c
7605 binding for an attribute.
7607 * cspi/spi_hypertext.c:
7609 Changed getImageDescription to correctly call the
7610 binding for an attribute.
7612 * cspi/spi_selection.c:
7613 Changed getNSelectedChildren to correctly call the c
7614 binding for the attribute.
7615 Changed refSelectedChild to getSelectedChild.
7619 Changed getCaption to return an Accessible.
7620 Fixed calls which retrieve attributes.
7621 Changed refAt to getAccessibleAt.
7622 Changed getNSelectedRows and getNSelectedColumns to
7626 Changed getCharacterExtents and getPointAtOffset to accept an
7627 AccessibleCoordType.
7629 Changed calls which retrieve attributes.
7630 Changed refRunAttributes to getAttributes.
7635 * idl/Hyperlink.idl:
7636 Changed n_anchors attribute to nAnchors to keep naming
7637 convention consistent.
7640 Made Table inherit from Bonobo::Unknown.
7641 Added nSelectedColumns and nSelectedRows attributes.
7644 Made Value inherit from Bonobo::Unknown.
7646 * libspi/hyperlink.c:
7647 Change for nAnchors attributte name change.
7650 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7652 implementations-- made server implementations own AtkObject pointers
7653 rather than their respective AtkInterrface pointers to fix
7654 refcounting. AtkHyperlink is still broken.
7656 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7657 * cspi/spi_accessible.c:
7658 Added method Accessible_Role_getName(),
7659 and requisite string array (role_names).
7660 Added conversion string_from_corba_strin() call
7661 to Accessible_getName and _getDescription.
7662 * libspi/accessible.c:
7663 Added implementation for Accessible_getRole()
7665 Added festival support, used if environment variable
7668 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7670 * at-bridge/bridge.c:
7671 Now allocate Accessibility_Event using
7672 Accessibility_Event__alloc() instead of g_new0().
7673 * libspi/accessibleeventlistener.c:
7674 Initialize AccessibleEventListener->callbacks to NULL.
7675 Fixed accessible__event_listener_init() param, changed to
7676 "AccessibleEventListener *" type.
7677 Changed a bonobo_object_release_unref() call to
7678 Accessibility_Accessible_unref().
7679 * libspi/listener.c:
7680 Changed Bonobo_Unknown_unref to (equivalent)
7681 Accessibility_Accessible_unref.
7682 * libspi/registry.c:
7683 Changed bonobo_object_release_unref to
7684 Accessibility_Accessible_unref.
7686 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7689 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7690 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7691 spi-util.c spi-util.h
7692 Implementations for C bindings to remaining accessibility
7695 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7698 changed return value of Action from void to boolean to
7699 bring in line with ATK.
7702 Changed getText funcions to return "out" start and end offsets.
7703 Changed getAttributes to take and offset and return the start
7704 and end offset of the attribute run.
7705 Changed getOffsetAtPoint and getCharacterExtents to take an
7706 enum describing whether coordinates are window or screen.
7709 libspi/action.c libspi/action.h libspi/editabletext.c
7710 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7711 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7712 libspi/image.h libspi/selection.c libspi/selection.h
7713 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7714 libspi/value.c libspi/value.h
7715 Added server implementations for outstanding ATK interfaces
7716 not yet implemented.
7718 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7721 Added (missing) getName() method.
7722 Made nActions an attribute.
7723 * idl/EditableText.idl:
7724 Changed order of params in setAttributes.
7725 * idl/Hyperlink.idl:
7726 Removed getAnchor, added getURI.
7728 Changed attributes to methods, for efficiency
7729 (so that getting extents can be done in one call)
7730 * idl/Selection.idl:
7731 Changed nSelectedChildren to attribute, and re-indented.
7732 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7734 * idl/Text.idl: reformatted to match our coding style.
7735 (temporarily?) removed getRowColumnAtOffset().
7736 Changed text selection API to support multi-select and
7737 non-contiguous selections, as in ATK.
7738 * idl/Value.idl: changed some methods to attributes.
7740 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7742 * libspi/listener.c(impl_notify_event):
7743 BonoboUnkown_unref the source instead
7744 of bonobo_object_release_unref - the ORB
7745 handles the releasing.
7747 * configure.in: require ORBit-2.3.94 for
7750 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7752 Tagged CVS repository 'EA_1_0'.
7753 * README.EARLY_ACCESS:
7754 Alphabetized acknowledgements list, and
7756 Listed some known dependencies of at-spi.
7758 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7760 * docs/at-spi-docs.sgml:
7761 * docs/at-spi-sections.txt:
7762 * docs/at-spi-overrides.txt: (Added zero-length file)
7763 Documentation improvements - gtk-doc should build
7764 docs for all implemented C bindings now.
7767 * cspi/spi.c: (New file)
7768 * cspi/spi_event.c: (New file)
7769 * cspi/spi_registry.c: (New file)
7770 * cspi/spi_accessible.c: (New file)
7771 * cspi/spi_application.c: (New file)
7772 * cspi/spi_component.c: (New file)
7773 Split spi_main.c into six parts, and included them from
7774 "spi.c". This is a bit of a hack, probably temporary,
7775 but required by gtk-doc, apparently.
7777 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7780 * docs/at-spi-docs.sgml:
7781 * docs/at-spi-sections.txt:
7783 Initial checkins/modifications for gtk-doc generation.
7786 Added (missing) interface query methods to Accessible's C binding.
7788 Added GenericInterface type definition.
7790 Added query for AccessibleComponent interface to focus event handler.
7791 Added printout of bounding box for focussed component.
7792 * libspi/component.c:
7793 Added partial implementation for AccessibleComponent to C binding.
7794 * idl/Application.idl:
7795 * libspi/registry.c:
7796 * libspi/listener.c:
7797 * libspi/application.c:
7798 * libspi/application.h:
7799 Changed "ID" attribute type from string to long.
7801 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7805 Made method naming consistent: methods taking object args
7806 start with uppercase, other methods (except those using
7807 acronyms) start with lowercase. Underscores delimit between
7808 object names and method names:
7809 SPI_init() - uppercase since it starts with an acronym.
7810 getDesktopCount () - lowercase start since no object param0.
7811 Accessible_getName() - uppercase object type name, studlyCaps method
7815 Added gtk-doc documentation for all currently implemented
7816 methods in the C bindings API.
7818 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7820 * Makefile.am : changed build order to build test last.
7823 Changed "createEventListener" to "CreateEventListener".
7824 * libspi/accessibleeventlistener.c :
7825 Bugfix for addition of callbacks.
7826 * test/Makefile.am :
7827 * test/simple-at.c :
7828 Added new test that uses the C bindings API.
7830 * libspi/listener.c :
7831 * libspi/registry.c :
7832 * libspi/accessibleeventlistener.c :
7833 * at-bridge/bridge.c :
7834 Renamed member "target" of Accessibility_Event to "source",
7835 which is more descriptive.
7838 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7842 * cspi/Makefile.am :
7843 Added makefile support for at-spi/cspi directory.
7846 * cspi/spi-listener.h : (NEW FILE)
7847 Added support for/use of spi-listener.h.
7849 C bindings now build successfully, with no warnings.
7850 * libspi/accessibleeventlistener.h : (NEW FILE)
7851 * libspi/accessibleeventlistener.c : (NEW FILE)
7852 * libspi/Makefile.am :
7853 Added new object type "AccessibleEventListener"
7854 which inherits from Listener, and allows attachment
7855 of in-process callbacks (so that a client with a listening
7856 object instance can add functionality to the local
7857 implementation, dynamically).
7859 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7861 * libspi/accessible.c:
7862 Add implementation for get_index_in_parent().
7864 Added #include of "spi-roletypes.h", and
7865 added enumerated type AccessibleCoordType.
7866 Added definition for KeystrokeListener (function type).
7869 * cspi/spi-statetypes.h :
7870 * cspi/spi-roletypes.h :
7872 Added these headers, used by spi.h.
7874 Added code (NOTE: not yet built by make).
7876 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7878 * libspi/Makefile.am: generate imodule
7879 at the same time as other idl compiler
7882 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7883 * libspi/registry.c :
7884 * libspi/application.c :
7885 * idl/Application.idl :
7886 Made registration with toolkit an application method,
7887 which is required since each app has its own toolkit static
7888 environment. Thus the bridge must register for
7889 notification of toolkit events from each application in turn.
7890 Toolkit notifications are now successfully registered for, and
7891 sent to the listening at client.
7893 Changed toolkit event string to use hyphens rather than underscores.
7894 * libspi/listener.c :
7895 listner now gives more info in debug mode - it reports the
7896 name of the event received, as well as the name of the source.
7899 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7901 * libspi/registry.c :
7902 added more implementation for toolkit events.
7903 Fixed bug such that toolkit event registrations
7904 (via atk) use the whole event name string, not
7906 Removed a useless call to an ORBit_ method.
7907 * at-bridge/bridge.c :
7908 Removed unused local sbuf[] variable.
7910 We now register for Gtk:GtkWidget:button_press_event
7911 events as well as "focus:" events.
7913 Add some more API from Registry.idl that was missing,
7914 for keystroke listening, keystroke and mouse event
7915 synthesis, and enumeration of accessible desktops.
7917 2001-08-16 Michael Meeks <michael@ximian.com>
7919 * configure.in: use AM_GLIB_GNU_GETTEXT.
7921 * Makefile.am (SUBDIRS): kill intl.
7923 2001-08-15 Michael Meeks <michael@ximian.com>
7925 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7927 * configure.in: upd.
7929 * configure.in: depend on a recent bonobo-activation that
7930 will find our server files ...
7932 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7934 * libspi/accessible.c : accessible_new() :
7935 Now we add the Component interface via bonobo_object_add_interface,
7936 if the contained AtkObject implements AtkComponent.
7937 * libspi/accessible.h : now include "component.h"
7938 * libspi/component.h :
7939 * libspi/component.c : added files - implementation of
7940 bonobo wrapper object for Accessibility/Component
7941 * libspi/listener.c :
7942 Added test code to check for Accessibility/Component:1.0
7943 interface and report whether it is implemented by the
7945 * libspi/registry.c :
7946 Now we check for not only the hash of the whole event
7947 string before relaying the event, we also check the
7948 "minor" event string (without the detail string).
7949 This allows event listeners to be registered against
7950 all events of a certain major+minor type, or just
7951 against a specific major+minor+detail type.
7952 * libspi/accessible.c :
7953 Added implementations for Accessible:get_parent(),
7954 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7955 * libspi/registry.c :
7956 * libspi/listener.c :
7957 Replaced calls to Accessibility_Accessible_ref() and
7958 Accessibility_Accessible_unref() with
7959 calls to bonobo_object_dup_ref() and
7960 bonobo_object_release_unref(), so that the CORBA object
7961 is dup-ed and released when relayed, as well as the bonobo object.
7963 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7965 * libspi/Makefile.am,
7966 registryd/Makefile.am,
7967 at-bridge/Makefile.am.
7968 test/Makefile.am, configure.in:
7969 reverse previous changes.
7971 * /idl/Image.idl: fix typo.
7973 * test/Makefile.am: put DEBUG_FLAGS
7976 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7978 * test/app.c: use argv[0] instead of
7981 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7983 * libspi/Makefile.am,
7984 registryd/Makefile.am,
7985 at-bridge/Makefile.am.
7986 test/Makefile.am, configure.in:
7987 cleanup, replace individual LIBS/CFLAGS with
7988 AT_COMMON_{LIBS|CFLAGS}.
7992 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7994 * configure.in, libspi/Makefile.am:
7995 Change IDL path checking for bonobo-activation
7998 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8000 * registryd/registry.c : separated event listeners to use
8001 3 separate lists (focus, window, toolkit). Began testing
8002 event names against hashes before relaying events.
8003 * test/at.c : now register for events of type "focus:"
8004 * test/app.c : now generate events of type "focus:"
8005 * at-bridge/bridge.c : register with ATK for focus events,
8006 and we now relay those focus events to any "focus:" listeners.
8007 This now works with the bridge as a GTK_MODULE when running test/at.
8008 * libspi/registry.c :
8009 * libspi/listener.c :
8010 now we ref event sources before propagating, and unref on receipt.
8011 * libspi/registry.c :
8012 some changes to internal structs, to support event typestring hashes.
8013 * text/app.c : changed the way the appname is generated.
8014 * cspi : added directory that will hold the C bindings library for
8015 non-CORBA/bonobo-savvy clients.
8016 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8017 * idl/Component.idl : added in parameter to indicate coord system for
8018 geometry-related calls.
8019 * idl/Hyperlink.idl : added readonly n_links attribute
8020 * idl/Image.idl : changed methods to attributes.
8022 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8024 * at-bridge/Makefile.am: link against
8025 ../libspi/libspi.la instead of -lspi.
8027 * at-spi/test/app.c: include
8028 bonobo-activation.h. Use a default appname
8029 if one is not provided.
8031 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8033 * idl/Registry.idl : temporarily changed register_Application
8034 to oneway, to work around issue with initial registration
8036 * idl/Application.idl : changed attribute "id" from readonly
8037 to read-write, since it needs to be assigned by Registry.
8038 * registryd/registryd.c : added call to set application id
8040 * registryd/registry.c : changed de-registration procedure to
8041 use CORBA_Object_hash() to find matching object ref in application
8042 lists and listener lists.
8043 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8044 began distinguishing between event types (work in progress).
8046 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8049 * libspi/application.c:
8050 Added implementations for get/set id, get_toolkitName,
8052 * registryd/registryd.c :
8056 Converted from use of OAF to bonobo-activation.
8057 * libspi/desktop.h :
8058 * libspi/desktop.c :
8060 Removed references to atksimpleobject, since base atkobject
8061 implementation now provides functionality we need.
8062 * libspi/atksimpleobject.c :
8063 * libspi/atksimpleobject.h :
8068 * at-bridge/Makefile.am
8069 * at-bridge/bridge.c
8072 Added directory "bridge" and contents, and added dependencies
8073 in Makefile.am/configure.in.
8074 Initial checkin of "at-bridge".
8075 This code is a GTK_MODULE which automatically registers
8076 GTK+ apps with the accessibility registry, using an object
8077 reference to the root ATK object.
8079 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8081 * po/Makefile.in.in: Remove. Again. If this
8082 doesn't get autogenerated - you need to update
8085 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8087 * po/Makefile.in.in: Add. Again.
8089 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8091 * libspi/accessible.c : added support for 'description' property.
8092 * libspi/accessible.c
8094 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8095 (since the two are now equivalent in libbonobo)
8103 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8104 Bonobo::Unknown as does Accessibility::Accessible.
8105 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8106 interface with Bonobo::Stream, since it was redundant with it.
8107 (The Stream returned by a StreamableContext object is expected to
8108 implement only a subset of Bonobo::Stream)
8110 2001-07-28 Anders Carlsson <andersca@gnome.org>
8112 * libspi/accessible.c (accessible_object_finalize): Change
8113 g_free to g_object_unref since the AtkObject is a GObject.
8115 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8117 * idl/Accessibility.idl: add new IDL files
8120 * idl/Action.idl: Definitions of actionable UI object
8121 * idl/Component.idl: Definitions of UI component geometry, etc.
8122 * idl/Hyperlink.idl: Defs of hyperlink behavior
8123 * idl/Image.idl: Def of accessible image
8124 * idl/Selection.idl: Definition of UI object with selectable children
8125 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8126 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8127 * idl/Text.idl: Interface defs for UI elements with complex textual content
8128 * idl/Value.idl: Definition of UI element that is a value controller or display
8130 2001-07-27 Michael Meeks <michael@ximian.com>
8132 * po/Makefile.in.in: remove autogenerated file from CVS.
8134 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8137 * idl/Registry.idl: include guard.
8139 * idl/Accessibility.idl: Add, and include all the other IDL
8142 * idl/*.idl: remove mass of pragmas etc.
8144 2001-07-26 Michael Meeks <michael@ximian.com>
8146 * registryd/Makefile.am (registryd_SOURCES): remove
8149 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8151 * libspi/.cvsignore, registryd/.cvsignore,
8152 test/.cvsignore: updated.
8154 * po/Makefile.in.in: gettext update.
8156 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8158 * initial CVS checkin
8160 2001-06-29 Michael Meeks <michael@ximian.com>
8162 * configure.in: add AM_CONFIG_HEADER to gen config.h