1 2006-11-07 Bill Haneman <bill.haneman@sun.com>
3 Patches from Padraig O'Briain for bugs #361386 and #369377.
5 * registryd/registry.c:
6 (struct NotifyContext): Change the e_out
7 member from an Accessibility_Event struct to a pointer to
9 (notify_listeners_cb): Modify to use the new struct definition above.
10 Allows use of ORBit_copy_value instead of CORBA_any__copy.
12 * registryd/deviceeventcontroller.c:
13 (spi_dec_button_update_and_emit): Free the event's any_data
15 (spi_dec_mouse_check):Free the event details any struct
17 (spi_device_event_controller_forward_mouse_event): Free any.
18 (spi_device_event_controller_forward_key_event): Ditto.
20 2006-11-07 Bill Haneman <bill.haneman@sun.com>
22 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
23 Don't require gtk+ and gail for building most of at-spi
26 * registryd/registry-main.c (main): We now get te value of display
27 using the env var DISPLAY rather than using the gdk_display_get_default
28 to avoid dependancy of gdk. Also, once the registry is started, we set
29 the ior of the registry as an X property.
30 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
32 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
33 the registration was successfull.
34 (spi_atk_bridge_do_registration): This function now returns success
35 or not on activating the registry.
36 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
37 has been set in the X root window and return it if available.
38 (spi_atk_bridge_get_registry): We now get the registry using the IOR
39 saved as a X property rather than using the OAFID.
41 2006-10-01 Bill Haneman <bill.haneman@sun.com>
43 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
45 2006-09-25 Bill Haneman <bill.haneman@sun.com>
47 * registryd/registry.c:
48 (desktop_remove_application): Don't pass a ref to the
49 dead application with the event, since it's probably
50 defunct and will cause SEGV if we try to unref,
51 extract app name, etc.
54 2006-09-20 Bill Haneman <bill.haneman@sun.com>
56 Patch from Neo Liu <nian.liu@sun.com>,
59 * atk-bridge/bridge.c:
60 (spi_atk_bridge_document_event_listener): New, for
63 2006-08-30 Bill Haneman <bill.haneman@sun.com>
66 Changed some parameter names so as not to
67 collide with class names - allows IDL to be compiled with
68 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
70 2006-08-22 Bill Haneman <bill.haneman@sun.com>
72 * atk-bridge/bridge.c:
73 (spi_atk_bridge_signal_listener):
74 Patch from Ginn Chen, assign detail1 in children-changed
75 so that the child object can be assigned to the Any when the
76 at-spi event is emitted. Bug #350552.
78 * libspi/application.c:
79 (spi_application_finalize): Remove g_print debug output.
82 2006-08-21 Bill Haneman <bill.haneman@sun.com>
84 * configure.in: Revved to AT-SPI 1.7.11.
86 * libspi/accessible.c:
87 (spi_accessible_new): Aggregate Hyperlink interface
88 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
91 (spi_hyperlink_new): Don't aggregate Action a second time if this
92 interface is created for an AtkHyperlinkImpl object (i.e. for a
93 child Accessible, as opposed to the Hyperlink instance from
95 (get_hyperlink_from_servant): Obtain the hyperlink from
96 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
98 Patch section from Ginn Chen...
100 * cspi/spi_accessible.c:
101 (_cspi_accessible_set_from_sequence):
102 Changed g_newa to g_new0 on Ginn Chen's suggestion.
104 * libspi/accessible.c:
105 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
106 (spi_accessible_new): Add the Document interface if present.
109 (impl_getAttributes): Fixed to use AtkAttribute properly.
112 (impl_getAttributes, impl_getDefaultAttributes):
113 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
115 2006-08-17 Bill Haneman <bill.haneman@sun.com>
117 * cspi/spi-private.h, cspi/spi_accessible.c:
118 (_cspi_attribute_set_from_sequence): Renamed from
119 cspi_attribute_set_from_sequence, to suppress export.
122 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
123 inline docs, which was keeping the doc from appearing.
124 (SPIExceptionHandler): Doc this.
126 * cspi/spi_document.c:
127 Added inline gtk-docs cut-n-pasted from the doxygen
128 docs in the corresponding IDL files.
129 (AccessibleDocument_getAttributes): Fix the retval here.
131 * cspi/spi_streamablecontent.c:
132 Fixed some 'Since' tags that were accidentally doxygen-style.
135 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
136 docs from the IDL file.
138 * docs/reference/cspi/at-spi-cspi-docs.sgml:
139 Added entities for Document and StreamableContent interfaces.
141 * docs/reference/cspi/at-spi-cspi-sections.txt:
142 Added some docs that were present inline but not getting
145 2006-07-31 Bill Haneman <bill.haneman@sun.com>
148 (impl_getRangeExtents): Use the atk_text_get_range_extents
149 API instead of looping over character bounds, now that
151 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
152 (_spi_text_bounds_contain): Remove, not needed anymore.
153 (_spi_text_rect_union): Remove, not needed anymore.
155 2006-07-31 Bill Haneman <bill.haneman@sun.com>
157 * atk-bridge/bridge.c:
158 (spi_atk_emit_eventv): Fix the CORBA_free call which was
159 causing 64-bit troubles and memory leaks.
160 Special thanks to Alexander Larsson who finally seems to
161 have tracked down the problem, not just here but in
165 (spi_init_any_object): Make sure we copy the CORBA value
166 when initializing an object for passing as a CORBA_Any.
169 2006-07-21 Bill Haneman <billh@gnome.org>
171 * idl/Accessibility.idl:
172 Reverted pragma changes, this broke the build in some envs
173 including the Debian team's build and some tinderbox builds.
175 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
178 Revved to 1.7.10, and edited the Xevie check (bug #319994).
180 * idl/Accessibility.idl:
181 Reworked inclusion of Bonobo_Unknown.idl, to
182 avoid double-linking libs in the Bonobo environment.
183 Thanks to Michael Meeks for the workaround, see bug #313122.
185 * registryd/deviceeventcontroller.c:
186 (spi_controller_notify_keylisteners):
187 Set the SPI_NUMLOCK_MASK bit if the modifier
188 corresponding to the conceptual numlock state is set.
191 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
193 * idl/Accessibility_Selection.idl:
194 (deselectChild): New method.
196 * libspi/selection.c:
197 (impl_deselectChild): Implement the new IDL method.
200 (AccessibleSelection_deselectChild): Added new method.
202 * cspi/spi_selection.c:
203 (AccessibleSelection_deselectChild): New method implemented.
205 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
207 * cspi/bonobo/cspi-bonobo.c:
208 (cspi_init): Replace g_error with g_warning, prevent
209 SEGV if the registry cannot be activated. Bug #346393.
211 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
213 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
215 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
216 2006-07-12 Ariel Rios <arios@us.ibm.com>
220 * idl/Accessibility_Table.idl:
221 (getRowColumnExtentsAtIndex): New method for getting
222 selection status and extents in one API call.
225 (impl_getRowColumnExtentsAtIndex): Implementation of
227 (spi_table_class_init): Add above to epv.
231 (AccessibleTable_getRowColumnExtentsAtIndex): New
232 method, retrieves selection status and row/col extents
233 for a table cell in a single API call.
235 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
236 2006-07-12 Ariel Rios <arios@us.ibm.com>
238 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
241 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
242 New bindings for new methods defined in idl and libspi.
245 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
246 Added prototype functions.
249 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
251 (spi_text_class_init): Added previous methods.
254 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
255 * libspi/spi-private.h: Corrections.
257 2006-06-29 Bill Haneman <bill.haneman@sun.com>
259 Added Document interface (see bug #326520),
260 with work from Ariel Rios <arios@us.ibm.com>.
262 * configure.in: Bump to 1.7.8.
264 * libspi/Makefile.am: Added document.[ch] to sources
267 (SpiDocument, SpiDocumentClass):
268 New interface implementation.
269 (spi_document_get_type, spi_document_construct)
270 (spi_document_interface_new): New methods added.
271 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
272 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
273 Added macros for SpiDocument
277 (spi_document_interface_new): Get a
278 new document interface. New.
279 (get_document_from_servant): Get an AtkDocument from servant New.
280 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
281 Implementation of methods defined on idl.
282 (spi_document_class_init, spi_document_init)
283 Init methods for SpiDocument. new
285 * idl/Accessibility.idl: Added Accessibility_Document.idl.
287 * cspi/Makefile.am: Added spi_document.c to sources.
289 * cspi/spi_document.c:
290 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
291 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
292 (AccessibleDocument_getAttributes): Bindings for methods defined
295 * cspi/spi_accessible.c:
296 (Accessible_isDocument, Accessible_getDocument) New.
298 (Accessible_isDocument, Accessible_getDocument)
299 (AccessibleDocument_ref, AccessibleDocument_unref)
300 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
301 (AccessibleDocument_getAttributes): Bindings added.
303 * idl/Makefile.am: Added Accessibility_Document.idl to
306 2006-06-29 Bill Haneman <bill.haneman@sun.com>
308 * idl/Accessibility_Document.idl: New interface
309 for complex documents. First stage of fix for RFE
312 2006-06-27 Bill Haneman <bill.haneman@sun.com>
314 * libspi/streamablecontent.c:
315 (impl_content_stream_close):
316 Unref the GIOChannel on close.
318 2006-06-23 Bill Haneman <bill.haneman@sun.com>
320 * idl/Accessibility_Role.idl:
321 * libspi/accessiblerole.c:
322 * cspi/spi_accessible.c: Added ROLE_LINK,
323 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
324 Bug #345758 and bug #140635.
327 2006-06-22 Bill Haneman <bill.haneman@sun.com>
331 * idl/Accessibility_StreamableContent.idl:
332 Fix derivation of StreamableContent and ContentStream.
334 * cspi/spi_streamablecontent.c:
335 (accessible_content_stream_client_read):
336 Fix the datatype of the content stream used.
337 Interpret short reads as EOF, and stop trying to
338 read when we've fulfilled the request.
339 (AccessibleStreamableContent_getContentTypes):
340 Use g_strdup, not CORBA_string_dup, for the strings.
341 (AccessibleStreamableContent_open):
342 Correctly use the new getStream method for opening,
343 not the deprecated getContent method.
344 Use the object reference as the stream hash key.
345 Make note of the 'one stream per client per streamable'
346 limitation in the docs.
349 Add streamablecontent.h to the list of #includes.
351 * libspi/streamablecontent.c:
352 (impl_content_stream_read): Initialize the GError.
353 Allocate the incoming buffer if reading a fixed length of
354 data. Use g_memmove instead of memcpy.
355 (impl_accessibility_streamable_get_content_types):
356 Init typelist->_maximum. Only allocate the buffer if
357 there is a non-zero number of content types available.
358 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
360 * libspi/streamablecontent.h:
361 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
364 (SPI_IS_VALUE): Fix a typo in this macro too.
366 2006-06-16 Bill Haneman <bill.haneman@sun.com>
370 * idl/Accessibility_StreambleContent.idl:
371 Deprecate the Bonobo_Stream-based methods in favor of
372 a self-contained "ContentStream" interface. This should
373 allow us to remove BonoboStream dependencies entirely, since
374 there were no non-NIL implementations of the old methods anyway.
375 (ContentStream): New interface.
376 (ContentStream::SeekType): Enum.
377 (ContentStream::seek): New.
378 (ContentStream::read): New.
379 (ContentStream::close): New.
380 (getContent): Deprecate.
381 (getURI): New method, returns a URI pointing to the content, if available.
383 * libspi/streamablecontent.c:
384 (SpiContentStream): Internal object type definition used to
385 implement Accessibility::StreamableContent::ContentStream via
386 AtkStreamableContent's GIOChannel back-end.
387 (spi_content_stream_new, spi_content_stream_dispose): See above;
389 (impl_content_stream_seek, impl_content_stream_read):
390 (impl_content_stream_close): New, implementations of
392 (impl_accessibility_streamable_get_stream): Implement the
393 public method Accessibility::StreamableContent::getStream.
394 (impl_accessibility_streamable_get_uri): Implement the
395 public method Accessibility::StreamableContent::getURI.
397 * cspi/spi_streamablecontent.c:
398 (accessible_bonobo_stream_client_seek): Replaced by
399 (accessible_content_stream_client_seek).
400 (accessible_bonobo_stream_client_read): Replaced by
401 (accessible_content_stream_client_read).
402 (AccessibleStreamableContent_open):
403 (AccessibleStreamableContent_seek):
404 (AccessibleStreamableContent_read):
405 (AccessibleStreamableContent_close): Use the new 'getStream'
406 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
408 2006-06-15 Bill Haneman <bill.haneman@sun.com>
410 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
411 remove from other .idl files (except LoginHelper).
414 2006-06-14 Bill Haneman <bill.haneman@sun.com>
416 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
419 * configure.in, */Makefile.am: mingw patch, modified from
420 original patch by yselkowitz. Bug #314216.
422 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
423 for completeness. Bug #163111.
425 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
426 * libspi/util.c, registryd/registry-main.c:
427 Fix guint/char* casts.
428 Patch from chpe, bug #333883.
430 2006-06-12 Bill Haneman <bill.haneman@sun.com>
432 * configure.in: Require atk-1.12.0, to pick up
433 new API. (bug #344412).
435 * libspi-1.0-uninstalled.pc.in:
437 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
438 Fix for #341488 from Samual Thibault.
440 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
441 Thanks to Brian Pepple.
443 2006-06-09 Bill Haneman <bill.haneman@sun.com>
446 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
447 New, missing implementations of attribute reading methods
450 * cspi/spi.h, spi_value.c:
451 (AccessibleValue_getMinimumIncrement): New methods wrapping
452 the (formerly unimplemented) property from Value.idl.
455 (impl_get_minimumIncrement): Implementation for retrieving
456 the minimum valuator increment, (formerly unimplemented).
459 2006-06-09 Bill Haneman <bill.haneman@sun.com>
461 * idl/Accessibility_State.idl:
462 Added STATE_VISITED (bug #338369).
464 * cspi/spi_accessible.c:
465 (spi_state_to_corba) Fixed marshalling of new statetypes.
468 (spi_init_state_tables, impl_getStates):
469 Fixed conversion of new statetypes to/from ATK.
471 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
473 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
474 definitions/conversions for new roles from ATK.
476 * idl/Accessibility_Relation.idl:
478 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
479 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
480 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
482 * libspi/accessible.c: Fixed marshalling of new role types from
485 2006-04-17 Matthias Clasen <mclasen@redhat.com>
487 * revert my previous change
489 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
491 * configure.in: Remove obssolete no_NO locale
492 * po/no.po: And the translation.
494 2006-04-05 Matthias Clasen <mclasen@redhat.com>
496 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
497 memory-management error that caused crashes on x86_64.
500 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
502 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
504 2006-03-27 Bill Haneman <bill.haneman@sun.com>
506 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
507 to strip "cspi_*" from the symbol table.
509 * cspi/spi_streamablecontent.c:
510 (get_streams): Make this method static.
513 (_cspi_exception_throw): rename to cspi_exception_throw,
514 so we can strip it with the rest...
517 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
519 2006-03-27 Bill Haneman <bill.haneman@sun.com>
521 Add doxygen-generated IDL docs to tarball, and enable
522 doxygen during build/install when available. Bug #301345.
524 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
526 * docs/reference/Makefile.am: Add idl to SUBDIRS.
528 * docs/reference/idl/Makefile.am: Optionally use
529 doxygen to create docs.
531 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
533 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
535 2006-03-20 Bill Haneman <bill.haneman@sun.com>
538 (impl_get_selected_rows): Don't free the selection if it's
539 empty or has not been assigned; init it to NULL so you can tell.
540 Also, allow for zero selected rows.
541 (impl_getSelectedColumns): Ditto. Bug #319088.
543 2006-03-11 Vincent Untz <vuntz@gnome.org>
545 Leak fix for bug #334217.
547 * libspi/application.c: spi_application_toolkit_event_listener():
548 don't duplicate the string we pass as an argument to
549 spi_init_any_nil() since spi_init_any_nil() already does it
550 * registryd/deviceeventcontroller.c:
551 (spi_dec_button_update_and_emit): ditto
552 (spi_dec_mouse_check): ditto
553 (spi_dec_emit_modifier_event): ditto
554 (spi_device_event_controller_forward_mouse): ditto
555 * registryd/registry.c:
556 (desktop_add_application): ditto
557 (desktop_remove_application): ditto
559 2006-02-20 Bill Haneman <billh@gnome.org>
561 * configure.in: Rev to 1.7.6.
563 Leak fixes for bug #331924.
565 * atk-bridge/bridge.c:
566 (spi_atk_bridge_init_base): Don't dup the string, it's already
567 been dup-ed. Fixes a leak.
568 (spi_atk_emit_eventv): Move the CORBA_free call here,
569 instead of spi_atk_state_event_listener; fixes another leak.
570 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
571 notifying the registry; fixes another leak.
573 * registryd/registry.c:
574 (registry_flush_event_queue): Free the CORBA_any when
575 flushing the event, not just the string. Fixes another leak.
576 (registry_queue_event): Free the CORBA_any when dropping
577 events on the floor; fixes another leak.
580 (spi_init_any_object, spi_init_any_nil):
581 Always set _release to TRUE. Fixes another leak.
583 2006-02-20 Bill Haneman <billh@gnome.org>
585 * configure.in: Rev to 1.7.5.
586 Reinstate localization of this module. Thanks for Rodney
587 Dawes for fixing my patch.
589 * registryd/Makefile.am: Remove Accessibility_Registry.server
590 from dist, since it needs to be re-created at configure time.
593 2006-01-31 Bill Haneman <billh@gnome.org>
595 * configure.in: Rev to 1.7.4 (to include build fix below).
597 * idl/Makefile.am: Include Selector.idl in dist.
601 (cspi_internal_event_get_object): Handle case where
602 "object" isn't present, i.e. CORBA_TC_Object doesn't match
603 the EventDetails data.
604 (cspi_internal_event_get_text): Handle NULL string.
605 (cspi_internal_event_get_rect): Handle missing/empty rect
606 data, Accessibility_TC_RectBounds doesn't match any_data.
608 2006-01-30 Bill Haneman <billh@gnome.org>
612 * atk-bridge/bridge.c:
613 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
614 interface and use that when instantiating a new source
615 accessible. Better fix for bug #321814.
617 2006-01-27 Bill Haneman <billh@gnome.org>
619 * idl/Accessibility_Selector.idl: Added to the cvs repository.
621 * configure.in: Revved to 1.7.3.
623 2006-01-17 Bill Haneman <billh@gnome.org>
625 * configure.in: Revved to 1.7.2, re-dist to include docs.
627 2006-01-09 Bill Haneman <billh@gnome.org>
629 * configure.in: Removed po/Makefile.in inclusion, we do not need
632 * idl/Accessibility.idl: Improved documentation here, and for all
633 IDL in the 'GNOME::Accessibility' namespace.
635 * idl/Accessibility_Accessible.idl:
636 (LOCALE_TYPE): Added enum.
637 (AttributeSet): New, for returning multiple name/value attribute pairs.
638 (RoleSet): New, sequence of Roles, to be used in upcoming
640 (getAttributes): New API, allows retrieval of name/value pair
641 annotations for all kinds of Accessible objects. C.f.
642 Text:getAttributes, which is only for typographic/textual/semantic tags in
644 (getApplication): New, retrieves the host/containing Application
645 instance for an object (without having to walk up the whole tree).
647 * idl/Accessibility_Component.idl:
648 (getAlpha): New method, returns the alpha blending (aka 'opacity')
649 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
652 * idl/Accessibility_Event.idl:
653 (EventDetails): New struct definition, for encapsulating
654 commonly-queried information about emitted events. The use of
655 this structure in emitted events (in the 'any' member of
656 Accessibility_Event) should greatly reduce the number of
657 client-server roundtrips necessary.
659 * idl/Accessibility_Image.idl:
660 (imageLocale): New, a readonly attribute indicating the POSIX
661 LC_MESSAGES locale of the image and associated Alt/descriptive
664 * idl/Accessibility_Relation.idl:
665 (RELATION_PARENT_WINDOW_OF): Include, as complement to
668 * idl/Accessibility_Role.idl:
669 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
670 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
671 complex document and form support.
673 * idl/Accessibility_State.idl:
674 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
675 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
676 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
677 for support of complex documents and forms.
679 * idl/Accessibility_StreamableContent.idl:
680 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
681 allow old bonobo-stream interfaces to be deprecated in the next
684 * idl/Accessibility_Text.idl:
685 (getAttributeValue): New method, allows query-by-name of single
688 * libspi/accessible.c:
689 Added support for new roles. Implemented new methods
690 (impl_accessibility_accessible_get_application): New
691 (impl_accessibility_accessible_get_attributes): New
693 * libspi/component.c:
694 (impl_accessibility_component_get_alpha): New.
697 (impl_accessibility_image_get_locale): New.
699 * libspi/relation.c: Added support for new relation type.
701 * libspi/stateset.c: Added support for new state types.
704 (impl_getAttributeValue): New.
707 New prototypes for private methods
709 spi_init_any_object, spi_init_any_string,
712 * libspi/spi_event.c:
713 Use EventDetails in the event emission methods.
715 * cspi/spi-private.h:
716 (cspi_role_from_spi_role): Expose this adapter method, since
717 we need it in the bridge (see below).
720 (AccessibleEvent_getSourceName):
721 (AccessibleEvent_getSourceRole):
722 (AccessibleEvent_getSourceApplication):
723 (AccessibleEvent_getSourceDetails):
724 New methods for interrogating/demarshalling
725 event details (i.e. source's accessible name, role,
728 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
729 Make use of the new EventDetails struct in events, if present.
730 (AccessibleEvent_getSourceName)
731 (AccessibleEvent_getSourceRole)
732 (AccessibleEvent_getSourceApplication)
733 (AccessibleEvent_getSourceDetails): Implement the newly exposed
735 (Accessible_getAttributes): New, wraps
736 Accessibility_Accessible_getAttributes.
737 (Accessible_getHostApplication): New, wraps
738 Accessibility_Accessible_getApplication.
741 (AccessibleImage_getImageLocale): New wrapper for
742 Accessibility_Image_get_imageLocale.
744 * cspi/spi_component.c:
745 (AccessibleComponent_getAlpha): New wrapper for
746 Accessibility_Component_getAlpha.
748 * atk-bridge/bridge.c:
749 Use new prototyped for init_any methods.
750 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
751 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
752 (spi_atk_bridge_init_base): Wrappers
753 for spi_init_any_* methods, due to refactor; include extended
754 information in the Accessibility_EventDetails struct, for instance
755 accessible-name, Role, and containing Application.
757 * registryd/registry.c:
758 Use new event emission (with EventDetails).
760 * registryd/deviceeventcontroller.c:
761 Use new event emission (with EventDetails).
763 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
765 * configure.in: Generate po/Makefile.in
766 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
767 * cspi/spi_streamablecontent.c:
768 (accessible_bonobo_stream_client_seek),
769 (AccessibleStreamableContent_seek): Remove unused vars.
770 * libspi/application.c: Missing header.
771 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
772 * login-helper/login-helper.c: (login_helper_finalize),
773 (login_helper_init): Remove unused stuff
774 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
775 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
776 and surround some with #ifdef GRAB_BUTTON.
777 * test/event-listener-test.c: (main), (report_event),
778 (report_caret_event), (report_detail_event),
779 (report_detail1_event), (report_bounds_event), (report_text_event),
780 (report_text_selection_event),
781 (report_active_descendant_changed_event),
782 (report_children_changed_event), (report_name_changed_event),
783 (report_description_changed_event), (report_parent_changed_event),
784 (report_window_event), (report_table_summary_event),
785 (report_table_header_event), (report_table_caption_event),
786 (report_table_row_description_event),
787 (report_table_column_description_event), (timing_test_event):
788 Remove a bunch of unused variables and fix a slew of format specifiers
789 * test/key-listener-test.c: (report_all_key_event): Format specifier
790 * test/keypad-test.c: (print_key_event): Same
791 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
793 * test/screen-review-test.c: (main), (print_chunk_debug),
794 (review_buffer_get_text_chunk), (debug_chunk_list),
795 (string_guess_clip), (text_chunk_get_clipped_string),
796 (text_chunk_list_to_string), (get_screen_review_line_at):
797 Remove unused variables and fix format specifiers.
798 * test/simple-at.c: (report_text_event): Format specifier fix.
799 * test/stress-test.c: (main): Remove unused var.
801 2005-12-29 Abel Cheung <maddog@linuxhall.org>
803 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
804 (yes I know that's useless)
806 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
808 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
810 2005-11-17 Michael Meeks <michael.meeks@novell.com>
812 * atk-bridge/bridge.c (spi_atk_emit_eventv):
813 urgh-fix embarassing typo.
815 2005-11-16 Michael Meeks <michael.meeks@novell.com>
817 * atk-bridge/bridge.c (spi_atk_emit_eventv):
818 do a faster, less problematic _unref call on this local
819 object, rather than a slower (potentially cross-thread
820 complicated) CORBA call.
822 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
824 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
825 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
826 * registryd/deviceeventcontroller.c:
827 (spi_controller_notify_mouselisteners),
828 (impl_generate_keyboard_event):
829 * test/screen-review-test.c: (chunk_bounds_within):
830 * test/test-simple.c: (test_desktop): Remove some unused code
831 and fix compiler warnings. Closes bug #320049.
833 2005-10-27 Bill Haneman <bill.haneman@sun.com>
835 * registryd/deviceeventcontroller.c:
836 (spi_controller_notify_keylisteners): Check
837 to make sure the event listener has requested 'preemptive'
838 status before pre-empting an event.
840 2005-08-29 Bill Haneman <bill.haneman@sun.com>
842 * configure.in, README, NEWS: Release 1.6.5.
844 2005-07-25 Matthias Clasen <mclasen@redhat.com>
846 * test/window-listener-test.c: Fix a printf
847 format error. (#169453)
849 2005-07-15 Bill Haneman <bill.haneman@sun.com>
851 * tests/test-simple.c:
852 (key_listener_cb): Ensure that the keystring is dup'ed instead of
853 relying on the old string from the key event hanging around after
854 the event handler returns. Fixes broken 'make check'.
856 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
858 * Added Marathi (mr_IN) translations.
860 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
862 * cspi/bonobo/cspi-bonobo-listener.c:
863 (cspi_event_list_remove_by_cb): Fix the build.
865 2005-05-26 Michael Meeks <michael.meeks@novell.com>
867 * cspi/bonobo/cspi-bonobo-listener.c
868 (cspi_event_list_remove_by_cb): actually filter by callback.
870 2005-05-25 Bill Haneman <bill.haneman@sun.com>
872 * registryd/registry.c (remove_listener_cb):
873 Make deregistration filter rules match the event emission rules.
875 2005-05-25 Michael Meeks <michael.meeks@novell.com>
877 * registryd/registry.c (remove_listener_cb),
878 (impl_accessibility_registry_deregister_global_event_listener),
879 (impl_accessibility_registry_deregister_global_event_listener_all):
880 pass a closure to the remove callback to filter listeners more
881 accurately on remove.
883 2005-04-05 Bill Haneman <bill.haneman@sun.com>
885 * configure.in: Revved to 1.6.4.
886 Remember to put quotes around XEVIE_LIBS assignment.
887 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
890 * tests/event-listener-test.c: Tweaked the tests - more detail
891 from caret events, and some interrogation of AccessibleText APIs.
892 Commented-out the bounds-changed events by default, since they can
895 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
897 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
898 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
899 Same here. Closes bug #167806
901 2005-04-05 Bill Haneman <bill.haneman@sun.com>
903 * atk-bridge/bridge.c:
904 (spi_atk_bridge_signal_listener):
905 Free the any._value if any._release is TRUE,
906 since the ORB won't do it for us in this case
907 [because this method is not a skel].
910 2005-03-30 Steve Murphy <murf@e-tools.com>
912 * configure.in: Added "rw" to ALL_LINGUAS.
914 2005-03-29 Bill Haneman <bill.haneman@sun.com>
916 * configure.in: Improved check for HAVE_XEVIE, to detect
917 presence on XOrg, where -lXevie is a separate library.
919 2005-03-08 Bill Haneman <bill.haneman@sun.com>
921 * configure.in, NEWS, README: Revved to 1.6.3.
923 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
925 * configure.in: Added "xh" to ALL_LINGUAS.
927 2005-02-07 Bill Haneman <bill.haneman@sun.com>
929 * atk-bridge/bridge.c:
930 (atk_bridge_init): Added missing NULL in g_strconcat(),
931 also check for symlink before logging to
932 insecure directory. Thanks to meissner@suse.de.
934 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
936 * tests/login-helper-server-test.c: Add return call to main
937 function. Patch from Chris Lahey. Fixes bug #165129.
939 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
941 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
943 2004-12-09 Bill Haneman <billh@gnome.org>
945 * registryd/registry-main.c:
946 Added #define <string.h> for strrchr. (bug 160862).
947 Thanks to Vincent Berger for catching.
949 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
951 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
952 restart registry process if the registry process is found to have died
953 and the current process is exiting.
954 (spi_atk_bridge_exit_func): Do not attempt to deregister the
955 application if the registry process has died.
956 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
957 does not return a registry object.
958 (spi_atk_tidy_windows): Give up if the registry process has died.
960 This fixes problems with hangs and crashes when logging out.
962 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
964 * registryd/desktop.c: Add checking that we are not exiting before
965 calling spi_desktop_remove_application in
966 abnormal_application_termination. Fix for bug #152147.
968 2004-12-02 Bill Haneman <billh@gnome.org>
970 * configure.in, NEWS, README: Revved to 1.6.1.
972 Patch from Padraig O'Briain <padraig.obriain@sun.com>
973 * atk-bridge/bridge.c:
974 (atk_bridge_init): Save the pid when we start, to detect forks.
975 (spi_atk_bridge_exit_func): Don't call the cleanup routines
976 if we're in a forked pid.
978 2004-10-09 Bill Haneman <billh@gnome.org>
980 * idl/Accessibility_LoginHelper.idl:
981 Improved inline documentation.
983 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
985 * configure.in: Added gl (Galician) to ALL_LINGUAS
987 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
989 * libspi/accessible.c:
990 (impl_accessibility_accessible_get_role_name),
991 (impl_accessibility_accessible_get_local_role_name):
993 * libspi/component.c:
994 (impl_accessibility_component_get_accessible_at_point):
996 * libspi/eventlistener.c: (spi_event_listener_new):
998 * libspi/stateset.c: (impl_compare): More of the same
999 * libspi/table.c: (impl_getRowDescription): Again.
1000 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1001 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1002 (impl_generate_keyboard_event): Same.
1003 * registryd/registry-main.c: (main): Same
1004 * test/event-listener-test.c: (test_exit): Same
1005 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1006 * test/keysynth-test.c: (test_key_synthesis): Same
1007 * test/login-helper-server-test.c: (main): Fix warning.
1008 * test/screen-review-test.c: (test_exit): Fix include.
1009 * test/simple-at.c: (simple_at_exit), (_festival_init):
1012 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1014 * configure.in, NEWS, README: Revved to 1.6.0.
1016 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1018 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1019 was missing the HTML docs.
1021 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1023 * configure.in: only cleanups:
1024 - better looking PKG_CHECK_MODULES() output,
1026 - declare in one common place required versions of other tools using
1029 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1031 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1032 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1033 required ATK version accordingly.
1035 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1037 * cspi/bonobo/cspi-bonobo.c:
1038 (cspi_display_name): Fix C99ism.
1039 * atk-bridge/bridge.c:
1040 (spi_display_name): Fix C99ism.
1041 Patch from Jens Granseuer, jensgr@gmx.net.
1043 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1045 * configure.in: Added "or" to ALL_LINGUAS.
1047 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1049 * configure.in, NEWS, README: Revved to 1.5.4.
1051 * registryd/registry-main.c:
1052 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1055 * cspi/bonobo/cspi-bonobo.c:
1056 (cspi_display_name): New convenience method, gets DISPLAY with
1057 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1058 (cspi_init): Set the activation env value above before getting
1061 * atk-bridge/bridge.c:
1062 (spi_display_name): Create the AT_SPI_DISPLAY activation
1063 environment for an app, based on the DISPLAY environment with the
1064 screen number stripped off.
1065 (atk_bridge_init): Allow redirection of error messages to a log.
1066 (spi_atk_bridge_get_registry): Call
1067 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1069 Fixes for bugs #149962, #136986, #144086.
1071 2004-08-16 Christian Rose <menthos@menthos.com>
1073 * configure.in: Added "bs" to ALL_LINGUAS.
1075 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1077 * configure.in: Added nb to ALL_LINGUAS.
1079 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1082 (SPI_init): Return error code '2' if the activated
1083 registry cannot be pinged. Fixes bug #147648.
1085 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1087 * registryd/deviceeventcontroller.c:
1088 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1089 rely on timer-poll instead, to avoid conflict with
1092 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1094 * configure.in: Revved to 1.5.3.
1096 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1098 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1100 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1102 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1104 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1106 * atk-bridge/bridge.c:
1107 (spi_atk_bridge_do_registration):
1108 Register with ATK for AtkComponent:bounds-changed events.
1109 (api_atk_bridge_signal_listener):
1110 Marshal the AtkRectangle info into the event notification
1111 for object:bounds-changed events.
1114 (spi_init_any_rect): New method, inits a corba struct of
1115 type Accessibility_BoundingBox from an AtkRectangle.
1117 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1120 (SPIRect): New struct definition.
1121 (SPI_freeRect): New declaration.
1122 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1125 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1126 implemented. Gets the bounding box data from the CORBA_any
1127 associated with a bounds-changed event notification.
1128 (cspi_internal_event_get_rect): New, used internally by above method.
1131 (SPI_freeRect): Implemented this new method, for freeing
1134 * test/event-listener-test.c:
1135 (main, report_bounds_event):
1136 Added a test for object:bounds-changed events.
1138 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1140 * test/login-helper-server-test.c:
1141 (main): Fix C99-ism. Thanks to Jens Granseuer.
1143 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1145 * libloginhelper-1.0.pc.in:
1146 * idl/Accessibility_LoginHelper.idl:
1147 * login-helper/Makefile.am:
1148 * login-helper/login-helper.[ch]:
1149 * test/login-helper-client-test.c:
1150 * test/login-helper-server-test.c: Added files missing from CVS.
1151 Files obtained from at-spi-1.5.2 tarball.
1153 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1155 * configure.in: Create login-helper/Makefile.
1156 Incremented micro version.
1158 * Makefile.am: Add login-helper subdir and pkgconfig data.
1160 * login-helper: New subdir.
1162 * libloginhelper-1.0.pc.in: New.
1164 * idl/Accessibility_LoginHelper.idl: New file, defines
1165 interface whereby authentication clients can identify agents which
1166 need access to services during the login process, e.g. screen lock
1169 * login-helper/Makefile.am : New.
1171 * login-helper/login-helper.[ch] : New, implementation of
1172 a LoginHelper base class. Services needing LoginHelper can subclass.
1174 * test/Makefile.am : Added test for login-helper, client and
1177 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1178 Use proper prefix in #include files.
1180 * test/login-helper-client-test.c: New.
1182 * test/login-helper-server-test.c: New.
1184 2004-05-27 Alexander Shopov <ash@contact.bg>
1186 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1188 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1190 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1191 is positive. This should make it easier to detect inapprorpiate unref
1194 2004-05-11 James Henstridge <james@daa.com.au>
1196 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1197 no-op and deprecated.
1199 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1201 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1203 2004-04-28 Bill Haneman <billh@gnome.org>
1205 * Makefile.am: Added --enable-gtk-doc to
1206 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1208 2004-04-19 Bill Haneman <billh@gnome.org>
1210 * configure.in: Revved to 1.5.1.
1212 * registryd/deviceeventcontroller.c:
1214 (DEControllerPrivateData): Added fields for
1215 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1216 (spi_dec_replace_map_keysym): New internal utility for
1217 replacing a keysym in the keymap - used to allow
1218 synthesis of individual characters which aren't in the
1220 (spi_dec_reset_reserved): New; resets the changed keysym value
1222 (keycode_for_keysym): We now try to deal with failed
1223 XKeysymToKeycode requests by changing a keymap value
1224 and returning a reserved keycode. We now take
1225 a DEController pointer as first arg.
1226 (spi_controller_register_with_devices): Call XkbGetMap with
1227 the XkbKeySymsMask. Find the highest keycode in the current
1228 keymap which doesn't have any grabs, and mark that one for
1229 temporary re-mapping when out-of-range KeySyms are synthesized.
1230 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1233 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1235 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1237 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1239 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1241 2004-03-24 Bill Haneman <billh@gnome.org>
1244 (AccessibleTable_addRowSelection),
1245 (AccessibleTable_addColumnSelection),
1246 (AccessibleTable_removeRowSelection),
1247 (AccessibleTable_removeColumnSelection):
1248 Add declarations for spi wrappers which were
1249 inadvertantly omitted. Fixes bug #133413.
1252 Revved to 1.5.0 (unstable series for GNOME 2.7).
1254 2004-03-24 Bill Haneman <billh@gnome.org>
1256 * atk-bridge/bridge.c:
1257 Bracketed some debug output in
1258 conditionals, to avoid printing it in normal use.
1261 * libspi/hyperlink.c:
1262 Don't cast 'object' to ATK_OBJECT when constructing
1263 an AtkAction interface for a hyperlink.
1264 See discussion in bug #120659.
1266 * test/key-listener-test.c:
1267 (report_all_key_event): Send output to stderr,
1268 not stdout, for consistency with the rest of the test callbacks.
1271 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1272 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1273 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1274 try incrementing the revision AFTER doing a dist, at least
1277 2004-03-22 Bill Haneman <billh@gnome.org>
1279 * configure.in: Revved to 1.4.0, libtool 9.14.9
1281 2004-03-17 Laszlo Peter <laca@sun.com>
1283 * libspi-1.0-uninstalled.pc.in: add idldir
1285 * cspi-1.0-uninstalled.pc.in: add idldir
1287 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1289 * configure.in: Added "en_GB" to ALL_LINGUAS
1291 2004-03-15 Bill Haneman <billh@gnome.org>
1293 * configure.in: Revved to 1.3.16,
1296 2004-03-15 Laszlo Peter <laca@sun.com>
1298 * libspi-1.0-uninstalled.pc.in: new file
1300 * cspi-1.0-uninstalled.pc.in: new file
1302 * configure.in: add the new pc files to AC_OUTPUT
1304 * Makefile.am: add the new pc files to EXTRA_DIST
1306 2004-03-12 Bill Haneman <billh@gnome.org>
1308 * atk-bridge/bridge.c:
1309 (spi_atk_bridge_key_listener):
1310 Make sure to return consumed=FALSE if snoop
1311 event is not dispatched to listener.
1314 2004-03-01 Bill Haneman <billh@gnome.org>
1316 * configure.in: Revved to 1.3.15,
1319 2004-03-07 Danilo Segan <dsegan@gmx.net>
1321 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1323 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1325 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1327 2004-03-01 Bill Haneman <billh@gnome.org>
1329 * configure.in: Revved to 1.3.14.
1332 (SPI_exit): Removed "bye-bye" exit message.
1333 Moved "leak" report to happen before the
1334 iteration over the leaked refs list.
1335 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1337 2004-02-24 Bill Haneman <billh@gnome.org>
1339 * configure.in: Revved to 1.3.13.
1341 * docs/reference/cspi/Makefile.am:
1342 Correct typo that was breaking the docs build.
1344 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1346 * autogen.sh: Require version 1.7 of automake.
1348 * configure.in: call GTK_DOC_CHECK([1.0])
1350 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1352 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1354 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1356 * test/Makefile.am: Remove use of CFLAGS.
1358 This fixes bug #132987.
1360 2004-02-11 Bill Haneman <billh@gnome.org>
1362 * reverted most of Tomasz' patch below, since it was breaking
1363 builds (see bug #134058).
1365 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1367 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1368 correct pass "make dist" (empty .. because seems no sach types in
1369 header files with gtk-doc markups).
1370 * docs/reference/cspi/Makefile.am, configure.in:
1371 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1372 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1373 * Makefile.am: added:
1374 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1375 for force correct pass generate documentation on "make distcheck".
1376 * libspi/Makefile.am: fixes for automake >= 1.6.
1377 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1378 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1381 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1383 * docs/reference/cspi/Makefile.am (install-data-local): Install
1384 index.sgml since the doc autobuilder on widget.gnome.org looks for
1387 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1389 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1392 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1394 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1396 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1398 * test/simple-at.c: Fixed null string problems that cause core
1399 dumping problems on Solaris.
1401 2004-01-12 Bill Haneman <billh@gnome.org>
1403 * configure.in: Incremented version to 1.3.11.
1405 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1407 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1408 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1411 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1413 * configure.in: Added "fa" to ALL_LINGUAS.
1415 2003-12-20 Arafat Medini <lumina@silverpen.de>
1417 * configure.in: Added "ar" to ALL_LINGUAS
1419 2003-12-16 Bill Haneman <billh@gnome.org>
1421 * registryd/registry-main.c:
1423 Set the reg_env DISPLAY variable before registering the
1424 activated registry service. Fixes bug #129479.
1426 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1428 * configure.in: Added "id" in ALL_LINGUAS
1429 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1431 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1433 * registryd/deviceeventcontroller.c (global_filter_fn):
1434 When an event is consumed discard any XEvents were added to
1435 the queue while dealing with the the event. This can happen if
1436 processing of the event takes a long time. Call XUngrabKeyboard
1437 if an event was discarded. This fixes bug $124837.
1438 Only call wait_for_release_event for a KeyPress.
1439 Use local variable display instead of spi_get_display().
1440 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1443 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1445 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1446 Allow for mask to contain values other than NumLock mask.
1449 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1451 * registryd/devieceventcontroller.c:
1452 (wait_for_release_event): Change first parameter from GdkEvent to
1454 (global_filter_fn); Correct call to wait_for_release_event.
1458 2003-12-08 Bill Haneman <billh@gnome.org>
1462 * registryd/ucs2keysym.c: New file.
1464 * registryd/deviceeventcontroller.c:
1465 (dec_keysym_for_unichar): Remove old partial implementation and
1466 replace with call to ucs2keysym(), which is much more complete.
1467 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1472 2003-12-05 Bill Haneman <billh@gnome.org>
1474 * configure.in: Version 1.3.9.
1476 * docs/reference/cspi/tmpl/spi_registry.sgml:
1477 Added reference to libspi/keymasks.h to the
1478 description of Registry queries: AccessibleKeyMaskType.
1481 2003-12-04 Bill Haneman <billh@gnome.org>
1483 Fix for bug #121974.
1485 * idl/Accessibility_Application.idl:
1486 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1487 setlocale's LC_TYPEs.
1488 (Accessibility::Application::getLocale): New method.
1489 Allows clients to query the locale, by type, of an app.
1492 * cspi/spi_application.c:
1493 (AccessibleApplication_getLocale): New method, wraps IDL above.
1495 * libspi/application.c:
1496 (spi_application_class_init): Init epv entry for getLocale.
1497 (impl_accessibility_application_get_locale): Impl for above.
1499 * test/test-simple.c:
1500 (test_application): Added assertion for getLocale, i.e.
1501 that the string from AccessibleApplication_getLocale (app, type)
1502 is the same as that from setlocale (type, NULL);
1504 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1506 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1507 the keyboard on a timeout intil the key state goes from pressed to
1508 released. Fixes bug #111429.
1510 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1512 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1513 root object so that it is present when a context menu in an
1514 out-of-process applet is popped up.
1515 (spi_atk_bridge_do_registration): Create acceessible application root
1516 object only if it does not exist.
1518 This fixes bug #125834.
1520 2003-12-01 Bill Haneman <billh@gnome.org>
1522 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1525 Added enum for AccessibleStreamableContentSeekType.
1526 (AccessibleStreamableContent_freeContentTypeList): New.
1528 * cspi/spi_streamablecontent.c:
1529 (accessible_bonobo_stream_client_seek): New private method.
1530 (AccessibleStreamableContent_seek): Implemented this method,
1531 using Bonobo_Stream_seek.
1532 (AccessibleStreamableContent_freeContentTypeList): New method
1533 for freeing the return value from
1534 AccessibleStreamableContent_getContentTypes.
1535 (stream_cache_item_free): Replaces stream_release; stop leaks.
1536 (stream_release): removed.
1537 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1538 free the memory properly.
1540 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1542 Fix for bug #116009.
1544 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1546 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1548 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1550 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1552 2003-12-01 Bill Haneman <billh@gnome.org>
1554 Fix for bug/rfe #127463.
1556 * idl/Accessibility_Accessible.idl:
1557 (getLocalizedRoleName): New.
1558 (unimplemented4): Removed (replaced by above).
1560 * libspi/accessible.c:
1561 (impl_accessibility_accessible_get_local_role_name): New.
1562 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1566 (Accessible_getLocalizedRoleName): New.
1568 * cspi/spi_accessible.c:
1569 (Accessible_getLocalizedRoleName): New.
1571 2003-12-01 Bill Haneman <billh@gnome.org>
1573 Fix for bug #118581.
1574 * idl/Accessibility_Text.idl:
1575 (getDefaultAttributes): New.
1576 (unimplemented4): Removed (replaced by above method).
1579 (impl_getDefaultAttributes): New method.
1580 (spi_text_class_init):
1581 initialize the get_default_attributes slot in the epv.
1584 (AccessibleText_getDefaultAttributes): New prototype.
1587 (AccessibleText_getDefaultAttributes): New method.
1589 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1591 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1592 write beyond the end of the table. Fixes bug #120473.
1594 2003-09-30 Christian Rose <menthos@menthos.com>
1596 * configure.in: Added "eu" to ALL_LINGUAS.
1598 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1600 * configure.in: ALL_LINGUAS: Added no.
1602 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1604 * configure.in: Added lt to ALL_LINGUAS.
1606 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1608 * atk-bridge/bridge.c:
1609 (atk_bridge_init): Register event listeners always even for
1610 out-of-process applet.
1611 (spi_atk_bridge_toplevel_added): Remove call to
1612 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1613 (spi_atk_bridge_toplevelk_removed): Remove call to
1614 spi_atk_deregister_event_listenersa as the listeners are now always
1616 (spi_atk_bridge_register_application): Remove call to
1617 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1619 This fixes bug #120991.
1621 * libspi/table.c (impl_getColumnDescription): Correct typo,
1622 pointed out by Bolian.Yin@sun.com.
1624 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1626 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1628 2003-09-08 Bill Haneman <billh@gnome.org>
1630 * configure.in: Revved to 1.3.7.
1632 This is the GNOME 2.4.0 release of at-spi.
1634 * docs/reference/cspi/Makefile.am:
1635 Removed spurious inclusion of 'index.sgml' in the
1636 html directory; this was breaking make distcheck and
1637 also some other build environments.
1639 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1641 * registryd/registry.[ch}:
1642 Add queue_handler_id and focus_object to SpiRegistry data structure.
1643 (registry_flush_event_queue): If event being discarded is
1644 "state-change:focused" store object as focus_object.
1645 (registry_start_queue): Remove queue handler and focus object
1647 (registry_discard_event): New function which discards a focus event
1648 if we had stored focus object in the registry.
1649 (registry_queue_event): Add new check that is_queueing is set as this
1650 function is reentrant.
1651 (registry_filer_event): Add call to registry_discard_event.
1653 This resolves issues raised in bug #108664.
1655 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1657 * configure.in: Added "bn" to ALL_LINGUAS.
1659 2003-09-04 Bill Haneman <billh@gnome.org>
1661 * cspi/spi_event.c: Documentation improvements for
1662 (SPI_registerAccessibleKeylistener).
1664 * docs/reference/tmpl/spi_registry.sgml:
1665 Documentation improvements for SpiAccessibleKeylistenerCB.
1667 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1669 * configure.in: Added "ro" to ALL_LINGUAS.
1672 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1674 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1675 not decremented to zero. Fixes bug #120725.
1677 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1679 * configure.in: Added "ja" to ALL_LINGUAS.
1681 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1683 * configure.in: Added "is" to ALL_LINGUAS.
1685 2003-08-22 Christian Rose <menthos@menthos.com>
1687 * configure.in: Added "nl" to ALL_LINGUAS.
1689 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1691 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1692 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1694 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1696 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1697 type for unspecified exception.
1698 * cspi_streamablecontect): Add include of string.h for memcpy.
1699 (stream_release): Correct call to bonobo_object_release_unref
1700 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1701 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1702 argument of _cspi_expection_throw.
1703 * libspi/hyperlink.c: Add include of libspi/action.h:
1704 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1705 * libspi/streamablecontent.c: add include of libspi/component.h.
1706 * regisrtyd/deviceeventcontroller.c:
1707 (spi_dec_translate_mask): Removed unused variable priv.
1708 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1709 * registryd/registry.c:
1710 (registry_filter_event): Remove unused variable queue_is-empty.
1711 (impl_registry_notify_event): Use correct modifier in fprintf call.
1713 This fixes compiler warnings reported in bug #120220.
1715 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1717 * registryd/registryd.c: Remove this file.
1719 2003-08-17 Sanlig Badral <badral@openmn.org>
1721 * configure.in: Added mn to ALL_LINGUAS.
1723 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1725 * configure.in: Added et to ALL_LINGUAS.
1727 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1729 * test/event-listener-test.c: Change active-descendant to
1730 active-descendant-changed.
1732 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1734 * configure.in: Added "fi" in ALL_LINGUAS.
1736 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1738 * configure.in: Added "hi" in ALL_LINGUAS.
1740 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1742 * configure.in: Revved to 1.3.6.
1746 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1748 * registryd/deviceeventcontroller.c
1749 (spi_device_event_controller_object_finalize): Fix typo in previous
1752 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1754 * registryd/deviceeventcontroller.c
1755 (spi_device_event_controller_object_finalize): Fix build on
1756 systems without XEvIE.
1758 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1760 * acconfig.h, configure.in, registryd/Makefile.am,
1761 registryd/devicecontoller.[ch]: Add XEViE support.
1763 2003-08-06 Wang Jian <lark@linux.net.cn>
1765 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1767 2003-08-06 Metin Amiroff<metin@karegen.com>
1769 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1771 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1773 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1774 MODIFIER_ALT in correct place.
1776 This fixes part of bug #118114.
1778 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1780 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1782 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1784 * configure.in: Added "ko" to ALL_LINGUAS.
1786 2003-07-28 Ole Laursen <olau@hardworking.dk>
1788 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1790 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1792 * configure.in: Added "sq" to ALL_LINGUAS.
1794 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1796 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1798 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1800 * configure.in: updated ALL_LINGUAS list
1802 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1804 * configure.in: Added Belarusian to ALL_LINGUAS.
1806 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1808 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1810 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1811 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1813 This fixes bug #116949.
1815 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1817 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1818 Correct CSPI to SPI in function documentation.
1820 This fixes bug #118054.
1822 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1824 * configure.in: Added Russian to ALL_LINGUAS.
1826 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1828 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1830 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1832 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1834 2003-07-10 Joel Brich <joel.brich@laposte.net>
1836 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1838 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1840 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1842 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1844 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1845 resources allocated for AccessibleEvent. See cspi_event().
1847 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1848 static variable streams to NULL.
1850 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1851 Update so that AcessibleEvent_ref will work.
1853 This fixes bug #116624.
1855 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1857 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1859 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1861 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1863 2003-07-02 Christian Neumair <chris@gnome-de.org>
1865 * configure.in: Added "de" (German) to ALL_LINGUAS.
1867 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1869 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1871 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1873 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1875 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1877 * configure.in: Added "pl" to ALL_LINGUAS.
1879 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1881 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1883 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1886 (get_action_from_servant):
1887 Removed assertion that action is implemented on an AtkObject.
1889 * libspi/hyperlink.c:
1890 (spi_hyperlink_new):
1891 Aggregate AccessibleAction interface on the hyperlink object if
1892 the object implements AtkAction. (This convention is used in
1895 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1897 * configure.in: Revved to 1.3.5.
1899 * registryd/Accessibility_Registry.server.in.in:
1900 Marked up appropriate strings for translation.
1902 * atk-bridge/bridge.c: Marked a couple of
1903 user-visible warnings for translation. Questionable
1904 whether they are really useful, but possibly so.
1907 2003-06-28 Christian Rose <menthos@menthos.com>
1909 * configure.in: Added "sv" to ALL_LINGUAS.
1911 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1913 * registryd/registry.c:
1914 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1915 (registry_defer_on_event): Defer focus: events, this is an
1916 improvement to the patch for bug #108664.
1918 * TODO: Update with 2.4/"Dev Complete" items.
1920 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1922 * atk-bridge/bridge.c:
1923 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1924 looks up signals once.
1925 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1926 if doing registration.
1927 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1928 when doing registration.
1930 This fixes bug #115014.
1932 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1934 * atk-bridge/bridge.c:
1935 (atk_bridge_init): Add signal handler for children-changed:remove on
1936 root when in a BonoboComponent.
1937 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1938 for first toplevel only other incrememt variable toplevels.
1939 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1940 application and remove listeners.
1941 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1943 (spi_atk_deregister_event_listeners): New function which removes
1945 (reinit_register_vars): New fuction which reinitializes variables.
1947 This fixes bug #111578.
1949 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1951 * configure.in: version 1.3.4.
1953 * cspi/spi_accessible.c:
1954 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1957 2003-06-13 Michael Meeks <michael@ximian.com>
1959 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1961 * cspi/spi_main.c (cspi_peek_ev): impl.
1963 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1965 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1967 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1969 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1970 SPI_ROLE_AUTOCOMPLETE
1972 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1974 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1975 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1977 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1979 * libspi/streamablecontent.h:
1980 * libspi/streamablecontent.c:
1981 New files, provide implementation/wrappers for
1982 Accessibility_StreamableContent.
1984 * cspi/spi_streamablecontent.c:
1985 Connected the C wrappers to the libspi C bindings.
1986 (AccessibleStreamableContent_close): New method.
1989 (AccessibleStreamableContent_close): New method, needed
1990 since we have an "open, [seek], read, close" model in cspi.
1992 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1994 Fix for #108664; Padraig's revision of my original patch.
1996 * registryd/registry.h:
1997 Added event queue list, is_queuing, and exit_notify_timeout
1998 to the registry struct.
2000 * registryd/registry.c:
2001 (registry_init): Initialize new struct from registry.h.
2002 (impl_registry_notify_event):
2003 Filter events before notifying, in case some need to be
2005 (registry_filter_event): New,
2006 we defer certain incoming events (for instance
2007 window:deactivate) because we may wish to hide
2008 or reject them based on pending events. This is
2009 mostly a workaround for bug #108664.
2010 (registry_queue_event, registry_start_queue): New.
2011 (registry_defer_on_event): Test event to see if it
2013 (registry_reset_on_event): Returns TRUE if the
2014 event should cause a queue reset.
2015 (registry_discard_on_event): Returns TRUE if the event
2016 should cause the previous queue contents to be discarded.
2017 (registry_timeout_flush_queue): Flushes the pending event
2018 queue if no reset/discard-triggering events have come in
2019 within the timeout period.
2020 (registry_emit_event): New.
2021 (registry_clone_notify_context): New, used when queueing the
2022 event notify contexts.
2024 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2026 * configure.in: Version revved to 1.3.2, lt 0.9.2
2027 Incremented ATK required version to 1.3.4.
2029 * cspi/spi_registry.c:
2030 (SPI_generateKeyEvent):
2031 We now pass the keystring along if it's non-null.
2033 * registryd/deviceeventcontroller.c:
2034 (keysym_mod_mask): New method, returns modifier mask
2035 required to generate a keysym from a given keycode.
2036 (dec_synth_keysym): New method.
2037 (dec_synth_keystring): New method.
2038 (dec_get_modifier_state): New method.
2039 (dec_lock_modifiers): New
2040 (dec_unlock_modifiers): New.
2041 (dec_keysym_for_unichar): New, rather brute-force
2042 conversion from UCS-4 to X KeySyms. Only works for
2043 Latin at the moment, with partial implementations for
2044 Greek, Hebrew, and (incomplete) Katakana.
2045 (impl_generate_keyboard_event): Now implement
2046 "KEYSTRING" synthesis and implement "KEYSYM"
2048 (keycode_from_keysym): Improved, passes a returned
2049 modmask value now if the corresponding param is non-NULL.
2051 Fixes bugs #92143 and #109776.
2054 * test/keysynth-test.c:
2055 New test program for key synthesis, to confirm fixes for
2059 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2061 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2063 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2064 Add line for RELATION_POPUP_FOR
2066 * docs/reference/cspi/tmpl/spi_relation.sgml:
2067 Add relation SPI_RELATION_POPUP_FOR
2069 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2070 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2072 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2074 * libspi/relation.c (spi_init_relation_type_table):
2075 Add line for RELATION_POPUP_FOR
2077 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2079 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2080 there are still windows which have not been deleted and emit
2081 window:deactivate, if necessary and window:destroy events.
2082 This fixes bug #114370. The change on June 5th was not correct.
2084 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2086 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2089 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2091 New methods for client exception handling and interception.
2092 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2093 (SPI_exceptionHandlerPop): You guessed it...
2094 (SPI_getSourceType): Return the type of object which offended.
2095 (SPI_getExceptionCode): Return an enum code telling, possibly,
2096 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2097 (SPIAccessibleException_getSource): get the source object for
2098 exceptions that come from Accessibles, if SPIExceptionSourceType is
2099 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2100 (SPIException_getDescription): New, returns a string description of
2101 the problem. [Not yet a stable ABI, strings are not frozen]
2103 * cspi/spi-private.h:
2104 Added implementation details of opaque SPIException
2108 Implementations of above. Also
2109 (_cspi_exception_throw): new private method that
2110 dispatches exceptions to handlers, called from cspi-bonobo.c
2112 * cspi/bonobo/cspi-bonobo.c:
2113 (cspi_check_ev): call _cspi_exception_throw.
2114 Don't print a warning message if the exception has been
2115 handled by _cspi_exception_throw.
2117 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2119 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2120 there are still windows which have not been deleted and emit
2121 window:deactivate, if necessary and window:destroy events.
2122 This fixes bug #114370.
2124 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2127 (cspi_accessible_is_a): Make non-fatal
2128 if the object reference is dead.
2130 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2132 * cspi/spi_main.c: #include <stdio.h>
2133 * test/simple-at.c: ditto
2134 * test/event-listener-test.c: ditto
2135 * test/screen-review-test.c: ditto
2137 2003-05-30 Michael Meeks <michael@ximian.com>
2139 * test/test-simple.c (main): use CORBA_ORB_perform_work
2140 instead of an unnecessary linc_ call.
2142 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2144 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2145 Add SPI_STATE_INDETERMINATE.
2147 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2150 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2152 * libspi/stateset.c (init_state_type_tables): Add support for
2155 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2157 * configure: Update versions of atk and gail required.
2158 This fixes bug #113268.
2160 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2162 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2164 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2166 * libspi/Makefile.am:
2167 Ensure headers are generated before being used by c sources.
2169 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2172 Simplified lt versioning rules.
2173 Incremented version to 1.3.0, to indicate that we're on the
2174 unstable branch now.
2176 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2178 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2179 Add MKDB_OPTIONS=--outtput-format=xml
2181 * docs/reference/cspi/at-spi-cspi-docs.sgml
2182 docs/reference/idl/at-spi-idl-docs.sgml:
2183 Convert to Docbook XML.
2185 This fixes bug #111793.
2187 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2189 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2190 AcccessibleKeyEventType, AccessibleKeyMaskType.
2192 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2194 * cspi/state-types.h: Add documentation for AccessibleState.
2196 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2197 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2198 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2199 AccessibleComponentLayer.
2201 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2204 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2206 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2207 Accessible. Add description of AccessibleEvent,
2208 AccessibleEventListenerCB.
2210 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2213 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2214 documentation. Add description of AccessibleKeystrokeListenerCB,
2215 AccessibleKeyEventMask, AccessibleModifierMaskType,
2216 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2217 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2219 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2222 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2225 This fixes bug #104730.
2227 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2229 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2230 Set is_text field of Accessibility_DeviceEvent data structure.
2232 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2233 is-text field of AccessibleDeviceEvent data structure.
2235 This addresses part of bug #108666.
2237 * registryd/devcieeventcontroller.c: Unset debug option.
2239 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2241 * cspi/accessible.c:
2242 (cpi_initial_relation_type_table): New function which initializes
2243 mapping between Accessibility_RelationType and AccessibleRelationType.
2244 (cspi_relation_type_from_spi_relation_type): New function which
2245 translates an Accessibility_RelationType into an AccessibleRelationType.
2246 (AccessibleRelation_getRelationType): Use
2247 cpi_relation_type_get_spi_relation_type to return correct value.
2248 (spi_state_to_corba): Return correct type for default case.
2250 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2251 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2253 * cspi/cspi-bonobo-listener.c:
2254 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2257 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2258 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2259 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2260 libspi/image.c, libspi/listener.c, libspi/selection.c,
2261 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2262 registryd/desktop.c, registryd/registry.c:
2263 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2265 * libspi/eventlistener.c
2266 Remove semicolon after BONOBO_TYPE_FUNC.
2268 * libspi/relation.c:
2269 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2270 (spi_init_relation_type_table): Initialize using correct type.
2272 * registryd/desktop.c:
2273 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2274 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2275 of Accessibility_KeyEventType.
2277 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2280 * tests/simple-at.c, tests/screen-review-test.c:
2281 Add include for <strings.h>.
2283 * tests.stress-test.c:
2284 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2286 These changes fix compiler warnings when using FORTE compiler on
2287 Solaris; fixes bug #107479.
2290 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2293 * configure.in: revved to 1.1.10
2295 * libspi/keymasks.h:
2296 (SPI_KEYMASK_NUMLOCK): Added.
2298 * registryd/deviceeventcontroller.c:
2299 (spi_key_event_matches_listener): AND with a smaller
2300 bitmask (as we should).
2301 (spi_dec_translate_mask):
2302 New method, sets the virtual NumLock modifier bit
2303 if numlock is on. Eventually it can handle other virtual
2304 modifier bits if needed, or other marshalling from
2305 at-spi modifier masks to platform (X) masks.
2306 (spi_dec_key_listener_new):
2307 Call spi_dec_translate_mask to set up virtual mod bits
2308 in the 'mask' field when creating a new listener struct.
2309 (spi_dec_emit_modifier_event):
2310 Set the virtual (i.e. NumLock) bits before emitting event.
2311 (spi_controller_register_with_devices):
2312 Query for the NumLock modifier 'physical' bit if Xkb is
2313 present, for use in above methods.
2317 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2319 * registryd/deviceeventcontroller.c:
2320 (spi_keystroke_from_x_key_event):
2321 Instead of checking to see if the keysym is
2322 printable, check the string from XLookupString
2323 if available, get the first unicode character from it,
2324 and call g_unichar_isprint to determine whether the
2325 is_text flag should be TRUE or FALSE.
2329 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2331 * atk-bridge/bridge.c: Add support for extended events
2332 * cspi/spi_event.c: Add documentation and implementation for
2334 * tests/event-listener-test.c: Add tests for extended events.
2336 This fixes bugs #100424 and #100426.
2338 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2340 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2341 of LT_CURRENT. This fixes bug #89350.
2343 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2345 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2346 number of signal parameter values before accessing them. This fixes
2349 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2351 * configure.in: Fixed duplicate inclusion of -lspi.
2352 * branched for gnome-2-2/HEAD.
2353 [created tag "gnome-2-2"]
2355 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2357 * configure.in: 1.1.9 release.
2360 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2362 [needed by GOK, to fix bugs 107985 and 107988]
2363 * registryd/deviceeventcontroller.c:
2364 (spi_dec_clear_unlatch_pending):
2365 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2366 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2367 (spi_dec_init_mouse_listener):Emit warning if mouse button
2369 (spi_device_event_controller_forward_mouse_event):
2370 Removed unnecessary parens from a conditional.
2371 (global_filter_fn):Added TODO comment.
2372 (impl_generate_keyboard_event):
2373 Cancel a pending relatch if a 'delatching' key was
2376 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2378 * atk-bridge/bridge.c:
2379 Change atk_signal_child_changed to atk_signal_children_changed.
2380 Reorganize code in spi_atk_bridge_signal_listener().
2382 * test/event-listener-test.c:
2383 Add children_changed_listener and report_children_changed_event()
2384 to test AccessibleChildEvent_getChildAccessible.
2386 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2388 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2389 g_strdup to CORBA_String_dup (bug #105291)
2391 * test/event-listener-test.c (report_text_event): Add call to
2394 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2396 * registryd/deviceeventcontroller.c:
2397 (spi_keystroke_from_x_key_event):
2398 Fix string and keysym return codes to match modifier state.
2401 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2403 * registryd/deviceeventcontroller.c:
2404 (spi_keystroke_from_x_key_event):
2405 Fix segv due to improper use of isprint(c). [bug #107254]
2407 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2410 (get_accessible_text_boundary_type):
2411 Move default return value to (new) default case in switch.
2412 (get_accessible_text_clip_type):
2413 Move default return value to (new) default case in switch.
2415 * libspi/application.c:
2416 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2417 Remove unused methods.
2418 (impl_accessibility_application_register_object_event_listener):
2419 Remove unused methods.
2422 Added #include of <math.h>.
2424 * registryd/deviceeventcontroller.c:
2425 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2426 we don't currently use this method.
2427 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2429 (impl_generate_key_event):
2430 Remove unused variables.
2431 (impl_generate_mouse_event):
2432 Initialize button to zero, just in case we get an invalid
2433 input. Added support for mouse buttons 4 and 5.
2434 (spi_device_event_controller_new):
2435 Removed unused variable declaration for 'private'.
2437 Added #include of <gdk/gdk.h>
2439 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2441 * configure.in: Update to work when X is not installed in expected
2442 location. Fixes bug #105836.
2444 * atk-bridge/bridge.c
2445 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2447 (spi_atk_register_event_listener): Add signal listener for
2449 (spi_atk_bridge_signal_listener): Event event when link-selected
2450 signal is emitted. (bug #104622)
2452 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2453 on returned string. (bug #105291)
2455 * test/event-listener-test.c: Add test for link-selected.
2457 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2459 * atk-bridge/Makefile.am: Correct typo in previous commit.
2461 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2463 * atk-bridge/Makefile.am: Allow for build directory to be different
2464 from source directory
2466 * registryd/Makefile.am: Allow for build directory to be different
2467 from source directory
2471 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2474 Fixed dependencies for libcspi so that libspi gets pulled in
2475 properly. Fixes 104741.
2479 Clean up inline docs a little.
2481 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2483 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2484 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2485 the AtkObject within an SpiDesktop.
2486 This addresses bug #101524.
2488 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2489 Remove call to gdk_init().
2491 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2492 so that Display is set when SpiDesktop is created.
2494 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2496 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2497 This fixes bug #102830.
2499 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2501 * test/test-simple.c: Update to take account of fact that GailButton
2502 now implements AtkText.
2503 (create_text_window): Set name on AtkObject for GtkEntry.
2504 (validate_accessible): Check accessible name before calling test_text().
2506 * libspi/Makefile.am: Fix problem with building outside of source
2507 directory. Bug #98120.
2509 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2510 typo in documentation comments. Bug #94275.
2512 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2514 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2516 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2519 Add includes to avoid compiler warnings on Solaris.
2520 (impl_getRangeExtents): Bug fix.
2522 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2524 Fix for 100944, [API addition approved by Gman and murrayc].
2531 * idl/Accessibility_Text.idl:
2532 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2533 (Text::getRangeExtents): New method for efficient
2534 bounds query of a text range.
2535 (Text::getBoundedRanges): New method for efficient
2536 clipping of text to bounding boxes.
2537 (unImplemented7, unImplemented8):
2538 Removed these padding methods to preserve bincompat.
2541 (impl_getRangeExtents): implementation of new IDL.
2542 (impl_getBoundedRanges): implementation of new IDL.
2543 (SpiTextRect): Internal use struct.
2544 (_spi_text_rect_union): internal method, calculates union of two
2545 SpiTextRect bounding rects.
2546 (_spi_text_range_seq_from_gslist): internal method, allows us
2547 to build our sequence efficiently as a gslist then convert it
2549 (_spi_bounds_contain): internal method, determines whether
2550 a text character is "in" or "out" of a clip rect according to
2551 values of TEXT_CLIP_TYPE.
2552 (spi_text_class_init): Initialize the new methods in the epv.
2555 (AccessibleTextClipType): New enum used by screen review api.
2556 (AccessibleTextRange): New struct used by screen review api.
2557 (AccessibleText_getRangeExtents):
2558 cspi binding for Accessibility_Text_getRangeExtents.
2559 (AccessibleText_getBoundedRanges):
2560 cspi binding for Accessibility_Text_getBoundedRanges.
2561 (AccessibleTextRange_freeRanges): convenience method.
2564 (AccessibleText_getRangeExtents):
2565 cspi binding for Accessibility_Text_getRangeExtents.
2566 (AccessibleText_getBoundedRanges):
2567 cspi binding for Accessibility_Text_getBoundedRanges.
2568 (AccessibleTextRange_freeRanges): convenience method.
2569 (get_accessible_text_clip_type): internal conversion method.
2570 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2572 * registryd/deviceeventcontroller.c:
2573 (spi_dec_mouse_check):
2574 Improved behavior for mouse:abs events
2575 [same granularity as mouse:rel events, and no
2576 events when mouse is idle].
2578 2002-12-16 Michael Meeks <michael@ximian.com>
2580 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2582 * libspi/stateset.c (state_spi_to_atk): split out
2583 ( fix several remote array bounds nasties )
2584 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2585 (impl_remove): make safe from array bounds issues.
2586 (spi_atk_state_from_spi_state): impl.
2588 * libspi/stateset.h (spi_state_set_cache_is_empty):
2589 add a set of wrapper defines to get layering right.
2591 * cspi/spi_accessible.c: update state set stuff to
2594 2002-12-14 Michael Meeks <michael@ximian.com>
2596 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2597 to avoid 2 roundtrips to the registry per key event
2598 (spi_atk_bridge_key_listener): upd.
2599 (deregister_application): release the dec.
2601 * registryd/registry.c (notify_listeners_cb):
2602 bin lots of re-enterant complexity - we no longer
2603 do a round-trip bonobo ref here, ensure that a single
2604 listener's exception failure won't poison all other
2606 (impl_registry_notify_event): bin obvious memory leak.
2608 2002-12-13 Michael Meeks <michael@ximian.com>
2610 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2611 init the ev so the error is meaningful.
2612 (spi_atk_bridge_key_listener): ditto.
2614 * cspi/spi_main.c (cspi_ev): init the ev so we start
2615 with a clean slate, otherwise the first exception
2616 kills us completely.
2618 * cspi/spi_text.c (get_accessible_text_boundary_type):
2619 add a fallthrough for no warnings.
2621 * cspi/spi_registry.c: prune unused warnings.
2623 * cspi/spi_main.c (cspi_object_take): fix
2624 mind-blowing brokenness ( by watching the compile
2627 * cspi/spi_accessible.c (Accessible_getStateSet):
2628 re-impl. to use an AtkStateSet.
2629 (spi_state_type_from_accessible_state),
2630 (init_state_table): bin these.
2632 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2634 (atk_state_set_from_accessibility_state_set): here.
2636 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2637 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2638 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2639 (AccessibleStateSet_add, AccessibleStateSet_remove),
2640 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2641 (AccessibleStateSet_isEmpty): re-write to use a local
2644 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2646 * configure.in: Revved to 1.1.7 (new keymask vals).
2648 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2650 * libspi/keymasks.h:
2651 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2653 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2656 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2657 to compare two CORBA_TypeCodes.
2658 (cspi_internal_event_add): Silence warning from FORTE compiler.
2660 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2661 avoid implicit declaration of functions.
2663 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2665 * atk-bridge/bridge.c:
2666 (spi_atk_bridge_init_event_type_consts): Store signal id for
2667 active-descendant-changed signal.
2668 (spi_atk_register_event_listeners): Add signal listener for
2669 active-descendant-changed signal,
2670 (spi_atk_bridge_signal_listener): Move code in function
2671 spi_atk-signal_emit_event() into this function.
2672 Add support for active-descendant-changed
2673 Update support for child-changed signal.
2674 (spi_bridge_window_event_listener): Silence warning.
2676 * libspi/spi_private.[ch]:
2677 (spi_init_any_object): Change second parameter from CORBA_Object to
2679 Omit call to CORBA_Object_duplicate().
2680 Set CORBA_any's _value to CORBA_Object*.
2682 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2688 (AccessibleEvent_ref, AccessibleEvent_unref):
2689 New methods, for persisting an event outside the emission context.
2690 Must be used if the new accessor methods are to be called
2691 outside of the event listener's callback.
2693 * cspi/bonobo/cspi-bonobo.c:
2694 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2695 as second parameter instead of NULL, so we can call
2696 cspi_check_ev afterwards.
2699 (cspi_object_take): New internal method,
2700 converts a CORBA_Object reference to a hard ref on
2701 an Accessible if possible, returning NULL if the object
2702 reference is invalid or an Accessible * otherwise.
2705 (AccessibleEvent_ref):
2706 Increment the event's internal private refcount, and
2707 add the event's internal struct to an internal cache
2708 if it's not already there.
2709 (AccessibleEvent_unref):
2710 Decrement the event's refcount and remove it from
2711 the cspi event cache if refcount==0.
2712 (cspi_event_compare): New private method.
2713 Compares two event structs via their ids. Used
2715 (cspi_internal_event_lookup): New private method.
2716 (cspi_internal_event_check): New private method,
2717 a 0-order sanity check for events to make sure their
2718 private data is intact.
2719 (cspi_internal_event_add, cspi_internal_event_remove):
2720 New private methods for managiing the event cache.
2722 * cspi/bonobo/cspi-bonobo-listener.c:
2724 Initialize the new private data elements (id, magic, ref_count).
2726 * atk-bridge/bridge.c:
2727 (spi_atk_bridge_signal_listener):
2728 Fixed bug #100530, passing wrong params to emission func.
2730 * registryd/deviceeventcontroller.c:
2731 (spi_dec_button_update_and_emit):
2732 Fixed type in mask bit operations; fix for #99799.
2734 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2736 Removed some of the more dangerous workarounds from
2737 previous commit; they are only needed by GOK, which
2738 in reality should be using another method to accomplish
2739 the goals. So on reconsideration some of the workarounds
2740 need to be reverted:
2742 * registryd/deviceeventcontroller.c:
2743 (spi_keycodes_contain, spi_dec_init_keycode_list):
2744 Removed these methods, used only by a nasty hack to try
2745 and detect whether a key synthesis should be allowed
2746 to reset the XKB latch state or not. This code was only
2747 required to work around an interaction between GOK,
2748 button events, and XKB.
2749 (impl_generate_key_event):
2750 Removed hack at end of key generation that tried to
2751 "do the right thing" if XKB latch keys were generated
2752 in the midst of button press/release pairs.
2755 Added a check for HAVE_XINPUT. Not normally used yet.
2757 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2759 Workarounds and fixes for mouse event/XKB interaction.
2761 * registryd/deviceeventcontroller.c:
2762 (spi_keycodes_contain, spi_dec_init_keycode_list):
2763 New internal methods.
2764 (spi_dec_set_unlatch_pending):
2765 Split the method that tells XKB to expect an
2766 unlatch (and revert it) out of the rest of the
2767 event handling code. This method is called by the
2768 two mouse event handlers (the poll and the filter).
2769 (spi_dec_update_and_emit, spi_dec_mouse_check):
2770 New methods split from spi_dec_poll_mouse_moved.
2771 The second one is now called from inside the filterFn
2772 when an XKB delatch event is received, to determine
2773 whether to revert the delatch or not.
2774 (spi_poll_mouse_moved): Refactor; also we can now
2775 properly handle the case where multiple button states
2776 have changed between polling cycles and we didn't get
2777 notified due to another client's grab.
2779 Synchronize the server while handling an XKB notification.
2780 Ugly, but apparently necessary to avoid nasty races.
2781 Check the mouse state on receipt of an XKB latch change,
2782 to decide whether to revert the latch or not. (Latches are
2783 reverted if there is an immediately preceding mouse button
2784 event that a client has consumed, in which case we don't want
2785 the user to see the side-effect of the event).
2786 (spi_device_event_controller_forward_mouse_event):
2787 Check for modifier events and fire before resetting mouse_mask_state,
2788 prevents losing modifier events.
2790 (impl_generate_keyboard_event):
2791 If we've just generated a keyboard event for a non-shift key,
2792 we don't want to revert the pending XKB latch.
2793 Otherwise, check the modifier state (via a call to
2794 spi_dev_mouse_check) and set the relatch mask to
2795 that state before returning.
2797 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2800 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2803 * atk-bridge/bridge.c:
2804 (spi_atk_register_event_listeners):
2805 Don't re-register for ATK events if the registry has died
2806 and the app needs to re-register; the ATK listeners are in
2807 process and doing so will cause duplicate emission.
2809 * registryd/deviceeventcontroller.c:
2810 (spi_poll_mouse_moved):
2811 Reformat the source, detect and emit multiple button-change
2812 events (i.e. if multiple buttons have changed between poll
2814 Add code to detect mouse-down events even when the pointer
2815 is grabbed; workaround for GOK bug 98420.
2816 (spi_controller_register_with_devices):
2817 Call XTestGrabControl with 'impervious' flag set to True,
2818 allows us to synthesize events and query the pointer even during
2819 an active grab by another client.
2820 (spi_device_event_controller_forward_mouse_event):
2821 Set the mouse_mask_state to the mouse_button_state from
2822 the intercepted event, to synchronize the grab listener with
2825 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2827 * cspi/spi_accessible.c:
2828 (AccessibleRole_getName):
2829 Added necessary strings for making this (deprecated)
2830 method work with the new role types.
2831 (init_role_table, role_table):
2832 Added definition of SPI_ROLE_APPLICATION.
2834 * libspi/spi-roletypes.h:
2835 Added SPI_ROLE_APPLICATION.
2837 * idl/Accessibility_Role.idl:
2838 Added ROLE_APPLICATION.
2840 * docs/reference/cspi/at-spi-cspi-decl.txt:
2841 Added SPI_ROLE_APPLICATION to docs.
2843 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2845 * cspi/spi_accessible.c
2846 (cspi_init_role_table): Do not write beyond end of role_table.
2847 (Accessible_getRole): Use correct type for value returned by
2848 Accessibility_Accessible_getRole().
2850 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2851 beyond end of role_table. (This fixes bug #98269)
2853 * libspi/application.c: Add include file spi-private.h for
2854 definition of spi_init_any_nil.
2856 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2860 * libspi/spi-private.h:
2861 Added DGB() macro, and extern int _dbg declaration.
2863 * registryd/registry.c:
2864 (definitions) storage for _dbg.
2865 (spi_registry_init):
2866 Get environment variable "AT_SPI_DEBUG".
2867 (spi_registry_set_debug):
2868 New method, to initialize _dbg value.
2869 (spi_listener_struct_new, spi_registry_object_finalize):
2870 (notify_listeners_cb):
2871 Changed fprintfs to use DBG and g_warning().
2873 * registryd/deviceeventcontroller.c:
2874 (_deregister_keygrab, spi_controller_register_device_listener):
2875 Changed debug/warning messages to use DBG macro.
2877 * libspi/listener.c:
2878 (impl_notify_event):
2879 Changed warning messages to use DBG macro and g_warning().
2881 * atk-bridge/bridge.c:
2882 (atk_bridge_init, spi_atk_bridge_get_registry):
2883 (spi_atk_bridge_exit_func):
2884 (spi_atk_bridge_property_event_listener):
2885 Changed status, warning, and error messages to use
2886 g_warning, g_message, and DBG macros.
2889 Read the state of the AT_SPI_DEBUG environment variable
2890 and set a local '_dbg' accordingly.
2892 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2894 FIXES for 98836, 98842, other bugs.
2897 Revved to 1.1.4, interface-age=4, binary-age=4.
2899 * registryd/deviceeventcontroller.c:
2901 Fixed crasher bug in last_mouse_pos initialization.
2903 * registryd/registry.c:
2904 (desktop_add_application, desktop_remove_application):
2905 Added (and then commented out) some support for
2906 object context marshalling. [TODO]
2908 * atk-bridge/bridge.c:
2909 (spi_atk_bridge_event_context_create):
2910 Commented out object context creation until it can
2911 be properly tested and debugged.
2913 * registryd/registry.c:
2914 (impl_registry_notify_event):
2915 Fixed crasher bug, we were calling
2916 spi_re_entrant_list_foreach () with an empty list.
2918 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2920 * idl/Accessibility_Action.idl:
2921 * idl/Accessibility_Component.idl:
2922 * idl/Accessibility_Desktop.idl:
2923 * idl/Accessibility_Event.idl:
2924 * idl/Accessibility_Hyperlink.idl:
2925 * idl/Accessibility_Image.idl:
2926 * idl/Accessibility_Relation.idl:
2927 * idl/Accessibility_Selection.idl:
2928 * idl/Accessibility_State.idl:
2929 * idl/Accessibility_Value.idl:
2930 Updated unimplemented slot count to minimum of
2931 four for all interfaces, for ABI freeze.
2933 * idl/Accessibility_EditableText.idl:
2934 * idl/Accessibility_Text.idl:
2935 Updated unimplemented slot count to six
2938 * idl/Accessibility_Registry.idl:
2939 Updated unimplemented slot count to six
2940 (also for DeviceEventController),
2943 * idl/Accessibility_Table.idl:
2944 Updated unimplemented slot count to eight,
2947 * idl/Accessibility_Event.idl:
2948 Added CORBA_any "any_data" member to Event struct.
2950 * idl/Accessibility_Event.idl:
2951 Added CORBA_any "any_data" member to Event struct.
2953 * atk-bridge/bridge.c:
2955 atk_signal_text_changed, atk_signal_child_changed,
2956 signal ids queried from gtype system.
2957 (AtkBridgeEventContextType): New enum.
2958 (AtkBridgeEventContextData): New struct.
2959 (AtkBridgeEventContext): New struct.
2960 (atk_bridge_init_event_type_consts):
2961 New method, initializes type contants for comparison
2962 prior to emit_eventv.
2963 (atk_bridge_event_context_init): New method,
2964 initializes a CORBA_any from an AtkBridgeEventContext.
2965 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2966 initialize the event.any_data struct.
2967 (spi_atk_bridge_event_context_create): New method,
2968 creates an AtkBridgeEventContext from signal/event info.
2969 (spi_atk_bridge_event_context_free): New method.
2970 (spi_atk_emit_eventv): Changed to take an
2971 AtkBridgeEventContext parameter. We now initialize
2972 the event.any_data member prior to notifying the
2973 Registry, via the AtkBridgeEventContext.
2974 (spi_atk_bridge_property_event_listener):
2975 (spi_atk_bridge_state_event_listener):
2976 Match emit_eventv signature.
2977 (spi_atk_bridge_object_event_listener):
2978 Match emit_eventv signature, and create an
2979 event context from the event details.
2980 Free the event context afterwards.
2981 (spi_atk_bridge_window_event_listener):
2982 Create an event context, pass it to the
2986 (AccessibleEvent_getContextString):
2987 (AccessibleEvent_getContextObject):
2988 New methods, allow query of AccessibleEvent objects
2989 for more context details (via the "any_data" member
2990 of the Event struct, above).
2993 Definitions for AccessibleEvent_getContextString
2994 and AccessibleEvent_getContextObject.
2996 * cspi/spi_listener.h:
2997 (InternalEvent): New struct.
3000 (AccessibleEvent_getContextString):
3001 (AccessibleEvent_getContextObject):
3002 Implementations of new methods, for obtaining
3003 additional context information from some event types.
3005 * cspi/spi_registry.c:
3006 (SPI_registerGlobalEventListener):
3007 Added mention of active-descendant-changed event in docs.
3009 * cspi/cspi-bonobo-listener.c:
3011 Marshal the any into the AccessibleEvent via
3014 * libspi/spi-private.h:
3015 #include <orbit/orbit.h>
3017 (spi_init_any_string):
3018 (spi_init_any_object):
3019 New convenience function declarations.
3023 (spi_init_any_string):
3024 (spi_init_any_object):
3025 New convenience function implementations.
3027 * registryd/deviceeventcontroller.c:
3028 (spi_poll_dec_mouse_moved):
3029 (spi_device_event_controller_forward_mous_event):
3030 Initialize any_data member of event.
3031 (spi_deregister_controller_device_listener):
3032 Fix incorrect param pass which was preventing deregistration.
3034 * registryd/registry.c:
3035 (desktop_add_application):
3036 (desktop_remove_application):
3037 Add object data to event's any_data before dispatch.
3039 Fix for error messages from GAIL.
3041 * test/event-listener-test.c:
3042 Test new ContextString and "any_data" API:
3043 (report_text_event): New method query and output context string.
3044 (main): register a new text listener with report_text_event
3047 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3049 Fixes for bugs 98127 and 97914.
3050 * cspi/spi-roletypes.h:
3051 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3053 * cspi/spi-statetypes.h:
3054 Added SPI_STATE_MANAGES_DESCENDANTS
3056 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3057 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3058 * cspi/spi_accessible.c:
3059 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3060 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3061 Accessibility_STATE_MANAGES_DESCENDANTS
3062 * libspi/accessible.c:
3063 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3064 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3065 As requested by Bill, I also cleaned up the alignment.
3066 * libspi/relation.c:
3067 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3068 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3069 * libspi/stateset.c:
3070 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3071 Accessibility_STATE_MANAGES_DESCENDANTS
3072 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3073 Document changes reflecting modifications to roles.
3074 * docs/reference/cspi/tmpl/spi_relation.sgml:
3075 Document changes reflecting modifications to relations.
3076 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3077 Document changes reflecting modifications to states.
3079 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3082 Revved to 1.1.3, interface-age=3, binary-age=3.
3083 Added REBUILD macro.
3086 Removed accessx-gui from the tests, since we have a nice
3087 keyboard accessibility capplet now :-)
3089 * test/keysynth-demo.c:
3090 (increment_scan): removed do-nothing default: case,
3093 * test/visual-bell.c:
3094 (main) : removed do-nothing default: case,
3097 * cspi/spi_action.c:
3098 (AccessibleAction_getKeyBinding_):
3099 Documented keybinding string format.
3103 (AccessibleText_getAttributes):
3104 Documented the text attribute string format.
3105 It's changed to use semicolon delimiters also,
3106 to prevent clashes with CSS attributes, but the old
3107 trick of looking for ", " strings will still work
3108 (as unreliably as ever). Fix for bug related to 97916.
3111 Include <cspi/bonobo/cspi-bonobo-listener.h>
3112 Fixes build warning.
3113 (SPI_freeAccessibleKeySet):
3114 (AccessibleKeystrokeListener_addCallback):
3115 (AccessibleKeystrokeListener_removeCallback):
3116 Modify to use AccessibleDeviceListener API internally,
3117 instead of AccessibleKeystrokeListener.
3119 * idl/Accessibility_Event.idl:
3120 Added two more empty slots to EventListener (for a total of four).
3122 * idl/Accessibility_Accessible.idl:
3123 Added four empty slots to Accessible interface.
3125 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3127 * idl/Accessibility_Registry.idl:
3128 (KeyEventType, EventType):
3129 Marked KeyEventType as deprecated; it duplicates
3130 functionality of EventType, which has been extended to
3131 include Mouse-button events.
3132 (KeyEventTypeSeq): defined in terms of EventType.
3133 (registerDeviceEventListener, deregisterDeviceEventListener):
3134 New methods, for managing listeners to device events,
3135 which potentially may consume them.
3138 Added definition for AccessibleDeviceListener.
3140 * cspi/spi-listener.h:
3141 (enum AccessibleDeviceEventType):
3142 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3143 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3144 for backwards compat.
3145 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3146 and typedef'd AccessibleKeystroke to it for back-compat.
3147 (AccessibleDeviceListenerCB):
3148 New function prototype typedef.
3151 (AccessibleDeviceEventMask): New typedef.
3152 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3153 (AccessibleKeyMaskType):
3154 Set equivalent to AccessibleModifierMaskType for back-compat.
3155 (SPI_createAccessibleKeystrokeListener):
3156 (AccessibleKeystrokeListener_unref):
3157 Deprecated in favor of equivalent (better-named) new API below..
3158 keystroke listeners are like all device listeners.
3159 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3160 New API names for old features :-).
3161 (AccessibleDeviceListener_addCallback):
3162 (AccessibleDeviceListener_removeCallback):
3163 (SPI_registerDeviceEventListener):
3164 (SPI_deregisterDeviceEventListener):
3168 (SPI_createAccessibleKeystrokeListener):
3169 Use new preferred API, cspi_device_listener_new() and
3170 cspi_device_listener_add_cb().
3171 (AccessibleKeystrokeListener_removeCallback):
3172 Use new preferred API, cspi_device_listener_remove_cb().
3173 (AccessibleKeystrokeListener_unref):
3174 Use new preferred API, cspi_device_listener_unref().
3175 (SPI_createAccessibleDeviceListener):
3176 (AccessibleDeviceListener_addCallback):
3177 (AccessibleDeviceListener_removeCallback):
3178 Implementation of new API.
3180 * cspi/spi_registry.c:
3181 (SPI_registerDeviceEventListener):
3182 (SPI_deregisterDeviceEventListener):
3183 Implementation of new API. Fixed memory leak and removed need to
3184 allocate EventTypeSeq (thanks Michael for catching this).
3185 Squashed a wayward CORBA_exception_free that shouldn't get called.
3187 * cspi/bonobo/cspi-bonobo-listener.c:
3189 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3190 (cspi_key_event): renamed to cspi_device_event().
3191 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3192 Extended to handle mouse button events as well as key events.
3193 (CSpiKeystrokeListener):
3194 Class superceded by CSpiDeviceListener.
3195 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3196 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3198 * cspi/bonobo/cspi-bonobo-listener.h:
3199 (CSpiKeystrokeListener):
3200 Class superceded by CSpiDeviceListener.
3201 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3202 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3204 * libspi/Makefile.am:
3205 Replaced keystrokelistener.h and keystrokelistener.c
3206 with devicelistener.h and devicelistener.c; keystrokelisener.h
3207 stub retained for back-compat.
3209 * libspi/keystrokelistener.c:
3213 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3215 * registryd/deviceeventcontroller.c:
3216 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3217 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3218 (DEControllerPrivateData): Added xkb settings data.
3219 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3220 button release events (which can't be captured via XGrabButton).
3221 Don't dispatch via the 'normal' event mechanism if the device event was
3223 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3224 Handle the typeseq data in its new location (see above).
3225 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3226 New methods, for "generic" device listeners.
3227 (spi_controller_register_device_listener):
3228 Now handle mouse event listeners as well as key listeners.
3229 (spi_controller_notify_mouselisteners):
3230 New internal method.
3231 (spi_device_event_controller_forward_mouse_event):
3232 Now we notify mouse device listeners as well as generating the
3233 non-consumable "mouse:" events.
3235 We must check and restore the XKB
3236 modifier map if we consume the event, since the act of triggering
3237 a mouse event will normally reset the XKB latch. This is required for
3239 (spi_controller_register_with_devices):
3240 Load the XKB settings when registering, and register for XKB
3241 state notify events.
3242 (spi_key_eventtype_seq_contains_event):
3243 Renamed spi_eventtype_seq_contains_event, since it's used
3244 internally for all device event types now.
3245 (spi_key_event_matches_listener):
3246 Uses spi_eventtype_seq_contains_event now.
3247 (spi_device_event_controller_object_finalize):
3248 Free the private data and the XkbKeyboard struct.
3249 (impl_register_device_listener, impl_deregister_device_listener):
3250 Implementation of new IDL.
3251 (spi_deregister_controller_device_listener):
3252 New internal method.
3253 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3254 More efficient implementation, we don't have to create a new
3255 XkbControls structure every time we query.
3256 (spi_device_event_controller_class_init):
3257 Initialize the epv entries for the new IDL. Assign the
3258 "spi-dec-private" quark.
3259 (spi_device_event_controller_init):
3260 Initialize the private data.
3261 (spi_device_event_controller_forward_key_event):
3262 Removed a bogus CORBA_exception_free() call.
3264 * registryd/deviceeventcontroller.h:
3265 Replaced inclusion of keystrokelistener.h with
3268 * test/event-listener-test.c:
3269 (report_mouse_event):
3272 Added mouse-event device listener.
3274 * test/test-simple.c:
3275 (create_test_window):
3276 Fixed regression (we were instantiating a GtkRange,
3277 which is now an abstract class). Also fixed to match
3278 existing AtkRole names, this seems to have changed in ATK
3279 awhile ago; too late now I think, and the new
3280 mechanism is at least elegant and consistent with the
3281 glib enum "nick" APIs.
3283 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3285 * idl/Accessibility_Relation.idl:
3286 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3287 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3288 * idl/Accessibility_Role.idl:
3289 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3290 * idl/Accessibility_State.idl:
3291 add STATE_MANAGES_DESCENDANTS
3292 * test/event-listener-test.c:
3293 Added a listener for active-descendant events.
3295 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3297 * atk-bridge/bridge.c
3298 (atk_bridge_init): If application is Bonobo component wait until top
3299 level is added before registering
3300 (spi_atk_bridge_do_registration): New function which contains code,
3301 formerly in atk_bridge_init, to do application registration.
3302 (spi_atk_bridge_toplevel_added): Signal called when top level
3303 added to Bonobo component
3305 This fixes bug #83134.
3307 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3309 * registryd/deviceeventcontroller.c
3310 Fixed compilation error caused by calling gettimeofday()
3313 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3318 Added template for HAVE_XKB.
3321 Changes to check for XKB, and to set the HAVE_XKB #define if it
3324 * libspi/listener.c:
3325 ()impl_notify_event): Make failure to get event source name
3328 * registryd/deviceeventcontroller.c:
3329 (#include): include X11/XKBlib.h.
3330 (DEControllerPrivateData) : New struct.
3331 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3333 (dec_synth_keycode_press) (dec_synth_keycode_release):
3334 New methods; split the key synthesis code into these methods.
3335 They check XKB settings before determining the "time" values to
3336 pass to Xtest; this fixes bug #95828.
3337 (impl_generate_keyboard_event): Changed to use methods above,
3338 instead of callng Xtest directly.
3339 (spi_device_event_controller_init): Initialize new privae struct s
3341 (spi_device_event_controllr_object_finalize):
3342 Free the (new) private data.
3344 * registryd/deviceeventcontroller.h:
3345 Add new gpointer to end of struct data.
3347 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3350 Incremented revision to 1.1.2, SONAME is still '.so', library
3351 extensions are ".so.0.0.2".
3353 * registryd/deviceeventcontroller.c:
3354 FIXES FOR #93592 and #95940.
3355 (statics): renamed mouse_button_state to mouse_mask_state,
3356 added key_modifier_mask.
3357 (spi_dec_poll_mouse_moved):
3358 Added key modifier checks, and emit "keyboard:modifiers"
3359 events when the key modifiers currently in use change.
3360 Also generate "mouse:abs" events periodically, even if the mouse
3361 is stationary (should we?).
3362 Alternatively we could generate "mouse:abs" events for either all
3363 mouse movements, or every 'nth' mouse movement, or at the
3364 beginning and end of every "active" mouse period.
3366 * test/event-listener-test.c:
3367 (main): Added listener for "keyboard:modifiers" events.
3369 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3371 * libspi/keymasks.h:
3372 Added key mask #defines for mouse buttons; e.g.
3373 SPI_KEYMASK_BUTTON1, etc.
3376 Incremented dependency on ATK to version 1.1.0. (This dependency
3377 is probably premature but will soon be real enough).
3379 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3381 * libspi/hyperlink.[ch]
3382 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3383 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3386 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3391 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3393 * registryd/deviceeventcontroller.c
3394 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3395 events to be ignored.
3396 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3397 keyboard_mode so that XAllowEvents() can be called.
3401 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3403 * cspi/spi-accessible.c: Correct names of roles returned by
3404 AccessibleRole_getName(). Fixes bug #95055.
3406 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3408 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3411 * registryd/registry.c
3412 (desktop_remove_application: Write diagnostic message to stderr for
3415 (impl_accessibility_registry_deregister_global_event_listener):
3416 Correct size of lists array. This addresses bug #94555).
3418 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3420 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3423 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3425 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3428 * registryd/registry.c (impl_registry_notify_event): Remove
3429 unnecessary call to parser_event_type().
3431 * docs/reference/cspi/tmpl/spi_component.sgml:
3432 Add reference to SPI_LAYER_WINDOW.
3434 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3436 * registryd/registry.c
3437 (desktop_add_application): Remove leak.
3438 (desktop_remove_application): Remove leak.
3439 (parser_event_type): Remove leak.
3441 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3443 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3444 bogus call to CORBA_string_dup(). Also removed unnecessary
3445 g_string_dup/g_free calls.
3447 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3449 * registryd/deviceeventcontroller.c:
3450 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3452 * test/event-listener-test.c:
3453 main: commented out three redundant listeners, to reduce output
3454 noise. (They still are potentially useful for testing).
3457 2002-09-13 Michael Meeks <michael@ximian.com>
3459 * Update all the copyrights to include Ximian.
3461 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3463 * cspi/spi.h: add SPI_LAYER_WINDOW.
3465 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3466 add Accessibility_LAYER_WINDOW case.
3468 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3470 * libspi/component.c: (impl_accessibility_component_get_layer):
3471 add ATK_LAYER_WINDOW case.
3473 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3475 * configure.in: incremented micro version.
3477 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3479 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3482 Clarified and reworded our commit policy.
3485 Started an API "todo" addition list for 2.2.
3488 (impl_getSelection):
3489 Free char pointer from atk_text_get_selection, which was being leaked.
3491 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3494 Small revision to author acknowledgement.
3496 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3498 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3499 If signal has detail add it to the type of the event.
3502 2002-08-12 Michael Meeks <michael@ximian.com>
3504 * test/test-simple.c (global_listener_cb): bin bogosity.
3505 (test_keylisteners): disable, still doesn't work reliably,
3506 certainly not on my system anyway.
3508 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3509 don't leak a reference on the DEC. This round-trip
3510 fetching of the DEC per keystroke sucks, it should be
3513 * cspi/spi-private.h,
3514 * cspi/cspi-lowlevel.h,
3515 * cspi/bonobo/cspi-bonobo-listener.[ch],
3516 * cspi/bonobo/cspi-bonobo.c: get the copyright
3517 notices better - there is still a large amount of
3518 work in at-spi falsely attributed solely to Sun.
3520 * cspi/spi_main.c (cspi_object_ref): kill bogus
3521 hash lookup, just increment the ref.
3522 (SPI_freeString): make explicit the fact that we
3523 handle NULL strings just fine.
3524 (report_leaked_ref): obey coding standards.
3525 (cspi_object_hash, cspi_object_equal): kill retval.
3526 (cspi_object_release): only release if not on loan.
3527 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3528 (cspi_object_borrow, cspi_object_return): impl.
3530 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3531 use cspi_object_borrow / return.
3533 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3535 * cspi/bonobo/cspi-bonobo-listener.c:
3537 Don't call cspi_oject_new() because this is creating a new Accessible
3538 every single time that an event is fired. This causes ATs like at-poke
3539 to nolonger recognise the source of the event and thus ignore it.
3540 Re-use the object from the cache, ref it and then unref it after the
3541 listeners have been called.
3543 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3545 * test/event-listener-test.c:
3546 Added command-line options to disable mouse events (m) and
3549 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3551 * configure.in: Update required versions of ATK, GTK+ and GAIL
3553 * cspi-1.0.pc.in: Add dependency for X include files
3556 * cspi/bonobo/Makefile.am:
3557 Add $(X_CFLAGS) so that X include files
3558 are picked up even if not in standard place (bug #71686)
3560 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3562 * registryd/deviceeventcontroller.c: fix for 84261
3563 (spi_dec_mouse_moved):
3564 Added test of mouse button mask, so that we can detect mouse
3565 button release. Unfortunately we can't otherwise detect mouse
3566 button release events without consuming the mouse press event,
3567 because of the way XGrabButton works. This means that our mouse
3568 release events have a latency dependent on the polling period
3569 while the mouse button is down. At least in this case we only
3570 have to poll while the button is down, and not at other times.
3571 If the button masks don't match with what the last press event
3572 reported, we report the appropriate button release event.
3573 (spi_dec_ungrab_mouse):
3574 New method (not yet called).
3575 (spi_device_event_controller_forward_mouse_event):
3576 New method, sends mouse press event from GdkFilter.
3577 (spi_dec_init_mouse_listener):
3578 Added code to call XGrabButton, redirecting mouse button events to
3579 the root window and our Gdk event loop.
3581 Added code to filter mouse button events, and reordered.
3583 * test/event-listener-test.c:
3585 Added registration for mouse events of type "mouse:button".
3587 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3589 * registryd/deviceeventcontroller.c: partial fix for 84261
3590 (spi_dec_poll_mouse_idle):
3591 New method, a timeout which checks to see if the mouse
3593 (spi_dec_poll_mouse_moving):
3594 A timeout to be called when mouse motion is underway.
3595 (spi_dec_poll_mouse_moved):
3596 A method which fires an event if the mouse has moved, and reports
3597 whether or not it did so.
3598 (spi_dec_init_mouse_listener):
3599 A method which sets up the timeouts above.
3600 (spi_device_event_controller_new):
3601 Now calls spi_dec_init_mouse_listener.
3603 * registryd/registry.c:
3604 (spi_registry_init):
3605 Now we initialize the device event controller when the registry is
3606 initialized, instead of waiting until a client has requested a key
3607 event notification; this is because we need the event controller
3608 for mouse events, but the mouse event registration API is a
3609 "registry" call and doesn't explicitly call the
3610 deviceeventcontroller.
3611 We now report mouse motion events with a 100 ms idle latency and
3612 a 20 ms granularity when motion is in progress.
3614 * test/event-listener-test.c:
3616 We now register the "detail listener" for events of type
3617 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3618 delivered only for the first mouse event received, and thereafter
3619 "mouse:abs" events are delivered.)
3621 * cspi/spi_registry.c:
3622 DOCS: Documented the above mouse event typestrings.
3624 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3626 Happy Summer Solstice...
3628 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3629 (spi_controller_notify_keylisteners):
3630 Changes to remove a listener from the listener list, freeing its
3631 open keygrabs, if a notification to that listener fails. This
3632 means that although a dead listener can continue to hold a passive
3633 keygrab, a maximum of one dispatch to such a listener can fail
3634 before the listener is removed from the list, thus the keygrab
3635 will be released on the next occurrence.
3636 As part of this fix:
3637 (spi_notify_keylisteners):
3638 Renamed to spi_controller_notify_keylisteners, as the controller
3639 instance must now be passed as an argument.
3640 The copied 'notify' GList is now a list of DEControllerKeyListener
3641 objects, since we need more than just the CORBA reference if a
3642 notify fails and we need to deregister the listener.
3643 (impl_notify_listeners_sync):
3644 (impl_notify_listeners_async):
3645 (spi_device_event_controller_forward_key_event):
3646 Modify use of notify_keylisteners in accordance with above
3648 (spi_deregister_controller_key_listener):
3649 New method introduced by refactoring, from
3650 impl_deregister_keystroke_listener.
3651 (impl_deregister_keystroke_listener):
3652 Call spi_deregister_controller_key_listener.
3653 (spi_key_listener_clone):
3654 New method to copy a key listner without doing a 'ref' on the
3655 remote object instance; used to create a notifier list.
3656 (spi_key_listener_data_free):
3657 New method, frees data without unreffing the source.
3659 (spi_key_listener_clone_free): new method.
3660 (spi_key_listener_free):
3661 refactored to call spi_key_listener_data_free.
3663 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3665 * registryd/registry.c: [fix for bug 86048]
3666 (notify_listeners_cb):
3667 Clear CORBA system exceptions which occur when notifying
3668 listeners, before returning to the source of the original event,
3669 since the event source doesn't care if the relayed notify failed.
3670 In other words, don't complain to the atk-bridge if the registry
3671 could not notify all its listeners, that's no fault of the
3672 application and thus should not appear to be an error from the
3673 application's perspective.
3675 * cspi/spi_main.c: [fix for bug 85980]
3677 Replaced use of bonobo_object_dup_ref with call to the wrapper
3678 method, csou_dup_ref (); this silences a compiler warning and
3679 provided more portability.
3681 Ping the registry before return, and restart if necessary.
3683 * cspi/bonobo/cspi-bonobo.c:
3685 New internal method.
3687 Fixed this method to return an object reference, as it should have
3690 * cspi/cspi-lowlevel.h:
3691 Added internal definition for cspi_ping() and fixed
3692 return type of cspi_dup_ref().
3695 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3697 * atk-bridge/bridge.c: [fix for bug 85305]
3698 (spi_atk_bridge_register_application):
3699 New method where the initial application registry calls have been
3700 moved; it allows an application to re-register in response to
3701 certain error conditions (such as a registry restart, see below).
3703 Moved some initialization code to the method
3704 spi_atk_bridge_get_registry, below.
3705 (spi_atk_bridge_get_registry):
3706 New, private accessor function for the Accessibility_Registry
3707 instance. If the registry has not been started before, or has
3708 died (as detected by failure of a CORBA exception), it is
3709 restarted before return, and spi_atk_bridge_register_application
3710 is called again to register with the new bridge instance.
3711 (spi_atk_emit_eventv):
3712 Set registry_died on error; use spi_atk_bridge_get_registry () to
3713 access the registry.
3715 * registryd/registry.c:
3716 (impl_accessibility_registry_register_global_event_listener):
3717 Set listener's event_type_quark to etype.minor instead of
3718 etype.major (fix for bug 84856).
3720 * test/event-listener-test.c:
3721 (report_detail_event):
3722 Change the output string so that user/tester can tell that the
3723 'detail listener' was called instead of the 'generic listener'.
3725 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3727 Fixes for bugs 84900, 84908, 84897, 84898.
3732 Revved version to 1.1.0
3733 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3734 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3736 * idl/Accessibility_Registry.idl:
3737 (EventListener::notifyEvent):
3738 Removed 'oneway' directive after extensive consulation with
3739 ORBit2 team and others. This means also that unref() of the event
3740 source can and should be done synchronously after emission, rather
3741 than remotely in the client, after servicing the notify call on
3744 NOTE: This change speeds up listener performance considerably, but
3745 introduces new latency on the application side. We may want to
3746 add an event queue to the atk-bridge.
3748 * atk-bridge/bridge.c:
3749 (spi_atk_bridge_focus_tracker):
3750 Do a local unref() on the event source after emission.
3752 * registryd/registry.c:
3753 (desktop_remove_application):
3754 Do an unref() on the event source after emission.
3755 (desktop_add_application):
3756 Do an unref() on the event source after emission.
3757 (notify_listeners_cb):
3758 When relaying an event, don't automatically add the event source
3759 to the local object cache, just CORBA_dup it instead. Likewise,
3760 if this method reenters, release the ref rather than calling
3762 (impl_registry_notify_event):
3763 No longer call remote unref() on the event source after dispatch.
3765 * libspi/eventlistener.c:
3766 (impl_accessible_event_notify_event):
3767 Removed remote unref ()
3769 * cspi/bonobo/cspi-bonobo-listener.c:
3771 We now call cspi_object_new() instead of cspi_object_add() on
3772 receipt of an event; thus we only have an implicit object ref
3773 while the cspi_event method is being executed. If we need to keep
3774 a reference to the object, the listener must call ref() on the
3775 object. Thus also we don't need to call cspi_object_unref() after
3776 invoking the listener callbacks in this method.
3780 New internal API for creating a new cspi object, without adding it
3781 to the object cache.
3783 Now uses cspi_object_new() to create the cspi object instance.
3785 Now checks to see if the object is in the internal object cache,
3786 and adds it if necessary before incrementing its refcount (note
3787 that new objects are added with a refcount of 1).
3788 (report_leaked_ref):
3789 New method which gives some information on leaked object instances
3790 if leak detection is turned on.
3792 * test/event-listener-test.c:
3793 (timing_test_event):
3794 New method, used for testing event delivery timing for special
3795 events of type "object:test". It reports elapsed time and
3796 events/sec every 500 events.
3798 Added a new listener, 'test listener', to check timing of event
3799 receipt as noted above.
3801 Added some timing output here also, reports elapsed time every 100
3804 * test/stress-test.c:
3805 Emit events of type "object:test", for use with "event-listener-test".
3807 * test/test-simple.c:
3808 (global_listener_cb):
3809 Call Accessible_ref() on the event source before calling
3810 validate_accessible, since the validation process does pointer
3811 comparisons on the event source, meaning that the event source
3812 needs to be added to the local object cache first. Any use of
3813 such pointer comparisons between Accessible objects requires that
3814 the caller hold an explicit reference to those objects.
3815 We also must therefore call Accessible_unref() when leaving this method.
3817 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3819 * registryd/deviceeventcontroller.c:
3820 (spi_controller_update_key_grabs):
3821 Fix for #84735, subsequent keygrab listeners not informed of
3822 registration failure.
3825 (spi_base_construct):
3826 Add an assertion on construct, to make sure the GObject passed in
3827 is really a GObject.
3829 Explicitly initialize object->gobj pointer to NULL;
3831 * cspi/bonobo/cspi-bonobo-listener.c:
3832 (cspi_object_add_ref):
3833 New method, can specify whether to dup-ref a bonobo object passed
3834 in if it's newly added to the object cache.
3836 Now calls cspi_object_add_ref with second param of "FALSE". This
3837 prevents us from doing a pointless dup-ref followed by
3838 release-unref for all those cases where the object is already in
3839 our object cache (fix for #85205).
3841 * atk-bridge/bridge.c:
3842 (spi_atk_bridge_idle_init):
3843 Removed this method, we don't need to initialize in an idle
3846 Changed to call spi_atk_register_event_listeners directly, not via an
3847 idle handler. (fix for #81139)
3848 (gnome_accessibility_module_shutdown):
3849 Removed conditional around deregistration of listeners, since we
3850 don't use the idle handler and thus have always registered when
3852 (spi_init_keystroke_from_atk_key_event):
3853 Changed references to Accessibility_KEY_PRESSED to
3854 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3856 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3858 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3863 * test/stress-test.c:
3866 (may have been an incomplete commit yesterday?)
3868 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3871 Added target for new stress-test.
3873 * test/stress-test.c:
3874 New test, sends 1000 focus notifies in quick succession.
3876 * test/key-listener-test.c:
3877 Now we report whether a keylistener registration
3878 request succeeded or failed.
3880 * test/event-listener-test.c:
3881 Uncommented some listeners which are now implemented.
3884 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3886 * registryd/deviceeventcontroller.c:
3887 (spi_controller_update_key_grabs):
3888 Fix for #82509, lack of failure notification when
3889 ALL_WINDOWS keygrabs fail due to XGrabKey
3890 failure: we synchronize the server when
3891 registering a passive grab, to make sure we get the
3892 error message before the call returns.
3894 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3896 * test/test-simple.c:
3898 Removed #ifdef KEY_IMPL_WORKS guards.
3899 (test_keylisteners):
3900 Removed #ifdef KEY_IMPL_WORKS guards.
3901 Fixed bug which was causing a hang waiting for a
3902 "press" event (which was already overwritten by a "release"
3903 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3905 Added code to set globals 'key_press_received' and
3906 'key_release_received'.
3909 Added section "1.1 API Proposed Additions" which
3910 lists API additions desired for at-spi-1.1 (only one so far).
3911 Updated TODO list a little.
3913 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3915 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3918 * configure.in: Revved to 1.0.0.
3920 * idl/Accessibility_Registry.idl:
3921 (registerKeystrokeListener):
3922 Added boolean return value.
3924 * registryd/registry.c:
3925 (notify_listeners_cb): Minor fix to debug output.
3927 * registryd/Accessibility_Registry.server.in.in:
3928 Revved version number in OAFIID to 1.0.
3930 * registryd/registryd.c:
3932 Use new OAFIID version.
3934 * cspi/bonobo/cspi-bonobo.c:
3936 Use new OAFIID version.
3942 * atk-bridge/bridge.c:
3944 Use new OAFIID version.
3946 * registryd/deviceeventcontroller.c:
3947 (impl_register_keystroke_listener):
3948 Added CORBA_boolean return value.
3949 (spi_controller_register_device_listener):
3950 Added gboolean return value.
3951 (spi_controller_register_global_keygrabs):
3952 Added gboolean return value.
3953 (spi_key_set_contains_key):
3954 Added implementation for many more control keys,
3955 for instance F1-F12, arrow keys, End, Home, Page_Up,
3957 [TODO: some still not implemented].
3959 * text/screen-review-test.c:
3960 (text_chunk_pad_string):
3961 New function: it provides mapping between coordinate
3962 positions of text chunks and character positions in the
3963 screen-review-line output string.
3964 (text_chunk_to_string):
3965 New function, calls text_chunk_pad_string with various
3966 pad/delimiter characters. Pushbuttons are delimited with
3967 square brackets, Frames with vertical 'pipe' lines, and
3968 other text with double quotes.
3969 (text_chunk_list_to_string):
3970 Calls new function text_chunk_to_string.
3971 (toplevel_composite):
3972 New function to composite layers CANVAS through
3973 POPUP in each toplevel (other layers are composited
3974 across toplevels, i.e. BACKGROUND and OVERLAY).
3975 (review_buffer_composite):
3976 Revise to use new methods.
3982 2002-05-31 Laszlo Peter <laca@sun.com>
3984 * configure.in: add the Xtst libdir to the runpath on Solaris,
3985 since it's not in the default library search path.
3987 2002-05-29 jacob berkman <jacob@ximian.com>
3989 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3991 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3993 * test/screen-review-test.c:
3994 (text_chunk_pad_string):
3995 Added method, which pads the string according to the
3996 text bounds of the chunk. It also takes a 3-character
3997 string as a param which indicates the characters to be
3998 used for start, padding, and end delimitation of the chunk.
3999 (text_chunk_to_string):
4000 Changed to use text_chunk_pad_string.
4002 * configure.in: Fixed bug in AC_OUTPUT that was
4003 causing path substitution in Accessibility_Registry.server
4006 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4008 * text/screen-review-test.c:
4009 (guess_string_clip):
4010 New method which attempts a best-guess at clipping
4011 text from components (like Java labels) which don't
4012 actually implement AccessibleText. This inaccurate
4013 clip is based on the assumption that the label is
4014 justified left-and-right, and monospaced.
4015 (text_chunk_get_clipped_string):
4016 We now call guess_string_clip() for text-containing
4017 components that don't implement AccessibleText.
4019 * test/screen-review-test.c:
4020 (review_buffer_get_text_chunk):
4021 We now pull "name" from labels if they do not implement
4022 AccessibleText (i.e. for Java labels).
4023 (get_screen_review_line_at):
4024 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4027 Replaceded AC_OUTPUT target
4028 registryd/Accessibility_Registry.server with
4029 registryd/Accessibility_Registry.server.in.
4031 * registryd/Accessibility_Registry.server.in:
4032 Removed (this is now a Makefile target).
4034 * registryd/Accessibility_Registry.server.in.in:
4035 Added (source for target above). We now use $(libexecdir) as
4036 prefix for the executable at-spi-registryd.
4038 * registry/Makefile.am:
4039 Now install at-spi-registryd into $(libexecdir), and build .server
4040 file with path (see above).
4042 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4044 * test/screen-review-test.c:
4045 (text_chunk_get_clipped_string):
4046 We now check to see if words fall within clip bounds
4047 before resorting to character-by-character clip bounds testing.
4049 * TODO: Added a section for "2.2 Proposed API Additions".
4051 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4053 * test/screen-review-test.c:
4055 Added a screen review benchmarking and test program to test
4058 * cspi/spi_accessible.c:
4060 Made some of the debug strings passed to cspi_check_ev a
4061 little more specific.
4063 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4065 * test/screen-review-test.c: Fix crashes in debug statements
4067 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4069 * test/screen-review-test.c: Added this file.
4071 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4073 * atk-bridge/bridge.c: changed "object:state-change" to
4074 "object:state-changed" to match docs.
4076 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4078 * atk-bridge/bridge.c: Hooked up state-change event details.
4080 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4082 * registryd/registry.c:
4083 Fixed quarking bug in event string parsing; now events with
4084 detail parameters get matched correctly to listeners.
4087 * util/idl/Magnifier.idl: remove.
4089 * util/*.[ch]: Remove.
4090 Magnification utilities and IDL are now in module gnome-mag.
4092 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4094 * registryd/deviceeventcontroller.c:
4095 Fixed bug in grab key conversion which was causing keycode grabs
4096 to be converted to AnyKey grabs.
4099 updated NEWS file to reflect recent spin-off of gnome-mag.
4101 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4103 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4104 busted AccessibleStateSet_compare. Removed redundant casts.
4106 * cspi/spi-action.c: Removed redundant casts.
4108 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4110 * cspi/spi_component.c: Fixed typos and casting error.
4112 * cspi/spi_editabletext.c: Removed redundant casts.
4114 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4116 * cspi/spi_hypertext.c: Eliminated redundant casts.
4118 * cspi/spi_image.c: Eliminated redundant casts.
4120 * cspi/spi_registry.c: Eliminated redundant casts.
4121 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4122 * cspi/spi_selection.c: Removed redundant casts.
4123 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4124 handling. Screen geometry and text offsets were being returned as 0
4125 on error which is technically valid-- changed these to return -1.
4126 Added marshaller for text boundary types to fix bug with boundary
4127 types being passed incorrectly to atk.
4129 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4132 * cspi/spi_registry.c:
4133 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4134 which was uncovered by the recent key changes.
4136 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4138 * test/event-listener-test.c:
4140 Added new test, "event-listener-test";
4141 this code does two things; it benchmarks traversal time
4142 for the accessible hierarchy for the first running accessible
4143 app, and it connects listeners for all supported event types.
4144 It is thus useful as an example event listener and for
4145 diagnostics/debugging of event generation.
4147 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4150 Removed unnecessary dependency on libutil.
4153 Revved micro version: 0.13.1
4155 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4158 Removed util/Makefile from targets.
4161 Removed util subdir from SUBDIRS (temporarily,
4162 pending removal of magnifier-only code
4166 #ifdef-ed out magnifier dependencies, since
4167 magnifier IDL, headers, and binary now live in
4168 module gnome-mag and we don't want at-spi to depend
4169 on gnome-mag. A magnifier demo which can run alongside
4170 simple-at is forthcoming in the gnome-mag module.
4172 NOTE: Split magnifier binary, IDL, and magnification
4173 activation code from at-spi into module gnome-mag.
4175 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4177 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4178 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4180 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4183 Revved to version 0.13.0
4185 * idl/Accessibility_Registry.idl:
4186 Changed definition of KeySet from sequence of longs to sequence of
4187 KeyDefinitions, and added KeyDefinition struct.
4188 Required for fix to bug 80616.
4190 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4191 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4192 to use new definition (see above).
4194 * registryd/deviceeventcontroller.c: handle_keygrab(),
4195 spi_keyset_contains_key():
4196 Changed to make use of new struct; this allows matching based on
4197 string key-name, for instance "Tab". This also allows matching of
4198 composed characters, non-alphanumeric characters in a way that
4199 doesn't involve dependencies on X keysym codes directly, etc.
4201 * test/key-listener-test.c:
4202 Added test for Alt-Tab key using "string" specification of keyset,
4203 and modified one of the tests to use a keycode-based keyset.
4204 Thus this test both tests and demonstrates the creation and use of
4205 keysets of three forms: specified via keycode array,
4206 keysym array, and string array. (The string case only contains a
4207 single string, i.e. a string array of length 1).
4210 Turned on PRINT_TREE option by default. Also fixed a
4211 string-freeing bug in the PRINT_TREE code.
4212 Added a listener to window:minimize events.
4214 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4216 * atk-bridge/bridge.c:
4217 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4218 for window:activate and window:deactiveate
4219 (atk_bridge_property_event_listener atk_bridge_signal_listener
4220 atk_bridge_window_event_listener) Tidy debug code
4222 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4224 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4225 Fixed handling for NULL return value from ATK.
4227 * libspi/action.c libspi/component.c libspi/editabletext.
4228 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4229 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4230 Removed redundant casts.
4232 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4233 Fixed off by one bug.
4235 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4236 function not present in idl)
4238 2002-05-02 jacob berkman <jacob@ximian.com>
4240 * atk-bridge/Makefile.am: make atk-bridge a real module
4242 2002-04-26 Radek Doulik <rodo@ximian.com>
4244 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4245 atk_state_types table
4247 2002-04-22 jacob berkman <jacob@ximian.com>
4250 * libspi/Makefile.am: add deps on the built files to help
4251 automake, and don't version the ORBit typelib
4253 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4255 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4256 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4257 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4258 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4259 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4260 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4261 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4262 libspi/accessible.h libspi/accessible.h libspi/base.h
4263 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4264 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4265 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4266 libspi/spi-private.h libspi/statetset.h libspi/table.h
4267 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4268 util/mag_client.h util/mag_control.c util/mag_image.c
4269 util/mag_image.h util/magnifier.c util/magnifier.h:
4270 Add missing file headers; standardize existing ones
4272 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4274 * atk-bridge/bridge.c: Added window event support.
4276 2002-04-18 Michael Meeks <michael@ximian.com>
4278 * libspi/relation.c (impl_getNTargets): impl.
4279 (impl_getTarget): impl.
4281 * libspi/Makefile.am: fix stateset install.
4283 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4286 Started putting useful info in this file.
4288 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4290 * atk-bridge/bridge.c:
4291 Propagate state-changed notifications to ATs
4293 * cspi/spi_registry.c: update docs to reflect actual behavior of
4294 state-change events.
4296 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4299 Incremented version to 0.12.1
4301 * util/mag_client.h:
4302 Add missing declaration for magnifier_exit,
4303 used by mag_control.c - Forte compiler didn't like
4304 the implicit redeclaration of the function :-(
4307 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4310 Revved version to 0.12 due to API change (see below).
4312 * cspi/spi-roletypes.h:
4313 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4314 definition from the inline docs, and added docs
4315 for SPI_ROLE_LAST_DEFINED.
4318 * cspi/spi_streamablecontent.c:
4319 Added missing seek_type parameter to
4320 (so far unused) method,
4321 AccessibleStreamableContent_seek().
4322 [ RT approval JodyG. ]
4325 Fixed docs for SPI_createAccessibleKeystrokeListener.
4327 * cspi/spi_registry.c:
4328 Fixed docs for SPI_KEYSET_ALL_KEYS.
4330 * docs/reference/cspi/at-spi-cspi-sections.txt:
4331 Added a number of missing APIs to SECTIONS.
4333 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4335 * registryd/Makefile.am:
4337 * cspi/bonobo/Makefile.am:
4338 Add $(X_LIBS) to makefiles.
4340 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4343 Revved version to 0.11.
4345 * libspi/component.c:
4346 Added implementation for grabFocus.
4348 * idl/Accessibility_Component.idl
4349 (Accessibility_Component_grabFocus):
4350 Made this method return boolean to indicate success or failure, to
4351 be consistent with cspi and the corresponding ATK method.
4353 * idl/Accessibility_Selection.idl
4354 (Accessibility_Selection_selectAll) :
4355 Made these methods return boolean to indicate success or
4356 failure, to be consistent with cspi and the corresponding ATK methods.
4358 * idl/Accessibility_EditableText.idl
4359 (Accessibility_EditableText_setTextContents,
4360 Accessibility_EditableText_insertText,
4361 Accessibility_EditableText_cutText,
4362 Accessibility_EditableText_deleteText,
4363 Accessibility_EditableText_pasteText):
4364 Made these methods return boolean to indicate
4367 * cspi/spi_editabletext.c:
4368 Made these methods return booleans.
4370 * libspi/selection.c:
4371 * libspi/component.c:
4372 * libspi/editabletext.c:
4373 Connected the boolean returns from ATK
4374 to the server-side code referenced above.
4376 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4378 * idl/Accessibility_Table.idl: Added missing methods,
4379 Accessibility_Table_addRowSelection,
4380 Accessibility_Table_addColumnSelection,
4381 Accessibility_Table_removeRowSelection,
4382 Accessibility_Table_removeColumnSelection.
4385 Added C wrappers for above IDL:
4386 AccessibleTable_addRowSelection,
4387 AccessibleTable_addColumnSelection,
4388 AccessibleTable_removeRowSelection,
4389 AccessibleTable_removeColumnSelection.
4392 Added server-side implementation code for IDL above, connecting
4393 to pre-existing ATK api.
4395 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4397 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4399 * libspi/accessible.c: Added implementation fo
4400 Accessibility_Accessible_get_state.
4402 * libspi/libspi.h: Added stateset.h to the list of includes.
4404 * libspi/stateset.c: Fixed broken implementation.
4406 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4409 Added implementation code for Accessibility_Magnifier_exit ().
4411 * util/mag_control.c:
4412 Added test code for above method; you can
4413 now kill an existing magnifier via
4414 ./mag_control q, from the util directory.
4416 * test/key-listener-test.c:
4418 Added a new test, for our key listener API.
4420 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4422 * test/app.c, test/keysynth-demo.c:
4424 Replace use of snprintf with g_snprintf.
4425 (fix for bugzilla 78249)
4427 2002-03-27 Michael Meeks <michael@ximian.com>
4431 * util/Makefile.am (INCLUDES): fix.
4432 (DONT_DIST_SOURCE): don't distribute the
4435 * libspi/Makefile.am (dist-hook): ditto.
4437 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4439 * libspi/hypertext.c:
4440 Fix warnings when yelp is used with atk-bridge
4442 2002-03-21 Michael Meeks <michael@ximian.com>
4444 * libspi/application.c (spi_application_new):
4445 use spi_accessible_construct so we use the AtkObject
4448 2002-03-19 Michael Meeks <michael@ximian.com>
4450 * registryd/registry.c (desktop_remove_application),
4451 (desktop_add_application): clean coding style.
4453 * registryd/desktop.c (spi_desktop_remove_application),
4454 (spi_desktop_add_application): kill re-enterency hazards.
4455 (spi_desktop_dispose): remove bogus redundant cast
4456 obscuring bug; fix bug too.
4457 (spi_desktop_init): make the desktop object immortal.
4459 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4462 Added a #define-guarded tree-traversal step
4463 when enumerating the apps (diagnostic tool).
4465 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4467 * idl/Accessibility_Role.idl:
4468 Added ROLE_DRAWING_AREA which seemed to be missing from the
4471 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4473 * cspi/spi-roletypes.h cspi/spi_accessible.c
4474 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4477 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4478 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4479 AT when applications are added and removed from the desktop. This
4480 reverts the previous broken implementation using the backing
4481 AtkObject for the SpiDesktop.
4483 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4485 * registryd/desktop.c: emit the "children-changed::add" and
4486 "children-changed::remove" signals on the backing ATK object for
4487 the desktop so AT can tell when applications are started and shut
4490 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4492 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4494 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4496 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4498 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4500 * cspi/state-types.h: synched with IDL and ATK
4502 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4504 * libspi/accessible.c
4505 (impl_accessibility_accessible_get_child_at_index):
4506 Change return value for g_return_if_fail ()
4507 to CORBA_OBJECT_NIL instead of "0" (!)
4509 * registryd/Makefile.am:
4510 * registryd/Accessibility_Register.server.in:
4511 Changed name of executable, "registryd",
4512 to something more informative:
4515 2002-03-13 Michael Meeks <michael@ximian.com>
4517 * atk-bridge/bridge.c (atk_bridge_init): don't register
4518 if we're in a bonobo-component, rather than a bonobo app.
4520 2002-03-13 Michael Meeks <michael@ximian.com>
4522 * atk-bridge/bridge.c (gtk_module_init): split
4523 out body to (atk_bridge_init): here, since otherwise
4524 we get symbol conflicts and oddness when invoked
4525 from (gnome_accessibility_module_init): here (upd.)
4527 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4530 New file. Explicitly allow "build sheriff" putbacks provided
4531 they are tested on Solaris.
4533 * docs/reference/cspi/Makefile.am:
4534 Added '-' to the "cp" command for index.sgml.
4535 ("patch by thomasvs, soon coming to a GUADEC near you")
4538 Incremented version number (0.9.0) for new release.
4539 Changed macro that checks for popt, to better detect
4540 obsolete versions of popt.
4543 Added X_LIBS to AC_SUBST, for applications
4544 that call Xlib API directly.
4547 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4550 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4553 Fix regression caused by hard-coding major
4554 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4557 * test/test-simple.c (test_editable_text),
4558 (test_test): revert previous change (error was
4559 a regression in gail which is now fixed).
4561 2002-03-04 Michael Meeks <michael@ximian.com>
4563 * test/test-simple.c (test_editable_text),
4564 (test_text): pass G_MAXINT instead of '-1' for
4565 whole string - is this a good thing !?
4567 * cspi/spi_accessible.c
4568 (Accessible_getRelationSet): fix crasher bug
4569 overwriting the end of the array.
4571 * test/test-simple.c (validate_accessible): free,
4572 not g_free returned relation set.
4574 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4576 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4577 implemented stateset support
4579 * idl/Accessibility_State.idl: Made necessary changes to
4580 the IDL to support state sets.
4582 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4584 * registryd/deviceeventcontroller.c:
4585 Added implementation for generateMouseEvent.
4587 * cspi/spi_registry.c:
4588 Connected new implementation for generateMouseEvent
4591 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4594 Incremented revision (but no change in public API
4595 outside of 'utils', which are not installed public yet.)
4597 * libspi/component.c:
4598 Changed to use atk_component API for layers and
4599 mdi_zorder, instead of deprecated atk_object API.
4601 Magnification Utility Enhancements:
4604 Added implementation of createZoomRegion, clearAllZoomRegions,
4605 resizeZoomRegion. Added new commandline argument
4606 "--no-initial-region". Note that clearAllZoomRegions doesn't
4607 unmap the old '0' region as it should (yet), and the other
4608 methods only work when creating/resizing a single region,
4609 which is "region 0".
4610 (Code for multiple region support will be added later.)
4613 Now we raise the magnifier window each time it's refreshed;
4614 this will help keep it on top.
4616 * util/mag_client.h:
4617 Added simple wrappers for above, used by mag_control.
4618 For general use, it's recommended to use the bonobo magnifier
4619 control API directly instead of using these wrappers.
4622 Moved ZoomRegionData from magnifier.c to this file.
4624 * util/mag_control.c:
4625 Added some code to exercise new IDL implementations.
4627 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4629 * libspi/text.c: Provide implementation for getAttributes.
4631 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4634 Incremented revision.
4636 * test/test-simple.c:
4637 Replaced use of deprecated g_main_iteration with
4638 g_main_context_iteration.
4640 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4643 Incremented revision for desktop alpha 2.
4645 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4647 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4650 * test/simple-at.c: include netinet/in.h.
4652 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4654 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4655 use NULL, not CORBA_OBJECT_NIL.
4657 * libspi/accessible.c:
4658 (impl_accessibility_accessible_get_relation_set):
4659 allocate the sequence correctly.
4661 * libspi/remoteobject.h: kill spi_remote_object_new.
4663 * test/test-simple.c: (validate_accessible): add code
4664 to test relation sets, now all we need is to figure
4665 out how to excercise this code path :/
4667 2002-01-18 Michael Meeks <michael@ximian.com>
4669 * test/test-simple.c
4670 (key_listener_cb): consume the key.
4671 (test_keylisteners): update.
4672 (main): wait for any pending unrefs on events.
4674 * registryd/deviceeventcontroller.c
4675 (spi_controller_update_key_grabs): only re-issue the
4676 grab on a key release.
4677 (spi_device_event_controller_forward_key_event):
4678 refresh the keygrabs before we notify the listeners,
4679 to reduce the X ungrab / re-grab race.
4680 (spi_controller_register_with_devices): remove
4681 XSelectInput - we do that with the gdk_window_ call.
4682 (_spi_controller_device_error_handler): return a value.
4683 s/GDK_DISPLAY/spi_get_display/
4685 2002-01-17 Michael Meeks <michael@ximian.com>
4687 * registryd/deviceeventcontroller.c
4688 (_deregister_keygrab): don't blow out the later
4691 * test/test-simple.c (test_keylisteners): do a
4692 more intelligent validation.
4694 2002-01-14 Michael Meeks <michael@ximian.com>
4696 * atk-bridge/bridge.c
4697 (gnome_accessibility_module_init),
4698 (gnome_accessibility_module_shutdown): impl.
4699 (gtk_module_init): protect vs. double inits.
4700 (add_signal_listener): impl.
4701 (spi_atk_bridge_state_event_listener): kill
4702 (deregister_application): split out of
4703 (spi_atk_bridge_exit_func): here.
4705 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4708 Added caret tracking when using magnifier, and
4709 now use text bounds for focus tracking of text elements, rather than
4710 the component bounds - this is helpful for short text fields in long
4711 table cells, at high magnification.
4713 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4715 * registryd/deviceeventcontroller.c:
4716 Regression fix for keylistener de-registration; global keygrabs
4717 were not being released when deregisterKeystrokeListener was
4718 called in cspi, since
4719 Accessibility_DeviceEventController_deregisterKeystrokeListener
4720 was called with a zero-length keyset. That is because the cspi
4721 method, SPI_deregisterKeystrokeListener, does not take a keyset
4722 parameter but instead should remove all the key grabs held be a
4724 The code in impl_deregister_keystroke_listener was changed to copy
4725 the keylist from the listener instance previously registered with
4726 the DeviceEventController before releasing the grabs.
4728 * registryd/registry.c:
4729 * registryd/deviceeventcontroller.c:
4730 * libspi/spi-private.h:
4732 Changed spelling of "re-enterant" to "re-entrant" globally.
4734 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4736 * test/test-simple.c:
4737 Changed key listeners test - the test was slightly mis-using the
4738 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4739 It now uses '=' as the key event listened to and generated,
4740 relying on a keysym match rather than assuming that keycode 33
4741 is always equal to keysym '!'.
4743 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4746 Changed simple-at to use a specific keyset, rather than
4747 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4748 manager, desktop, etc.
4750 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4752 * registryd/deviceeventcontroller.c:
4753 Replaced standard X error handler with a special handler that
4754 is non-fatal for failed keygrabs. This works around
4755 problems with keygrab clashes sometimes observed on
4757 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4758 mouse handling code as yet).
4760 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4763 Incremented revision for desktop alpha release.
4766 Fixed a couple of the more glaring errors (still not
4769 2002-01-11 Michael Meeks <michael@ximian.com>
4771 * registryd/deviceeventcontroller.c
4772 (spi_device_event_controller_forward_key_event): kill
4773 XUngrabKey / XKeyGrab race.
4774 (spi_controller_grab_keyboard): rename to
4775 (spi_controller_update_key_grabs): this, and deal
4776 with incremental adding / removing grabs more
4778 (_register_keygrab): ensure we're not pending a remove.
4779 (spi_grab_mask_free): impl.
4780 (spi_controller_register_global_keygrabs): split out
4782 (handle_keygrab): impl.
4783 (_deregister_keygrab): impl.
4784 (spi_controller_deregister_global_keygrabs): impl.
4785 (spi_controller_update_key_grabs): re-issue the grab if
4786 we just recieved a notification.
4788 * test/test-simple.c (key_listener_cb): remove debug.
4790 * registryd/deviceeventcontroller.c
4791 (spi_controller_register_device_listener): after
4792 registering a global keygrab, actualy register it !
4793 don't wait for a timeout; doh !
4795 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4796 to make it more readable / manipulable.
4797 s/grabmask/grab_mask/ s/refcount/ref_count/
4798 s/keyval/key_val/ s/modmask/mod_mask
4800 2002-01-08 Michael Meeks <michael@ximian.com>
4802 * registryd/deviceeventcontroller.c
4803 (spi_controller_register_with_devices): use gdk calls to
4805 (global_filter_fn): implement the filter.
4806 (spi_device_event_controller_check_key_event): rename to
4807 (spi_device_event_controller_forward_key_event): this & upd.
4808 (spi_get_display): replace with GDK_DISPLAY.
4810 * registryd/deviceeventcontroller.c
4811 (spi_controller_deregister_device_listener): unroll into
4812 (impl_deregister_keystroke_listener): here to simplify.
4813 (spi_controller_register_global_keygrabs): split cut and
4814 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4815 (spi_controller_deregister_device_listener): remove.
4816 (impl_register_mouse_listener): remove, no mouse listener
4817 support in at-spi-1.0
4819 * registryd/registry.c
4820 (_device_event_controller_hook): kill.
4821 (spi_registry_init): upd.
4823 * registryd/deviceeventcontroller.c
4824 (spi_device_event_controller_class_init): upd.
4825 (spi_check_key_event): merge into.
4826 (spi_device_event_controller_check_key_event):
4827 here and kill strange static ev init, don't leak
4828 the x_event - nor dynamicaly allocate it.
4830 * registryd/registry-main.c (main): re-direct
4831 timeout to remove strange vtable mess.
4833 * registryd/deviceeventcontroller.c
4834 (remove_listener_cb): impl.
4835 (spi_controller_deregister_device_listener):
4836 fix re-enterancy hazard.
4838 2002-01-07 Michael Meeks <michael@ximian.com>
4840 * registryd/deviceeventcontroller.c
4841 (spi_device_event_controller_new): upd.
4842 (impl_notify_listeners_sync): upd. debug.
4843 (spi_notify_keylisteners): fix re-enterancy hazards,
4844 prettify, remove O(n*n) iteration.
4845 (spi_controller_grab_keyboard): fix iteration.
4846 (spi_check_key_event): re-format to suit coding style.
4847 Clean all the warnings - we're warning free.
4849 * registryd/deviceeventcontroller.h:
4850 * registryd/registry.h: make mutualy referential with
4851 typesafe forward references instead of (!) void pointer
4854 2002-01-11 Michael Meeks <michael@ximian.com>
4856 * cspi/spi_accessible.c (role_names): add a role name
4857 to sync this array with the enum; and make the regression
4860 2002-01-10 Michael Meeks <michael@ximian.com>
4862 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4863 allow expansion of enumeration & kill warning.
4865 * test/test-simple.c (key_listener_cb): impl.
4866 (test_keylisteners): impl.
4868 * cspi/spi-listener.h: make listener signatures const
4869 on the provided (const) events.
4871 * test/keysynth-demo.c: upd. to const events.
4873 * test/simple-at.c: ditto.
4875 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4878 Rev the version to 0.5 (the previous tarball was named 0.4,
4879 even though the micro number was 3), so we need to rev upwards
4880 again for beta2/"desktop-alpha"
4883 Checked in a demo script, which requires editing before use!
4884 Proceed with caution.
4887 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4889 * cspi/spi_accessible.c:
4890 Add a couple of missing enum initializations, and fix some enum
4893 * cspi/spi_registry.c:
4894 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4896 * docs/reference/cspi/at-spi-cspi-sections.txt:
4897 Remove/fix a couple of broken document references.
4900 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4901 as Alt-Control to listen for commands, since on some systems
4902 Control-Alt may already be grabbed.
4904 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4907 Update version number to 0.4 for Beta2.
4909 * libspi/accessible.c, libspi/accessible.h:
4910 Expose spi_accessible_construct, to enable libgail-gnome
4911 construction from spi_accessible subtype.
4913 * utils/magnifier.c:
4914 Workaround for bug in some non-gnome-compliant window managers
4915 which made magnifier resize improperly.
4917 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4919 * libspi/accessible.c: (spi_accessible_new) :
4920 Move the test for SPI_IS_REMOTE_OBJECT to
4921 spi_accessible_new_return, fixing a bug and compile time warning.
4923 2002-01-08 Michael Meeks <michael@ximian.com>
4925 * registryd/registry.c (parse_event_type): remove strndup.
4927 * libspi/Makefile.am (libspi_la_SOURCES): remove
4928 sources already included in the headers section.
4930 * libspi/util.c: add.
4932 * libspi/spi-private.h: add.
4934 * registryd/registry.c: update to moved list iterators.
4936 2002-01-05 Michael Meeks <michael@ximian.com>
4938 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4940 * test/test-simple.c (main): ditto.
4942 2002-01-04 Michael Meeks <michael@ximian.com>
4944 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4945 redundant construct.
4947 * registryd/registry.c
4948 (get_listener_list): impl.
4949 (impl_accessibility_registry_register_global_event_listener):
4950 re-impl. to simplify using ~, remove dodgy const cast off.
4951 (parse_event_type): constify.
4952 (impl_accessibility_registry_deregister_global_event_listener_all):
4953 re-write, more efficiency and simplicity, kill re-enterancy
4955 (compare_listener_corbaref, compare_corba_objects),
4956 (compare_listener_quarks): define out.
4957 (impl_accessibility_registry_deregister_global_event_listener):
4958 re-write for effiency, and nail re-enterancy hazard.
4959 (impl_accessibility_registry_get_desktop_list): impl.
4960 (re_enterant_list_delete_link): impl.
4961 (re_enterant_list_foreach): impl.
4962 (remove_listener_cb): impl.
4963 (_registry_notify_listeners): kill.
4964 (notify_listeners_cb): impl.
4966 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4967 (SPI_getDesktopList): impl.
4969 * test/test-simple.c (test_desktop): test the methods.
4971 2002-01-03 Michael Meeks <michael@ximian.com>
4973 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4974 keystrings since we free them
4975 (SPI_freeAccessibleKeySet): in here.
4977 * libspi/accessible.c (spi_accessible_new): kill warning,
4978 wonder what is going on with the constructor here.
4980 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4982 * libspi/accessible.c (spi_accessible_new ()) :
4983 Added check to see if AtkObject is an SpiRemoteObject before
4984 creating an SpiAccessible.
4986 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4988 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4989 Enable keygrabs using the Control modifier, now that they are
4990 working properly (they were previously disabled).
4993 Change the command keygrab for this demo to "Control+Alt", so as
4994 to conflict with fewer other key commands on the system; this
4995 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4997 Removed a pointlessly-chatty keylistener for unshifted keys
4998 (shifted keys are still reported).
5000 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5002 * libspi/remoteobject.h:
5003 * libspi/remoteobject.c:
5004 Added definitions for special AtkObject subtype, required for
5005 support of remote components (specifically, used by BonoboControl
5006 accessibility implementation).
5008 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5010 * cspi/spi.h: synched relation types with ATK
5012 * cspi/spi_accessible.c: Added implementations of
5013 AcccessibleRelation_* methods
5015 * idl/Accessibility_Relation.idl: added getRelationTypeName
5016 method. Synched known relation types with ATK. Allowed for
5017 relation type extension with the RELATION_EXTENDED type.
5019 * libspi/relation.c: Provided implementations for
5020 AccessibleRelation methods.
5022 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5024 API tweaks for today's API 'freeze'.
5027 Added placeholder functions to allow future compatible expansion
5028 of the IDL interfaces.
5030 * idl/Accessibility_Registry.idl:
5031 Changed generateKeyEvent to generateKeyboardEvent. Changed
5032 signature of this method to accept an optional keystring in
5033 parameter (for complex text input synthesis) and changed use of
5034 simple 'boolean' parameter in registerKeystrokeListener to a
5035 struct, EventListenerMode.
5037 * cspi/spi_accessible.c:
5039 * cspi/spi_streamablecontent.c:
5040 Added references to AccessibleStreamableContent interface, and
5041 definition and implementation of AccessibleStreamableContent
5044 * cspi/spi_registry.c:
5046 Changed generateKeyEvent API to generateKeyboardEvent,
5047 taking a new (optional) keystring parameter to support complex
5052 Renamed directory (to better reflect its actual purpose, bridging
5053 from at-spi to ATK). The .so module is also now named
5056 * idl/Accessibility_Hypertext.idl:
5057 * libspi/accessible.c:
5058 * libspi/hypertext.h:
5059 * libspi/hypertext.c:
5060 Changed Accessibility_Hypertext to *not* derive from
5063 * cspi/spi_registry.c:
5064 Added list of legal event type names for 'window' events, which
5065 completes the registry event API.
5067 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5069 * at-bridge/bridge.c: Added registration for separate
5070 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5071 signals. If either of the first two parameters to the generic
5072 bridge signal handler are ints, they are passed on as event
5073 details. This allows an AT to determine what text was inserted.
5075 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5077 * registryd/deviceeventcontroller.c:
5078 Fixed regressions in generateKeyEvent caused by the removal of
5079 gdk_init from registryd; we now use pure X calls to connect to the
5080 display, which makes sense because deviceeventcontroller already
5081 uses a fair bit of X API (should eventually be migrated to a
5082 'portability layer').
5084 * registryd/desktop.c:
5085 Fixed minor regression in spi_desktop_init, changed the way the
5086 desktop name is being set to work with new spi_base API
5087 (gobject-based, rather than AtkObject-based).
5089 * registryd/Makefile.am:
5090 Minor revision of makefile to use XTST_LIBS variable rather than
5091 hard-wiring the Xtst LD_ADD element.
5093 * test/keysynth-demo.c:
5094 Tweaked an output message; added initialization of the
5095 'keystrings' member of the "switch listener" key_set.
5097 * libspi/relation.c:
5098 Squashed compile-time warning.
5100 * libspi/accessible.c:
5101 Cosmetic and formatting fixes, renamed a static method.
5103 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5105 * libspi/accessible.c
5107 * libspi/application.c
5110 * libspi/component.c
5111 * libspi/editabletext.c
5112 * libspi/hyperlink.c
5113 * libspi/hypertext.c
5115 * libspi/selection.c
5119 * registryd/desktop.c:
5120 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5122 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5124 * idl/Accessibility_Registry.idl:
5125 Added boolean member 'is_text' to DeviceEvent. This is for the
5126 use of key events, and helps prevent ambiguity between composed
5127 key strings and keysym names, since both may potentially be
5128 returned in the 'event_string' member.
5130 * at-bridge/bridge.c:
5131 * registryd/deviceeventcontroller.c:
5132 Use the 'is_text' member when notifying device event listeners.
5133 Knon issue: composed characters are not dealt with correctly by
5134 the global key listener implementation yet.
5136 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5138 * at-bridge/bridge.c:
5139 Namespaced local static methods to spi_atk_bridge_* where
5140 previously named bridge_*, and spi_* elsewhere.
5142 * at-bridge/bridge.c:
5143 * cspi/bonobo/cspi-bonobo-listener.c:
5144 Added demarshalling/conversion for string member of
5145 Accessibility_DeviceEvent to AccessibleKeystroke.
5147 * registryd/deviceeventcontroller.c:
5148 Added code to fill the Accessibility_DeviceEvent key string value
5149 member for global key events (i.e. from XGrabKey), to match
5150 behavior of Accessibility_DeviceEvent from the toolkit key events
5151 from the bridge. Fixed timestamp in global key event notifications.
5154 Added printout of key event's string value to
5155 report_ordinary_key_event, for demo/debugging purposes.
5157 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5159 * idl/Accessibility_Registry.idl:
5160 Removed Accessibility_KeyStroke structure in favor of generic
5161 Accessibility_DeviceEvent structure.
5162 Changed Accessibility_ControllerEventMask from a struct to an
5165 * at-bridge/bridge.c:
5166 Changed APIs to use DeviceEvent structure as above, and removed
5167 bogus casting between these event structures.
5169 * cspi/spi-listener.h:
5170 Added keystring member of AccessibleKeystroke structure, to enable
5171 matching on event "names" rather than only hardware codes and
5175 Added keystrings member of AccessibleKeySet struct, to allow
5176 matching on event names (as above).
5177 Added declarations for SPI_createAccessibleKeySet and
5178 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5179 event modmasks directly as unsigned ints rather than structs with
5180 refcounts, in the DeviceEventController methods.
5182 * cspi/spi_registry.c:
5183 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5185 * cspi/spi-roletypes.h:
5186 Added documentation of newly added SPI Roles.
5188 * cspi/bonobo/cspi-bonobo-listener.c:
5189 Changes in support of API changes above.
5191 * libspi/accessible.c:
5192 Converted APIs to use DeviceEvent structure (see IDL changes
5195 * registryd/deviceeventcontroller.c:
5196 Added DEControllerGrabMask structure to track keygrabs not only by
5197 modmask but by keyset as well; this allows us to do "global"
5198 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5199 grabbing on AnyKey and then filtering after-the-fact.
5200 Bugfixes for event filtration mean that we don't get false matches
5201 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5203 * registryd/deviceeventcontroller.c:
5204 Namespaced a number of static methods to use spi_ prefix. Major
5205 revision to internals of global (i.e. X) key grabs.
5207 * registryd/deviceeventcontroller.h:
5208 Removed keymask_list and added keygrabs_list to
5209 SpiDeviceEventController struct.
5212 Added use of SPI_createAccessibleKeySet API when creating a
5213 listener for only one key. Attach a listener to "shift spacebar
5214 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5215 X key event names to SPI key event names, so that listeners are
5216 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5218 * test/keysynth-demo.c:
5219 Changed (incorrect) use of X key event names (KeyPressed,
5220 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5223 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5225 * libspi/accessible.c:
5226 Convert all AtkRole enumerations to Accessibility_Role enums when
5227 getting a role from an AtkObject.
5229 * cspi/spi_accessible.c:
5230 Complete the conversion of Accessibility_Role enums at runtime to
5231 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5232 role enums correctly match those given in spi-roletypes.h.
5233 Re-synchronize the local names list for AccessibleRole_getName ().
5234 AccessibleRole_getName is now deprecated, since it duplicates the
5235 more reliable Accessible_getRoleName.
5236 Added some role types from Accessibility_Role.idl.
5238 * idl/Accessibility_Role.idl:
5239 Added some role types used by AtkRole.
5241 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5244 * cspi/spi_registry.c:
5246 * cspi/cspi-bonobo-listener.c:
5247 Namespaced all methods that did not begin with an "SPI_" or
5248 "Accessible" prefix to "SPI_".
5251 Homogenized internal function namespace to "cspi_" for statics.
5254 Patched tests to use the new CSPI API.
5256 * docs/reference/cspi/at-spi-cspi-sections.txt:
5257 Updated docs to reflect namespace changes, and added a number of
5258 methods to the documentation.
5260 * registryd/registry.c:
5261 Changed use of strings and string hashes in listener event
5262 matching and parse_event_string to use GQuark, which is guaranteed
5265 * registryd/registry.h:
5266 Squashed annoying warning.
5268 * idl/Accessibility_Role.idl:
5269 Extended range of available Accessibility_Role values.
5271 * cspi/spi_accessible.c:
5272 Re-ordered role names.
5274 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5276 * idl/Accessibility_Value.idl:
5277 Revert use of union back to CORBA_double, since the double type is
5278 more efficient and can contain the other types without loss of
5281 * idl/Accessibility_Accessible.idl:
5282 Added method Accessibility:Accessible:getRoleName, to complement
5283 Accessibility:Accessible:getRole.
5285 * cspi/spi_accessible.c:
5287 Added C binding for above, Accessible_getRoleName (), and changed
5288 signature of Accessible_getRole () to return an AccessibleRole.
5290 * cspi/spi-roletypes.h:
5291 Changed AccessibleRole_getName to return a char * instead of a
5292 const char *. This method is now at least temporarily deprecated
5293 in favor of asking Accessibles for their RoleNames directly.
5296 Revert to match Accessibility_Value.idl;
5300 Change signature of AccessibleValue methods to use double rather
5304 * cspi/spi_accessible.c:
5305 Changed Accessible_getRole to return an AccessibleRole enum rather
5306 than a UTF-8 string. The UTF-8 string can still be obtained via
5307 AccessibleRole_getName ().
5309 * test/test-simple.c:
5310 Add test_action. Small fixup to match API change to Accessible_getRole.
5313 Bugfix for get_action_from_servant ().
5315 2001-12-11 Michael Meeks <michael@ximian.com>
5317 * libspi/libspi.h: remove registry.h and
5318 desktop.h, deviceeventcontroller.h
5320 * libspi/Makefile.am: remove registry.[ch],
5321 desktop.[ch], deviceeventcontroller.[ch]
5323 * registryd/Makefile.am: add registry.[ch],
5324 desktop.[ch], rename registryd.c to registry-main.c.
5325 add deviceeventcontroller.[ch]
5327 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5330 Replace setenv() call with putenv ().
5332 * libspi/component.c:
5333 Bugfix in AccessibleComponent_getExtents (),
5336 2001-12-11 Michael Meeks <michael@ximian.com>
5338 * libspi/image.c (impl_getImageExtents): impl.
5339 (spi_image_class_init): upd.
5342 (AccessibleImage_getImageDescription): fix daft bug
5345 * test/test-simple.c (global_listener_cb): update
5346 to only quit if not --poke
5347 (main): catch --poke.
5348 (validate_accessible): upd. dumping, call test_image
5351 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5354 * idl/Accessibility.idl: update all IDL includes.
5356 * idl/*.idl - rename to namespace - this sucks, blame
5357 mjs' bad decision for oafd.
5359 * test/test-simple.c (create_test_window): add more tests.
5360 (create_tree): split this out.
5361 (validate_accessible): bugfix.
5363 2001-12-11 Michael Meeks <michael@ximian.com>
5365 * cspi/bonobo/cspi-bonobo-listener.c:
5366 (cspi_kestroke_listener_unref),
5367 (cspi_event_listener_unref): impl. undoing previous
5368 homenous environment - for Bill.
5370 * cspi/spi_table.c (long_seq_to_array): use
5373 * cspi/spi_main.c: split out all bonoboish bits into
5376 * cspi/spi-impl.h: upd. typedefs.
5378 * cspi/spi_registry.c: update to lowlevel API,
5379 return booleans to indicate success in some places.
5381 * cspi/spi_event.c: update to lowlevel API.
5383 * cspi/bonobo/Makefile.am: add.
5385 * cspi/bonobo/cspi-lowlevel.h: add
5387 * cspi/bonobo/cspi-bonobo.c: add
5389 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5391 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5392 (SUBDIRS): add bonobo, link in the libs.
5394 * cspi/spi-util.c: kill this file.
5396 * TODO: merge in my bits.
5398 2001-12-11 Michael Meeks <michael@ximian.com>
5400 * test/test-simple.c (test_value, test_table, main):
5401 remove unused variables causing warnings.
5403 * configure.in: cleanup checks - require gail.
5405 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5408 Changed Value interface to use SValue (scalars) rather than
5409 assuming all values are floats. This allows floats, doubles,
5410 longs, shorts, and unsigned values to be manipulated.
5411 Introduced Accessibility:SValue union.
5414 Updated to use new API above, and to work correctly with GValues
5415 of different types in AtkValue.
5418 Updated to use new API above. cspi's API is as yet unchanged.
5421 Updated the Value revision action item.
5423 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5425 * test/test-simple.c:
5426 Added test_table (GtkTreeView widget in test window to follow).
5427 Un-commented test_value, added GtkRange widget.
5428 Added GtkTreeView widget with GtkListStore. It passes regression
5429 test but leaks one SPI object for some reason.
5432 Fixed bug in impl__set_currentValue.
5434 2001-12-10 Michael Meeks <michael@ximian.com>
5436 * cspi/spi_text.c: audit for exception handling,
5437 tolerating NULL object references safely etc.
5439 * cspi/spi_value.c: ditto.
5441 * cspi/spi_table.c (AccessibleTable_getSummary),
5442 (AccessibleTable_getAccessibleAt),
5443 (AccessibleTable_getRowHeader),
5444 (AccessibleTable_getColumnHeader),
5445 (AccessibleTable_getCaption): fix bugs hidden by
5447 (long_seq_to_array): impl.
5448 (AccessibleTable_getSelectedRows),
5449 (AccessibleTable_getSelectedColumns): use it.
5451 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5454 Added a TODO list (rough and short for now).
5456 * cspi/spi_hyperlink.c:
5457 * cspi/spi_hypertext.c:
5458 Fixed macro name typos, and remove use of obsolete macro in
5459 AccessibleHyperlink_getLink.
5461 * cspi/spi_action.c:
5462 * cspi/spi_accessible.c:
5463 * cspi/spi_application.c:
5464 * cspi/spi_component.c:
5465 * cspi/spi_selection.c:
5468 Documentation fixes (removed return values from ref/unref methods).
5470 2001-12-10 Michael Meeks <michael@ximian.com>
5472 * cspi/spi_action.c: audit for exception handling,
5473 tolerating NULL object references safely etc.
5475 * cspi/spi_accessible.c: ditto.
5477 * cspi/spi_component.c: ditto.
5479 * cspi/spi_editabletext.c: ditto.
5481 * cspi/spi_hyperlink.c: ditto.
5483 * cspi/spi_hypertext.c: ditto.
5485 * cspi/spi_image.c: ditto.
5487 * cspi/spi_selection.c: ditto.
5489 2001-12-10 Michael Meeks <michael@ximian.com>
5491 * configure.in: use cspi/libspi.pc.in instead.
5493 * Makefile.am (pkgconfig_DATA): upd. to match.
5495 * test/simple-at.c (report_focus_event): kill hacks around
5496 bad return values, use putenv not setenv
5498 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5499 fire ChildGone - I killed it.
5501 * libspi/component.c
5502 (impl_accessibility_component_get_extents): remove
5505 * idl/Accessible.idl: kill ChildGone exception.
5507 * cspi/*.[ch]: kill int return from ref / unref.
5509 * cspi/spi_main.c (cspi_object_add_check): fold into
5510 (cspi_object_add): here.
5512 * cspi/spi_component.c (AccessibleComponent_getExtents):
5513 handle exceptions elegantly.
5515 * cspi/spi-private.h (cspi_check_ev_return),
5516 (cspi_return_if_fail): impl.
5518 * cspi/spi_accessible.c: use extensively.
5519 (AccessibleStateSet_equals): add direct compare check.
5521 * cspi/spi_selection.c: tolerate NULL objs, and check
5522 exceptions before return.
5524 * cspi/spi-util.c (cspi_warn_ev): rename to
5525 (cspi_check_ev): this & don't pass ev in; no point.
5527 2001-12-10 Michael Meeks <michael@ximian.com>
5529 * test/test-simple.c: use putenv not setenv
5530 (get_environment_vars): more chatty if you're not using
5533 * test/simple-at.c: do the setenv so more people see the
5536 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5538 * libspi/registry.c:
5539 Changed check of CORBA_environment on notification to be a warning
5540 instead of an error for the moment, since we can recover from this
5541 error when caused by a queued notification from a dead app.
5544 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5545 used by all current implementors of AtkValue), and coerce to
5546 CORBA_float. (Proper general case fix may require change to Value.idl).
5548 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5552 * cspi/spi_accessible.c:
5553 Documentation fixes: added user_data params to documentation for
5554 listeners and callbacks.
5556 * cspi/spi_accessible.c:
5557 Changed AccessibleStateSet_compare to return a
5558 StateSet rather than return the difference set into a third parameter.
5561 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5564 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5565 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5569 Remove subdirectory po from SUBDIRS for now.
5571 * at-bridge/bridge.c:
5572 Beefed up a couple of debug printouts.
5573 One-line fix for signal notification name formatting.
5575 * libspi/accessible.c:
5576 Added assertion to spi_accessible_new ().
5578 * libspi/application.c:
5579 Put #ifdef qualifiers around a printf.
5582 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5584 * registryd/Makefile.am:
5586 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5587 INTLTOOL_SERVER_RULE macro.
5590 Added an event listener for several ATK signals, for
5591 testing and debugging. Removed a few g_warnings.
5592 Added test output if focussed item implements the Value interface.
5594 * test/test-simple.c:
5595 Added test_value () function (known not to pass at the moment, so
5596 not actually called yet.
5598 2001-12-08 Michael Meeks <michael@ximian.com>
5600 * at-bridge/bridge.c (bridge_focus_tracker),
5601 (emit_eventv): fix the same ref. leak.
5602 (register_atk_event_listeners): don't leak.
5604 * cspi/spi-listener-impl.c (cspi_event): more
5605 protection from client code.
5607 * test/test-simple.c (test_desktop): unref the app.
5609 * test/Makefile.am: upd. TESTS.
5611 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5613 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5615 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5617 * cspi/spi_registry.c: constify in strings.
5618 (deregisterGlobalEventListenerAll): don't release the ref.
5620 * cspi/spi.h: start removing redundant / conflicting
5621 gtkdoc comments, making the API readable at a glance :-)
5623 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5625 * test/keysynth-demo.c (keysynth_exit, main): upd.
5627 * test/simple-at.c (main, simple_at_exit): upd.
5629 * test/test-simple.c (unutterable_horror): kill.
5630 (utterable_normal_derefs): kill.
5631 (main): upd & do a setenv before gtk_init, so that we
5632 can use memprof - and to save the pain of remembering
5633 this, if we're running under memprof - don't exit.
5635 * cspi/spi_main.c (SPI_exit): return exit status
5637 (SPI_event_quit): impl.
5638 (SPI_event_main): simplify.
5639 (cspi_is_gnome_app): kill.
5640 (SPI_init): kill isGNOMEapp arg.
5642 * at-bridge/bridge.c (register_atk_event_listeners):
5643 re-instate the unref.
5644 (bridge_exit_func): don't re-activate the registry,
5645 protect vs. theoretical re-entry, use the
5646 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5647 assert a clean shutdown - for regression tests.
5649 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5651 * configure.in: Comment out dummy i18n support for now,
5652 otherwise it fails to build.
5653 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5654 EXTRA_DIST. They are missing in tarball.
5656 2001-12-07 Michael Meeks <michael@ximian.com>
5658 * util/magnifier.c: kill bonobo activation reg. race.
5660 * libspi/component.c
5661 (impl_accessibility_component_get_extents): make it match
5664 * libspi/registry.c (_registry_notify_listeners):
5665 re-remove X headers & reconcile conflicts.
5666 (spi_listener_struct_free): bad conflict resolve.
5667 (impl_accessibility_registry_register_application):
5668 more bad merging fixed.
5669 (impl_accessibility_registry_deregister_application): ditto.
5670 (spi_registry_new): ditto.
5671 (spi_registry_init): don't have an applications field.
5673 [ merge fixups2 branch to here ]
5674 2001-12-07 Michael Meeks <michael@ximian.com>
5676 * test/simple-at.c (report_focus_event),
5677 (report_focussed_accessible): remove g_warning debug.
5679 2001-12-07 Michael Meeks <michael@ximian.com>
5681 * test/test-simple.c (validate_tree): comment out some checks.
5682 (test_desktop): app now not registered idly - horay.
5684 2001-12-07 Michael Meeks <michael@ximian.com>
5686 * cspi/spi_registry.c
5687 (registerAccessibleKeystrokeListener): clean, stop it leaking
5688 great swathes of memory, and device event controller references.
5689 ensure we always pass valid sequences.
5690 (deregisterAccessibleKeystrokeListener): ditto.
5691 (generateKeyEvent): upd.
5693 * at-bridge/bridge.c (bridge_key_listener): handle
5694 registry dead exception gracefully.
5695 (bridge_focus_tracker, emit_eventv): free ev.
5697 * test/simple-at.c (report_focus_event): fix polarity.
5699 * libspi/application.c (notify_listeners): kill the ev
5700 argument, and make sure we init the ev we use.
5701 (spi_application_object_event_listener): split out a chunk
5702 (get_atk_object_ref): here & fixup.
5703 (reverse_lookup_name_for_toolkit_event): make const.
5704 (spi_application_toolkit_event_listener): fixup, kill leaks
5707 * at-bridge/bridge.c (register_atk_event_listeners):
5708 don't unref the noop object - causes grief.
5710 * libspi/registry.c: remove the X headers.
5711 turn off the debug churn.
5713 * libspi/accessible.c (spi_accessible_new_return): only
5714 release the ref if we are supposed to [doh]
5716 * test/simple-at.c (report_button_press, report_focus_event):
5717 guard vs. unexpected exit.
5719 * at-bridge/bridge.c (gtk_module_init): prune printf.
5720 (bridge_exit_func): fix app unref.
5722 * libspi/Makefile.am: don't install registry or desktop.h
5724 * libspi/*.h: update includes.
5726 * libspi/application.h: don't include ourself, or
5727 other redundant headers.
5729 2001-12-06 Michael Meeks <michael@ximian.com>
5731 * libspi/accessible.c
5732 (get_accessible_from_servant): impl.
5733 Upd. all CORBA impl.s to use it killing cut and paste.
5735 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5737 (SPI_init): register atexit cleanup handler here.
5739 2001-12-06 Michael Meeks <michael@ximian.com>
5741 * at-bridge/bridge.c (gtk_module_init): g_error on
5742 activation exception
5744 2001-12-06 Michael Meeks <michael@ximian.com>
5746 * at-bridge/bridge.c (gtk_module_init): some sort of
5747 confusing merge clash - reverted.
5748 (bridge_idle_init): ditto.
5750 * test/test-simple.c (main, utterable_normal_derefs):
5751 merge from Bill - somehow not committed.
5753 2001-12-06 Michael Meeks <michael@ximian.com>
5755 * libspi/value.c (spi_value_class_init): upd.
5756 (spi_value_finalize): kill.
5758 * libspi/table.c (spi_table_finalize): kill.
5759 (spi_table_interface_new): upd.
5760 (spi_table_class_init): upd.
5761 (get_table_from_servant): impl.
5762 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5764 * libspi/selection.c (spi_selection_finalize): kill.
5765 (spi_selection_interface_new): upd.
5766 (spi_selection_class_init): upd.
5767 (get_selection_from_servant): impl.
5768 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5770 * libspi/relation.c (spi_relation_finalize): kill.
5771 (spi_relation_class_init, spi_relation_new): upd
5773 * libspi/image.c (spi_image_finalize): kill.
5774 (spi_image_class_init): upd.
5775 (spi_image_interface_new): upd.
5776 (get_image_from_servant): impl.
5777 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5779 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5780 (spi_hyperlink_finalize): kill.
5781 (spi_hyperlink_new): upd.
5782 (get_hyperlink_from_servant): impl.
5783 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5785 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5786 (spi_hypertext_finalize): kill.
5787 (spi_hypertext_class_init): upd.
5788 (get_hypertext_from_servant): impl.
5789 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5791 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5792 (spi_editable_text_interface_new): upd.
5793 (get_editable_text_from_servant): impl.
5794 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5796 * libspi/text.c (get_text_from_servant): impl.
5797 All impls - update to use it killing more cut and paste,
5798 also fix bad string returns on duff args ( a somewhat
5799 impossible case to handle - but hey ).
5800 (spi_text_construct): impl.
5801 (spi_text_interface_new): upd.
5802 (spi_text_object_finalize): kill.
5804 * libspi/component.c
5805 (accessibility_component_object_finalize): kill.
5806 (spi_component_class_init): upd.
5807 (get_component_from_servant): impl. helper to kill cut & paste.
5808 (impl_accessibility_component_contains):
5809 (impl_accessibility_component_get_accessible_at_point):
5810 (impl_accessibility_component_get_position):
5811 (impl_accessibility_component_get_extents):
5812 (impl_accessibility_component_get_mdi_z_order):
5813 (impl_accessibility_component_get_layer):
5814 (spi_component_interface_new): upd.
5816 * libspi/action.c (spi_action_finalize): kill.
5817 (spi_action_class_init): upd. inherit from SpiObject.
5818 (spi_action_interface_new): upd.
5819 (get_action_from_servant): impl. helper to reduce cut & paste.
5820 (impl_getKeyBinding, impl_getName, impl_doAction),
5821 (impl_getDescription): Use it everywhere.
5823 * cspi/spi_main.c (get_live_refs): a pointer hash.
5824 (spi_object_hash, spi_object_equal): comment out.
5825 There are issues with CORBA object hashing that need
5828 * libspi/application.c (spi_application_init),
5829 (spi_application_new): upd.
5831 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5832 (spi_accessible_class_init): upd.
5833 s/accessible/object/ in epv methods.
5835 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5837 * at-bridge/bridge.c:
5838 Reorder the bridge initialization into the bridge gtk_module_init,
5839 an immediate call to bridge_register_app, and an idle_add for
5840 register_atk_event_listeners (the only code that *must* wait until
5841 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5842 the activation, creates the application's Accessible object, and
5843 queues the bridge_idle_init function. Restored call to
5844 Accessibility_Registry_deregisterApplication().
5845 Prior to making this call we obtain a new reference to the
5846 registry, which is a temporary hack that helps us handle apps that
5847 shut down the bonobo mainloop before we get there.
5849 * libspi/registry.c:
5850 Fix string leakage in debug block, and don't segv if a an app
5851 dies before its event notifications have been propagated.
5854 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5855 as stopgap measure until we get proper exception handling when
5856 objects die during or before interrogation.
5860 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5861 Also changed default value of is_gnome_app to TRUE.
5864 * test/keysynth-demo.c:
5865 Changed use of SPI_init and SPI_event_main to reflect API change above.
5868 Made report_focus_event check the warning value from getName
5869 before reporting on focussed accessible; simplifies handling of
5870 notifications from dead objects.
5872 * test/test-simple.c: (Changes not in this patch since source is
5875 2001-12-05 Michael Meeks <michael@ximian.com>
5877 * registryd/registryd.c (main): protect against
5878 bonobo-activation startup race condition.
5880 * cspi/spi_main.c (cspi_object_add_check): cope
5881 with the exception elegantly.
5883 * idl/Accessible.idl: decl. ChildGone
5885 * libspi/desktop.c (spi_desktop_dispose): impl.
5886 (spi_desktop_class_init): upd.
5887 (spi_desktop_add_application),
5888 (spi_desktop_remove_application),
5889 (abnormal_application_termination): impl.
5890 (impl_desktop_get_child_at_index): re-impl.
5893 (impl_accessibility_registry_deregister_application),
5894 (impl_accessibility_registry_register_application):
5895 kill excessive debug clutter.
5897 * test/test-simple.c (test_misc): test some NULL
5898 tolerance. (main): upd.
5900 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5901 implements no interfaces - so let's not crash.
5903 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5905 * libspi/accessible.c (spi_accessible_new_return): impl.
5906 helper to calm the cut and paste, to cope with
5907 NULL AtkObjects effectively and efficiently, and to kill
5908 the referencing bugs.
5910 * libspi/table.c (impl_getAccessibleAt),
5911 (impl_getRowHeader, impl_getColumnHeader): upd.
5913 * libspi/hyperlink.c (impl_getObject): upd.
5915 * libspi/accessible.c
5916 (impl_accessibility_accessible_get_child_at_index): upd.
5918 * libspi/component.c
5919 (impl_accessibility_component_get_accessible_at_point): upd.
5921 * test/test-simple.c (test_editable_text, test_text): impl.
5924 * cspi/spi_editabletext.c
5925 (AccessibleEditableText_insertText): constify.
5927 * test/test-simple.c (focus_me): make more robust.
5929 * libspi/accessible.c: remove some printfs in methods that
5930 we test and work fine, so we can get a clean tree dump.
5932 * test/test-simple.c (validate_accessible),
5933 (validate_tree): make tree dumping pretty too.
5935 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5936 it builds without debug on.
5938 * test/test-simple.c (validate_accessible): fix the most
5941 * cspi/spi_main.c (spi_object_release): leave the nicely
5942 blanked memory around if in debug mode.
5944 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5946 [committed to fixups2]
5947 2001-12-05 Michael Meeks <michael@ximian.com>
5949 * libspi/editabletext.c
5950 (spi_editable_text_class_init): g_type_class_peek_parent,
5951 not interface peek - so we finalize cleanly.
5953 * libspi/accessible.c (spi_accessible_new): kill debug.
5955 * test/test-simple.c (validate_accessible): fix ref.
5956 leak, print strings before freeing them; sigh, comment a
5957 chunk out due to strangeness.
5958 (validate_tree): unref the child after use.
5960 * cspi/spi_component.c (AccessibleComponent_getLayer):
5961 add missing break statement, switch on zlayer not the
5962 uninitialized retval.
5964 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5965 before (possibly re-entering) remote unref.
5967 * test/simple-at.c (main): unref the desktop.
5969 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5972 * cspi/spi_main.c (cspi_accessible_is_a): here to
5973 isolate bonobo API usage more.
5975 * libspi/registry.c (impl_accessibility_registry_register_application):
5976 prune bogus comment.
5978 2001-12-04 Michael Meeks <michael@ximian.com>
5980 * test/test-simple.c (validate_tree): upd.
5981 IndexInParent check to make it more lucid.
5982 (validate_accessible): dump the tree.
5984 * libspi/accessible.c (de_register_public_ref),
5985 (get_public_refs): impl.
5986 (spi_accessible_new): make more efficient & intuitive.
5987 Now IndexInParent check works.
5989 2001-12-04 Michael Meeks <michael@ximian.com>
5991 * cspi/spi-util.h: remove.
5993 * cspi/spi.h: move SPI_freeString here
5995 * libspi/component.c (impl_accessibility_component_get_layer):
5997 (impl_accessibility_component_get_mdi_z_order): ditto,
5998 return -1 on error - is this ok ?
6000 * test/test-simple.c (test_application): impl.
6002 * cspi/spi_accessible.c (Accessible_getApplication),
6003 (Accessible_isApplication): impl.
6005 * libspi/registry.c (spi_listener_struct_free): release
6006 the CORBA reference too.
6008 * libspi/accessible.c
6009 (impl_accessibility_accessible_get_parent): fix ref leak.
6011 * libspi/registry.c (spi_registry_new): make the registry
6012 immortal - we don't want it to go away ever.
6014 * libspi/application.c
6015 (spi_accessible_application_finalize): impl. cleanup.
6017 * cspi/spi_registry.c
6018 (deregisterGlobalEventListenerAll),
6019 (deregisterGlobalEventListener),
6020 (deregisterAccessibleKeystrokeListener): fix ref leak.
6022 * cspi/spi_main.c (SPI_init): remove redundant ref.
6024 * test/test-simple.c (unutterable_horror): impl. to force a
6029 (impl_accessibility_registry_deregister_application): release
6030 the application when we de-register it.
6032 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6033 until we have the infastructure to get it right.
6035 2001-12-03 Michael Meeks <michael@ximian.com>
6037 * libspi/Makefile.am: only build eventlistener.[ch]
6039 * libspi/accessible.c
6040 (impl_accessibility_accessible_get_child_at_index): don't leak.
6042 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6043 before we hit the idle handler.
6045 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6046 debugging than exit.
6048 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6050 * libspi/listener.c (impl_notify_event): check source
6051 not NIL before unref.
6053 * libspi/registry.c (impl_registry_notify_event): ditto.
6055 * libspi/eventlistener.c
6056 (impl_accessible_event_notify_event): unref the source.
6058 * libspi/accessibleeventlistener.c
6059 (impl_accessible_event_notify_event): unref the source.
6061 * idl/Event.idl: remove 'hash_id' attribute - of no
6064 * libspi/application.c (notify_listeners): upd list
6066 (spi_application_object_event_listener),
6067 (spi_application_toolkit_event_listener): upd to do correct
6071 (_registry_notify_listeners): update.
6072 (parse_event_type): this method also leaks like a sieve.
6073 (impl_accessibility_registry_deregister_global_event_listener):
6074 fix ETYPE_WINDOW case.
6076 * libspi/application.c
6077 (impl_accessibility_application_register_object_event_listener):
6080 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6082 * libspi/hypertext.c (impl_getLink): ditto.
6084 * cspi/spi_main.c (cspi_object_add): remove
6085 bogus CORBA_Object_duplicate.
6087 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6090 * cspi/spi_accessible.c
6091 (Accessible_getRelationSet): fix leak / referencing issue.
6093 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6094 (cspi_object_add, cspi_object_unref): upd.
6095 (spi_object_release, get_live_refs): impl.
6096 (cspi_cleanup): simplify.
6098 * *.[ch]: s/boolean/SpiBoolean/
6100 * cspi/spi_accessible.c (role_names): actualy order so it
6101 corresponds with the enum !
6103 * test/test-simple.c (test_roles): check some role strings
6104 vs. enums to detect offset errors.
6106 2001-12-01 Michael Meeks <michael@ximian.com>
6108 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6110 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6112 (Accessible_getChildAtIndex): use cspi_add_check so we
6113 check the ev before using a (possibly) invalid value.
6115 * libspi/accessible.c
6116 (impl_accessibility_accessible_get_parent): don't segv
6119 * at-bridge/bridge.c (gtk_module_init): upd.
6120 (bridge_property_event_listener): don't leak strings
6122 (bridge_state_event_listener),
6123 (bridge_property_event_listener): don't use a static
6124 buffer in case of recursive event emission &
6125 re-enterancy - split out the swathe of cut and paste
6127 (emit_eventv): and fix 2 ref leaks here & comply to the
6129 (bridge_register_app): rename to
6130 (bridge_idle_init): this and kill arg parsing, split
6131 various inits & bonobo-activation registration to module
6132 init time, kill referencing error.
6133 (bridge_exit_func): fix the same leak.
6134 (bridge_focus_tracker): don't leak event structures
6136 (bridge_signal_listener): more leakage and cut & paste
6138 (bridge_key_listener): return the result - FIXME is
6139 this polarity correct ?
6140 (accessibility_keystroke_from_atk_key_event): rename
6141 (accessibility_init_keystroke_from_atk_key_event): and stop
6143 (gtk_module_init): return a value - not that it is checked by
6145 (bridge_key_listener): register my horror at casting between
6146 IDL defined structs.
6147 (bridge_get_registry): kill - not used.
6149 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6151 * test/test-simple.c (test_roles): impl.
6152 (test_desktop, validate_accessible, validate_tree): impl.
6154 * cspi/spi_accessible.c (role_names): fixup bogus
6155 MAX_ROLES setup, make constants const for efficient linkage
6156 (AccessibleRole_getName): conform to coding style, make
6159 2001-11-30 Michael Meeks <michael@ximian.com>
6161 * cspi/spi.h: add missing prototype.
6163 * libspi/registry.c (spi_listener_struct_new): fix sig.
6165 * test/Makefile.am: add test-simple
6167 * test/test-simple.c: add
6169 * test/test.sh: add.
6171 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6173 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6174 do it straight - since otherwise we often get an activation race.
6176 [ work before Bill duplicated a chunk of it ... ]
6177 2001-11-30 Michael Meeks <michael@ximian.com>
6179 * libspi/keystrokelistener.c
6180 (spi_keystroke_listener_class_init): fixup arg
6183 * libspi/eventlistener.c
6184 (spi_event_listener_class_init): ditto.
6186 * tests/test.sh: add.
6188 * cspi/spi-listener-impl.h: update macros.
6190 * cspi/spi-listener-impl.c
6191 (cspi_event_listener_remove_callback): add
6192 correct pre-conditions.
6194 * cspi/spi_main.c (SPI_exit): guard vs. double
6195 exits, exit the mainloop nicely.
6196 (SPI_event_main): make more sense.
6197 (SPI_init): move the atexit evilness here so we
6198 always do it (yuck).
6199 (SPI_event_main): upd.
6201 * test/simple-at.c: update for listener changes.
6203 * registryd/registryd.c (main): prune kruft.
6205 * libspi/libspi.h: upd.
6207 * libspi/eventlistener.[ch]: rename broken macros.
6209 * libspi/accessibleeventlistener.[ch]: remove.
6211 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6213 * test/test-simple.c: Add - automated tests.
6215 * cspi/spi-listener-impl.c (cspi_event),
6216 (cspi_key_event): add user_data to invoke.
6217 (cspi_keystroke_listener_finalize): impl.
6218 (cspi_keystroke_listener_class_init): upd.
6221 (createAccessibleEventListener),
6222 (AccessibleEventListener_addCallback),
6223 (createAccessibleKeystrokeListener),
6224 (AccessibleKeystrokeListener_addCallback): upd.
6226 * libspi/deviceeventcontroller.c
6227 (spi_device_event_controller_check_key_event): add public proto.
6230 (impl_accessibility_registry_deregister_global_event_listener):
6231 always init listeners.
6232 (_registry_notify_listeners): yes it is.
6234 * cspi/spi-listener-impl.c (cspi_key_event):
6236 (cspi_event_listener_finalize): impl.
6237 (cspi_event_listener_class_init): hook up.
6238 (event_handler_new, event_handler_free),
6239 (event_list_remove_by_callback): impl.
6240 (cspi_event_listener_remove_callback),
6241 (cspi_keystroke_listener_remove_callback),
6242 (cspi_keystroke_listener_add_callback),
6243 (cspi_event_listener_add_callback): upd.
6245 * libspi/keystrokelistener.c
6246 (keystroke_listener_object_finalize): kill
6247 (spi_keystroke_listener_class_init): upd.
6248 (spi_keystroke_listener_add_callback),
6249 (spi_keystroke_listener_remove_callback): kill,
6251 (impl_key_event): prune drasticaly.
6253 * libspi/eventlistener.c
6254 (spi_event_listener_add_callback),
6255 (spi_event_listener_remove_callback): kill, use
6257 (impl_accessible_event_notify_event): upd.
6258 (spi_event_listener_object_finalize): remove.
6260 * libspi/Makefile.am: use eventlistener.[ch]
6262 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6264 * libspi/registry.c (_registry_notify_listeners):
6265 Changed listener loop iteration to use preferred convention.
6266 Got rid of string memory leaks caused be calling g_strconcat
6267 inside function calls.
6269 * libspi/registry.c (parse_event_type):
6270 Stopped g_strconcat memory leaks, free the g_strsplit return,
6271 g_strdup the split pieces when used, etc.
6273 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6276 Change method 'compare' to return a 'difference set' rather than
6277 taking a StateSet as an out parameter (more Java-friendly).
6279 * idl/Accessible.idl:
6280 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6282 * idl/Component.idl:
6284 Changed methods 'getExtents' and 'getImageExtents' in these
6285 interfaces to return a BoundingBox structure.
6286 (getPosition and getSize are redundant and possibly should be
6287 removed, rather than creating a corresponding Point struct.)
6289 * cspi/spi_component.c:
6290 Modify implementation of getExtents to reflect the above IDL
6295 Add (missing) AccessibleImage_getExtents () API.
6297 * docs/reference/cspi/at-spi-cspi-sections.txt:
6298 Added AccessibleImage_getImageExtents () to docs.
6300 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6302 * idl/Component.idl:
6303 Added two methods, getLayer () and getMDIZOrder (), to reflect
6304 the new ATK methods atk_object_get_layer and
6305 atk_object_get_mdi_z_order. (Which arguably should be part of the
6306 AtkComponent API and AtkObject). Also added an enum,
6307 ComponentLayer, for the first method's return value.
6309 * libspi/component.c:
6310 Added implementations for these methods.
6312 * cspi/spi_component.c:
6314 Added cspi binding methods for above,
6315 AccessibleComponent_getLayer() and
6316 AccessibleComponent_getMDIZOrder().
6317 Added cspi enum 'AccessibleComponentLayer'.
6319 * docs/reference/cspi/at-spi-cspi-sections.txt:
6320 Added above methods to docs.
6324 Changed typedef for 'boolean' type (and all references to it) to
6325 SPIBoolean, to avoid keyword clashes with C++.
6328 Changed usages of 'boolean' to SPIBoolean.
6330 * test/keysynth-demo.c:
6331 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6332 app), except where SPIBoolean is required by the callbacks API.
6334 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6336 * cspi/spi_registry.c:
6337 Removed obsolete X event loop for passive keygrabs (which now
6340 * registryd/registryd.c:
6341 Removed unnecessary call to gdk_init() [cruft]. This also allows
6342 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6345 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6347 * docs/reference/cspi:
6348 Included docs for SPI_freeString in generated documentation.
6351 Renamed spi_freeString to SPI_freeString, for consistency. Added
6352 documentation for this function.
6355 Renamed spi_freeString to SPI_freeString, for consistency.
6356 Removed obsolete method declaration string_from_corba_string.
6358 * test/keysynth-demo.c:
6359 Small tweak to comments.
6362 Stopped leaking the strings returned from CSPI.
6364 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6366 Merged Michael's branch (see his ChangeLog entries below).
6368 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6369 bridge is alive, release on exit.
6371 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6372 Fix type check macro.
6375 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6378 Added is_gnome_app static, and method cspi_is_gnome_app(),
6379 so we can call the appropriate shutdown routine at exit in SPI_exit.
6381 * cspi/spi_main.c (cspi_object_ref):
6382 Duplicate the corba object passed in, since we're keeping it around.
6384 * cspi/SPI_exit.c, cspi_cleanup:
6385 Moved the releasing of the live refs to its own function, so we
6386 can put it in g_atexit (). Call the appropriate shutdown API
6387 depending on whethe calling client is a gnome app or not
6388 (bonobo_main_quit or CORBA_ORB_shutdown).
6390 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6391 Unref the listener when this method is called, after
6392 deregistration. Updated the API docs to note this behavior.
6394 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6395 Bugfixes: Ref the bonobo object when returning a parent or child
6396 reference, or an AccessibleRelation. Generally made sure
6397 BonoboObject refcount is incremented whenever we return an
6400 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6401 Fixed typo/bug in signal declaration.
6403 * libspi/accessibleeventlistener.h:
6406 * libspi/application.c (spi_application_new):
6407 Fixed leak in initialization.
6410 Remembered to increment bonobo-object refcount when returning
6411 children (applications) from desktop object.
6412 Added (empty) finalize method.
6414 * libspi/deviceeventcontroller.c:
6415 Hold a ref to listeners inside DEControllerKeyListeners.
6416 Added dec_key_listener_free() method. Use prepend instead of
6417 append in key_listener list. Fixed some refcount madness and
6418 leaks in the listener registration/deregistration - deregistration
6419 now calls dec_key_listener_free() on listeners, and on the
6420 temporarily constructed dec_key_listener() used to perform the search/match.
6422 * libspi/hypertext.c (spi_hypertest_finalize):
6423 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6424 class. Also fixed spi_hypertext_interface_new() and
6425 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6427 * libspi/hypertext.h:
6428 Removed pointless and duplicate AtkObject pointer from
6431 * libspi/keystrokelistener.c:
6432 Fixed incorrect type of keystroke_listener_parent_class,
6433 renamed keystroke_listener_object_finalize to
6434 spi_keystroke_listener_object_finalize.
6435 Fixed typo in signal declaration
6436 (spi_keystroke_listener_class_init).
6438 * libspi/registry.c:
6439 Added funcsions spi_listener_struct_new() and
6440 spi_listener_struct_free() to help with memory management issues.
6441 We also now use these methods instead of gnew + poking stuff into
6442 the struct, and to decrement listener counts/free the listeners
6443 when deregistering them.
6444 Fix more refcount bugs in getDesktop() and
6445 getDeviceEventController().
6448 De-ref the desktop after enumerating the applications. Explicitly
6449 decrement the refcounts on the created listeners on exit (using
6450 _unref for keystroke listeners, and via the
6451 deregisterGlobalEventListenerAll command for other event
6454 2001-11-27 Michael Meeks <michael@ximian.com>
6456 * cspi/spi-listener.h: fixup enum.
6458 2001-11-27 Michael Meeks <michael@ximian.com>
6460 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6461 (cspi_keystroke_listener_new): Use the cspi variants.
6463 2001-11-26 Michael Meeks <michael@ximian.com>
6465 * test/keysynth-demo.c: fix 2 compile warnings, missing
6468 * test/simple-at.c (report_focussed_accessible),
6469 (report_focus_event, report_button_press),
6470 (check_property_change, is_command_key),
6471 (report_ordinary_key_event, report_command_key_event): upd.
6473 * util/mag_client.h: include pre-requisites.
6475 * libspi/accessibleeventlistener.c
6476 (spi_event_listener_object_finalize): free any lingering
6479 * libspi/keystrokelistener.c
6480 (keystroke_listener_object_finalize): ditto.
6482 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6483 callbacks, with cspi types.
6485 * cspi/spi_event.c (createAccessibleEventListener): chain to
6486 (AccessibleEventListener_addCallback): here.
6487 (createAccessibleKeystrokeListener): chain to
6488 (AccessibleKeystrokeListener_addCallback): here.
6490 * libspi/keystrokelistener.c
6491 (spi_keystroke_listener_class_init): add signal.
6492 (impl_key_event): emit the event.
6493 (boolean_handled_accumulator): impl.
6494 (marshal_BOOLEAN__POINTER): add, gack.
6496 * libspi/accessibleeventlistener.c
6497 (spi_event_listener_class_init): add signal.
6498 (impl_accessible_event_notify_event): emit the signal &
6499 make the loop efficient.
6500 (spi_event_listener_add_callback): prepend the callback.
6502 * libspi/accessibleeventlistener.h: add an 'event' signal,
6503 decl type on callback.
6505 * libspi/keystrokelistener.h: ditto.
6507 * cspi/spi-listener.h: make methods typesafe and
6508 make them use the new event typedefs.
6510 * test/simple-at.c (report_focussed_accessible):
6511 include mag_client.h
6512 Use *(void *)text_interface not the other thing.
6514 * configure.in: add gtk to registryd bits - since we use
6517 * util/magnifier.c: include libbonobo.h
6519 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6521 * test/keysynth-demo.c:
6522 Turned this into a simple scanning keyboard, to demonstrate the
6523 use of g_timeout_add () as a means of creating timers for
6524 scanning, and the use of GtkStyle for visually indicating when
6525 virtual keyboard elements are selected.
6527 keysynth-demo now listens to any keyboard keys with zero-valued
6528 keycodes (i.e. 'unused' keys) and interprets them as
6531 Reworked the shiftlatch code so that shift-down state isn't held
6532 for long periods (it's only synthesized immediately prior to
6533 the keysynth event it's modifying). Note that shiftlatch in this
6534 demo is a convenience, not intended to take the place of AccessX
6535 which is the better choice for getting 'sticky' modifier keys.
6537 * libspi/deviceeventcontroller.c:
6538 * at-bridge/bridge.c:
6539 * cspi/spi_registry.c:
6540 Removed some debug print stuff, and put other verbosity in #ifdef
6545 Implemented some more of the magnifier IDL for the simple
6546 magnifier: namely, getZoomRegionParams.
6547 Added mag_x and mag_y members to MagnifierData struct, aid of this
6549 Added GtkWindow::realize signal handler to magnifier, to keep it
6550 from receiving keyboard focus from the WM.
6552 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6554 * cspi/spi-private.h: my guess at what michael forgot
6555 before he ran off to NZ :-)
6557 2001-11-23 Michael Meeks <michael@ximian.com>
6559 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6560 comment out non existant method invoke so we link.
6562 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6563 use bonobo_exception_get_text for more friendly warnings.
6565 * cspi/spi.c (Obj_Add): move into spi_main & rename
6566 spi_object_add; kill spi.c
6568 * cspi/spi_registry.c
6569 (deregisterGlobalEventListener),
6570 (deregisterGlobalEventListenerAll),
6571 (registerGlobalEventListener): fix exception leaks.
6573 * cspi/spi_main.c (spi_exception): impl. helper, so we
6574 don't leak exceptions.
6576 * cspi/spi_selection.c
6577 (AccessibleSelection_deselectSelectedChild): return the
6580 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6581 (spi_registry): ditto.
6582 (SPI_init): guard against double inits.
6584 * cspi/*.c: use spi_ev (), and spi_registry () where
6585 appropriate - a temporary hack until we have something
6586 better. Use spi_object_add
6588 2001-11-22 Michael Meeks <michael@ximian.com>
6590 * cspi/Makefile.am: re organise, install the headers.
6592 * cspi/*.h: add G_BEGIN/END_DECLS
6594 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6597 Added non-preemptive keylistener for key events with no modifiers
6598 and shift-only modifier.
6600 * libspi/keystrokelistener.c:
6601 Removed some verbose diagnostics printout.
6603 * cspi/spi_registry.c:
6604 Fixed a bug that caused all key listeners to be registered as
6607 * libspi/deviceeventcontroller.c:
6608 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6609 for non-preemptive key masks.
6612 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6614 * docs/reference/idl/at-spi-idl-docs.sgml:
6615 * docs/reference/idl/at-spi-idl-sections.txt:
6616 * docs/reference/idl/at-spi-idl-overrides.txt:
6617 Added missing files.
6619 * docs/reference/Makefile.am:
6620 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6621 to scan the IDL files :-(
6626 Added .cvsignore files.
6628 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6630 * libspi/deviceeventcontroller.c:
6631 * libspi/keystrokelistener.c:
6633 * cspi/spi_registry.c:
6634 Added filters for KeySets, KeyEventSeq, and event types to key
6635 event dispatching, so listeners should only receive those events
6636 that they requested :-)
6638 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6643 * docs/reference:Makefile.am:
6644 * docs/reference/cspi:
6645 * docs/reference/cspi:Makefile.am:
6646 * docs/reference/cspi:tmpl:
6647 * docs/reference/cspi:tmpl:*.sgml:
6648 * docs/reference/idl:
6649 * docs/reference/idl:Makefile.am:
6650 * docs/reference/idl:at-spi-idl-sections.txt:
6651 * docs/reference/idl:at-spi-idl-docs.sgml:
6652 * docs/reference/idl:tmpl:
6653 * docs/reference/idl:tmpl:*.sgml:
6655 Restructured docs directory to allow separate 'reference' docs
6656 section, and forked idl and cspi docs. Added the sgml template
6657 files to CVS. Added the first sections/structural sgml for the
6660 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6662 * configure.in, libspi/Makefile.am: find libXtst.
6664 2001-11-21 Michael Meeks <michael@ximian.com>
6666 * test/accessx-gui.c: s/spi_value/value/ - doh.
6668 * libspi/base.[ch]: add.
6670 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6672 * idl/Accessible.idl:
6673 * idl/Application.idl:
6676 Started gtk-doc cleanup on IDL.
6678 * libspi/deviceeventcontroller.c:
6679 Added and connected non-preemptive key notification from the
6680 toolkits (in addition to the pre-emptive support from XServer
6681 which we had before, but which causes 'focus flashing'). Filters
6682 are presently limited to key modifiers and global/non-global,
6683 KeySets are presently ignored, as are KeyEvent masks.
6685 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6686 structs into the persistant structure rather than just storing
6687 pointers to things that might not persist across servant
6690 The XGrabKey call now does async keygrabs, because synchronous
6691 ones were deadlocking with GDK_event code in a very nasty way.
6693 Added boolean to internal method notify_keylisteners, to indicate
6694 whether the event came from the 'toolkit source' or the 'global
6695 (XServer) source' - this is used in the notification process to
6696 determine which listeners to send the event to.
6698 deviceeventcontroller.c is now warning-free.
6700 * libspi/registry.c:
6701 Fixed regression in application de-registration.
6702 Also fixed some really brain-dead weirdness having to do with
6703 event dispatching - event structs are now duplicated before being
6704 re-marshalled in the dispatch to listeners. This also fixes a
6705 Solaris build problem.
6708 2001-11-20 Michael Meeks <michael@ximian.com>
6711 (impl_accessibility_registry_deregister_global_event_listener):
6714 * libspi/deviceeventcontroller.c
6715 (spi_device_event_controller_check_key_event): return
6716 FALSE on no virtual method.
6718 * libspi/*..h: make includes work on a correctly pathed install.
6720 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6722 * libspi/application.h: kill unused ( and whacked out )
6723 gboolean *spi_application_set_id (AtkObject *app, long id);
6725 2001-11-20 Michael Meeks <michael@ximian.com>
6727 * libspi/*.[ch]: further convert to bonobo's type func
6728 macros, remove redundnant casts etc.
6730 * libspi/text.c s/accessibility_text/spi_text/g,
6731 re-order to de-cruft.
6733 * libspi/hypertext.c: re-order to kill a huge slew
6734 of redundant forward decls.
6736 * libspi/relation.c: ditto.
6738 * libspi/image.c: ditto.
6740 * */.cvsignore: update
6742 2001-11-20 Michael Meeks <michael@ximian.com>
6744 * libspi/deviceeventcontroller.c
6745 (_controller_register_with_devices): use g_getenv,
6746 kill stdlib.h include.
6748 * libspi/keystrokelistener.c
6749 (spi_keystroke_listener_get_type): kill
6750 (spi_keystroke_listener_class_init),
6751 (spi_keystroke_listener_init): rename to this.
6753 * libspi/text.c (impl_getAttributes): fix warning / bug.
6755 * libspi/*.[ch]: more headers, includes and over commenting.
6757 2001-11-20 Michael Meeks <michael@ximian.com>
6759 * libspi/*.[ch]: fixup headers, includes and over commenting.
6761 * libspi/image.c (impl__get_imageDescription): const
6762 correctness warning fix. remove redundant casting.
6764 * libspi/table.c (impl_getRowDescription): ditto.
6765 (impl_getColumnDescription): ditto.
6767 * libspi/libspi.h: add.
6769 2001-11-19 Michael Meeks <michael@ximian.com>
6771 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6773 * libspi/component.c (accessibility_component_get_type):
6774 rename to (spi_component_get_type): and macroify.
6775 (accessibility_component_init): rename to
6776 (spi_component_init): this
6777 (accessibility_component_class_init): rename to
6778 (spi_component_class_init): this
6780 * libspi/action.c (spi_action_get_type): kill, use the macro.
6782 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6785 * libspi/application.c (spi_application_object_event_listener),
6786 (impl_accessibility_application_register_object_event_listener):
6787 warning fixes / const understanding updates.
6789 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6792 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6794 * libspi/spi_accessible.c: Added docs and C bindings for
6795 AccessibleStateSet. (No implementations yet). Documentation
6796 coverage for C bindings now 100%. Made docs for event listeners
6801 boolean notifyListenersSync (in DeviceEventListener listener,
6802 in DeviceEvent event);
6804 oneway void notifyListenersAsync (in DeviceEventListener listener,
6805 in DeviceEvent event);
6807 Added DeviceEventListener and DeviceEvent structs (may deprecate
6808 KeyStroke and KeystrokeListener in favor of this generic
6809 event/listener framework for devices).
6811 * libspi/deviceeventcontroller.c:
6813 Changed some key listener code to take masks, etc., and paved the
6814 way for integration of toolkit/non-preemptive key events. Changed
6815 signatures of some internal methods.
6817 * at-bridge/bridge.c:
6818 Fixed regression connecting to interface signals, apparently
6819 caused by GTK+ changes.
6821 Added an internal bridge_state_listener to deal with
6822 property-change:accessible-state signals.
6824 Changed the key_listeners GList to store structs (including masks,
6825 etc.) instead of just CORBA_Objects (required for full
6826 implementation of key listener API).
6828 Connected the bridge to all currently supported Atk signals.
6829 Events now supported:
6830 object:property-change
6831 object:property-change:accessible-name
6832 object:property-change:accessible-state
6833 object:property-change:accessible-description
6834 object:property-change:accessible-parent
6835 object:property-change:accessible-value
6836 object:property-change:accessible-role
6837 object:property-change:accessible-table-caption
6838 object:property-change:accessible-table-column-description
6839 object:property-change:accessible-table-column-header
6840 object:property-change:accessible-table-row-description
6841 object:property-change:accessible-table-row-header
6842 object:property-change:accessible-table-summary
6843 object:children-changed
6844 object:visible-data-changed
6845 object:selection-changed
6846 object:text-selection-changed
6848 object:text-caret-moved
6850 object:row-reordered
6852 object:column-inserted
6853 object:column-reordered
6854 object:column-deleted
6855 object:model-changed
6857 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6859 * libspi/hyperlink.c,h:
6860 Fixed some broken stuff in hyperlink.
6862 * libspi/relation.h:
6863 * libspi/relation.c:
6864 * cspi/spi_accessible.c:
6865 Initial implementations of AccessibleRelation methods, and docs.
6867 * libspi/accessible.c:
6868 Fixed a bug that caused SEGV if an accessible
6869 object's description is NULL, and a client
6870 requests it. An empty string is now returned.
6872 * cspi/spi_editabletext.c:
6873 * cspi/spi_hypertext.c:
6875 * cspi/spi_hyperlink.c:
6879 Doc coverage now 95%.
6881 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6883 One last namespacing revision:
6884 * libspi/accessibleeventlistener.[ch]:
6885 Renamed SpiAccessibleEventListener to SpiEventListener,
6886 (no need for two namespaces ;-)
6888 And lots of documentation fixes:
6890 * docs/at-spi-docs.sgml:
6891 Fixed 'underscore vs. hyphen' bug that was preventing
6892 the gtk-doc API docs from being automatically generated.
6895 * cspi/spi-listener.h
6897 * cspi/spi_accessible.c
6899 * cspi/spi_application.c
6900 * cspi/spi_component.c
6901 * cspi/spi_editabletext.c
6903 * cspi/spi_hypertext.c
6905 * cspi/spi_registry.c
6906 * cspi/spi_selection.c
6910 * docs/at-spi-docs.sgml
6911 * docs/at-spi-sections.txt
6913 Added and fixed up gtk-doc documentation in cspi.
6915 Interfaces now (fully) documented (subject to revision and enhancement):
6917 Event Listener Support
6919 AccessibleApplication
6923 AccessibleEditableText
6930 AccessibleRelationSet
6935 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6937 * at-bridge/bridge.c:
6938 Initial work for toolkit-level key snooper connection by bridge.
6943 New typedefs and fixes to support new namespacing, and cleaner
6944 separation of cspi bindings from libspi bonobo implementation.
6945 Removed inconsistent and extraneous Spi* namespace prefix that
6946 had crept into cspi headers.
6947 Lots of comment fixes that sed had missed.
6949 * cspi/spi-roletypes.h:
6950 * cspi/spi-statetypes.h:
6951 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6952 to AccessibleRoleType.
6954 * libspi/accessibleeventlistener.h:
6955 Fixed minor namespacing weirdness.
6957 * libspi/deviceeventcontroller.c:
6958 Reordered some internal API for device listeners.
6959 Changed the key registry final boolean to 'is_system_global'
6960 rather than 'is_synchronous', which is more descriptive of its
6962 Added spi_device_event_controller_new().
6963 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6965 * libspi/keystrokelistener.[ch]:
6966 Namespaced KeystrokeListener to SpiKeystrokeListener.
6967 Changed uses of keymasks to use SPI_ prefix, and did other
6970 * libspi/keymasks.h:
6971 Namespaced keymask constants with SPI_ prefix.
6973 * libspi/registry.c:
6974 Some warning fixes, and knock-on fixes from namespace changes.
6977 Added rules for accessx-gui test program.
6979 * test/accessx-gui.c:
6980 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6981 utility. It doesn't actually use at-spi, but it's still cool and
6984 * test/keysynth-demo.c:
6988 Fixes so that these test clients work properly with the namespaced
6989 libraries. (Incompletely tested for technical reasons, fixes may follow)
6992 2001-11-13 Michael Meeks <michael@ximian.com>
6994 * libspi/application.c
6995 (impl_accessibility_application_get_version),
6996 (impl_accessibility_application_get_toolkit_name):
6998 (impl_accessibility_application_set_id),
6999 (impl_accessibility_application_get_id): remove
7000 redundant casting code.
7002 * libspi/action.c (impl_getDescription): fix warnings.
7004 * libspi/accessible.c
7005 (impl_accessibility_accessible_get_parent),
7006 (impl_accessibility_accessible_get_child_at_index),
7007 (impl_accessibility_accessible_get_state),
7008 (impl_accessibility_accessible_get_relation_set):
7009 warning fixes & include action.h
7011 2001-11-13 Michael Meeks <michael@ximian.com>
7013 * *.[ch] fix bits I screwed up:
7015 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7016 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7018 2001-11-13 Michael Meeks <michael@ximian.com>
7020 * *.[ch] Namespace libspi into spi_ and Spi.
7022 2001-13-11 Michael Meeks <michael@ximian.com>
7024 * Makefile.am: dist & install at-spi-1.0.pc
7026 * libspi/Makefile.am: install into at-spi-1.0
7028 * idl/Makefile.am (idldir): install into at-spi-1.0
7030 * at-spi-1.0.pc.in: add.
7032 * configure.in: build it.
7034 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7036 * test/keysynth-demo.c:
7037 Use a 'realize' signal-handler to set the WM properties for
7038 the virtual keyboard, rather than making it a "POPUP" type
7039 override-redirect window (thanks to anders carlsson for that
7042 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7045 * test/keysynth-demo.c:
7046 Added new test of key synthesis, which creates a simple
7047 (mouse-operated) onscreen keyboard. It inserts key events into
7048 the currently-focused window, thus it does not grab keyboard focus
7051 * cspi/spi_registry.c:
7052 Added C binding for AT-SPI generateKeyEvent.
7054 * libspi/deviceeventcontroller.c:
7055 Added call to XFilterEvent so that key listener works with XIM (we
7056 hope). Added event_synth_type to generateKeyEvent, so that we can
7057 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7058 synthesize a press/release pair for KeySyms.
7060 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7062 * libspi/Makefile.am:
7063 * registryd/Makefile.am:
7064 (temporary) hack to include libXtst in libspi and registryd.
7065 (Needed for keystroke synthesis, see below).
7068 Improved API for registerKeystrokeListener, in accordance with
7069 discussions with Gnopernicus team and X server research.
7071 * libspi/registry.c:
7072 * libspi/deviceeventcontroller.c:
7073 * libspi/accessible.c:
7074 * libspi/keystrokelistener.c:
7075 Changes and fixes to support keylisteners for potentially
7076 consumed key events (that is, 'passive grabs').
7077 Added implementation for generateKeyEvent() [untested].
7080 Changes to registerKeystrokeListener() API, as above.
7081 Added deregisterGlobalEventListenerAll(), and
7082 deregisterKeystrokeListener(), which are needed for clean exit of
7084 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7085 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7087 * cspi/spi_registry.c:
7088 Added implementations of function prototypes mentioned above.
7090 * registryd/registryd.c:
7091 Added the key listener event source as a g_timeout(), to allow
7092 receipt of key events that are not caught by GDK (since GDK
7093 doesn't support passive keygrabs, this was necessary).
7096 Changed to attach a keylistener to 'Alt' keys, and
7097 respond to the following keycommands: Alt-M (toggle magnifier);
7098 Alt-F (toggle speech); Alt-Q (quit).
7099 Added an exit routine to deregister the listeners, and a key
7100 listener that prints some key info to the console when a key
7101 matches the listener mask (and is thus received by the listener).
7103 * util/idl/Magnifier.idl:
7104 Changes to magnifier API to support multiple zoom regions,
7105 non-uniform scaling in x and y, markDirty, and a host of other
7106 features that would be useful to magnification.
7109 * util/mag_client.c:
7110 * util/mag_client.h:
7111 * util/mag_control.c:
7113 Source code changes to support the above IDL changes.
7116 As above, and also changes to use a (slower) generic conversion
7117 path for colormap conversions, since the fast RGB conversions have been
7118 reported to fail for 16-bit displays.
7120 2001-10-26 Michael Meeks <michael@ximian.com>
7122 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7124 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7126 * at-bridge/Makefile.am: fix LDFLAGS.
7128 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7130 * at-bridge/bridge.c:
7131 Re-worked listeners for toolkit events, now we have signal
7132 and property listeners. Added a private method
7133 register_atk_event_listeners(), which registers with the
7134 various atk and gtk signals we need to monitor in order to emit
7136 Added emission hook for AtkObject:property-change events, to
7137 support the 'property listeners'.
7138 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7141 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7142 which emit warnings and exit, respectively, if CORBA errors occur
7143 during remote calls, and we now use these methods to check most of
7144 our CORBA calls in the C bindings.
7146 * cspi/spi_accessible.c:
7147 Changed AccessibleSelection_refSelectedChild() to
7148 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7149 now increment refcounts.
7151 * cspi/spi_component.c:
7152 Fixed some long pointer casts (dangerous!) to pass pointers to
7153 CORBA_longs of the proper type to the CORBA stubs, and copy the
7154 data into the longs that were passed into the C bindings code.
7156 * at-bridge/bridge.c:
7158 * libspi/accessible.c:
7159 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7160 hyperlinks, AtkHyperlink is an object type.
7162 * libspi/application.c:
7163 Added various conversions to and from "generic" event types and
7164 atk-specific types; this is really part of the 'bridge'
7165 implementation but is valid for all AtkObject-based accessibility
7168 * libspi/editabletext.c:
7169 Fixed nasty bug wherein editable text's finalize method was
7170 unref'ing tha AtkObject reference that the text parent class was
7171 about to unref _again_. There was also a nasty inheritance bug
7172 that meant that the AccessibleEditableText class was corrupt.
7174 * libspi/selection.c:
7175 Provided implementations for some selection API that was broken.
7177 * idl/Application.idl:
7178 Added registerObjectEventListener () method.
7181 Fixed a number of return values that were Bonobo_Unknowns from
7182 bonobo_object_corba_objref(), which I
7183 forgot to dup before returning. Changed instances of
7184 bonobo_object_corba_objref (bonobo_object(o)) to
7185 BONOBO_OBJREF(o), for concision and clarity.
7187 2001-10-13 Louise Miller <louise.miller@sun.com>
7189 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7190 idl/Event.idl, idl/Registry.idl
7191 Changed these files to include Bonobo_Unknown.idl instead
7194 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7196 * libspi/component.c libspi/component.h:
7197 Fixed typo. Added assertions for object checks in
7198 AccessibleComponent code.
7200 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7202 * idl/Accessible.idl:
7203 Added 'isEqual (Accessible *object)'
7204 method for Accessible. (Not Yet Implemented).
7207 Changed signature of registerKeystrokeListener() to
7208 take a KeySet and KeyEventSeq so that specific keys and event
7209 types could be requested for monitoring, and added a flag
7210 is_synchronous so that either synchronous or asynchronous
7211 notification could be requested. (However this is not all
7212 implemented yet). This also meant adding two new typedefs,
7213 KeyEventSeq and KeySet.
7216 Added two new relations, RELATION_TOOLTIP_FOR and
7217 RELATION_LEAFNODE_OF.
7220 Added new state, STATE_HAS_TOOLTIP.
7222 * libspi/text.c, editabletext.c:
7223 Added new assertions to all casts of bonobo-objects from
7224 CORBA servants, to prevent Text API calls on non-text objects.
7225 Changed suspect casts of int-pointer types, so that we
7226 always send a valid CORBA_long pointer to the CORBA APIs that use
7227 in/out long parameters. We then have to copy from the CORBA_long
7228 into the regular long or int for return to the C bindings, or
7229 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7232 * libspi/deviceeventcontroller.c:
7233 Cleaned these sources up.
7235 Changed return type for getCharacterAtOffset to
7236 CORBA_unsigned_long, to allow for 32-bit characters.
7239 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7243 Fixed 'make dist' so that distro compiles...
7244 * libspi/keymasks.h:
7246 * cspi/spi-listener.c:
7247 KeystrokeListenerCB now returns a boolean.
7249 Added KeyEventType struct, and KeyStroke.
7250 Also added createKeystrokeListener(),
7251 KeystrokeListener_addCallback(),
7252 KeystrokeListener_removeCallback(), and added a keymask to
7253 registerKeystrokeListener().
7254 * cspi/spi_accessible.c:
7255 Changed numerous return types for interfaces from
7256 AccessibleComponent to Accessible<InterfaceName>; this was
7257 probably a cut-and-paste error.
7259 Implementations of new KeystrokeListener api (from spi.h,
7262 Changes to key modifier mapping.
7263 Created ControllerEventMask struct.
7264 Made DeviceEventController derive from Bonobo::Unknown.
7266 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7267 * libspi/deviceeventcontroller.c:
7268 Added a number of new internal (private) methods.
7269 * libspi/editabletext.c:
7270 * libspi/editabletext.h:
7271 Fixed a number of bugs related to the fact that
7272 editabletext inherits from text. Fixed the EditableText struct,
7273 the init() call, and use correct casts when calling Text methods
7274 from an EditableText object. Removed (duplicate) atko from the
7275 EditableText structure, we use the one in the parent Text
7276 structure via the casts mentioned above.
7277 * libspi/keystrokelistener.[ch]:
7278 * libspi/registry.c:
7279 Changes in support of keyboard handling (above).
7281 Keyboard handling, though partly functional, is still not
7282 recommended for at-spi client use as there is considerable
7283 work yet to be done.
7286 Changed some places where pointers to various int types
7287 are cast to be pointers to CORBA_long types and vice-versa:
7288 pointer casting is not safe so we pass pointers of the correct
7289 types and then cast the result before putting it into the target
7292 * libspi/text.h: minor typos corrected.
7294 We now speak not only the name of a Text element, but the
7295 first sentence of its content, when it receives focus.
7296 I also changed the text compression to 75% from 50%.
7297 * util/Accessibility_Util.server.in:
7298 Changed the default magnifier type to be a 3x vertical
7299 splitscreen magnifier (was previously a 2x horizontal one).
7301 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7303 * libspi/keystrokelistener.h:
7304 * libspi/keystrokelistener.c:
7305 Initial functional implementations of KeystrokeListener.
7308 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7310 Fixed string handling for NULL strings in libspi.
7311 Added spi_freeString to free strings returned by C bindings.
7313 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7315 * libspi/keystrokelistener.h:
7316 * libspi/keystrokelistener.c:
7317 Began (no-op) implementations of KeystrokeListener
7319 * libspi/deviceeventcontroller.c:
7320 * libspi/deviceeventcontroller.h:
7321 Began creating implementations of DeviceEventController,
7322 to handle keystroke and mouse event listening and
7324 * libspi/accessible.c:
7325 Stubbed-in the implementations for
7326 Accessibility_Accessible_getState and
7327 Accessibility_Accessible_getRelationSet.
7328 * libspi/registry.c:
7329 Improved de-registration process and fixed some bugs,
7330 deregistration now works correctly.
7332 Added initialization of applications list (to NULL).
7334 Reduced speech compression from 0.5 to 0.7, for demo.
7335 Changed call to gdk_window_set_decorations()
7336 to gtk_window_set_decorated().
7337 * at-bridge/bridge.c:
7338 Bridge now deregisters when app exits, via
7339 registration of a cleanup function
7340 with the g_atexit() call.
7341 Required making 'app' static, renamed 'this_app'.
7342 Fixed broken use of bonobo_init, passing argv wrongly.
7344 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7348 Created a new directory for
7349 accessibility-related utilities, primarily for
7350 testing and demo purposes, but with possible
7357 Onscreen magnifier utility that
7358 is implemented as a bonobo service.
7360 * util/mag_client.c:
7361 * util/mag_client.h:
7362 Client-side support (simple C bindings)
7363 for Magnification service
7365 * util/mag_control.c:
7366 Client program example for
7367 Magnification service
7369 * util/Accessibility_Magnifier.server.in:
7370 Bonobo-activation file for the
7371 Magnification service.
7374 * util/idl/Magnifier.idl:
7375 IDL defining the bonobo Magnification
7379 Modifications to use the bonobo-activated magnifier
7380 above, in place of trying to connect to an existing
7381 magnifier that uses socket-listening IPC.
7383 If env variable MAGNIFIER is set, a magnifier service
7384 will be started if one does not exist.
7386 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7388 * at-bridge/bridge.c:
7389 applied patch from Marc to build and run
7390 against new glib and gtk+ (seemed like a change
7391 to bonobo_init signature was made ?)
7393 made festival-server support turned off by default.
7394 Added support for a simple magnifier (off by default)
7395 which will be added to a 'util' directory later.
7396 * at-bridge/Makefile.am:
7397 Changed "application.h" header from a 'source'
7398 to a 'dependency' of libat-bridge.
7400 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7409 Added interface implementation c files to list of
7410 includes so they are included in libcspi.
7413 Changed prototype of AccessibleAction_doAction to return a
7415 Changed prototype of AccessibleTable_getCaption to
7416 return an Accessible.
7417 Changed prototype of AccessibleTable_getSelectedRows
7418 and AccessibleTable_getSelectedColumns to
7419 return a long (returns the number of selected rows
7420 or columns respectively).
7421 Changed name of AccessibleText_refRunAttributes to
7422 AccessibleText_getAttributes.
7423 Changed prototype of AccessibleText_getCharacterExtents to
7424 return a void rather than a boolean.
7425 Added support for a AccessibleCoordType parameter
7426 specifying what type of coordinates are desired.
7427 Added an AccessibleCordType parameter to
7428 AccessibleText_getPointAtOffset.
7430 * cspi/spi_accessible.c:
7431 Added code to return the outstanding interfaces from
7432 Accessible_queryInterface.
7434 * cspi/spi_action.c:
7436 Corrected call to getNActions to call the c binding
7439 * cspi/spi_editabletext.c:
7441 Changed name from setRunAttributes to setAttributes.
7443 * cspi/spi_hyperlink.c:
7445 Changed call to getNAnchors to correctly call the c
7446 binding for an attribute.
7448 * cspi/spi_hypertext.c:
7450 Changed getImageDescription to correctly call the
7451 binding for an attribute.
7453 * cspi/spi_selection.c:
7454 Changed getNSelectedChildren to correctly call the c
7455 binding for the attribute.
7456 Changed refSelectedChild to getSelectedChild.
7460 Changed getCaption to return an Accessible.
7461 Fixed calls which retrieve attributes.
7462 Changed refAt to getAccessibleAt.
7463 Changed getNSelectedRows and getNSelectedColumns to
7467 Changed getCharacterExtents and getPointAtOffset to accept an
7468 AccessibleCoordType.
7470 Changed calls which retrieve attributes.
7471 Changed refRunAttributes to getAttributes.
7476 * idl/Hyperlink.idl:
7477 Changed n_anchors attribute to nAnchors to keep naming
7478 convention consistent.
7481 Made Table inherit from Bonobo::Unknown.
7482 Added nSelectedColumns and nSelectedRows attributes.
7485 Made Value inherit from Bonobo::Unknown.
7487 * libspi/hyperlink.c:
7488 Change for nAnchors attributte name change.
7490 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7498 Added interface implementation c files to list of
7499 includes so they are included in libcspi.
7502 Changed prototype of AccessibleAction_doAction to return a
7504 Changed prototype of AccessibleTable_getCaption to
7505 return an Accessible.
7506 Changed prototype of AccessibleTable_getSelectedRows
7507 and AccessibleTable_getSelectedColumns to
7508 return a long (returns the number of selected rows
7509 or columns respectively).
7510 Changed name of AccessibleText_refRunAttributes to
7511 AccessibleText_getAttributes.
7512 Changed prototype of AccessibleText_getCharacterExtents to
7513 return a void rather than a boolean.
7514 Added support for a AccessibleCoordType parameter
7515 specifying what type of coordinates are desired.
7516 Added an AccessibleCordType parameter to
7517 AccessibleText_getPointAtOffset.
7519 * cspi/spi_accessible.c:
7520 Added code to return the outstanding interfaces from
7521 Accessible_queryInterface.
7523 * cspi/spi_action.c:
7525 Corrected call to getNActions to call the c binding
7528 * cspi/spi_editabletext.c:
7530 Changed name from setRunAttributes to setAttributes.
7532 * cspi/spi_hyperlink.c:
7534 Changed call to getNAnchors to correctly call the c
7535 binding for an attribute.
7537 * cspi/spi_hypertext.c:
7539 Changed getImageDescription to correctly call the
7540 binding for an attribute.
7542 * cspi/spi_selection.c:
7543 Changed getNSelectedChildren to correctly call the c
7544 binding for the attribute.
7545 Changed refSelectedChild to getSelectedChild.
7549 Changed getCaption to return an Accessible.
7550 Fixed calls which retrieve attributes.
7551 Changed refAt to getAccessibleAt.
7552 Changed getNSelectedRows and getNSelectedColumns to
7556 Changed getCharacterExtents and getPointAtOffset to accept an
7557 AccessibleCoordType.
7559 Changed calls which retrieve attributes.
7560 Changed refRunAttributes to getAttributes.
7565 * idl/Hyperlink.idl:
7566 Changed n_anchors attribute to nAnchors to keep naming
7567 convention consistent.
7570 Made Table inherit from Bonobo::Unknown.
7571 Added nSelectedColumns and nSelectedRows attributes.
7574 Made Value inherit from Bonobo::Unknown.
7576 * libspi/hyperlink.c:
7577 Change for nAnchors attributte name change.
7580 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7582 implementations-- made server implementations own AtkObject pointers
7583 rather than their respective AtkInterrface pointers to fix
7584 refcounting. AtkHyperlink is still broken.
7586 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7587 * cspi/spi_accessible.c:
7588 Added method Accessible_Role_getName(),
7589 and requisite string array (role_names).
7590 Added conversion string_from_corba_strin() call
7591 to Accessible_getName and _getDescription.
7592 * libspi/accessible.c:
7593 Added implementation for Accessible_getRole()
7595 Added festival support, used if environment variable
7598 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7600 * at-bridge/bridge.c:
7601 Now allocate Accessibility_Event using
7602 Accessibility_Event__alloc() instead of g_new0().
7603 * libspi/accessibleeventlistener.c:
7604 Initialize AccessibleEventListener->callbacks to NULL.
7605 Fixed accessible__event_listener_init() param, changed to
7606 "AccessibleEventListener *" type.
7607 Changed a bonobo_object_release_unref() call to
7608 Accessibility_Accessible_unref().
7609 * libspi/listener.c:
7610 Changed Bonobo_Unknown_unref to (equivalent)
7611 Accessibility_Accessible_unref.
7612 * libspi/registry.c:
7613 Changed bonobo_object_release_unref to
7614 Accessibility_Accessible_unref.
7616 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7619 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7620 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7621 spi-util.c spi-util.h
7622 Implementations for C bindings to remaining accessibility
7625 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7628 changed return value of Action from void to boolean to
7629 bring in line with ATK.
7632 Changed getText funcions to return "out" start and end offsets.
7633 Changed getAttributes to take and offset and return the start
7634 and end offset of the attribute run.
7635 Changed getOffsetAtPoint and getCharacterExtents to take an
7636 enum describing whether coordinates are window or screen.
7639 libspi/action.c libspi/action.h libspi/editabletext.c
7640 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7641 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7642 libspi/image.h libspi/selection.c libspi/selection.h
7643 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7644 libspi/value.c libspi/value.h
7645 Added server implementations for outstanding ATK interfaces
7646 not yet implemented.
7648 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7651 Added (missing) getName() method.
7652 Made nActions an attribute.
7653 * idl/EditableText.idl:
7654 Changed order of params in setAttributes.
7655 * idl/Hyperlink.idl:
7656 Removed getAnchor, added getURI.
7658 Changed attributes to methods, for efficiency
7659 (so that getting extents can be done in one call)
7660 * idl/Selection.idl:
7661 Changed nSelectedChildren to attribute, and re-indented.
7662 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7664 * idl/Text.idl: reformatted to match our coding style.
7665 (temporarily?) removed getRowColumnAtOffset().
7666 Changed text selection API to support multi-select and
7667 non-contiguous selections, as in ATK.
7668 * idl/Value.idl: changed some methods to attributes.
7670 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7672 * libspi/listener.c(impl_notify_event):
7673 BonoboUnkown_unref the source instead
7674 of bonobo_object_release_unref - the ORB
7675 handles the releasing.
7677 * configure.in: require ORBit-2.3.94 for
7680 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7682 Tagged CVS repository 'EA_1_0'.
7683 * README.EARLY_ACCESS:
7684 Alphabetized acknowledgements list, and
7686 Listed some known dependencies of at-spi.
7688 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7690 * docs/at-spi-docs.sgml:
7691 * docs/at-spi-sections.txt:
7692 * docs/at-spi-overrides.txt: (Added zero-length file)
7693 Documentation improvements - gtk-doc should build
7694 docs for all implemented C bindings now.
7697 * cspi/spi.c: (New file)
7698 * cspi/spi_event.c: (New file)
7699 * cspi/spi_registry.c: (New file)
7700 * cspi/spi_accessible.c: (New file)
7701 * cspi/spi_application.c: (New file)
7702 * cspi/spi_component.c: (New file)
7703 Split spi_main.c into six parts, and included them from
7704 "spi.c". This is a bit of a hack, probably temporary,
7705 but required by gtk-doc, apparently.
7707 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7710 * docs/at-spi-docs.sgml:
7711 * docs/at-spi-sections.txt:
7713 Initial checkins/modifications for gtk-doc generation.
7716 Added (missing) interface query methods to Accessible's C binding.
7718 Added GenericInterface type definition.
7720 Added query for AccessibleComponent interface to focus event handler.
7721 Added printout of bounding box for focussed component.
7722 * libspi/component.c:
7723 Added partial implementation for AccessibleComponent to C binding.
7724 * idl/Application.idl:
7725 * libspi/registry.c:
7726 * libspi/listener.c:
7727 * libspi/application.c:
7728 * libspi/application.h:
7729 Changed "ID" attribute type from string to long.
7731 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7735 Made method naming consistent: methods taking object args
7736 start with uppercase, other methods (except those using
7737 acronyms) start with lowercase. Underscores delimit between
7738 object names and method names:
7739 SPI_init() - uppercase since it starts with an acronym.
7740 getDesktopCount () - lowercase start since no object param0.
7741 Accessible_getName() - uppercase object type name, studlyCaps method
7745 Added gtk-doc documentation for all currently implemented
7746 methods in the C bindings API.
7748 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7750 * Makefile.am : changed build order to build test last.
7753 Changed "createEventListener" to "CreateEventListener".
7754 * libspi/accessibleeventlistener.c :
7755 Bugfix for addition of callbacks.
7756 * test/Makefile.am :
7757 * test/simple-at.c :
7758 Added new test that uses the C bindings API.
7760 * libspi/listener.c :
7761 * libspi/registry.c :
7762 * libspi/accessibleeventlistener.c :
7763 * at-bridge/bridge.c :
7764 Renamed member "target" of Accessibility_Event to "source",
7765 which is more descriptive.
7768 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7772 * cspi/Makefile.am :
7773 Added makefile support for at-spi/cspi directory.
7776 * cspi/spi-listener.h : (NEW FILE)
7777 Added support for/use of spi-listener.h.
7779 C bindings now build successfully, with no warnings.
7780 * libspi/accessibleeventlistener.h : (NEW FILE)
7781 * libspi/accessibleeventlistener.c : (NEW FILE)
7782 * libspi/Makefile.am :
7783 Added new object type "AccessibleEventListener"
7784 which inherits from Listener, and allows attachment
7785 of in-process callbacks (so that a client with a listening
7786 object instance can add functionality to the local
7787 implementation, dynamically).
7789 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7791 * libspi/accessible.c:
7792 Add implementation for get_index_in_parent().
7794 Added #include of "spi-roletypes.h", and
7795 added enumerated type AccessibleCoordType.
7796 Added definition for KeystrokeListener (function type).
7799 * cspi/spi-statetypes.h :
7800 * cspi/spi-roletypes.h :
7802 Added these headers, used by spi.h.
7804 Added code (NOTE: not yet built by make).
7806 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7808 * libspi/Makefile.am: generate imodule
7809 at the same time as other idl compiler
7812 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7813 * libspi/registry.c :
7814 * libspi/application.c :
7815 * idl/Application.idl :
7816 Made registration with toolkit an application method,
7817 which is required since each app has its own toolkit static
7818 environment. Thus the bridge must register for
7819 notification of toolkit events from each application in turn.
7820 Toolkit notifications are now successfully registered for, and
7821 sent to the listening at client.
7823 Changed toolkit event string to use hyphens rather than underscores.
7824 * libspi/listener.c :
7825 listner now gives more info in debug mode - it reports the
7826 name of the event received, as well as the name of the source.
7829 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7831 * libspi/registry.c :
7832 added more implementation for toolkit events.
7833 Fixed bug such that toolkit event registrations
7834 (via atk) use the whole event name string, not
7836 Removed a useless call to an ORBit_ method.
7837 * at-bridge/bridge.c :
7838 Removed unused local sbuf[] variable.
7840 We now register for Gtk:GtkWidget:button_press_event
7841 events as well as "focus:" events.
7843 Add some more API from Registry.idl that was missing,
7844 for keystroke listening, keystroke and mouse event
7845 synthesis, and enumeration of accessible desktops.
7847 2001-08-16 Michael Meeks <michael@ximian.com>
7849 * configure.in: use AM_GLIB_GNU_GETTEXT.
7851 * Makefile.am (SUBDIRS): kill intl.
7853 2001-08-15 Michael Meeks <michael@ximian.com>
7855 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7857 * configure.in: upd.
7859 * configure.in: depend on a recent bonobo-activation that
7860 will find our server files ...
7862 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7864 * libspi/accessible.c : accessible_new() :
7865 Now we add the Component interface via bonobo_object_add_interface,
7866 if the contained AtkObject implements AtkComponent.
7867 * libspi/accessible.h : now include "component.h"
7868 * libspi/component.h :
7869 * libspi/component.c : added files - implementation of
7870 bonobo wrapper object for Accessibility/Component
7871 * libspi/listener.c :
7872 Added test code to check for Accessibility/Component:1.0
7873 interface and report whether it is implemented by the
7875 * libspi/registry.c :
7876 Now we check for not only the hash of the whole event
7877 string before relaying the event, we also check the
7878 "minor" event string (without the detail string).
7879 This allows event listeners to be registered against
7880 all events of a certain major+minor type, or just
7881 against a specific major+minor+detail type.
7882 * libspi/accessible.c :
7883 Added implementations for Accessible:get_parent(),
7884 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7885 * libspi/registry.c :
7886 * libspi/listener.c :
7887 Replaced calls to Accessibility_Accessible_ref() and
7888 Accessibility_Accessible_unref() with
7889 calls to bonobo_object_dup_ref() and
7890 bonobo_object_release_unref(), so that the CORBA object
7891 is dup-ed and released when relayed, as well as the bonobo object.
7893 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7895 * libspi/Makefile.am,
7896 registryd/Makefile.am,
7897 at-bridge/Makefile.am.
7898 test/Makefile.am, configure.in:
7899 reverse previous changes.
7901 * /idl/Image.idl: fix typo.
7903 * test/Makefile.am: put DEBUG_FLAGS
7906 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7908 * test/app.c: use argv[0] instead of
7911 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7913 * libspi/Makefile.am,
7914 registryd/Makefile.am,
7915 at-bridge/Makefile.am.
7916 test/Makefile.am, configure.in:
7917 cleanup, replace individual LIBS/CFLAGS with
7918 AT_COMMON_{LIBS|CFLAGS}.
7922 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7924 * configure.in, libspi/Makefile.am:
7925 Change IDL path checking for bonobo-activation
7928 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7930 * registryd/registry.c : separated event listeners to use
7931 3 separate lists (focus, window, toolkit). Began testing
7932 event names against hashes before relaying events.
7933 * test/at.c : now register for events of type "focus:"
7934 * test/app.c : now generate events of type "focus:"
7935 * at-bridge/bridge.c : register with ATK for focus events,
7936 and we now relay those focus events to any "focus:" listeners.
7937 This now works with the bridge as a GTK_MODULE when running test/at.
7938 * libspi/registry.c :
7939 * libspi/listener.c :
7940 now we ref event sources before propagating, and unref on receipt.
7941 * libspi/registry.c :
7942 some changes to internal structs, to support event typestring hashes.
7943 * text/app.c : changed the way the appname is generated.
7944 * cspi : added directory that will hold the C bindings library for
7945 non-CORBA/bonobo-savvy clients.
7946 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7947 * idl/Component.idl : added in parameter to indicate coord system for
7948 geometry-related calls.
7949 * idl/Hyperlink.idl : added readonly n_links attribute
7950 * idl/Image.idl : changed methods to attributes.
7952 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7954 * at-bridge/Makefile.am: link against
7955 ../libspi/libspi.la instead of -lspi.
7957 * at-spi/test/app.c: include
7958 bonobo-activation.h. Use a default appname
7959 if one is not provided.
7961 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7963 * idl/Registry.idl : temporarily changed register_Application
7964 to oneway, to work around issue with initial registration
7966 * idl/Application.idl : changed attribute "id" from readonly
7967 to read-write, since it needs to be assigned by Registry.
7968 * registryd/registryd.c : added call to set application id
7970 * registryd/registry.c : changed de-registration procedure to
7971 use CORBA_Object_hash() to find matching object ref in application
7972 lists and listener lists.
7973 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7974 began distinguishing between event types (work in progress).
7976 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7979 * libspi/application.c:
7980 Added implementations for get/set id, get_toolkitName,
7982 * registryd/registryd.c :
7986 Converted from use of OAF to bonobo-activation.
7987 * libspi/desktop.h :
7988 * libspi/desktop.c :
7990 Removed references to atksimpleobject, since base atkobject
7991 implementation now provides functionality we need.
7992 * libspi/atksimpleobject.c :
7993 * libspi/atksimpleobject.h :
7998 * at-bridge/Makefile.am
7999 * at-bridge/bridge.c
8002 Added directory "bridge" and contents, and added dependencies
8003 in Makefile.am/configure.in.
8004 Initial checkin of "at-bridge".
8005 This code is a GTK_MODULE which automatically registers
8006 GTK+ apps with the accessibility registry, using an object
8007 reference to the root ATK object.
8009 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8011 * po/Makefile.in.in: Remove. Again. If this
8012 doesn't get autogenerated - you need to update
8015 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8017 * po/Makefile.in.in: Add. Again.
8019 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8021 * libspi/accessible.c : added support for 'description' property.
8022 * libspi/accessible.c
8024 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8025 (since the two are now equivalent in libbonobo)
8033 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8034 Bonobo::Unknown as does Accessibility::Accessible.
8035 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8036 interface with Bonobo::Stream, since it was redundant with it.
8037 (The Stream returned by a StreamableContext object is expected to
8038 implement only a subset of Bonobo::Stream)
8040 2001-07-28 Anders Carlsson <andersca@gnome.org>
8042 * libspi/accessible.c (accessible_object_finalize): Change
8043 g_free to g_object_unref since the AtkObject is a GObject.
8045 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8047 * idl/Accessibility.idl: add new IDL files
8050 * idl/Action.idl: Definitions of actionable UI object
8051 * idl/Component.idl: Definitions of UI component geometry, etc.
8052 * idl/Hyperlink.idl: Defs of hyperlink behavior
8053 * idl/Image.idl: Def of accessible image
8054 * idl/Selection.idl: Definition of UI object with selectable children
8055 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8056 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8057 * idl/Text.idl: Interface defs for UI elements with complex textual content
8058 * idl/Value.idl: Definition of UI element that is a value controller or display
8060 2001-07-27 Michael Meeks <michael@ximian.com>
8062 * po/Makefile.in.in: remove autogenerated file from CVS.
8064 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8067 * idl/Registry.idl: include guard.
8069 * idl/Accessibility.idl: Add, and include all the other IDL
8072 * idl/*.idl: remove mass of pragmas etc.
8074 2001-07-26 Michael Meeks <michael@ximian.com>
8076 * registryd/Makefile.am (registryd_SOURCES): remove
8079 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8081 * libspi/.cvsignore, registryd/.cvsignore,
8082 test/.cvsignore: updated.
8084 * po/Makefile.in.in: gettext update.
8086 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8088 * initial CVS checkin
8090 2001-06-29 Michael Meeks <michael@ximian.com>
8092 * configure.in: add AM_CONFIG_HEADER to gen config.h