1 2007-01-22 Li Yuan <li.yuan@sun.com>
3 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
5 2007-01-22 Li Yuan <li.yuan@sun.com>
7 * cspi/bonobo/cspi-bonobo.c:
8 (cspi_get_registry_ior), (cspi_init):
9 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
11 2007-01-19 Li Yuan <li.yuan@sun.com>
13 * atk-bridge/bridge.c:
14 (atk_bridge_init), (spi_atk_bridge_register_application),
15 (deregister_application), (spi_atk_bridge_focus_tracker),
16 (spi_atk_emit_eventv):
17 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
20 2007-01-08 Li Yuan <li.yuan@sun.com>
22 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
24 2007-01-08 Li Yuan <li.yuan@sun.com>
26 * registryd/registry-main.c:
27 (main): set registry ior only when register server successfully.
28 * atk-bridge/bridge.c:
29 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
30 Bug #372988, #381670. Fix memory leak.
32 2007-01-02 Bill Haneman <billh@gnome.org>
35 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
36 appending default attributes to a text attribute set.
39 2006-12-28 Li Yuan <li.yuan@sun.com>
41 * atk-bridge/bridge.c:
42 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
43 the second time, because spi_atk_emit_eventv will free any. Bug
46 2006-12-15 Li Yuan <li.yuan@sun.com>
48 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
50 2006-12-14 Li Yuan <li.yuan@sun.com>
53 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
54 (spi_atk_bridge_property_event_listener),
55 (spi_atk_bridge_signal_listener):
56 Free some CORBA objects to fix memory leak and crash.
58 2006-12-13 Li Yuan <li.yuan@sun.com>
60 Patch from Ariel Rios to fix #163132 and #377079.
61 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
62 (spi_atk_bridge_get_registry_ior):
63 Use g_warning instead of g_error and g_critical to avoid crash.
65 2006-12-11 Bill Haneman <bill.haneman@sun.com>
68 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
69 if there are no non-default attributes defined at the current offset.
72 2006-12-04 Bill Haneman <bill.haneman@sun.com>
74 * idl/Accessibility_Role.idl: Fixed the documentation for
75 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
77 2006-12-04 Bill Haneman <bill.haneman@sun.com>
79 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
81 2006-11-07 Bill Haneman <bill.haneman@sun.com>
83 Patches from Padraig O'Briain for bugs #361386 and #369377.
85 * registryd/registry.c:
86 (struct NotifyContext): Change the e_out
87 member from an Accessibility_Event struct to a pointer to
89 (notify_listeners_cb): Modify to use the new struct definition above.
90 Allows use of ORBit_copy_value instead of CORBA_any__copy.
92 * registryd/deviceeventcontroller.c:
93 (spi_dec_button_update_and_emit): Free the event's any_data
95 (spi_dec_mouse_check):Free the event details any struct
97 (spi_device_event_controller_forward_mouse_event): Free any.
98 (spi_device_event_controller_forward_key_event): Ditto.
100 2006-11-07 Bill Haneman <bill.haneman@sun.com>
102 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
103 Don't require gtk+ and gail for building most of at-spi
106 * registryd/registry-main.c (main): We now get te value of display
107 using the env var DISPLAY rather than using the gdk_display_get_default
108 to avoid dependancy of gdk. Also, once the registry is started, we set
109 the ior of the registry as an X property.
110 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
112 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
113 the registration was successfull.
114 (spi_atk_bridge_do_registration): This function now returns success
115 or not on activating the registry.
116 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
117 has been set in the X root window and return it if available.
118 (spi_atk_bridge_get_registry): We now get the registry using the IOR
119 saved as a X property rather than using the OAFID.
121 2006-10-01 Bill Haneman <bill.haneman@sun.com>
123 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
125 2006-09-25 Bill Haneman <bill.haneman@sun.com>
127 * registryd/registry.c:
128 (desktop_remove_application): Don't pass a ref to the
129 dead application with the event, since it's probably
130 defunct and will cause SEGV if we try to unref,
131 extract app name, etc.
134 2006-09-20 Bill Haneman <bill.haneman@sun.com>
136 Patch from Neo Liu <nian.liu@sun.com>,
139 * atk-bridge/bridge.c:
140 (spi_atk_bridge_document_event_listener): New, for
143 2006-08-30 Bill Haneman <bill.haneman@sun.com>
146 Changed some parameter names so as not to
147 collide with class names - allows IDL to be compiled with
148 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
150 2006-08-22 Bill Haneman <bill.haneman@sun.com>
152 * atk-bridge/bridge.c:
153 (spi_atk_bridge_signal_listener):
154 Patch from Ginn Chen, assign detail1 in children-changed
155 so that the child object can be assigned to the Any when the
156 at-spi event is emitted. Bug #350552.
158 * libspi/application.c:
159 (spi_application_finalize): Remove g_print debug output.
162 2006-08-21 Bill Haneman <bill.haneman@sun.com>
164 * configure.in: Revved to AT-SPI 1.7.11.
166 * libspi/accessible.c:
167 (spi_accessible_new): Aggregate Hyperlink interface
168 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
170 * libspi/hyperlink.c:
171 (spi_hyperlink_new): Don't aggregate Action a second time if this
172 interface is created for an AtkHyperlinkImpl object (i.e. for a
173 child Accessible, as opposed to the Hyperlink instance from
175 (get_hyperlink_from_servant): Obtain the hyperlink from
176 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
178 Patch section from Ginn Chen...
180 * cspi/spi_accessible.c:
181 (_cspi_accessible_set_from_sequence):
182 Changed g_newa to g_new0 on Ginn Chen's suggestion.
184 * libspi/accessible.c:
185 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
186 (spi_accessible_new): Add the Document interface if present.
189 (impl_getAttributes): Fixed to use AtkAttribute properly.
192 (impl_getAttributes, impl_getDefaultAttributes):
193 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
195 2006-08-17 Bill Haneman <bill.haneman@sun.com>
197 * cspi/spi-private.h, cspi/spi_accessible.c:
198 (_cspi_attribute_set_from_sequence): Renamed from
199 cspi_attribute_set_from_sequence, to suppress export.
202 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
203 inline docs, which was keeping the doc from appearing.
204 (SPIExceptionHandler): Doc this.
206 * cspi/spi_document.c:
207 Added inline gtk-docs cut-n-pasted from the doxygen
208 docs in the corresponding IDL files.
209 (AccessibleDocument_getAttributes): Fix the retval here.
211 * cspi/spi_streamablecontent.c:
212 Fixed some 'Since' tags that were accidentally doxygen-style.
215 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
216 docs from the IDL file.
218 * docs/reference/cspi/at-spi-cspi-docs.sgml:
219 Added entities for Document and StreamableContent interfaces.
221 * docs/reference/cspi/at-spi-cspi-sections.txt:
222 Added some docs that were present inline but not getting
225 2006-07-31 Bill Haneman <bill.haneman@sun.com>
228 (impl_getRangeExtents): Use the atk_text_get_range_extents
229 API instead of looping over character bounds, now that
231 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
232 (_spi_text_bounds_contain): Remove, not needed anymore.
233 (_spi_text_rect_union): Remove, not needed anymore.
235 2006-07-31 Bill Haneman <bill.haneman@sun.com>
237 * atk-bridge/bridge.c:
238 (spi_atk_emit_eventv): Fix the CORBA_free call which was
239 causing 64-bit troubles and memory leaks.
240 Special thanks to Alexander Larsson who finally seems to
241 have tracked down the problem, not just here but in
245 (spi_init_any_object): Make sure we copy the CORBA value
246 when initializing an object for passing as a CORBA_Any.
249 2006-07-21 Bill Haneman <billh@gnome.org>
251 * idl/Accessibility.idl:
252 Reverted pragma changes, this broke the build in some envs
253 including the Debian team's build and some tinderbox builds.
255 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
258 Revved to 1.7.10, and edited the Xevie check (bug #319994).
260 * idl/Accessibility.idl:
261 Reworked inclusion of Bonobo_Unknown.idl, to
262 avoid double-linking libs in the Bonobo environment.
263 Thanks to Michael Meeks for the workaround, see bug #313122.
265 * registryd/deviceeventcontroller.c:
266 (spi_controller_notify_keylisteners):
267 Set the SPI_NUMLOCK_MASK bit if the modifier
268 corresponding to the conceptual numlock state is set.
271 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
273 * idl/Accessibility_Selection.idl:
274 (deselectChild): New method.
276 * libspi/selection.c:
277 (impl_deselectChild): Implement the new IDL method.
280 (AccessibleSelection_deselectChild): Added new method.
282 * cspi/spi_selection.c:
283 (AccessibleSelection_deselectChild): New method implemented.
285 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
287 * cspi/bonobo/cspi-bonobo.c:
288 (cspi_init): Replace g_error with g_warning, prevent
289 SEGV if the registry cannot be activated. Bug #346393.
291 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
293 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
295 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
296 2006-07-12 Ariel Rios <arios@us.ibm.com>
300 * idl/Accessibility_Table.idl:
301 (getRowColumnExtentsAtIndex): New method for getting
302 selection status and extents in one API call.
305 (impl_getRowColumnExtentsAtIndex): Implementation of
307 (spi_table_class_init): Add above to epv.
311 (AccessibleTable_getRowColumnExtentsAtIndex): New
312 method, retrieves selection status and row/col extents
313 for a table cell in a single API call.
315 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
316 2006-07-12 Ariel Rios <arios@us.ibm.com>
318 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
321 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
322 New bindings for new methods defined in idl and libspi.
325 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
326 Added prototype functions.
329 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
331 (spi_text_class_init): Added previous methods.
334 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
335 * libspi/spi-private.h: Corrections.
337 2006-06-29 Bill Haneman <bill.haneman@sun.com>
339 Added Document interface (see bug #326520),
340 with work from Ariel Rios <arios@us.ibm.com>.
342 * configure.in: Bump to 1.7.8.
344 * libspi/Makefile.am: Added document.[ch] to sources
347 (SpiDocument, SpiDocumentClass):
348 New interface implementation.
349 (spi_document_get_type, spi_document_construct)
350 (spi_document_interface_new): New methods added.
351 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
352 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
353 Added macros for SpiDocument
357 (spi_document_interface_new): Get a
358 new document interface. New.
359 (get_document_from_servant): Get an AtkDocument from servant New.
360 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
361 Implementation of methods defined on idl.
362 (spi_document_class_init, spi_document_init)
363 Init methods for SpiDocument. new
365 * idl/Accessibility.idl: Added Accessibility_Document.idl.
367 * cspi/Makefile.am: Added spi_document.c to sources.
369 * cspi/spi_document.c:
370 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
371 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
372 (AccessibleDocument_getAttributes): Bindings for methods defined
375 * cspi/spi_accessible.c:
376 (Accessible_isDocument, Accessible_getDocument) New.
378 (Accessible_isDocument, Accessible_getDocument)
379 (AccessibleDocument_ref, AccessibleDocument_unref)
380 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
381 (AccessibleDocument_getAttributes): Bindings added.
383 * idl/Makefile.am: Added Accessibility_Document.idl to
386 2006-06-29 Bill Haneman <bill.haneman@sun.com>
388 * idl/Accessibility_Document.idl: New interface
389 for complex documents. First stage of fix for RFE
392 2006-06-27 Bill Haneman <bill.haneman@sun.com>
394 * libspi/streamablecontent.c:
395 (impl_content_stream_close):
396 Unref the GIOChannel on close.
398 2006-06-23 Bill Haneman <bill.haneman@sun.com>
400 * idl/Accessibility_Role.idl:
401 * libspi/accessiblerole.c:
402 * cspi/spi_accessible.c: Added ROLE_LINK,
403 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
404 Bug #345758 and bug #140635.
407 2006-06-22 Bill Haneman <bill.haneman@sun.com>
411 * idl/Accessibility_StreamableContent.idl:
412 Fix derivation of StreamableContent and ContentStream.
414 * cspi/spi_streamablecontent.c:
415 (accessible_content_stream_client_read):
416 Fix the datatype of the content stream used.
417 Interpret short reads as EOF, and stop trying to
418 read when we've fulfilled the request.
419 (AccessibleStreamableContent_getContentTypes):
420 Use g_strdup, not CORBA_string_dup, for the strings.
421 (AccessibleStreamableContent_open):
422 Correctly use the new getStream method for opening,
423 not the deprecated getContent method.
424 Use the object reference as the stream hash key.
425 Make note of the 'one stream per client per streamable'
426 limitation in the docs.
429 Add streamablecontent.h to the list of #includes.
431 * libspi/streamablecontent.c:
432 (impl_content_stream_read): Initialize the GError.
433 Allocate the incoming buffer if reading a fixed length of
434 data. Use g_memmove instead of memcpy.
435 (impl_accessibility_streamable_get_content_types):
436 Init typelist->_maximum. Only allocate the buffer if
437 there is a non-zero number of content types available.
438 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
440 * libspi/streamablecontent.h:
441 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
444 (SPI_IS_VALUE): Fix a typo in this macro too.
446 2006-06-16 Bill Haneman <bill.haneman@sun.com>
450 * idl/Accessibility_StreambleContent.idl:
451 Deprecate the Bonobo_Stream-based methods in favor of
452 a self-contained "ContentStream" interface. This should
453 allow us to remove BonoboStream dependencies entirely, since
454 there were no non-NIL implementations of the old methods anyway.
455 (ContentStream): New interface.
456 (ContentStream::SeekType): Enum.
457 (ContentStream::seek): New.
458 (ContentStream::read): New.
459 (ContentStream::close): New.
460 (getContent): Deprecate.
461 (getURI): New method, returns a URI pointing to the content, if available.
463 * libspi/streamablecontent.c:
464 (SpiContentStream): Internal object type definition used to
465 implement Accessibility::StreamableContent::ContentStream via
466 AtkStreamableContent's GIOChannel back-end.
467 (spi_content_stream_new, spi_content_stream_dispose): See above;
469 (impl_content_stream_seek, impl_content_stream_read):
470 (impl_content_stream_close): New, implementations of
472 (impl_accessibility_streamable_get_stream): Implement the
473 public method Accessibility::StreamableContent::getStream.
474 (impl_accessibility_streamable_get_uri): Implement the
475 public method Accessibility::StreamableContent::getURI.
477 * cspi/spi_streamablecontent.c:
478 (accessible_bonobo_stream_client_seek): Replaced by
479 (accessible_content_stream_client_seek).
480 (accessible_bonobo_stream_client_read): Replaced by
481 (accessible_content_stream_client_read).
482 (AccessibleStreamableContent_open):
483 (AccessibleStreamableContent_seek):
484 (AccessibleStreamableContent_read):
485 (AccessibleStreamableContent_close): Use the new 'getStream'
486 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
488 2006-06-15 Bill Haneman <bill.haneman@sun.com>
490 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
491 remove from other .idl files (except LoginHelper).
494 2006-06-14 Bill Haneman <bill.haneman@sun.com>
496 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
499 * configure.in, */Makefile.am: mingw patch, modified from
500 original patch by yselkowitz. Bug #314216.
502 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
503 for completeness. Bug #163111.
505 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
506 * libspi/util.c, registryd/registry-main.c:
507 Fix guint/char* casts.
508 Patch from chpe, bug #333883.
510 2006-06-12 Bill Haneman <bill.haneman@sun.com>
512 * configure.in: Require atk-1.12.0, to pick up
513 new API. (bug #344412).
515 * libspi-1.0-uninstalled.pc.in:
517 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
518 Fix for #341488 from Samual Thibault.
520 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
521 Thanks to Brian Pepple.
523 2006-06-09 Bill Haneman <bill.haneman@sun.com>
526 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
527 New, missing implementations of attribute reading methods
530 * cspi/spi.h, spi_value.c:
531 (AccessibleValue_getMinimumIncrement): New methods wrapping
532 the (formerly unimplemented) property from Value.idl.
535 (impl_get_minimumIncrement): Implementation for retrieving
536 the minimum valuator increment, (formerly unimplemented).
539 2006-06-09 Bill Haneman <bill.haneman@sun.com>
541 * idl/Accessibility_State.idl:
542 Added STATE_VISITED (bug #338369).
544 * cspi/spi_accessible.c:
545 (spi_state_to_corba) Fixed marshalling of new statetypes.
548 (spi_init_state_tables, impl_getStates):
549 Fixed conversion of new statetypes to/from ATK.
551 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
553 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
554 definitions/conversions for new roles from ATK.
556 * idl/Accessibility_Relation.idl:
558 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
559 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
560 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
562 * libspi/accessible.c: Fixed marshalling of new role types from
565 2006-04-17 Matthias Clasen <mclasen@redhat.com>
567 * revert my previous change
569 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
571 * configure.in: Remove obssolete no_NO locale
572 * po/no.po: And the translation.
574 2006-04-05 Matthias Clasen <mclasen@redhat.com>
576 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
577 memory-management error that caused crashes on x86_64.
580 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
582 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
584 2006-03-27 Bill Haneman <bill.haneman@sun.com>
586 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
587 to strip "cspi_*" from the symbol table.
589 * cspi/spi_streamablecontent.c:
590 (get_streams): Make this method static.
593 (_cspi_exception_throw): rename to cspi_exception_throw,
594 so we can strip it with the rest...
597 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
599 2006-03-27 Bill Haneman <bill.haneman@sun.com>
601 Add doxygen-generated IDL docs to tarball, and enable
602 doxygen during build/install when available. Bug #301345.
604 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
606 * docs/reference/Makefile.am: Add idl to SUBDIRS.
608 * docs/reference/idl/Makefile.am: Optionally use
609 doxygen to create docs.
611 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
613 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
615 2006-03-20 Bill Haneman <bill.haneman@sun.com>
618 (impl_get_selected_rows): Don't free the selection if it's
619 empty or has not been assigned; init it to NULL so you can tell.
620 Also, allow for zero selected rows.
621 (impl_getSelectedColumns): Ditto. Bug #319088.
623 2006-03-11 Vincent Untz <vuntz@gnome.org>
625 Leak fix for bug #334217.
627 * libspi/application.c: spi_application_toolkit_event_listener():
628 don't duplicate the string we pass as an argument to
629 spi_init_any_nil() since spi_init_any_nil() already does it
630 * registryd/deviceeventcontroller.c:
631 (spi_dec_button_update_and_emit): ditto
632 (spi_dec_mouse_check): ditto
633 (spi_dec_emit_modifier_event): ditto
634 (spi_device_event_controller_forward_mouse): ditto
635 * registryd/registry.c:
636 (desktop_add_application): ditto
637 (desktop_remove_application): ditto
639 2006-02-20 Bill Haneman <billh@gnome.org>
641 * configure.in: Rev to 1.7.6.
643 Leak fixes for bug #331924.
645 * atk-bridge/bridge.c:
646 (spi_atk_bridge_init_base): Don't dup the string, it's already
647 been dup-ed. Fixes a leak.
648 (spi_atk_emit_eventv): Move the CORBA_free call here,
649 instead of spi_atk_state_event_listener; fixes another leak.
650 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
651 notifying the registry; fixes another leak.
653 * registryd/registry.c:
654 (registry_flush_event_queue): Free the CORBA_any when
655 flushing the event, not just the string. Fixes another leak.
656 (registry_queue_event): Free the CORBA_any when dropping
657 events on the floor; fixes another leak.
660 (spi_init_any_object, spi_init_any_nil):
661 Always set _release to TRUE. Fixes another leak.
663 2006-02-20 Bill Haneman <billh@gnome.org>
665 * configure.in: Rev to 1.7.5.
666 Reinstate localization of this module. Thanks for Rodney
667 Dawes for fixing my patch.
669 * registryd/Makefile.am: Remove Accessibility_Registry.server
670 from dist, since it needs to be re-created at configure time.
673 2006-01-31 Bill Haneman <billh@gnome.org>
675 * configure.in: Rev to 1.7.4 (to include build fix below).
677 * idl/Makefile.am: Include Selector.idl in dist.
681 (cspi_internal_event_get_object): Handle case where
682 "object" isn't present, i.e. CORBA_TC_Object doesn't match
683 the EventDetails data.
684 (cspi_internal_event_get_text): Handle NULL string.
685 (cspi_internal_event_get_rect): Handle missing/empty rect
686 data, Accessibility_TC_RectBounds doesn't match any_data.
688 2006-01-30 Bill Haneman <billh@gnome.org>
692 * atk-bridge/bridge.c:
693 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
694 interface and use that when instantiating a new source
695 accessible. Better fix for bug #321814.
697 2006-01-27 Bill Haneman <billh@gnome.org>
699 * idl/Accessibility_Selector.idl: Added to the cvs repository.
701 * configure.in: Revved to 1.7.3.
703 2006-01-17 Bill Haneman <billh@gnome.org>
705 * configure.in: Revved to 1.7.2, re-dist to include docs.
707 2006-01-09 Bill Haneman <billh@gnome.org>
709 * configure.in: Removed po/Makefile.in inclusion, we do not need
712 * idl/Accessibility.idl: Improved documentation here, and for all
713 IDL in the 'GNOME::Accessibility' namespace.
715 * idl/Accessibility_Accessible.idl:
716 (LOCALE_TYPE): Added enum.
717 (AttributeSet): New, for returning multiple name/value attribute pairs.
718 (RoleSet): New, sequence of Roles, to be used in upcoming
720 (getAttributes): New API, allows retrieval of name/value pair
721 annotations for all kinds of Accessible objects. C.f.
722 Text:getAttributes, which is only for typographic/textual/semantic tags in
724 (getApplication): New, retrieves the host/containing Application
725 instance for an object (without having to walk up the whole tree).
727 * idl/Accessibility_Component.idl:
728 (getAlpha): New method, returns the alpha blending (aka 'opacity')
729 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
732 * idl/Accessibility_Event.idl:
733 (EventDetails): New struct definition, for encapsulating
734 commonly-queried information about emitted events. The use of
735 this structure in emitted events (in the 'any' member of
736 Accessibility_Event) should greatly reduce the number of
737 client-server roundtrips necessary.
739 * idl/Accessibility_Image.idl:
740 (imageLocale): New, a readonly attribute indicating the POSIX
741 LC_MESSAGES locale of the image and associated Alt/descriptive
744 * idl/Accessibility_Relation.idl:
745 (RELATION_PARENT_WINDOW_OF): Include, as complement to
748 * idl/Accessibility_Role.idl:
749 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
750 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
751 complex document and form support.
753 * idl/Accessibility_State.idl:
754 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
755 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
756 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
757 for support of complex documents and forms.
759 * idl/Accessibility_StreamableContent.idl:
760 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
761 allow old bonobo-stream interfaces to be deprecated in the next
764 * idl/Accessibility_Text.idl:
765 (getAttributeValue): New method, allows query-by-name of single
768 * libspi/accessible.c:
769 Added support for new roles. Implemented new methods
770 (impl_accessibility_accessible_get_application): New
771 (impl_accessibility_accessible_get_attributes): New
773 * libspi/component.c:
774 (impl_accessibility_component_get_alpha): New.
777 (impl_accessibility_image_get_locale): New.
779 * libspi/relation.c: Added support for new relation type.
781 * libspi/stateset.c: Added support for new state types.
784 (impl_getAttributeValue): New.
787 New prototypes for private methods
789 spi_init_any_object, spi_init_any_string,
792 * libspi/spi_event.c:
793 Use EventDetails in the event emission methods.
795 * cspi/spi-private.h:
796 (cspi_role_from_spi_role): Expose this adapter method, since
797 we need it in the bridge (see below).
800 (AccessibleEvent_getSourceName):
801 (AccessibleEvent_getSourceRole):
802 (AccessibleEvent_getSourceApplication):
803 (AccessibleEvent_getSourceDetails):
804 New methods for interrogating/demarshalling
805 event details (i.e. source's accessible name, role,
808 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
809 Make use of the new EventDetails struct in events, if present.
810 (AccessibleEvent_getSourceName)
811 (AccessibleEvent_getSourceRole)
812 (AccessibleEvent_getSourceApplication)
813 (AccessibleEvent_getSourceDetails): Implement the newly exposed
815 (Accessible_getAttributes): New, wraps
816 Accessibility_Accessible_getAttributes.
817 (Accessible_getHostApplication): New, wraps
818 Accessibility_Accessible_getApplication.
821 (AccessibleImage_getImageLocale): New wrapper for
822 Accessibility_Image_get_imageLocale.
824 * cspi/spi_component.c:
825 (AccessibleComponent_getAlpha): New wrapper for
826 Accessibility_Component_getAlpha.
828 * atk-bridge/bridge.c:
829 Use new prototyped for init_any methods.
830 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
831 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
832 (spi_atk_bridge_init_base): Wrappers
833 for spi_init_any_* methods, due to refactor; include extended
834 information in the Accessibility_EventDetails struct, for instance
835 accessible-name, Role, and containing Application.
837 * registryd/registry.c:
838 Use new event emission (with EventDetails).
840 * registryd/deviceeventcontroller.c:
841 Use new event emission (with EventDetails).
843 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
845 * configure.in: Generate po/Makefile.in
846 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
847 * cspi/spi_streamablecontent.c:
848 (accessible_bonobo_stream_client_seek),
849 (AccessibleStreamableContent_seek): Remove unused vars.
850 * libspi/application.c: Missing header.
851 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
852 * login-helper/login-helper.c: (login_helper_finalize),
853 (login_helper_init): Remove unused stuff
854 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
855 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
856 and surround some with #ifdef GRAB_BUTTON.
857 * test/event-listener-test.c: (main), (report_event),
858 (report_caret_event), (report_detail_event),
859 (report_detail1_event), (report_bounds_event), (report_text_event),
860 (report_text_selection_event),
861 (report_active_descendant_changed_event),
862 (report_children_changed_event), (report_name_changed_event),
863 (report_description_changed_event), (report_parent_changed_event),
864 (report_window_event), (report_table_summary_event),
865 (report_table_header_event), (report_table_caption_event),
866 (report_table_row_description_event),
867 (report_table_column_description_event), (timing_test_event):
868 Remove a bunch of unused variables and fix a slew of format specifiers
869 * test/key-listener-test.c: (report_all_key_event): Format specifier
870 * test/keypad-test.c: (print_key_event): Same
871 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
873 * test/screen-review-test.c: (main), (print_chunk_debug),
874 (review_buffer_get_text_chunk), (debug_chunk_list),
875 (string_guess_clip), (text_chunk_get_clipped_string),
876 (text_chunk_list_to_string), (get_screen_review_line_at):
877 Remove unused variables and fix format specifiers.
878 * test/simple-at.c: (report_text_event): Format specifier fix.
879 * test/stress-test.c: (main): Remove unused var.
881 2005-12-29 Abel Cheung <maddog@linuxhall.org>
883 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
884 (yes I know that's useless)
886 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
888 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
890 2005-11-17 Michael Meeks <michael.meeks@novell.com>
892 * atk-bridge/bridge.c (spi_atk_emit_eventv):
893 urgh-fix embarassing typo.
895 2005-11-16 Michael Meeks <michael.meeks@novell.com>
897 * atk-bridge/bridge.c (spi_atk_emit_eventv):
898 do a faster, less problematic _unref call on this local
899 object, rather than a slower (potentially cross-thread
900 complicated) CORBA call.
902 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
904 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
905 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
906 * registryd/deviceeventcontroller.c:
907 (spi_controller_notify_mouselisteners),
908 (impl_generate_keyboard_event):
909 * test/screen-review-test.c: (chunk_bounds_within):
910 * test/test-simple.c: (test_desktop): Remove some unused code
911 and fix compiler warnings. Closes bug #320049.
913 2005-10-27 Bill Haneman <bill.haneman@sun.com>
915 * registryd/deviceeventcontroller.c:
916 (spi_controller_notify_keylisteners): Check
917 to make sure the event listener has requested 'preemptive'
918 status before pre-empting an event.
920 2005-08-29 Bill Haneman <bill.haneman@sun.com>
922 * configure.in, README, NEWS: Release 1.6.5.
924 2005-07-25 Matthias Clasen <mclasen@redhat.com>
926 * test/window-listener-test.c: Fix a printf
927 format error. (#169453)
929 2005-07-15 Bill Haneman <bill.haneman@sun.com>
931 * tests/test-simple.c:
932 (key_listener_cb): Ensure that the keystring is dup'ed instead of
933 relying on the old string from the key event hanging around after
934 the event handler returns. Fixes broken 'make check'.
936 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
938 * Added Marathi (mr_IN) translations.
940 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
942 * cspi/bonobo/cspi-bonobo-listener.c:
943 (cspi_event_list_remove_by_cb): Fix the build.
945 2005-05-26 Michael Meeks <michael.meeks@novell.com>
947 * cspi/bonobo/cspi-bonobo-listener.c
948 (cspi_event_list_remove_by_cb): actually filter by callback.
950 2005-05-25 Bill Haneman <bill.haneman@sun.com>
952 * registryd/registry.c (remove_listener_cb):
953 Make deregistration filter rules match the event emission rules.
955 2005-05-25 Michael Meeks <michael.meeks@novell.com>
957 * registryd/registry.c (remove_listener_cb),
958 (impl_accessibility_registry_deregister_global_event_listener),
959 (impl_accessibility_registry_deregister_global_event_listener_all):
960 pass a closure to the remove callback to filter listeners more
961 accurately on remove.
963 2005-04-05 Bill Haneman <bill.haneman@sun.com>
965 * configure.in: Revved to 1.6.4.
966 Remember to put quotes around XEVIE_LIBS assignment.
967 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
970 * tests/event-listener-test.c: Tweaked the tests - more detail
971 from caret events, and some interrogation of AccessibleText APIs.
972 Commented-out the bounds-changed events by default, since they can
975 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
977 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
978 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
979 Same here. Closes bug #167806
981 2005-04-05 Bill Haneman <bill.haneman@sun.com>
983 * atk-bridge/bridge.c:
984 (spi_atk_bridge_signal_listener):
985 Free the any._value if any._release is TRUE,
986 since the ORB won't do it for us in this case
987 [because this method is not a skel].
990 2005-03-30 Steve Murphy <murf@e-tools.com>
992 * configure.in: Added "rw" to ALL_LINGUAS.
994 2005-03-29 Bill Haneman <bill.haneman@sun.com>
996 * configure.in: Improved check for HAVE_XEVIE, to detect
997 presence on XOrg, where -lXevie is a separate library.
999 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1001 * configure.in, NEWS, README: Revved to 1.6.3.
1003 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1005 * configure.in: Added "xh" to ALL_LINGUAS.
1007 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1009 * atk-bridge/bridge.c:
1010 (atk_bridge_init): Added missing NULL in g_strconcat(),
1011 also check for symlink before logging to
1012 insecure directory. Thanks to meissner@suse.de.
1014 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1016 * tests/login-helper-server-test.c: Add return call to main
1017 function. Patch from Chris Lahey. Fixes bug #165129.
1019 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1021 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1023 2004-12-09 Bill Haneman <billh@gnome.org>
1025 * registryd/registry-main.c:
1026 Added #define <string.h> for strrchr. (bug 160862).
1027 Thanks to Vincent Berger for catching.
1029 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1031 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1032 restart registry process if the registry process is found to have died
1033 and the current process is exiting.
1034 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1035 application if the registry process has died.
1036 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1037 does not return a registry object.
1038 (spi_atk_tidy_windows): Give up if the registry process has died.
1040 This fixes problems with hangs and crashes when logging out.
1042 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1044 * registryd/desktop.c: Add checking that we are not exiting before
1045 calling spi_desktop_remove_application in
1046 abnormal_application_termination. Fix for bug #152147.
1048 2004-12-02 Bill Haneman <billh@gnome.org>
1050 * configure.in, NEWS, README: Revved to 1.6.1.
1052 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1053 * atk-bridge/bridge.c:
1054 (atk_bridge_init): Save the pid when we start, to detect forks.
1055 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1056 if we're in a forked pid.
1058 2004-10-09 Bill Haneman <billh@gnome.org>
1060 * idl/Accessibility_LoginHelper.idl:
1061 Improved inline documentation.
1063 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1065 * configure.in: Added gl (Galician) to ALL_LINGUAS
1067 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1069 * libspi/accessible.c:
1070 (impl_accessibility_accessible_get_role_name),
1071 (impl_accessibility_accessible_get_local_role_name):
1072 NULL vs. 0 cleanups.
1073 * libspi/component.c:
1074 (impl_accessibility_component_get_accessible_at_point):
1076 * libspi/eventlistener.c: (spi_event_listener_new):
1078 * libspi/stateset.c: (impl_compare): More of the same
1079 * libspi/table.c: (impl_getRowDescription): Again.
1080 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1081 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1082 (impl_generate_keyboard_event): Same.
1083 * registryd/registry-main.c: (main): Same
1084 * test/event-listener-test.c: (test_exit): Same
1085 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1086 * test/keysynth-test.c: (test_key_synthesis): Same
1087 * test/login-helper-server-test.c: (main): Fix warning.
1088 * test/screen-review-test.c: (test_exit): Fix include.
1089 * test/simple-at.c: (simple_at_exit), (_festival_init):
1092 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1094 * configure.in, NEWS, README: Revved to 1.6.0.
1096 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1098 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1099 was missing the HTML docs.
1101 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1103 * configure.in: only cleanups:
1104 - better looking PKG_CHECK_MODULES() output,
1106 - declare in one common place required versions of other tools using
1109 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1111 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1112 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1113 required ATK version accordingly.
1115 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1117 * cspi/bonobo/cspi-bonobo.c:
1118 (cspi_display_name): Fix C99ism.
1119 * atk-bridge/bridge.c:
1120 (spi_display_name): Fix C99ism.
1121 Patch from Jens Granseuer, jensgr@gmx.net.
1123 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1125 * configure.in: Added "or" to ALL_LINGUAS.
1127 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1129 * configure.in, NEWS, README: Revved to 1.5.4.
1131 * registryd/registry-main.c:
1132 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1135 * cspi/bonobo/cspi-bonobo.c:
1136 (cspi_display_name): New convenience method, gets DISPLAY with
1137 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1138 (cspi_init): Set the activation env value above before getting
1141 * atk-bridge/bridge.c:
1142 (spi_display_name): Create the AT_SPI_DISPLAY activation
1143 environment for an app, based on the DISPLAY environment with the
1144 screen number stripped off.
1145 (atk_bridge_init): Allow redirection of error messages to a log.
1146 (spi_atk_bridge_get_registry): Call
1147 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1149 Fixes for bugs #149962, #136986, #144086.
1151 2004-08-16 Christian Rose <menthos@menthos.com>
1153 * configure.in: Added "bs" to ALL_LINGUAS.
1155 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1157 * configure.in: Added nb to ALL_LINGUAS.
1159 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1162 (SPI_init): Return error code '2' if the activated
1163 registry cannot be pinged. Fixes bug #147648.
1165 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1167 * registryd/deviceeventcontroller.c:
1168 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1169 rely on timer-poll instead, to avoid conflict with
1172 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1174 * configure.in: Revved to 1.5.3.
1176 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1178 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1180 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1182 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1184 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1186 * atk-bridge/bridge.c:
1187 (spi_atk_bridge_do_registration):
1188 Register with ATK for AtkComponent:bounds-changed events.
1189 (api_atk_bridge_signal_listener):
1190 Marshal the AtkRectangle info into the event notification
1191 for object:bounds-changed events.
1194 (spi_init_any_rect): New method, inits a corba struct of
1195 type Accessibility_BoundingBox from an AtkRectangle.
1197 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1200 (SPIRect): New struct definition.
1201 (SPI_freeRect): New declaration.
1202 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1205 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1206 implemented. Gets the bounding box data from the CORBA_any
1207 associated with a bounds-changed event notification.
1208 (cspi_internal_event_get_rect): New, used internally by above method.
1211 (SPI_freeRect): Implemented this new method, for freeing
1214 * test/event-listener-test.c:
1215 (main, report_bounds_event):
1216 Added a test for object:bounds-changed events.
1218 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1220 * test/login-helper-server-test.c:
1221 (main): Fix C99-ism. Thanks to Jens Granseuer.
1223 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1225 * libloginhelper-1.0.pc.in:
1226 * idl/Accessibility_LoginHelper.idl:
1227 * login-helper/Makefile.am:
1228 * login-helper/login-helper.[ch]:
1229 * test/login-helper-client-test.c:
1230 * test/login-helper-server-test.c: Added files missing from CVS.
1231 Files obtained from at-spi-1.5.2 tarball.
1233 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1235 * configure.in: Create login-helper/Makefile.
1236 Incremented micro version.
1238 * Makefile.am: Add login-helper subdir and pkgconfig data.
1240 * login-helper: New subdir.
1242 * libloginhelper-1.0.pc.in: New.
1244 * idl/Accessibility_LoginHelper.idl: New file, defines
1245 interface whereby authentication clients can identify agents which
1246 need access to services during the login process, e.g. screen lock
1249 * login-helper/Makefile.am : New.
1251 * login-helper/login-helper.[ch] : New, implementation of
1252 a LoginHelper base class. Services needing LoginHelper can subclass.
1254 * test/Makefile.am : Added test for login-helper, client and
1257 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1258 Use proper prefix in #include files.
1260 * test/login-helper-client-test.c: New.
1262 * test/login-helper-server-test.c: New.
1264 2004-05-27 Alexander Shopov <ash@contact.bg>
1266 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1268 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1270 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1271 is positive. This should make it easier to detect inapprorpiate unref
1274 2004-05-11 James Henstridge <james@daa.com.au>
1276 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1277 no-op and deprecated.
1279 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1281 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1283 2004-04-28 Bill Haneman <billh@gnome.org>
1285 * Makefile.am: Added --enable-gtk-doc to
1286 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1288 2004-04-19 Bill Haneman <billh@gnome.org>
1290 * configure.in: Revved to 1.5.1.
1292 * registryd/deviceeventcontroller.c:
1294 (DEControllerPrivateData): Added fields for
1295 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1296 (spi_dec_replace_map_keysym): New internal utility for
1297 replacing a keysym in the keymap - used to allow
1298 synthesis of individual characters which aren't in the
1300 (spi_dec_reset_reserved): New; resets the changed keysym value
1302 (keycode_for_keysym): We now try to deal with failed
1303 XKeysymToKeycode requests by changing a keymap value
1304 and returning a reserved keycode. We now take
1305 a DEController pointer as first arg.
1306 (spi_controller_register_with_devices): Call XkbGetMap with
1307 the XkbKeySymsMask. Find the highest keycode in the current
1308 keymap which doesn't have any grabs, and mark that one for
1309 temporary re-mapping when out-of-range KeySyms are synthesized.
1310 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1313 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1315 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1317 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1319 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1321 2004-03-24 Bill Haneman <billh@gnome.org>
1324 (AccessibleTable_addRowSelection),
1325 (AccessibleTable_addColumnSelection),
1326 (AccessibleTable_removeRowSelection),
1327 (AccessibleTable_removeColumnSelection):
1328 Add declarations for spi wrappers which were
1329 inadvertantly omitted. Fixes bug #133413.
1332 Revved to 1.5.0 (unstable series for GNOME 2.7).
1334 2004-03-24 Bill Haneman <billh@gnome.org>
1336 * atk-bridge/bridge.c:
1337 Bracketed some debug output in
1338 conditionals, to avoid printing it in normal use.
1341 * libspi/hyperlink.c:
1342 Don't cast 'object' to ATK_OBJECT when constructing
1343 an AtkAction interface for a hyperlink.
1344 See discussion in bug #120659.
1346 * test/key-listener-test.c:
1347 (report_all_key_event): Send output to stderr,
1348 not stdout, for consistency with the rest of the test callbacks.
1351 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1352 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1353 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1354 try incrementing the revision AFTER doing a dist, at least
1357 2004-03-22 Bill Haneman <billh@gnome.org>
1359 * configure.in: Revved to 1.4.0, libtool 9.14.9
1361 2004-03-17 Laszlo Peter <laca@sun.com>
1363 * libspi-1.0-uninstalled.pc.in: add idldir
1365 * cspi-1.0-uninstalled.pc.in: add idldir
1367 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1369 * configure.in: Added "en_GB" to ALL_LINGUAS
1371 2004-03-15 Bill Haneman <billh@gnome.org>
1373 * configure.in: Revved to 1.3.16,
1376 2004-03-15 Laszlo Peter <laca@sun.com>
1378 * libspi-1.0-uninstalled.pc.in: new file
1380 * cspi-1.0-uninstalled.pc.in: new file
1382 * configure.in: add the new pc files to AC_OUTPUT
1384 * Makefile.am: add the new pc files to EXTRA_DIST
1386 2004-03-12 Bill Haneman <billh@gnome.org>
1388 * atk-bridge/bridge.c:
1389 (spi_atk_bridge_key_listener):
1390 Make sure to return consumed=FALSE if snoop
1391 event is not dispatched to listener.
1394 2004-03-01 Bill Haneman <billh@gnome.org>
1396 * configure.in: Revved to 1.3.15,
1399 2004-03-07 Danilo Segan <dsegan@gmx.net>
1401 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1403 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1405 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1407 2004-03-01 Bill Haneman <billh@gnome.org>
1409 * configure.in: Revved to 1.3.14.
1412 (SPI_exit): Removed "bye-bye" exit message.
1413 Moved "leak" report to happen before the
1414 iteration over the leaked refs list.
1415 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1417 2004-02-24 Bill Haneman <billh@gnome.org>
1419 * configure.in: Revved to 1.3.13.
1421 * docs/reference/cspi/Makefile.am:
1422 Correct typo that was breaking the docs build.
1424 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1426 * autogen.sh: Require version 1.7 of automake.
1428 * configure.in: call GTK_DOC_CHECK([1.0])
1430 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1432 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1434 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1436 * test/Makefile.am: Remove use of CFLAGS.
1438 This fixes bug #132987.
1440 2004-02-11 Bill Haneman <billh@gnome.org>
1442 * reverted most of Tomasz' patch below, since it was breaking
1443 builds (see bug #134058).
1445 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1447 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1448 correct pass "make dist" (empty .. because seems no sach types in
1449 header files with gtk-doc markups).
1450 * docs/reference/cspi/Makefile.am, configure.in:
1451 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1452 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1453 * Makefile.am: added:
1454 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1455 for force correct pass generate documentation on "make distcheck".
1456 * libspi/Makefile.am: fixes for automake >= 1.6.
1457 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1458 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1461 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1463 * docs/reference/cspi/Makefile.am (install-data-local): Install
1464 index.sgml since the doc autobuilder on widget.gnome.org looks for
1467 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1469 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1472 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1474 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1476 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1478 * test/simple-at.c: Fixed null string problems that cause core
1479 dumping problems on Solaris.
1481 2004-01-12 Bill Haneman <billh@gnome.org>
1483 * configure.in: Incremented version to 1.3.11.
1485 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1487 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1488 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1491 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1493 * configure.in: Added "fa" to ALL_LINGUAS.
1495 2003-12-20 Arafat Medini <lumina@silverpen.de>
1497 * configure.in: Added "ar" to ALL_LINGUAS
1499 2003-12-16 Bill Haneman <billh@gnome.org>
1501 * registryd/registry-main.c:
1503 Set the reg_env DISPLAY variable before registering the
1504 activated registry service. Fixes bug #129479.
1506 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1508 * configure.in: Added "id" in ALL_LINGUAS
1509 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1511 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1513 * registryd/deviceeventcontroller.c (global_filter_fn):
1514 When an event is consumed discard any XEvents were added to
1515 the queue while dealing with the the event. This can happen if
1516 processing of the event takes a long time. Call XUngrabKeyboard
1517 if an event was discarded. This fixes bug $124837.
1518 Only call wait_for_release_event for a KeyPress.
1519 Use local variable display instead of spi_get_display().
1520 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1523 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1525 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1526 Allow for mask to contain values other than NumLock mask.
1529 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1531 * registryd/devieceventcontroller.c:
1532 (wait_for_release_event): Change first parameter from GdkEvent to
1534 (global_filter_fn); Correct call to wait_for_release_event.
1538 2003-12-08 Bill Haneman <billh@gnome.org>
1542 * registryd/ucs2keysym.c: New file.
1544 * registryd/deviceeventcontroller.c:
1545 (dec_keysym_for_unichar): Remove old partial implementation and
1546 replace with call to ucs2keysym(), which is much more complete.
1547 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1552 2003-12-05 Bill Haneman <billh@gnome.org>
1554 * configure.in: Version 1.3.9.
1556 * docs/reference/cspi/tmpl/spi_registry.sgml:
1557 Added reference to libspi/keymasks.h to the
1558 description of Registry queries: AccessibleKeyMaskType.
1561 2003-12-04 Bill Haneman <billh@gnome.org>
1563 Fix for bug #121974.
1565 * idl/Accessibility_Application.idl:
1566 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1567 setlocale's LC_TYPEs.
1568 (Accessibility::Application::getLocale): New method.
1569 Allows clients to query the locale, by type, of an app.
1572 * cspi/spi_application.c:
1573 (AccessibleApplication_getLocale): New method, wraps IDL above.
1575 * libspi/application.c:
1576 (spi_application_class_init): Init epv entry for getLocale.
1577 (impl_accessibility_application_get_locale): Impl for above.
1579 * test/test-simple.c:
1580 (test_application): Added assertion for getLocale, i.e.
1581 that the string from AccessibleApplication_getLocale (app, type)
1582 is the same as that from setlocale (type, NULL);
1584 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1586 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1587 the keyboard on a timeout intil the key state goes from pressed to
1588 released. Fixes bug #111429.
1590 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1592 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1593 root object so that it is present when a context menu in an
1594 out-of-process applet is popped up.
1595 (spi_atk_bridge_do_registration): Create acceessible application root
1596 object only if it does not exist.
1598 This fixes bug #125834.
1600 2003-12-01 Bill Haneman <billh@gnome.org>
1602 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1605 Added enum for AccessibleStreamableContentSeekType.
1606 (AccessibleStreamableContent_freeContentTypeList): New.
1608 * cspi/spi_streamablecontent.c:
1609 (accessible_bonobo_stream_client_seek): New private method.
1610 (AccessibleStreamableContent_seek): Implemented this method,
1611 using Bonobo_Stream_seek.
1612 (AccessibleStreamableContent_freeContentTypeList): New method
1613 for freeing the return value from
1614 AccessibleStreamableContent_getContentTypes.
1615 (stream_cache_item_free): Replaces stream_release; stop leaks.
1616 (stream_release): removed.
1617 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1618 free the memory properly.
1620 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1622 Fix for bug #116009.
1624 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1626 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1628 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1630 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1632 2003-12-01 Bill Haneman <billh@gnome.org>
1634 Fix for bug/rfe #127463.
1636 * idl/Accessibility_Accessible.idl:
1637 (getLocalizedRoleName): New.
1638 (unimplemented4): Removed (replaced by above).
1640 * libspi/accessible.c:
1641 (impl_accessibility_accessible_get_local_role_name): New.
1642 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1646 (Accessible_getLocalizedRoleName): New.
1648 * cspi/spi_accessible.c:
1649 (Accessible_getLocalizedRoleName): New.
1651 2003-12-01 Bill Haneman <billh@gnome.org>
1653 Fix for bug #118581.
1654 * idl/Accessibility_Text.idl:
1655 (getDefaultAttributes): New.
1656 (unimplemented4): Removed (replaced by above method).
1659 (impl_getDefaultAttributes): New method.
1660 (spi_text_class_init):
1661 initialize the get_default_attributes slot in the epv.
1664 (AccessibleText_getDefaultAttributes): New prototype.
1667 (AccessibleText_getDefaultAttributes): New method.
1669 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1671 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1672 write beyond the end of the table. Fixes bug #120473.
1674 2003-09-30 Christian Rose <menthos@menthos.com>
1676 * configure.in: Added "eu" to ALL_LINGUAS.
1678 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1680 * configure.in: ALL_LINGUAS: Added no.
1682 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1684 * configure.in: Added lt to ALL_LINGUAS.
1686 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1688 * atk-bridge/bridge.c:
1689 (atk_bridge_init): Register event listeners always even for
1690 out-of-process applet.
1691 (spi_atk_bridge_toplevel_added): Remove call to
1692 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1693 (spi_atk_bridge_toplevelk_removed): Remove call to
1694 spi_atk_deregister_event_listenersa as the listeners are now always
1696 (spi_atk_bridge_register_application): Remove call to
1697 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1699 This fixes bug #120991.
1701 * libspi/table.c (impl_getColumnDescription): Correct typo,
1702 pointed out by Bolian.Yin@sun.com.
1704 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1706 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1708 2003-09-08 Bill Haneman <billh@gnome.org>
1710 * configure.in: Revved to 1.3.7.
1712 This is the GNOME 2.4.0 release of at-spi.
1714 * docs/reference/cspi/Makefile.am:
1715 Removed spurious inclusion of 'index.sgml' in the
1716 html directory; this was breaking make distcheck and
1717 also some other build environments.
1719 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1721 * registryd/registry.[ch}:
1722 Add queue_handler_id and focus_object to SpiRegistry data structure.
1723 (registry_flush_event_queue): If event being discarded is
1724 "state-change:focused" store object as focus_object.
1725 (registry_start_queue): Remove queue handler and focus object
1727 (registry_discard_event): New function which discards a focus event
1728 if we had stored focus object in the registry.
1729 (registry_queue_event): Add new check that is_queueing is set as this
1730 function is reentrant.
1731 (registry_filer_event): Add call to registry_discard_event.
1733 This resolves issues raised in bug #108664.
1735 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1737 * configure.in: Added "bn" to ALL_LINGUAS.
1739 2003-09-04 Bill Haneman <billh@gnome.org>
1741 * cspi/spi_event.c: Documentation improvements for
1742 (SPI_registerAccessibleKeylistener).
1744 * docs/reference/tmpl/spi_registry.sgml:
1745 Documentation improvements for SpiAccessibleKeylistenerCB.
1747 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1749 * configure.in: Added "ro" to ALL_LINGUAS.
1752 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1754 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1755 not decremented to zero. Fixes bug #120725.
1757 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1759 * configure.in: Added "ja" to ALL_LINGUAS.
1761 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1763 * configure.in: Added "is" to ALL_LINGUAS.
1765 2003-08-22 Christian Rose <menthos@menthos.com>
1767 * configure.in: Added "nl" to ALL_LINGUAS.
1769 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1771 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1772 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1774 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1776 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1777 type for unspecified exception.
1778 * cspi_streamablecontect): Add include of string.h for memcpy.
1779 (stream_release): Correct call to bonobo_object_release_unref
1780 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1781 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1782 argument of _cspi_expection_throw.
1783 * libspi/hyperlink.c: Add include of libspi/action.h:
1784 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1785 * libspi/streamablecontent.c: add include of libspi/component.h.
1786 * regisrtyd/deviceeventcontroller.c:
1787 (spi_dec_translate_mask): Removed unused variable priv.
1788 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1789 * registryd/registry.c:
1790 (registry_filter_event): Remove unused variable queue_is-empty.
1791 (impl_registry_notify_event): Use correct modifier in fprintf call.
1793 This fixes compiler warnings reported in bug #120220.
1795 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1797 * registryd/registryd.c: Remove this file.
1799 2003-08-17 Sanlig Badral <badral@openmn.org>
1801 * configure.in: Added mn to ALL_LINGUAS.
1803 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1805 * configure.in: Added et to ALL_LINGUAS.
1807 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1809 * test/event-listener-test.c: Change active-descendant to
1810 active-descendant-changed.
1812 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1814 * configure.in: Added "fi" in ALL_LINGUAS.
1816 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1818 * configure.in: Added "hi" in ALL_LINGUAS.
1820 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1822 * configure.in: Revved to 1.3.6.
1826 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1828 * registryd/deviceeventcontroller.c
1829 (spi_device_event_controller_object_finalize): Fix typo in previous
1832 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1834 * registryd/deviceeventcontroller.c
1835 (spi_device_event_controller_object_finalize): Fix build on
1836 systems without XEvIE.
1838 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1840 * acconfig.h, configure.in, registryd/Makefile.am,
1841 registryd/devicecontoller.[ch]: Add XEViE support.
1843 2003-08-06 Wang Jian <lark@linux.net.cn>
1845 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1847 2003-08-06 Metin Amiroff<metin@karegen.com>
1849 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1851 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1853 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1854 MODIFIER_ALT in correct place.
1856 This fixes part of bug #118114.
1858 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1860 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1862 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1864 * configure.in: Added "ko" to ALL_LINGUAS.
1866 2003-07-28 Ole Laursen <olau@hardworking.dk>
1868 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1870 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1872 * configure.in: Added "sq" to ALL_LINGUAS.
1874 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1876 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1878 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1880 * configure.in: updated ALL_LINGUAS list
1882 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1884 * configure.in: Added Belarusian to ALL_LINGUAS.
1886 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1888 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1890 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1891 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1893 This fixes bug #116949.
1895 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1897 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1898 Correct CSPI to SPI in function documentation.
1900 This fixes bug #118054.
1902 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1904 * configure.in: Added Russian to ALL_LINGUAS.
1906 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1908 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1910 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1912 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1914 2003-07-10 Joel Brich <joel.brich@laposte.net>
1916 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1918 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1920 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1922 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1924 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1925 resources allocated for AccessibleEvent. See cspi_event().
1927 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1928 static variable streams to NULL.
1930 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1931 Update so that AcessibleEvent_ref will work.
1933 This fixes bug #116624.
1935 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1937 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1939 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1941 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1943 2003-07-02 Christian Neumair <chris@gnome-de.org>
1945 * configure.in: Added "de" (German) to ALL_LINGUAS.
1947 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1949 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1951 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1953 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1955 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1957 * configure.in: Added "pl" to ALL_LINGUAS.
1959 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1961 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1963 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1966 (get_action_from_servant):
1967 Removed assertion that action is implemented on an AtkObject.
1969 * libspi/hyperlink.c:
1970 (spi_hyperlink_new):
1971 Aggregate AccessibleAction interface on the hyperlink object if
1972 the object implements AtkAction. (This convention is used in
1975 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1977 * configure.in: Revved to 1.3.5.
1979 * registryd/Accessibility_Registry.server.in.in:
1980 Marked up appropriate strings for translation.
1982 * atk-bridge/bridge.c: Marked a couple of
1983 user-visible warnings for translation. Questionable
1984 whether they are really useful, but possibly so.
1987 2003-06-28 Christian Rose <menthos@menthos.com>
1989 * configure.in: Added "sv" to ALL_LINGUAS.
1991 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1993 * registryd/registry.c:
1994 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1995 (registry_defer_on_event): Defer focus: events, this is an
1996 improvement to the patch for bug #108664.
1998 * TODO: Update with 2.4/"Dev Complete" items.
2000 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2002 * atk-bridge/bridge.c:
2003 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2004 looks up signals once.
2005 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2006 if doing registration.
2007 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2008 when doing registration.
2010 This fixes bug #115014.
2012 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2014 * atk-bridge/bridge.c:
2015 (atk_bridge_init): Add signal handler for children-changed:remove on
2016 root when in a BonoboComponent.
2017 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2018 for first toplevel only other incrememt variable toplevels.
2019 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2020 application and remove listeners.
2021 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2023 (spi_atk_deregister_event_listeners): New function which removes
2025 (reinit_register_vars): New fuction which reinitializes variables.
2027 This fixes bug #111578.
2029 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2031 * configure.in: version 1.3.4.
2033 * cspi/spi_accessible.c:
2034 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2037 2003-06-13 Michael Meeks <michael@ximian.com>
2039 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2041 * cspi/spi_main.c (cspi_peek_ev): impl.
2043 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2045 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2047 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2049 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2050 SPI_ROLE_AUTOCOMPLETE
2052 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2054 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2055 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2057 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2059 * libspi/streamablecontent.h:
2060 * libspi/streamablecontent.c:
2061 New files, provide implementation/wrappers for
2062 Accessibility_StreamableContent.
2064 * cspi/spi_streamablecontent.c:
2065 Connected the C wrappers to the libspi C bindings.
2066 (AccessibleStreamableContent_close): New method.
2069 (AccessibleStreamableContent_close): New method, needed
2070 since we have an "open, [seek], read, close" model in cspi.
2072 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2074 Fix for #108664; Padraig's revision of my original patch.
2076 * registryd/registry.h:
2077 Added event queue list, is_queuing, and exit_notify_timeout
2078 to the registry struct.
2080 * registryd/registry.c:
2081 (registry_init): Initialize new struct from registry.h.
2082 (impl_registry_notify_event):
2083 Filter events before notifying, in case some need to be
2085 (registry_filter_event): New,
2086 we defer certain incoming events (for instance
2087 window:deactivate) because we may wish to hide
2088 or reject them based on pending events. This is
2089 mostly a workaround for bug #108664.
2090 (registry_queue_event, registry_start_queue): New.
2091 (registry_defer_on_event): Test event to see if it
2093 (registry_reset_on_event): Returns TRUE if the
2094 event should cause a queue reset.
2095 (registry_discard_on_event): Returns TRUE if the event
2096 should cause the previous queue contents to be discarded.
2097 (registry_timeout_flush_queue): Flushes the pending event
2098 queue if no reset/discard-triggering events have come in
2099 within the timeout period.
2100 (registry_emit_event): New.
2101 (registry_clone_notify_context): New, used when queueing the
2102 event notify contexts.
2104 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2106 * configure.in: Version revved to 1.3.2, lt 0.9.2
2107 Incremented ATK required version to 1.3.4.
2109 * cspi/spi_registry.c:
2110 (SPI_generateKeyEvent):
2111 We now pass the keystring along if it's non-null.
2113 * registryd/deviceeventcontroller.c:
2114 (keysym_mod_mask): New method, returns modifier mask
2115 required to generate a keysym from a given keycode.
2116 (dec_synth_keysym): New method.
2117 (dec_synth_keystring): New method.
2118 (dec_get_modifier_state): New method.
2119 (dec_lock_modifiers): New
2120 (dec_unlock_modifiers): New.
2121 (dec_keysym_for_unichar): New, rather brute-force
2122 conversion from UCS-4 to X KeySyms. Only works for
2123 Latin at the moment, with partial implementations for
2124 Greek, Hebrew, and (incomplete) Katakana.
2125 (impl_generate_keyboard_event): Now implement
2126 "KEYSTRING" synthesis and implement "KEYSYM"
2128 (keycode_from_keysym): Improved, passes a returned
2129 modmask value now if the corresponding param is non-NULL.
2131 Fixes bugs #92143 and #109776.
2134 * test/keysynth-test.c:
2135 New test program for key synthesis, to confirm fixes for
2139 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2141 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2143 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2144 Add line for RELATION_POPUP_FOR
2146 * docs/reference/cspi/tmpl/spi_relation.sgml:
2147 Add relation SPI_RELATION_POPUP_FOR
2149 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2150 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2152 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2154 * libspi/relation.c (spi_init_relation_type_table):
2155 Add line for RELATION_POPUP_FOR
2157 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2159 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2160 there are still windows which have not been deleted and emit
2161 window:deactivate, if necessary and window:destroy events.
2162 This fixes bug #114370. The change on June 5th was not correct.
2164 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2166 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2169 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2171 New methods for client exception handling and interception.
2172 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2173 (SPI_exceptionHandlerPop): You guessed it...
2174 (SPI_getSourceType): Return the type of object which offended.
2175 (SPI_getExceptionCode): Return an enum code telling, possibly,
2176 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2177 (SPIAccessibleException_getSource): get the source object for
2178 exceptions that come from Accessibles, if SPIExceptionSourceType is
2179 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2180 (SPIException_getDescription): New, returns a string description of
2181 the problem. [Not yet a stable ABI, strings are not frozen]
2183 * cspi/spi-private.h:
2184 Added implementation details of opaque SPIException
2188 Implementations of above. Also
2189 (_cspi_exception_throw): new private method that
2190 dispatches exceptions to handlers, called from cspi-bonobo.c
2192 * cspi/bonobo/cspi-bonobo.c:
2193 (cspi_check_ev): call _cspi_exception_throw.
2194 Don't print a warning message if the exception has been
2195 handled by _cspi_exception_throw.
2197 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2199 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2200 there are still windows which have not been deleted and emit
2201 window:deactivate, if necessary and window:destroy events.
2202 This fixes bug #114370.
2204 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2207 (cspi_accessible_is_a): Make non-fatal
2208 if the object reference is dead.
2210 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2212 * cspi/spi_main.c: #include <stdio.h>
2213 * test/simple-at.c: ditto
2214 * test/event-listener-test.c: ditto
2215 * test/screen-review-test.c: ditto
2217 2003-05-30 Michael Meeks <michael@ximian.com>
2219 * test/test-simple.c (main): use CORBA_ORB_perform_work
2220 instead of an unnecessary linc_ call.
2222 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2224 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2225 Add SPI_STATE_INDETERMINATE.
2227 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2230 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2232 * libspi/stateset.c (init_state_type_tables): Add support for
2235 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2237 * configure: Update versions of atk and gail required.
2238 This fixes bug #113268.
2240 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2242 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2244 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2246 * libspi/Makefile.am:
2247 Ensure headers are generated before being used by c sources.
2249 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2252 Simplified lt versioning rules.
2253 Incremented version to 1.3.0, to indicate that we're on the
2254 unstable branch now.
2256 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2258 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2259 Add MKDB_OPTIONS=--outtput-format=xml
2261 * docs/reference/cspi/at-spi-cspi-docs.sgml
2262 docs/reference/idl/at-spi-idl-docs.sgml:
2263 Convert to Docbook XML.
2265 This fixes bug #111793.
2267 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2269 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2270 AcccessibleKeyEventType, AccessibleKeyMaskType.
2272 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2274 * cspi/state-types.h: Add documentation for AccessibleState.
2276 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2277 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2278 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2279 AccessibleComponentLayer.
2281 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2284 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2286 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2287 Accessible. Add description of AccessibleEvent,
2288 AccessibleEventListenerCB.
2290 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2293 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2294 documentation. Add description of AccessibleKeystrokeListenerCB,
2295 AccessibleKeyEventMask, AccessibleModifierMaskType,
2296 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2297 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2299 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2302 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2305 This fixes bug #104730.
2307 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2309 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2310 Set is_text field of Accessibility_DeviceEvent data structure.
2312 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2313 is-text field of AccessibleDeviceEvent data structure.
2315 This addresses part of bug #108666.
2317 * registryd/devcieeventcontroller.c: Unset debug option.
2319 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2321 * cspi/accessible.c:
2322 (cpi_initial_relation_type_table): New function which initializes
2323 mapping between Accessibility_RelationType and AccessibleRelationType.
2324 (cspi_relation_type_from_spi_relation_type): New function which
2325 translates an Accessibility_RelationType into an AccessibleRelationType.
2326 (AccessibleRelation_getRelationType): Use
2327 cpi_relation_type_get_spi_relation_type to return correct value.
2328 (spi_state_to_corba): Return correct type for default case.
2330 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2331 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2333 * cspi/cspi-bonobo-listener.c:
2334 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2337 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2338 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2339 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2340 libspi/image.c, libspi/listener.c, libspi/selection.c,
2341 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2342 registryd/desktop.c, registryd/registry.c:
2343 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2345 * libspi/eventlistener.c
2346 Remove semicolon after BONOBO_TYPE_FUNC.
2348 * libspi/relation.c:
2349 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2350 (spi_init_relation_type_table): Initialize using correct type.
2352 * registryd/desktop.c:
2353 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2354 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2355 of Accessibility_KeyEventType.
2357 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2360 * tests/simple-at.c, tests/screen-review-test.c:
2361 Add include for <strings.h>.
2363 * tests.stress-test.c:
2364 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2366 These changes fix compiler warnings when using FORTE compiler on
2367 Solaris; fixes bug #107479.
2370 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2373 * configure.in: revved to 1.1.10
2375 * libspi/keymasks.h:
2376 (SPI_KEYMASK_NUMLOCK): Added.
2378 * registryd/deviceeventcontroller.c:
2379 (spi_key_event_matches_listener): AND with a smaller
2380 bitmask (as we should).
2381 (spi_dec_translate_mask):
2382 New method, sets the virtual NumLock modifier bit
2383 if numlock is on. Eventually it can handle other virtual
2384 modifier bits if needed, or other marshalling from
2385 at-spi modifier masks to platform (X) masks.
2386 (spi_dec_key_listener_new):
2387 Call spi_dec_translate_mask to set up virtual mod bits
2388 in the 'mask' field when creating a new listener struct.
2389 (spi_dec_emit_modifier_event):
2390 Set the virtual (i.e. NumLock) bits before emitting event.
2391 (spi_controller_register_with_devices):
2392 Query for the NumLock modifier 'physical' bit if Xkb is
2393 present, for use in above methods.
2397 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2399 * registryd/deviceeventcontroller.c:
2400 (spi_keystroke_from_x_key_event):
2401 Instead of checking to see if the keysym is
2402 printable, check the string from XLookupString
2403 if available, get the first unicode character from it,
2404 and call g_unichar_isprint to determine whether the
2405 is_text flag should be TRUE or FALSE.
2409 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2411 * atk-bridge/bridge.c: Add support for extended events
2412 * cspi/spi_event.c: Add documentation and implementation for
2414 * tests/event-listener-test.c: Add tests for extended events.
2416 This fixes bugs #100424 and #100426.
2418 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2420 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2421 of LT_CURRENT. This fixes bug #89350.
2423 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2425 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2426 number of signal parameter values before accessing them. This fixes
2429 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2431 * configure.in: Fixed duplicate inclusion of -lspi.
2432 * branched for gnome-2-2/HEAD.
2433 [created tag "gnome-2-2"]
2435 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2437 * configure.in: 1.1.9 release.
2440 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2442 [needed by GOK, to fix bugs 107985 and 107988]
2443 * registryd/deviceeventcontroller.c:
2444 (spi_dec_clear_unlatch_pending):
2445 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2446 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2447 (spi_dec_init_mouse_listener):Emit warning if mouse button
2449 (spi_device_event_controller_forward_mouse_event):
2450 Removed unnecessary parens from a conditional.
2451 (global_filter_fn):Added TODO comment.
2452 (impl_generate_keyboard_event):
2453 Cancel a pending relatch if a 'delatching' key was
2456 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2458 * atk-bridge/bridge.c:
2459 Change atk_signal_child_changed to atk_signal_children_changed.
2460 Reorganize code in spi_atk_bridge_signal_listener().
2462 * test/event-listener-test.c:
2463 Add children_changed_listener and report_children_changed_event()
2464 to test AccessibleChildEvent_getChildAccessible.
2466 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2468 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2469 g_strdup to CORBA_String_dup (bug #105291)
2471 * test/event-listener-test.c (report_text_event): Add call to
2474 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2476 * registryd/deviceeventcontroller.c:
2477 (spi_keystroke_from_x_key_event):
2478 Fix string and keysym return codes to match modifier state.
2481 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2483 * registryd/deviceeventcontroller.c:
2484 (spi_keystroke_from_x_key_event):
2485 Fix segv due to improper use of isprint(c). [bug #107254]
2487 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2490 (get_accessible_text_boundary_type):
2491 Move default return value to (new) default case in switch.
2492 (get_accessible_text_clip_type):
2493 Move default return value to (new) default case in switch.
2495 * libspi/application.c:
2496 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2497 Remove unused methods.
2498 (impl_accessibility_application_register_object_event_listener):
2499 Remove unused methods.
2502 Added #include of <math.h>.
2504 * registryd/deviceeventcontroller.c:
2505 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2506 we don't currently use this method.
2507 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2509 (impl_generate_key_event):
2510 Remove unused variables.
2511 (impl_generate_mouse_event):
2512 Initialize button to zero, just in case we get an invalid
2513 input. Added support for mouse buttons 4 and 5.
2514 (spi_device_event_controller_new):
2515 Removed unused variable declaration for 'private'.
2517 Added #include of <gdk/gdk.h>
2519 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2521 * configure.in: Update to work when X is not installed in expected
2522 location. Fixes bug #105836.
2524 * atk-bridge/bridge.c
2525 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2527 (spi_atk_register_event_listener): Add signal listener for
2529 (spi_atk_bridge_signal_listener): Event event when link-selected
2530 signal is emitted. (bug #104622)
2532 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2533 on returned string. (bug #105291)
2535 * test/event-listener-test.c: Add test for link-selected.
2537 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2539 * atk-bridge/Makefile.am: Correct typo in previous commit.
2541 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2543 * atk-bridge/Makefile.am: Allow for build directory to be different
2544 from source directory
2546 * registryd/Makefile.am: Allow for build directory to be different
2547 from source directory
2551 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2554 Fixed dependencies for libcspi so that libspi gets pulled in
2555 properly. Fixes 104741.
2559 Clean up inline docs a little.
2561 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2563 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2564 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2565 the AtkObject within an SpiDesktop.
2566 This addresses bug #101524.
2568 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2569 Remove call to gdk_init().
2571 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2572 so that Display is set when SpiDesktop is created.
2574 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2576 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2577 This fixes bug #102830.
2579 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2581 * test/test-simple.c: Update to take account of fact that GailButton
2582 now implements AtkText.
2583 (create_text_window): Set name on AtkObject for GtkEntry.
2584 (validate_accessible): Check accessible name before calling test_text().
2586 * libspi/Makefile.am: Fix problem with building outside of source
2587 directory. Bug #98120.
2589 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2590 typo in documentation comments. Bug #94275.
2592 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2594 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2596 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2599 Add includes to avoid compiler warnings on Solaris.
2600 (impl_getRangeExtents): Bug fix.
2602 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2604 Fix for 100944, [API addition approved by Gman and murrayc].
2611 * idl/Accessibility_Text.idl:
2612 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2613 (Text::getRangeExtents): New method for efficient
2614 bounds query of a text range.
2615 (Text::getBoundedRanges): New method for efficient
2616 clipping of text to bounding boxes.
2617 (unImplemented7, unImplemented8):
2618 Removed these padding methods to preserve bincompat.
2621 (impl_getRangeExtents): implementation of new IDL.
2622 (impl_getBoundedRanges): implementation of new IDL.
2623 (SpiTextRect): Internal use struct.
2624 (_spi_text_rect_union): internal method, calculates union of two
2625 SpiTextRect bounding rects.
2626 (_spi_text_range_seq_from_gslist): internal method, allows us
2627 to build our sequence efficiently as a gslist then convert it
2629 (_spi_bounds_contain): internal method, determines whether
2630 a text character is "in" or "out" of a clip rect according to
2631 values of TEXT_CLIP_TYPE.
2632 (spi_text_class_init): Initialize the new methods in the epv.
2635 (AccessibleTextClipType): New enum used by screen review api.
2636 (AccessibleTextRange): New struct used by screen review api.
2637 (AccessibleText_getRangeExtents):
2638 cspi binding for Accessibility_Text_getRangeExtents.
2639 (AccessibleText_getBoundedRanges):
2640 cspi binding for Accessibility_Text_getBoundedRanges.
2641 (AccessibleTextRange_freeRanges): convenience method.
2644 (AccessibleText_getRangeExtents):
2645 cspi binding for Accessibility_Text_getRangeExtents.
2646 (AccessibleText_getBoundedRanges):
2647 cspi binding for Accessibility_Text_getBoundedRanges.
2648 (AccessibleTextRange_freeRanges): convenience method.
2649 (get_accessible_text_clip_type): internal conversion method.
2650 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2652 * registryd/deviceeventcontroller.c:
2653 (spi_dec_mouse_check):
2654 Improved behavior for mouse:abs events
2655 [same granularity as mouse:rel events, and no
2656 events when mouse is idle].
2658 2002-12-16 Michael Meeks <michael@ximian.com>
2660 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2662 * libspi/stateset.c (state_spi_to_atk): split out
2663 ( fix several remote array bounds nasties )
2664 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2665 (impl_remove): make safe from array bounds issues.
2666 (spi_atk_state_from_spi_state): impl.
2668 * libspi/stateset.h (spi_state_set_cache_is_empty):
2669 add a set of wrapper defines to get layering right.
2671 * cspi/spi_accessible.c: update state set stuff to
2674 2002-12-14 Michael Meeks <michael@ximian.com>
2676 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2677 to avoid 2 roundtrips to the registry per key event
2678 (spi_atk_bridge_key_listener): upd.
2679 (deregister_application): release the dec.
2681 * registryd/registry.c (notify_listeners_cb):
2682 bin lots of re-enterant complexity - we no longer
2683 do a round-trip bonobo ref here, ensure that a single
2684 listener's exception failure won't poison all other
2686 (impl_registry_notify_event): bin obvious memory leak.
2688 2002-12-13 Michael Meeks <michael@ximian.com>
2690 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2691 init the ev so the error is meaningful.
2692 (spi_atk_bridge_key_listener): ditto.
2694 * cspi/spi_main.c (cspi_ev): init the ev so we start
2695 with a clean slate, otherwise the first exception
2696 kills us completely.
2698 * cspi/spi_text.c (get_accessible_text_boundary_type):
2699 add a fallthrough for no warnings.
2701 * cspi/spi_registry.c: prune unused warnings.
2703 * cspi/spi_main.c (cspi_object_take): fix
2704 mind-blowing brokenness ( by watching the compile
2707 * cspi/spi_accessible.c (Accessible_getStateSet):
2708 re-impl. to use an AtkStateSet.
2709 (spi_state_type_from_accessible_state),
2710 (init_state_table): bin these.
2712 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2714 (atk_state_set_from_accessibility_state_set): here.
2716 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2717 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2718 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2719 (AccessibleStateSet_add, AccessibleStateSet_remove),
2720 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2721 (AccessibleStateSet_isEmpty): re-write to use a local
2724 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2726 * configure.in: Revved to 1.1.7 (new keymask vals).
2728 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2730 * libspi/keymasks.h:
2731 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2733 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2736 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2737 to compare two CORBA_TypeCodes.
2738 (cspi_internal_event_add): Silence warning from FORTE compiler.
2740 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2741 avoid implicit declaration of functions.
2743 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2745 * atk-bridge/bridge.c:
2746 (spi_atk_bridge_init_event_type_consts): Store signal id for
2747 active-descendant-changed signal.
2748 (spi_atk_register_event_listeners): Add signal listener for
2749 active-descendant-changed signal,
2750 (spi_atk_bridge_signal_listener): Move code in function
2751 spi_atk-signal_emit_event() into this function.
2752 Add support for active-descendant-changed
2753 Update support for child-changed signal.
2754 (spi_bridge_window_event_listener): Silence warning.
2756 * libspi/spi_private.[ch]:
2757 (spi_init_any_object): Change second parameter from CORBA_Object to
2759 Omit call to CORBA_Object_duplicate().
2760 Set CORBA_any's _value to CORBA_Object*.
2762 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2768 (AccessibleEvent_ref, AccessibleEvent_unref):
2769 New methods, for persisting an event outside the emission context.
2770 Must be used if the new accessor methods are to be called
2771 outside of the event listener's callback.
2773 * cspi/bonobo/cspi-bonobo.c:
2774 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2775 as second parameter instead of NULL, so we can call
2776 cspi_check_ev afterwards.
2779 (cspi_object_take): New internal method,
2780 converts a CORBA_Object reference to a hard ref on
2781 an Accessible if possible, returning NULL if the object
2782 reference is invalid or an Accessible * otherwise.
2785 (AccessibleEvent_ref):
2786 Increment the event's internal private refcount, and
2787 add the event's internal struct to an internal cache
2788 if it's not already there.
2789 (AccessibleEvent_unref):
2790 Decrement the event's refcount and remove it from
2791 the cspi event cache if refcount==0.
2792 (cspi_event_compare): New private method.
2793 Compares two event structs via their ids. Used
2795 (cspi_internal_event_lookup): New private method.
2796 (cspi_internal_event_check): New private method,
2797 a 0-order sanity check for events to make sure their
2798 private data is intact.
2799 (cspi_internal_event_add, cspi_internal_event_remove):
2800 New private methods for managiing the event cache.
2802 * cspi/bonobo/cspi-bonobo-listener.c:
2804 Initialize the new private data elements (id, magic, ref_count).
2806 * atk-bridge/bridge.c:
2807 (spi_atk_bridge_signal_listener):
2808 Fixed bug #100530, passing wrong params to emission func.
2810 * registryd/deviceeventcontroller.c:
2811 (spi_dec_button_update_and_emit):
2812 Fixed type in mask bit operations; fix for #99799.
2814 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2816 Removed some of the more dangerous workarounds from
2817 previous commit; they are only needed by GOK, which
2818 in reality should be using another method to accomplish
2819 the goals. So on reconsideration some of the workarounds
2820 need to be reverted:
2822 * registryd/deviceeventcontroller.c:
2823 (spi_keycodes_contain, spi_dec_init_keycode_list):
2824 Removed these methods, used only by a nasty hack to try
2825 and detect whether a key synthesis should be allowed
2826 to reset the XKB latch state or not. This code was only
2827 required to work around an interaction between GOK,
2828 button events, and XKB.
2829 (impl_generate_key_event):
2830 Removed hack at end of key generation that tried to
2831 "do the right thing" if XKB latch keys were generated
2832 in the midst of button press/release pairs.
2835 Added a check for HAVE_XINPUT. Not normally used yet.
2837 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2839 Workarounds and fixes for mouse event/XKB interaction.
2841 * registryd/deviceeventcontroller.c:
2842 (spi_keycodes_contain, spi_dec_init_keycode_list):
2843 New internal methods.
2844 (spi_dec_set_unlatch_pending):
2845 Split the method that tells XKB to expect an
2846 unlatch (and revert it) out of the rest of the
2847 event handling code. This method is called by the
2848 two mouse event handlers (the poll and the filter).
2849 (spi_dec_update_and_emit, spi_dec_mouse_check):
2850 New methods split from spi_dec_poll_mouse_moved.
2851 The second one is now called from inside the filterFn
2852 when an XKB delatch event is received, to determine
2853 whether to revert the delatch or not.
2854 (spi_poll_mouse_moved): Refactor; also we can now
2855 properly handle the case where multiple button states
2856 have changed between polling cycles and we didn't get
2857 notified due to another client's grab.
2859 Synchronize the server while handling an XKB notification.
2860 Ugly, but apparently necessary to avoid nasty races.
2861 Check the mouse state on receipt of an XKB latch change,
2862 to decide whether to revert the latch or not. (Latches are
2863 reverted if there is an immediately preceding mouse button
2864 event that a client has consumed, in which case we don't want
2865 the user to see the side-effect of the event).
2866 (spi_device_event_controller_forward_mouse_event):
2867 Check for modifier events and fire before resetting mouse_mask_state,
2868 prevents losing modifier events.
2870 (impl_generate_keyboard_event):
2871 If we've just generated a keyboard event for a non-shift key,
2872 we don't want to revert the pending XKB latch.
2873 Otherwise, check the modifier state (via a call to
2874 spi_dev_mouse_check) and set the relatch mask to
2875 that state before returning.
2877 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2880 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2883 * atk-bridge/bridge.c:
2884 (spi_atk_register_event_listeners):
2885 Don't re-register for ATK events if the registry has died
2886 and the app needs to re-register; the ATK listeners are in
2887 process and doing so will cause duplicate emission.
2889 * registryd/deviceeventcontroller.c:
2890 (spi_poll_mouse_moved):
2891 Reformat the source, detect and emit multiple button-change
2892 events (i.e. if multiple buttons have changed between poll
2894 Add code to detect mouse-down events even when the pointer
2895 is grabbed; workaround for GOK bug 98420.
2896 (spi_controller_register_with_devices):
2897 Call XTestGrabControl with 'impervious' flag set to True,
2898 allows us to synthesize events and query the pointer even during
2899 an active grab by another client.
2900 (spi_device_event_controller_forward_mouse_event):
2901 Set the mouse_mask_state to the mouse_button_state from
2902 the intercepted event, to synchronize the grab listener with
2905 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2907 * cspi/spi_accessible.c:
2908 (AccessibleRole_getName):
2909 Added necessary strings for making this (deprecated)
2910 method work with the new role types.
2911 (init_role_table, role_table):
2912 Added definition of SPI_ROLE_APPLICATION.
2914 * libspi/spi-roletypes.h:
2915 Added SPI_ROLE_APPLICATION.
2917 * idl/Accessibility_Role.idl:
2918 Added ROLE_APPLICATION.
2920 * docs/reference/cspi/at-spi-cspi-decl.txt:
2921 Added SPI_ROLE_APPLICATION to docs.
2923 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2925 * cspi/spi_accessible.c
2926 (cspi_init_role_table): Do not write beyond end of role_table.
2927 (Accessible_getRole): Use correct type for value returned by
2928 Accessibility_Accessible_getRole().
2930 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2931 beyond end of role_table. (This fixes bug #98269)
2933 * libspi/application.c: Add include file spi-private.h for
2934 definition of spi_init_any_nil.
2936 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2940 * libspi/spi-private.h:
2941 Added DGB() macro, and extern int _dbg declaration.
2943 * registryd/registry.c:
2944 (definitions) storage for _dbg.
2945 (spi_registry_init):
2946 Get environment variable "AT_SPI_DEBUG".
2947 (spi_registry_set_debug):
2948 New method, to initialize _dbg value.
2949 (spi_listener_struct_new, spi_registry_object_finalize):
2950 (notify_listeners_cb):
2951 Changed fprintfs to use DBG and g_warning().
2953 * registryd/deviceeventcontroller.c:
2954 (_deregister_keygrab, spi_controller_register_device_listener):
2955 Changed debug/warning messages to use DBG macro.
2957 * libspi/listener.c:
2958 (impl_notify_event):
2959 Changed warning messages to use DBG macro and g_warning().
2961 * atk-bridge/bridge.c:
2962 (atk_bridge_init, spi_atk_bridge_get_registry):
2963 (spi_atk_bridge_exit_func):
2964 (spi_atk_bridge_property_event_listener):
2965 Changed status, warning, and error messages to use
2966 g_warning, g_message, and DBG macros.
2969 Read the state of the AT_SPI_DEBUG environment variable
2970 and set a local '_dbg' accordingly.
2972 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2974 FIXES for 98836, 98842, other bugs.
2977 Revved to 1.1.4, interface-age=4, binary-age=4.
2979 * registryd/deviceeventcontroller.c:
2981 Fixed crasher bug in last_mouse_pos initialization.
2983 * registryd/registry.c:
2984 (desktop_add_application, desktop_remove_application):
2985 Added (and then commented out) some support for
2986 object context marshalling. [TODO]
2988 * atk-bridge/bridge.c:
2989 (spi_atk_bridge_event_context_create):
2990 Commented out object context creation until it can
2991 be properly tested and debugged.
2993 * registryd/registry.c:
2994 (impl_registry_notify_event):
2995 Fixed crasher bug, we were calling
2996 spi_re_entrant_list_foreach () with an empty list.
2998 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3000 * idl/Accessibility_Action.idl:
3001 * idl/Accessibility_Component.idl:
3002 * idl/Accessibility_Desktop.idl:
3003 * idl/Accessibility_Event.idl:
3004 * idl/Accessibility_Hyperlink.idl:
3005 * idl/Accessibility_Image.idl:
3006 * idl/Accessibility_Relation.idl:
3007 * idl/Accessibility_Selection.idl:
3008 * idl/Accessibility_State.idl:
3009 * idl/Accessibility_Value.idl:
3010 Updated unimplemented slot count to minimum of
3011 four for all interfaces, for ABI freeze.
3013 * idl/Accessibility_EditableText.idl:
3014 * idl/Accessibility_Text.idl:
3015 Updated unimplemented slot count to six
3018 * idl/Accessibility_Registry.idl:
3019 Updated unimplemented slot count to six
3020 (also for DeviceEventController),
3023 * idl/Accessibility_Table.idl:
3024 Updated unimplemented slot count to eight,
3027 * idl/Accessibility_Event.idl:
3028 Added CORBA_any "any_data" member to Event struct.
3030 * idl/Accessibility_Event.idl:
3031 Added CORBA_any "any_data" member to Event struct.
3033 * atk-bridge/bridge.c:
3035 atk_signal_text_changed, atk_signal_child_changed,
3036 signal ids queried from gtype system.
3037 (AtkBridgeEventContextType): New enum.
3038 (AtkBridgeEventContextData): New struct.
3039 (AtkBridgeEventContext): New struct.
3040 (atk_bridge_init_event_type_consts):
3041 New method, initializes type contants for comparison
3042 prior to emit_eventv.
3043 (atk_bridge_event_context_init): New method,
3044 initializes a CORBA_any from an AtkBridgeEventContext.
3045 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3046 initialize the event.any_data struct.
3047 (spi_atk_bridge_event_context_create): New method,
3048 creates an AtkBridgeEventContext from signal/event info.
3049 (spi_atk_bridge_event_context_free): New method.
3050 (spi_atk_emit_eventv): Changed to take an
3051 AtkBridgeEventContext parameter. We now initialize
3052 the event.any_data member prior to notifying the
3053 Registry, via the AtkBridgeEventContext.
3054 (spi_atk_bridge_property_event_listener):
3055 (spi_atk_bridge_state_event_listener):
3056 Match emit_eventv signature.
3057 (spi_atk_bridge_object_event_listener):
3058 Match emit_eventv signature, and create an
3059 event context from the event details.
3060 Free the event context afterwards.
3061 (spi_atk_bridge_window_event_listener):
3062 Create an event context, pass it to the
3066 (AccessibleEvent_getContextString):
3067 (AccessibleEvent_getContextObject):
3068 New methods, allow query of AccessibleEvent objects
3069 for more context details (via the "any_data" member
3070 of the Event struct, above).
3073 Definitions for AccessibleEvent_getContextString
3074 and AccessibleEvent_getContextObject.
3076 * cspi/spi_listener.h:
3077 (InternalEvent): New struct.
3080 (AccessibleEvent_getContextString):
3081 (AccessibleEvent_getContextObject):
3082 Implementations of new methods, for obtaining
3083 additional context information from some event types.
3085 * cspi/spi_registry.c:
3086 (SPI_registerGlobalEventListener):
3087 Added mention of active-descendant-changed event in docs.
3089 * cspi/cspi-bonobo-listener.c:
3091 Marshal the any into the AccessibleEvent via
3094 * libspi/spi-private.h:
3095 #include <orbit/orbit.h>
3097 (spi_init_any_string):
3098 (spi_init_any_object):
3099 New convenience function declarations.
3103 (spi_init_any_string):
3104 (spi_init_any_object):
3105 New convenience function implementations.
3107 * registryd/deviceeventcontroller.c:
3108 (spi_poll_dec_mouse_moved):
3109 (spi_device_event_controller_forward_mous_event):
3110 Initialize any_data member of event.
3111 (spi_deregister_controller_device_listener):
3112 Fix incorrect param pass which was preventing deregistration.
3114 * registryd/registry.c:
3115 (desktop_add_application):
3116 (desktop_remove_application):
3117 Add object data to event's any_data before dispatch.
3119 Fix for error messages from GAIL.
3121 * test/event-listener-test.c:
3122 Test new ContextString and "any_data" API:
3123 (report_text_event): New method query and output context string.
3124 (main): register a new text listener with report_text_event
3127 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3129 Fixes for bugs 98127 and 97914.
3130 * cspi/spi-roletypes.h:
3131 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3133 * cspi/spi-statetypes.h:
3134 Added SPI_STATE_MANAGES_DESCENDANTS
3136 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3137 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3138 * cspi/spi_accessible.c:
3139 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3140 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3141 Accessibility_STATE_MANAGES_DESCENDANTS
3142 * libspi/accessible.c:
3143 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3144 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3145 As requested by Bill, I also cleaned up the alignment.
3146 * libspi/relation.c:
3147 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3148 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3149 * libspi/stateset.c:
3150 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3151 Accessibility_STATE_MANAGES_DESCENDANTS
3152 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3153 Document changes reflecting modifications to roles.
3154 * docs/reference/cspi/tmpl/spi_relation.sgml:
3155 Document changes reflecting modifications to relations.
3156 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3157 Document changes reflecting modifications to states.
3159 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3162 Revved to 1.1.3, interface-age=3, binary-age=3.
3163 Added REBUILD macro.
3166 Removed accessx-gui from the tests, since we have a nice
3167 keyboard accessibility capplet now :-)
3169 * test/keysynth-demo.c:
3170 (increment_scan): removed do-nothing default: case,
3173 * test/visual-bell.c:
3174 (main) : removed do-nothing default: case,
3177 * cspi/spi_action.c:
3178 (AccessibleAction_getKeyBinding_):
3179 Documented keybinding string format.
3183 (AccessibleText_getAttributes):
3184 Documented the text attribute string format.
3185 It's changed to use semicolon delimiters also,
3186 to prevent clashes with CSS attributes, but the old
3187 trick of looking for ", " strings will still work
3188 (as unreliably as ever). Fix for bug related to 97916.
3191 Include <cspi/bonobo/cspi-bonobo-listener.h>
3192 Fixes build warning.
3193 (SPI_freeAccessibleKeySet):
3194 (AccessibleKeystrokeListener_addCallback):
3195 (AccessibleKeystrokeListener_removeCallback):
3196 Modify to use AccessibleDeviceListener API internally,
3197 instead of AccessibleKeystrokeListener.
3199 * idl/Accessibility_Event.idl:
3200 Added two more empty slots to EventListener (for a total of four).
3202 * idl/Accessibility_Accessible.idl:
3203 Added four empty slots to Accessible interface.
3205 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3207 * idl/Accessibility_Registry.idl:
3208 (KeyEventType, EventType):
3209 Marked KeyEventType as deprecated; it duplicates
3210 functionality of EventType, which has been extended to
3211 include Mouse-button events.
3212 (KeyEventTypeSeq): defined in terms of EventType.
3213 (registerDeviceEventListener, deregisterDeviceEventListener):
3214 New methods, for managing listeners to device events,
3215 which potentially may consume them.
3218 Added definition for AccessibleDeviceListener.
3220 * cspi/spi-listener.h:
3221 (enum AccessibleDeviceEventType):
3222 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3223 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3224 for backwards compat.
3225 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3226 and typedef'd AccessibleKeystroke to it for back-compat.
3227 (AccessibleDeviceListenerCB):
3228 New function prototype typedef.
3231 (AccessibleDeviceEventMask): New typedef.
3232 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3233 (AccessibleKeyMaskType):
3234 Set equivalent to AccessibleModifierMaskType for back-compat.
3235 (SPI_createAccessibleKeystrokeListener):
3236 (AccessibleKeystrokeListener_unref):
3237 Deprecated in favor of equivalent (better-named) new API below..
3238 keystroke listeners are like all device listeners.
3239 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3240 New API names for old features :-).
3241 (AccessibleDeviceListener_addCallback):
3242 (AccessibleDeviceListener_removeCallback):
3243 (SPI_registerDeviceEventListener):
3244 (SPI_deregisterDeviceEventListener):
3248 (SPI_createAccessibleKeystrokeListener):
3249 Use new preferred API, cspi_device_listener_new() and
3250 cspi_device_listener_add_cb().
3251 (AccessibleKeystrokeListener_removeCallback):
3252 Use new preferred API, cspi_device_listener_remove_cb().
3253 (AccessibleKeystrokeListener_unref):
3254 Use new preferred API, cspi_device_listener_unref().
3255 (SPI_createAccessibleDeviceListener):
3256 (AccessibleDeviceListener_addCallback):
3257 (AccessibleDeviceListener_removeCallback):
3258 Implementation of new API.
3260 * cspi/spi_registry.c:
3261 (SPI_registerDeviceEventListener):
3262 (SPI_deregisterDeviceEventListener):
3263 Implementation of new API. Fixed memory leak and removed need to
3264 allocate EventTypeSeq (thanks Michael for catching this).
3265 Squashed a wayward CORBA_exception_free that shouldn't get called.
3267 * cspi/bonobo/cspi-bonobo-listener.c:
3269 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3270 (cspi_key_event): renamed to cspi_device_event().
3271 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3272 Extended to handle mouse button events as well as key events.
3273 (CSpiKeystrokeListener):
3274 Class superceded by CSpiDeviceListener.
3275 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3276 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3278 * cspi/bonobo/cspi-bonobo-listener.h:
3279 (CSpiKeystrokeListener):
3280 Class superceded by CSpiDeviceListener.
3281 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3282 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3284 * libspi/Makefile.am:
3285 Replaced keystrokelistener.h and keystrokelistener.c
3286 with devicelistener.h and devicelistener.c; keystrokelisener.h
3287 stub retained for back-compat.
3289 * libspi/keystrokelistener.c:
3293 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3295 * registryd/deviceeventcontroller.c:
3296 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3297 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3298 (DEControllerPrivateData): Added xkb settings data.
3299 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3300 button release events (which can't be captured via XGrabButton).
3301 Don't dispatch via the 'normal' event mechanism if the device event was
3303 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3304 Handle the typeseq data in its new location (see above).
3305 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3306 New methods, for "generic" device listeners.
3307 (spi_controller_register_device_listener):
3308 Now handle mouse event listeners as well as key listeners.
3309 (spi_controller_notify_mouselisteners):
3310 New internal method.
3311 (spi_device_event_controller_forward_mouse_event):
3312 Now we notify mouse device listeners as well as generating the
3313 non-consumable "mouse:" events.
3315 We must check and restore the XKB
3316 modifier map if we consume the event, since the act of triggering
3317 a mouse event will normally reset the XKB latch. This is required for
3319 (spi_controller_register_with_devices):
3320 Load the XKB settings when registering, and register for XKB
3321 state notify events.
3322 (spi_key_eventtype_seq_contains_event):
3323 Renamed spi_eventtype_seq_contains_event, since it's used
3324 internally for all device event types now.
3325 (spi_key_event_matches_listener):
3326 Uses spi_eventtype_seq_contains_event now.
3327 (spi_device_event_controller_object_finalize):
3328 Free the private data and the XkbKeyboard struct.
3329 (impl_register_device_listener, impl_deregister_device_listener):
3330 Implementation of new IDL.
3331 (spi_deregister_controller_device_listener):
3332 New internal method.
3333 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3334 More efficient implementation, we don't have to create a new
3335 XkbControls structure every time we query.
3336 (spi_device_event_controller_class_init):
3337 Initialize the epv entries for the new IDL. Assign the
3338 "spi-dec-private" quark.
3339 (spi_device_event_controller_init):
3340 Initialize the private data.
3341 (spi_device_event_controller_forward_key_event):
3342 Removed a bogus CORBA_exception_free() call.
3344 * registryd/deviceeventcontroller.h:
3345 Replaced inclusion of keystrokelistener.h with
3348 * test/event-listener-test.c:
3349 (report_mouse_event):
3352 Added mouse-event device listener.
3354 * test/test-simple.c:
3355 (create_test_window):
3356 Fixed regression (we were instantiating a GtkRange,
3357 which is now an abstract class). Also fixed to match
3358 existing AtkRole names, this seems to have changed in ATK
3359 awhile ago; too late now I think, and the new
3360 mechanism is at least elegant and consistent with the
3361 glib enum "nick" APIs.
3363 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3365 * idl/Accessibility_Relation.idl:
3366 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3367 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3368 * idl/Accessibility_Role.idl:
3369 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3370 * idl/Accessibility_State.idl:
3371 add STATE_MANAGES_DESCENDANTS
3372 * test/event-listener-test.c:
3373 Added a listener for active-descendant events.
3375 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3377 * atk-bridge/bridge.c
3378 (atk_bridge_init): If application is Bonobo component wait until top
3379 level is added before registering
3380 (spi_atk_bridge_do_registration): New function which contains code,
3381 formerly in atk_bridge_init, to do application registration.
3382 (spi_atk_bridge_toplevel_added): Signal called when top level
3383 added to Bonobo component
3385 This fixes bug #83134.
3387 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3389 * registryd/deviceeventcontroller.c
3390 Fixed compilation error caused by calling gettimeofday()
3393 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3398 Added template for HAVE_XKB.
3401 Changes to check for XKB, and to set the HAVE_XKB #define if it
3404 * libspi/listener.c:
3405 ()impl_notify_event): Make failure to get event source name
3408 * registryd/deviceeventcontroller.c:
3409 (#include): include X11/XKBlib.h.
3410 (DEControllerPrivateData) : New struct.
3411 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3413 (dec_synth_keycode_press) (dec_synth_keycode_release):
3414 New methods; split the key synthesis code into these methods.
3415 They check XKB settings before determining the "time" values to
3416 pass to Xtest; this fixes bug #95828.
3417 (impl_generate_keyboard_event): Changed to use methods above,
3418 instead of callng Xtest directly.
3419 (spi_device_event_controller_init): Initialize new privae struct s
3421 (spi_device_event_controllr_object_finalize):
3422 Free the (new) private data.
3424 * registryd/deviceeventcontroller.h:
3425 Add new gpointer to end of struct data.
3427 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3430 Incremented revision to 1.1.2, SONAME is still '.so', library
3431 extensions are ".so.0.0.2".
3433 * registryd/deviceeventcontroller.c:
3434 FIXES FOR #93592 and #95940.
3435 (statics): renamed mouse_button_state to mouse_mask_state,
3436 added key_modifier_mask.
3437 (spi_dec_poll_mouse_moved):
3438 Added key modifier checks, and emit "keyboard:modifiers"
3439 events when the key modifiers currently in use change.
3440 Also generate "mouse:abs" events periodically, even if the mouse
3441 is stationary (should we?).
3442 Alternatively we could generate "mouse:abs" events for either all
3443 mouse movements, or every 'nth' mouse movement, or at the
3444 beginning and end of every "active" mouse period.
3446 * test/event-listener-test.c:
3447 (main): Added listener for "keyboard:modifiers" events.
3449 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3451 * libspi/keymasks.h:
3452 Added key mask #defines for mouse buttons; e.g.
3453 SPI_KEYMASK_BUTTON1, etc.
3456 Incremented dependency on ATK to version 1.1.0. (This dependency
3457 is probably premature but will soon be real enough).
3459 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3461 * libspi/hyperlink.[ch]
3462 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3463 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3466 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3471 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3473 * registryd/deviceeventcontroller.c
3474 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3475 events to be ignored.
3476 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3477 keyboard_mode so that XAllowEvents() can be called.
3481 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3483 * cspi/spi-accessible.c: Correct names of roles returned by
3484 AccessibleRole_getName(). Fixes bug #95055.
3486 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3488 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3491 * registryd/registry.c
3492 (desktop_remove_application: Write diagnostic message to stderr for
3495 (impl_accessibility_registry_deregister_global_event_listener):
3496 Correct size of lists array. This addresses bug #94555).
3498 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3500 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3503 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3505 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3508 * registryd/registry.c (impl_registry_notify_event): Remove
3509 unnecessary call to parser_event_type().
3511 * docs/reference/cspi/tmpl/spi_component.sgml:
3512 Add reference to SPI_LAYER_WINDOW.
3514 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3516 * registryd/registry.c
3517 (desktop_add_application): Remove leak.
3518 (desktop_remove_application): Remove leak.
3519 (parser_event_type): Remove leak.
3521 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3523 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3524 bogus call to CORBA_string_dup(). Also removed unnecessary
3525 g_string_dup/g_free calls.
3527 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3529 * registryd/deviceeventcontroller.c:
3530 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3532 * test/event-listener-test.c:
3533 main: commented out three redundant listeners, to reduce output
3534 noise. (They still are potentially useful for testing).
3537 2002-09-13 Michael Meeks <michael@ximian.com>
3539 * Update all the copyrights to include Ximian.
3541 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3543 * cspi/spi.h: add SPI_LAYER_WINDOW.
3545 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3546 add Accessibility_LAYER_WINDOW case.
3548 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3550 * libspi/component.c: (impl_accessibility_component_get_layer):
3551 add ATK_LAYER_WINDOW case.
3553 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3555 * configure.in: incremented micro version.
3557 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3559 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3562 Clarified and reworded our commit policy.
3565 Started an API "todo" addition list for 2.2.
3568 (impl_getSelection):
3569 Free char pointer from atk_text_get_selection, which was being leaked.
3571 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3574 Small revision to author acknowledgement.
3576 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3578 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3579 If signal has detail add it to the type of the event.
3582 2002-08-12 Michael Meeks <michael@ximian.com>
3584 * test/test-simple.c (global_listener_cb): bin bogosity.
3585 (test_keylisteners): disable, still doesn't work reliably,
3586 certainly not on my system anyway.
3588 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3589 don't leak a reference on the DEC. This round-trip
3590 fetching of the DEC per keystroke sucks, it should be
3593 * cspi/spi-private.h,
3594 * cspi/cspi-lowlevel.h,
3595 * cspi/bonobo/cspi-bonobo-listener.[ch],
3596 * cspi/bonobo/cspi-bonobo.c: get the copyright
3597 notices better - there is still a large amount of
3598 work in at-spi falsely attributed solely to Sun.
3600 * cspi/spi_main.c (cspi_object_ref): kill bogus
3601 hash lookup, just increment the ref.
3602 (SPI_freeString): make explicit the fact that we
3603 handle NULL strings just fine.
3604 (report_leaked_ref): obey coding standards.
3605 (cspi_object_hash, cspi_object_equal): kill retval.
3606 (cspi_object_release): only release if not on loan.
3607 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3608 (cspi_object_borrow, cspi_object_return): impl.
3610 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3611 use cspi_object_borrow / return.
3613 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3615 * cspi/bonobo/cspi-bonobo-listener.c:
3617 Don't call cspi_oject_new() because this is creating a new Accessible
3618 every single time that an event is fired. This causes ATs like at-poke
3619 to nolonger recognise the source of the event and thus ignore it.
3620 Re-use the object from the cache, ref it and then unref it after the
3621 listeners have been called.
3623 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3625 * test/event-listener-test.c:
3626 Added command-line options to disable mouse events (m) and
3629 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3631 * configure.in: Update required versions of ATK, GTK+ and GAIL
3633 * cspi-1.0.pc.in: Add dependency for X include files
3636 * cspi/bonobo/Makefile.am:
3637 Add $(X_CFLAGS) so that X include files
3638 are picked up even if not in standard place (bug #71686)
3640 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3642 * registryd/deviceeventcontroller.c: fix for 84261
3643 (spi_dec_mouse_moved):
3644 Added test of mouse button mask, so that we can detect mouse
3645 button release. Unfortunately we can't otherwise detect mouse
3646 button release events without consuming the mouse press event,
3647 because of the way XGrabButton works. This means that our mouse
3648 release events have a latency dependent on the polling period
3649 while the mouse button is down. At least in this case we only
3650 have to poll while the button is down, and not at other times.
3651 If the button masks don't match with what the last press event
3652 reported, we report the appropriate button release event.
3653 (spi_dec_ungrab_mouse):
3654 New method (not yet called).
3655 (spi_device_event_controller_forward_mouse_event):
3656 New method, sends mouse press event from GdkFilter.
3657 (spi_dec_init_mouse_listener):
3658 Added code to call XGrabButton, redirecting mouse button events to
3659 the root window and our Gdk event loop.
3661 Added code to filter mouse button events, and reordered.
3663 * test/event-listener-test.c:
3665 Added registration for mouse events of type "mouse:button".
3667 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3669 * registryd/deviceeventcontroller.c: partial fix for 84261
3670 (spi_dec_poll_mouse_idle):
3671 New method, a timeout which checks to see if the mouse
3673 (spi_dec_poll_mouse_moving):
3674 A timeout to be called when mouse motion is underway.
3675 (spi_dec_poll_mouse_moved):
3676 A method which fires an event if the mouse has moved, and reports
3677 whether or not it did so.
3678 (spi_dec_init_mouse_listener):
3679 A method which sets up the timeouts above.
3680 (spi_device_event_controller_new):
3681 Now calls spi_dec_init_mouse_listener.
3683 * registryd/registry.c:
3684 (spi_registry_init):
3685 Now we initialize the device event controller when the registry is
3686 initialized, instead of waiting until a client has requested a key
3687 event notification; this is because we need the event controller
3688 for mouse events, but the mouse event registration API is a
3689 "registry" call and doesn't explicitly call the
3690 deviceeventcontroller.
3691 We now report mouse motion events with a 100 ms idle latency and
3692 a 20 ms granularity when motion is in progress.
3694 * test/event-listener-test.c:
3696 We now register the "detail listener" for events of type
3697 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3698 delivered only for the first mouse event received, and thereafter
3699 "mouse:abs" events are delivered.)
3701 * cspi/spi_registry.c:
3702 DOCS: Documented the above mouse event typestrings.
3704 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3706 Happy Summer Solstice...
3708 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3709 (spi_controller_notify_keylisteners):
3710 Changes to remove a listener from the listener list, freeing its
3711 open keygrabs, if a notification to that listener fails. This
3712 means that although a dead listener can continue to hold a passive
3713 keygrab, a maximum of one dispatch to such a listener can fail
3714 before the listener is removed from the list, thus the keygrab
3715 will be released on the next occurrence.
3716 As part of this fix:
3717 (spi_notify_keylisteners):
3718 Renamed to spi_controller_notify_keylisteners, as the controller
3719 instance must now be passed as an argument.
3720 The copied 'notify' GList is now a list of DEControllerKeyListener
3721 objects, since we need more than just the CORBA reference if a
3722 notify fails and we need to deregister the listener.
3723 (impl_notify_listeners_sync):
3724 (impl_notify_listeners_async):
3725 (spi_device_event_controller_forward_key_event):
3726 Modify use of notify_keylisteners in accordance with above
3728 (spi_deregister_controller_key_listener):
3729 New method introduced by refactoring, from
3730 impl_deregister_keystroke_listener.
3731 (impl_deregister_keystroke_listener):
3732 Call spi_deregister_controller_key_listener.
3733 (spi_key_listener_clone):
3734 New method to copy a key listner without doing a 'ref' on the
3735 remote object instance; used to create a notifier list.
3736 (spi_key_listener_data_free):
3737 New method, frees data without unreffing the source.
3739 (spi_key_listener_clone_free): new method.
3740 (spi_key_listener_free):
3741 refactored to call spi_key_listener_data_free.
3743 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3745 * registryd/registry.c: [fix for bug 86048]
3746 (notify_listeners_cb):
3747 Clear CORBA system exceptions which occur when notifying
3748 listeners, before returning to the source of the original event,
3749 since the event source doesn't care if the relayed notify failed.
3750 In other words, don't complain to the atk-bridge if the registry
3751 could not notify all its listeners, that's no fault of the
3752 application and thus should not appear to be an error from the
3753 application's perspective.
3755 * cspi/spi_main.c: [fix for bug 85980]
3757 Replaced use of bonobo_object_dup_ref with call to the wrapper
3758 method, csou_dup_ref (); this silences a compiler warning and
3759 provided more portability.
3761 Ping the registry before return, and restart if necessary.
3763 * cspi/bonobo/cspi-bonobo.c:
3765 New internal method.
3767 Fixed this method to return an object reference, as it should have
3770 * cspi/cspi-lowlevel.h:
3771 Added internal definition for cspi_ping() and fixed
3772 return type of cspi_dup_ref().
3775 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3777 * atk-bridge/bridge.c: [fix for bug 85305]
3778 (spi_atk_bridge_register_application):
3779 New method where the initial application registry calls have been
3780 moved; it allows an application to re-register in response to
3781 certain error conditions (such as a registry restart, see below).
3783 Moved some initialization code to the method
3784 spi_atk_bridge_get_registry, below.
3785 (spi_atk_bridge_get_registry):
3786 New, private accessor function for the Accessibility_Registry
3787 instance. If the registry has not been started before, or has
3788 died (as detected by failure of a CORBA exception), it is
3789 restarted before return, and spi_atk_bridge_register_application
3790 is called again to register with the new bridge instance.
3791 (spi_atk_emit_eventv):
3792 Set registry_died on error; use spi_atk_bridge_get_registry () to
3793 access the registry.
3795 * registryd/registry.c:
3796 (impl_accessibility_registry_register_global_event_listener):
3797 Set listener's event_type_quark to etype.minor instead of
3798 etype.major (fix for bug 84856).
3800 * test/event-listener-test.c:
3801 (report_detail_event):
3802 Change the output string so that user/tester can tell that the
3803 'detail listener' was called instead of the 'generic listener'.
3805 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3807 Fixes for bugs 84900, 84908, 84897, 84898.
3812 Revved version to 1.1.0
3813 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3814 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3816 * idl/Accessibility_Registry.idl:
3817 (EventListener::notifyEvent):
3818 Removed 'oneway' directive after extensive consulation with
3819 ORBit2 team and others. This means also that unref() of the event
3820 source can and should be done synchronously after emission, rather
3821 than remotely in the client, after servicing the notify call on
3824 NOTE: This change speeds up listener performance considerably, but
3825 introduces new latency on the application side. We may want to
3826 add an event queue to the atk-bridge.
3828 * atk-bridge/bridge.c:
3829 (spi_atk_bridge_focus_tracker):
3830 Do a local unref() on the event source after emission.
3832 * registryd/registry.c:
3833 (desktop_remove_application):
3834 Do an unref() on the event source after emission.
3835 (desktop_add_application):
3836 Do an unref() on the event source after emission.
3837 (notify_listeners_cb):
3838 When relaying an event, don't automatically add the event source
3839 to the local object cache, just CORBA_dup it instead. Likewise,
3840 if this method reenters, release the ref rather than calling
3842 (impl_registry_notify_event):
3843 No longer call remote unref() on the event source after dispatch.
3845 * libspi/eventlistener.c:
3846 (impl_accessible_event_notify_event):
3847 Removed remote unref ()
3849 * cspi/bonobo/cspi-bonobo-listener.c:
3851 We now call cspi_object_new() instead of cspi_object_add() on
3852 receipt of an event; thus we only have an implicit object ref
3853 while the cspi_event method is being executed. If we need to keep
3854 a reference to the object, the listener must call ref() on the
3855 object. Thus also we don't need to call cspi_object_unref() after
3856 invoking the listener callbacks in this method.
3860 New internal API for creating a new cspi object, without adding it
3861 to the object cache.
3863 Now uses cspi_object_new() to create the cspi object instance.
3865 Now checks to see if the object is in the internal object cache,
3866 and adds it if necessary before incrementing its refcount (note
3867 that new objects are added with a refcount of 1).
3868 (report_leaked_ref):
3869 New method which gives some information on leaked object instances
3870 if leak detection is turned on.
3872 * test/event-listener-test.c:
3873 (timing_test_event):
3874 New method, used for testing event delivery timing for special
3875 events of type "object:test". It reports elapsed time and
3876 events/sec every 500 events.
3878 Added a new listener, 'test listener', to check timing of event
3879 receipt as noted above.
3881 Added some timing output here also, reports elapsed time every 100
3884 * test/stress-test.c:
3885 Emit events of type "object:test", for use with "event-listener-test".
3887 * test/test-simple.c:
3888 (global_listener_cb):
3889 Call Accessible_ref() on the event source before calling
3890 validate_accessible, since the validation process does pointer
3891 comparisons on the event source, meaning that the event source
3892 needs to be added to the local object cache first. Any use of
3893 such pointer comparisons between Accessible objects requires that
3894 the caller hold an explicit reference to those objects.
3895 We also must therefore call Accessible_unref() when leaving this method.
3897 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3899 * registryd/deviceeventcontroller.c:
3900 (spi_controller_update_key_grabs):
3901 Fix for #84735, subsequent keygrab listeners not informed of
3902 registration failure.
3905 (spi_base_construct):
3906 Add an assertion on construct, to make sure the GObject passed in
3907 is really a GObject.
3909 Explicitly initialize object->gobj pointer to NULL;
3911 * cspi/bonobo/cspi-bonobo-listener.c:
3912 (cspi_object_add_ref):
3913 New method, can specify whether to dup-ref a bonobo object passed
3914 in if it's newly added to the object cache.
3916 Now calls cspi_object_add_ref with second param of "FALSE". This
3917 prevents us from doing a pointless dup-ref followed by
3918 release-unref for all those cases where the object is already in
3919 our object cache (fix for #85205).
3921 * atk-bridge/bridge.c:
3922 (spi_atk_bridge_idle_init):
3923 Removed this method, we don't need to initialize in an idle
3926 Changed to call spi_atk_register_event_listeners directly, not via an
3927 idle handler. (fix for #81139)
3928 (gnome_accessibility_module_shutdown):
3929 Removed conditional around deregistration of listeners, since we
3930 don't use the idle handler and thus have always registered when
3932 (spi_init_keystroke_from_atk_key_event):
3933 Changed references to Accessibility_KEY_PRESSED to
3934 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3936 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3938 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3943 * test/stress-test.c:
3946 (may have been an incomplete commit yesterday?)
3948 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3951 Added target for new stress-test.
3953 * test/stress-test.c:
3954 New test, sends 1000 focus notifies in quick succession.
3956 * test/key-listener-test.c:
3957 Now we report whether a keylistener registration
3958 request succeeded or failed.
3960 * test/event-listener-test.c:
3961 Uncommented some listeners which are now implemented.
3964 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3966 * registryd/deviceeventcontroller.c:
3967 (spi_controller_update_key_grabs):
3968 Fix for #82509, lack of failure notification when
3969 ALL_WINDOWS keygrabs fail due to XGrabKey
3970 failure: we synchronize the server when
3971 registering a passive grab, to make sure we get the
3972 error message before the call returns.
3974 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3976 * test/test-simple.c:
3978 Removed #ifdef KEY_IMPL_WORKS guards.
3979 (test_keylisteners):
3980 Removed #ifdef KEY_IMPL_WORKS guards.
3981 Fixed bug which was causing a hang waiting for a
3982 "press" event (which was already overwritten by a "release"
3983 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3985 Added code to set globals 'key_press_received' and
3986 'key_release_received'.
3989 Added section "1.1 API Proposed Additions" which
3990 lists API additions desired for at-spi-1.1 (only one so far).
3991 Updated TODO list a little.
3993 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3995 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3998 * configure.in: Revved to 1.0.0.
4000 * idl/Accessibility_Registry.idl:
4001 (registerKeystrokeListener):
4002 Added boolean return value.
4004 * registryd/registry.c:
4005 (notify_listeners_cb): Minor fix to debug output.
4007 * registryd/Accessibility_Registry.server.in.in:
4008 Revved version number in OAFIID to 1.0.
4010 * registryd/registryd.c:
4012 Use new OAFIID version.
4014 * cspi/bonobo/cspi-bonobo.c:
4016 Use new OAFIID version.
4022 * atk-bridge/bridge.c:
4024 Use new OAFIID version.
4026 * registryd/deviceeventcontroller.c:
4027 (impl_register_keystroke_listener):
4028 Added CORBA_boolean return value.
4029 (spi_controller_register_device_listener):
4030 Added gboolean return value.
4031 (spi_controller_register_global_keygrabs):
4032 Added gboolean return value.
4033 (spi_key_set_contains_key):
4034 Added implementation for many more control keys,
4035 for instance F1-F12, arrow keys, End, Home, Page_Up,
4037 [TODO: some still not implemented].
4039 * text/screen-review-test.c:
4040 (text_chunk_pad_string):
4041 New function: it provides mapping between coordinate
4042 positions of text chunks and character positions in the
4043 screen-review-line output string.
4044 (text_chunk_to_string):
4045 New function, calls text_chunk_pad_string with various
4046 pad/delimiter characters. Pushbuttons are delimited with
4047 square brackets, Frames with vertical 'pipe' lines, and
4048 other text with double quotes.
4049 (text_chunk_list_to_string):
4050 Calls new function text_chunk_to_string.
4051 (toplevel_composite):
4052 New function to composite layers CANVAS through
4053 POPUP in each toplevel (other layers are composited
4054 across toplevels, i.e. BACKGROUND and OVERLAY).
4055 (review_buffer_composite):
4056 Revise to use new methods.
4062 2002-05-31 Laszlo Peter <laca@sun.com>
4064 * configure.in: add the Xtst libdir to the runpath on Solaris,
4065 since it's not in the default library search path.
4067 2002-05-29 jacob berkman <jacob@ximian.com>
4069 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4071 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4073 * test/screen-review-test.c:
4074 (text_chunk_pad_string):
4075 Added method, which pads the string according to the
4076 text bounds of the chunk. It also takes a 3-character
4077 string as a param which indicates the characters to be
4078 used for start, padding, and end delimitation of the chunk.
4079 (text_chunk_to_string):
4080 Changed to use text_chunk_pad_string.
4082 * configure.in: Fixed bug in AC_OUTPUT that was
4083 causing path substitution in Accessibility_Registry.server
4086 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4088 * text/screen-review-test.c:
4089 (guess_string_clip):
4090 New method which attempts a best-guess at clipping
4091 text from components (like Java labels) which don't
4092 actually implement AccessibleText. This inaccurate
4093 clip is based on the assumption that the label is
4094 justified left-and-right, and monospaced.
4095 (text_chunk_get_clipped_string):
4096 We now call guess_string_clip() for text-containing
4097 components that don't implement AccessibleText.
4099 * test/screen-review-test.c:
4100 (review_buffer_get_text_chunk):
4101 We now pull "name" from labels if they do not implement
4102 AccessibleText (i.e. for Java labels).
4103 (get_screen_review_line_at):
4104 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4107 Replaceded AC_OUTPUT target
4108 registryd/Accessibility_Registry.server with
4109 registryd/Accessibility_Registry.server.in.
4111 * registryd/Accessibility_Registry.server.in:
4112 Removed (this is now a Makefile target).
4114 * registryd/Accessibility_Registry.server.in.in:
4115 Added (source for target above). We now use $(libexecdir) as
4116 prefix for the executable at-spi-registryd.
4118 * registry/Makefile.am:
4119 Now install at-spi-registryd into $(libexecdir), and build .server
4120 file with path (see above).
4122 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4124 * test/screen-review-test.c:
4125 (text_chunk_get_clipped_string):
4126 We now check to see if words fall within clip bounds
4127 before resorting to character-by-character clip bounds testing.
4129 * TODO: Added a section for "2.2 Proposed API Additions".
4131 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4133 * test/screen-review-test.c:
4135 Added a screen review benchmarking and test program to test
4138 * cspi/spi_accessible.c:
4140 Made some of the debug strings passed to cspi_check_ev a
4141 little more specific.
4143 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4145 * test/screen-review-test.c: Fix crashes in debug statements
4147 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4149 * test/screen-review-test.c: Added this file.
4151 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4153 * atk-bridge/bridge.c: changed "object:state-change" to
4154 "object:state-changed" to match docs.
4156 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4158 * atk-bridge/bridge.c: Hooked up state-change event details.
4160 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4162 * registryd/registry.c:
4163 Fixed quarking bug in event string parsing; now events with
4164 detail parameters get matched correctly to listeners.
4167 * util/idl/Magnifier.idl: remove.
4169 * util/*.[ch]: Remove.
4170 Magnification utilities and IDL are now in module gnome-mag.
4172 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4174 * registryd/deviceeventcontroller.c:
4175 Fixed bug in grab key conversion which was causing keycode grabs
4176 to be converted to AnyKey grabs.
4179 updated NEWS file to reflect recent spin-off of gnome-mag.
4181 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4183 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4184 busted AccessibleStateSet_compare. Removed redundant casts.
4186 * cspi/spi-action.c: Removed redundant casts.
4188 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4190 * cspi/spi_component.c: Fixed typos and casting error.
4192 * cspi/spi_editabletext.c: Removed redundant casts.
4194 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4196 * cspi/spi_hypertext.c: Eliminated redundant casts.
4198 * cspi/spi_image.c: Eliminated redundant casts.
4200 * cspi/spi_registry.c: Eliminated redundant casts.
4201 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4202 * cspi/spi_selection.c: Removed redundant casts.
4203 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4204 handling. Screen geometry and text offsets were being returned as 0
4205 on error which is technically valid-- changed these to return -1.
4206 Added marshaller for text boundary types to fix bug with boundary
4207 types being passed incorrectly to atk.
4209 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4212 * cspi/spi_registry.c:
4213 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4214 which was uncovered by the recent key changes.
4216 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4218 * test/event-listener-test.c:
4220 Added new test, "event-listener-test";
4221 this code does two things; it benchmarks traversal time
4222 for the accessible hierarchy for the first running accessible
4223 app, and it connects listeners for all supported event types.
4224 It is thus useful as an example event listener and for
4225 diagnostics/debugging of event generation.
4227 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4230 Removed unnecessary dependency on libutil.
4233 Revved micro version: 0.13.1
4235 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4238 Removed util/Makefile from targets.
4241 Removed util subdir from SUBDIRS (temporarily,
4242 pending removal of magnifier-only code
4246 #ifdef-ed out magnifier dependencies, since
4247 magnifier IDL, headers, and binary now live in
4248 module gnome-mag and we don't want at-spi to depend
4249 on gnome-mag. A magnifier demo which can run alongside
4250 simple-at is forthcoming in the gnome-mag module.
4252 NOTE: Split magnifier binary, IDL, and magnification
4253 activation code from at-spi into module gnome-mag.
4255 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4257 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4258 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4260 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4263 Revved to version 0.13.0
4265 * idl/Accessibility_Registry.idl:
4266 Changed definition of KeySet from sequence of longs to sequence of
4267 KeyDefinitions, and added KeyDefinition struct.
4268 Required for fix to bug 80616.
4270 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4271 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4272 to use new definition (see above).
4274 * registryd/deviceeventcontroller.c: handle_keygrab(),
4275 spi_keyset_contains_key():
4276 Changed to make use of new struct; this allows matching based on
4277 string key-name, for instance "Tab". This also allows matching of
4278 composed characters, non-alphanumeric characters in a way that
4279 doesn't involve dependencies on X keysym codes directly, etc.
4281 * test/key-listener-test.c:
4282 Added test for Alt-Tab key using "string" specification of keyset,
4283 and modified one of the tests to use a keycode-based keyset.
4284 Thus this test both tests and demonstrates the creation and use of
4285 keysets of three forms: specified via keycode array,
4286 keysym array, and string array. (The string case only contains a
4287 single string, i.e. a string array of length 1).
4290 Turned on PRINT_TREE option by default. Also fixed a
4291 string-freeing bug in the PRINT_TREE code.
4292 Added a listener to window:minimize events.
4294 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4296 * atk-bridge/bridge.c:
4297 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4298 for window:activate and window:deactiveate
4299 (atk_bridge_property_event_listener atk_bridge_signal_listener
4300 atk_bridge_window_event_listener) Tidy debug code
4302 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4304 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4305 Fixed handling for NULL return value from ATK.
4307 * libspi/action.c libspi/component.c libspi/editabletext.
4308 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4309 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4310 Removed redundant casts.
4312 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4313 Fixed off by one bug.
4315 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4316 function not present in idl)
4318 2002-05-02 jacob berkman <jacob@ximian.com>
4320 * atk-bridge/Makefile.am: make atk-bridge a real module
4322 2002-04-26 Radek Doulik <rodo@ximian.com>
4324 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4325 atk_state_types table
4327 2002-04-22 jacob berkman <jacob@ximian.com>
4330 * libspi/Makefile.am: add deps on the built files to help
4331 automake, and don't version the ORBit typelib
4333 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4335 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4336 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4337 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4338 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4339 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4340 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4341 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4342 libspi/accessible.h libspi/accessible.h libspi/base.h
4343 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4344 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4345 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4346 libspi/spi-private.h libspi/statetset.h libspi/table.h
4347 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4348 util/mag_client.h util/mag_control.c util/mag_image.c
4349 util/mag_image.h util/magnifier.c util/magnifier.h:
4350 Add missing file headers; standardize existing ones
4352 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4354 * atk-bridge/bridge.c: Added window event support.
4356 2002-04-18 Michael Meeks <michael@ximian.com>
4358 * libspi/relation.c (impl_getNTargets): impl.
4359 (impl_getTarget): impl.
4361 * libspi/Makefile.am: fix stateset install.
4363 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4366 Started putting useful info in this file.
4368 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4370 * atk-bridge/bridge.c:
4371 Propagate state-changed notifications to ATs
4373 * cspi/spi_registry.c: update docs to reflect actual behavior of
4374 state-change events.
4376 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4379 Incremented version to 0.12.1
4381 * util/mag_client.h:
4382 Add missing declaration for magnifier_exit,
4383 used by mag_control.c - Forte compiler didn't like
4384 the implicit redeclaration of the function :-(
4387 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4390 Revved version to 0.12 due to API change (see below).
4392 * cspi/spi-roletypes.h:
4393 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4394 definition from the inline docs, and added docs
4395 for SPI_ROLE_LAST_DEFINED.
4398 * cspi/spi_streamablecontent.c:
4399 Added missing seek_type parameter to
4400 (so far unused) method,
4401 AccessibleStreamableContent_seek().
4402 [ RT approval JodyG. ]
4405 Fixed docs for SPI_createAccessibleKeystrokeListener.
4407 * cspi/spi_registry.c:
4408 Fixed docs for SPI_KEYSET_ALL_KEYS.
4410 * docs/reference/cspi/at-spi-cspi-sections.txt:
4411 Added a number of missing APIs to SECTIONS.
4413 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4415 * registryd/Makefile.am:
4417 * cspi/bonobo/Makefile.am:
4418 Add $(X_LIBS) to makefiles.
4420 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4423 Revved version to 0.11.
4425 * libspi/component.c:
4426 Added implementation for grabFocus.
4428 * idl/Accessibility_Component.idl
4429 (Accessibility_Component_grabFocus):
4430 Made this method return boolean to indicate success or failure, to
4431 be consistent with cspi and the corresponding ATK method.
4433 * idl/Accessibility_Selection.idl
4434 (Accessibility_Selection_selectAll) :
4435 Made these methods return boolean to indicate success or
4436 failure, to be consistent with cspi and the corresponding ATK methods.
4438 * idl/Accessibility_EditableText.idl
4439 (Accessibility_EditableText_setTextContents,
4440 Accessibility_EditableText_insertText,
4441 Accessibility_EditableText_cutText,
4442 Accessibility_EditableText_deleteText,
4443 Accessibility_EditableText_pasteText):
4444 Made these methods return boolean to indicate
4447 * cspi/spi_editabletext.c:
4448 Made these methods return booleans.
4450 * libspi/selection.c:
4451 * libspi/component.c:
4452 * libspi/editabletext.c:
4453 Connected the boolean returns from ATK
4454 to the server-side code referenced above.
4456 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4458 * idl/Accessibility_Table.idl: Added missing methods,
4459 Accessibility_Table_addRowSelection,
4460 Accessibility_Table_addColumnSelection,
4461 Accessibility_Table_removeRowSelection,
4462 Accessibility_Table_removeColumnSelection.
4465 Added C wrappers for above IDL:
4466 AccessibleTable_addRowSelection,
4467 AccessibleTable_addColumnSelection,
4468 AccessibleTable_removeRowSelection,
4469 AccessibleTable_removeColumnSelection.
4472 Added server-side implementation code for IDL above, connecting
4473 to pre-existing ATK api.
4475 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4477 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4479 * libspi/accessible.c: Added implementation fo
4480 Accessibility_Accessible_get_state.
4482 * libspi/libspi.h: Added stateset.h to the list of includes.
4484 * libspi/stateset.c: Fixed broken implementation.
4486 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4489 Added implementation code for Accessibility_Magnifier_exit ().
4491 * util/mag_control.c:
4492 Added test code for above method; you can
4493 now kill an existing magnifier via
4494 ./mag_control q, from the util directory.
4496 * test/key-listener-test.c:
4498 Added a new test, for our key listener API.
4500 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4502 * test/app.c, test/keysynth-demo.c:
4504 Replace use of snprintf with g_snprintf.
4505 (fix for bugzilla 78249)
4507 2002-03-27 Michael Meeks <michael@ximian.com>
4511 * util/Makefile.am (INCLUDES): fix.
4512 (DONT_DIST_SOURCE): don't distribute the
4515 * libspi/Makefile.am (dist-hook): ditto.
4517 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4519 * libspi/hypertext.c:
4520 Fix warnings when yelp is used with atk-bridge
4522 2002-03-21 Michael Meeks <michael@ximian.com>
4524 * libspi/application.c (spi_application_new):
4525 use spi_accessible_construct so we use the AtkObject
4528 2002-03-19 Michael Meeks <michael@ximian.com>
4530 * registryd/registry.c (desktop_remove_application),
4531 (desktop_add_application): clean coding style.
4533 * registryd/desktop.c (spi_desktop_remove_application),
4534 (spi_desktop_add_application): kill re-enterency hazards.
4535 (spi_desktop_dispose): remove bogus redundant cast
4536 obscuring bug; fix bug too.
4537 (spi_desktop_init): make the desktop object immortal.
4539 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4542 Added a #define-guarded tree-traversal step
4543 when enumerating the apps (diagnostic tool).
4545 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4547 * idl/Accessibility_Role.idl:
4548 Added ROLE_DRAWING_AREA which seemed to be missing from the
4551 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4553 * cspi/spi-roletypes.h cspi/spi_accessible.c
4554 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4557 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4558 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4559 AT when applications are added and removed from the desktop. This
4560 reverts the previous broken implementation using the backing
4561 AtkObject for the SpiDesktop.
4563 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4565 * registryd/desktop.c: emit the "children-changed::add" and
4566 "children-changed::remove" signals on the backing ATK object for
4567 the desktop so AT can tell when applications are started and shut
4570 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4572 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4574 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4576 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4578 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4580 * cspi/state-types.h: synched with IDL and ATK
4582 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4584 * libspi/accessible.c
4585 (impl_accessibility_accessible_get_child_at_index):
4586 Change return value for g_return_if_fail ()
4587 to CORBA_OBJECT_NIL instead of "0" (!)
4589 * registryd/Makefile.am:
4590 * registryd/Accessibility_Register.server.in:
4591 Changed name of executable, "registryd",
4592 to something more informative:
4595 2002-03-13 Michael Meeks <michael@ximian.com>
4597 * atk-bridge/bridge.c (atk_bridge_init): don't register
4598 if we're in a bonobo-component, rather than a bonobo app.
4600 2002-03-13 Michael Meeks <michael@ximian.com>
4602 * atk-bridge/bridge.c (gtk_module_init): split
4603 out body to (atk_bridge_init): here, since otherwise
4604 we get symbol conflicts and oddness when invoked
4605 from (gnome_accessibility_module_init): here (upd.)
4607 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4610 New file. Explicitly allow "build sheriff" putbacks provided
4611 they are tested on Solaris.
4613 * docs/reference/cspi/Makefile.am:
4614 Added '-' to the "cp" command for index.sgml.
4615 ("patch by thomasvs, soon coming to a GUADEC near you")
4618 Incremented version number (0.9.0) for new release.
4619 Changed macro that checks for popt, to better detect
4620 obsolete versions of popt.
4623 Added X_LIBS to AC_SUBST, for applications
4624 that call Xlib API directly.
4627 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4630 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4633 Fix regression caused by hard-coding major
4634 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4637 * test/test-simple.c (test_editable_text),
4638 (test_test): revert previous change (error was
4639 a regression in gail which is now fixed).
4641 2002-03-04 Michael Meeks <michael@ximian.com>
4643 * test/test-simple.c (test_editable_text),
4644 (test_text): pass G_MAXINT instead of '-1' for
4645 whole string - is this a good thing !?
4647 * cspi/spi_accessible.c
4648 (Accessible_getRelationSet): fix crasher bug
4649 overwriting the end of the array.
4651 * test/test-simple.c (validate_accessible): free,
4652 not g_free returned relation set.
4654 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4656 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4657 implemented stateset support
4659 * idl/Accessibility_State.idl: Made necessary changes to
4660 the IDL to support state sets.
4662 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4664 * registryd/deviceeventcontroller.c:
4665 Added implementation for generateMouseEvent.
4667 * cspi/spi_registry.c:
4668 Connected new implementation for generateMouseEvent
4671 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4674 Incremented revision (but no change in public API
4675 outside of 'utils', which are not installed public yet.)
4677 * libspi/component.c:
4678 Changed to use atk_component API for layers and
4679 mdi_zorder, instead of deprecated atk_object API.
4681 Magnification Utility Enhancements:
4684 Added implementation of createZoomRegion, clearAllZoomRegions,
4685 resizeZoomRegion. Added new commandline argument
4686 "--no-initial-region". Note that clearAllZoomRegions doesn't
4687 unmap the old '0' region as it should (yet), and the other
4688 methods only work when creating/resizing a single region,
4689 which is "region 0".
4690 (Code for multiple region support will be added later.)
4693 Now we raise the magnifier window each time it's refreshed;
4694 this will help keep it on top.
4696 * util/mag_client.h:
4697 Added simple wrappers for above, used by mag_control.
4698 For general use, it's recommended to use the bonobo magnifier
4699 control API directly instead of using these wrappers.
4702 Moved ZoomRegionData from magnifier.c to this file.
4704 * util/mag_control.c:
4705 Added some code to exercise new IDL implementations.
4707 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4709 * libspi/text.c: Provide implementation for getAttributes.
4711 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4714 Incremented revision.
4716 * test/test-simple.c:
4717 Replaced use of deprecated g_main_iteration with
4718 g_main_context_iteration.
4720 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4723 Incremented revision for desktop alpha 2.
4725 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4727 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4730 * test/simple-at.c: include netinet/in.h.
4732 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4734 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4735 use NULL, not CORBA_OBJECT_NIL.
4737 * libspi/accessible.c:
4738 (impl_accessibility_accessible_get_relation_set):
4739 allocate the sequence correctly.
4741 * libspi/remoteobject.h: kill spi_remote_object_new.
4743 * test/test-simple.c: (validate_accessible): add code
4744 to test relation sets, now all we need is to figure
4745 out how to excercise this code path :/
4747 2002-01-18 Michael Meeks <michael@ximian.com>
4749 * test/test-simple.c
4750 (key_listener_cb): consume the key.
4751 (test_keylisteners): update.
4752 (main): wait for any pending unrefs on events.
4754 * registryd/deviceeventcontroller.c
4755 (spi_controller_update_key_grabs): only re-issue the
4756 grab on a key release.
4757 (spi_device_event_controller_forward_key_event):
4758 refresh the keygrabs before we notify the listeners,
4759 to reduce the X ungrab / re-grab race.
4760 (spi_controller_register_with_devices): remove
4761 XSelectInput - we do that with the gdk_window_ call.
4762 (_spi_controller_device_error_handler): return a value.
4763 s/GDK_DISPLAY/spi_get_display/
4765 2002-01-17 Michael Meeks <michael@ximian.com>
4767 * registryd/deviceeventcontroller.c
4768 (_deregister_keygrab): don't blow out the later
4771 * test/test-simple.c (test_keylisteners): do a
4772 more intelligent validation.
4774 2002-01-14 Michael Meeks <michael@ximian.com>
4776 * atk-bridge/bridge.c
4777 (gnome_accessibility_module_init),
4778 (gnome_accessibility_module_shutdown): impl.
4779 (gtk_module_init): protect vs. double inits.
4780 (add_signal_listener): impl.
4781 (spi_atk_bridge_state_event_listener): kill
4782 (deregister_application): split out of
4783 (spi_atk_bridge_exit_func): here.
4785 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4788 Added caret tracking when using magnifier, and
4789 now use text bounds for focus tracking of text elements, rather than
4790 the component bounds - this is helpful for short text fields in long
4791 table cells, at high magnification.
4793 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4795 * registryd/deviceeventcontroller.c:
4796 Regression fix for keylistener de-registration; global keygrabs
4797 were not being released when deregisterKeystrokeListener was
4798 called in cspi, since
4799 Accessibility_DeviceEventController_deregisterKeystrokeListener
4800 was called with a zero-length keyset. That is because the cspi
4801 method, SPI_deregisterKeystrokeListener, does not take a keyset
4802 parameter but instead should remove all the key grabs held be a
4804 The code in impl_deregister_keystroke_listener was changed to copy
4805 the keylist from the listener instance previously registered with
4806 the DeviceEventController before releasing the grabs.
4808 * registryd/registry.c:
4809 * registryd/deviceeventcontroller.c:
4810 * libspi/spi-private.h:
4812 Changed spelling of "re-enterant" to "re-entrant" globally.
4814 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4816 * test/test-simple.c:
4817 Changed key listeners test - the test was slightly mis-using the
4818 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4819 It now uses '=' as the key event listened to and generated,
4820 relying on a keysym match rather than assuming that keycode 33
4821 is always equal to keysym '!'.
4823 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4826 Changed simple-at to use a specific keyset, rather than
4827 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4828 manager, desktop, etc.
4830 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4832 * registryd/deviceeventcontroller.c:
4833 Replaced standard X error handler with a special handler that
4834 is non-fatal for failed keygrabs. This works around
4835 problems with keygrab clashes sometimes observed on
4837 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4838 mouse handling code as yet).
4840 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4843 Incremented revision for desktop alpha release.
4846 Fixed a couple of the more glaring errors (still not
4849 2002-01-11 Michael Meeks <michael@ximian.com>
4851 * registryd/deviceeventcontroller.c
4852 (spi_device_event_controller_forward_key_event): kill
4853 XUngrabKey / XKeyGrab race.
4854 (spi_controller_grab_keyboard): rename to
4855 (spi_controller_update_key_grabs): this, and deal
4856 with incremental adding / removing grabs more
4858 (_register_keygrab): ensure we're not pending a remove.
4859 (spi_grab_mask_free): impl.
4860 (spi_controller_register_global_keygrabs): split out
4862 (handle_keygrab): impl.
4863 (_deregister_keygrab): impl.
4864 (spi_controller_deregister_global_keygrabs): impl.
4865 (spi_controller_update_key_grabs): re-issue the grab if
4866 we just recieved a notification.
4868 * test/test-simple.c (key_listener_cb): remove debug.
4870 * registryd/deviceeventcontroller.c
4871 (spi_controller_register_device_listener): after
4872 registering a global keygrab, actualy register it !
4873 don't wait for a timeout; doh !
4875 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4876 to make it more readable / manipulable.
4877 s/grabmask/grab_mask/ s/refcount/ref_count/
4878 s/keyval/key_val/ s/modmask/mod_mask
4880 2002-01-08 Michael Meeks <michael@ximian.com>
4882 * registryd/deviceeventcontroller.c
4883 (spi_controller_register_with_devices): use gdk calls to
4885 (global_filter_fn): implement the filter.
4886 (spi_device_event_controller_check_key_event): rename to
4887 (spi_device_event_controller_forward_key_event): this & upd.
4888 (spi_get_display): replace with GDK_DISPLAY.
4890 * registryd/deviceeventcontroller.c
4891 (spi_controller_deregister_device_listener): unroll into
4892 (impl_deregister_keystroke_listener): here to simplify.
4893 (spi_controller_register_global_keygrabs): split cut and
4894 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4895 (spi_controller_deregister_device_listener): remove.
4896 (impl_register_mouse_listener): remove, no mouse listener
4897 support in at-spi-1.0
4899 * registryd/registry.c
4900 (_device_event_controller_hook): kill.
4901 (spi_registry_init): upd.
4903 * registryd/deviceeventcontroller.c
4904 (spi_device_event_controller_class_init): upd.
4905 (spi_check_key_event): merge into.
4906 (spi_device_event_controller_check_key_event):
4907 here and kill strange static ev init, don't leak
4908 the x_event - nor dynamicaly allocate it.
4910 * registryd/registry-main.c (main): re-direct
4911 timeout to remove strange vtable mess.
4913 * registryd/deviceeventcontroller.c
4914 (remove_listener_cb): impl.
4915 (spi_controller_deregister_device_listener):
4916 fix re-enterancy hazard.
4918 2002-01-07 Michael Meeks <michael@ximian.com>
4920 * registryd/deviceeventcontroller.c
4921 (spi_device_event_controller_new): upd.
4922 (impl_notify_listeners_sync): upd. debug.
4923 (spi_notify_keylisteners): fix re-enterancy hazards,
4924 prettify, remove O(n*n) iteration.
4925 (spi_controller_grab_keyboard): fix iteration.
4926 (spi_check_key_event): re-format to suit coding style.
4927 Clean all the warnings - we're warning free.
4929 * registryd/deviceeventcontroller.h:
4930 * registryd/registry.h: make mutualy referential with
4931 typesafe forward references instead of (!) void pointer
4934 2002-01-11 Michael Meeks <michael@ximian.com>
4936 * cspi/spi_accessible.c (role_names): add a role name
4937 to sync this array with the enum; and make the regression
4940 2002-01-10 Michael Meeks <michael@ximian.com>
4942 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4943 allow expansion of enumeration & kill warning.
4945 * test/test-simple.c (key_listener_cb): impl.
4946 (test_keylisteners): impl.
4948 * cspi/spi-listener.h: make listener signatures const
4949 on the provided (const) events.
4951 * test/keysynth-demo.c: upd. to const events.
4953 * test/simple-at.c: ditto.
4955 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4958 Rev the version to 0.5 (the previous tarball was named 0.4,
4959 even though the micro number was 3), so we need to rev upwards
4960 again for beta2/"desktop-alpha"
4963 Checked in a demo script, which requires editing before use!
4964 Proceed with caution.
4967 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4969 * cspi/spi_accessible.c:
4970 Add a couple of missing enum initializations, and fix some enum
4973 * cspi/spi_registry.c:
4974 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4976 * docs/reference/cspi/at-spi-cspi-sections.txt:
4977 Remove/fix a couple of broken document references.
4980 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4981 as Alt-Control to listen for commands, since on some systems
4982 Control-Alt may already be grabbed.
4984 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4987 Update version number to 0.4 for Beta2.
4989 * libspi/accessible.c, libspi/accessible.h:
4990 Expose spi_accessible_construct, to enable libgail-gnome
4991 construction from spi_accessible subtype.
4993 * utils/magnifier.c:
4994 Workaround for bug in some non-gnome-compliant window managers
4995 which made magnifier resize improperly.
4997 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4999 * libspi/accessible.c: (spi_accessible_new) :
5000 Move the test for SPI_IS_REMOTE_OBJECT to
5001 spi_accessible_new_return, fixing a bug and compile time warning.
5003 2002-01-08 Michael Meeks <michael@ximian.com>
5005 * registryd/registry.c (parse_event_type): remove strndup.
5007 * libspi/Makefile.am (libspi_la_SOURCES): remove
5008 sources already included in the headers section.
5010 * libspi/util.c: add.
5012 * libspi/spi-private.h: add.
5014 * registryd/registry.c: update to moved list iterators.
5016 2002-01-05 Michael Meeks <michael@ximian.com>
5018 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5020 * test/test-simple.c (main): ditto.
5022 2002-01-04 Michael Meeks <michael@ximian.com>
5024 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5025 redundant construct.
5027 * registryd/registry.c
5028 (get_listener_list): impl.
5029 (impl_accessibility_registry_register_global_event_listener):
5030 re-impl. to simplify using ~, remove dodgy const cast off.
5031 (parse_event_type): constify.
5032 (impl_accessibility_registry_deregister_global_event_listener_all):
5033 re-write, more efficiency and simplicity, kill re-enterancy
5035 (compare_listener_corbaref, compare_corba_objects),
5036 (compare_listener_quarks): define out.
5037 (impl_accessibility_registry_deregister_global_event_listener):
5038 re-write for effiency, and nail re-enterancy hazard.
5039 (impl_accessibility_registry_get_desktop_list): impl.
5040 (re_enterant_list_delete_link): impl.
5041 (re_enterant_list_foreach): impl.
5042 (remove_listener_cb): impl.
5043 (_registry_notify_listeners): kill.
5044 (notify_listeners_cb): impl.
5046 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5047 (SPI_getDesktopList): impl.
5049 * test/test-simple.c (test_desktop): test the methods.
5051 2002-01-03 Michael Meeks <michael@ximian.com>
5053 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5054 keystrings since we free them
5055 (SPI_freeAccessibleKeySet): in here.
5057 * libspi/accessible.c (spi_accessible_new): kill warning,
5058 wonder what is going on with the constructor here.
5060 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5062 * libspi/accessible.c (spi_accessible_new ()) :
5063 Added check to see if AtkObject is an SpiRemoteObject before
5064 creating an SpiAccessible.
5066 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5068 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5069 Enable keygrabs using the Control modifier, now that they are
5070 working properly (they were previously disabled).
5073 Change the command keygrab for this demo to "Control+Alt", so as
5074 to conflict with fewer other key commands on the system; this
5075 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5077 Removed a pointlessly-chatty keylistener for unshifted keys
5078 (shifted keys are still reported).
5080 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5082 * libspi/remoteobject.h:
5083 * libspi/remoteobject.c:
5084 Added definitions for special AtkObject subtype, required for
5085 support of remote components (specifically, used by BonoboControl
5086 accessibility implementation).
5088 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5090 * cspi/spi.h: synched relation types with ATK
5092 * cspi/spi_accessible.c: Added implementations of
5093 AcccessibleRelation_* methods
5095 * idl/Accessibility_Relation.idl: added getRelationTypeName
5096 method. Synched known relation types with ATK. Allowed for
5097 relation type extension with the RELATION_EXTENDED type.
5099 * libspi/relation.c: Provided implementations for
5100 AccessibleRelation methods.
5102 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5104 API tweaks for today's API 'freeze'.
5107 Added placeholder functions to allow future compatible expansion
5108 of the IDL interfaces.
5110 * idl/Accessibility_Registry.idl:
5111 Changed generateKeyEvent to generateKeyboardEvent. Changed
5112 signature of this method to accept an optional keystring in
5113 parameter (for complex text input synthesis) and changed use of
5114 simple 'boolean' parameter in registerKeystrokeListener to a
5115 struct, EventListenerMode.
5117 * cspi/spi_accessible.c:
5119 * cspi/spi_streamablecontent.c:
5120 Added references to AccessibleStreamableContent interface, and
5121 definition and implementation of AccessibleStreamableContent
5124 * cspi/spi_registry.c:
5126 Changed generateKeyEvent API to generateKeyboardEvent,
5127 taking a new (optional) keystring parameter to support complex
5132 Renamed directory (to better reflect its actual purpose, bridging
5133 from at-spi to ATK). The .so module is also now named
5136 * idl/Accessibility_Hypertext.idl:
5137 * libspi/accessible.c:
5138 * libspi/hypertext.h:
5139 * libspi/hypertext.c:
5140 Changed Accessibility_Hypertext to *not* derive from
5143 * cspi/spi_registry.c:
5144 Added list of legal event type names for 'window' events, which
5145 completes the registry event API.
5147 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5149 * at-bridge/bridge.c: Added registration for separate
5150 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5151 signals. If either of the first two parameters to the generic
5152 bridge signal handler are ints, they are passed on as event
5153 details. This allows an AT to determine what text was inserted.
5155 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5157 * registryd/deviceeventcontroller.c:
5158 Fixed regressions in generateKeyEvent caused by the removal of
5159 gdk_init from registryd; we now use pure X calls to connect to the
5160 display, which makes sense because deviceeventcontroller already
5161 uses a fair bit of X API (should eventually be migrated to a
5162 'portability layer').
5164 * registryd/desktop.c:
5165 Fixed minor regression in spi_desktop_init, changed the way the
5166 desktop name is being set to work with new spi_base API
5167 (gobject-based, rather than AtkObject-based).
5169 * registryd/Makefile.am:
5170 Minor revision of makefile to use XTST_LIBS variable rather than
5171 hard-wiring the Xtst LD_ADD element.
5173 * test/keysynth-demo.c:
5174 Tweaked an output message; added initialization of the
5175 'keystrings' member of the "switch listener" key_set.
5177 * libspi/relation.c:
5178 Squashed compile-time warning.
5180 * libspi/accessible.c:
5181 Cosmetic and formatting fixes, renamed a static method.
5183 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5185 * libspi/accessible.c
5187 * libspi/application.c
5190 * libspi/component.c
5191 * libspi/editabletext.c
5192 * libspi/hyperlink.c
5193 * libspi/hypertext.c
5195 * libspi/selection.c
5199 * registryd/desktop.c:
5200 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5202 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5204 * idl/Accessibility_Registry.idl:
5205 Added boolean member 'is_text' to DeviceEvent. This is for the
5206 use of key events, and helps prevent ambiguity between composed
5207 key strings and keysym names, since both may potentially be
5208 returned in the 'event_string' member.
5210 * at-bridge/bridge.c:
5211 * registryd/deviceeventcontroller.c:
5212 Use the 'is_text' member when notifying device event listeners.
5213 Knon issue: composed characters are not dealt with correctly by
5214 the global key listener implementation yet.
5216 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5218 * at-bridge/bridge.c:
5219 Namespaced local static methods to spi_atk_bridge_* where
5220 previously named bridge_*, and spi_* elsewhere.
5222 * at-bridge/bridge.c:
5223 * cspi/bonobo/cspi-bonobo-listener.c:
5224 Added demarshalling/conversion for string member of
5225 Accessibility_DeviceEvent to AccessibleKeystroke.
5227 * registryd/deviceeventcontroller.c:
5228 Added code to fill the Accessibility_DeviceEvent key string value
5229 member for global key events (i.e. from XGrabKey), to match
5230 behavior of Accessibility_DeviceEvent from the toolkit key events
5231 from the bridge. Fixed timestamp in global key event notifications.
5234 Added printout of key event's string value to
5235 report_ordinary_key_event, for demo/debugging purposes.
5237 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5239 * idl/Accessibility_Registry.idl:
5240 Removed Accessibility_KeyStroke structure in favor of generic
5241 Accessibility_DeviceEvent structure.
5242 Changed Accessibility_ControllerEventMask from a struct to an
5245 * at-bridge/bridge.c:
5246 Changed APIs to use DeviceEvent structure as above, and removed
5247 bogus casting between these event structures.
5249 * cspi/spi-listener.h:
5250 Added keystring member of AccessibleKeystroke structure, to enable
5251 matching on event "names" rather than only hardware codes and
5255 Added keystrings member of AccessibleKeySet struct, to allow
5256 matching on event names (as above).
5257 Added declarations for SPI_createAccessibleKeySet and
5258 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5259 event modmasks directly as unsigned ints rather than structs with
5260 refcounts, in the DeviceEventController methods.
5262 * cspi/spi_registry.c:
5263 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5265 * cspi/spi-roletypes.h:
5266 Added documentation of newly added SPI Roles.
5268 * cspi/bonobo/cspi-bonobo-listener.c:
5269 Changes in support of API changes above.
5271 * libspi/accessible.c:
5272 Converted APIs to use DeviceEvent structure (see IDL changes
5275 * registryd/deviceeventcontroller.c:
5276 Added DEControllerGrabMask structure to track keygrabs not only by
5277 modmask but by keyset as well; this allows us to do "global"
5278 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5279 grabbing on AnyKey and then filtering after-the-fact.
5280 Bugfixes for event filtration mean that we don't get false matches
5281 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5283 * registryd/deviceeventcontroller.c:
5284 Namespaced a number of static methods to use spi_ prefix. Major
5285 revision to internals of global (i.e. X) key grabs.
5287 * registryd/deviceeventcontroller.h:
5288 Removed keymask_list and added keygrabs_list to
5289 SpiDeviceEventController struct.
5292 Added use of SPI_createAccessibleKeySet API when creating a
5293 listener for only one key. Attach a listener to "shift spacebar
5294 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5295 X key event names to SPI key event names, so that listeners are
5296 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5298 * test/keysynth-demo.c:
5299 Changed (incorrect) use of X key event names (KeyPressed,
5300 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5303 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5305 * libspi/accessible.c:
5306 Convert all AtkRole enumerations to Accessibility_Role enums when
5307 getting a role from an AtkObject.
5309 * cspi/spi_accessible.c:
5310 Complete the conversion of Accessibility_Role enums at runtime to
5311 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5312 role enums correctly match those given in spi-roletypes.h.
5313 Re-synchronize the local names list for AccessibleRole_getName ().
5314 AccessibleRole_getName is now deprecated, since it duplicates the
5315 more reliable Accessible_getRoleName.
5316 Added some role types from Accessibility_Role.idl.
5318 * idl/Accessibility_Role.idl:
5319 Added some role types used by AtkRole.
5321 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5324 * cspi/spi_registry.c:
5326 * cspi/cspi-bonobo-listener.c:
5327 Namespaced all methods that did not begin with an "SPI_" or
5328 "Accessible" prefix to "SPI_".
5331 Homogenized internal function namespace to "cspi_" for statics.
5334 Patched tests to use the new CSPI API.
5336 * docs/reference/cspi/at-spi-cspi-sections.txt:
5337 Updated docs to reflect namespace changes, and added a number of
5338 methods to the documentation.
5340 * registryd/registry.c:
5341 Changed use of strings and string hashes in listener event
5342 matching and parse_event_string to use GQuark, which is guaranteed
5345 * registryd/registry.h:
5346 Squashed annoying warning.
5348 * idl/Accessibility_Role.idl:
5349 Extended range of available Accessibility_Role values.
5351 * cspi/spi_accessible.c:
5352 Re-ordered role names.
5354 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5356 * idl/Accessibility_Value.idl:
5357 Revert use of union back to CORBA_double, since the double type is
5358 more efficient and can contain the other types without loss of
5361 * idl/Accessibility_Accessible.idl:
5362 Added method Accessibility:Accessible:getRoleName, to complement
5363 Accessibility:Accessible:getRole.
5365 * cspi/spi_accessible.c:
5367 Added C binding for above, Accessible_getRoleName (), and changed
5368 signature of Accessible_getRole () to return an AccessibleRole.
5370 * cspi/spi-roletypes.h:
5371 Changed AccessibleRole_getName to return a char * instead of a
5372 const char *. This method is now at least temporarily deprecated
5373 in favor of asking Accessibles for their RoleNames directly.
5376 Revert to match Accessibility_Value.idl;
5380 Change signature of AccessibleValue methods to use double rather
5384 * cspi/spi_accessible.c:
5385 Changed Accessible_getRole to return an AccessibleRole enum rather
5386 than a UTF-8 string. The UTF-8 string can still be obtained via
5387 AccessibleRole_getName ().
5389 * test/test-simple.c:
5390 Add test_action. Small fixup to match API change to Accessible_getRole.
5393 Bugfix for get_action_from_servant ().
5395 2001-12-11 Michael Meeks <michael@ximian.com>
5397 * libspi/libspi.h: remove registry.h and
5398 desktop.h, deviceeventcontroller.h
5400 * libspi/Makefile.am: remove registry.[ch],
5401 desktop.[ch], deviceeventcontroller.[ch]
5403 * registryd/Makefile.am: add registry.[ch],
5404 desktop.[ch], rename registryd.c to registry-main.c.
5405 add deviceeventcontroller.[ch]
5407 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5410 Replace setenv() call with putenv ().
5412 * libspi/component.c:
5413 Bugfix in AccessibleComponent_getExtents (),
5416 2001-12-11 Michael Meeks <michael@ximian.com>
5418 * libspi/image.c (impl_getImageExtents): impl.
5419 (spi_image_class_init): upd.
5422 (AccessibleImage_getImageDescription): fix daft bug
5425 * test/test-simple.c (global_listener_cb): update
5426 to only quit if not --poke
5427 (main): catch --poke.
5428 (validate_accessible): upd. dumping, call test_image
5431 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5434 * idl/Accessibility.idl: update all IDL includes.
5436 * idl/*.idl - rename to namespace - this sucks, blame
5437 mjs' bad decision for oafd.
5439 * test/test-simple.c (create_test_window): add more tests.
5440 (create_tree): split this out.
5441 (validate_accessible): bugfix.
5443 2001-12-11 Michael Meeks <michael@ximian.com>
5445 * cspi/bonobo/cspi-bonobo-listener.c:
5446 (cspi_kestroke_listener_unref),
5447 (cspi_event_listener_unref): impl. undoing previous
5448 homenous environment - for Bill.
5450 * cspi/spi_table.c (long_seq_to_array): use
5453 * cspi/spi_main.c: split out all bonoboish bits into
5456 * cspi/spi-impl.h: upd. typedefs.
5458 * cspi/spi_registry.c: update to lowlevel API,
5459 return booleans to indicate success in some places.
5461 * cspi/spi_event.c: update to lowlevel API.
5463 * cspi/bonobo/Makefile.am: add.
5465 * cspi/bonobo/cspi-lowlevel.h: add
5467 * cspi/bonobo/cspi-bonobo.c: add
5469 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5471 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5472 (SUBDIRS): add bonobo, link in the libs.
5474 * cspi/spi-util.c: kill this file.
5476 * TODO: merge in my bits.
5478 2001-12-11 Michael Meeks <michael@ximian.com>
5480 * test/test-simple.c (test_value, test_table, main):
5481 remove unused variables causing warnings.
5483 * configure.in: cleanup checks - require gail.
5485 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5488 Changed Value interface to use SValue (scalars) rather than
5489 assuming all values are floats. This allows floats, doubles,
5490 longs, shorts, and unsigned values to be manipulated.
5491 Introduced Accessibility:SValue union.
5494 Updated to use new API above, and to work correctly with GValues
5495 of different types in AtkValue.
5498 Updated to use new API above. cspi's API is as yet unchanged.
5501 Updated the Value revision action item.
5503 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5505 * test/test-simple.c:
5506 Added test_table (GtkTreeView widget in test window to follow).
5507 Un-commented test_value, added GtkRange widget.
5508 Added GtkTreeView widget with GtkListStore. It passes regression
5509 test but leaks one SPI object for some reason.
5512 Fixed bug in impl__set_currentValue.
5514 2001-12-10 Michael Meeks <michael@ximian.com>
5516 * cspi/spi_text.c: audit for exception handling,
5517 tolerating NULL object references safely etc.
5519 * cspi/spi_value.c: ditto.
5521 * cspi/spi_table.c (AccessibleTable_getSummary),
5522 (AccessibleTable_getAccessibleAt),
5523 (AccessibleTable_getRowHeader),
5524 (AccessibleTable_getColumnHeader),
5525 (AccessibleTable_getCaption): fix bugs hidden by
5527 (long_seq_to_array): impl.
5528 (AccessibleTable_getSelectedRows),
5529 (AccessibleTable_getSelectedColumns): use it.
5531 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5534 Added a TODO list (rough and short for now).
5536 * cspi/spi_hyperlink.c:
5537 * cspi/spi_hypertext.c:
5538 Fixed macro name typos, and remove use of obsolete macro in
5539 AccessibleHyperlink_getLink.
5541 * cspi/spi_action.c:
5542 * cspi/spi_accessible.c:
5543 * cspi/spi_application.c:
5544 * cspi/spi_component.c:
5545 * cspi/spi_selection.c:
5548 Documentation fixes (removed return values from ref/unref methods).
5550 2001-12-10 Michael Meeks <michael@ximian.com>
5552 * cspi/spi_action.c: audit for exception handling,
5553 tolerating NULL object references safely etc.
5555 * cspi/spi_accessible.c: ditto.
5557 * cspi/spi_component.c: ditto.
5559 * cspi/spi_editabletext.c: ditto.
5561 * cspi/spi_hyperlink.c: ditto.
5563 * cspi/spi_hypertext.c: ditto.
5565 * cspi/spi_image.c: ditto.
5567 * cspi/spi_selection.c: ditto.
5569 2001-12-10 Michael Meeks <michael@ximian.com>
5571 * configure.in: use cspi/libspi.pc.in instead.
5573 * Makefile.am (pkgconfig_DATA): upd. to match.
5575 * test/simple-at.c (report_focus_event): kill hacks around
5576 bad return values, use putenv not setenv
5578 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5579 fire ChildGone - I killed it.
5581 * libspi/component.c
5582 (impl_accessibility_component_get_extents): remove
5585 * idl/Accessible.idl: kill ChildGone exception.
5587 * cspi/*.[ch]: kill int return from ref / unref.
5589 * cspi/spi_main.c (cspi_object_add_check): fold into
5590 (cspi_object_add): here.
5592 * cspi/spi_component.c (AccessibleComponent_getExtents):
5593 handle exceptions elegantly.
5595 * cspi/spi-private.h (cspi_check_ev_return),
5596 (cspi_return_if_fail): impl.
5598 * cspi/spi_accessible.c: use extensively.
5599 (AccessibleStateSet_equals): add direct compare check.
5601 * cspi/spi_selection.c: tolerate NULL objs, and check
5602 exceptions before return.
5604 * cspi/spi-util.c (cspi_warn_ev): rename to
5605 (cspi_check_ev): this & don't pass ev in; no point.
5607 2001-12-10 Michael Meeks <michael@ximian.com>
5609 * test/test-simple.c: use putenv not setenv
5610 (get_environment_vars): more chatty if you're not using
5613 * test/simple-at.c: do the setenv so more people see the
5616 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5618 * libspi/registry.c:
5619 Changed check of CORBA_environment on notification to be a warning
5620 instead of an error for the moment, since we can recover from this
5621 error when caused by a queued notification from a dead app.
5624 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5625 used by all current implementors of AtkValue), and coerce to
5626 CORBA_float. (Proper general case fix may require change to Value.idl).
5628 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5632 * cspi/spi_accessible.c:
5633 Documentation fixes: added user_data params to documentation for
5634 listeners and callbacks.
5636 * cspi/spi_accessible.c:
5637 Changed AccessibleStateSet_compare to return a
5638 StateSet rather than return the difference set into a third parameter.
5641 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5644 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5645 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5649 Remove subdirectory po from SUBDIRS for now.
5651 * at-bridge/bridge.c:
5652 Beefed up a couple of debug printouts.
5653 One-line fix for signal notification name formatting.
5655 * libspi/accessible.c:
5656 Added assertion to spi_accessible_new ().
5658 * libspi/application.c:
5659 Put #ifdef qualifiers around a printf.
5662 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5664 * registryd/Makefile.am:
5666 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5667 INTLTOOL_SERVER_RULE macro.
5670 Added an event listener for several ATK signals, for
5671 testing and debugging. Removed a few g_warnings.
5672 Added test output if focussed item implements the Value interface.
5674 * test/test-simple.c:
5675 Added test_value () function (known not to pass at the moment, so
5676 not actually called yet.
5678 2001-12-08 Michael Meeks <michael@ximian.com>
5680 * at-bridge/bridge.c (bridge_focus_tracker),
5681 (emit_eventv): fix the same ref. leak.
5682 (register_atk_event_listeners): don't leak.
5684 * cspi/spi-listener-impl.c (cspi_event): more
5685 protection from client code.
5687 * test/test-simple.c (test_desktop): unref the app.
5689 * test/Makefile.am: upd. TESTS.
5691 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5693 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5695 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5697 * cspi/spi_registry.c: constify in strings.
5698 (deregisterGlobalEventListenerAll): don't release the ref.
5700 * cspi/spi.h: start removing redundant / conflicting
5701 gtkdoc comments, making the API readable at a glance :-)
5703 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5705 * test/keysynth-demo.c (keysynth_exit, main): upd.
5707 * test/simple-at.c (main, simple_at_exit): upd.
5709 * test/test-simple.c (unutterable_horror): kill.
5710 (utterable_normal_derefs): kill.
5711 (main): upd & do a setenv before gtk_init, so that we
5712 can use memprof - and to save the pain of remembering
5713 this, if we're running under memprof - don't exit.
5715 * cspi/spi_main.c (SPI_exit): return exit status
5717 (SPI_event_quit): impl.
5718 (SPI_event_main): simplify.
5719 (cspi_is_gnome_app): kill.
5720 (SPI_init): kill isGNOMEapp arg.
5722 * at-bridge/bridge.c (register_atk_event_listeners):
5723 re-instate the unref.
5724 (bridge_exit_func): don't re-activate the registry,
5725 protect vs. theoretical re-entry, use the
5726 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5727 assert a clean shutdown - for regression tests.
5729 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5731 * configure.in: Comment out dummy i18n support for now,
5732 otherwise it fails to build.
5733 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5734 EXTRA_DIST. They are missing in tarball.
5736 2001-12-07 Michael Meeks <michael@ximian.com>
5738 * util/magnifier.c: kill bonobo activation reg. race.
5740 * libspi/component.c
5741 (impl_accessibility_component_get_extents): make it match
5744 * libspi/registry.c (_registry_notify_listeners):
5745 re-remove X headers & reconcile conflicts.
5746 (spi_listener_struct_free): bad conflict resolve.
5747 (impl_accessibility_registry_register_application):
5748 more bad merging fixed.
5749 (impl_accessibility_registry_deregister_application): ditto.
5750 (spi_registry_new): ditto.
5751 (spi_registry_init): don't have an applications field.
5753 [ merge fixups2 branch to here ]
5754 2001-12-07 Michael Meeks <michael@ximian.com>
5756 * test/simple-at.c (report_focus_event),
5757 (report_focussed_accessible): remove g_warning debug.
5759 2001-12-07 Michael Meeks <michael@ximian.com>
5761 * test/test-simple.c (validate_tree): comment out some checks.
5762 (test_desktop): app now not registered idly - horay.
5764 2001-12-07 Michael Meeks <michael@ximian.com>
5766 * cspi/spi_registry.c
5767 (registerAccessibleKeystrokeListener): clean, stop it leaking
5768 great swathes of memory, and device event controller references.
5769 ensure we always pass valid sequences.
5770 (deregisterAccessibleKeystrokeListener): ditto.
5771 (generateKeyEvent): upd.
5773 * at-bridge/bridge.c (bridge_key_listener): handle
5774 registry dead exception gracefully.
5775 (bridge_focus_tracker, emit_eventv): free ev.
5777 * test/simple-at.c (report_focus_event): fix polarity.
5779 * libspi/application.c (notify_listeners): kill the ev
5780 argument, and make sure we init the ev we use.
5781 (spi_application_object_event_listener): split out a chunk
5782 (get_atk_object_ref): here & fixup.
5783 (reverse_lookup_name_for_toolkit_event): make const.
5784 (spi_application_toolkit_event_listener): fixup, kill leaks
5787 * at-bridge/bridge.c (register_atk_event_listeners):
5788 don't unref the noop object - causes grief.
5790 * libspi/registry.c: remove the X headers.
5791 turn off the debug churn.
5793 * libspi/accessible.c (spi_accessible_new_return): only
5794 release the ref if we are supposed to [doh]
5796 * test/simple-at.c (report_button_press, report_focus_event):
5797 guard vs. unexpected exit.
5799 * at-bridge/bridge.c (gtk_module_init): prune printf.
5800 (bridge_exit_func): fix app unref.
5802 * libspi/Makefile.am: don't install registry or desktop.h
5804 * libspi/*.h: update includes.
5806 * libspi/application.h: don't include ourself, or
5807 other redundant headers.
5809 2001-12-06 Michael Meeks <michael@ximian.com>
5811 * libspi/accessible.c
5812 (get_accessible_from_servant): impl.
5813 Upd. all CORBA impl.s to use it killing cut and paste.
5815 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5817 (SPI_init): register atexit cleanup handler here.
5819 2001-12-06 Michael Meeks <michael@ximian.com>
5821 * at-bridge/bridge.c (gtk_module_init): g_error on
5822 activation exception
5824 2001-12-06 Michael Meeks <michael@ximian.com>
5826 * at-bridge/bridge.c (gtk_module_init): some sort of
5827 confusing merge clash - reverted.
5828 (bridge_idle_init): ditto.
5830 * test/test-simple.c (main, utterable_normal_derefs):
5831 merge from Bill - somehow not committed.
5833 2001-12-06 Michael Meeks <michael@ximian.com>
5835 * libspi/value.c (spi_value_class_init): upd.
5836 (spi_value_finalize): kill.
5838 * libspi/table.c (spi_table_finalize): kill.
5839 (spi_table_interface_new): upd.
5840 (spi_table_class_init): upd.
5841 (get_table_from_servant): impl.
5842 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5844 * libspi/selection.c (spi_selection_finalize): kill.
5845 (spi_selection_interface_new): upd.
5846 (spi_selection_class_init): upd.
5847 (get_selection_from_servant): impl.
5848 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5850 * libspi/relation.c (spi_relation_finalize): kill.
5851 (spi_relation_class_init, spi_relation_new): upd
5853 * libspi/image.c (spi_image_finalize): kill.
5854 (spi_image_class_init): upd.
5855 (spi_image_interface_new): upd.
5856 (get_image_from_servant): impl.
5857 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5859 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5860 (spi_hyperlink_finalize): kill.
5861 (spi_hyperlink_new): upd.
5862 (get_hyperlink_from_servant): impl.
5863 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5865 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5866 (spi_hypertext_finalize): kill.
5867 (spi_hypertext_class_init): upd.
5868 (get_hypertext_from_servant): impl.
5869 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5871 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5872 (spi_editable_text_interface_new): upd.
5873 (get_editable_text_from_servant): impl.
5874 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5876 * libspi/text.c (get_text_from_servant): impl.
5877 All impls - update to use it killing more cut and paste,
5878 also fix bad string returns on duff args ( a somewhat
5879 impossible case to handle - but hey ).
5880 (spi_text_construct): impl.
5881 (spi_text_interface_new): upd.
5882 (spi_text_object_finalize): kill.
5884 * libspi/component.c
5885 (accessibility_component_object_finalize): kill.
5886 (spi_component_class_init): upd.
5887 (get_component_from_servant): impl. helper to kill cut & paste.
5888 (impl_accessibility_component_contains):
5889 (impl_accessibility_component_get_accessible_at_point):
5890 (impl_accessibility_component_get_position):
5891 (impl_accessibility_component_get_extents):
5892 (impl_accessibility_component_get_mdi_z_order):
5893 (impl_accessibility_component_get_layer):
5894 (spi_component_interface_new): upd.
5896 * libspi/action.c (spi_action_finalize): kill.
5897 (spi_action_class_init): upd. inherit from SpiObject.
5898 (spi_action_interface_new): upd.
5899 (get_action_from_servant): impl. helper to reduce cut & paste.
5900 (impl_getKeyBinding, impl_getName, impl_doAction),
5901 (impl_getDescription): Use it everywhere.
5903 * cspi/spi_main.c (get_live_refs): a pointer hash.
5904 (spi_object_hash, spi_object_equal): comment out.
5905 There are issues with CORBA object hashing that need
5908 * libspi/application.c (spi_application_init),
5909 (spi_application_new): upd.
5911 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5912 (spi_accessible_class_init): upd.
5913 s/accessible/object/ in epv methods.
5915 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5917 * at-bridge/bridge.c:
5918 Reorder the bridge initialization into the bridge gtk_module_init,
5919 an immediate call to bridge_register_app, and an idle_add for
5920 register_atk_event_listeners (the only code that *must* wait until
5921 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5922 the activation, creates the application's Accessible object, and
5923 queues the bridge_idle_init function. Restored call to
5924 Accessibility_Registry_deregisterApplication().
5925 Prior to making this call we obtain a new reference to the
5926 registry, which is a temporary hack that helps us handle apps that
5927 shut down the bonobo mainloop before we get there.
5929 * libspi/registry.c:
5930 Fix string leakage in debug block, and don't segv if a an app
5931 dies before its event notifications have been propagated.
5934 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5935 as stopgap measure until we get proper exception handling when
5936 objects die during or before interrogation.
5940 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5941 Also changed default value of is_gnome_app to TRUE.
5944 * test/keysynth-demo.c:
5945 Changed use of SPI_init and SPI_event_main to reflect API change above.
5948 Made report_focus_event check the warning value from getName
5949 before reporting on focussed accessible; simplifies handling of
5950 notifications from dead objects.
5952 * test/test-simple.c: (Changes not in this patch since source is
5955 2001-12-05 Michael Meeks <michael@ximian.com>
5957 * registryd/registryd.c (main): protect against
5958 bonobo-activation startup race condition.
5960 * cspi/spi_main.c (cspi_object_add_check): cope
5961 with the exception elegantly.
5963 * idl/Accessible.idl: decl. ChildGone
5965 * libspi/desktop.c (spi_desktop_dispose): impl.
5966 (spi_desktop_class_init): upd.
5967 (spi_desktop_add_application),
5968 (spi_desktop_remove_application),
5969 (abnormal_application_termination): impl.
5970 (impl_desktop_get_child_at_index): re-impl.
5973 (impl_accessibility_registry_deregister_application),
5974 (impl_accessibility_registry_register_application):
5975 kill excessive debug clutter.
5977 * test/test-simple.c (test_misc): test some NULL
5978 tolerance. (main): upd.
5980 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5981 implements no interfaces - so let's not crash.
5983 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5985 * libspi/accessible.c (spi_accessible_new_return): impl.
5986 helper to calm the cut and paste, to cope with
5987 NULL AtkObjects effectively and efficiently, and to kill
5988 the referencing bugs.
5990 * libspi/table.c (impl_getAccessibleAt),
5991 (impl_getRowHeader, impl_getColumnHeader): upd.
5993 * libspi/hyperlink.c (impl_getObject): upd.
5995 * libspi/accessible.c
5996 (impl_accessibility_accessible_get_child_at_index): upd.
5998 * libspi/component.c
5999 (impl_accessibility_component_get_accessible_at_point): upd.
6001 * test/test-simple.c (test_editable_text, test_text): impl.
6004 * cspi/spi_editabletext.c
6005 (AccessibleEditableText_insertText): constify.
6007 * test/test-simple.c (focus_me): make more robust.
6009 * libspi/accessible.c: remove some printfs in methods that
6010 we test and work fine, so we can get a clean tree dump.
6012 * test/test-simple.c (validate_accessible),
6013 (validate_tree): make tree dumping pretty too.
6015 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6016 it builds without debug on.
6018 * test/test-simple.c (validate_accessible): fix the most
6021 * cspi/spi_main.c (spi_object_release): leave the nicely
6022 blanked memory around if in debug mode.
6024 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6026 [committed to fixups2]
6027 2001-12-05 Michael Meeks <michael@ximian.com>
6029 * libspi/editabletext.c
6030 (spi_editable_text_class_init): g_type_class_peek_parent,
6031 not interface peek - so we finalize cleanly.
6033 * libspi/accessible.c (spi_accessible_new): kill debug.
6035 * test/test-simple.c (validate_accessible): fix ref.
6036 leak, print strings before freeing them; sigh, comment a
6037 chunk out due to strangeness.
6038 (validate_tree): unref the child after use.
6040 * cspi/spi_component.c (AccessibleComponent_getLayer):
6041 add missing break statement, switch on zlayer not the
6042 uninitialized retval.
6044 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6045 before (possibly re-entering) remote unref.
6047 * test/simple-at.c (main): unref the desktop.
6049 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6052 * cspi/spi_main.c (cspi_accessible_is_a): here to
6053 isolate bonobo API usage more.
6055 * libspi/registry.c (impl_accessibility_registry_register_application):
6056 prune bogus comment.
6058 2001-12-04 Michael Meeks <michael@ximian.com>
6060 * test/test-simple.c (validate_tree): upd.
6061 IndexInParent check to make it more lucid.
6062 (validate_accessible): dump the tree.
6064 * libspi/accessible.c (de_register_public_ref),
6065 (get_public_refs): impl.
6066 (spi_accessible_new): make more efficient & intuitive.
6067 Now IndexInParent check works.
6069 2001-12-04 Michael Meeks <michael@ximian.com>
6071 * cspi/spi-util.h: remove.
6073 * cspi/spi.h: move SPI_freeString here
6075 * libspi/component.c (impl_accessibility_component_get_layer):
6077 (impl_accessibility_component_get_mdi_z_order): ditto,
6078 return -1 on error - is this ok ?
6080 * test/test-simple.c (test_application): impl.
6082 * cspi/spi_accessible.c (Accessible_getApplication),
6083 (Accessible_isApplication): impl.
6085 * libspi/registry.c (spi_listener_struct_free): release
6086 the CORBA reference too.
6088 * libspi/accessible.c
6089 (impl_accessibility_accessible_get_parent): fix ref leak.
6091 * libspi/registry.c (spi_registry_new): make the registry
6092 immortal - we don't want it to go away ever.
6094 * libspi/application.c
6095 (spi_accessible_application_finalize): impl. cleanup.
6097 * cspi/spi_registry.c
6098 (deregisterGlobalEventListenerAll),
6099 (deregisterGlobalEventListener),
6100 (deregisterAccessibleKeystrokeListener): fix ref leak.
6102 * cspi/spi_main.c (SPI_init): remove redundant ref.
6104 * test/test-simple.c (unutterable_horror): impl. to force a
6109 (impl_accessibility_registry_deregister_application): release
6110 the application when we de-register it.
6112 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6113 until we have the infastructure to get it right.
6115 2001-12-03 Michael Meeks <michael@ximian.com>
6117 * libspi/Makefile.am: only build eventlistener.[ch]
6119 * libspi/accessible.c
6120 (impl_accessibility_accessible_get_child_at_index): don't leak.
6122 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6123 before we hit the idle handler.
6125 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6126 debugging than exit.
6128 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6130 * libspi/listener.c (impl_notify_event): check source
6131 not NIL before unref.
6133 * libspi/registry.c (impl_registry_notify_event): ditto.
6135 * libspi/eventlistener.c
6136 (impl_accessible_event_notify_event): unref the source.
6138 * libspi/accessibleeventlistener.c
6139 (impl_accessible_event_notify_event): unref the source.
6141 * idl/Event.idl: remove 'hash_id' attribute - of no
6144 * libspi/application.c (notify_listeners): upd list
6146 (spi_application_object_event_listener),
6147 (spi_application_toolkit_event_listener): upd to do correct
6151 (_registry_notify_listeners): update.
6152 (parse_event_type): this method also leaks like a sieve.
6153 (impl_accessibility_registry_deregister_global_event_listener):
6154 fix ETYPE_WINDOW case.
6156 * libspi/application.c
6157 (impl_accessibility_application_register_object_event_listener):
6160 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6162 * libspi/hypertext.c (impl_getLink): ditto.
6164 * cspi/spi_main.c (cspi_object_add): remove
6165 bogus CORBA_Object_duplicate.
6167 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6170 * cspi/spi_accessible.c
6171 (Accessible_getRelationSet): fix leak / referencing issue.
6173 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6174 (cspi_object_add, cspi_object_unref): upd.
6175 (spi_object_release, get_live_refs): impl.
6176 (cspi_cleanup): simplify.
6178 * *.[ch]: s/boolean/SpiBoolean/
6180 * cspi/spi_accessible.c (role_names): actualy order so it
6181 corresponds with the enum !
6183 * test/test-simple.c (test_roles): check some role strings
6184 vs. enums to detect offset errors.
6186 2001-12-01 Michael Meeks <michael@ximian.com>
6188 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6190 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6192 (Accessible_getChildAtIndex): use cspi_add_check so we
6193 check the ev before using a (possibly) invalid value.
6195 * libspi/accessible.c
6196 (impl_accessibility_accessible_get_parent): don't segv
6199 * at-bridge/bridge.c (gtk_module_init): upd.
6200 (bridge_property_event_listener): don't leak strings
6202 (bridge_state_event_listener),
6203 (bridge_property_event_listener): don't use a static
6204 buffer in case of recursive event emission &
6205 re-enterancy - split out the swathe of cut and paste
6207 (emit_eventv): and fix 2 ref leaks here & comply to the
6209 (bridge_register_app): rename to
6210 (bridge_idle_init): this and kill arg parsing, split
6211 various inits & bonobo-activation registration to module
6212 init time, kill referencing error.
6213 (bridge_exit_func): fix the same leak.
6214 (bridge_focus_tracker): don't leak event structures
6216 (bridge_signal_listener): more leakage and cut & paste
6218 (bridge_key_listener): return the result - FIXME is
6219 this polarity correct ?
6220 (accessibility_keystroke_from_atk_key_event): rename
6221 (accessibility_init_keystroke_from_atk_key_event): and stop
6223 (gtk_module_init): return a value - not that it is checked by
6225 (bridge_key_listener): register my horror at casting between
6226 IDL defined structs.
6227 (bridge_get_registry): kill - not used.
6229 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6231 * test/test-simple.c (test_roles): impl.
6232 (test_desktop, validate_accessible, validate_tree): impl.
6234 * cspi/spi_accessible.c (role_names): fixup bogus
6235 MAX_ROLES setup, make constants const for efficient linkage
6236 (AccessibleRole_getName): conform to coding style, make
6239 2001-11-30 Michael Meeks <michael@ximian.com>
6241 * cspi/spi.h: add missing prototype.
6243 * libspi/registry.c (spi_listener_struct_new): fix sig.
6245 * test/Makefile.am: add test-simple
6247 * test/test-simple.c: add
6249 * test/test.sh: add.
6251 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6253 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6254 do it straight - since otherwise we often get an activation race.
6256 [ work before Bill duplicated a chunk of it ... ]
6257 2001-11-30 Michael Meeks <michael@ximian.com>
6259 * libspi/keystrokelistener.c
6260 (spi_keystroke_listener_class_init): fixup arg
6263 * libspi/eventlistener.c
6264 (spi_event_listener_class_init): ditto.
6266 * tests/test.sh: add.
6268 * cspi/spi-listener-impl.h: update macros.
6270 * cspi/spi-listener-impl.c
6271 (cspi_event_listener_remove_callback): add
6272 correct pre-conditions.
6274 * cspi/spi_main.c (SPI_exit): guard vs. double
6275 exits, exit the mainloop nicely.
6276 (SPI_event_main): make more sense.
6277 (SPI_init): move the atexit evilness here so we
6278 always do it (yuck).
6279 (SPI_event_main): upd.
6281 * test/simple-at.c: update for listener changes.
6283 * registryd/registryd.c (main): prune kruft.
6285 * libspi/libspi.h: upd.
6287 * libspi/eventlistener.[ch]: rename broken macros.
6289 * libspi/accessibleeventlistener.[ch]: remove.
6291 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6293 * test/test-simple.c: Add - automated tests.
6295 * cspi/spi-listener-impl.c (cspi_event),
6296 (cspi_key_event): add user_data to invoke.
6297 (cspi_keystroke_listener_finalize): impl.
6298 (cspi_keystroke_listener_class_init): upd.
6301 (createAccessibleEventListener),
6302 (AccessibleEventListener_addCallback),
6303 (createAccessibleKeystrokeListener),
6304 (AccessibleKeystrokeListener_addCallback): upd.
6306 * libspi/deviceeventcontroller.c
6307 (spi_device_event_controller_check_key_event): add public proto.
6310 (impl_accessibility_registry_deregister_global_event_listener):
6311 always init listeners.
6312 (_registry_notify_listeners): yes it is.
6314 * cspi/spi-listener-impl.c (cspi_key_event):
6316 (cspi_event_listener_finalize): impl.
6317 (cspi_event_listener_class_init): hook up.
6318 (event_handler_new, event_handler_free),
6319 (event_list_remove_by_callback): impl.
6320 (cspi_event_listener_remove_callback),
6321 (cspi_keystroke_listener_remove_callback),
6322 (cspi_keystroke_listener_add_callback),
6323 (cspi_event_listener_add_callback): upd.
6325 * libspi/keystrokelistener.c
6326 (keystroke_listener_object_finalize): kill
6327 (spi_keystroke_listener_class_init): upd.
6328 (spi_keystroke_listener_add_callback),
6329 (spi_keystroke_listener_remove_callback): kill,
6331 (impl_key_event): prune drasticaly.
6333 * libspi/eventlistener.c
6334 (spi_event_listener_add_callback),
6335 (spi_event_listener_remove_callback): kill, use
6337 (impl_accessible_event_notify_event): upd.
6338 (spi_event_listener_object_finalize): remove.
6340 * libspi/Makefile.am: use eventlistener.[ch]
6342 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6344 * libspi/registry.c (_registry_notify_listeners):
6345 Changed listener loop iteration to use preferred convention.
6346 Got rid of string memory leaks caused be calling g_strconcat
6347 inside function calls.
6349 * libspi/registry.c (parse_event_type):
6350 Stopped g_strconcat memory leaks, free the g_strsplit return,
6351 g_strdup the split pieces when used, etc.
6353 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6356 Change method 'compare' to return a 'difference set' rather than
6357 taking a StateSet as an out parameter (more Java-friendly).
6359 * idl/Accessible.idl:
6360 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6362 * idl/Component.idl:
6364 Changed methods 'getExtents' and 'getImageExtents' in these
6365 interfaces to return a BoundingBox structure.
6366 (getPosition and getSize are redundant and possibly should be
6367 removed, rather than creating a corresponding Point struct.)
6369 * cspi/spi_component.c:
6370 Modify implementation of getExtents to reflect the above IDL
6375 Add (missing) AccessibleImage_getExtents () API.
6377 * docs/reference/cspi/at-spi-cspi-sections.txt:
6378 Added AccessibleImage_getImageExtents () to docs.
6380 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6382 * idl/Component.idl:
6383 Added two methods, getLayer () and getMDIZOrder (), to reflect
6384 the new ATK methods atk_object_get_layer and
6385 atk_object_get_mdi_z_order. (Which arguably should be part of the
6386 AtkComponent API and AtkObject). Also added an enum,
6387 ComponentLayer, for the first method's return value.
6389 * libspi/component.c:
6390 Added implementations for these methods.
6392 * cspi/spi_component.c:
6394 Added cspi binding methods for above,
6395 AccessibleComponent_getLayer() and
6396 AccessibleComponent_getMDIZOrder().
6397 Added cspi enum 'AccessibleComponentLayer'.
6399 * docs/reference/cspi/at-spi-cspi-sections.txt:
6400 Added above methods to docs.
6404 Changed typedef for 'boolean' type (and all references to it) to
6405 SPIBoolean, to avoid keyword clashes with C++.
6408 Changed usages of 'boolean' to SPIBoolean.
6410 * test/keysynth-demo.c:
6411 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6412 app), except where SPIBoolean is required by the callbacks API.
6414 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6416 * cspi/spi_registry.c:
6417 Removed obsolete X event loop for passive keygrabs (which now
6420 * registryd/registryd.c:
6421 Removed unnecessary call to gdk_init() [cruft]. This also allows
6422 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6425 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6427 * docs/reference/cspi:
6428 Included docs for SPI_freeString in generated documentation.
6431 Renamed spi_freeString to SPI_freeString, for consistency. Added
6432 documentation for this function.
6435 Renamed spi_freeString to SPI_freeString, for consistency.
6436 Removed obsolete method declaration string_from_corba_string.
6438 * test/keysynth-demo.c:
6439 Small tweak to comments.
6442 Stopped leaking the strings returned from CSPI.
6444 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6446 Merged Michael's branch (see his ChangeLog entries below).
6448 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6449 bridge is alive, release on exit.
6451 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6452 Fix type check macro.
6455 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6458 Added is_gnome_app static, and method cspi_is_gnome_app(),
6459 so we can call the appropriate shutdown routine at exit in SPI_exit.
6461 * cspi/spi_main.c (cspi_object_ref):
6462 Duplicate the corba object passed in, since we're keeping it around.
6464 * cspi/SPI_exit.c, cspi_cleanup:
6465 Moved the releasing of the live refs to its own function, so we
6466 can put it in g_atexit (). Call the appropriate shutdown API
6467 depending on whethe calling client is a gnome app or not
6468 (bonobo_main_quit or CORBA_ORB_shutdown).
6470 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6471 Unref the listener when this method is called, after
6472 deregistration. Updated the API docs to note this behavior.
6474 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6475 Bugfixes: Ref the bonobo object when returning a parent or child
6476 reference, or an AccessibleRelation. Generally made sure
6477 BonoboObject refcount is incremented whenever we return an
6480 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6481 Fixed typo/bug in signal declaration.
6483 * libspi/accessibleeventlistener.h:
6486 * libspi/application.c (spi_application_new):
6487 Fixed leak in initialization.
6490 Remembered to increment bonobo-object refcount when returning
6491 children (applications) from desktop object.
6492 Added (empty) finalize method.
6494 * libspi/deviceeventcontroller.c:
6495 Hold a ref to listeners inside DEControllerKeyListeners.
6496 Added dec_key_listener_free() method. Use prepend instead of
6497 append in key_listener list. Fixed some refcount madness and
6498 leaks in the listener registration/deregistration - deregistration
6499 now calls dec_key_listener_free() on listeners, and on the
6500 temporarily constructed dec_key_listener() used to perform the search/match.
6502 * libspi/hypertext.c (spi_hypertest_finalize):
6503 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6504 class. Also fixed spi_hypertext_interface_new() and
6505 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6507 * libspi/hypertext.h:
6508 Removed pointless and duplicate AtkObject pointer from
6511 * libspi/keystrokelistener.c:
6512 Fixed incorrect type of keystroke_listener_parent_class,
6513 renamed keystroke_listener_object_finalize to
6514 spi_keystroke_listener_object_finalize.
6515 Fixed typo in signal declaration
6516 (spi_keystroke_listener_class_init).
6518 * libspi/registry.c:
6519 Added funcsions spi_listener_struct_new() and
6520 spi_listener_struct_free() to help with memory management issues.
6521 We also now use these methods instead of gnew + poking stuff into
6522 the struct, and to decrement listener counts/free the listeners
6523 when deregistering them.
6524 Fix more refcount bugs in getDesktop() and
6525 getDeviceEventController().
6528 De-ref the desktop after enumerating the applications. Explicitly
6529 decrement the refcounts on the created listeners on exit (using
6530 _unref for keystroke listeners, and via the
6531 deregisterGlobalEventListenerAll command for other event
6534 2001-11-27 Michael Meeks <michael@ximian.com>
6536 * cspi/spi-listener.h: fixup enum.
6538 2001-11-27 Michael Meeks <michael@ximian.com>
6540 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6541 (cspi_keystroke_listener_new): Use the cspi variants.
6543 2001-11-26 Michael Meeks <michael@ximian.com>
6545 * test/keysynth-demo.c: fix 2 compile warnings, missing
6548 * test/simple-at.c (report_focussed_accessible),
6549 (report_focus_event, report_button_press),
6550 (check_property_change, is_command_key),
6551 (report_ordinary_key_event, report_command_key_event): upd.
6553 * util/mag_client.h: include pre-requisites.
6555 * libspi/accessibleeventlistener.c
6556 (spi_event_listener_object_finalize): free any lingering
6559 * libspi/keystrokelistener.c
6560 (keystroke_listener_object_finalize): ditto.
6562 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6563 callbacks, with cspi types.
6565 * cspi/spi_event.c (createAccessibleEventListener): chain to
6566 (AccessibleEventListener_addCallback): here.
6567 (createAccessibleKeystrokeListener): chain to
6568 (AccessibleKeystrokeListener_addCallback): here.
6570 * libspi/keystrokelistener.c
6571 (spi_keystroke_listener_class_init): add signal.
6572 (impl_key_event): emit the event.
6573 (boolean_handled_accumulator): impl.
6574 (marshal_BOOLEAN__POINTER): add, gack.
6576 * libspi/accessibleeventlistener.c
6577 (spi_event_listener_class_init): add signal.
6578 (impl_accessible_event_notify_event): emit the signal &
6579 make the loop efficient.
6580 (spi_event_listener_add_callback): prepend the callback.
6582 * libspi/accessibleeventlistener.h: add an 'event' signal,
6583 decl type on callback.
6585 * libspi/keystrokelistener.h: ditto.
6587 * cspi/spi-listener.h: make methods typesafe and
6588 make them use the new event typedefs.
6590 * test/simple-at.c (report_focussed_accessible):
6591 include mag_client.h
6592 Use *(void *)text_interface not the other thing.
6594 * configure.in: add gtk to registryd bits - since we use
6597 * util/magnifier.c: include libbonobo.h
6599 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6601 * test/keysynth-demo.c:
6602 Turned this into a simple scanning keyboard, to demonstrate the
6603 use of g_timeout_add () as a means of creating timers for
6604 scanning, and the use of GtkStyle for visually indicating when
6605 virtual keyboard elements are selected.
6607 keysynth-demo now listens to any keyboard keys with zero-valued
6608 keycodes (i.e. 'unused' keys) and interprets them as
6611 Reworked the shiftlatch code so that shift-down state isn't held
6612 for long periods (it's only synthesized immediately prior to
6613 the keysynth event it's modifying). Note that shiftlatch in this
6614 demo is a convenience, not intended to take the place of AccessX
6615 which is the better choice for getting 'sticky' modifier keys.
6617 * libspi/deviceeventcontroller.c:
6618 * at-bridge/bridge.c:
6619 * cspi/spi_registry.c:
6620 Removed some debug print stuff, and put other verbosity in #ifdef
6625 Implemented some more of the magnifier IDL for the simple
6626 magnifier: namely, getZoomRegionParams.
6627 Added mag_x and mag_y members to MagnifierData struct, aid of this
6629 Added GtkWindow::realize signal handler to magnifier, to keep it
6630 from receiving keyboard focus from the WM.
6632 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6634 * cspi/spi-private.h: my guess at what michael forgot
6635 before he ran off to NZ :-)
6637 2001-11-23 Michael Meeks <michael@ximian.com>
6639 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6640 comment out non existant method invoke so we link.
6642 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6643 use bonobo_exception_get_text for more friendly warnings.
6645 * cspi/spi.c (Obj_Add): move into spi_main & rename
6646 spi_object_add; kill spi.c
6648 * cspi/spi_registry.c
6649 (deregisterGlobalEventListener),
6650 (deregisterGlobalEventListenerAll),
6651 (registerGlobalEventListener): fix exception leaks.
6653 * cspi/spi_main.c (spi_exception): impl. helper, so we
6654 don't leak exceptions.
6656 * cspi/spi_selection.c
6657 (AccessibleSelection_deselectSelectedChild): return the
6660 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6661 (spi_registry): ditto.
6662 (SPI_init): guard against double inits.
6664 * cspi/*.c: use spi_ev (), and spi_registry () where
6665 appropriate - a temporary hack until we have something
6666 better. Use spi_object_add
6668 2001-11-22 Michael Meeks <michael@ximian.com>
6670 * cspi/Makefile.am: re organise, install the headers.
6672 * cspi/*.h: add G_BEGIN/END_DECLS
6674 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6677 Added non-preemptive keylistener for key events with no modifiers
6678 and shift-only modifier.
6680 * libspi/keystrokelistener.c:
6681 Removed some verbose diagnostics printout.
6683 * cspi/spi_registry.c:
6684 Fixed a bug that caused all key listeners to be registered as
6687 * libspi/deviceeventcontroller.c:
6688 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6689 for non-preemptive key masks.
6692 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6694 * docs/reference/idl/at-spi-idl-docs.sgml:
6695 * docs/reference/idl/at-spi-idl-sections.txt:
6696 * docs/reference/idl/at-spi-idl-overrides.txt:
6697 Added missing files.
6699 * docs/reference/Makefile.am:
6700 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6701 to scan the IDL files :-(
6706 Added .cvsignore files.
6708 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6710 * libspi/deviceeventcontroller.c:
6711 * libspi/keystrokelistener.c:
6713 * cspi/spi_registry.c:
6714 Added filters for KeySets, KeyEventSeq, and event types to key
6715 event dispatching, so listeners should only receive those events
6716 that they requested :-)
6718 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6723 * docs/reference:Makefile.am:
6724 * docs/reference/cspi:
6725 * docs/reference/cspi:Makefile.am:
6726 * docs/reference/cspi:tmpl:
6727 * docs/reference/cspi:tmpl:*.sgml:
6728 * docs/reference/idl:
6729 * docs/reference/idl:Makefile.am:
6730 * docs/reference/idl:at-spi-idl-sections.txt:
6731 * docs/reference/idl:at-spi-idl-docs.sgml:
6732 * docs/reference/idl:tmpl:
6733 * docs/reference/idl:tmpl:*.sgml:
6735 Restructured docs directory to allow separate 'reference' docs
6736 section, and forked idl and cspi docs. Added the sgml template
6737 files to CVS. Added the first sections/structural sgml for the
6740 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6742 * configure.in, libspi/Makefile.am: find libXtst.
6744 2001-11-21 Michael Meeks <michael@ximian.com>
6746 * test/accessx-gui.c: s/spi_value/value/ - doh.
6748 * libspi/base.[ch]: add.
6750 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6752 * idl/Accessible.idl:
6753 * idl/Application.idl:
6756 Started gtk-doc cleanup on IDL.
6758 * libspi/deviceeventcontroller.c:
6759 Added and connected non-preemptive key notification from the
6760 toolkits (in addition to the pre-emptive support from XServer
6761 which we had before, but which causes 'focus flashing'). Filters
6762 are presently limited to key modifiers and global/non-global,
6763 KeySets are presently ignored, as are KeyEvent masks.
6765 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6766 structs into the persistant structure rather than just storing
6767 pointers to things that might not persist across servant
6770 The XGrabKey call now does async keygrabs, because synchronous
6771 ones were deadlocking with GDK_event code in a very nasty way.
6773 Added boolean to internal method notify_keylisteners, to indicate
6774 whether the event came from the 'toolkit source' or the 'global
6775 (XServer) source' - this is used in the notification process to
6776 determine which listeners to send the event to.
6778 deviceeventcontroller.c is now warning-free.
6780 * libspi/registry.c:
6781 Fixed regression in application de-registration.
6782 Also fixed some really brain-dead weirdness having to do with
6783 event dispatching - event structs are now duplicated before being
6784 re-marshalled in the dispatch to listeners. This also fixes a
6785 Solaris build problem.
6788 2001-11-20 Michael Meeks <michael@ximian.com>
6791 (impl_accessibility_registry_deregister_global_event_listener):
6794 * libspi/deviceeventcontroller.c
6795 (spi_device_event_controller_check_key_event): return
6796 FALSE on no virtual method.
6798 * libspi/*..h: make includes work on a correctly pathed install.
6800 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6802 * libspi/application.h: kill unused ( and whacked out )
6803 gboolean *spi_application_set_id (AtkObject *app, long id);
6805 2001-11-20 Michael Meeks <michael@ximian.com>
6807 * libspi/*.[ch]: further convert to bonobo's type func
6808 macros, remove redundnant casts etc.
6810 * libspi/text.c s/accessibility_text/spi_text/g,
6811 re-order to de-cruft.
6813 * libspi/hypertext.c: re-order to kill a huge slew
6814 of redundant forward decls.
6816 * libspi/relation.c: ditto.
6818 * libspi/image.c: ditto.
6820 * */.cvsignore: update
6822 2001-11-20 Michael Meeks <michael@ximian.com>
6824 * libspi/deviceeventcontroller.c
6825 (_controller_register_with_devices): use g_getenv,
6826 kill stdlib.h include.
6828 * libspi/keystrokelistener.c
6829 (spi_keystroke_listener_get_type): kill
6830 (spi_keystroke_listener_class_init),
6831 (spi_keystroke_listener_init): rename to this.
6833 * libspi/text.c (impl_getAttributes): fix warning / bug.
6835 * libspi/*.[ch]: more headers, includes and over commenting.
6837 2001-11-20 Michael Meeks <michael@ximian.com>
6839 * libspi/*.[ch]: fixup headers, includes and over commenting.
6841 * libspi/image.c (impl__get_imageDescription): const
6842 correctness warning fix. remove redundant casting.
6844 * libspi/table.c (impl_getRowDescription): ditto.
6845 (impl_getColumnDescription): ditto.
6847 * libspi/libspi.h: add.
6849 2001-11-19 Michael Meeks <michael@ximian.com>
6851 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6853 * libspi/component.c (accessibility_component_get_type):
6854 rename to (spi_component_get_type): and macroify.
6855 (accessibility_component_init): rename to
6856 (spi_component_init): this
6857 (accessibility_component_class_init): rename to
6858 (spi_component_class_init): this
6860 * libspi/action.c (spi_action_get_type): kill, use the macro.
6862 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6865 * libspi/application.c (spi_application_object_event_listener),
6866 (impl_accessibility_application_register_object_event_listener):
6867 warning fixes / const understanding updates.
6869 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6872 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6874 * libspi/spi_accessible.c: Added docs and C bindings for
6875 AccessibleStateSet. (No implementations yet). Documentation
6876 coverage for C bindings now 100%. Made docs for event listeners
6881 boolean notifyListenersSync (in DeviceEventListener listener,
6882 in DeviceEvent event);
6884 oneway void notifyListenersAsync (in DeviceEventListener listener,
6885 in DeviceEvent event);
6887 Added DeviceEventListener and DeviceEvent structs (may deprecate
6888 KeyStroke and KeystrokeListener in favor of this generic
6889 event/listener framework for devices).
6891 * libspi/deviceeventcontroller.c:
6893 Changed some key listener code to take masks, etc., and paved the
6894 way for integration of toolkit/non-preemptive key events. Changed
6895 signatures of some internal methods.
6897 * at-bridge/bridge.c:
6898 Fixed regression connecting to interface signals, apparently
6899 caused by GTK+ changes.
6901 Added an internal bridge_state_listener to deal with
6902 property-change:accessible-state signals.
6904 Changed the key_listeners GList to store structs (including masks,
6905 etc.) instead of just CORBA_Objects (required for full
6906 implementation of key listener API).
6908 Connected the bridge to all currently supported Atk signals.
6909 Events now supported:
6910 object:property-change
6911 object:property-change:accessible-name
6912 object:property-change:accessible-state
6913 object:property-change:accessible-description
6914 object:property-change:accessible-parent
6915 object:property-change:accessible-value
6916 object:property-change:accessible-role
6917 object:property-change:accessible-table-caption
6918 object:property-change:accessible-table-column-description
6919 object:property-change:accessible-table-column-header
6920 object:property-change:accessible-table-row-description
6921 object:property-change:accessible-table-row-header
6922 object:property-change:accessible-table-summary
6923 object:children-changed
6924 object:visible-data-changed
6925 object:selection-changed
6926 object:text-selection-changed
6928 object:text-caret-moved
6930 object:row-reordered
6932 object:column-inserted
6933 object:column-reordered
6934 object:column-deleted
6935 object:model-changed
6937 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6939 * libspi/hyperlink.c,h:
6940 Fixed some broken stuff in hyperlink.
6942 * libspi/relation.h:
6943 * libspi/relation.c:
6944 * cspi/spi_accessible.c:
6945 Initial implementations of AccessibleRelation methods, and docs.
6947 * libspi/accessible.c:
6948 Fixed a bug that caused SEGV if an accessible
6949 object's description is NULL, and a client
6950 requests it. An empty string is now returned.
6952 * cspi/spi_editabletext.c:
6953 * cspi/spi_hypertext.c:
6955 * cspi/spi_hyperlink.c:
6959 Doc coverage now 95%.
6961 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6963 One last namespacing revision:
6964 * libspi/accessibleeventlistener.[ch]:
6965 Renamed SpiAccessibleEventListener to SpiEventListener,
6966 (no need for two namespaces ;-)
6968 And lots of documentation fixes:
6970 * docs/at-spi-docs.sgml:
6971 Fixed 'underscore vs. hyphen' bug that was preventing
6972 the gtk-doc API docs from being automatically generated.
6975 * cspi/spi-listener.h
6977 * cspi/spi_accessible.c
6979 * cspi/spi_application.c
6980 * cspi/spi_component.c
6981 * cspi/spi_editabletext.c
6983 * cspi/spi_hypertext.c
6985 * cspi/spi_registry.c
6986 * cspi/spi_selection.c
6990 * docs/at-spi-docs.sgml
6991 * docs/at-spi-sections.txt
6993 Added and fixed up gtk-doc documentation in cspi.
6995 Interfaces now (fully) documented (subject to revision and enhancement):
6997 Event Listener Support
6999 AccessibleApplication
7003 AccessibleEditableText
7010 AccessibleRelationSet
7015 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7017 * at-bridge/bridge.c:
7018 Initial work for toolkit-level key snooper connection by bridge.
7023 New typedefs and fixes to support new namespacing, and cleaner
7024 separation of cspi bindings from libspi bonobo implementation.
7025 Removed inconsistent and extraneous Spi* namespace prefix that
7026 had crept into cspi headers.
7027 Lots of comment fixes that sed had missed.
7029 * cspi/spi-roletypes.h:
7030 * cspi/spi-statetypes.h:
7031 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7032 to AccessibleRoleType.
7034 * libspi/accessibleeventlistener.h:
7035 Fixed minor namespacing weirdness.
7037 * libspi/deviceeventcontroller.c:
7038 Reordered some internal API for device listeners.
7039 Changed the key registry final boolean to 'is_system_global'
7040 rather than 'is_synchronous', which is more descriptive of its
7042 Added spi_device_event_controller_new().
7043 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7045 * libspi/keystrokelistener.[ch]:
7046 Namespaced KeystrokeListener to SpiKeystrokeListener.
7047 Changed uses of keymasks to use SPI_ prefix, and did other
7050 * libspi/keymasks.h:
7051 Namespaced keymask constants with SPI_ prefix.
7053 * libspi/registry.c:
7054 Some warning fixes, and knock-on fixes from namespace changes.
7057 Added rules for accessx-gui test program.
7059 * test/accessx-gui.c:
7060 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7061 utility. It doesn't actually use at-spi, but it's still cool and
7064 * test/keysynth-demo.c:
7068 Fixes so that these test clients work properly with the namespaced
7069 libraries. (Incompletely tested for technical reasons, fixes may follow)
7072 2001-11-13 Michael Meeks <michael@ximian.com>
7074 * libspi/application.c
7075 (impl_accessibility_application_get_version),
7076 (impl_accessibility_application_get_toolkit_name):
7078 (impl_accessibility_application_set_id),
7079 (impl_accessibility_application_get_id): remove
7080 redundant casting code.
7082 * libspi/action.c (impl_getDescription): fix warnings.
7084 * libspi/accessible.c
7085 (impl_accessibility_accessible_get_parent),
7086 (impl_accessibility_accessible_get_child_at_index),
7087 (impl_accessibility_accessible_get_state),
7088 (impl_accessibility_accessible_get_relation_set):
7089 warning fixes & include action.h
7091 2001-11-13 Michael Meeks <michael@ximian.com>
7093 * *.[ch] fix bits I screwed up:
7095 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7096 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7098 2001-11-13 Michael Meeks <michael@ximian.com>
7100 * *.[ch] Namespace libspi into spi_ and Spi.
7102 2001-13-11 Michael Meeks <michael@ximian.com>
7104 * Makefile.am: dist & install at-spi-1.0.pc
7106 * libspi/Makefile.am: install into at-spi-1.0
7108 * idl/Makefile.am (idldir): install into at-spi-1.0
7110 * at-spi-1.0.pc.in: add.
7112 * configure.in: build it.
7114 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7116 * test/keysynth-demo.c:
7117 Use a 'realize' signal-handler to set the WM properties for
7118 the virtual keyboard, rather than making it a "POPUP" type
7119 override-redirect window (thanks to anders carlsson for that
7122 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7125 * test/keysynth-demo.c:
7126 Added new test of key synthesis, which creates a simple
7127 (mouse-operated) onscreen keyboard. It inserts key events into
7128 the currently-focused window, thus it does not grab keyboard focus
7131 * cspi/spi_registry.c:
7132 Added C binding for AT-SPI generateKeyEvent.
7134 * libspi/deviceeventcontroller.c:
7135 Added call to XFilterEvent so that key listener works with XIM (we
7136 hope). Added event_synth_type to generateKeyEvent, so that we can
7137 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7138 synthesize a press/release pair for KeySyms.
7140 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7142 * libspi/Makefile.am:
7143 * registryd/Makefile.am:
7144 (temporary) hack to include libXtst in libspi and registryd.
7145 (Needed for keystroke synthesis, see below).
7148 Improved API for registerKeystrokeListener, in accordance with
7149 discussions with Gnopernicus team and X server research.
7151 * libspi/registry.c:
7152 * libspi/deviceeventcontroller.c:
7153 * libspi/accessible.c:
7154 * libspi/keystrokelistener.c:
7155 Changes and fixes to support keylisteners for potentially
7156 consumed key events (that is, 'passive grabs').
7157 Added implementation for generateKeyEvent() [untested].
7160 Changes to registerKeystrokeListener() API, as above.
7161 Added deregisterGlobalEventListenerAll(), and
7162 deregisterKeystrokeListener(), which are needed for clean exit of
7164 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7165 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7167 * cspi/spi_registry.c:
7168 Added implementations of function prototypes mentioned above.
7170 * registryd/registryd.c:
7171 Added the key listener event source as a g_timeout(), to allow
7172 receipt of key events that are not caught by GDK (since GDK
7173 doesn't support passive keygrabs, this was necessary).
7176 Changed to attach a keylistener to 'Alt' keys, and
7177 respond to the following keycommands: Alt-M (toggle magnifier);
7178 Alt-F (toggle speech); Alt-Q (quit).
7179 Added an exit routine to deregister the listeners, and a key
7180 listener that prints some key info to the console when a key
7181 matches the listener mask (and is thus received by the listener).
7183 * util/idl/Magnifier.idl:
7184 Changes to magnifier API to support multiple zoom regions,
7185 non-uniform scaling in x and y, markDirty, and a host of other
7186 features that would be useful to magnification.
7189 * util/mag_client.c:
7190 * util/mag_client.h:
7191 * util/mag_control.c:
7193 Source code changes to support the above IDL changes.
7196 As above, and also changes to use a (slower) generic conversion
7197 path for colormap conversions, since the fast RGB conversions have been
7198 reported to fail for 16-bit displays.
7200 2001-10-26 Michael Meeks <michael@ximian.com>
7202 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7204 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7206 * at-bridge/Makefile.am: fix LDFLAGS.
7208 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7210 * at-bridge/bridge.c:
7211 Re-worked listeners for toolkit events, now we have signal
7212 and property listeners. Added a private method
7213 register_atk_event_listeners(), which registers with the
7214 various atk and gtk signals we need to monitor in order to emit
7216 Added emission hook for AtkObject:property-change events, to
7217 support the 'property listeners'.
7218 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7221 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7222 which emit warnings and exit, respectively, if CORBA errors occur
7223 during remote calls, and we now use these methods to check most of
7224 our CORBA calls in the C bindings.
7226 * cspi/spi_accessible.c:
7227 Changed AccessibleSelection_refSelectedChild() to
7228 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7229 now increment refcounts.
7231 * cspi/spi_component.c:
7232 Fixed some long pointer casts (dangerous!) to pass pointers to
7233 CORBA_longs of the proper type to the CORBA stubs, and copy the
7234 data into the longs that were passed into the C bindings code.
7236 * at-bridge/bridge.c:
7238 * libspi/accessible.c:
7239 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7240 hyperlinks, AtkHyperlink is an object type.
7242 * libspi/application.c:
7243 Added various conversions to and from "generic" event types and
7244 atk-specific types; this is really part of the 'bridge'
7245 implementation but is valid for all AtkObject-based accessibility
7248 * libspi/editabletext.c:
7249 Fixed nasty bug wherein editable text's finalize method was
7250 unref'ing tha AtkObject reference that the text parent class was
7251 about to unref _again_. There was also a nasty inheritance bug
7252 that meant that the AccessibleEditableText class was corrupt.
7254 * libspi/selection.c:
7255 Provided implementations for some selection API that was broken.
7257 * idl/Application.idl:
7258 Added registerObjectEventListener () method.
7261 Fixed a number of return values that were Bonobo_Unknowns from
7262 bonobo_object_corba_objref(), which I
7263 forgot to dup before returning. Changed instances of
7264 bonobo_object_corba_objref (bonobo_object(o)) to
7265 BONOBO_OBJREF(o), for concision and clarity.
7267 2001-10-13 Louise Miller <louise.miller@sun.com>
7269 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7270 idl/Event.idl, idl/Registry.idl
7271 Changed these files to include Bonobo_Unknown.idl instead
7274 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7276 * libspi/component.c libspi/component.h:
7277 Fixed typo. Added assertions for object checks in
7278 AccessibleComponent code.
7280 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7282 * idl/Accessible.idl:
7283 Added 'isEqual (Accessible *object)'
7284 method for Accessible. (Not Yet Implemented).
7287 Changed signature of registerKeystrokeListener() to
7288 take a KeySet and KeyEventSeq so that specific keys and event
7289 types could be requested for monitoring, and added a flag
7290 is_synchronous so that either synchronous or asynchronous
7291 notification could be requested. (However this is not all
7292 implemented yet). This also meant adding two new typedefs,
7293 KeyEventSeq and KeySet.
7296 Added two new relations, RELATION_TOOLTIP_FOR and
7297 RELATION_LEAFNODE_OF.
7300 Added new state, STATE_HAS_TOOLTIP.
7302 * libspi/text.c, editabletext.c:
7303 Added new assertions to all casts of bonobo-objects from
7304 CORBA servants, to prevent Text API calls on non-text objects.
7305 Changed suspect casts of int-pointer types, so that we
7306 always send a valid CORBA_long pointer to the CORBA APIs that use
7307 in/out long parameters. We then have to copy from the CORBA_long
7308 into the regular long or int for return to the C bindings, or
7309 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7312 * libspi/deviceeventcontroller.c:
7313 Cleaned these sources up.
7315 Changed return type for getCharacterAtOffset to
7316 CORBA_unsigned_long, to allow for 32-bit characters.
7319 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7323 Fixed 'make dist' so that distro compiles...
7324 * libspi/keymasks.h:
7326 * cspi/spi-listener.c:
7327 KeystrokeListenerCB now returns a boolean.
7329 Added KeyEventType struct, and KeyStroke.
7330 Also added createKeystrokeListener(),
7331 KeystrokeListener_addCallback(),
7332 KeystrokeListener_removeCallback(), and added a keymask to
7333 registerKeystrokeListener().
7334 * cspi/spi_accessible.c:
7335 Changed numerous return types for interfaces from
7336 AccessibleComponent to Accessible<InterfaceName>; this was
7337 probably a cut-and-paste error.
7339 Implementations of new KeystrokeListener api (from spi.h,
7342 Changes to key modifier mapping.
7343 Created ControllerEventMask struct.
7344 Made DeviceEventController derive from Bonobo::Unknown.
7346 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7347 * libspi/deviceeventcontroller.c:
7348 Added a number of new internal (private) methods.
7349 * libspi/editabletext.c:
7350 * libspi/editabletext.h:
7351 Fixed a number of bugs related to the fact that
7352 editabletext inherits from text. Fixed the EditableText struct,
7353 the init() call, and use correct casts when calling Text methods
7354 from an EditableText object. Removed (duplicate) atko from the
7355 EditableText structure, we use the one in the parent Text
7356 structure via the casts mentioned above.
7357 * libspi/keystrokelistener.[ch]:
7358 * libspi/registry.c:
7359 Changes in support of keyboard handling (above).
7361 Keyboard handling, though partly functional, is still not
7362 recommended for at-spi client use as there is considerable
7363 work yet to be done.
7366 Changed some places where pointers to various int types
7367 are cast to be pointers to CORBA_long types and vice-versa:
7368 pointer casting is not safe so we pass pointers of the correct
7369 types and then cast the result before putting it into the target
7372 * libspi/text.h: minor typos corrected.
7374 We now speak not only the name of a Text element, but the
7375 first sentence of its content, when it receives focus.
7376 I also changed the text compression to 75% from 50%.
7377 * util/Accessibility_Util.server.in:
7378 Changed the default magnifier type to be a 3x vertical
7379 splitscreen magnifier (was previously a 2x horizontal one).
7381 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7383 * libspi/keystrokelistener.h:
7384 * libspi/keystrokelistener.c:
7385 Initial functional implementations of KeystrokeListener.
7388 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7390 Fixed string handling for NULL strings in libspi.
7391 Added spi_freeString to free strings returned by C bindings.
7393 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7395 * libspi/keystrokelistener.h:
7396 * libspi/keystrokelistener.c:
7397 Began (no-op) implementations of KeystrokeListener
7399 * libspi/deviceeventcontroller.c:
7400 * libspi/deviceeventcontroller.h:
7401 Began creating implementations of DeviceEventController,
7402 to handle keystroke and mouse event listening and
7404 * libspi/accessible.c:
7405 Stubbed-in the implementations for
7406 Accessibility_Accessible_getState and
7407 Accessibility_Accessible_getRelationSet.
7408 * libspi/registry.c:
7409 Improved de-registration process and fixed some bugs,
7410 deregistration now works correctly.
7412 Added initialization of applications list (to NULL).
7414 Reduced speech compression from 0.5 to 0.7, for demo.
7415 Changed call to gdk_window_set_decorations()
7416 to gtk_window_set_decorated().
7417 * at-bridge/bridge.c:
7418 Bridge now deregisters when app exits, via
7419 registration of a cleanup function
7420 with the g_atexit() call.
7421 Required making 'app' static, renamed 'this_app'.
7422 Fixed broken use of bonobo_init, passing argv wrongly.
7424 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7428 Created a new directory for
7429 accessibility-related utilities, primarily for
7430 testing and demo purposes, but with possible
7437 Onscreen magnifier utility that
7438 is implemented as a bonobo service.
7440 * util/mag_client.c:
7441 * util/mag_client.h:
7442 Client-side support (simple C bindings)
7443 for Magnification service
7445 * util/mag_control.c:
7446 Client program example for
7447 Magnification service
7449 * util/Accessibility_Magnifier.server.in:
7450 Bonobo-activation file for the
7451 Magnification service.
7454 * util/idl/Magnifier.idl:
7455 IDL defining the bonobo Magnification
7459 Modifications to use the bonobo-activated magnifier
7460 above, in place of trying to connect to an existing
7461 magnifier that uses socket-listening IPC.
7463 If env variable MAGNIFIER is set, a magnifier service
7464 will be started if one does not exist.
7466 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7468 * at-bridge/bridge.c:
7469 applied patch from Marc to build and run
7470 against new glib and gtk+ (seemed like a change
7471 to bonobo_init signature was made ?)
7473 made festival-server support turned off by default.
7474 Added support for a simple magnifier (off by default)
7475 which will be added to a 'util' directory later.
7476 * at-bridge/Makefile.am:
7477 Changed "application.h" header from a 'source'
7478 to a 'dependency' of libat-bridge.
7480 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7489 Added interface implementation c files to list of
7490 includes so they are included in libcspi.
7493 Changed prototype of AccessibleAction_doAction to return a
7495 Changed prototype of AccessibleTable_getCaption to
7496 return an Accessible.
7497 Changed prototype of AccessibleTable_getSelectedRows
7498 and AccessibleTable_getSelectedColumns to
7499 return a long (returns the number of selected rows
7500 or columns respectively).
7501 Changed name of AccessibleText_refRunAttributes to
7502 AccessibleText_getAttributes.
7503 Changed prototype of AccessibleText_getCharacterExtents to
7504 return a void rather than a boolean.
7505 Added support for a AccessibleCoordType parameter
7506 specifying what type of coordinates are desired.
7507 Added an AccessibleCordType parameter to
7508 AccessibleText_getPointAtOffset.
7510 * cspi/spi_accessible.c:
7511 Added code to return the outstanding interfaces from
7512 Accessible_queryInterface.
7514 * cspi/spi_action.c:
7516 Corrected call to getNActions to call the c binding
7519 * cspi/spi_editabletext.c:
7521 Changed name from setRunAttributes to setAttributes.
7523 * cspi/spi_hyperlink.c:
7525 Changed call to getNAnchors to correctly call the c
7526 binding for an attribute.
7528 * cspi/spi_hypertext.c:
7530 Changed getImageDescription to correctly call the
7531 binding for an attribute.
7533 * cspi/spi_selection.c:
7534 Changed getNSelectedChildren to correctly call the c
7535 binding for the attribute.
7536 Changed refSelectedChild to getSelectedChild.
7540 Changed getCaption to return an Accessible.
7541 Fixed calls which retrieve attributes.
7542 Changed refAt to getAccessibleAt.
7543 Changed getNSelectedRows and getNSelectedColumns to
7547 Changed getCharacterExtents and getPointAtOffset to accept an
7548 AccessibleCoordType.
7550 Changed calls which retrieve attributes.
7551 Changed refRunAttributes to getAttributes.
7556 * idl/Hyperlink.idl:
7557 Changed n_anchors attribute to nAnchors to keep naming
7558 convention consistent.
7561 Made Table inherit from Bonobo::Unknown.
7562 Added nSelectedColumns and nSelectedRows attributes.
7565 Made Value inherit from Bonobo::Unknown.
7567 * libspi/hyperlink.c:
7568 Change for nAnchors attributte name change.
7570 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7578 Added interface implementation c files to list of
7579 includes so they are included in libcspi.
7582 Changed prototype of AccessibleAction_doAction to return a
7584 Changed prototype of AccessibleTable_getCaption to
7585 return an Accessible.
7586 Changed prototype of AccessibleTable_getSelectedRows
7587 and AccessibleTable_getSelectedColumns to
7588 return a long (returns the number of selected rows
7589 or columns respectively).
7590 Changed name of AccessibleText_refRunAttributes to
7591 AccessibleText_getAttributes.
7592 Changed prototype of AccessibleText_getCharacterExtents to
7593 return a void rather than a boolean.
7594 Added support for a AccessibleCoordType parameter
7595 specifying what type of coordinates are desired.
7596 Added an AccessibleCordType parameter to
7597 AccessibleText_getPointAtOffset.
7599 * cspi/spi_accessible.c:
7600 Added code to return the outstanding interfaces from
7601 Accessible_queryInterface.
7603 * cspi/spi_action.c:
7605 Corrected call to getNActions to call the c binding
7608 * cspi/spi_editabletext.c:
7610 Changed name from setRunAttributes to setAttributes.
7612 * cspi/spi_hyperlink.c:
7614 Changed call to getNAnchors to correctly call the c
7615 binding for an attribute.
7617 * cspi/spi_hypertext.c:
7619 Changed getImageDescription to correctly call the
7620 binding for an attribute.
7622 * cspi/spi_selection.c:
7623 Changed getNSelectedChildren to correctly call the c
7624 binding for the attribute.
7625 Changed refSelectedChild to getSelectedChild.
7629 Changed getCaption to return an Accessible.
7630 Fixed calls which retrieve attributes.
7631 Changed refAt to getAccessibleAt.
7632 Changed getNSelectedRows and getNSelectedColumns to
7636 Changed getCharacterExtents and getPointAtOffset to accept an
7637 AccessibleCoordType.
7639 Changed calls which retrieve attributes.
7640 Changed refRunAttributes to getAttributes.
7645 * idl/Hyperlink.idl:
7646 Changed n_anchors attribute to nAnchors to keep naming
7647 convention consistent.
7650 Made Table inherit from Bonobo::Unknown.
7651 Added nSelectedColumns and nSelectedRows attributes.
7654 Made Value inherit from Bonobo::Unknown.
7656 * libspi/hyperlink.c:
7657 Change for nAnchors attributte name change.
7660 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7662 implementations-- made server implementations own AtkObject pointers
7663 rather than their respective AtkInterrface pointers to fix
7664 refcounting. AtkHyperlink is still broken.
7666 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7667 * cspi/spi_accessible.c:
7668 Added method Accessible_Role_getName(),
7669 and requisite string array (role_names).
7670 Added conversion string_from_corba_strin() call
7671 to Accessible_getName and _getDescription.
7672 * libspi/accessible.c:
7673 Added implementation for Accessible_getRole()
7675 Added festival support, used if environment variable
7678 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7680 * at-bridge/bridge.c:
7681 Now allocate Accessibility_Event using
7682 Accessibility_Event__alloc() instead of g_new0().
7683 * libspi/accessibleeventlistener.c:
7684 Initialize AccessibleEventListener->callbacks to NULL.
7685 Fixed accessible__event_listener_init() param, changed to
7686 "AccessibleEventListener *" type.
7687 Changed a bonobo_object_release_unref() call to
7688 Accessibility_Accessible_unref().
7689 * libspi/listener.c:
7690 Changed Bonobo_Unknown_unref to (equivalent)
7691 Accessibility_Accessible_unref.
7692 * libspi/registry.c:
7693 Changed bonobo_object_release_unref to
7694 Accessibility_Accessible_unref.
7696 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7699 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7700 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7701 spi-util.c spi-util.h
7702 Implementations for C bindings to remaining accessibility
7705 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7708 changed return value of Action from void to boolean to
7709 bring in line with ATK.
7712 Changed getText funcions to return "out" start and end offsets.
7713 Changed getAttributes to take and offset and return the start
7714 and end offset of the attribute run.
7715 Changed getOffsetAtPoint and getCharacterExtents to take an
7716 enum describing whether coordinates are window or screen.
7719 libspi/action.c libspi/action.h libspi/editabletext.c
7720 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7721 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7722 libspi/image.h libspi/selection.c libspi/selection.h
7723 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7724 libspi/value.c libspi/value.h
7725 Added server implementations for outstanding ATK interfaces
7726 not yet implemented.
7728 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7731 Added (missing) getName() method.
7732 Made nActions an attribute.
7733 * idl/EditableText.idl:
7734 Changed order of params in setAttributes.
7735 * idl/Hyperlink.idl:
7736 Removed getAnchor, added getURI.
7738 Changed attributes to methods, for efficiency
7739 (so that getting extents can be done in one call)
7740 * idl/Selection.idl:
7741 Changed nSelectedChildren to attribute, and re-indented.
7742 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7744 * idl/Text.idl: reformatted to match our coding style.
7745 (temporarily?) removed getRowColumnAtOffset().
7746 Changed text selection API to support multi-select and
7747 non-contiguous selections, as in ATK.
7748 * idl/Value.idl: changed some methods to attributes.
7750 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7752 * libspi/listener.c(impl_notify_event):
7753 BonoboUnkown_unref the source instead
7754 of bonobo_object_release_unref - the ORB
7755 handles the releasing.
7757 * configure.in: require ORBit-2.3.94 for
7760 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7762 Tagged CVS repository 'EA_1_0'.
7763 * README.EARLY_ACCESS:
7764 Alphabetized acknowledgements list, and
7766 Listed some known dependencies of at-spi.
7768 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7770 * docs/at-spi-docs.sgml:
7771 * docs/at-spi-sections.txt:
7772 * docs/at-spi-overrides.txt: (Added zero-length file)
7773 Documentation improvements - gtk-doc should build
7774 docs for all implemented C bindings now.
7777 * cspi/spi.c: (New file)
7778 * cspi/spi_event.c: (New file)
7779 * cspi/spi_registry.c: (New file)
7780 * cspi/spi_accessible.c: (New file)
7781 * cspi/spi_application.c: (New file)
7782 * cspi/spi_component.c: (New file)
7783 Split spi_main.c into six parts, and included them from
7784 "spi.c". This is a bit of a hack, probably temporary,
7785 but required by gtk-doc, apparently.
7787 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7790 * docs/at-spi-docs.sgml:
7791 * docs/at-spi-sections.txt:
7793 Initial checkins/modifications for gtk-doc generation.
7796 Added (missing) interface query methods to Accessible's C binding.
7798 Added GenericInterface type definition.
7800 Added query for AccessibleComponent interface to focus event handler.
7801 Added printout of bounding box for focussed component.
7802 * libspi/component.c:
7803 Added partial implementation for AccessibleComponent to C binding.
7804 * idl/Application.idl:
7805 * libspi/registry.c:
7806 * libspi/listener.c:
7807 * libspi/application.c:
7808 * libspi/application.h:
7809 Changed "ID" attribute type from string to long.
7811 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7815 Made method naming consistent: methods taking object args
7816 start with uppercase, other methods (except those using
7817 acronyms) start with lowercase. Underscores delimit between
7818 object names and method names:
7819 SPI_init() - uppercase since it starts with an acronym.
7820 getDesktopCount () - lowercase start since no object param0.
7821 Accessible_getName() - uppercase object type name, studlyCaps method
7825 Added gtk-doc documentation for all currently implemented
7826 methods in the C bindings API.
7828 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7830 * Makefile.am : changed build order to build test last.
7833 Changed "createEventListener" to "CreateEventListener".
7834 * libspi/accessibleeventlistener.c :
7835 Bugfix for addition of callbacks.
7836 * test/Makefile.am :
7837 * test/simple-at.c :
7838 Added new test that uses the C bindings API.
7840 * libspi/listener.c :
7841 * libspi/registry.c :
7842 * libspi/accessibleeventlistener.c :
7843 * at-bridge/bridge.c :
7844 Renamed member "target" of Accessibility_Event to "source",
7845 which is more descriptive.
7848 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7852 * cspi/Makefile.am :
7853 Added makefile support for at-spi/cspi directory.
7856 * cspi/spi-listener.h : (NEW FILE)
7857 Added support for/use of spi-listener.h.
7859 C bindings now build successfully, with no warnings.
7860 * libspi/accessibleeventlistener.h : (NEW FILE)
7861 * libspi/accessibleeventlistener.c : (NEW FILE)
7862 * libspi/Makefile.am :
7863 Added new object type "AccessibleEventListener"
7864 which inherits from Listener, and allows attachment
7865 of in-process callbacks (so that a client with a listening
7866 object instance can add functionality to the local
7867 implementation, dynamically).
7869 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7871 * libspi/accessible.c:
7872 Add implementation for get_index_in_parent().
7874 Added #include of "spi-roletypes.h", and
7875 added enumerated type AccessibleCoordType.
7876 Added definition for KeystrokeListener (function type).
7879 * cspi/spi-statetypes.h :
7880 * cspi/spi-roletypes.h :
7882 Added these headers, used by spi.h.
7884 Added code (NOTE: not yet built by make).
7886 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7888 * libspi/Makefile.am: generate imodule
7889 at the same time as other idl compiler
7892 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7893 * libspi/registry.c :
7894 * libspi/application.c :
7895 * idl/Application.idl :
7896 Made registration with toolkit an application method,
7897 which is required since each app has its own toolkit static
7898 environment. Thus the bridge must register for
7899 notification of toolkit events from each application in turn.
7900 Toolkit notifications are now successfully registered for, and
7901 sent to the listening at client.
7903 Changed toolkit event string to use hyphens rather than underscores.
7904 * libspi/listener.c :
7905 listner now gives more info in debug mode - it reports the
7906 name of the event received, as well as the name of the source.
7909 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7911 * libspi/registry.c :
7912 added more implementation for toolkit events.
7913 Fixed bug such that toolkit event registrations
7914 (via atk) use the whole event name string, not
7916 Removed a useless call to an ORBit_ method.
7917 * at-bridge/bridge.c :
7918 Removed unused local sbuf[] variable.
7920 We now register for Gtk:GtkWidget:button_press_event
7921 events as well as "focus:" events.
7923 Add some more API from Registry.idl that was missing,
7924 for keystroke listening, keystroke and mouse event
7925 synthesis, and enumeration of accessible desktops.
7927 2001-08-16 Michael Meeks <michael@ximian.com>
7929 * configure.in: use AM_GLIB_GNU_GETTEXT.
7931 * Makefile.am (SUBDIRS): kill intl.
7933 2001-08-15 Michael Meeks <michael@ximian.com>
7935 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7937 * configure.in: upd.
7939 * configure.in: depend on a recent bonobo-activation that
7940 will find our server files ...
7942 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7944 * libspi/accessible.c : accessible_new() :
7945 Now we add the Component interface via bonobo_object_add_interface,
7946 if the contained AtkObject implements AtkComponent.
7947 * libspi/accessible.h : now include "component.h"
7948 * libspi/component.h :
7949 * libspi/component.c : added files - implementation of
7950 bonobo wrapper object for Accessibility/Component
7951 * libspi/listener.c :
7952 Added test code to check for Accessibility/Component:1.0
7953 interface and report whether it is implemented by the
7955 * libspi/registry.c :
7956 Now we check for not only the hash of the whole event
7957 string before relaying the event, we also check the
7958 "minor" event string (without the detail string).
7959 This allows event listeners to be registered against
7960 all events of a certain major+minor type, or just
7961 against a specific major+minor+detail type.
7962 * libspi/accessible.c :
7963 Added implementations for Accessible:get_parent(),
7964 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7965 * libspi/registry.c :
7966 * libspi/listener.c :
7967 Replaced calls to Accessibility_Accessible_ref() and
7968 Accessibility_Accessible_unref() with
7969 calls to bonobo_object_dup_ref() and
7970 bonobo_object_release_unref(), so that the CORBA object
7971 is dup-ed and released when relayed, as well as the bonobo object.
7973 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7975 * libspi/Makefile.am,
7976 registryd/Makefile.am,
7977 at-bridge/Makefile.am.
7978 test/Makefile.am, configure.in:
7979 reverse previous changes.
7981 * /idl/Image.idl: fix typo.
7983 * test/Makefile.am: put DEBUG_FLAGS
7986 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7988 * test/app.c: use argv[0] instead of
7991 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7993 * libspi/Makefile.am,
7994 registryd/Makefile.am,
7995 at-bridge/Makefile.am.
7996 test/Makefile.am, configure.in:
7997 cleanup, replace individual LIBS/CFLAGS with
7998 AT_COMMON_{LIBS|CFLAGS}.
8002 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8004 * configure.in, libspi/Makefile.am:
8005 Change IDL path checking for bonobo-activation
8008 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8010 * registryd/registry.c : separated event listeners to use
8011 3 separate lists (focus, window, toolkit). Began testing
8012 event names against hashes before relaying events.
8013 * test/at.c : now register for events of type "focus:"
8014 * test/app.c : now generate events of type "focus:"
8015 * at-bridge/bridge.c : register with ATK for focus events,
8016 and we now relay those focus events to any "focus:" listeners.
8017 This now works with the bridge as a GTK_MODULE when running test/at.
8018 * libspi/registry.c :
8019 * libspi/listener.c :
8020 now we ref event sources before propagating, and unref on receipt.
8021 * libspi/registry.c :
8022 some changes to internal structs, to support event typestring hashes.
8023 * text/app.c : changed the way the appname is generated.
8024 * cspi : added directory that will hold the C bindings library for
8025 non-CORBA/bonobo-savvy clients.
8026 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8027 * idl/Component.idl : added in parameter to indicate coord system for
8028 geometry-related calls.
8029 * idl/Hyperlink.idl : added readonly n_links attribute
8030 * idl/Image.idl : changed methods to attributes.
8032 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8034 * at-bridge/Makefile.am: link against
8035 ../libspi/libspi.la instead of -lspi.
8037 * at-spi/test/app.c: include
8038 bonobo-activation.h. Use a default appname
8039 if one is not provided.
8041 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8043 * idl/Registry.idl : temporarily changed register_Application
8044 to oneway, to work around issue with initial registration
8046 * idl/Application.idl : changed attribute "id" from readonly
8047 to read-write, since it needs to be assigned by Registry.
8048 * registryd/registryd.c : added call to set application id
8050 * registryd/registry.c : changed de-registration procedure to
8051 use CORBA_Object_hash() to find matching object ref in application
8052 lists and listener lists.
8053 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8054 began distinguishing between event types (work in progress).
8056 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8059 * libspi/application.c:
8060 Added implementations for get/set id, get_toolkitName,
8062 * registryd/registryd.c :
8066 Converted from use of OAF to bonobo-activation.
8067 * libspi/desktop.h :
8068 * libspi/desktop.c :
8070 Removed references to atksimpleobject, since base atkobject
8071 implementation now provides functionality we need.
8072 * libspi/atksimpleobject.c :
8073 * libspi/atksimpleobject.h :
8078 * at-bridge/Makefile.am
8079 * at-bridge/bridge.c
8082 Added directory "bridge" and contents, and added dependencies
8083 in Makefile.am/configure.in.
8084 Initial checkin of "at-bridge".
8085 This code is a GTK_MODULE which automatically registers
8086 GTK+ apps with the accessibility registry, using an object
8087 reference to the root ATK object.
8089 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8091 * po/Makefile.in.in: Remove. Again. If this
8092 doesn't get autogenerated - you need to update
8095 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8097 * po/Makefile.in.in: Add. Again.
8099 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8101 * libspi/accessible.c : added support for 'description' property.
8102 * libspi/accessible.c
8104 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8105 (since the two are now equivalent in libbonobo)
8113 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8114 Bonobo::Unknown as does Accessibility::Accessible.
8115 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8116 interface with Bonobo::Stream, since it was redundant with it.
8117 (The Stream returned by a StreamableContext object is expected to
8118 implement only a subset of Bonobo::Stream)
8120 2001-07-28 Anders Carlsson <andersca@gnome.org>
8122 * libspi/accessible.c (accessible_object_finalize): Change
8123 g_free to g_object_unref since the AtkObject is a GObject.
8125 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8127 * idl/Accessibility.idl: add new IDL files
8130 * idl/Action.idl: Definitions of actionable UI object
8131 * idl/Component.idl: Definitions of UI component geometry, etc.
8132 * idl/Hyperlink.idl: Defs of hyperlink behavior
8133 * idl/Image.idl: Def of accessible image
8134 * idl/Selection.idl: Definition of UI object with selectable children
8135 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8136 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8137 * idl/Text.idl: Interface defs for UI elements with complex textual content
8138 * idl/Value.idl: Definition of UI element that is a value controller or display
8140 2001-07-27 Michael Meeks <michael@ximian.com>
8142 * po/Makefile.in.in: remove autogenerated file from CVS.
8144 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8147 * idl/Registry.idl: include guard.
8149 * idl/Accessibility.idl: Add, and include all the other IDL
8152 * idl/*.idl: remove mass of pragmas etc.
8154 2001-07-26 Michael Meeks <michael@ximian.com>
8156 * registryd/Makefile.am (registryd_SOURCES): remove
8159 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8161 * libspi/.cvsignore, registryd/.cvsignore,
8162 test/.cvsignore: updated.
8164 * po/Makefile.in.in: gettext update.
8166 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8168 * initial CVS checkin
8170 2001-06-29 Michael Meeks <michael@ximian.com>
8172 * configure.in: add AM_CONFIG_HEADER to gen config.h